Home | History | Annotate | Line # | Download | only in dist
configure revision 1.1.1.2
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.63 for libXdamage 1.1.2.
      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='libXdamage'
    752 PACKAGE_TARNAME='libXdamage'
    753 PACKAGE_VERSION='1.1.2'
    754 PACKAGE_STRING='libXdamage 1.1.2'
    755 PACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=xorg'
    756 
    757 # Factoring default headers for most tests.
    758 ac_includes_default="\
    759 #include <stdio.h>
    760 #ifdef HAVE_SYS_TYPES_H
    761 # include <sys/types.h>
    762 #endif
    763 #ifdef HAVE_SYS_STAT_H
    764 # include <sys/stat.h>
    765 #endif
    766 #ifdef STDC_HEADERS
    767 # include <stdlib.h>
    768 # include <stddef.h>
    769 #else
    770 # ifdef HAVE_STDLIB_H
    771 #  include <stdlib.h>
    772 # endif
    773 #endif
    774 #ifdef HAVE_STRING_H
    775 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
    776 #  include <memory.h>
    777 # endif
    778 # include <string.h>
    779 #endif
    780 #ifdef HAVE_STRINGS_H
    781 # include <strings.h>
    782 #endif
    783 #ifdef HAVE_INTTYPES_H
    784 # include <inttypes.h>
    785 #endif
    786 #ifdef HAVE_STDINT_H
    787 # include <stdint.h>
    788 #endif
    789 #ifdef HAVE_UNISTD_H
    790 # include <unistd.h>
    791 #endif"
    792 
    793 ac_subst_vars='am__EXEEXT_FALSE
    794 am__EXEEXT_TRUE
    795 LTLIBOBJS
    796 LIBOBJS
    797 XDAMAGE_LIBS
    798 XDAMAGE_CFLAGS
    799 PKG_CONFIG
    800 DAMAGEEXT_VERSION
    801 ADMIN_MAN_DIR
    802 DRIVER_MAN_DIR
    803 MISC_MAN_DIR
    804 FILE_MAN_DIR
    805 LIB_MAN_DIR
    806 APP_MAN_DIR
    807 ADMIN_MAN_SUFFIX
    808 DRIVER_MAN_SUFFIX
    809 MISC_MAN_SUFFIX
    810 FILE_MAN_SUFFIX
    811 LIB_MAN_SUFFIX
    812 APP_MAN_SUFFIX
    813 distcleancheck_listfiles
    814 CHANGELOG_CMD
    815 AM_BACKSLASH
    816 AM_DEFAULT_VERBOSITY
    817 CWARNFLAGS
    818 LIBTOOL
    819 ac_ct_F77
    820 FFLAGS
    821 F77
    822 CXXCPP
    823 am__fastdepCXX_FALSE
    824 am__fastdepCXX_TRUE
    825 CXXDEPMODE
    826 ac_ct_CXX
    827 CXXFLAGS
    828 CXX
    829 CPP
    830 NMEDIT
    831 DSYMUTIL
    832 RANLIB
    833 AR
    834 ECHO
    835 LN_S
    836 EGREP
    837 GREP
    838 SED
    839 host_os
    840 host_vendor
    841 host_cpu
    842 host
    843 build_os
    844 build_vendor
    845 build_cpu
    846 build
    847 am__fastdepCC_FALSE
    848 am__fastdepCC_TRUE
    849 CCDEPMODE
    850 AMDEPBACKSLASH
    851 AMDEP_FALSE
    852 AMDEP_TRUE
    853 am__quote
    854 am__include
    855 DEPDIR
    856 OBJEXT
    857 EXEEXT
    858 ac_ct_CC
    859 CPPFLAGS
    860 LDFLAGS
    861 CFLAGS
    862 CC
    863 MAINT
    864 MAINTAINER_MODE_FALSE
    865 MAINTAINER_MODE_TRUE
    866 am__untar
    867 am__tar
    868 AMTAR
    869 am__leading_dot
    870 SET_MAKE
    871 AWK
    872 mkdir_p
    873 MKDIR_P
    874 INSTALL_STRIP_PROGRAM
    875 STRIP
    876 install_sh
    877 MAKEINFO
    878 AUTOHEADER
    879 AUTOMAKE
    880 AUTOCONF
    881 ACLOCAL
    882 VERSION
    883 PACKAGE
    884 CYGPATH_W
    885 am__isrc
    886 INSTALL_DATA
    887 INSTALL_SCRIPT
    888 INSTALL_PROGRAM
    889 target_alias
    890 host_alias
    891 build_alias
    892 LIBS
    893 ECHO_T
    894 ECHO_N
    895 ECHO_C
    896 DEFS
    897 mandir
    898 localedir
    899 libdir
    900 psdir
    901 pdfdir
    902 dvidir
    903 htmldir
    904 infodir
    905 docdir
    906 oldincludedir
    907 includedir
    908 localstatedir
    909 sharedstatedir
    910 sysconfdir
    911 datadir
    912 datarootdir
    913 libexecdir
    914 sbindir
    915 bindir
    916 program_transform_name
    917 prefix
    918 exec_prefix
    919 PACKAGE_BUGREPORT
    920 PACKAGE_STRING
    921 PACKAGE_VERSION
    922 PACKAGE_TARNAME
    923 PACKAGE_NAME
    924 PATH_SEPARATOR
    925 SHELL'
    926 ac_subst_files=''
    927 ac_user_opts='
    928 enable_option_checking
    929 enable_maintainer_mode
    930 enable_dependency_tracking
    931 enable_shared
    932 enable_static
    933 enable_fast_install
    934 with_gnu_ld
    935 enable_libtool_lock
    936 with_pic
    937 with_tags
    938 enable_silent_rules
    939 enable_strict_compilation
    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 XDAMAGE_CFLAGS
    959 XDAMAGE_LIBS'
    960 
    961 
    962 # Initialize some variables set by options.
    963 ac_init_help=
    964 ac_init_version=false
    965 ac_unrecognized_opts=
    966 ac_unrecognized_sep=
    967 # The variables have the same names as the options, with
    968 # dashes changed to underlines.
    969 cache_file=/dev/null
    970 exec_prefix=NONE
    971 no_create=
    972 no_recursion=
    973 prefix=NONE
    974 program_prefix=NONE
    975 program_suffix=NONE
    976 program_transform_name=s,x,x,
    977 silent=
    978 site=
    979 srcdir=
    980 verbose=
    981 x_includes=NONE
    982 x_libraries=NONE
    983 
    984 # Installation directory options.
    985 # These are left unexpanded so users can "make install exec_prefix=/foo"
    986 # and all the variables that are supposed to be based on exec_prefix
    987 # by default will actually change.
    988 # Use braces instead of parens because sh, perl, etc. also accept them.
    989 # (The list follows the same order as the GNU Coding Standards.)
    990 bindir='${exec_prefix}/bin'
    991 sbindir='${exec_prefix}/sbin'
    992 libexecdir='${exec_prefix}/libexec'
    993 datarootdir='${prefix}/share'
    994 datadir='${datarootdir}'
    995 sysconfdir='${prefix}/etc'
    996 sharedstatedir='${prefix}/com'
    997 localstatedir='${prefix}/var'
    998 includedir='${prefix}/include'
    999 oldincludedir='/usr/include'
   1000 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
   1001 infodir='${datarootdir}/info'
   1002 htmldir='${docdir}'
   1003 dvidir='${docdir}'
   1004 pdfdir='${docdir}'
   1005 psdir='${docdir}'
   1006 libdir='${exec_prefix}/lib'
   1007 localedir='${datarootdir}/locale'
   1008 mandir='${datarootdir}/man'
   1009 
   1010 ac_prev=
   1011 ac_dashdash=
   1012 for ac_option
   1013 do
   1014   # If the previous option needs an argument, assign it.
   1015   if test -n "$ac_prev"; then
   1016     eval $ac_prev=\$ac_option
   1017     ac_prev=
   1018     continue
   1019   fi
   1020 
   1021   case $ac_option in
   1022   *=*)	ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
   1023   *)	ac_optarg=yes ;;
   1024   esac
   1025 
   1026   # Accept the important Cygnus configure options, so we can diagnose typos.
   1027 
   1028   case $ac_dashdash$ac_option in
   1029   --)
   1030     ac_dashdash=yes ;;
   1031 
   1032   -bindir | --bindir | --bindi | --bind | --bin | --bi)
   1033     ac_prev=bindir ;;
   1034   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
   1035     bindir=$ac_optarg ;;
   1036 
   1037   -build | --build | --buil | --bui | --bu)
   1038     ac_prev=build_alias ;;
   1039   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
   1040     build_alias=$ac_optarg ;;
   1041 
   1042   -cache-file | --cache-file | --cache-fil | --cache-fi \
   1043   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
   1044     ac_prev=cache_file ;;
   1045   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
   1046   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
   1047     cache_file=$ac_optarg ;;
   1048 
   1049   --config-cache | -C)
   1050     cache_file=config.cache ;;
   1051 
   1052   -datadir | --datadir | --datadi | --datad)
   1053     ac_prev=datadir ;;
   1054   -datadir=* | --datadir=* | --datadi=* | --datad=*)
   1055     datadir=$ac_optarg ;;
   1056 
   1057   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
   1058   | --dataroo | --dataro | --datar)
   1059     ac_prev=datarootdir ;;
   1060   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
   1061   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
   1062     datarootdir=$ac_optarg ;;
   1063 
   1064   -disable-* | --disable-*)
   1065     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
   1066     # Reject names that are not valid shell variable names.
   1067     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1068       { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
   1069    { (exit 1); exit 1; }; }
   1070     ac_useropt_orig=$ac_useropt
   1071     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1072     case $ac_user_opts in
   1073       *"
   1074 "enable_$ac_useropt"
   1075 "*) ;;
   1076       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
   1077 	 ac_unrecognized_sep=', ';;
   1078     esac
   1079     eval enable_$ac_useropt=no ;;
   1080 
   1081   -docdir | --docdir | --docdi | --doc | --do)
   1082     ac_prev=docdir ;;
   1083   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
   1084     docdir=$ac_optarg ;;
   1085 
   1086   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
   1087     ac_prev=dvidir ;;
   1088   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
   1089     dvidir=$ac_optarg ;;
   1090 
   1091   -enable-* | --enable-*)
   1092     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
   1093     # Reject names that are not valid shell variable names.
   1094     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1095       { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
   1096    { (exit 1); exit 1; }; }
   1097     ac_useropt_orig=$ac_useropt
   1098     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1099     case $ac_user_opts in
   1100       *"
   1101 "enable_$ac_useropt"
   1102 "*) ;;
   1103       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
   1104 	 ac_unrecognized_sep=', ';;
   1105     esac
   1106     eval enable_$ac_useropt=\$ac_optarg ;;
   1107 
   1108   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
   1109   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
   1110   | --exec | --exe | --ex)
   1111     ac_prev=exec_prefix ;;
   1112   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
   1113   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
   1114   | --exec=* | --exe=* | --ex=*)
   1115     exec_prefix=$ac_optarg ;;
   1116 
   1117   -gas | --gas | --ga | --g)
   1118     # Obsolete; use --with-gas.
   1119     with_gas=yes ;;
   1120 
   1121   -help | --help | --hel | --he | -h)
   1122     ac_init_help=long ;;
   1123   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
   1124     ac_init_help=recursive ;;
   1125   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
   1126     ac_init_help=short ;;
   1127 
   1128   -host | --host | --hos | --ho)
   1129     ac_prev=host_alias ;;
   1130   -host=* | --host=* | --hos=* | --ho=*)
   1131     host_alias=$ac_optarg ;;
   1132 
   1133   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
   1134     ac_prev=htmldir ;;
   1135   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
   1136   | --ht=*)
   1137     htmldir=$ac_optarg ;;
   1138 
   1139   -includedir | --includedir | --includedi | --included | --include \
   1140   | --includ | --inclu | --incl | --inc)
   1141     ac_prev=includedir ;;
   1142   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
   1143   | --includ=* | --inclu=* | --incl=* | --inc=*)
   1144     includedir=$ac_optarg ;;
   1145 
   1146   -infodir | --infodir | --infodi | --infod | --info | --inf)
   1147     ac_prev=infodir ;;
   1148   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
   1149     infodir=$ac_optarg ;;
   1150 
   1151   -libdir | --libdir | --libdi | --libd)
   1152     ac_prev=libdir ;;
   1153   -libdir=* | --libdir=* | --libdi=* | --libd=*)
   1154     libdir=$ac_optarg ;;
   1155 
   1156   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
   1157   | --libexe | --libex | --libe)
   1158     ac_prev=libexecdir ;;
   1159   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
   1160   | --libexe=* | --libex=* | --libe=*)
   1161     libexecdir=$ac_optarg ;;
   1162 
   1163   -localedir | --localedir | --localedi | --localed | --locale)
   1164     ac_prev=localedir ;;
   1165   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
   1166     localedir=$ac_optarg ;;
   1167 
   1168   -localstatedir | --localstatedir | --localstatedi | --localstated \
   1169   | --localstate | --localstat | --localsta | --localst | --locals)
   1170     ac_prev=localstatedir ;;
   1171   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   1172   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   1173     localstatedir=$ac_optarg ;;
   1174 
   1175   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1176     ac_prev=mandir ;;
   1177   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1178     mandir=$ac_optarg ;;
   1179 
   1180   -nfp | --nfp | --nf)
   1181     # Obsolete; use --without-fp.
   1182     with_fp=no ;;
   1183 
   1184   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1185   | --no-cr | --no-c | -n)
   1186     no_create=yes ;;
   1187 
   1188   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1189   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1190     no_recursion=yes ;;
   1191 
   1192   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1193   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1194   | --oldin | --oldi | --old | --ol | --o)
   1195     ac_prev=oldincludedir ;;
   1196   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1197   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1198   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1199     oldincludedir=$ac_optarg ;;
   1200 
   1201   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1202     ac_prev=prefix ;;
   1203   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1204     prefix=$ac_optarg ;;
   1205 
   1206   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1207   | --program-pre | --program-pr | --program-p)
   1208     ac_prev=program_prefix ;;
   1209   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1210   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1211     program_prefix=$ac_optarg ;;
   1212 
   1213   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1214   | --program-suf | --program-su | --program-s)
   1215     ac_prev=program_suffix ;;
   1216   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1217   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1218     program_suffix=$ac_optarg ;;
   1219 
   1220   -program-transform-name | --program-transform-name \
   1221   | --program-transform-nam | --program-transform-na \
   1222   | --program-transform-n | --program-transform- \
   1223   | --program-transform | --program-transfor \
   1224   | --program-transfo | --program-transf \
   1225   | --program-trans | --program-tran \
   1226   | --progr-tra | --program-tr | --program-t)
   1227     ac_prev=program_transform_name ;;
   1228   -program-transform-name=* | --program-transform-name=* \
   1229   | --program-transform-nam=* | --program-transform-na=* \
   1230   | --program-transform-n=* | --program-transform-=* \
   1231   | --program-transform=* | --program-transfor=* \
   1232   | --program-transfo=* | --program-transf=* \
   1233   | --program-trans=* | --program-tran=* \
   1234   | --progr-tra=* | --program-tr=* | --program-t=*)
   1235     program_transform_name=$ac_optarg ;;
   1236 
   1237   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1238     ac_prev=pdfdir ;;
   1239   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1240     pdfdir=$ac_optarg ;;
   1241 
   1242   -psdir | --psdir | --psdi | --psd | --ps)
   1243     ac_prev=psdir ;;
   1244   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1245     psdir=$ac_optarg ;;
   1246 
   1247   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1248   | -silent | --silent | --silen | --sile | --sil)
   1249     silent=yes ;;
   1250 
   1251   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1252     ac_prev=sbindir ;;
   1253   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1254   | --sbi=* | --sb=*)
   1255     sbindir=$ac_optarg ;;
   1256 
   1257   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1258   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1259   | --sharedst | --shareds | --shared | --share | --shar \
   1260   | --sha | --sh)
   1261     ac_prev=sharedstatedir ;;
   1262   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1263   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1264   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1265   | --sha=* | --sh=*)
   1266     sharedstatedir=$ac_optarg ;;
   1267 
   1268   -site | --site | --sit)
   1269     ac_prev=site ;;
   1270   -site=* | --site=* | --sit=*)
   1271     site=$ac_optarg ;;
   1272 
   1273   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1274     ac_prev=srcdir ;;
   1275   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1276     srcdir=$ac_optarg ;;
   1277 
   1278   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1279   | --syscon | --sysco | --sysc | --sys | --sy)
   1280     ac_prev=sysconfdir ;;
   1281   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1282   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1283     sysconfdir=$ac_optarg ;;
   1284 
   1285   -target | --target | --targe | --targ | --tar | --ta | --t)
   1286     ac_prev=target_alias ;;
   1287   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1288     target_alias=$ac_optarg ;;
   1289 
   1290   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1291     verbose=yes ;;
   1292 
   1293   -version | --version | --versio | --versi | --vers | -V)
   1294     ac_init_version=: ;;
   1295 
   1296   -with-* | --with-*)
   1297     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1298     # Reject names that are not valid shell variable names.
   1299     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1300       { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
   1301    { (exit 1); exit 1; }; }
   1302     ac_useropt_orig=$ac_useropt
   1303     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1304     case $ac_user_opts in
   1305       *"
   1306 "with_$ac_useropt"
   1307 "*) ;;
   1308       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1309 	 ac_unrecognized_sep=', ';;
   1310     esac
   1311     eval with_$ac_useropt=\$ac_optarg ;;
   1312 
   1313   -without-* | --without-*)
   1314     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1315     # Reject names that are not valid shell variable names.
   1316     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1317       { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
   1318    { (exit 1); exit 1; }; }
   1319     ac_useropt_orig=$ac_useropt
   1320     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1321     case $ac_user_opts in
   1322       *"
   1323 "with_$ac_useropt"
   1324 "*) ;;
   1325       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1326 	 ac_unrecognized_sep=', ';;
   1327     esac
   1328     eval with_$ac_useropt=no ;;
   1329 
   1330   --x)
   1331     # Obsolete; use --with-x.
   1332     with_x=yes ;;
   1333 
   1334   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1335   | --x-incl | --x-inc | --x-in | --x-i)
   1336     ac_prev=x_includes ;;
   1337   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1338   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1339     x_includes=$ac_optarg ;;
   1340 
   1341   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1342   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1343     ac_prev=x_libraries ;;
   1344   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1345   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1346     x_libraries=$ac_optarg ;;
   1347 
   1348   -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
   1349 Try \`$0 --help' for more information." >&2
   1350    { (exit 1); exit 1; }; }
   1351     ;;
   1352 
   1353   *=*)
   1354     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1355     # Reject names that are not valid shell variable names.
   1356     expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
   1357       { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
   1358    { (exit 1); exit 1; }; }
   1359     eval $ac_envvar=\$ac_optarg
   1360     export $ac_envvar ;;
   1361 
   1362   *)
   1363     # FIXME: should be removed in autoconf 3.0.
   1364     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
   1365     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1366       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
   1367     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
   1368     ;;
   1369 
   1370   esac
   1371 done
   1372 
   1373 if test -n "$ac_prev"; then
   1374   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1375   { $as_echo "$as_me: error: missing argument to $ac_option" >&2
   1376    { (exit 1); exit 1; }; }
   1377 fi
   1378 
   1379 if test -n "$ac_unrecognized_opts"; then
   1380   case $enable_option_checking in
   1381     no) ;;
   1382     fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
   1383    { (exit 1); exit 1; }; } ;;
   1384     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1385   esac
   1386 fi
   1387 
   1388 # Check all directory arguments for consistency.
   1389 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1390 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1391 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1392 		libdir localedir mandir
   1393 do
   1394   eval ac_val=\$$ac_var
   1395   # Remove trailing slashes.
   1396   case $ac_val in
   1397     */ )
   1398       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1399       eval $ac_var=\$ac_val;;
   1400   esac
   1401   # Be sure to have absolute directory names.
   1402   case $ac_val in
   1403     [\\/$]* | ?:[\\/]* )  continue;;
   1404     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1405   esac
   1406   { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
   1407    { (exit 1); exit 1; }; }
   1408 done
   1409 
   1410 # There might be people who depend on the old broken behavior: `$host'
   1411 # used to hold the argument of --host etc.
   1412 # FIXME: To remove some day.
   1413 build=$build_alias
   1414 host=$host_alias
   1415 target=$target_alias
   1416 
   1417 # FIXME: To remove some day.
   1418 if test "x$host_alias" != x; then
   1419   if test "x$build_alias" = x; then
   1420     cross_compiling=maybe
   1421     $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
   1422     If a cross compiler is detected then cross compile mode will be used." >&2
   1423   elif test "x$build_alias" != "x$host_alias"; then
   1424     cross_compiling=yes
   1425   fi
   1426 fi
   1427 
   1428 ac_tool_prefix=
   1429 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1430 
   1431 test "$silent" = yes && exec 6>/dev/null
   1432 
   1433 
   1434 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1435 ac_ls_di=`ls -di .` &&
   1436 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1437   { $as_echo "$as_me: error: working directory cannot be determined" >&2
   1438    { (exit 1); exit 1; }; }
   1439 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1440   { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
   1441    { (exit 1); exit 1; }; }
   1442 
   1443 
   1444 # Find the source files, if location was not specified.
   1445 if test -z "$srcdir"; then
   1446   ac_srcdir_defaulted=yes
   1447   # Try the directory containing this script, then the parent directory.
   1448   ac_confdir=`$as_dirname -- "$as_myself" ||
   1449 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1450 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1451 	 X"$as_myself" : 'X\(//\)$' \| \
   1452 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1453 $as_echo X"$as_myself" |
   1454     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1455 	    s//\1/
   1456 	    q
   1457 	  }
   1458 	  /^X\(\/\/\)[^/].*/{
   1459 	    s//\1/
   1460 	    q
   1461 	  }
   1462 	  /^X\(\/\/\)$/{
   1463 	    s//\1/
   1464 	    q
   1465 	  }
   1466 	  /^X\(\/\).*/{
   1467 	    s//\1/
   1468 	    q
   1469 	  }
   1470 	  s/.*/./; q'`
   1471   srcdir=$ac_confdir
   1472   if test ! -r "$srcdir/$ac_unique_file"; then
   1473     srcdir=..
   1474   fi
   1475 else
   1476   ac_srcdir_defaulted=no
   1477 fi
   1478 if test ! -r "$srcdir/$ac_unique_file"; then
   1479   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1480   { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
   1481    { (exit 1); exit 1; }; }
   1482 fi
   1483 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1484 ac_abs_confdir=`(
   1485 	cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
   1486    { (exit 1); exit 1; }; }
   1487 	pwd)`
   1488 # When building in place, set srcdir=.
   1489 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1490   srcdir=.
   1491 fi
   1492 # Remove unnecessary trailing slashes from srcdir.
   1493 # Double slashes in file names in object file debugging info
   1494 # mess up M-x gdb in Emacs.
   1495 case $srcdir in
   1496 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1497 esac
   1498 for ac_var in $ac_precious_vars; do
   1499   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1500   eval ac_env_${ac_var}_value=\$${ac_var}
   1501   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1502   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1503 done
   1504 
   1505 #
   1506 # Report the --help message.
   1507 #
   1508 if test "$ac_init_help" = "long"; then
   1509   # Omit some internal or obsolete options to make the list less imposing.
   1510   # This message is too long to be a string in the A/UX 3.1 sh.
   1511   cat <<_ACEOF
   1512 \`configure' configures libXdamage 1.1.2 to adapt to many kinds of systems.
   1513 
   1514 Usage: $0 [OPTION]... [VAR=VALUE]...
   1515 
   1516 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1517 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1518 
   1519 Defaults for the options are specified in brackets.
   1520 
   1521 Configuration:
   1522   -h, --help              display this help and exit
   1523       --help=short        display options specific to this package
   1524       --help=recursive    display the short help of all the included packages
   1525   -V, --version           display version information and exit
   1526   -q, --quiet, --silent   do not print \`checking...' messages
   1527       --cache-file=FILE   cache test results in FILE [disabled]
   1528   -C, --config-cache      alias for \`--cache-file=config.cache'
   1529   -n, --no-create         do not create output files
   1530       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1531 
   1532 Installation directories:
   1533   --prefix=PREFIX         install architecture-independent files in PREFIX
   1534                           [$ac_default_prefix]
   1535   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1536                           [PREFIX]
   1537 
   1538 By default, \`make install' will install all the files in
   1539 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1540 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1541 for instance \`--prefix=\$HOME'.
   1542 
   1543 For better control, use the options below.
   1544 
   1545 Fine tuning of the installation directories:
   1546   --bindir=DIR            user executables [EPREFIX/bin]
   1547   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1548   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1549   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1550   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1551   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1552   --libdir=DIR            object code libraries [EPREFIX/lib]
   1553   --includedir=DIR        C header files [PREFIX/include]
   1554   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1555   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1556   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1557   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1558   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1559   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1560   --docdir=DIR            documentation root [DATAROOTDIR/doc/libXdamage]
   1561   --htmldir=DIR           html documentation [DOCDIR]
   1562   --dvidir=DIR            dvi documentation [DOCDIR]
   1563   --pdfdir=DIR            pdf documentation [DOCDIR]
   1564   --psdir=DIR             ps documentation [DOCDIR]
   1565 _ACEOF
   1566 
   1567   cat <<\_ACEOF
   1568 
   1569 Program names:
   1570   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1571   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1572   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1573 
   1574 System types:
   1575   --build=BUILD     configure for building on BUILD [guessed]
   1576   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1577 _ACEOF
   1578 fi
   1579 
   1580 if test -n "$ac_init_help"; then
   1581   case $ac_init_help in
   1582      short | recursive ) echo "Configuration of libXdamage 1.1.2:";;
   1583    esac
   1584   cat <<\_ACEOF
   1585 
   1586 Optional Features:
   1587   --disable-option-checking  ignore unrecognized --enable/--with options
   1588   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1589   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1590   --enable-maintainer-mode  enable make rules and dependencies not useful
   1591 			  (and sometimes confusing) to the casual installer
   1592   --disable-dependency-tracking  speeds up one-time build
   1593   --enable-dependency-tracking   do not reject slow dependency extractors
   1594   --enable-shared[=PKGS]  build shared libraries [default=yes]
   1595   --enable-static[=PKGS]  build static libraries [default=yes]
   1596   --enable-fast-install[=PKGS]
   1597                           optimize for fast installation [default=yes]
   1598   --disable-libtool-lock  avoid locking (might break parallel builds)
   1599   --enable-silent-rules          less verbose build output (undo: `make V=1')
   1600   --disable-silent-rules         verbose build output (undo: `make V=0')
   1601   --enable-strict-compilation
   1602                           Enable all warnings from compiler and make them
   1603                           errors (default: disabled)
   1604 
   1605 Optional Packages:
   1606   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1607   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1608   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
   1609   --with-pic              try to use only PIC/non-PIC objects [default=use
   1610                           both]
   1611   --with-tags[=TAGS]      include additional configurations [automatic]
   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   XDAMAGE_CFLAGS
   1631               C compiler flags for XDAMAGE, overriding pkg-config
   1632   XDAMAGE_LIBS
   1633               linker flags for XDAMAGE, overriding pkg-config
   1634 
   1635 Use these variables to override the choices made by `configure' or to help
   1636 it to find libraries and programs with nonstandard names/locations.
   1637 
   1638 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
   1639 _ACEOF
   1640 ac_status=$?
   1641 fi
   1642 
   1643 if test "$ac_init_help" = "recursive"; then
   1644   # If there are subdirs, report their specific --help.
   1645   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1646     test -d "$ac_dir" ||
   1647       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1648       continue
   1649     ac_builddir=.
   1650 
   1651 case "$ac_dir" in
   1652 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1653 *)
   1654   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   1655   # A ".." for each directory in $ac_dir_suffix.
   1656   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1657   case $ac_top_builddir_sub in
   1658   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1659   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1660   esac ;;
   1661 esac
   1662 ac_abs_top_builddir=$ac_pwd
   1663 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1664 # for backward compatibility:
   1665 ac_top_builddir=$ac_top_build_prefix
   1666 
   1667 case $srcdir in
   1668   .)  # We are building in place.
   1669     ac_srcdir=.
   1670     ac_top_srcdir=$ac_top_builddir_sub
   1671     ac_abs_top_srcdir=$ac_pwd ;;
   1672   [\\/]* | ?:[\\/]* )  # Absolute name.
   1673     ac_srcdir=$srcdir$ac_dir_suffix;
   1674     ac_top_srcdir=$srcdir
   1675     ac_abs_top_srcdir=$srcdir ;;
   1676   *) # Relative name.
   1677     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1678     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1679     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1680 esac
   1681 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1682 
   1683     cd "$ac_dir" || { ac_status=$?; continue; }
   1684     # Check for guested configure.
   1685     if test -f "$ac_srcdir/configure.gnu"; then
   1686       echo &&
   1687       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1688     elif test -f "$ac_srcdir/configure"; then
   1689       echo &&
   1690       $SHELL "$ac_srcdir/configure" --help=recursive
   1691     else
   1692       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1693     fi || ac_status=$?
   1694     cd "$ac_pwd" || { ac_status=$?; break; }
   1695   done
   1696 fi
   1697 
   1698 test -n "$ac_init_help" && exit $ac_status
   1699 if $ac_init_version; then
   1700   cat <<\_ACEOF
   1701 libXdamage configure 1.1.2
   1702 generated by GNU Autoconf 2.63
   1703 
   1704 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
   1705 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
   1706 This configure script is free software; the Free Software Foundation
   1707 gives unlimited permission to copy, distribute and modify it.
   1708 _ACEOF
   1709   exit
   1710 fi
   1711 cat >config.log <<_ACEOF
   1712 This file contains any messages produced by compilers while
   1713 running configure, to aid debugging if configure makes a mistake.
   1714 
   1715 It was created by libXdamage $as_me 1.1.2, which was
   1716 generated by GNU Autoconf 2.63.  Invocation command line was
   1717 
   1718   $ $0 $@
   1719 
   1720 _ACEOF
   1721 exec 5>>config.log
   1722 {
   1723 cat <<_ASUNAME
   1724 ## --------- ##
   1725 ## Platform. ##
   1726 ## --------- ##
   1727 
   1728 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   1729 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   1730 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   1731 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   1732 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   1733 
   1734 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   1735 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   1736 
   1737 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   1738 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   1739 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   1740 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   1741 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   1742 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   1743 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   1744 
   1745 _ASUNAME
   1746 
   1747 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1748 for as_dir in $PATH
   1749 do
   1750   IFS=$as_save_IFS
   1751   test -z "$as_dir" && as_dir=.
   1752   $as_echo "PATH: $as_dir"
   1753 done
   1754 IFS=$as_save_IFS
   1755 
   1756 } >&5
   1757 
   1758 cat >&5 <<_ACEOF
   1759 
   1760 
   1761 ## ----------- ##
   1762 ## Core tests. ##
   1763 ## ----------- ##
   1764 
   1765 _ACEOF
   1766 
   1767 
   1768 # Keep a trace of the command line.
   1769 # Strip out --no-create and --no-recursion so they do not pile up.
   1770 # Strip out --silent because we don't want to record it for future runs.
   1771 # Also quote any args containing shell meta-characters.
   1772 # Make two passes to allow for proper duplicate-argument suppression.
   1773 ac_configure_args=
   1774 ac_configure_args0=
   1775 ac_configure_args1=
   1776 ac_must_keep_next=false
   1777 for ac_pass in 1 2
   1778 do
   1779   for ac_arg
   1780   do
   1781     case $ac_arg in
   1782     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   1783     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1784     | -silent | --silent | --silen | --sile | --sil)
   1785       continue ;;
   1786     *\'*)
   1787       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1788     esac
   1789     case $ac_pass in
   1790     1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
   1791     2)
   1792       ac_configure_args1="$ac_configure_args1 '$ac_arg'"
   1793       if test $ac_must_keep_next = true; then
   1794 	ac_must_keep_next=false # Got value, back to normal.
   1795       else
   1796 	case $ac_arg in
   1797 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   1798 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   1799 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   1800 	  | -with-* | --with-* | -without-* | --without-* | --x)
   1801 	    case "$ac_configure_args0 " in
   1802 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   1803 	    esac
   1804 	    ;;
   1805 	  -* ) ac_must_keep_next=true ;;
   1806 	esac
   1807       fi
   1808       ac_configure_args="$ac_configure_args '$ac_arg'"
   1809       ;;
   1810     esac
   1811   done
   1812 done
   1813 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
   1814 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
   1815 
   1816 # When interrupted or exit'd, cleanup temporary files, and complete
   1817 # config.log.  We remove comments because anyway the quotes in there
   1818 # would cause problems or look ugly.
   1819 # WARNING: Use '\'' to represent an apostrophe within the trap.
   1820 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   1821 trap 'exit_status=$?
   1822   # Save into config.log some information that might help in debugging.
   1823   {
   1824     echo
   1825 
   1826     cat <<\_ASBOX
   1827 ## ---------------- ##
   1828 ## Cache variables. ##
   1829 ## ---------------- ##
   1830 _ASBOX
   1831     echo
   1832     # The following way of writing the cache mishandles newlines in values,
   1833 (
   1834   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   1835     eval ac_val=\$$ac_var
   1836     case $ac_val in #(
   1837     *${as_nl}*)
   1838       case $ac_var in #(
   1839       *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
   1840 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   1841       esac
   1842       case $ac_var in #(
   1843       _ | IFS | as_nl) ;; #(
   1844       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   1845       *) $as_unset $ac_var ;;
   1846       esac ;;
   1847     esac
   1848   done
   1849   (set) 2>&1 |
   1850     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   1851     *${as_nl}ac_space=\ *)
   1852       sed -n \
   1853 	"s/'\''/'\''\\\\'\'''\''/g;
   1854 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   1855       ;; #(
   1856     *)
   1857       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   1858       ;;
   1859     esac |
   1860     sort
   1861 )
   1862     echo
   1863 
   1864     cat <<\_ASBOX
   1865 ## ----------------- ##
   1866 ## Output variables. ##
   1867 ## ----------------- ##
   1868 _ASBOX
   1869     echo
   1870     for ac_var in $ac_subst_vars
   1871     do
   1872       eval ac_val=\$$ac_var
   1873       case $ac_val in
   1874       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   1875       esac
   1876       $as_echo "$ac_var='\''$ac_val'\''"
   1877     done | sort
   1878     echo
   1879 
   1880     if test -n "$ac_subst_files"; then
   1881       cat <<\_ASBOX
   1882 ## ------------------- ##
   1883 ## File substitutions. ##
   1884 ## ------------------- ##
   1885 _ASBOX
   1886       echo
   1887       for ac_var in $ac_subst_files
   1888       do
   1889 	eval ac_val=\$$ac_var
   1890 	case $ac_val in
   1891 	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   1892 	esac
   1893 	$as_echo "$ac_var='\''$ac_val'\''"
   1894       done | sort
   1895       echo
   1896     fi
   1897 
   1898     if test -s confdefs.h; then
   1899       cat <<\_ASBOX
   1900 ## ----------- ##
   1901 ## confdefs.h. ##
   1902 ## ----------- ##
   1903 _ASBOX
   1904       echo
   1905       cat confdefs.h
   1906       echo
   1907     fi
   1908     test "$ac_signal" != 0 &&
   1909       $as_echo "$as_me: caught signal $ac_signal"
   1910     $as_echo "$as_me: exit $exit_status"
   1911   } >&5
   1912   rm -f core *.core core.conftest.* &&
   1913     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   1914     exit $exit_status
   1915 ' 0
   1916 for ac_signal in 1 2 13 15; do
   1917   trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
   1918 done
   1919 ac_signal=0
   1920 
   1921 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   1922 rm -f -r conftest* confdefs.h
   1923 
   1924 # Predefined preprocessor variables.
   1925 
   1926 cat >>confdefs.h <<_ACEOF
   1927 #define PACKAGE_NAME "$PACKAGE_NAME"
   1928 _ACEOF
   1929 
   1930 
   1931 cat >>confdefs.h <<_ACEOF
   1932 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
   1933 _ACEOF
   1934 
   1935 
   1936 cat >>confdefs.h <<_ACEOF
   1937 #define PACKAGE_VERSION "$PACKAGE_VERSION"
   1938 _ACEOF
   1939 
   1940 
   1941 cat >>confdefs.h <<_ACEOF
   1942 #define PACKAGE_STRING "$PACKAGE_STRING"
   1943 _ACEOF
   1944 
   1945 
   1946 cat >>confdefs.h <<_ACEOF
   1947 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
   1948 _ACEOF
   1949 
   1950 
   1951 # Let the site file select an alternate cache file if it wants to.
   1952 # Prefer an explicitly selected file to automatically selected ones.
   1953 ac_site_file1=NONE
   1954 ac_site_file2=NONE
   1955 if test -n "$CONFIG_SITE"; then
   1956   ac_site_file1=$CONFIG_SITE
   1957 elif test "x$prefix" != xNONE; then
   1958   ac_site_file1=$prefix/share/config.site
   1959   ac_site_file2=$prefix/etc/config.site
   1960 else
   1961   ac_site_file1=$ac_default_prefix/share/config.site
   1962   ac_site_file2=$ac_default_prefix/etc/config.site
   1963 fi
   1964 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
   1965 do
   1966   test "x$ac_site_file" = xNONE && continue
   1967   if test -r "$ac_site_file"; then
   1968     { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
   1969 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
   1970     sed 's/^/| /' "$ac_site_file" >&5
   1971     . "$ac_site_file"
   1972   fi
   1973 done
   1974 
   1975 if test -r "$cache_file"; then
   1976   # Some versions of bash will fail to source /dev/null (special
   1977   # files actually), so we avoid doing that.
   1978   if test -f "$cache_file"; then
   1979     { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
   1980 $as_echo "$as_me: loading cache $cache_file" >&6;}
   1981     case $cache_file in
   1982       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   1983       *)                      . "./$cache_file";;
   1984     esac
   1985   fi
   1986 else
   1987   { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
   1988 $as_echo "$as_me: creating cache $cache_file" >&6;}
   1989   >$cache_file
   1990 fi
   1991 
   1992 # Check that the precious variables saved in the cache have kept the same
   1993 # value.
   1994 ac_cache_corrupted=false
   1995 for ac_var in $ac_precious_vars; do
   1996   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   1997   eval ac_new_set=\$ac_env_${ac_var}_set
   1998   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   1999   eval ac_new_val=\$ac_env_${ac_var}_value
   2000   case $ac_old_set,$ac_new_set in
   2001     set,)
   2002       { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   2003 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   2004       ac_cache_corrupted=: ;;
   2005     ,set)
   2006       { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
   2007 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   2008       ac_cache_corrupted=: ;;
   2009     ,);;
   2010     *)
   2011       if test "x$ac_old_val" != "x$ac_new_val"; then
   2012 	# differences in whitespace do not lead to failure.
   2013 	ac_old_val_w=`echo x $ac_old_val`
   2014 	ac_new_val_w=`echo x $ac_new_val`
   2015 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2016 	  { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
   2017 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   2018 	  ac_cache_corrupted=:
   2019 	else
   2020 	  { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
   2021 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
   2022 	  eval $ac_var=\$ac_old_val
   2023 	fi
   2024 	{ $as_echo "$as_me:$LINENO:   former value:  \`$ac_old_val'" >&5
   2025 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
   2026 	{ $as_echo "$as_me:$LINENO:   current value: \`$ac_new_val'" >&5
   2027 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
   2028       fi;;
   2029   esac
   2030   # Pass precious variables to config.status.
   2031   if test "$ac_new_set" = set; then
   2032     case $ac_new_val in
   2033     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2034     *) ac_arg=$ac_var=$ac_new_val ;;
   2035     esac
   2036     case " $ac_configure_args " in
   2037       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2038       *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
   2039     esac
   2040   fi
   2041 done
   2042 if $ac_cache_corrupted; then
   2043   { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   2044 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2045   { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
   2046 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
   2047   { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
   2048 $as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
   2049    { (exit 1); exit 1; }; }
   2050 fi
   2051 
   2052 
   2053 
   2054 
   2055 
   2056 
   2057 
   2058 
   2059 
   2060 
   2061 
   2062 
   2063 
   2064 
   2065 
   2066 
   2067 
   2068 
   2069 
   2070 
   2071 
   2072 
   2073 
   2074 
   2075 
   2076 ac_ext=c
   2077 ac_cpp='$CPP $CPPFLAGS'
   2078 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2079 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2080 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2081 
   2082 
   2083 am__api_version='1.11'
   2084 
   2085 ac_aux_dir=
   2086 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
   2087   if test -f "$ac_dir/install-sh"; then
   2088     ac_aux_dir=$ac_dir
   2089     ac_install_sh="$ac_aux_dir/install-sh -c"
   2090     break
   2091   elif 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/shtool"; then
   2096     ac_aux_dir=$ac_dir
   2097     ac_install_sh="$ac_aux_dir/shtool install -c"
   2098     break
   2099   fi
   2100 done
   2101 if test -z "$ac_aux_dir"; then
   2102   { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
   2103 $as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
   2104    { (exit 1); exit 1; }; }
   2105 fi
   2106 
   2107 # These three variables are undocumented and unsupported,
   2108 # and are intended to be withdrawn in a future Autoconf release.
   2109 # They can cause serious problems if a builder's source tree is in a directory
   2110 # whose full name contains unusual characters.
   2111 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
   2112 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
   2113 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
   2114 
   2115 
   2116 # Find a good install program.  We prefer a C program (faster),
   2117 # so one script is as good as another.  But avoid the broken or
   2118 # incompatible versions:
   2119 # SysV /etc/install, /usr/sbin/install
   2120 # SunOS /usr/etc/install
   2121 # IRIX /sbin/install
   2122 # AIX /bin/install
   2123 # AmigaOS /C/install, which installs bootblocks on floppy discs
   2124 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   2125 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   2126 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   2127 # OS/2's system install, which has a completely different semantic
   2128 # ./install, which can be erroneously created by make from ./install.sh.
   2129 # Reject install programs that cannot install multiple files.
   2130 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
   2131 $as_echo_n "checking for a BSD-compatible install... " >&6; }
   2132 if test -z "$INSTALL"; then
   2133 if test "${ac_cv_path_install+set}" = set; then
   2134   $as_echo_n "(cached) " >&6
   2135 else
   2136   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2137 for as_dir in $PATH
   2138 do
   2139   IFS=$as_save_IFS
   2140   test -z "$as_dir" && as_dir=.
   2141   # Account for people who put trailing slashes in PATH elements.
   2142 case $as_dir/ in
   2143   ./ | .// | /cC/* | \
   2144   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   2145   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
   2146   /usr/ucb/* ) ;;
   2147   *)
   2148     # OSF1 and SCO ODT 3.0 have their own names for install.
   2149     # Don't use installbsd from OSF since it installs stuff as root
   2150     # by default.
   2151     for ac_prog in ginstall scoinst install; do
   2152       for ac_exec_ext in '' $ac_executable_extensions; do
   2153 	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
   2154 	  if test $ac_prog = install &&
   2155 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2156 	    # AIX install.  It has an incompatible calling convention.
   2157 	    :
   2158 	  elif test $ac_prog = install &&
   2159 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2160 	    # program-specific install script used by HP pwplus--don't use.
   2161 	    :
   2162 	  else
   2163 	    rm -rf conftest.one conftest.two conftest.dir
   2164 	    echo one > conftest.one
   2165 	    echo two > conftest.two
   2166 	    mkdir conftest.dir
   2167 	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
   2168 	      test -s conftest.one && test -s conftest.two &&
   2169 	      test -s conftest.dir/conftest.one &&
   2170 	      test -s conftest.dir/conftest.two
   2171 	    then
   2172 	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
   2173 	      break 3
   2174 	    fi
   2175 	  fi
   2176 	fi
   2177       done
   2178     done
   2179     ;;
   2180 esac
   2181 
   2182 done
   2183 IFS=$as_save_IFS
   2184 
   2185 rm -rf conftest.one conftest.two conftest.dir
   2186 
   2187 fi
   2188   if test "${ac_cv_path_install+set}" = set; then
   2189     INSTALL=$ac_cv_path_install
   2190   else
   2191     # As a last resort, use the slow shell script.  Don't cache a
   2192     # value for INSTALL within a source directory, because that will
   2193     # break other packages using the cache if that directory is
   2194     # removed, or if the value is a relative name.
   2195     INSTALL=$ac_install_sh
   2196   fi
   2197 fi
   2198 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
   2199 $as_echo "$INSTALL" >&6; }
   2200 
   2201 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   2202 # It thinks the first close brace ends the variable substitution.
   2203 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   2204 
   2205 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   2206 
   2207 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   2208 
   2209 { $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5
   2210 $as_echo_n "checking whether build environment is sane... " >&6; }
   2211 # Just in case
   2212 sleep 1
   2213 echo timestamp > conftest.file
   2214 # Reject unsafe characters in $srcdir or the absolute working directory
   2215 # name.  Accept space and tab only in the latter.
   2216 am_lf='
   2217 '
   2218 case `pwd` in
   2219   *[\\\"\#\$\&\'\`$am_lf]*)
   2220     { { $as_echo "$as_me:$LINENO: error: unsafe absolute working directory name" >&5
   2221 $as_echo "$as_me: error: unsafe absolute working directory name" >&2;}
   2222    { (exit 1); exit 1; }; };;
   2223 esac
   2224 case $srcdir in
   2225   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   2226     { { $as_echo "$as_me:$LINENO: error: unsafe srcdir value: \`$srcdir'" >&5
   2227 $as_echo "$as_me: error: unsafe srcdir value: \`$srcdir'" >&2;}
   2228    { (exit 1); exit 1; }; };;
   2229 esac
   2230 
   2231 # Do `set' in a subshell so we don't clobber the current shell's
   2232 # arguments.  Must try -L first in case configure is actually a
   2233 # symlink; some systems play weird games with the mod time of symlinks
   2234 # (eg FreeBSD returns the mod time of the symlink's containing
   2235 # directory).
   2236 if (
   2237    set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   2238    if test "$*" = "X"; then
   2239       # -L didn't work.
   2240       set X `ls -t "$srcdir/configure" conftest.file`
   2241    fi
   2242    rm -f conftest.file
   2243    if test "$*" != "X $srcdir/configure conftest.file" \
   2244       && test "$*" != "X conftest.file $srcdir/configure"; then
   2245 
   2246       # If neither matched, then we have a broken ls.  This can happen
   2247       # if, for instance, CONFIG_SHELL is bash and it inherits a
   2248       # broken ls alias from the environment.  This has actually
   2249       # happened.  Such a system could not be considered "sane".
   2250       { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
   2251 alias in your environment" >&5
   2252 $as_echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
   2253 alias in your environment" >&2;}
   2254    { (exit 1); exit 1; }; }
   2255    fi
   2256 
   2257    test "$2" = conftest.file
   2258    )
   2259 then
   2260    # Ok.
   2261    :
   2262 else
   2263    { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files!
   2264 Check your system clock" >&5
   2265 $as_echo "$as_me: error: newly created file is older than distributed files!
   2266 Check your system clock" >&2;}
   2267    { (exit 1); exit 1; }; }
   2268 fi
   2269 { $as_echo "$as_me:$LINENO: result: yes" >&5
   2270 $as_echo "yes" >&6; }
   2271 test "$program_prefix" != NONE &&
   2272   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   2273 # Use a double $ so make ignores it.
   2274 test "$program_suffix" != NONE &&
   2275   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   2276 # Double any \ or $.
   2277 # By default was `s,x,x', remove it if useless.
   2278 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   2279 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
   2280 
   2281 # expand $ac_aux_dir to an absolute path
   2282 am_aux_dir=`cd $ac_aux_dir && pwd`
   2283 
   2284 if test x"${MISSING+set}" != xset; then
   2285   case $am_aux_dir in
   2286   *\ * | *\	*)
   2287     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
   2288   *)
   2289     MISSING="\${SHELL} $am_aux_dir/missing" ;;
   2290   esac
   2291 fi
   2292 # Use eval to expand $SHELL
   2293 if eval "$MISSING --run true"; then
   2294   am_missing_run="$MISSING --run "
   2295 else
   2296   am_missing_run=
   2297   { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
   2298 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
   2299 fi
   2300 
   2301 if test x"${install_sh}" != xset; then
   2302   case $am_aux_dir in
   2303   *\ * | *\	*)
   2304     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   2305   *)
   2306     install_sh="\${SHELL} $am_aux_dir/install-sh"
   2307   esac
   2308 fi
   2309 
   2310 # Installed binaries are usually stripped using `strip' when the user
   2311 # run `make install-strip'.  However `strip' might not be the right
   2312 # tool to use in cross-compilation environments, therefore Automake
   2313 # will honor the `STRIP' environment variable to overrule this program.
   2314 if test "$cross_compiling" != no; then
   2315   if test -n "$ac_tool_prefix"; then
   2316   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   2317 set dummy ${ac_tool_prefix}strip; ac_word=$2
   2318 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   2319 $as_echo_n "checking for $ac_word... " >&6; }
   2320 if test "${ac_cv_prog_STRIP+set}" = set; then
   2321   $as_echo_n "(cached) " >&6
   2322 else
   2323   if test -n "$STRIP"; then
   2324   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   2325 else
   2326 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2327 for as_dir in $PATH
   2328 do
   2329   IFS=$as_save_IFS
   2330   test -z "$as_dir" && as_dir=.
   2331   for ac_exec_ext in '' $ac_executable_extensions; do
   2332   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2333     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   2334     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2335     break 2
   2336   fi
   2337 done
   2338 done
   2339 IFS=$as_save_IFS
   2340 
   2341 fi
   2342 fi
   2343 STRIP=$ac_cv_prog_STRIP
   2344 if test -n "$STRIP"; then
   2345   { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
   2346 $as_echo "$STRIP" >&6; }
   2347 else
   2348   { $as_echo "$as_me:$LINENO: result: no" >&5
   2349 $as_echo "no" >&6; }
   2350 fi
   2351 
   2352 
   2353 fi
   2354 if test -z "$ac_cv_prog_STRIP"; then
   2355   ac_ct_STRIP=$STRIP
   2356   # Extract the first word of "strip", so it can be a program name with args.
   2357 set dummy strip; ac_word=$2
   2358 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   2359 $as_echo_n "checking for $ac_word... " >&6; }
   2360 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
   2361   $as_echo_n "(cached) " >&6
   2362 else
   2363   if test -n "$ac_ct_STRIP"; then
   2364   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   2365 else
   2366 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2367 for as_dir in $PATH
   2368 do
   2369   IFS=$as_save_IFS
   2370   test -z "$as_dir" && as_dir=.
   2371   for ac_exec_ext in '' $ac_executable_extensions; do
   2372   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2373     ac_cv_prog_ac_ct_STRIP="strip"
   2374     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2375     break 2
   2376   fi
   2377 done
   2378 done
   2379 IFS=$as_save_IFS
   2380 
   2381 fi
   2382 fi
   2383 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   2384 if test -n "$ac_ct_STRIP"; then
   2385   { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
   2386 $as_echo "$ac_ct_STRIP" >&6; }
   2387 else
   2388   { $as_echo "$as_me:$LINENO: result: no" >&5
   2389 $as_echo "no" >&6; }
   2390 fi
   2391 
   2392   if test "x$ac_ct_STRIP" = x; then
   2393     STRIP=":"
   2394   else
   2395     case $cross_compiling:$ac_tool_warned in
   2396 yes:)
   2397 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   2398 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2399 ac_tool_warned=yes ;;
   2400 esac
   2401     STRIP=$ac_ct_STRIP
   2402   fi
   2403 else
   2404   STRIP="$ac_cv_prog_STRIP"
   2405 fi
   2406 
   2407 fi
   2408 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   2409 
   2410 { $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
   2411 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
   2412 if test -z "$MKDIR_P"; then
   2413   if test "${ac_cv_path_mkdir+set}" = set; then
   2414   $as_echo_n "(cached) " >&6
   2415 else
   2416   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2417 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   2418 do
   2419   IFS=$as_save_IFS
   2420   test -z "$as_dir" && as_dir=.
   2421   for ac_prog in mkdir gmkdir; do
   2422 	 for ac_exec_ext in '' $ac_executable_extensions; do
   2423 	   { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
   2424 	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
   2425 	     'mkdir (GNU coreutils) '* | \
   2426 	     'mkdir (coreutils) '* | \
   2427 	     'mkdir (fileutils) '4.1*)
   2428 	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
   2429 	       break 3;;
   2430 	   esac
   2431 	 done
   2432        done
   2433 done
   2434 IFS=$as_save_IFS
   2435 
   2436 fi
   2437 
   2438   if test "${ac_cv_path_mkdir+set}" = set; then
   2439     MKDIR_P="$ac_cv_path_mkdir -p"
   2440   else
   2441     # As a last resort, use the slow shell script.  Don't cache a
   2442     # value for MKDIR_P within a source directory, because that will
   2443     # break other packages using the cache if that directory is
   2444     # removed, or if the value is a relative name.
   2445     test -d ./--version && rmdir ./--version
   2446     MKDIR_P="$ac_install_sh -d"
   2447   fi
   2448 fi
   2449 { $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5
   2450 $as_echo "$MKDIR_P" >&6; }
   2451 
   2452 mkdir_p="$MKDIR_P"
   2453 case $mkdir_p in
   2454   [\\/$]* | ?:[\\/]*) ;;
   2455   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
   2456 esac
   2457 
   2458 for ac_prog in gawk mawk nawk awk
   2459 do
   2460   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2461 set dummy $ac_prog; ac_word=$2
   2462 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   2463 $as_echo_n "checking for $ac_word... " >&6; }
   2464 if test "${ac_cv_prog_AWK+set}" = set; then
   2465   $as_echo_n "(cached) " >&6
   2466 else
   2467   if test -n "$AWK"; then
   2468   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   2469 else
   2470 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2471 for as_dir in $PATH
   2472 do
   2473   IFS=$as_save_IFS
   2474   test -z "$as_dir" && as_dir=.
   2475   for ac_exec_ext in '' $ac_executable_extensions; do
   2476   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2477     ac_cv_prog_AWK="$ac_prog"
   2478     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2479     break 2
   2480   fi
   2481 done
   2482 done
   2483 IFS=$as_save_IFS
   2484 
   2485 fi
   2486 fi
   2487 AWK=$ac_cv_prog_AWK
   2488 if test -n "$AWK"; then
   2489   { $as_echo "$as_me:$LINENO: result: $AWK" >&5
   2490 $as_echo "$AWK" >&6; }
   2491 else
   2492   { $as_echo "$as_me:$LINENO: result: no" >&5
   2493 $as_echo "no" >&6; }
   2494 fi
   2495 
   2496 
   2497   test -n "$AWK" && break
   2498 done
   2499 
   2500 { $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   2501 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   2502 set x ${MAKE-make}
   2503 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   2504 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
   2505   $as_echo_n "(cached) " >&6
   2506 else
   2507   cat >conftest.make <<\_ACEOF
   2508 SHELL = /bin/sh
   2509 all:
   2510 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   2511 _ACEOF
   2512 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
   2513 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   2514   *@@@%%%=?*=@@@%%%*)
   2515     eval ac_cv_prog_make_${ac_make}_set=yes;;
   2516   *)
   2517     eval ac_cv_prog_make_${ac_make}_set=no;;
   2518 esac
   2519 rm -f conftest.make
   2520 fi
   2521 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   2522   { $as_echo "$as_me:$LINENO: result: yes" >&5
   2523 $as_echo "yes" >&6; }
   2524   SET_MAKE=
   2525 else
   2526   { $as_echo "$as_me:$LINENO: result: no" >&5
   2527 $as_echo "no" >&6; }
   2528   SET_MAKE="MAKE=${MAKE-make}"
   2529 fi
   2530 
   2531 rm -rf .tst 2>/dev/null
   2532 mkdir .tst 2>/dev/null
   2533 if test -d .tst; then
   2534   am__leading_dot=.
   2535 else
   2536   am__leading_dot=_
   2537 fi
   2538 rmdir .tst 2>/dev/null
   2539 
   2540 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   2541   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   2542   # is not polluted with repeated "-I."
   2543   am__isrc=' -I$(srcdir)'
   2544   # test to see if srcdir already configured
   2545   if test -f $srcdir/config.status; then
   2546     { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
   2547 $as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
   2548    { (exit 1); exit 1; }; }
   2549   fi
   2550 fi
   2551 
   2552 # test whether we have cygpath
   2553 if test -z "$CYGPATH_W"; then
   2554   if (cygpath --version) >/dev/null 2>/dev/null; then
   2555     CYGPATH_W='cygpath -w'
   2556   else
   2557     CYGPATH_W=echo
   2558   fi
   2559 fi
   2560 
   2561 
   2562 # Define the identity of the package.
   2563  PACKAGE='libXdamage'
   2564  VERSION='1.1.2'
   2565 
   2566 
   2567 cat >>confdefs.h <<_ACEOF
   2568 #define PACKAGE "$PACKAGE"
   2569 _ACEOF
   2570 
   2571 
   2572 cat >>confdefs.h <<_ACEOF
   2573 #define VERSION "$VERSION"
   2574 _ACEOF
   2575 
   2576 # Some tools Automake needs.
   2577 
   2578 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   2579 
   2580 
   2581 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   2582 
   2583 
   2584 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   2585 
   2586 
   2587 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   2588 
   2589 
   2590 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   2591 
   2592 # We need awk for the "check" target.  The system "awk" is bad on
   2593 # some platforms.
   2594 # Always define AMTAR for backward compatibility.
   2595 
   2596 AMTAR=${AMTAR-"${am_missing_run}tar"}
   2597 
   2598 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
   2599 
   2600 
   2601 
   2602 
   2603 
   2604 
   2605 { $as_echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
   2606 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
   2607     # Check whether --enable-maintainer-mode was given.
   2608 if test "${enable_maintainer_mode+set}" = set; then
   2609   enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
   2610 else
   2611   USE_MAINTAINER_MODE=no
   2612 fi
   2613 
   2614   { $as_echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
   2615 $as_echo "$USE_MAINTAINER_MODE" >&6; }
   2616    if test $USE_MAINTAINER_MODE = yes; then
   2617   MAINTAINER_MODE_TRUE=
   2618   MAINTAINER_MODE_FALSE='#'
   2619 else
   2620   MAINTAINER_MODE_TRUE='#'
   2621   MAINTAINER_MODE_FALSE=
   2622 fi
   2623 
   2624   MAINT=$MAINTAINER_MODE_TRUE
   2625 
   2626 
   2627 
   2628 # Require xorg-macros: XORG_DEFAULT_OPTIONS
   2629 
   2630 
   2631 
   2632 
   2633 
   2634 
   2635 
   2636 
   2637 
   2638 
   2639 
   2640 ac_config_headers="$ac_config_headers config.h"
   2641 
   2642 
   2643 # Check for progs
   2644 ac_ext=c
   2645 ac_cpp='$CPP $CPPFLAGS'
   2646 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2647 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2648 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2649 if test -n "$ac_tool_prefix"; then
   2650   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   2651 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   2652 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   2653 $as_echo_n "checking for $ac_word... " >&6; }
   2654 if test "${ac_cv_prog_CC+set}" = set; then
   2655   $as_echo_n "(cached) " >&6
   2656 else
   2657   if test -n "$CC"; then
   2658   ac_cv_prog_CC="$CC" # Let the user override the test.
   2659 else
   2660 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2661 for as_dir in $PATH
   2662 do
   2663   IFS=$as_save_IFS
   2664   test -z "$as_dir" && as_dir=.
   2665   for ac_exec_ext in '' $ac_executable_extensions; do
   2666   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2667     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   2668     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2669     break 2
   2670   fi
   2671 done
   2672 done
   2673 IFS=$as_save_IFS
   2674 
   2675 fi
   2676 fi
   2677 CC=$ac_cv_prog_CC
   2678 if test -n "$CC"; then
   2679   { $as_echo "$as_me:$LINENO: result: $CC" >&5
   2680 $as_echo "$CC" >&6; }
   2681 else
   2682   { $as_echo "$as_me:$LINENO: result: no" >&5
   2683 $as_echo "no" >&6; }
   2684 fi
   2685 
   2686 
   2687 fi
   2688 if test -z "$ac_cv_prog_CC"; then
   2689   ac_ct_CC=$CC
   2690   # Extract the first word of "gcc", so it can be a program name with args.
   2691 set dummy gcc; ac_word=$2
   2692 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   2693 $as_echo_n "checking for $ac_word... " >&6; }
   2694 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
   2695   $as_echo_n "(cached) " >&6
   2696 else
   2697   if test -n "$ac_ct_CC"; then
   2698   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   2699 else
   2700 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2701 for as_dir in $PATH
   2702 do
   2703   IFS=$as_save_IFS
   2704   test -z "$as_dir" && as_dir=.
   2705   for ac_exec_ext in '' $ac_executable_extensions; do
   2706   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2707     ac_cv_prog_ac_ct_CC="gcc"
   2708     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2709     break 2
   2710   fi
   2711 done
   2712 done
   2713 IFS=$as_save_IFS
   2714 
   2715 fi
   2716 fi
   2717 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   2718 if test -n "$ac_ct_CC"; then
   2719   { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
   2720 $as_echo "$ac_ct_CC" >&6; }
   2721 else
   2722   { $as_echo "$as_me:$LINENO: result: no" >&5
   2723 $as_echo "no" >&6; }
   2724 fi
   2725 
   2726   if test "x$ac_ct_CC" = x; then
   2727     CC=""
   2728   else
   2729     case $cross_compiling:$ac_tool_warned in
   2730 yes:)
   2731 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   2732 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2733 ac_tool_warned=yes ;;
   2734 esac
   2735     CC=$ac_ct_CC
   2736   fi
   2737 else
   2738   CC="$ac_cv_prog_CC"
   2739 fi
   2740 
   2741 if test -z "$CC"; then
   2742           if test -n "$ac_tool_prefix"; then
   2743     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   2744 set dummy ${ac_tool_prefix}cc; ac_word=$2
   2745 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   2746 $as_echo_n "checking for $ac_word... " >&6; }
   2747 if test "${ac_cv_prog_CC+set}" = set; then
   2748   $as_echo_n "(cached) " >&6
   2749 else
   2750   if test -n "$CC"; then
   2751   ac_cv_prog_CC="$CC" # Let the user override the test.
   2752 else
   2753 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2754 for as_dir in $PATH
   2755 do
   2756   IFS=$as_save_IFS
   2757   test -z "$as_dir" && as_dir=.
   2758   for ac_exec_ext in '' $ac_executable_extensions; do
   2759   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2760     ac_cv_prog_CC="${ac_tool_prefix}cc"
   2761     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2762     break 2
   2763   fi
   2764 done
   2765 done
   2766 IFS=$as_save_IFS
   2767 
   2768 fi
   2769 fi
   2770 CC=$ac_cv_prog_CC
   2771 if test -n "$CC"; then
   2772   { $as_echo "$as_me:$LINENO: result: $CC" >&5
   2773 $as_echo "$CC" >&6; }
   2774 else
   2775   { $as_echo "$as_me:$LINENO: result: no" >&5
   2776 $as_echo "no" >&6; }
   2777 fi
   2778 
   2779 
   2780   fi
   2781 fi
   2782 if test -z "$CC"; then
   2783   # Extract the first word of "cc", so it can be a program name with args.
   2784 set dummy cc; ac_word=$2
   2785 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   2786 $as_echo_n "checking for $ac_word... " >&6; }
   2787 if test "${ac_cv_prog_CC+set}" = set; then
   2788   $as_echo_n "(cached) " >&6
   2789 else
   2790   if test -n "$CC"; then
   2791   ac_cv_prog_CC="$CC" # Let the user override the test.
   2792 else
   2793   ac_prog_rejected=no
   2794 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2795 for as_dir in $PATH
   2796 do
   2797   IFS=$as_save_IFS
   2798   test -z "$as_dir" && as_dir=.
   2799   for ac_exec_ext in '' $ac_executable_extensions; do
   2800   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2801     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   2802        ac_prog_rejected=yes
   2803        continue
   2804      fi
   2805     ac_cv_prog_CC="cc"
   2806     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2807     break 2
   2808   fi
   2809 done
   2810 done
   2811 IFS=$as_save_IFS
   2812 
   2813 if test $ac_prog_rejected = yes; then
   2814   # We found a bogon in the path, so make sure we never use it.
   2815   set dummy $ac_cv_prog_CC
   2816   shift
   2817   if test $# != 0; then
   2818     # We chose a different compiler from the bogus one.
   2819     # However, it has the same basename, so the bogon will be chosen
   2820     # first if we set CC to just the basename; use the full file name.
   2821     shift
   2822     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   2823   fi
   2824 fi
   2825 fi
   2826 fi
   2827 CC=$ac_cv_prog_CC
   2828 if test -n "$CC"; then
   2829   { $as_echo "$as_me:$LINENO: result: $CC" >&5
   2830 $as_echo "$CC" >&6; }
   2831 else
   2832   { $as_echo "$as_me:$LINENO: result: no" >&5
   2833 $as_echo "no" >&6; }
   2834 fi
   2835 
   2836 
   2837 fi
   2838 if test -z "$CC"; then
   2839   if test -n "$ac_tool_prefix"; then
   2840   for ac_prog in cl.exe
   2841   do
   2842     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   2843 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   2844 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   2845 $as_echo_n "checking for $ac_word... " >&6; }
   2846 if test "${ac_cv_prog_CC+set}" = set; then
   2847   $as_echo_n "(cached) " >&6
   2848 else
   2849   if test -n "$CC"; then
   2850   ac_cv_prog_CC="$CC" # Let the user override the test.
   2851 else
   2852 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2853 for as_dir in $PATH
   2854 do
   2855   IFS=$as_save_IFS
   2856   test -z "$as_dir" && as_dir=.
   2857   for ac_exec_ext in '' $ac_executable_extensions; do
   2858   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2859     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   2860     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2861     break 2
   2862   fi
   2863 done
   2864 done
   2865 IFS=$as_save_IFS
   2866 
   2867 fi
   2868 fi
   2869 CC=$ac_cv_prog_CC
   2870 if test -n "$CC"; then
   2871   { $as_echo "$as_me:$LINENO: result: $CC" >&5
   2872 $as_echo "$CC" >&6; }
   2873 else
   2874   { $as_echo "$as_me:$LINENO: result: no" >&5
   2875 $as_echo "no" >&6; }
   2876 fi
   2877 
   2878 
   2879     test -n "$CC" && break
   2880   done
   2881 fi
   2882 if test -z "$CC"; then
   2883   ac_ct_CC=$CC
   2884   for ac_prog in cl.exe
   2885 do
   2886   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2887 set dummy $ac_prog; ac_word=$2
   2888 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   2889 $as_echo_n "checking for $ac_word... " >&6; }
   2890 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
   2891   $as_echo_n "(cached) " >&6
   2892 else
   2893   if test -n "$ac_ct_CC"; then
   2894   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   2895 else
   2896 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2897 for as_dir in $PATH
   2898 do
   2899   IFS=$as_save_IFS
   2900   test -z "$as_dir" && as_dir=.
   2901   for ac_exec_ext in '' $ac_executable_extensions; do
   2902   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2903     ac_cv_prog_ac_ct_CC="$ac_prog"
   2904     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2905     break 2
   2906   fi
   2907 done
   2908 done
   2909 IFS=$as_save_IFS
   2910 
   2911 fi
   2912 fi
   2913 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   2914 if test -n "$ac_ct_CC"; then
   2915   { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
   2916 $as_echo "$ac_ct_CC" >&6; }
   2917 else
   2918   { $as_echo "$as_me:$LINENO: result: no" >&5
   2919 $as_echo "no" >&6; }
   2920 fi
   2921 
   2922 
   2923   test -n "$ac_ct_CC" && break
   2924 done
   2925 
   2926   if test "x$ac_ct_CC" = x; then
   2927     CC=""
   2928   else
   2929     case $cross_compiling:$ac_tool_warned in
   2930 yes:)
   2931 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   2932 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2933 ac_tool_warned=yes ;;
   2934 esac
   2935     CC=$ac_ct_CC
   2936   fi
   2937 fi
   2938 
   2939 fi
   2940 
   2941 
   2942 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   2943 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2944 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
   2945 See \`config.log' for more details." >&5
   2946 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
   2947 See \`config.log' for more details." >&2;}
   2948    { (exit 1); exit 1; }; }; }
   2949 
   2950 # Provide some information about the compiler.
   2951 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
   2952 set X $ac_compile
   2953 ac_compiler=$2
   2954 { (ac_try="$ac_compiler --version >&5"
   2955 case "(($ac_try" in
   2956   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2957   *) ac_try_echo=$ac_try;;
   2958 esac
   2959 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   2960 $as_echo "$ac_try_echo") >&5
   2961   (eval "$ac_compiler --version >&5") 2>&5
   2962   ac_status=$?
   2963   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2964   (exit $ac_status); }
   2965 { (ac_try="$ac_compiler -v >&5"
   2966 case "(($ac_try" in
   2967   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2968   *) ac_try_echo=$ac_try;;
   2969 esac
   2970 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   2971 $as_echo "$ac_try_echo") >&5
   2972   (eval "$ac_compiler -v >&5") 2>&5
   2973   ac_status=$?
   2974   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2975   (exit $ac_status); }
   2976 { (ac_try="$ac_compiler -V >&5"
   2977 case "(($ac_try" in
   2978   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2979   *) ac_try_echo=$ac_try;;
   2980 esac
   2981 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   2982 $as_echo "$ac_try_echo") >&5
   2983   (eval "$ac_compiler -V >&5") 2>&5
   2984   ac_status=$?
   2985   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2986   (exit $ac_status); }
   2987 
   2988 cat >conftest.$ac_ext <<_ACEOF
   2989 /* confdefs.h.  */
   2990 _ACEOF
   2991 cat confdefs.h >>conftest.$ac_ext
   2992 cat >>conftest.$ac_ext <<_ACEOF
   2993 /* end confdefs.h.  */
   2994 
   2995 int
   2996 main ()
   2997 {
   2998 
   2999   ;
   3000   return 0;
   3001 }
   3002 _ACEOF
   3003 ac_clean_files_save=$ac_clean_files
   3004 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   3005 # Try to create an executable without -o first, disregard a.out.
   3006 # It will help us diagnose broken compilers, and finding out an intuition
   3007 # of exeext.
   3008 { $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
   3009 $as_echo_n "checking for C compiler default output file name... " >&6; }
   3010 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   3011 
   3012 # The possible output files:
   3013 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   3014 
   3015 ac_rmfiles=
   3016 for ac_file in $ac_files
   3017 do
   3018   case $ac_file in
   3019     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3020     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   3021   esac
   3022 done
   3023 rm -f $ac_rmfiles
   3024 
   3025 if { (ac_try="$ac_link_default"
   3026 case "(($ac_try" in
   3027   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3028   *) ac_try_echo=$ac_try;;
   3029 esac
   3030 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3031 $as_echo "$ac_try_echo") >&5
   3032   (eval "$ac_link_default") 2>&5
   3033   ac_status=$?
   3034   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3035   (exit $ac_status); }; then
   3036   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   3037 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   3038 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   3039 # so that the user can short-circuit this test for compilers unknown to
   3040 # Autoconf.
   3041 for ac_file in $ac_files ''
   3042 do
   3043   test -f "$ac_file" || continue
   3044   case $ac_file in
   3045     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   3046 	;;
   3047     [ab].out )
   3048 	# We found the default executable, but exeext='' is most
   3049 	# certainly right.
   3050 	break;;
   3051     *.* )
   3052         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
   3053 	then :; else
   3054 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3055 	fi
   3056 	# We set ac_cv_exeext here because the later test for it is not
   3057 	# safe: cross compilers may not add the suffix if given an `-o'
   3058 	# argument, so we may need to know it at that point already.
   3059 	# Even if this section looks crufty: it has the advantage of
   3060 	# actually working.
   3061 	break;;
   3062     * )
   3063 	break;;
   3064   esac
   3065 done
   3066 test "$ac_cv_exeext" = no && ac_cv_exeext=
   3067 
   3068 else
   3069   ac_file=''
   3070 fi
   3071 
   3072 { $as_echo "$as_me:$LINENO: result: $ac_file" >&5
   3073 $as_echo "$ac_file" >&6; }
   3074 if test -z "$ac_file"; then
   3075   $as_echo "$as_me: failed program was:" >&5
   3076 sed 's/^/| /' conftest.$ac_ext >&5
   3077 
   3078 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   3079 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3080 { { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
   3081 See \`config.log' for more details." >&5
   3082 $as_echo "$as_me: error: C compiler cannot create executables
   3083 See \`config.log' for more details." >&2;}
   3084    { (exit 77); exit 77; }; }; }
   3085 fi
   3086 
   3087 ac_exeext=$ac_cv_exeext
   3088 
   3089 # Check that the compiler produces executables we can run.  If not, either
   3090 # the compiler is broken, or we cross compile.
   3091 { $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
   3092 $as_echo_n "checking whether the C compiler works... " >&6; }
   3093 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
   3094 # If not cross compiling, check that we can run a simple program.
   3095 if test "$cross_compiling" != yes; then
   3096   if { ac_try='./$ac_file'
   3097   { (case "(($ac_try" in
   3098   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3099   *) ac_try_echo=$ac_try;;
   3100 esac
   3101 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3102 $as_echo "$ac_try_echo") >&5
   3103   (eval "$ac_try") 2>&5
   3104   ac_status=$?
   3105   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3106   (exit $ac_status); }; }; then
   3107     cross_compiling=no
   3108   else
   3109     if test "$cross_compiling" = maybe; then
   3110 	cross_compiling=yes
   3111     else
   3112 	{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   3113 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3114 { { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
   3115 If you meant to cross compile, use \`--host'.
   3116 See \`config.log' for more details." >&5
   3117 $as_echo "$as_me: error: cannot run C compiled programs.
   3118 If you meant to cross compile, use \`--host'.
   3119 See \`config.log' for more details." >&2;}
   3120    { (exit 1); exit 1; }; }; }
   3121     fi
   3122   fi
   3123 fi
   3124 { $as_echo "$as_me:$LINENO: result: yes" >&5
   3125 $as_echo "yes" >&6; }
   3126 
   3127 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   3128 ac_clean_files=$ac_clean_files_save
   3129 # Check that the compiler produces executables we can run.  If not, either
   3130 # the compiler is broken, or we cross compile.
   3131 { $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
   3132 $as_echo_n "checking whether we are cross compiling... " >&6; }
   3133 { $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
   3134 $as_echo "$cross_compiling" >&6; }
   3135 
   3136 { $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
   3137 $as_echo_n "checking for suffix of executables... " >&6; }
   3138 if { (ac_try="$ac_link"
   3139 case "(($ac_try" in
   3140   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3141   *) ac_try_echo=$ac_try;;
   3142 esac
   3143 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3144 $as_echo "$ac_try_echo") >&5
   3145   (eval "$ac_link") 2>&5
   3146   ac_status=$?
   3147   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3148   (exit $ac_status); }; then
   3149   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   3150 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   3151 # work properly (i.e., refer to `conftest.exe'), while it won't with
   3152 # `rm'.
   3153 for ac_file in conftest.exe conftest conftest.*; do
   3154   test -f "$ac_file" || continue
   3155   case $ac_file in
   3156     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3157     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3158 	  break;;
   3159     * ) break;;
   3160   esac
   3161 done
   3162 else
   3163   { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   3164 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3165 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
   3166 See \`config.log' for more details." >&5
   3167 $as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
   3168 See \`config.log' for more details." >&2;}
   3169    { (exit 1); exit 1; }; }; }
   3170 fi
   3171 
   3172 rm -f conftest$ac_cv_exeext
   3173 { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
   3174 $as_echo "$ac_cv_exeext" >&6; }
   3175 
   3176 rm -f conftest.$ac_ext
   3177 EXEEXT=$ac_cv_exeext
   3178 ac_exeext=$EXEEXT
   3179 { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
   3180 $as_echo_n "checking for suffix of object files... " >&6; }
   3181 if test "${ac_cv_objext+set}" = set; then
   3182   $as_echo_n "(cached) " >&6
   3183 else
   3184   cat >conftest.$ac_ext <<_ACEOF
   3185 /* confdefs.h.  */
   3186 _ACEOF
   3187 cat confdefs.h >>conftest.$ac_ext
   3188 cat >>conftest.$ac_ext <<_ACEOF
   3189 /* end confdefs.h.  */
   3190 
   3191 int
   3192 main ()
   3193 {
   3194 
   3195   ;
   3196   return 0;
   3197 }
   3198 _ACEOF
   3199 rm -f conftest.o conftest.obj
   3200 if { (ac_try="$ac_compile"
   3201 case "(($ac_try" in
   3202   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3203   *) ac_try_echo=$ac_try;;
   3204 esac
   3205 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3206 $as_echo "$ac_try_echo") >&5
   3207   (eval "$ac_compile") 2>&5
   3208   ac_status=$?
   3209   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3210   (exit $ac_status); }; then
   3211   for ac_file in conftest.o conftest.obj conftest.*; do
   3212   test -f "$ac_file" || continue;
   3213   case $ac_file in
   3214     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   3215     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   3216        break;;
   3217   esac
   3218 done
   3219 else
   3220   $as_echo "$as_me: failed program was:" >&5
   3221 sed 's/^/| /' conftest.$ac_ext >&5
   3222 
   3223 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   3224 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3225 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
   3226 See \`config.log' for more details." >&5
   3227 $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
   3228 See \`config.log' for more details." >&2;}
   3229    { (exit 1); exit 1; }; }; }
   3230 fi
   3231 
   3232 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   3233 fi
   3234 { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
   3235 $as_echo "$ac_cv_objext" >&6; }
   3236 OBJEXT=$ac_cv_objext
   3237 ac_objext=$OBJEXT
   3238 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
   3239 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
   3240 if test "${ac_cv_c_compiler_gnu+set}" = set; then
   3241   $as_echo_n "(cached) " >&6
   3242 else
   3243   cat >conftest.$ac_ext <<_ACEOF
   3244 /* confdefs.h.  */
   3245 _ACEOF
   3246 cat confdefs.h >>conftest.$ac_ext
   3247 cat >>conftest.$ac_ext <<_ACEOF
   3248 /* end confdefs.h.  */
   3249 
   3250 int
   3251 main ()
   3252 {
   3253 #ifndef __GNUC__
   3254        choke me
   3255 #endif
   3256 
   3257   ;
   3258   return 0;
   3259 }
   3260 _ACEOF
   3261 rm -f conftest.$ac_objext
   3262 if { (ac_try="$ac_compile"
   3263 case "(($ac_try" in
   3264   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3265   *) ac_try_echo=$ac_try;;
   3266 esac
   3267 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3268 $as_echo "$ac_try_echo") >&5
   3269   (eval "$ac_compile") 2>conftest.er1
   3270   ac_status=$?
   3271   grep -v '^ *+' conftest.er1 >conftest.err
   3272   rm -f conftest.er1
   3273   cat conftest.err >&5
   3274   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3275   (exit $ac_status); } && {
   3276 	 test -z "$ac_c_werror_flag" ||
   3277 	 test ! -s conftest.err
   3278        } && test -s conftest.$ac_objext; then
   3279   ac_compiler_gnu=yes
   3280 else
   3281   $as_echo "$as_me: failed program was:" >&5
   3282 sed 's/^/| /' conftest.$ac_ext >&5
   3283 
   3284 	ac_compiler_gnu=no
   3285 fi
   3286 
   3287 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3288 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   3289 
   3290 fi
   3291 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
   3292 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
   3293 if test $ac_compiler_gnu = yes; then
   3294   GCC=yes
   3295 else
   3296   GCC=
   3297 fi
   3298 ac_test_CFLAGS=${CFLAGS+set}
   3299 ac_save_CFLAGS=$CFLAGS
   3300 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
   3301 $as_echo_n "checking whether $CC accepts -g... " >&6; }
   3302 if test "${ac_cv_prog_cc_g+set}" = set; then
   3303   $as_echo_n "(cached) " >&6
   3304 else
   3305   ac_save_c_werror_flag=$ac_c_werror_flag
   3306    ac_c_werror_flag=yes
   3307    ac_cv_prog_cc_g=no
   3308    CFLAGS="-g"
   3309    cat >conftest.$ac_ext <<_ACEOF
   3310 /* confdefs.h.  */
   3311 _ACEOF
   3312 cat confdefs.h >>conftest.$ac_ext
   3313 cat >>conftest.$ac_ext <<_ACEOF
   3314 /* end confdefs.h.  */
   3315 
   3316 int
   3317 main ()
   3318 {
   3319 
   3320   ;
   3321   return 0;
   3322 }
   3323 _ACEOF
   3324 rm -f conftest.$ac_objext
   3325 if { (ac_try="$ac_compile"
   3326 case "(($ac_try" in
   3327   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3328   *) ac_try_echo=$ac_try;;
   3329 esac
   3330 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3331 $as_echo "$ac_try_echo") >&5
   3332   (eval "$ac_compile") 2>conftest.er1
   3333   ac_status=$?
   3334   grep -v '^ *+' conftest.er1 >conftest.err
   3335   rm -f conftest.er1
   3336   cat conftest.err >&5
   3337   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3338   (exit $ac_status); } && {
   3339 	 test -z "$ac_c_werror_flag" ||
   3340 	 test ! -s conftest.err
   3341        } && test -s conftest.$ac_objext; then
   3342   ac_cv_prog_cc_g=yes
   3343 else
   3344   $as_echo "$as_me: failed program was:" >&5
   3345 sed 's/^/| /' conftest.$ac_ext >&5
   3346 
   3347 	CFLAGS=""
   3348       cat >conftest.$ac_ext <<_ACEOF
   3349 /* confdefs.h.  */
   3350 _ACEOF
   3351 cat confdefs.h >>conftest.$ac_ext
   3352 cat >>conftest.$ac_ext <<_ACEOF
   3353 /* end confdefs.h.  */
   3354 
   3355 int
   3356 main ()
   3357 {
   3358 
   3359   ;
   3360   return 0;
   3361 }
   3362 _ACEOF
   3363 rm -f conftest.$ac_objext
   3364 if { (ac_try="$ac_compile"
   3365 case "(($ac_try" in
   3366   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3367   *) ac_try_echo=$ac_try;;
   3368 esac
   3369 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3370 $as_echo "$ac_try_echo") >&5
   3371   (eval "$ac_compile") 2>conftest.er1
   3372   ac_status=$?
   3373   grep -v '^ *+' conftest.er1 >conftest.err
   3374   rm -f conftest.er1
   3375   cat conftest.err >&5
   3376   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3377   (exit $ac_status); } && {
   3378 	 test -z "$ac_c_werror_flag" ||
   3379 	 test ! -s conftest.err
   3380        } && test -s conftest.$ac_objext; then
   3381   :
   3382 else
   3383   $as_echo "$as_me: failed program was:" >&5
   3384 sed 's/^/| /' conftest.$ac_ext >&5
   3385 
   3386 	ac_c_werror_flag=$ac_save_c_werror_flag
   3387 	 CFLAGS="-g"
   3388 	 cat >conftest.$ac_ext <<_ACEOF
   3389 /* confdefs.h.  */
   3390 _ACEOF
   3391 cat confdefs.h >>conftest.$ac_ext
   3392 cat >>conftest.$ac_ext <<_ACEOF
   3393 /* end confdefs.h.  */
   3394 
   3395 int
   3396 main ()
   3397 {
   3398 
   3399   ;
   3400   return 0;
   3401 }
   3402 _ACEOF
   3403 rm -f conftest.$ac_objext
   3404 if { (ac_try="$ac_compile"
   3405 case "(($ac_try" in
   3406   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3407   *) ac_try_echo=$ac_try;;
   3408 esac
   3409 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3410 $as_echo "$ac_try_echo") >&5
   3411   (eval "$ac_compile") 2>conftest.er1
   3412   ac_status=$?
   3413   grep -v '^ *+' conftest.er1 >conftest.err
   3414   rm -f conftest.er1
   3415   cat conftest.err >&5
   3416   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3417   (exit $ac_status); } && {
   3418 	 test -z "$ac_c_werror_flag" ||
   3419 	 test ! -s conftest.err
   3420        } && test -s conftest.$ac_objext; then
   3421   ac_cv_prog_cc_g=yes
   3422 else
   3423   $as_echo "$as_me: failed program was:" >&5
   3424 sed 's/^/| /' conftest.$ac_ext >&5
   3425 
   3426 
   3427 fi
   3428 
   3429 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3430 fi
   3431 
   3432 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3433 fi
   3434 
   3435 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3436    ac_c_werror_flag=$ac_save_c_werror_flag
   3437 fi
   3438 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
   3439 $as_echo "$ac_cv_prog_cc_g" >&6; }
   3440 if test "$ac_test_CFLAGS" = set; then
   3441   CFLAGS=$ac_save_CFLAGS
   3442 elif test $ac_cv_prog_cc_g = yes; then
   3443   if test "$GCC" = yes; then
   3444     CFLAGS="-g -O2"
   3445   else
   3446     CFLAGS="-g"
   3447   fi
   3448 else
   3449   if test "$GCC" = yes; then
   3450     CFLAGS="-O2"
   3451   else
   3452     CFLAGS=
   3453   fi
   3454 fi
   3455 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
   3456 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
   3457 if test "${ac_cv_prog_cc_c89+set}" = set; then
   3458   $as_echo_n "(cached) " >&6
   3459 else
   3460   ac_cv_prog_cc_c89=no
   3461 ac_save_CC=$CC
   3462 cat >conftest.$ac_ext <<_ACEOF
   3463 /* confdefs.h.  */
   3464 _ACEOF
   3465 cat confdefs.h >>conftest.$ac_ext
   3466 cat >>conftest.$ac_ext <<_ACEOF
   3467 /* end confdefs.h.  */
   3468 #include <stdarg.h>
   3469 #include <stdio.h>
   3470 #include <sys/types.h>
   3471 #include <sys/stat.h>
   3472 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   3473 struct buf { int x; };
   3474 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   3475 static char *e (p, i)
   3476      char **p;
   3477      int i;
   3478 {
   3479   return p[i];
   3480 }
   3481 static char *f (char * (*g) (char **, int), char **p, ...)
   3482 {
   3483   char *s;
   3484   va_list v;
   3485   va_start (v,p);
   3486   s = g (p, va_arg (v,int));
   3487   va_end (v);
   3488   return s;
   3489 }
   3490 
   3491 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   3492    function prototypes and stuff, but not '\xHH' hex character constants.
   3493    These don't provoke an error unfortunately, instead are silently treated
   3494    as 'x'.  The following induces an error, until -std is added to get
   3495    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   3496    array size at least.  It's necessary to write '\x00'==0 to get something
   3497    that's true only with -std.  */
   3498 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   3499 
   3500 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   3501    inside strings and character constants.  */
   3502 #define FOO(x) 'x'
   3503 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   3504 
   3505 int test (int i, double x);
   3506 struct s1 {int (*f) (int a);};
   3507 struct s2 {int (*f) (double a);};
   3508 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   3509 int argc;
   3510 char **argv;
   3511 int
   3512 main ()
   3513 {
   3514 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   3515   ;
   3516   return 0;
   3517 }
   3518 _ACEOF
   3519 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   3520 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   3521 do
   3522   CC="$ac_save_CC $ac_arg"
   3523   rm -f conftest.$ac_objext
   3524 if { (ac_try="$ac_compile"
   3525 case "(($ac_try" in
   3526   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3527   *) ac_try_echo=$ac_try;;
   3528 esac
   3529 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3530 $as_echo "$ac_try_echo") >&5
   3531   (eval "$ac_compile") 2>conftest.er1
   3532   ac_status=$?
   3533   grep -v '^ *+' conftest.er1 >conftest.err
   3534   rm -f conftest.er1
   3535   cat conftest.err >&5
   3536   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3537   (exit $ac_status); } && {
   3538 	 test -z "$ac_c_werror_flag" ||
   3539 	 test ! -s conftest.err
   3540        } && test -s conftest.$ac_objext; then
   3541   ac_cv_prog_cc_c89=$ac_arg
   3542 else
   3543   $as_echo "$as_me: failed program was:" >&5
   3544 sed 's/^/| /' conftest.$ac_ext >&5
   3545 
   3546 
   3547 fi
   3548 
   3549 rm -f core conftest.err conftest.$ac_objext
   3550   test "x$ac_cv_prog_cc_c89" != "xno" && break
   3551 done
   3552 rm -f conftest.$ac_ext
   3553 CC=$ac_save_CC
   3554 
   3555 fi
   3556 # AC_CACHE_VAL
   3557 case "x$ac_cv_prog_cc_c89" in
   3558   x)
   3559     { $as_echo "$as_me:$LINENO: result: none needed" >&5
   3560 $as_echo "none needed" >&6; } ;;
   3561   xno)
   3562     { $as_echo "$as_me:$LINENO: result: unsupported" >&5
   3563 $as_echo "unsupported" >&6; } ;;
   3564   *)
   3565     CC="$CC $ac_cv_prog_cc_c89"
   3566     { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
   3567 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
   3568 esac
   3569 
   3570 
   3571 ac_ext=c
   3572 ac_cpp='$CPP $CPPFLAGS'
   3573 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3574 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3575 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3576 DEPDIR="${am__leading_dot}deps"
   3577 
   3578 ac_config_commands="$ac_config_commands depfiles"
   3579 
   3580 
   3581 am_make=${MAKE-make}
   3582 cat > confinc << 'END'
   3583 am__doit:
   3584 	@echo this is the am__doit target
   3585 .PHONY: am__doit
   3586 END
   3587 # If we don't find an include directive, just comment out the code.
   3588 { $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
   3589 $as_echo_n "checking for style of include used by $am_make... " >&6; }
   3590 am__include="#"
   3591 am__quote=
   3592 _am_result=none
   3593 # First try GNU make style include.
   3594 echo "include confinc" > confmf
   3595 # Ignore all kinds of additional output from `make'.
   3596 case `$am_make -s -f confmf 2> /dev/null` in #(
   3597 *the\ am__doit\ target*)
   3598   am__include=include
   3599   am__quote=
   3600   _am_result=GNU
   3601   ;;
   3602 esac
   3603 # Now try BSD make style include.
   3604 if test "$am__include" = "#"; then
   3605    echo '.include "confinc"' > confmf
   3606    case `$am_make -s -f confmf 2> /dev/null` in #(
   3607    *the\ am__doit\ target*)
   3608      am__include=.include
   3609      am__quote="\""
   3610      _am_result=BSD
   3611      ;;
   3612    esac
   3613 fi
   3614 
   3615 
   3616 { $as_echo "$as_me:$LINENO: result: $_am_result" >&5
   3617 $as_echo "$_am_result" >&6; }
   3618 rm -f confinc confmf
   3619 
   3620 # Check whether --enable-dependency-tracking was given.
   3621 if test "${enable_dependency_tracking+set}" = set; then
   3622   enableval=$enable_dependency_tracking;
   3623 fi
   3624 
   3625 if test "x$enable_dependency_tracking" != xno; then
   3626   am_depcomp="$ac_aux_dir/depcomp"
   3627   AMDEPBACKSLASH='\'
   3628 fi
   3629  if test "x$enable_dependency_tracking" != xno; then
   3630   AMDEP_TRUE=
   3631   AMDEP_FALSE='#'
   3632 else
   3633   AMDEP_TRUE='#'
   3634   AMDEP_FALSE=
   3635 fi
   3636 
   3637 
   3638 
   3639 depcc="$CC"   am_compiler_list=
   3640 
   3641 { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
   3642 $as_echo_n "checking dependency style of $depcc... " >&6; }
   3643 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
   3644   $as_echo_n "(cached) " >&6
   3645 else
   3646   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   3647   # We make a subdir and do the tests there.  Otherwise we can end up
   3648   # making bogus files that we don't know about and never remove.  For
   3649   # instance it was reported that on HP-UX the gcc test will end up
   3650   # making a dummy file named `D' -- because `-MD' means `put the output
   3651   # in D'.
   3652   mkdir conftest.dir
   3653   # Copy depcomp to subdir because otherwise we won't find it if we're
   3654   # using a relative directory.
   3655   cp "$am_depcomp" conftest.dir
   3656   cd conftest.dir
   3657   # We will build objects and dependencies in a subdirectory because
   3658   # it helps to detect inapplicable dependency modes.  For instance
   3659   # both Tru64's cc and ICC support -MD to output dependencies as a
   3660   # side effect of compilation, but ICC will put the dependencies in
   3661   # the current directory while Tru64 will put them in the object
   3662   # directory.
   3663   mkdir sub
   3664 
   3665   am_cv_CC_dependencies_compiler_type=none
   3666   if test "$am_compiler_list" = ""; then
   3667      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   3668   fi
   3669   am__universal=false
   3670   case " $depcc " in #(
   3671      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   3672      esac
   3673 
   3674   for depmode in $am_compiler_list; do
   3675     # Setup a source with many dependencies, because some compilers
   3676     # like to wrap large dependency lists on column 80 (with \), and
   3677     # we should not choose a depcomp mode which is confused by this.
   3678     #
   3679     # We need to recreate these files for each test, as the compiler may
   3680     # overwrite some of them when testing with obscure command lines.
   3681     # This happens at least with the AIX C compiler.
   3682     : > sub/conftest.c
   3683     for i in 1 2 3 4 5 6; do
   3684       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   3685       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
   3686       # Solaris 8's {/usr,}/bin/sh.
   3687       touch sub/conftst$i.h
   3688     done
   3689     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   3690 
   3691     # We check with `-c' and `-o' for the sake of the "dashmstdout"
   3692     # mode.  It turns out that the SunPro C++ compiler does not properly
   3693     # handle `-M -o', and we need to detect this.  Also, some Intel
   3694     # versions had trouble with output in subdirs
   3695     am__obj=sub/conftest.${OBJEXT-o}
   3696     am__minus_obj="-o $am__obj"
   3697     case $depmode in
   3698     gcc)
   3699       # This depmode causes a compiler race in universal mode.
   3700       test "$am__universal" = false || continue
   3701       ;;
   3702     nosideeffect)
   3703       # after this tag, mechanisms are not by side-effect, so they'll
   3704       # only be used when explicitly requested
   3705       if test "x$enable_dependency_tracking" = xyes; then
   3706 	continue
   3707       else
   3708 	break
   3709       fi
   3710       ;;
   3711     msvisualcpp | msvcmsys)
   3712       # This compiler won't grok `-c -o', but also, the minuso test has
   3713       # not run yet.  These depmodes are late enough in the game, and
   3714       # so weak that their functioning should not be impacted.
   3715       am__obj=conftest.${OBJEXT-o}
   3716       am__minus_obj=
   3717       ;;
   3718     none) break ;;
   3719     esac
   3720     if depmode=$depmode \
   3721        source=sub/conftest.c object=$am__obj \
   3722        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   3723        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   3724          >/dev/null 2>conftest.err &&
   3725        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   3726        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   3727        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   3728        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   3729       # icc doesn't choke on unknown options, it will just issue warnings
   3730       # or remarks (even with -Werror).  So we grep stderr for any message
   3731       # that says an option was ignored or not supported.
   3732       # When given -MP, icc 7.0 and 7.1 complain thusly:
   3733       #   icc: Command line warning: ignoring option '-M'; no argument required
   3734       # The diagnosis changed in icc 8.0:
   3735       #   icc: Command line remark: option '-MP' not supported
   3736       if (grep 'ignoring option' conftest.err ||
   3737           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   3738         am_cv_CC_dependencies_compiler_type=$depmode
   3739         break
   3740       fi
   3741     fi
   3742   done
   3743 
   3744   cd ..
   3745   rm -rf conftest.dir
   3746 else
   3747   am_cv_CC_dependencies_compiler_type=none
   3748 fi
   3749 
   3750 fi
   3751 { $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
   3752 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
   3753 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   3754 
   3755  if
   3756   test "x$enable_dependency_tracking" != xno \
   3757   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   3758   am__fastdepCC_TRUE=
   3759   am__fastdepCC_FALSE='#'
   3760 else
   3761   am__fastdepCC_TRUE='#'
   3762   am__fastdepCC_FALSE=
   3763 fi
   3764 
   3765 
   3766 # Check whether --enable-shared was given.
   3767 if test "${enable_shared+set}" = set; then
   3768   enableval=$enable_shared; p=${PACKAGE-default}
   3769     case $enableval in
   3770     yes) enable_shared=yes ;;
   3771     no) enable_shared=no ;;
   3772     *)
   3773       enable_shared=no
   3774       # Look at the argument we got.  We use all the common list separators.
   3775       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   3776       for pkg in $enableval; do
   3777 	IFS="$lt_save_ifs"
   3778 	if test "X$pkg" = "X$p"; then
   3779 	  enable_shared=yes
   3780 	fi
   3781       done
   3782       IFS="$lt_save_ifs"
   3783       ;;
   3784     esac
   3785 else
   3786   enable_shared=yes
   3787 fi
   3788 
   3789 
   3790 # Check whether --enable-static was given.
   3791 if test "${enable_static+set}" = set; then
   3792   enableval=$enable_static; p=${PACKAGE-default}
   3793     case $enableval in
   3794     yes) enable_static=yes ;;
   3795     no) enable_static=no ;;
   3796     *)
   3797      enable_static=no
   3798       # Look at the argument we got.  We use all the common list separators.
   3799       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   3800       for pkg in $enableval; do
   3801 	IFS="$lt_save_ifs"
   3802 	if test "X$pkg" = "X$p"; then
   3803 	  enable_static=yes
   3804 	fi
   3805       done
   3806       IFS="$lt_save_ifs"
   3807       ;;
   3808     esac
   3809 else
   3810   enable_static=yes
   3811 fi
   3812 
   3813 
   3814 # Check whether --enable-fast-install was given.
   3815 if test "${enable_fast_install+set}" = set; then
   3816   enableval=$enable_fast_install; p=${PACKAGE-default}
   3817     case $enableval in
   3818     yes) enable_fast_install=yes ;;
   3819     no) enable_fast_install=no ;;
   3820     *)
   3821       enable_fast_install=no
   3822       # Look at the argument we got.  We use all the common list separators.
   3823       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   3824       for pkg in $enableval; do
   3825 	IFS="$lt_save_ifs"
   3826 	if test "X$pkg" = "X$p"; then
   3827 	  enable_fast_install=yes
   3828 	fi
   3829       done
   3830       IFS="$lt_save_ifs"
   3831       ;;
   3832     esac
   3833 else
   3834   enable_fast_install=yes
   3835 fi
   3836 
   3837 
   3838 # Make sure we can run config.sub.
   3839 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
   3840   { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
   3841 $as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
   3842    { (exit 1); exit 1; }; }
   3843 
   3844 { $as_echo "$as_me:$LINENO: checking build system type" >&5
   3845 $as_echo_n "checking build system type... " >&6; }
   3846 if test "${ac_cv_build+set}" = set; then
   3847   $as_echo_n "(cached) " >&6
   3848 else
   3849   ac_build_alias=$build_alias
   3850 test "x$ac_build_alias" = x &&
   3851   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
   3852 test "x$ac_build_alias" = x &&
   3853   { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
   3854 $as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
   3855    { (exit 1); exit 1; }; }
   3856 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
   3857   { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
   3858 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
   3859    { (exit 1); exit 1; }; }
   3860 
   3861 fi
   3862 { $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
   3863 $as_echo "$ac_cv_build" >&6; }
   3864 case $ac_cv_build in
   3865 *-*-*) ;;
   3866 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
   3867 $as_echo "$as_me: error: invalid value of canonical build" >&2;}
   3868    { (exit 1); exit 1; }; };;
   3869 esac
   3870 build=$ac_cv_build
   3871 ac_save_IFS=$IFS; IFS='-'
   3872 set x $ac_cv_build
   3873 shift
   3874 build_cpu=$1
   3875 build_vendor=$2
   3876 shift; shift
   3877 # Remember, the first character of IFS is used to create $*,
   3878 # except with old shells:
   3879 build_os=$*
   3880 IFS=$ac_save_IFS
   3881 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   3882 
   3883 
   3884 { $as_echo "$as_me:$LINENO: checking host system type" >&5
   3885 $as_echo_n "checking host system type... " >&6; }
   3886 if test "${ac_cv_host+set}" = set; then
   3887   $as_echo_n "(cached) " >&6
   3888 else
   3889   if test "x$host_alias" = x; then
   3890   ac_cv_host=$ac_cv_build
   3891 else
   3892   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
   3893     { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
   3894 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
   3895    { (exit 1); exit 1; }; }
   3896 fi
   3897 
   3898 fi
   3899 { $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
   3900 $as_echo "$ac_cv_host" >&6; }
   3901 case $ac_cv_host in
   3902 *-*-*) ;;
   3903 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
   3904 $as_echo "$as_me: error: invalid value of canonical host" >&2;}
   3905    { (exit 1); exit 1; }; };;
   3906 esac
   3907 host=$ac_cv_host
   3908 ac_save_IFS=$IFS; IFS='-'
   3909 set x $ac_cv_host
   3910 shift
   3911 host_cpu=$1
   3912 host_vendor=$2
   3913 shift; shift
   3914 # Remember, the first character of IFS is used to create $*,
   3915 # except with old shells:
   3916 host_os=$*
   3917 IFS=$ac_save_IFS
   3918 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   3919 
   3920 
   3921 { $as_echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
   3922 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
   3923 if test "${lt_cv_path_SED+set}" = set; then
   3924   $as_echo_n "(cached) " >&6
   3925 else
   3926   # Loop through the user's path and test for sed and gsed.
   3927 # Then use that list of sed's as ones to test for truncation.
   3928 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3929 for as_dir in $PATH
   3930 do
   3931   IFS=$as_save_IFS
   3932   test -z "$as_dir" && as_dir=.
   3933   for lt_ac_prog in sed gsed; do
   3934     for ac_exec_ext in '' $ac_executable_extensions; do
   3935       if { test -f "$as_dir/$lt_ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$lt_ac_prog$ac_exec_ext"; }; then
   3936         lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
   3937       fi
   3938     done
   3939   done
   3940 done
   3941 IFS=$as_save_IFS
   3942 lt_ac_max=0
   3943 lt_ac_count=0
   3944 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
   3945 # along with /bin/sed that truncates output.
   3946 for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
   3947   test ! -f $lt_ac_sed && continue
   3948   cat /dev/null > conftest.in
   3949   lt_ac_count=0
   3950   echo $ECHO_N "0123456789$ECHO_C" >conftest.in
   3951   # Check for GNU sed and select it if it is found.
   3952   if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
   3953     lt_cv_path_SED=$lt_ac_sed
   3954     break
   3955   fi
   3956   while true; do
   3957     cat conftest.in conftest.in >conftest.tmp
   3958     mv conftest.tmp conftest.in
   3959     cp conftest.in conftest.nl
   3960     echo >>conftest.nl
   3961     $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
   3962     cmp -s conftest.out conftest.nl || break
   3963     # 10000 chars as input seems more than enough
   3964     test $lt_ac_count -gt 10 && break
   3965     lt_ac_count=`expr $lt_ac_count + 1`
   3966     if test $lt_ac_count -gt $lt_ac_max; then
   3967       lt_ac_max=$lt_ac_count
   3968       lt_cv_path_SED=$lt_ac_sed
   3969     fi
   3970   done
   3971 done
   3972 
   3973 fi
   3974 
   3975 SED=$lt_cv_path_SED
   3976 
   3977 { $as_echo "$as_me:$LINENO: result: $SED" >&5
   3978 $as_echo "$SED" >&6; }
   3979 
   3980 { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
   3981 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
   3982 if test "${ac_cv_path_GREP+set}" = set; then
   3983   $as_echo_n "(cached) " >&6
   3984 else
   3985   if test -z "$GREP"; then
   3986   ac_path_GREP_found=false
   3987   # Loop through the user's path and test for each of PROGNAME-LIST
   3988   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3989 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   3990 do
   3991   IFS=$as_save_IFS
   3992   test -z "$as_dir" && as_dir=.
   3993   for ac_prog in grep ggrep; do
   3994     for ac_exec_ext in '' $ac_executable_extensions; do
   3995       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
   3996       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
   3997 # Check for GNU ac_path_GREP and select it if it is found.
   3998   # Check for GNU $ac_path_GREP
   3999 case `"$ac_path_GREP" --version 2>&1` in
   4000 *GNU*)
   4001   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   4002 *)
   4003   ac_count=0
   4004   $as_echo_n 0123456789 >"conftest.in"
   4005   while :
   4006   do
   4007     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4008     mv "conftest.tmp" "conftest.in"
   4009     cp "conftest.in" "conftest.nl"
   4010     $as_echo 'GREP' >> "conftest.nl"
   4011     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4012     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4013     ac_count=`expr $ac_count + 1`
   4014     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   4015       # Best one so far, save it but keep looking for a better one
   4016       ac_cv_path_GREP="$ac_path_GREP"
   4017       ac_path_GREP_max=$ac_count
   4018     fi
   4019     # 10*(2^10) chars as input seems more than enough
   4020     test $ac_count -gt 10 && break
   4021   done
   4022   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4023 esac
   4024 
   4025       $ac_path_GREP_found && break 3
   4026     done
   4027   done
   4028 done
   4029 IFS=$as_save_IFS
   4030   if test -z "$ac_cv_path_GREP"; then
   4031     { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
   4032 $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
   4033    { (exit 1); exit 1; }; }
   4034   fi
   4035 else
   4036   ac_cv_path_GREP=$GREP
   4037 fi
   4038 
   4039 fi
   4040 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
   4041 $as_echo "$ac_cv_path_GREP" >&6; }
   4042  GREP="$ac_cv_path_GREP"
   4043 
   4044 
   4045 { $as_echo "$as_me:$LINENO: checking for egrep" >&5
   4046 $as_echo_n "checking for egrep... " >&6; }
   4047 if test "${ac_cv_path_EGREP+set}" = set; then
   4048   $as_echo_n "(cached) " >&6
   4049 else
   4050   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   4051    then ac_cv_path_EGREP="$GREP -E"
   4052    else
   4053      if test -z "$EGREP"; then
   4054   ac_path_EGREP_found=false
   4055   # Loop through the user's path and test for each of PROGNAME-LIST
   4056   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4057 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4058 do
   4059   IFS=$as_save_IFS
   4060   test -z "$as_dir" && as_dir=.
   4061   for ac_prog in egrep; do
   4062     for ac_exec_ext in '' $ac_executable_extensions; do
   4063       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
   4064       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
   4065 # Check for GNU ac_path_EGREP and select it if it is found.
   4066   # Check for GNU $ac_path_EGREP
   4067 case `"$ac_path_EGREP" --version 2>&1` in
   4068 *GNU*)
   4069   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   4070 *)
   4071   ac_count=0
   4072   $as_echo_n 0123456789 >"conftest.in"
   4073   while :
   4074   do
   4075     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4076     mv "conftest.tmp" "conftest.in"
   4077     cp "conftest.in" "conftest.nl"
   4078     $as_echo 'EGREP' >> "conftest.nl"
   4079     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4080     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4081     ac_count=`expr $ac_count + 1`
   4082     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   4083       # Best one so far, save it but keep looking for a better one
   4084       ac_cv_path_EGREP="$ac_path_EGREP"
   4085       ac_path_EGREP_max=$ac_count
   4086     fi
   4087     # 10*(2^10) chars as input seems more than enough
   4088     test $ac_count -gt 10 && break
   4089   done
   4090   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4091 esac
   4092 
   4093       $ac_path_EGREP_found && break 3
   4094     done
   4095   done
   4096 done
   4097 IFS=$as_save_IFS
   4098   if test -z "$ac_cv_path_EGREP"; then
   4099     { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
   4100 $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
   4101    { (exit 1); exit 1; }; }
   4102   fi
   4103 else
   4104   ac_cv_path_EGREP=$EGREP
   4105 fi
   4106 
   4107    fi
   4108 fi
   4109 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
   4110 $as_echo "$ac_cv_path_EGREP" >&6; }
   4111  EGREP="$ac_cv_path_EGREP"
   4112 
   4113 
   4114 
   4115 # Check whether --with-gnu-ld was given.
   4116 if test "${with_gnu_ld+set}" = set; then
   4117   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
   4118 else
   4119   with_gnu_ld=no
   4120 fi
   4121 
   4122 ac_prog=ld
   4123 if test "$GCC" = yes; then
   4124   # Check if gcc -print-prog-name=ld gives a path.
   4125   { $as_echo "$as_me:$LINENO: checking for ld used by $CC" >&5
   4126 $as_echo_n "checking for ld used by $CC... " >&6; }
   4127   case $host in
   4128   *-*-mingw*)
   4129     # gcc leaves a trailing carriage return which upsets mingw
   4130     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   4131   *)
   4132     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   4133   esac
   4134   case $ac_prog in
   4135     # Accept absolute paths.
   4136     [\\/]* | ?:[\\/]*)
   4137       re_direlt='/[^/][^/]*/\.\./'
   4138       # Canonicalize the pathname of ld
   4139       ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
   4140       while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
   4141 	ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
   4142       done
   4143       test -z "$LD" && LD="$ac_prog"
   4144       ;;
   4145   "")
   4146     # If it fails, then pretend we aren't using GCC.
   4147     ac_prog=ld
   4148     ;;
   4149   *)
   4150     # If it is relative, then search for the first ld in PATH.
   4151     with_gnu_ld=unknown
   4152     ;;
   4153   esac
   4154 elif test "$with_gnu_ld" = yes; then
   4155   { $as_echo "$as_me:$LINENO: checking for GNU ld" >&5
   4156 $as_echo_n "checking for GNU ld... " >&6; }
   4157 else
   4158   { $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5
   4159 $as_echo_n "checking for non-GNU ld... " >&6; }
   4160 fi
   4161 if test "${lt_cv_path_LD+set}" = set; then
   4162   $as_echo_n "(cached) " >&6
   4163 else
   4164   if test -z "$LD"; then
   4165   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   4166   for ac_dir in $PATH; do
   4167     IFS="$lt_save_ifs"
   4168     test -z "$ac_dir" && ac_dir=.
   4169     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   4170       lt_cv_path_LD="$ac_dir/$ac_prog"
   4171       # Check to see if the program is GNU ld.  I'd rather use --version,
   4172       # but apparently some variants of GNU ld only accept -v.
   4173       # Break only if it was the GNU/non-GNU ld that we prefer.
   4174       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   4175       *GNU* | *'with BFD'*)
   4176 	test "$with_gnu_ld" != no && break
   4177 	;;
   4178       *)
   4179 	test "$with_gnu_ld" != yes && break
   4180 	;;
   4181       esac
   4182     fi
   4183   done
   4184   IFS="$lt_save_ifs"
   4185 else
   4186   lt_cv_path_LD="$LD" # Let the user override the test with a path.
   4187 fi
   4188 fi
   4189 
   4190 LD="$lt_cv_path_LD"
   4191 if test -n "$LD"; then
   4192   { $as_echo "$as_me:$LINENO: result: $LD" >&5
   4193 $as_echo "$LD" >&6; }
   4194 else
   4195   { $as_echo "$as_me:$LINENO: result: no" >&5
   4196 $as_echo "no" >&6; }
   4197 fi
   4198 test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
   4199 $as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
   4200    { (exit 1); exit 1; }; }
   4201 { $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
   4202 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
   4203 if test "${lt_cv_prog_gnu_ld+set}" = set; then
   4204   $as_echo_n "(cached) " >&6
   4205 else
   4206   # I'd rather use --version here, but apparently some GNU lds only accept -v.
   4207 case `$LD -v 2>&1 </dev/null` in
   4208 *GNU* | *'with BFD'*)
   4209   lt_cv_prog_gnu_ld=yes
   4210   ;;
   4211 *)
   4212   lt_cv_prog_gnu_ld=no
   4213   ;;
   4214 esac
   4215 fi
   4216 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
   4217 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
   4218 with_gnu_ld=$lt_cv_prog_gnu_ld
   4219 
   4220 
   4221 { $as_echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
   4222 $as_echo_n "checking for $LD option to reload object files... " >&6; }
   4223 if test "${lt_cv_ld_reload_flag+set}" = set; then
   4224   $as_echo_n "(cached) " >&6
   4225 else
   4226   lt_cv_ld_reload_flag='-r'
   4227 fi
   4228 { $as_echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
   4229 $as_echo "$lt_cv_ld_reload_flag" >&6; }
   4230 reload_flag=$lt_cv_ld_reload_flag
   4231 case $reload_flag in
   4232 "" | " "*) ;;
   4233 *) reload_flag=" $reload_flag" ;;
   4234 esac
   4235 reload_cmds='$LD$reload_flag -o $output$reload_objs'
   4236 case $host_os in
   4237   darwin*)
   4238     if test "$GCC" = yes; then
   4239       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
   4240     else
   4241       reload_cmds='$LD$reload_flag -o $output$reload_objs'
   4242     fi
   4243     ;;
   4244 esac
   4245 
   4246 { $as_echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
   4247 $as_echo_n "checking for BSD-compatible nm... " >&6; }
   4248 if test "${lt_cv_path_NM+set}" = set; then
   4249   $as_echo_n "(cached) " >&6
   4250 else
   4251   if test -n "$NM"; then
   4252   # Let the user override the test.
   4253   lt_cv_path_NM="$NM"
   4254 else
   4255   lt_nm_to_check="${ac_tool_prefix}nm"
   4256   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
   4257     lt_nm_to_check="$lt_nm_to_check nm"
   4258   fi
   4259   for lt_tmp_nm in $lt_nm_to_check; do
   4260     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   4261     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
   4262       IFS="$lt_save_ifs"
   4263       test -z "$ac_dir" && ac_dir=.
   4264       tmp_nm="$ac_dir/$lt_tmp_nm"
   4265       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
   4266 	# Check to see if the nm accepts a BSD-compat flag.
   4267 	# Adding the `sed 1q' prevents false positives on HP-UX, which says:
   4268 	#   nm: unknown option "B" ignored
   4269 	# Tru64's nm complains that /dev/null is an invalid object file
   4270 	case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
   4271 	*/dev/null* | *'Invalid file or object type'*)
   4272 	  lt_cv_path_NM="$tmp_nm -B"
   4273 	  break
   4274 	  ;;
   4275 	*)
   4276 	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
   4277 	  */dev/null*)
   4278 	    lt_cv_path_NM="$tmp_nm -p"
   4279 	    break
   4280 	    ;;
   4281 	  *)
   4282 	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
   4283 	    continue # so that we can try to find one that supports BSD flags
   4284 	    ;;
   4285 	  esac
   4286 	  ;;
   4287 	esac
   4288       fi
   4289     done
   4290     IFS="$lt_save_ifs"
   4291   done
   4292   test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
   4293 fi
   4294 fi
   4295 { $as_echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
   4296 $as_echo "$lt_cv_path_NM" >&6; }
   4297 NM="$lt_cv_path_NM"
   4298 
   4299 { $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5
   4300 $as_echo_n "checking whether ln -s works... " >&6; }
   4301 LN_S=$as_ln_s
   4302 if test "$LN_S" = "ln -s"; then
   4303   { $as_echo "$as_me:$LINENO: result: yes" >&5
   4304 $as_echo "yes" >&6; }
   4305 else
   4306   { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5
   4307 $as_echo "no, using $LN_S" >&6; }
   4308 fi
   4309 
   4310 { $as_echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
   4311 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
   4312 if test "${lt_cv_deplibs_check_method+set}" = set; then
   4313   $as_echo_n "(cached) " >&6
   4314 else
   4315   lt_cv_file_magic_cmd='$MAGIC_CMD'
   4316 lt_cv_file_magic_test_file=
   4317 lt_cv_deplibs_check_method='unknown'
   4318 # Need to set the preceding variable on all platforms that support
   4319 # interlibrary dependencies.
   4320 # 'none' -- dependencies not supported.
   4321 # `unknown' -- same as none, but documents that we really don't know.
   4322 # 'pass_all' -- all dependencies passed with no checks.
   4323 # 'test_compile' -- check by making test program.
   4324 # 'file_magic [[regex]]' -- check by looking for files in library path
   4325 # which responds to the $file_magic_cmd with a given extended regex.
   4326 # If you have `file' or equivalent on your system and you're not sure
   4327 # whether `pass_all' will *always* work, you probably want this one.
   4328 
   4329 case $host_os in
   4330 aix[4-9]*)
   4331   lt_cv_deplibs_check_method=pass_all
   4332   ;;
   4333 
   4334 beos*)
   4335   lt_cv_deplibs_check_method=pass_all
   4336   ;;
   4337 
   4338 bsdi[45]*)
   4339   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
   4340   lt_cv_file_magic_cmd='/usr/bin/file -L'
   4341   lt_cv_file_magic_test_file=/shlib/libc.so
   4342   ;;
   4343 
   4344 cygwin*)
   4345   # func_win32_libid is a shell function defined in ltmain.sh
   4346   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   4347   lt_cv_file_magic_cmd='func_win32_libid'
   4348   ;;
   4349 
   4350 mingw* | pw32*)
   4351   # Base MSYS/MinGW do not provide the 'file' command needed by
   4352   # func_win32_libid shell function, so use a weaker test based on 'objdump',
   4353   # unless we find 'file', for example because we are cross-compiling.
   4354   if ( file / ) >/dev/null 2>&1; then
   4355     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   4356     lt_cv_file_magic_cmd='func_win32_libid'
   4357   else
   4358     lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
   4359     lt_cv_file_magic_cmd='$OBJDUMP -f'
   4360   fi
   4361   ;;
   4362 
   4363 darwin* | rhapsody*)
   4364   lt_cv_deplibs_check_method=pass_all
   4365   ;;
   4366 
   4367 freebsd* | dragonfly*)
   4368   if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
   4369     case $host_cpu in
   4370     i*86 )
   4371       # Not sure whether the presence of OpenBSD here was a mistake.
   4372       # Let's accept both of them until this is cleared up.
   4373       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
   4374       lt_cv_file_magic_cmd=/usr/bin/file
   4375       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
   4376       ;;
   4377     esac
   4378   else
   4379     lt_cv_deplibs_check_method=pass_all
   4380   fi
   4381   ;;
   4382 
   4383 gnu*)
   4384   lt_cv_deplibs_check_method=pass_all
   4385   ;;
   4386 
   4387 hpux10.20* | hpux11*)
   4388   lt_cv_file_magic_cmd=/usr/bin/file
   4389   case $host_cpu in
   4390   ia64*)
   4391     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
   4392     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
   4393     ;;
   4394   hppa*64*)
   4395     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]'
   4396     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
   4397     ;;
   4398   *)
   4399     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
   4400     lt_cv_file_magic_test_file=/usr/lib/libc.sl
   4401     ;;
   4402   esac
   4403   ;;
   4404 
   4405 interix[3-9]*)
   4406   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
   4407   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
   4408   ;;
   4409 
   4410 irix5* | irix6* | nonstopux*)
   4411   case $LD in
   4412   *-32|*"-32 ") libmagic=32-bit;;
   4413   *-n32|*"-n32 ") libmagic=N32;;
   4414   *-64|*"-64 ") libmagic=64-bit;;
   4415   *) libmagic=never-match;;
   4416   esac
   4417   lt_cv_deplibs_check_method=pass_all
   4418   ;;
   4419 
   4420 # This must be Linux ELF.
   4421 linux* | k*bsd*-gnu)
   4422   lt_cv_deplibs_check_method=pass_all
   4423   ;;
   4424 
   4425 netbsd*)
   4426   if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
   4427     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   4428   else
   4429     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
   4430   fi
   4431   ;;
   4432 
   4433 newos6*)
   4434   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
   4435   lt_cv_file_magic_cmd=/usr/bin/file
   4436   lt_cv_file_magic_test_file=/usr/lib/libnls.so
   4437   ;;
   4438 
   4439 nto-qnx*)
   4440   lt_cv_deplibs_check_method=unknown
   4441   ;;
   4442 
   4443 openbsd*)
   4444   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   4445     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
   4446   else
   4447     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   4448   fi
   4449   ;;
   4450 
   4451 osf3* | osf4* | osf5*)
   4452   lt_cv_deplibs_check_method=pass_all
   4453   ;;
   4454 
   4455 rdos*)
   4456   lt_cv_deplibs_check_method=pass_all
   4457   ;;
   4458 
   4459 solaris*)
   4460   lt_cv_deplibs_check_method=pass_all
   4461   ;;
   4462 
   4463 sysv4 | sysv4.3*)
   4464   case $host_vendor in
   4465   motorola)
   4466     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]'
   4467     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
   4468     ;;
   4469   ncr)
   4470     lt_cv_deplibs_check_method=pass_all
   4471     ;;
   4472   sequent)
   4473     lt_cv_file_magic_cmd='/bin/file'
   4474     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
   4475     ;;
   4476   sni)
   4477     lt_cv_file_magic_cmd='/bin/file'
   4478     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
   4479     lt_cv_file_magic_test_file=/lib/libc.so
   4480     ;;
   4481   siemens)
   4482     lt_cv_deplibs_check_method=pass_all
   4483     ;;
   4484   pc)
   4485     lt_cv_deplibs_check_method=pass_all
   4486     ;;
   4487   esac
   4488   ;;
   4489 
   4490 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   4491   lt_cv_deplibs_check_method=pass_all
   4492   ;;
   4493 esac
   4494 
   4495 fi
   4496 { $as_echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
   4497 $as_echo "$lt_cv_deplibs_check_method" >&6; }
   4498 file_magic_cmd=$lt_cv_file_magic_cmd
   4499 deplibs_check_method=$lt_cv_deplibs_check_method
   4500 test -z "$deplibs_check_method" && deplibs_check_method=unknown
   4501 
   4502 
   4503 
   4504 
   4505 # If no C compiler was specified, use CC.
   4506 LTCC=${LTCC-"$CC"}
   4507 
   4508 # If no C compiler flags were specified, use CFLAGS.
   4509 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   4510 
   4511 # Allow CC to be a program name with arguments.
   4512 compiler=$CC
   4513 
   4514 
   4515 # Check whether --enable-libtool-lock was given.
   4516 if test "${enable_libtool_lock+set}" = set; then
   4517   enableval=$enable_libtool_lock;
   4518 fi
   4519 
   4520 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
   4521 
   4522 # Some flags need to be propagated to the compiler or linker for good
   4523 # libtool support.
   4524 case $host in
   4525 ia64-*-hpux*)
   4526   # Find out which ABI we are using.
   4527   echo 'int i;' > conftest.$ac_ext
   4528   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   4529   (eval $ac_compile) 2>&5
   4530   ac_status=$?
   4531   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4532   (exit $ac_status); }; then
   4533     case `/usr/bin/file conftest.$ac_objext` in
   4534     *ELF-32*)
   4535       HPUX_IA64_MODE="32"
   4536       ;;
   4537     *ELF-64*)
   4538       HPUX_IA64_MODE="64"
   4539       ;;
   4540     esac
   4541   fi
   4542   rm -rf conftest*
   4543   ;;
   4544 *-*-irix6*)
   4545   # Find out which ABI we are using.
   4546   echo '#line 4546 "configure"' > conftest.$ac_ext
   4547   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   4548   (eval $ac_compile) 2>&5
   4549   ac_status=$?
   4550   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4551   (exit $ac_status); }; then
   4552    if test "$lt_cv_prog_gnu_ld" = yes; then
   4553     case `/usr/bin/file conftest.$ac_objext` in
   4554     *32-bit*)
   4555       LD="${LD-ld} -melf32bsmip"
   4556       ;;
   4557     *N32*)
   4558       LD="${LD-ld} -melf32bmipn32"
   4559       ;;
   4560     *64-bit*)
   4561       LD="${LD-ld} -melf64bmip"
   4562       ;;
   4563     esac
   4564    else
   4565     case `/usr/bin/file conftest.$ac_objext` in
   4566     *32-bit*)
   4567       LD="${LD-ld} -32"
   4568       ;;
   4569     *N32*)
   4570       LD="${LD-ld} -n32"
   4571       ;;
   4572     *64-bit*)
   4573       LD="${LD-ld} -64"
   4574       ;;
   4575     esac
   4576    fi
   4577   fi
   4578   rm -rf conftest*
   4579   ;;
   4580 
   4581 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
   4582 s390*-*linux*|sparc*-*linux*)
   4583   # Find out which ABI we are using.
   4584   echo 'int i;' > conftest.$ac_ext
   4585   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   4586   (eval $ac_compile) 2>&5
   4587   ac_status=$?
   4588   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4589   (exit $ac_status); }; then
   4590     case `/usr/bin/file conftest.o` in
   4591     *32-bit*)
   4592       case $host in
   4593         x86_64-*kfreebsd*-gnu)
   4594           LD="${LD-ld} -m elf_i386_fbsd"
   4595           ;;
   4596         x86_64-*linux*)
   4597           LD="${LD-ld} -m elf_i386"
   4598           ;;
   4599         ppc64-*linux*|powerpc64-*linux*)
   4600           LD="${LD-ld} -m elf32ppclinux"
   4601           ;;
   4602         s390x-*linux*)
   4603           LD="${LD-ld} -m elf_s390"
   4604           ;;
   4605         sparc64-*linux*)
   4606           LD="${LD-ld} -m elf32_sparc"
   4607           ;;
   4608       esac
   4609       ;;
   4610     *64-bit*)
   4611       case $host in
   4612         x86_64-*kfreebsd*-gnu)
   4613           LD="${LD-ld} -m elf_x86_64_fbsd"
   4614           ;;
   4615         x86_64-*linux*)
   4616           LD="${LD-ld} -m elf_x86_64"
   4617           ;;
   4618         ppc*-*linux*|powerpc*-*linux*)
   4619           LD="${LD-ld} -m elf64ppc"
   4620           ;;
   4621         s390*-*linux*)
   4622           LD="${LD-ld} -m elf64_s390"
   4623           ;;
   4624         sparc*-*linux*)
   4625           LD="${LD-ld} -m elf64_sparc"
   4626           ;;
   4627       esac
   4628       ;;
   4629     esac
   4630   fi
   4631   rm -rf conftest*
   4632   ;;
   4633 
   4634 *-*-sco3.2v5*)
   4635   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
   4636   SAVE_CFLAGS="$CFLAGS"
   4637   CFLAGS="$CFLAGS -belf"
   4638   { $as_echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
   4639 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
   4640 if test "${lt_cv_cc_needs_belf+set}" = set; then
   4641   $as_echo_n "(cached) " >&6
   4642 else
   4643   ac_ext=c
   4644 ac_cpp='$CPP $CPPFLAGS'
   4645 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4646 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4647 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4648 
   4649      cat >conftest.$ac_ext <<_ACEOF
   4650 /* confdefs.h.  */
   4651 _ACEOF
   4652 cat confdefs.h >>conftest.$ac_ext
   4653 cat >>conftest.$ac_ext <<_ACEOF
   4654 /* end confdefs.h.  */
   4655 
   4656 int
   4657 main ()
   4658 {
   4659 
   4660   ;
   4661   return 0;
   4662 }
   4663 _ACEOF
   4664 rm -f conftest.$ac_objext conftest$ac_exeext
   4665 if { (ac_try="$ac_link"
   4666 case "(($ac_try" in
   4667   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4668   *) ac_try_echo=$ac_try;;
   4669 esac
   4670 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   4671 $as_echo "$ac_try_echo") >&5
   4672   (eval "$ac_link") 2>conftest.er1
   4673   ac_status=$?
   4674   grep -v '^ *+' conftest.er1 >conftest.err
   4675   rm -f conftest.er1
   4676   cat conftest.err >&5
   4677   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4678   (exit $ac_status); } && {
   4679 	 test -z "$ac_c_werror_flag" ||
   4680 	 test ! -s conftest.err
   4681        } && test -s conftest$ac_exeext && {
   4682 	 test "$cross_compiling" = yes ||
   4683 	 $as_test_x conftest$ac_exeext
   4684        }; then
   4685   lt_cv_cc_needs_belf=yes
   4686 else
   4687   $as_echo "$as_me: failed program was:" >&5
   4688 sed 's/^/| /' conftest.$ac_ext >&5
   4689 
   4690 	lt_cv_cc_needs_belf=no
   4691 fi
   4692 
   4693 rm -rf conftest.dSYM
   4694 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   4695       conftest$ac_exeext conftest.$ac_ext
   4696      ac_ext=c
   4697 ac_cpp='$CPP $CPPFLAGS'
   4698 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4699 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4700 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4701 
   4702 fi
   4703 { $as_echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
   4704 $as_echo "$lt_cv_cc_needs_belf" >&6; }
   4705   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
   4706     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
   4707     CFLAGS="$SAVE_CFLAGS"
   4708   fi
   4709   ;;
   4710 sparc*-*solaris*)
   4711   # Find out which ABI we are using.
   4712   echo 'int i;' > conftest.$ac_ext
   4713   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   4714   (eval $ac_compile) 2>&5
   4715   ac_status=$?
   4716   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4717   (exit $ac_status); }; then
   4718     case `/usr/bin/file conftest.o` in
   4719     *64-bit*)
   4720       case $lt_cv_prog_gnu_ld in
   4721       yes*) LD="${LD-ld} -m elf64_sparc" ;;
   4722       *)
   4723         if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
   4724 	  LD="${LD-ld} -64"
   4725 	fi
   4726 	;;
   4727       esac
   4728       ;;
   4729     esac
   4730   fi
   4731   rm -rf conftest*
   4732   ;;
   4733 
   4734 
   4735 esac
   4736 
   4737 need_locks="$enable_libtool_lock"
   4738 
   4739 
   4740 ac_ext=c
   4741 ac_cpp='$CPP $CPPFLAGS'
   4742 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4743 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4744 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4745 { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
   4746 $as_echo_n "checking how to run the C preprocessor... " >&6; }
   4747 # On Suns, sometimes $CPP names a directory.
   4748 if test -n "$CPP" && test -d "$CPP"; then
   4749   CPP=
   4750 fi
   4751 if test -z "$CPP"; then
   4752   if test "${ac_cv_prog_CPP+set}" = set; then
   4753   $as_echo_n "(cached) " >&6
   4754 else
   4755       # Double quotes because CPP needs to be expanded
   4756     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
   4757     do
   4758       ac_preproc_ok=false
   4759 for ac_c_preproc_warn_flag in '' yes
   4760 do
   4761   # Use a header file that comes with gcc, so configuring glibc
   4762   # with a fresh cross-compiler works.
   4763   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   4764   # <limits.h> exists even on freestanding compilers.
   4765   # On the NeXT, cc -E runs the code through the compiler's parser,
   4766   # not just through cpp. "Syntax error" is here to catch this case.
   4767   cat >conftest.$ac_ext <<_ACEOF
   4768 /* confdefs.h.  */
   4769 _ACEOF
   4770 cat confdefs.h >>conftest.$ac_ext
   4771 cat >>conftest.$ac_ext <<_ACEOF
   4772 /* end confdefs.h.  */
   4773 #ifdef __STDC__
   4774 # include <limits.h>
   4775 #else
   4776 # include <assert.h>
   4777 #endif
   4778 		     Syntax error
   4779 _ACEOF
   4780 if { (ac_try="$ac_cpp conftest.$ac_ext"
   4781 case "(($ac_try" in
   4782   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4783   *) ac_try_echo=$ac_try;;
   4784 esac
   4785 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   4786 $as_echo "$ac_try_echo") >&5
   4787   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   4788   ac_status=$?
   4789   grep -v '^ *+' conftest.er1 >conftest.err
   4790   rm -f conftest.er1
   4791   cat conftest.err >&5
   4792   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4793   (exit $ac_status); } >/dev/null && {
   4794 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   4795 	 test ! -s conftest.err
   4796        }; then
   4797   :
   4798 else
   4799   $as_echo "$as_me: failed program was:" >&5
   4800 sed 's/^/| /' conftest.$ac_ext >&5
   4801 
   4802   # Broken: fails on valid input.
   4803 continue
   4804 fi
   4805 
   4806 rm -f conftest.err conftest.$ac_ext
   4807 
   4808   # OK, works on sane cases.  Now check whether nonexistent headers
   4809   # can be detected and how.
   4810   cat >conftest.$ac_ext <<_ACEOF
   4811 /* confdefs.h.  */
   4812 _ACEOF
   4813 cat confdefs.h >>conftest.$ac_ext
   4814 cat >>conftest.$ac_ext <<_ACEOF
   4815 /* end confdefs.h.  */
   4816 #include <ac_nonexistent.h>
   4817 _ACEOF
   4818 if { (ac_try="$ac_cpp conftest.$ac_ext"
   4819 case "(($ac_try" in
   4820   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4821   *) ac_try_echo=$ac_try;;
   4822 esac
   4823 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   4824 $as_echo "$ac_try_echo") >&5
   4825   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   4826   ac_status=$?
   4827   grep -v '^ *+' conftest.er1 >conftest.err
   4828   rm -f conftest.er1
   4829   cat conftest.err >&5
   4830   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4831   (exit $ac_status); } >/dev/null && {
   4832 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   4833 	 test ! -s conftest.err
   4834        }; then
   4835   # Broken: success on invalid input.
   4836 continue
   4837 else
   4838   $as_echo "$as_me: failed program was:" >&5
   4839 sed 's/^/| /' conftest.$ac_ext >&5
   4840 
   4841   # Passes both tests.
   4842 ac_preproc_ok=:
   4843 break
   4844 fi
   4845 
   4846 rm -f conftest.err conftest.$ac_ext
   4847 
   4848 done
   4849 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   4850 rm -f conftest.err conftest.$ac_ext
   4851 if $ac_preproc_ok; then
   4852   break
   4853 fi
   4854 
   4855     done
   4856     ac_cv_prog_CPP=$CPP
   4857 
   4858 fi
   4859   CPP=$ac_cv_prog_CPP
   4860 else
   4861   ac_cv_prog_CPP=$CPP
   4862 fi
   4863 { $as_echo "$as_me:$LINENO: result: $CPP" >&5
   4864 $as_echo "$CPP" >&6; }
   4865 ac_preproc_ok=false
   4866 for ac_c_preproc_warn_flag in '' yes
   4867 do
   4868   # Use a header file that comes with gcc, so configuring glibc
   4869   # with a fresh cross-compiler works.
   4870   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   4871   # <limits.h> exists even on freestanding compilers.
   4872   # On the NeXT, cc -E runs the code through the compiler's parser,
   4873   # not just through cpp. "Syntax error" is here to catch this case.
   4874   cat >conftest.$ac_ext <<_ACEOF
   4875 /* confdefs.h.  */
   4876 _ACEOF
   4877 cat confdefs.h >>conftest.$ac_ext
   4878 cat >>conftest.$ac_ext <<_ACEOF
   4879 /* end confdefs.h.  */
   4880 #ifdef __STDC__
   4881 # include <limits.h>
   4882 #else
   4883 # include <assert.h>
   4884 #endif
   4885 		     Syntax error
   4886 _ACEOF
   4887 if { (ac_try="$ac_cpp conftest.$ac_ext"
   4888 case "(($ac_try" in
   4889   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4890   *) ac_try_echo=$ac_try;;
   4891 esac
   4892 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   4893 $as_echo "$ac_try_echo") >&5
   4894   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   4895   ac_status=$?
   4896   grep -v '^ *+' conftest.er1 >conftest.err
   4897   rm -f conftest.er1
   4898   cat conftest.err >&5
   4899   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4900   (exit $ac_status); } >/dev/null && {
   4901 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   4902 	 test ! -s conftest.err
   4903        }; then
   4904   :
   4905 else
   4906   $as_echo "$as_me: failed program was:" >&5
   4907 sed 's/^/| /' conftest.$ac_ext >&5
   4908 
   4909   # Broken: fails on valid input.
   4910 continue
   4911 fi
   4912 
   4913 rm -f conftest.err conftest.$ac_ext
   4914 
   4915   # OK, works on sane cases.  Now check whether nonexistent headers
   4916   # can be detected and how.
   4917   cat >conftest.$ac_ext <<_ACEOF
   4918 /* confdefs.h.  */
   4919 _ACEOF
   4920 cat confdefs.h >>conftest.$ac_ext
   4921 cat >>conftest.$ac_ext <<_ACEOF
   4922 /* end confdefs.h.  */
   4923 #include <ac_nonexistent.h>
   4924 _ACEOF
   4925 if { (ac_try="$ac_cpp conftest.$ac_ext"
   4926 case "(($ac_try" in
   4927   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4928   *) ac_try_echo=$ac_try;;
   4929 esac
   4930 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   4931 $as_echo "$ac_try_echo") >&5
   4932   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   4933   ac_status=$?
   4934   grep -v '^ *+' conftest.er1 >conftest.err
   4935   rm -f conftest.er1
   4936   cat conftest.err >&5
   4937   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4938   (exit $ac_status); } >/dev/null && {
   4939 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   4940 	 test ! -s conftest.err
   4941        }; then
   4942   # Broken: success on invalid input.
   4943 continue
   4944 else
   4945   $as_echo "$as_me: failed program was:" >&5
   4946 sed 's/^/| /' conftest.$ac_ext >&5
   4947 
   4948   # Passes both tests.
   4949 ac_preproc_ok=:
   4950 break
   4951 fi
   4952 
   4953 rm -f conftest.err conftest.$ac_ext
   4954 
   4955 done
   4956 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   4957 rm -f conftest.err conftest.$ac_ext
   4958 if $ac_preproc_ok; then
   4959   :
   4960 else
   4961   { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   4962 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   4963 { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
   4964 See \`config.log' for more details." >&5
   4965 $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
   4966 See \`config.log' for more details." >&2;}
   4967    { (exit 1); exit 1; }; }; }
   4968 fi
   4969 
   4970 ac_ext=c
   4971 ac_cpp='$CPP $CPPFLAGS'
   4972 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4973 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4974 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4975 
   4976 
   4977 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
   4978 $as_echo_n "checking for ANSI C header files... " >&6; }
   4979 if test "${ac_cv_header_stdc+set}" = set; then
   4980   $as_echo_n "(cached) " >&6
   4981 else
   4982   cat >conftest.$ac_ext <<_ACEOF
   4983 /* confdefs.h.  */
   4984 _ACEOF
   4985 cat confdefs.h >>conftest.$ac_ext
   4986 cat >>conftest.$ac_ext <<_ACEOF
   4987 /* end confdefs.h.  */
   4988 #include <stdlib.h>
   4989 #include <stdarg.h>
   4990 #include <string.h>
   4991 #include <float.h>
   4992 
   4993 int
   4994 main ()
   4995 {
   4996 
   4997   ;
   4998   return 0;
   4999 }
   5000 _ACEOF
   5001 rm -f conftest.$ac_objext
   5002 if { (ac_try="$ac_compile"
   5003 case "(($ac_try" in
   5004   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5005   *) ac_try_echo=$ac_try;;
   5006 esac
   5007 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5008 $as_echo "$ac_try_echo") >&5
   5009   (eval "$ac_compile") 2>conftest.er1
   5010   ac_status=$?
   5011   grep -v '^ *+' conftest.er1 >conftest.err
   5012   rm -f conftest.er1
   5013   cat conftest.err >&5
   5014   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5015   (exit $ac_status); } && {
   5016 	 test -z "$ac_c_werror_flag" ||
   5017 	 test ! -s conftest.err
   5018        } && test -s conftest.$ac_objext; then
   5019   ac_cv_header_stdc=yes
   5020 else
   5021   $as_echo "$as_me: failed program was:" >&5
   5022 sed 's/^/| /' conftest.$ac_ext >&5
   5023 
   5024 	ac_cv_header_stdc=no
   5025 fi
   5026 
   5027 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5028 
   5029 if test $ac_cv_header_stdc = yes; then
   5030   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   5031   cat >conftest.$ac_ext <<_ACEOF
   5032 /* confdefs.h.  */
   5033 _ACEOF
   5034 cat confdefs.h >>conftest.$ac_ext
   5035 cat >>conftest.$ac_ext <<_ACEOF
   5036 /* end confdefs.h.  */
   5037 #include <string.h>
   5038 
   5039 _ACEOF
   5040 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   5041   $EGREP "memchr" >/dev/null 2>&1; then
   5042   :
   5043 else
   5044   ac_cv_header_stdc=no
   5045 fi
   5046 rm -f conftest*
   5047 
   5048 fi
   5049 
   5050 if test $ac_cv_header_stdc = yes; then
   5051   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   5052   cat >conftest.$ac_ext <<_ACEOF
   5053 /* confdefs.h.  */
   5054 _ACEOF
   5055 cat confdefs.h >>conftest.$ac_ext
   5056 cat >>conftest.$ac_ext <<_ACEOF
   5057 /* end confdefs.h.  */
   5058 #include <stdlib.h>
   5059 
   5060 _ACEOF
   5061 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   5062   $EGREP "free" >/dev/null 2>&1; then
   5063   :
   5064 else
   5065   ac_cv_header_stdc=no
   5066 fi
   5067 rm -f conftest*
   5068 
   5069 fi
   5070 
   5071 if test $ac_cv_header_stdc = yes; then
   5072   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   5073   if test "$cross_compiling" = yes; then
   5074   :
   5075 else
   5076   cat >conftest.$ac_ext <<_ACEOF
   5077 /* confdefs.h.  */
   5078 _ACEOF
   5079 cat confdefs.h >>conftest.$ac_ext
   5080 cat >>conftest.$ac_ext <<_ACEOF
   5081 /* end confdefs.h.  */
   5082 #include <ctype.h>
   5083 #include <stdlib.h>
   5084 #if ((' ' & 0x0FF) == 0x020)
   5085 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   5086 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   5087 #else
   5088 # define ISLOWER(c) \
   5089 		   (('a' <= (c) && (c) <= 'i') \
   5090 		     || ('j' <= (c) && (c) <= 'r') \
   5091 		     || ('s' <= (c) && (c) <= 'z'))
   5092 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   5093 #endif
   5094 
   5095 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   5096 int
   5097 main ()
   5098 {
   5099   int i;
   5100   for (i = 0; i < 256; i++)
   5101     if (XOR (islower (i), ISLOWER (i))
   5102 	|| toupper (i) != TOUPPER (i))
   5103       return 2;
   5104   return 0;
   5105 }
   5106 _ACEOF
   5107 rm -f conftest$ac_exeext
   5108 if { (ac_try="$ac_link"
   5109 case "(($ac_try" in
   5110   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5111   *) ac_try_echo=$ac_try;;
   5112 esac
   5113 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5114 $as_echo "$ac_try_echo") >&5
   5115   (eval "$ac_link") 2>&5
   5116   ac_status=$?
   5117   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5118   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
   5119   { (case "(($ac_try" in
   5120   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5121   *) ac_try_echo=$ac_try;;
   5122 esac
   5123 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5124 $as_echo "$ac_try_echo") >&5
   5125   (eval "$ac_try") 2>&5
   5126   ac_status=$?
   5127   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5128   (exit $ac_status); }; }; then
   5129   :
   5130 else
   5131   $as_echo "$as_me: program exited with status $ac_status" >&5
   5132 $as_echo "$as_me: failed program was:" >&5
   5133 sed 's/^/| /' conftest.$ac_ext >&5
   5134 
   5135 ( exit $ac_status )
   5136 ac_cv_header_stdc=no
   5137 fi
   5138 rm -rf conftest.dSYM
   5139 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
   5140 fi
   5141 
   5142 
   5143 fi
   5144 fi
   5145 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
   5146 $as_echo "$ac_cv_header_stdc" >&6; }
   5147 if test $ac_cv_header_stdc = yes; then
   5148 
   5149 cat >>confdefs.h <<\_ACEOF
   5150 #define STDC_HEADERS 1
   5151 _ACEOF
   5152 
   5153 fi
   5154 
   5155 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
   5156 
   5157 
   5158 
   5159 
   5160 
   5161 
   5162 
   5163 
   5164 
   5165 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
   5166 		  inttypes.h stdint.h unistd.h
   5167 do
   5168 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   5169 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
   5170 $as_echo_n "checking for $ac_header... " >&6; }
   5171 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   5172   $as_echo_n "(cached) " >&6
   5173 else
   5174   cat >conftest.$ac_ext <<_ACEOF
   5175 /* confdefs.h.  */
   5176 _ACEOF
   5177 cat confdefs.h >>conftest.$ac_ext
   5178 cat >>conftest.$ac_ext <<_ACEOF
   5179 /* end confdefs.h.  */
   5180 $ac_includes_default
   5181 
   5182 #include <$ac_header>
   5183 _ACEOF
   5184 rm -f conftest.$ac_objext
   5185 if { (ac_try="$ac_compile"
   5186 case "(($ac_try" in
   5187   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5188   *) ac_try_echo=$ac_try;;
   5189 esac
   5190 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5191 $as_echo "$ac_try_echo") >&5
   5192   (eval "$ac_compile") 2>conftest.er1
   5193   ac_status=$?
   5194   grep -v '^ *+' conftest.er1 >conftest.err
   5195   rm -f conftest.er1
   5196   cat conftest.err >&5
   5197   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5198   (exit $ac_status); } && {
   5199 	 test -z "$ac_c_werror_flag" ||
   5200 	 test ! -s conftest.err
   5201        } && test -s conftest.$ac_objext; then
   5202   eval "$as_ac_Header=yes"
   5203 else
   5204   $as_echo "$as_me: failed program was:" >&5
   5205 sed 's/^/| /' conftest.$ac_ext >&5
   5206 
   5207 	eval "$as_ac_Header=no"
   5208 fi
   5209 
   5210 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5211 fi
   5212 ac_res=`eval 'as_val=${'$as_ac_Header'}
   5213 		 $as_echo "$as_val"'`
   5214 	       { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
   5215 $as_echo "$ac_res" >&6; }
   5216 as_val=`eval 'as_val=${'$as_ac_Header'}
   5217 		 $as_echo "$as_val"'`
   5218    if test "x$as_val" = x""yes; then
   5219   cat >>confdefs.h <<_ACEOF
   5220 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   5221 _ACEOF
   5222 
   5223 fi
   5224 
   5225 done
   5226 
   5227 
   5228 
   5229 for ac_header in dlfcn.h
   5230 do
   5231 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   5232 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   5233   { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
   5234 $as_echo_n "checking for $ac_header... " >&6; }
   5235 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   5236   $as_echo_n "(cached) " >&6
   5237 fi
   5238 ac_res=`eval 'as_val=${'$as_ac_Header'}
   5239 		 $as_echo "$as_val"'`
   5240 	       { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
   5241 $as_echo "$ac_res" >&6; }
   5242 else
   5243   # Is the header compilable?
   5244 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
   5245 $as_echo_n "checking $ac_header usability... " >&6; }
   5246 cat >conftest.$ac_ext <<_ACEOF
   5247 /* confdefs.h.  */
   5248 _ACEOF
   5249 cat confdefs.h >>conftest.$ac_ext
   5250 cat >>conftest.$ac_ext <<_ACEOF
   5251 /* end confdefs.h.  */
   5252 $ac_includes_default
   5253 #include <$ac_header>
   5254 _ACEOF
   5255 rm -f conftest.$ac_objext
   5256 if { (ac_try="$ac_compile"
   5257 case "(($ac_try" in
   5258   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5259   *) ac_try_echo=$ac_try;;
   5260 esac
   5261 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5262 $as_echo "$ac_try_echo") >&5
   5263   (eval "$ac_compile") 2>conftest.er1
   5264   ac_status=$?
   5265   grep -v '^ *+' conftest.er1 >conftest.err
   5266   rm -f conftest.er1
   5267   cat conftest.err >&5
   5268   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5269   (exit $ac_status); } && {
   5270 	 test -z "$ac_c_werror_flag" ||
   5271 	 test ! -s conftest.err
   5272        } && test -s conftest.$ac_objext; then
   5273   ac_header_compiler=yes
   5274 else
   5275   $as_echo "$as_me: failed program was:" >&5
   5276 sed 's/^/| /' conftest.$ac_ext >&5
   5277 
   5278 	ac_header_compiler=no
   5279 fi
   5280 
   5281 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5282 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
   5283 $as_echo "$ac_header_compiler" >&6; }
   5284 
   5285 # Is the header present?
   5286 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
   5287 $as_echo_n "checking $ac_header presence... " >&6; }
   5288 cat >conftest.$ac_ext <<_ACEOF
   5289 /* confdefs.h.  */
   5290 _ACEOF
   5291 cat confdefs.h >>conftest.$ac_ext
   5292 cat >>conftest.$ac_ext <<_ACEOF
   5293 /* end confdefs.h.  */
   5294 #include <$ac_header>
   5295 _ACEOF
   5296 if { (ac_try="$ac_cpp conftest.$ac_ext"
   5297 case "(($ac_try" in
   5298   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5299   *) ac_try_echo=$ac_try;;
   5300 esac
   5301 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5302 $as_echo "$ac_try_echo") >&5
   5303   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   5304   ac_status=$?
   5305   grep -v '^ *+' conftest.er1 >conftest.err
   5306   rm -f conftest.er1
   5307   cat conftest.err >&5
   5308   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5309   (exit $ac_status); } >/dev/null && {
   5310 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   5311 	 test ! -s conftest.err
   5312        }; then
   5313   ac_header_preproc=yes
   5314 else
   5315   $as_echo "$as_me: failed program was:" >&5
   5316 sed 's/^/| /' conftest.$ac_ext >&5
   5317 
   5318   ac_header_preproc=no
   5319 fi
   5320 
   5321 rm -f conftest.err conftest.$ac_ext
   5322 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
   5323 $as_echo "$ac_header_preproc" >&6; }
   5324 
   5325 # So?  What about this header?
   5326 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
   5327   yes:no: )
   5328     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
   5329 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
   5330     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
   5331 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
   5332     ac_header_preproc=yes
   5333     ;;
   5334   no:yes:* )
   5335     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
   5336 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
   5337     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
   5338 $as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
   5339     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
   5340 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
   5341     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
   5342 $as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
   5343     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
   5344 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
   5345     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
   5346 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
   5347     ( cat <<\_ASBOX
   5348 ## ---------------------------------------------------------------------- ##
   5349 ## Report this to https://bugs.freedesktop.org/enter_bug.cgi?product=xorg ##
   5350 ## ---------------------------------------------------------------------- ##
   5351 _ASBOX
   5352      ) | sed "s/^/$as_me: WARNING:     /" >&2
   5353     ;;
   5354 esac
   5355 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
   5356 $as_echo_n "checking for $ac_header... " >&6; }
   5357 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   5358   $as_echo_n "(cached) " >&6
   5359 else
   5360   eval "$as_ac_Header=\$ac_header_preproc"
   5361 fi
   5362 ac_res=`eval 'as_val=${'$as_ac_Header'}
   5363 		 $as_echo "$as_val"'`
   5364 	       { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
   5365 $as_echo "$ac_res" >&6; }
   5366 
   5367 fi
   5368 as_val=`eval 'as_val=${'$as_ac_Header'}
   5369 		 $as_echo "$as_val"'`
   5370    if test "x$as_val" = x""yes; then
   5371   cat >>confdefs.h <<_ACEOF
   5372 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   5373 _ACEOF
   5374 
   5375 fi
   5376 
   5377 done
   5378 
   5379 ac_ext=cpp
   5380 ac_cpp='$CXXCPP $CPPFLAGS'
   5381 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5382 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5383 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   5384 if test -z "$CXX"; then
   5385   if test -n "$CCC"; then
   5386     CXX=$CCC
   5387   else
   5388     if test -n "$ac_tool_prefix"; then
   5389   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
   5390   do
   5391     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   5392 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   5393 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   5394 $as_echo_n "checking for $ac_word... " >&6; }
   5395 if test "${ac_cv_prog_CXX+set}" = set; then
   5396   $as_echo_n "(cached) " >&6
   5397 else
   5398   if test -n "$CXX"; then
   5399   ac_cv_prog_CXX="$CXX" # Let the user override the test.
   5400 else
   5401 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5402 for as_dir in $PATH
   5403 do
   5404   IFS=$as_save_IFS
   5405   test -z "$as_dir" && as_dir=.
   5406   for ac_exec_ext in '' $ac_executable_extensions; do
   5407   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5408     ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
   5409     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   5410     break 2
   5411   fi
   5412 done
   5413 done
   5414 IFS=$as_save_IFS
   5415 
   5416 fi
   5417 fi
   5418 CXX=$ac_cv_prog_CXX
   5419 if test -n "$CXX"; then
   5420   { $as_echo "$as_me:$LINENO: result: $CXX" >&5
   5421 $as_echo "$CXX" >&6; }
   5422 else
   5423   { $as_echo "$as_me:$LINENO: result: no" >&5
   5424 $as_echo "no" >&6; }
   5425 fi
   5426 
   5427 
   5428     test -n "$CXX" && break
   5429   done
   5430 fi
   5431 if test -z "$CXX"; then
   5432   ac_ct_CXX=$CXX
   5433   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
   5434 do
   5435   # Extract the first word of "$ac_prog", so it can be a program name with args.
   5436 set dummy $ac_prog; ac_word=$2
   5437 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   5438 $as_echo_n "checking for $ac_word... " >&6; }
   5439 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
   5440   $as_echo_n "(cached) " >&6
   5441 else
   5442   if test -n "$ac_ct_CXX"; then
   5443   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
   5444 else
   5445 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5446 for as_dir in $PATH
   5447 do
   5448   IFS=$as_save_IFS
   5449   test -z "$as_dir" && as_dir=.
   5450   for ac_exec_ext in '' $ac_executable_extensions; do
   5451   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5452     ac_cv_prog_ac_ct_CXX="$ac_prog"
   5453     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   5454     break 2
   5455   fi
   5456 done
   5457 done
   5458 IFS=$as_save_IFS
   5459 
   5460 fi
   5461 fi
   5462 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
   5463 if test -n "$ac_ct_CXX"; then
   5464   { $as_echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
   5465 $as_echo "$ac_ct_CXX" >&6; }
   5466 else
   5467   { $as_echo "$as_me:$LINENO: result: no" >&5
   5468 $as_echo "no" >&6; }
   5469 fi
   5470 
   5471 
   5472   test -n "$ac_ct_CXX" && break
   5473 done
   5474 
   5475   if test "x$ac_ct_CXX" = x; then
   5476     CXX="g++"
   5477   else
   5478     case $cross_compiling:$ac_tool_warned in
   5479 yes:)
   5480 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   5481 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5482 ac_tool_warned=yes ;;
   5483 esac
   5484     CXX=$ac_ct_CXX
   5485   fi
   5486 fi
   5487 
   5488   fi
   5489 fi
   5490 # Provide some information about the compiler.
   5491 $as_echo "$as_me:$LINENO: checking for C++ compiler version" >&5
   5492 set X $ac_compile
   5493 ac_compiler=$2
   5494 { (ac_try="$ac_compiler --version >&5"
   5495 case "(($ac_try" in
   5496   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5497   *) ac_try_echo=$ac_try;;
   5498 esac
   5499 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5500 $as_echo "$ac_try_echo") >&5
   5501   (eval "$ac_compiler --version >&5") 2>&5
   5502   ac_status=$?
   5503   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5504   (exit $ac_status); }
   5505 { (ac_try="$ac_compiler -v >&5"
   5506 case "(($ac_try" in
   5507   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5508   *) ac_try_echo=$ac_try;;
   5509 esac
   5510 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5511 $as_echo "$ac_try_echo") >&5
   5512   (eval "$ac_compiler -v >&5") 2>&5
   5513   ac_status=$?
   5514   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5515   (exit $ac_status); }
   5516 { (ac_try="$ac_compiler -V >&5"
   5517 case "(($ac_try" in
   5518   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5519   *) ac_try_echo=$ac_try;;
   5520 esac
   5521 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5522 $as_echo "$ac_try_echo") >&5
   5523   (eval "$ac_compiler -V >&5") 2>&5
   5524   ac_status=$?
   5525   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5526   (exit $ac_status); }
   5527 
   5528 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
   5529 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
   5530 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
   5531   $as_echo_n "(cached) " >&6
   5532 else
   5533   cat >conftest.$ac_ext <<_ACEOF
   5534 /* confdefs.h.  */
   5535 _ACEOF
   5536 cat confdefs.h >>conftest.$ac_ext
   5537 cat >>conftest.$ac_ext <<_ACEOF
   5538 /* end confdefs.h.  */
   5539 
   5540 int
   5541 main ()
   5542 {
   5543 #ifndef __GNUC__
   5544        choke me
   5545 #endif
   5546 
   5547   ;
   5548   return 0;
   5549 }
   5550 _ACEOF
   5551 rm -f conftest.$ac_objext
   5552 if { (ac_try="$ac_compile"
   5553 case "(($ac_try" in
   5554   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5555   *) ac_try_echo=$ac_try;;
   5556 esac
   5557 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5558 $as_echo "$ac_try_echo") >&5
   5559   (eval "$ac_compile") 2>conftest.er1
   5560   ac_status=$?
   5561   grep -v '^ *+' conftest.er1 >conftest.err
   5562   rm -f conftest.er1
   5563   cat conftest.err >&5
   5564   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5565   (exit $ac_status); } && {
   5566 	 test -z "$ac_cxx_werror_flag" ||
   5567 	 test ! -s conftest.err
   5568        } && test -s conftest.$ac_objext; then
   5569   ac_compiler_gnu=yes
   5570 else
   5571   $as_echo "$as_me: failed program was:" >&5
   5572 sed 's/^/| /' conftest.$ac_ext >&5
   5573 
   5574 	ac_compiler_gnu=no
   5575 fi
   5576 
   5577 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5578 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
   5579 
   5580 fi
   5581 { $as_echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
   5582 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
   5583 if test $ac_compiler_gnu = yes; then
   5584   GXX=yes
   5585 else
   5586   GXX=
   5587 fi
   5588 ac_test_CXXFLAGS=${CXXFLAGS+set}
   5589 ac_save_CXXFLAGS=$CXXFLAGS
   5590 { $as_echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
   5591 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
   5592 if test "${ac_cv_prog_cxx_g+set}" = set; then
   5593   $as_echo_n "(cached) " >&6
   5594 else
   5595   ac_save_cxx_werror_flag=$ac_cxx_werror_flag
   5596    ac_cxx_werror_flag=yes
   5597    ac_cv_prog_cxx_g=no
   5598    CXXFLAGS="-g"
   5599    cat >conftest.$ac_ext <<_ACEOF
   5600 /* confdefs.h.  */
   5601 _ACEOF
   5602 cat confdefs.h >>conftest.$ac_ext
   5603 cat >>conftest.$ac_ext <<_ACEOF
   5604 /* end confdefs.h.  */
   5605 
   5606 int
   5607 main ()
   5608 {
   5609 
   5610   ;
   5611   return 0;
   5612 }
   5613 _ACEOF
   5614 rm -f conftest.$ac_objext
   5615 if { (ac_try="$ac_compile"
   5616 case "(($ac_try" in
   5617   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5618   *) ac_try_echo=$ac_try;;
   5619 esac
   5620 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5621 $as_echo "$ac_try_echo") >&5
   5622   (eval "$ac_compile") 2>conftest.er1
   5623   ac_status=$?
   5624   grep -v '^ *+' conftest.er1 >conftest.err
   5625   rm -f conftest.er1
   5626   cat conftest.err >&5
   5627   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5628   (exit $ac_status); } && {
   5629 	 test -z "$ac_cxx_werror_flag" ||
   5630 	 test ! -s conftest.err
   5631        } && test -s conftest.$ac_objext; then
   5632   ac_cv_prog_cxx_g=yes
   5633 else
   5634   $as_echo "$as_me: failed program was:" >&5
   5635 sed 's/^/| /' conftest.$ac_ext >&5
   5636 
   5637 	CXXFLAGS=""
   5638       cat >conftest.$ac_ext <<_ACEOF
   5639 /* confdefs.h.  */
   5640 _ACEOF
   5641 cat confdefs.h >>conftest.$ac_ext
   5642 cat >>conftest.$ac_ext <<_ACEOF
   5643 /* end confdefs.h.  */
   5644 
   5645 int
   5646 main ()
   5647 {
   5648 
   5649   ;
   5650   return 0;
   5651 }
   5652 _ACEOF
   5653 rm -f conftest.$ac_objext
   5654 if { (ac_try="$ac_compile"
   5655 case "(($ac_try" in
   5656   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5657   *) ac_try_echo=$ac_try;;
   5658 esac
   5659 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5660 $as_echo "$ac_try_echo") >&5
   5661   (eval "$ac_compile") 2>conftest.er1
   5662   ac_status=$?
   5663   grep -v '^ *+' conftest.er1 >conftest.err
   5664   rm -f conftest.er1
   5665   cat conftest.err >&5
   5666   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5667   (exit $ac_status); } && {
   5668 	 test -z "$ac_cxx_werror_flag" ||
   5669 	 test ! -s conftest.err
   5670        } && test -s conftest.$ac_objext; then
   5671   :
   5672 else
   5673   $as_echo "$as_me: failed program was:" >&5
   5674 sed 's/^/| /' conftest.$ac_ext >&5
   5675 
   5676 	ac_cxx_werror_flag=$ac_save_cxx_werror_flag
   5677 	 CXXFLAGS="-g"
   5678 	 cat >conftest.$ac_ext <<_ACEOF
   5679 /* confdefs.h.  */
   5680 _ACEOF
   5681 cat confdefs.h >>conftest.$ac_ext
   5682 cat >>conftest.$ac_ext <<_ACEOF
   5683 /* end confdefs.h.  */
   5684 
   5685 int
   5686 main ()
   5687 {
   5688 
   5689   ;
   5690   return 0;
   5691 }
   5692 _ACEOF
   5693 rm -f conftest.$ac_objext
   5694 if { (ac_try="$ac_compile"
   5695 case "(($ac_try" in
   5696   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5697   *) ac_try_echo=$ac_try;;
   5698 esac
   5699 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5700 $as_echo "$ac_try_echo") >&5
   5701   (eval "$ac_compile") 2>conftest.er1
   5702   ac_status=$?
   5703   grep -v '^ *+' conftest.er1 >conftest.err
   5704   rm -f conftest.er1
   5705   cat conftest.err >&5
   5706   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5707   (exit $ac_status); } && {
   5708 	 test -z "$ac_cxx_werror_flag" ||
   5709 	 test ! -s conftest.err
   5710        } && test -s conftest.$ac_objext; then
   5711   ac_cv_prog_cxx_g=yes
   5712 else
   5713   $as_echo "$as_me: failed program was:" >&5
   5714 sed 's/^/| /' conftest.$ac_ext >&5
   5715 
   5716 
   5717 fi
   5718 
   5719 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5720 fi
   5721 
   5722 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5723 fi
   5724 
   5725 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5726    ac_cxx_werror_flag=$ac_save_cxx_werror_flag
   5727 fi
   5728 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
   5729 $as_echo "$ac_cv_prog_cxx_g" >&6; }
   5730 if test "$ac_test_CXXFLAGS" = set; then
   5731   CXXFLAGS=$ac_save_CXXFLAGS
   5732 elif test $ac_cv_prog_cxx_g = yes; then
   5733   if test "$GXX" = yes; then
   5734     CXXFLAGS="-g -O2"
   5735   else
   5736     CXXFLAGS="-g"
   5737   fi
   5738 else
   5739   if test "$GXX" = yes; then
   5740     CXXFLAGS="-O2"
   5741   else
   5742     CXXFLAGS=
   5743   fi
   5744 fi
   5745 ac_ext=cpp
   5746 ac_cpp='$CXXCPP $CPPFLAGS'
   5747 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5748 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5749 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   5750 
   5751 depcc="$CXX"  am_compiler_list=
   5752 
   5753 { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
   5754 $as_echo_n "checking dependency style of $depcc... " >&6; }
   5755 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
   5756   $as_echo_n "(cached) " >&6
   5757 else
   5758   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   5759   # We make a subdir and do the tests there.  Otherwise we can end up
   5760   # making bogus files that we don't know about and never remove.  For
   5761   # instance it was reported that on HP-UX the gcc test will end up
   5762   # making a dummy file named `D' -- because `-MD' means `put the output
   5763   # in D'.
   5764   mkdir conftest.dir
   5765   # Copy depcomp to subdir because otherwise we won't find it if we're
   5766   # using a relative directory.
   5767   cp "$am_depcomp" conftest.dir
   5768   cd conftest.dir
   5769   # We will build objects and dependencies in a subdirectory because
   5770   # it helps to detect inapplicable dependency modes.  For instance
   5771   # both Tru64's cc and ICC support -MD to output dependencies as a
   5772   # side effect of compilation, but ICC will put the dependencies in
   5773   # the current directory while Tru64 will put them in the object
   5774   # directory.
   5775   mkdir sub
   5776 
   5777   am_cv_CXX_dependencies_compiler_type=none
   5778   if test "$am_compiler_list" = ""; then
   5779      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   5780   fi
   5781   am__universal=false
   5782   case " $depcc " in #(
   5783      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   5784      esac
   5785 
   5786   for depmode in $am_compiler_list; do
   5787     # Setup a source with many dependencies, because some compilers
   5788     # like to wrap large dependency lists on column 80 (with \), and
   5789     # we should not choose a depcomp mode which is confused by this.
   5790     #
   5791     # We need to recreate these files for each test, as the compiler may
   5792     # overwrite some of them when testing with obscure command lines.
   5793     # This happens at least with the AIX C compiler.
   5794     : > sub/conftest.c
   5795     for i in 1 2 3 4 5 6; do
   5796       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   5797       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
   5798       # Solaris 8's {/usr,}/bin/sh.
   5799       touch sub/conftst$i.h
   5800     done
   5801     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   5802 
   5803     # We check with `-c' and `-o' for the sake of the "dashmstdout"
   5804     # mode.  It turns out that the SunPro C++ compiler does not properly
   5805     # handle `-M -o', and we need to detect this.  Also, some Intel
   5806     # versions had trouble with output in subdirs
   5807     am__obj=sub/conftest.${OBJEXT-o}
   5808     am__minus_obj="-o $am__obj"
   5809     case $depmode in
   5810     gcc)
   5811       # This depmode causes a compiler race in universal mode.
   5812       test "$am__universal" = false || continue
   5813       ;;
   5814     nosideeffect)
   5815       # after this tag, mechanisms are not by side-effect, so they'll
   5816       # only be used when explicitly requested
   5817       if test "x$enable_dependency_tracking" = xyes; then
   5818 	continue
   5819       else
   5820 	break
   5821       fi
   5822       ;;
   5823     msvisualcpp | msvcmsys)
   5824       # This compiler won't grok `-c -o', but also, the minuso test has
   5825       # not run yet.  These depmodes are late enough in the game, and
   5826       # so weak that their functioning should not be impacted.
   5827       am__obj=conftest.${OBJEXT-o}
   5828       am__minus_obj=
   5829       ;;
   5830     none) break ;;
   5831     esac
   5832     if depmode=$depmode \
   5833        source=sub/conftest.c object=$am__obj \
   5834        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   5835        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   5836          >/dev/null 2>conftest.err &&
   5837        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   5838        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   5839        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   5840        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   5841       # icc doesn't choke on unknown options, it will just issue warnings
   5842       # or remarks (even with -Werror).  So we grep stderr for any message
   5843       # that says an option was ignored or not supported.
   5844       # When given -MP, icc 7.0 and 7.1 complain thusly:
   5845       #   icc: Command line warning: ignoring option '-M'; no argument required
   5846       # The diagnosis changed in icc 8.0:
   5847       #   icc: Command line remark: option '-MP' not supported
   5848       if (grep 'ignoring option' conftest.err ||
   5849           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   5850         am_cv_CXX_dependencies_compiler_type=$depmode
   5851         break
   5852       fi
   5853     fi
   5854   done
   5855 
   5856   cd ..
   5857   rm -rf conftest.dir
   5858 else
   5859   am_cv_CXX_dependencies_compiler_type=none
   5860 fi
   5861 
   5862 fi
   5863 { $as_echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
   5864 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
   5865 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
   5866 
   5867  if
   5868   test "x$enable_dependency_tracking" != xno \
   5869   && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
   5870   am__fastdepCXX_TRUE=
   5871   am__fastdepCXX_FALSE='#'
   5872 else
   5873   am__fastdepCXX_TRUE='#'
   5874   am__fastdepCXX_FALSE=
   5875 fi
   5876 
   5877 
   5878 
   5879 
   5880 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
   5881     ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
   5882     (test "X$CXX" != "Xg++"))) ; then
   5883   ac_ext=cpp
   5884 ac_cpp='$CXXCPP $CPPFLAGS'
   5885 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5886 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5887 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   5888 { $as_echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
   5889 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
   5890 if test -z "$CXXCPP"; then
   5891   if test "${ac_cv_prog_CXXCPP+set}" = set; then
   5892   $as_echo_n "(cached) " >&6
   5893 else
   5894       # Double quotes because CXXCPP needs to be expanded
   5895     for CXXCPP in "$CXX -E" "/lib/cpp"
   5896     do
   5897       ac_preproc_ok=false
   5898 for ac_cxx_preproc_warn_flag in '' yes
   5899 do
   5900   # Use a header file that comes with gcc, so configuring glibc
   5901   # with a fresh cross-compiler works.
   5902   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   5903   # <limits.h> exists even on freestanding compilers.
   5904   # On the NeXT, cc -E runs the code through the compiler's parser,
   5905   # not just through cpp. "Syntax error" is here to catch this case.
   5906   cat >conftest.$ac_ext <<_ACEOF
   5907 /* confdefs.h.  */
   5908 _ACEOF
   5909 cat confdefs.h >>conftest.$ac_ext
   5910 cat >>conftest.$ac_ext <<_ACEOF
   5911 /* end confdefs.h.  */
   5912 #ifdef __STDC__
   5913 # include <limits.h>
   5914 #else
   5915 # include <assert.h>
   5916 #endif
   5917 		     Syntax error
   5918 _ACEOF
   5919 if { (ac_try="$ac_cpp conftest.$ac_ext"
   5920 case "(($ac_try" in
   5921   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5922   *) ac_try_echo=$ac_try;;
   5923 esac
   5924 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5925 $as_echo "$ac_try_echo") >&5
   5926   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   5927   ac_status=$?
   5928   grep -v '^ *+' conftest.er1 >conftest.err
   5929   rm -f conftest.er1
   5930   cat conftest.err >&5
   5931   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5932   (exit $ac_status); } >/dev/null && {
   5933 	 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
   5934 	 test ! -s conftest.err
   5935        }; then
   5936   :
   5937 else
   5938   $as_echo "$as_me: failed program was:" >&5
   5939 sed 's/^/| /' conftest.$ac_ext >&5
   5940 
   5941   # Broken: fails on valid input.
   5942 continue
   5943 fi
   5944 
   5945 rm -f conftest.err conftest.$ac_ext
   5946 
   5947   # OK, works on sane cases.  Now check whether nonexistent headers
   5948   # can be detected and how.
   5949   cat >conftest.$ac_ext <<_ACEOF
   5950 /* confdefs.h.  */
   5951 _ACEOF
   5952 cat confdefs.h >>conftest.$ac_ext
   5953 cat >>conftest.$ac_ext <<_ACEOF
   5954 /* end confdefs.h.  */
   5955 #include <ac_nonexistent.h>
   5956 _ACEOF
   5957 if { (ac_try="$ac_cpp conftest.$ac_ext"
   5958 case "(($ac_try" in
   5959   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5960   *) ac_try_echo=$ac_try;;
   5961 esac
   5962 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5963 $as_echo "$ac_try_echo") >&5
   5964   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   5965   ac_status=$?
   5966   grep -v '^ *+' conftest.er1 >conftest.err
   5967   rm -f conftest.er1
   5968   cat conftest.err >&5
   5969   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5970   (exit $ac_status); } >/dev/null && {
   5971 	 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
   5972 	 test ! -s conftest.err
   5973        }; then
   5974   # Broken: success on invalid input.
   5975 continue
   5976 else
   5977   $as_echo "$as_me: failed program was:" >&5
   5978 sed 's/^/| /' conftest.$ac_ext >&5
   5979 
   5980   # Passes both tests.
   5981 ac_preproc_ok=:
   5982 break
   5983 fi
   5984 
   5985 rm -f conftest.err conftest.$ac_ext
   5986 
   5987 done
   5988 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   5989 rm -f conftest.err conftest.$ac_ext
   5990 if $ac_preproc_ok; then
   5991   break
   5992 fi
   5993 
   5994     done
   5995     ac_cv_prog_CXXCPP=$CXXCPP
   5996 
   5997 fi
   5998   CXXCPP=$ac_cv_prog_CXXCPP
   5999 else
   6000   ac_cv_prog_CXXCPP=$CXXCPP
   6001 fi
   6002 { $as_echo "$as_me:$LINENO: result: $CXXCPP" >&5
   6003 $as_echo "$CXXCPP" >&6; }
   6004 ac_preproc_ok=false
   6005 for ac_cxx_preproc_warn_flag in '' yes
   6006 do
   6007   # Use a header file that comes with gcc, so configuring glibc
   6008   # with a fresh cross-compiler works.
   6009   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   6010   # <limits.h> exists even on freestanding compilers.
   6011   # On the NeXT, cc -E runs the code through the compiler's parser,
   6012   # not just through cpp. "Syntax error" is here to catch this case.
   6013   cat >conftest.$ac_ext <<_ACEOF
   6014 /* confdefs.h.  */
   6015 _ACEOF
   6016 cat confdefs.h >>conftest.$ac_ext
   6017 cat >>conftest.$ac_ext <<_ACEOF
   6018 /* end confdefs.h.  */
   6019 #ifdef __STDC__
   6020 # include <limits.h>
   6021 #else
   6022 # include <assert.h>
   6023 #endif
   6024 		     Syntax error
   6025 _ACEOF
   6026 if { (ac_try="$ac_cpp conftest.$ac_ext"
   6027 case "(($ac_try" in
   6028   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6029   *) ac_try_echo=$ac_try;;
   6030 esac
   6031 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   6032 $as_echo "$ac_try_echo") >&5
   6033   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   6034   ac_status=$?
   6035   grep -v '^ *+' conftest.er1 >conftest.err
   6036   rm -f conftest.er1
   6037   cat conftest.err >&5
   6038   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6039   (exit $ac_status); } >/dev/null && {
   6040 	 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
   6041 	 test ! -s conftest.err
   6042        }; then
   6043   :
   6044 else
   6045   $as_echo "$as_me: failed program was:" >&5
   6046 sed 's/^/| /' conftest.$ac_ext >&5
   6047 
   6048   # Broken: fails on valid input.
   6049 continue
   6050 fi
   6051 
   6052 rm -f conftest.err conftest.$ac_ext
   6053 
   6054   # OK, works on sane cases.  Now check whether nonexistent headers
   6055   # can be detected and how.
   6056   cat >conftest.$ac_ext <<_ACEOF
   6057 /* confdefs.h.  */
   6058 _ACEOF
   6059 cat confdefs.h >>conftest.$ac_ext
   6060 cat >>conftest.$ac_ext <<_ACEOF
   6061 /* end confdefs.h.  */
   6062 #include <ac_nonexistent.h>
   6063 _ACEOF
   6064 if { (ac_try="$ac_cpp conftest.$ac_ext"
   6065 case "(($ac_try" in
   6066   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6067   *) ac_try_echo=$ac_try;;
   6068 esac
   6069 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   6070 $as_echo "$ac_try_echo") >&5
   6071   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   6072   ac_status=$?
   6073   grep -v '^ *+' conftest.er1 >conftest.err
   6074   rm -f conftest.er1
   6075   cat conftest.err >&5
   6076   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6077   (exit $ac_status); } >/dev/null && {
   6078 	 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
   6079 	 test ! -s conftest.err
   6080        }; then
   6081   # Broken: success on invalid input.
   6082 continue
   6083 else
   6084   $as_echo "$as_me: failed program was:" >&5
   6085 sed 's/^/| /' conftest.$ac_ext >&5
   6086 
   6087   # Passes both tests.
   6088 ac_preproc_ok=:
   6089 break
   6090 fi
   6091 
   6092 rm -f conftest.err conftest.$ac_ext
   6093 
   6094 done
   6095 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   6096 rm -f conftest.err conftest.$ac_ext
   6097 if $ac_preproc_ok; then
   6098   :
   6099 else
   6100   { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   6101 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   6102 { { $as_echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
   6103 See \`config.log' for more details." >&5
   6104 $as_echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
   6105 See \`config.log' for more details." >&2;}
   6106    { (exit 1); exit 1; }; }; }
   6107 fi
   6108 
   6109 ac_ext=cpp
   6110 ac_cpp='$CXXCPP $CPPFLAGS'
   6111 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   6112 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   6113 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   6114 
   6115 fi
   6116 
   6117 
   6118 ac_ext=f
   6119 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
   6120 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   6121 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
   6122 if test -n "$ac_tool_prefix"; then
   6123   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
   6124   do
   6125     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   6126 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   6127 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   6128 $as_echo_n "checking for $ac_word... " >&6; }
   6129 if test "${ac_cv_prog_F77+set}" = set; then
   6130   $as_echo_n "(cached) " >&6
   6131 else
   6132   if test -n "$F77"; then
   6133   ac_cv_prog_F77="$F77" # Let the user override the test.
   6134 else
   6135 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6136 for as_dir in $PATH
   6137 do
   6138   IFS=$as_save_IFS
   6139   test -z "$as_dir" && as_dir=.
   6140   for ac_exec_ext in '' $ac_executable_extensions; do
   6141   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6142     ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
   6143     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6144     break 2
   6145   fi
   6146 done
   6147 done
   6148 IFS=$as_save_IFS
   6149 
   6150 fi
   6151 fi
   6152 F77=$ac_cv_prog_F77
   6153 if test -n "$F77"; then
   6154   { $as_echo "$as_me:$LINENO: result: $F77" >&5
   6155 $as_echo "$F77" >&6; }
   6156 else
   6157   { $as_echo "$as_me:$LINENO: result: no" >&5
   6158 $as_echo "no" >&6; }
   6159 fi
   6160 
   6161 
   6162     test -n "$F77" && break
   6163   done
   6164 fi
   6165 if test -z "$F77"; then
   6166   ac_ct_F77=$F77
   6167   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
   6168 do
   6169   # Extract the first word of "$ac_prog", so it can be a program name with args.
   6170 set dummy $ac_prog; ac_word=$2
   6171 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   6172 $as_echo_n "checking for $ac_word... " >&6; }
   6173 if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
   6174   $as_echo_n "(cached) " >&6
   6175 else
   6176   if test -n "$ac_ct_F77"; then
   6177   ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test.
   6178 else
   6179 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6180 for as_dir in $PATH
   6181 do
   6182   IFS=$as_save_IFS
   6183   test -z "$as_dir" && as_dir=.
   6184   for ac_exec_ext in '' $ac_executable_extensions; do
   6185   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6186     ac_cv_prog_ac_ct_F77="$ac_prog"
   6187     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6188     break 2
   6189   fi
   6190 done
   6191 done
   6192 IFS=$as_save_IFS
   6193 
   6194 fi
   6195 fi
   6196 ac_ct_F77=$ac_cv_prog_ac_ct_F77
   6197 if test -n "$ac_ct_F77"; then
   6198   { $as_echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
   6199 $as_echo "$ac_ct_F77" >&6; }
   6200 else
   6201   { $as_echo "$as_me:$LINENO: result: no" >&5
   6202 $as_echo "no" >&6; }
   6203 fi
   6204 
   6205 
   6206   test -n "$ac_ct_F77" && break
   6207 done
   6208 
   6209   if test "x$ac_ct_F77" = x; then
   6210     F77=""
   6211   else
   6212     case $cross_compiling:$ac_tool_warned in
   6213 yes:)
   6214 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   6215 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6216 ac_tool_warned=yes ;;
   6217 esac
   6218     F77=$ac_ct_F77
   6219   fi
   6220 fi
   6221 
   6222 
   6223 # Provide some information about the compiler.
   6224 $as_echo "$as_me:$LINENO: checking for Fortran 77 compiler version" >&5
   6225 set X $ac_compile
   6226 ac_compiler=$2
   6227 { (ac_try="$ac_compiler --version >&5"
   6228 case "(($ac_try" in
   6229   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6230   *) ac_try_echo=$ac_try;;
   6231 esac
   6232 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   6233 $as_echo "$ac_try_echo") >&5
   6234   (eval "$ac_compiler --version >&5") 2>&5
   6235   ac_status=$?
   6236   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6237   (exit $ac_status); }
   6238 { (ac_try="$ac_compiler -v >&5"
   6239 case "(($ac_try" in
   6240   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6241   *) ac_try_echo=$ac_try;;
   6242 esac
   6243 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   6244 $as_echo "$ac_try_echo") >&5
   6245   (eval "$ac_compiler -v >&5") 2>&5
   6246   ac_status=$?
   6247   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6248   (exit $ac_status); }
   6249 { (ac_try="$ac_compiler -V >&5"
   6250 case "(($ac_try" in
   6251   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6252   *) ac_try_echo=$ac_try;;
   6253 esac
   6254 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   6255 $as_echo "$ac_try_echo") >&5
   6256   (eval "$ac_compiler -V >&5") 2>&5
   6257   ac_status=$?
   6258   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6259   (exit $ac_status); }
   6260 rm -f a.out
   6261 
   6262 # If we don't use `.F' as extension, the preprocessor is not run on the
   6263 # input file.  (Note that this only needs to work for GNU compilers.)
   6264 ac_save_ext=$ac_ext
   6265 ac_ext=F
   6266 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
   6267 $as_echo_n "checking whether we are using the GNU Fortran 77 compiler... " >&6; }
   6268 if test "${ac_cv_f77_compiler_gnu+set}" = set; then
   6269   $as_echo_n "(cached) " >&6
   6270 else
   6271   cat >conftest.$ac_ext <<_ACEOF
   6272       program main
   6273 #ifndef __GNUC__
   6274        choke me
   6275 #endif
   6276 
   6277       end
   6278 _ACEOF
   6279 rm -f conftest.$ac_objext
   6280 if { (ac_try="$ac_compile"
   6281 case "(($ac_try" in
   6282   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6283   *) ac_try_echo=$ac_try;;
   6284 esac
   6285 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   6286 $as_echo "$ac_try_echo") >&5
   6287   (eval "$ac_compile") 2>conftest.er1
   6288   ac_status=$?
   6289   grep -v '^ *+' conftest.er1 >conftest.err
   6290   rm -f conftest.er1
   6291   cat conftest.err >&5
   6292   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6293   (exit $ac_status); } && {
   6294 	 test -z "$ac_f77_werror_flag" ||
   6295 	 test ! -s conftest.err
   6296        } && test -s conftest.$ac_objext; then
   6297   ac_compiler_gnu=yes
   6298 else
   6299   $as_echo "$as_me: failed program was:" >&5
   6300 sed 's/^/| /' conftest.$ac_ext >&5
   6301 
   6302 	ac_compiler_gnu=no
   6303 fi
   6304 
   6305 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6306 ac_cv_f77_compiler_gnu=$ac_compiler_gnu
   6307 
   6308 fi
   6309 { $as_echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
   6310 $as_echo "$ac_cv_f77_compiler_gnu" >&6; }
   6311 ac_ext=$ac_save_ext
   6312 ac_test_FFLAGS=${FFLAGS+set}
   6313 ac_save_FFLAGS=$FFLAGS
   6314 FFLAGS=
   6315 { $as_echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
   6316 $as_echo_n "checking whether $F77 accepts -g... " >&6; }
   6317 if test "${ac_cv_prog_f77_g+set}" = set; then
   6318   $as_echo_n "(cached) " >&6
   6319 else
   6320   FFLAGS=-g
   6321 cat >conftest.$ac_ext <<_ACEOF
   6322       program main
   6323 
   6324       end
   6325 _ACEOF
   6326 rm -f conftest.$ac_objext
   6327 if { (ac_try="$ac_compile"
   6328 case "(($ac_try" in
   6329   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6330   *) ac_try_echo=$ac_try;;
   6331 esac
   6332 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   6333 $as_echo "$ac_try_echo") >&5
   6334   (eval "$ac_compile") 2>conftest.er1
   6335   ac_status=$?
   6336   grep -v '^ *+' conftest.er1 >conftest.err
   6337   rm -f conftest.er1
   6338   cat conftest.err >&5
   6339   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6340   (exit $ac_status); } && {
   6341 	 test -z "$ac_f77_werror_flag" ||
   6342 	 test ! -s conftest.err
   6343        } && test -s conftest.$ac_objext; then
   6344   ac_cv_prog_f77_g=yes
   6345 else
   6346   $as_echo "$as_me: failed program was:" >&5
   6347 sed 's/^/| /' conftest.$ac_ext >&5
   6348 
   6349 	ac_cv_prog_f77_g=no
   6350 fi
   6351 
   6352 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6353 
   6354 fi
   6355 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
   6356 $as_echo "$ac_cv_prog_f77_g" >&6; }
   6357 if test "$ac_test_FFLAGS" = set; then
   6358   FFLAGS=$ac_save_FFLAGS
   6359 elif test $ac_cv_prog_f77_g = yes; then
   6360   if test "x$ac_cv_f77_compiler_gnu" = xyes; then
   6361     FFLAGS="-g -O2"
   6362   else
   6363     FFLAGS="-g"
   6364   fi
   6365 else
   6366   if test "x$ac_cv_f77_compiler_gnu" = xyes; then
   6367     FFLAGS="-O2"
   6368   else
   6369     FFLAGS=
   6370   fi
   6371 fi
   6372 
   6373 if test $ac_compiler_gnu = yes; then
   6374   G77=yes
   6375 else
   6376   G77=
   6377 fi
   6378 ac_ext=c
   6379 ac_cpp='$CPP $CPPFLAGS'
   6380 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   6381 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   6382 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   6383 
   6384 
   6385 
   6386 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
   6387 # find the maximum length of command line arguments
   6388 { $as_echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
   6389 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
   6390 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
   6391   $as_echo_n "(cached) " >&6
   6392 else
   6393     i=0
   6394   teststring="ABCD"
   6395 
   6396   case $build_os in
   6397   msdosdjgpp*)
   6398     # On DJGPP, this test can blow up pretty badly due to problems in libc
   6399     # (any single argument exceeding 2000 bytes causes a buffer overrun
   6400     # during glob expansion).  Even if it were fixed, the result of this
   6401     # check would be larger than it should be.
   6402     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
   6403     ;;
   6404 
   6405   gnu*)
   6406     # Under GNU Hurd, this test is not required because there is
   6407     # no limit to the length of command line arguments.
   6408     # Libtool will interpret -1 as no limit whatsoever
   6409     lt_cv_sys_max_cmd_len=-1;
   6410     ;;
   6411 
   6412   cygwin* | mingw*)
   6413     # On Win9x/ME, this test blows up -- it succeeds, but takes
   6414     # about 5 minutes as the teststring grows exponentially.
   6415     # Worse, since 9x/ME are not pre-emptively multitasking,
   6416     # you end up with a "frozen" computer, even though with patience
   6417     # the test eventually succeeds (with a max line length of 256k).
   6418     # Instead, let's just punt: use the minimum linelength reported by
   6419     # all of the supported platforms: 8192 (on NT/2K/XP).
   6420     lt_cv_sys_max_cmd_len=8192;
   6421     ;;
   6422 
   6423   amigaos*)
   6424     # On AmigaOS with pdksh, this test takes hours, literally.
   6425     # So we just punt and use a minimum line length of 8192.
   6426     lt_cv_sys_max_cmd_len=8192;
   6427     ;;
   6428 
   6429   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
   6430     # This has been around since 386BSD, at least.  Likely further.
   6431     if test -x /sbin/sysctl; then
   6432       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
   6433     elif test -x /usr/sbin/sysctl; then
   6434       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
   6435     else
   6436       lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
   6437     fi
   6438     # And add a safety zone
   6439     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   6440     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   6441     ;;
   6442 
   6443   interix*)
   6444     # We know the value 262144 and hardcode it with a safety zone (like BSD)
   6445     lt_cv_sys_max_cmd_len=196608
   6446     ;;
   6447 
   6448   osf*)
   6449     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
   6450     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
   6451     # nice to cause kernel panics so lets avoid the loop below.
   6452     # First set a reasonable default.
   6453     lt_cv_sys_max_cmd_len=16384
   6454     #
   6455     if test -x /sbin/sysconfig; then
   6456       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
   6457         *1*) lt_cv_sys_max_cmd_len=-1 ;;
   6458       esac
   6459     fi
   6460     ;;
   6461   sco3.2v5*)
   6462     lt_cv_sys_max_cmd_len=102400
   6463     ;;
   6464   sysv5* | sco5v6* | sysv4.2uw2*)
   6465     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
   6466     if test -n "$kargmax"; then
   6467       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ 	]//'`
   6468     else
   6469       lt_cv_sys_max_cmd_len=32768
   6470     fi
   6471     ;;
   6472   *)
   6473     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
   6474     if test -n "$lt_cv_sys_max_cmd_len"; then
   6475       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   6476       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   6477     else
   6478       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
   6479       while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
   6480 	       = "XX$teststring") >/dev/null 2>&1 &&
   6481 	      new_result=`expr "X$teststring" : ".*" 2>&1` &&
   6482 	      lt_cv_sys_max_cmd_len=$new_result &&
   6483 	      test $i != 17 # 1/2 MB should be enough
   6484       do
   6485         i=`expr $i + 1`
   6486         teststring=$teststring$teststring
   6487       done
   6488       teststring=
   6489       # Add a significant safety factor because C++ compilers can tack on massive
   6490       # amounts of additional arguments before passing them to the linker.
   6491       # It appears as though 1/2 is a usable value.
   6492       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
   6493     fi
   6494     ;;
   6495   esac
   6496 
   6497 fi
   6498 
   6499 if test -n $lt_cv_sys_max_cmd_len ; then
   6500   { $as_echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
   6501 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
   6502 else
   6503   { $as_echo "$as_me:$LINENO: result: none" >&5
   6504 $as_echo "none" >&6; }
   6505 fi
   6506 
   6507 
   6508 
   6509 
   6510 
   6511 # Check for command to grab the raw symbol name followed by C symbol from nm.
   6512 { $as_echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
   6513 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
   6514 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
   6515   $as_echo_n "(cached) " >&6
   6516 else
   6517 
   6518 # These are sane defaults that work on at least a few old systems.
   6519 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
   6520 
   6521 # Character class describing NM global symbol codes.
   6522 symcode='[BCDEGRST]'
   6523 
   6524 # Regexp to match symbols that can be accessed directly from C.
   6525 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
   6526 
   6527 # Transform an extracted symbol line into a proper C declaration
   6528 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
   6529 
   6530 # Transform an extracted symbol line into symbol name and symbol address
   6531 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'"
   6532 
   6533 # Define system-specific variables.
   6534 case $host_os in
   6535 aix*)
   6536   symcode='[BCDT]'
   6537   ;;
   6538 cygwin* | mingw* | pw32*)
   6539   symcode='[ABCDGISTW]'
   6540   ;;
   6541 hpux*) # Its linker distinguishes data from code symbols
   6542   if test "$host_cpu" = ia64; then
   6543     symcode='[ABCDEGRST]'
   6544   fi
   6545   lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
   6546   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'"
   6547   ;;
   6548 linux* | k*bsd*-gnu)
   6549   if test "$host_cpu" = ia64; then
   6550     symcode='[ABCDGIRSTW]'
   6551     lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
   6552     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'"
   6553   fi
   6554   ;;
   6555 irix* | nonstopux*)
   6556   symcode='[BCDEGRST]'
   6557   ;;
   6558 osf*)
   6559   symcode='[BCDEGQRST]'
   6560   ;;
   6561 solaris*)
   6562   symcode='[BDRT]'
   6563   ;;
   6564 sco3.2v5*)
   6565   symcode='[DT]'
   6566   ;;
   6567 sysv4.2uw2*)
   6568   symcode='[DT]'
   6569   ;;
   6570 sysv5* | sco5v6* | unixware* | OpenUNIX*)
   6571   symcode='[ABDT]'
   6572   ;;
   6573 sysv4)
   6574   symcode='[DFNSTU]'
   6575   ;;
   6576 esac
   6577 
   6578 # Handle CRLF in mingw tool chain
   6579 opt_cr=
   6580 case $build_os in
   6581 mingw*)
   6582   opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
   6583   ;;
   6584 esac
   6585 
   6586 # If we're using GNU nm, then use its standard symbol codes.
   6587 case `$NM -V 2>&1` in
   6588 *GNU* | *'with BFD'*)
   6589   symcode='[ABCDGIRSTW]' ;;
   6590 esac
   6591 
   6592 # Try without a prefix undercore, then with it.
   6593 for ac_symprfx in "" "_"; do
   6594 
   6595   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
   6596   symxfrm="\\1 $ac_symprfx\\2 \\2"
   6597 
   6598   # Write the raw and C identifiers.
   6599   lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ 	]\($symcode$symcode*\)[ 	][ 	]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
   6600 
   6601   # Check to see that the pipe works correctly.
   6602   pipe_works=no
   6603 
   6604   rm -f conftest*
   6605   cat > conftest.$ac_ext <<EOF
   6606 #ifdef __cplusplus
   6607 extern "C" {
   6608 #endif
   6609 char nm_test_var;
   6610 void nm_test_func(){}
   6611 #ifdef __cplusplus
   6612 }
   6613 #endif
   6614 int main(){nm_test_var='a';nm_test_func();return(0);}
   6615 EOF
   6616 
   6617   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   6618   (eval $ac_compile) 2>&5
   6619   ac_status=$?
   6620   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6621   (exit $ac_status); }; then
   6622     # Now try to grab the symbols.
   6623     nlist=conftest.nm
   6624     if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
   6625   (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
   6626   ac_status=$?
   6627   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6628   (exit $ac_status); } && test -s "$nlist"; then
   6629       # Try sorting and uniquifying the output.
   6630       if sort "$nlist" | uniq > "$nlist"T; then
   6631 	mv -f "$nlist"T "$nlist"
   6632       else
   6633 	rm -f "$nlist"T
   6634       fi
   6635 
   6636       # Make sure that we snagged all the symbols we need.
   6637       if grep ' nm_test_var$' "$nlist" >/dev/null; then
   6638 	if grep ' nm_test_func$' "$nlist" >/dev/null; then
   6639 	  cat <<EOF > conftest.$ac_ext
   6640 #ifdef __cplusplus
   6641 extern "C" {
   6642 #endif
   6643 
   6644 EOF
   6645 	  # Now generate the symbol file.
   6646 	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
   6647 
   6648 	  cat <<EOF >> conftest.$ac_ext
   6649 #if defined (__STDC__) && __STDC__
   6650 # define lt_ptr_t void *
   6651 #else
   6652 # define lt_ptr_t char *
   6653 # define const
   6654 #endif
   6655 
   6656 /* The mapping between symbol names and symbols. */
   6657 const struct {
   6658   const char *name;
   6659   lt_ptr_t address;
   6660 }
   6661 lt_preloaded_symbols[] =
   6662 {
   6663 EOF
   6664 	  $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext
   6665 	  cat <<\EOF >> conftest.$ac_ext
   6666   {0, (lt_ptr_t) 0}
   6667 };
   6668 
   6669 #ifdef __cplusplus
   6670 }
   6671 #endif
   6672 EOF
   6673 	  # Now try linking the two files.
   6674 	  mv conftest.$ac_objext conftstm.$ac_objext
   6675 	  lt_save_LIBS="$LIBS"
   6676 	  lt_save_CFLAGS="$CFLAGS"
   6677 	  LIBS="conftstm.$ac_objext"
   6678 	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
   6679 	  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   6680   (eval $ac_link) 2>&5
   6681   ac_status=$?
   6682   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6683   (exit $ac_status); } && test -s conftest${ac_exeext}; then
   6684 	    pipe_works=yes
   6685 	  fi
   6686 	  LIBS="$lt_save_LIBS"
   6687 	  CFLAGS="$lt_save_CFLAGS"
   6688 	else
   6689 	  echo "cannot find nm_test_func in $nlist" >&5
   6690 	fi
   6691       else
   6692 	echo "cannot find nm_test_var in $nlist" >&5
   6693       fi
   6694     else
   6695       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
   6696     fi
   6697   else
   6698     echo "$progname: failed program was:" >&5
   6699     cat conftest.$ac_ext >&5
   6700   fi
   6701   rm -rf conftest* conftst*
   6702 
   6703   # Do not use the global_symbol_pipe unless it works.
   6704   if test "$pipe_works" = yes; then
   6705     break
   6706   else
   6707     lt_cv_sys_global_symbol_pipe=
   6708   fi
   6709 done
   6710 
   6711 fi
   6712 
   6713 if test -z "$lt_cv_sys_global_symbol_pipe"; then
   6714   lt_cv_sys_global_symbol_to_cdecl=
   6715 fi
   6716 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
   6717   { $as_echo "$as_me:$LINENO: result: failed" >&5
   6718 $as_echo "failed" >&6; }
   6719 else
   6720   { $as_echo "$as_me:$LINENO: result: ok" >&5
   6721 $as_echo "ok" >&6; }
   6722 fi
   6723 
   6724 { $as_echo "$as_me:$LINENO: checking for objdir" >&5
   6725 $as_echo_n "checking for objdir... " >&6; }
   6726 if test "${lt_cv_objdir+set}" = set; then
   6727   $as_echo_n "(cached) " >&6
   6728 else
   6729   rm -f .libs 2>/dev/null
   6730 mkdir .libs 2>/dev/null
   6731 if test -d .libs; then
   6732   lt_cv_objdir=.libs
   6733 else
   6734   # MS-DOS does not allow filenames that begin with a dot.
   6735   lt_cv_objdir=_libs
   6736 fi
   6737 rmdir .libs 2>/dev/null
   6738 fi
   6739 { $as_echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
   6740 $as_echo "$lt_cv_objdir" >&6; }
   6741 objdir=$lt_cv_objdir
   6742 
   6743 
   6744 
   6745 
   6746 
   6747 case $host_os in
   6748 aix3*)
   6749   # AIX sometimes has problems with the GCC collect2 program.  For some
   6750   # reason, if we set the COLLECT_NAMES environment variable, the problems
   6751   # vanish in a puff of smoke.
   6752   if test "X${COLLECT_NAMES+set}" != Xset; then
   6753     COLLECT_NAMES=
   6754     export COLLECT_NAMES
   6755   fi
   6756   ;;
   6757 esac
   6758 
   6759 # Sed substitution that helps us do robust quoting.  It backslashifies
   6760 # metacharacters that are still active within double-quoted strings.
   6761 Xsed='sed -e 1s/^X//'
   6762 sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g'
   6763 
   6764 # Same as above, but do not quote variable references.
   6765 double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g'
   6766 
   6767 # Sed substitution to delay expansion of an escaped shell variable in a
   6768 # double_quote_subst'ed string.
   6769 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
   6770 
   6771 # Sed substitution to avoid accidental globbing in evaled expressions
   6772 no_glob_subst='s/\*/\\\*/g'
   6773 
   6774 # Constants:
   6775 rm="rm -f"
   6776 
   6777 # Global variables:
   6778 default_ofile=libtool
   6779 can_build_shared=yes
   6780 
   6781 # All known linkers require a `.a' archive for static linking (except MSVC,
   6782 # which needs '.lib').
   6783 libext=a
   6784 ltmain="$ac_aux_dir/ltmain.sh"
   6785 ofile="$default_ofile"
   6786 with_gnu_ld="$lt_cv_prog_gnu_ld"
   6787 
   6788 if test -n "$ac_tool_prefix"; then
   6789   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
   6790 set dummy ${ac_tool_prefix}ar; ac_word=$2
   6791 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   6792 $as_echo_n "checking for $ac_word... " >&6; }
   6793 if test "${ac_cv_prog_AR+set}" = set; then
   6794   $as_echo_n "(cached) " >&6
   6795 else
   6796   if test -n "$AR"; then
   6797   ac_cv_prog_AR="$AR" # Let the user override the test.
   6798 else
   6799 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6800 for as_dir in $PATH
   6801 do
   6802   IFS=$as_save_IFS
   6803   test -z "$as_dir" && as_dir=.
   6804   for ac_exec_ext in '' $ac_executable_extensions; do
   6805   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6806     ac_cv_prog_AR="${ac_tool_prefix}ar"
   6807     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6808     break 2
   6809   fi
   6810 done
   6811 done
   6812 IFS=$as_save_IFS
   6813 
   6814 fi
   6815 fi
   6816 AR=$ac_cv_prog_AR
   6817 if test -n "$AR"; then
   6818   { $as_echo "$as_me:$LINENO: result: $AR" >&5
   6819 $as_echo "$AR" >&6; }
   6820 else
   6821   { $as_echo "$as_me:$LINENO: result: no" >&5
   6822 $as_echo "no" >&6; }
   6823 fi
   6824 
   6825 
   6826 fi
   6827 if test -z "$ac_cv_prog_AR"; then
   6828   ac_ct_AR=$AR
   6829   # Extract the first word of "ar", so it can be a program name with args.
   6830 set dummy ar; ac_word=$2
   6831 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   6832 $as_echo_n "checking for $ac_word... " >&6; }
   6833 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
   6834   $as_echo_n "(cached) " >&6
   6835 else
   6836   if test -n "$ac_ct_AR"; then
   6837   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
   6838 else
   6839 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6840 for as_dir in $PATH
   6841 do
   6842   IFS=$as_save_IFS
   6843   test -z "$as_dir" && as_dir=.
   6844   for ac_exec_ext in '' $ac_executable_extensions; do
   6845   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6846     ac_cv_prog_ac_ct_AR="ar"
   6847     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6848     break 2
   6849   fi
   6850 done
   6851 done
   6852 IFS=$as_save_IFS
   6853 
   6854 fi
   6855 fi
   6856 ac_ct_AR=$ac_cv_prog_ac_ct_AR
   6857 if test -n "$ac_ct_AR"; then
   6858   { $as_echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
   6859 $as_echo "$ac_ct_AR" >&6; }
   6860 else
   6861   { $as_echo "$as_me:$LINENO: result: no" >&5
   6862 $as_echo "no" >&6; }
   6863 fi
   6864 
   6865   if test "x$ac_ct_AR" = x; then
   6866     AR="false"
   6867   else
   6868     case $cross_compiling:$ac_tool_warned in
   6869 yes:)
   6870 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   6871 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6872 ac_tool_warned=yes ;;
   6873 esac
   6874     AR=$ac_ct_AR
   6875   fi
   6876 else
   6877   AR="$ac_cv_prog_AR"
   6878 fi
   6879 
   6880 if test -n "$ac_tool_prefix"; then
   6881   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
   6882 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
   6883 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   6884 $as_echo_n "checking for $ac_word... " >&6; }
   6885 if test "${ac_cv_prog_RANLIB+set}" = set; then
   6886   $as_echo_n "(cached) " >&6
   6887 else
   6888   if test -n "$RANLIB"; then
   6889   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
   6890 else
   6891 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6892 for as_dir in $PATH
   6893 do
   6894   IFS=$as_save_IFS
   6895   test -z "$as_dir" && as_dir=.
   6896   for ac_exec_ext in '' $ac_executable_extensions; do
   6897   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6898     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
   6899     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6900     break 2
   6901   fi
   6902 done
   6903 done
   6904 IFS=$as_save_IFS
   6905 
   6906 fi
   6907 fi
   6908 RANLIB=$ac_cv_prog_RANLIB
   6909 if test -n "$RANLIB"; then
   6910   { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
   6911 $as_echo "$RANLIB" >&6; }
   6912 else
   6913   { $as_echo "$as_me:$LINENO: result: no" >&5
   6914 $as_echo "no" >&6; }
   6915 fi
   6916 
   6917 
   6918 fi
   6919 if test -z "$ac_cv_prog_RANLIB"; then
   6920   ac_ct_RANLIB=$RANLIB
   6921   # Extract the first word of "ranlib", so it can be a program name with args.
   6922 set dummy ranlib; ac_word=$2
   6923 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   6924 $as_echo_n "checking for $ac_word... " >&6; }
   6925 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
   6926   $as_echo_n "(cached) " >&6
   6927 else
   6928   if test -n "$ac_ct_RANLIB"; then
   6929   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
   6930 else
   6931 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6932 for as_dir in $PATH
   6933 do
   6934   IFS=$as_save_IFS
   6935   test -z "$as_dir" && as_dir=.
   6936   for ac_exec_ext in '' $ac_executable_extensions; do
   6937   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6938     ac_cv_prog_ac_ct_RANLIB="ranlib"
   6939     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6940     break 2
   6941   fi
   6942 done
   6943 done
   6944 IFS=$as_save_IFS
   6945 
   6946 fi
   6947 fi
   6948 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
   6949 if test -n "$ac_ct_RANLIB"; then
   6950   { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
   6951 $as_echo "$ac_ct_RANLIB" >&6; }
   6952 else
   6953   { $as_echo "$as_me:$LINENO: result: no" >&5
   6954 $as_echo "no" >&6; }
   6955 fi
   6956 
   6957   if test "x$ac_ct_RANLIB" = x; then
   6958     RANLIB=":"
   6959   else
   6960     case $cross_compiling:$ac_tool_warned in
   6961 yes:)
   6962 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   6963 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6964 ac_tool_warned=yes ;;
   6965 esac
   6966     RANLIB=$ac_ct_RANLIB
   6967   fi
   6968 else
   6969   RANLIB="$ac_cv_prog_RANLIB"
   6970 fi
   6971 
   6972 if test -n "$ac_tool_prefix"; then
   6973   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   6974 set dummy ${ac_tool_prefix}strip; ac_word=$2
   6975 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   6976 $as_echo_n "checking for $ac_word... " >&6; }
   6977 if test "${ac_cv_prog_STRIP+set}" = set; then
   6978   $as_echo_n "(cached) " >&6
   6979 else
   6980   if test -n "$STRIP"; then
   6981   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   6982 else
   6983 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6984 for as_dir in $PATH
   6985 do
   6986   IFS=$as_save_IFS
   6987   test -z "$as_dir" && as_dir=.
   6988   for ac_exec_ext in '' $ac_executable_extensions; do
   6989   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6990     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   6991     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6992     break 2
   6993   fi
   6994 done
   6995 done
   6996 IFS=$as_save_IFS
   6997 
   6998 fi
   6999 fi
   7000 STRIP=$ac_cv_prog_STRIP
   7001 if test -n "$STRIP"; then
   7002   { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
   7003 $as_echo "$STRIP" >&6; }
   7004 else
   7005   { $as_echo "$as_me:$LINENO: result: no" >&5
   7006 $as_echo "no" >&6; }
   7007 fi
   7008 
   7009 
   7010 fi
   7011 if test -z "$ac_cv_prog_STRIP"; then
   7012   ac_ct_STRIP=$STRIP
   7013   # Extract the first word of "strip", so it can be a program name with args.
   7014 set dummy strip; ac_word=$2
   7015 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   7016 $as_echo_n "checking for $ac_word... " >&6; }
   7017 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
   7018   $as_echo_n "(cached) " >&6
   7019 else
   7020   if test -n "$ac_ct_STRIP"; then
   7021   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   7022 else
   7023 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7024 for as_dir in $PATH
   7025 do
   7026   IFS=$as_save_IFS
   7027   test -z "$as_dir" && as_dir=.
   7028   for ac_exec_ext in '' $ac_executable_extensions; do
   7029   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7030     ac_cv_prog_ac_ct_STRIP="strip"
   7031     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   7032     break 2
   7033   fi
   7034 done
   7035 done
   7036 IFS=$as_save_IFS
   7037 
   7038 fi
   7039 fi
   7040 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   7041 if test -n "$ac_ct_STRIP"; then
   7042   { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
   7043 $as_echo "$ac_ct_STRIP" >&6; }
   7044 else
   7045   { $as_echo "$as_me:$LINENO: result: no" >&5
   7046 $as_echo "no" >&6; }
   7047 fi
   7048 
   7049   if test "x$ac_ct_STRIP" = x; then
   7050     STRIP=":"
   7051   else
   7052     case $cross_compiling:$ac_tool_warned in
   7053 yes:)
   7054 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   7055 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7056 ac_tool_warned=yes ;;
   7057 esac
   7058     STRIP=$ac_ct_STRIP
   7059   fi
   7060 else
   7061   STRIP="$ac_cv_prog_STRIP"
   7062 fi
   7063 
   7064 
   7065 old_CC="$CC"
   7066 old_CFLAGS="$CFLAGS"
   7067 
   7068 # Set sane defaults for various variables
   7069 test -z "$AR" && AR=ar
   7070 test -z "$AR_FLAGS" && AR_FLAGS=cru
   7071 test -z "$AS" && AS=as
   7072 test -z "$CC" && CC=cc
   7073 test -z "$LTCC" && LTCC=$CC
   7074 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
   7075 test -z "$DLLTOOL" && DLLTOOL=dlltool
   7076 test -z "$LD" && LD=ld
   7077 test -z "$LN_S" && LN_S="ln -s"
   7078 test -z "$MAGIC_CMD" && MAGIC_CMD=file
   7079 test -z "$NM" && NM=nm
   7080 test -z "$SED" && SED=sed
   7081 test -z "$OBJDUMP" && OBJDUMP=objdump
   7082 test -z "$RANLIB" && RANLIB=:
   7083 test -z "$STRIP" && STRIP=:
   7084 test -z "$ac_objext" && ac_objext=o
   7085 
   7086 # Determine commands to create old-style static archives.
   7087 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
   7088 old_postinstall_cmds='chmod 644 $oldlib'
   7089 old_postuninstall_cmds=
   7090 
   7091 if test -n "$RANLIB"; then
   7092   case $host_os in
   7093   openbsd*)
   7094     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
   7095     ;;
   7096   *)
   7097     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
   7098     ;;
   7099   esac
   7100   old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
   7101 fi
   7102 
   7103 for cc_temp in $compiler""; do
   7104   case $cc_temp in
   7105     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   7106     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   7107     \-*) ;;
   7108     *) break;;
   7109   esac
   7110 done
   7111 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   7112 
   7113 
   7114 # Only perform the check for file, if the check method requires it
   7115 case $deplibs_check_method in
   7116 file_magic*)
   7117   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
   7118     { $as_echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
   7119 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
   7120 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
   7121   $as_echo_n "(cached) " >&6
   7122 else
   7123   case $MAGIC_CMD in
   7124 [\\/*] |  ?:[\\/]*)
   7125   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   7126   ;;
   7127 *)
   7128   lt_save_MAGIC_CMD="$MAGIC_CMD"
   7129   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   7130   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   7131   for ac_dir in $ac_dummy; do
   7132     IFS="$lt_save_ifs"
   7133     test -z "$ac_dir" && ac_dir=.
   7134     if test -f $ac_dir/${ac_tool_prefix}file; then
   7135       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
   7136       if test -n "$file_magic_test_file"; then
   7137 	case $deplibs_check_method in
   7138 	"file_magic "*)
   7139 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   7140 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7141 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   7142 	    $EGREP "$file_magic_regex" > /dev/null; then
   7143 	    :
   7144 	  else
   7145 	    cat <<EOF 1>&2
   7146 
   7147 *** Warning: the command libtool uses to detect shared libraries,
   7148 *** $file_magic_cmd, produces output that libtool cannot recognize.
   7149 *** The result is that libtool may fail to recognize shared libraries
   7150 *** as such.  This will affect the creation of libtool libraries that
   7151 *** depend on shared libraries, but programs linked with such libtool
   7152 *** libraries will work regardless of this problem.  Nevertheless, you
   7153 *** may want to report the problem to your system manager and/or to
   7154 *** bug-libtool@gnu.org
   7155 
   7156 EOF
   7157 	  fi ;;
   7158 	esac
   7159       fi
   7160       break
   7161     fi
   7162   done
   7163   IFS="$lt_save_ifs"
   7164   MAGIC_CMD="$lt_save_MAGIC_CMD"
   7165   ;;
   7166 esac
   7167 fi
   7168 
   7169 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7170 if test -n "$MAGIC_CMD"; then
   7171   { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
   7172 $as_echo "$MAGIC_CMD" >&6; }
   7173 else
   7174   { $as_echo "$as_me:$LINENO: result: no" >&5
   7175 $as_echo "no" >&6; }
   7176 fi
   7177 
   7178 if test -z "$lt_cv_path_MAGIC_CMD"; then
   7179   if test -n "$ac_tool_prefix"; then
   7180     { $as_echo "$as_me:$LINENO: checking for file" >&5
   7181 $as_echo_n "checking for file... " >&6; }
   7182 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
   7183   $as_echo_n "(cached) " >&6
   7184 else
   7185   case $MAGIC_CMD in
   7186 [\\/*] |  ?:[\\/]*)
   7187   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   7188   ;;
   7189 *)
   7190   lt_save_MAGIC_CMD="$MAGIC_CMD"
   7191   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   7192   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   7193   for ac_dir in $ac_dummy; do
   7194     IFS="$lt_save_ifs"
   7195     test -z "$ac_dir" && ac_dir=.
   7196     if test -f $ac_dir/file; then
   7197       lt_cv_path_MAGIC_CMD="$ac_dir/file"
   7198       if test -n "$file_magic_test_file"; then
   7199 	case $deplibs_check_method in
   7200 	"file_magic "*)
   7201 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   7202 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7203 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   7204 	    $EGREP "$file_magic_regex" > /dev/null; then
   7205 	    :
   7206 	  else
   7207 	    cat <<EOF 1>&2
   7208 
   7209 *** Warning: the command libtool uses to detect shared libraries,
   7210 *** $file_magic_cmd, produces output that libtool cannot recognize.
   7211 *** The result is that libtool may fail to recognize shared libraries
   7212 *** as such.  This will affect the creation of libtool libraries that
   7213 *** depend on shared libraries, but programs linked with such libtool
   7214 *** libraries will work regardless of this problem.  Nevertheless, you
   7215 *** may want to report the problem to your system manager and/or to
   7216 *** bug-libtool@gnu.org
   7217 
   7218 EOF
   7219 	  fi ;;
   7220 	esac
   7221       fi
   7222       break
   7223     fi
   7224   done
   7225   IFS="$lt_save_ifs"
   7226   MAGIC_CMD="$lt_save_MAGIC_CMD"
   7227   ;;
   7228 esac
   7229 fi
   7230 
   7231 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7232 if test -n "$MAGIC_CMD"; then
   7233   { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
   7234 $as_echo "$MAGIC_CMD" >&6; }
   7235 else
   7236   { $as_echo "$as_me:$LINENO: result: no" >&5
   7237 $as_echo "no" >&6; }
   7238 fi
   7239 
   7240   else
   7241     MAGIC_CMD=:
   7242   fi
   7243 fi
   7244 
   7245   fi
   7246   ;;
   7247 esac
   7248 
   7249 
   7250   case $host_os in
   7251     rhapsody* | darwin*)
   7252     if test -n "$ac_tool_prefix"; then
   7253   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
   7254 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
   7255 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   7256 $as_echo_n "checking for $ac_word... " >&6; }
   7257 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then
   7258   $as_echo_n "(cached) " >&6
   7259 else
   7260   if test -n "$DSYMUTIL"; then
   7261   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
   7262 else
   7263 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7264 for as_dir in $PATH
   7265 do
   7266   IFS=$as_save_IFS
   7267   test -z "$as_dir" && as_dir=.
   7268   for ac_exec_ext in '' $ac_executable_extensions; do
   7269   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7270     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
   7271     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   7272     break 2
   7273   fi
   7274 done
   7275 done
   7276 IFS=$as_save_IFS
   7277 
   7278 fi
   7279 fi
   7280 DSYMUTIL=$ac_cv_prog_DSYMUTIL
   7281 if test -n "$DSYMUTIL"; then
   7282   { $as_echo "$as_me:$LINENO: result: $DSYMUTIL" >&5
   7283 $as_echo "$DSYMUTIL" >&6; }
   7284 else
   7285   { $as_echo "$as_me:$LINENO: result: no" >&5
   7286 $as_echo "no" >&6; }
   7287 fi
   7288 
   7289 
   7290 fi
   7291 if test -z "$ac_cv_prog_DSYMUTIL"; then
   7292   ac_ct_DSYMUTIL=$DSYMUTIL
   7293   # Extract the first word of "dsymutil", so it can be a program name with args.
   7294 set dummy dsymutil; ac_word=$2
   7295 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   7296 $as_echo_n "checking for $ac_word... " >&6; }
   7297 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then
   7298   $as_echo_n "(cached) " >&6
   7299 else
   7300   if test -n "$ac_ct_DSYMUTIL"; then
   7301   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
   7302 else
   7303 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7304 for as_dir in $PATH
   7305 do
   7306   IFS=$as_save_IFS
   7307   test -z "$as_dir" && as_dir=.
   7308   for ac_exec_ext in '' $ac_executable_extensions; do
   7309   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7310     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
   7311     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   7312     break 2
   7313   fi
   7314 done
   7315 done
   7316 IFS=$as_save_IFS
   7317 
   7318 fi
   7319 fi
   7320 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
   7321 if test -n "$ac_ct_DSYMUTIL"; then
   7322   { $as_echo "$as_me:$LINENO: result: $ac_ct_DSYMUTIL" >&5
   7323 $as_echo "$ac_ct_DSYMUTIL" >&6; }
   7324 else
   7325   { $as_echo "$as_me:$LINENO: result: no" >&5
   7326 $as_echo "no" >&6; }
   7327 fi
   7328 
   7329   if test "x$ac_ct_DSYMUTIL" = x; then
   7330     DSYMUTIL=":"
   7331   else
   7332     case $cross_compiling:$ac_tool_warned in
   7333 yes:)
   7334 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   7335 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7336 ac_tool_warned=yes ;;
   7337 esac
   7338     DSYMUTIL=$ac_ct_DSYMUTIL
   7339   fi
   7340 else
   7341   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
   7342 fi
   7343 
   7344     if test -n "$ac_tool_prefix"; then
   7345   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
   7346 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
   7347 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   7348 $as_echo_n "checking for $ac_word... " >&6; }
   7349 if test "${ac_cv_prog_NMEDIT+set}" = set; then
   7350   $as_echo_n "(cached) " >&6
   7351 else
   7352   if test -n "$NMEDIT"; then
   7353   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
   7354 else
   7355 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7356 for as_dir in $PATH
   7357 do
   7358   IFS=$as_save_IFS
   7359   test -z "$as_dir" && as_dir=.
   7360   for ac_exec_ext in '' $ac_executable_extensions; do
   7361   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7362     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
   7363     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   7364     break 2
   7365   fi
   7366 done
   7367 done
   7368 IFS=$as_save_IFS
   7369 
   7370 fi
   7371 fi
   7372 NMEDIT=$ac_cv_prog_NMEDIT
   7373 if test -n "$NMEDIT"; then
   7374   { $as_echo "$as_me:$LINENO: result: $NMEDIT" >&5
   7375 $as_echo "$NMEDIT" >&6; }
   7376 else
   7377   { $as_echo "$as_me:$LINENO: result: no" >&5
   7378 $as_echo "no" >&6; }
   7379 fi
   7380 
   7381 
   7382 fi
   7383 if test -z "$ac_cv_prog_NMEDIT"; then
   7384   ac_ct_NMEDIT=$NMEDIT
   7385   # Extract the first word of "nmedit", so it can be a program name with args.
   7386 set dummy nmedit; ac_word=$2
   7387 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   7388 $as_echo_n "checking for $ac_word... " >&6; }
   7389 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then
   7390   $as_echo_n "(cached) " >&6
   7391 else
   7392   if test -n "$ac_ct_NMEDIT"; then
   7393   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
   7394 else
   7395 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7396 for as_dir in $PATH
   7397 do
   7398   IFS=$as_save_IFS
   7399   test -z "$as_dir" && as_dir=.
   7400   for ac_exec_ext in '' $ac_executable_extensions; do
   7401   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7402     ac_cv_prog_ac_ct_NMEDIT="nmedit"
   7403     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   7404     break 2
   7405   fi
   7406 done
   7407 done
   7408 IFS=$as_save_IFS
   7409 
   7410 fi
   7411 fi
   7412 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
   7413 if test -n "$ac_ct_NMEDIT"; then
   7414   { $as_echo "$as_me:$LINENO: result: $ac_ct_NMEDIT" >&5
   7415 $as_echo "$ac_ct_NMEDIT" >&6; }
   7416 else
   7417   { $as_echo "$as_me:$LINENO: result: no" >&5
   7418 $as_echo "no" >&6; }
   7419 fi
   7420 
   7421   if test "x$ac_ct_NMEDIT" = x; then
   7422     NMEDIT=":"
   7423   else
   7424     case $cross_compiling:$ac_tool_warned in
   7425 yes:)
   7426 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   7427 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7428 ac_tool_warned=yes ;;
   7429 esac
   7430     NMEDIT=$ac_ct_NMEDIT
   7431   fi
   7432 else
   7433   NMEDIT="$ac_cv_prog_NMEDIT"
   7434 fi
   7435 
   7436 
   7437     { $as_echo "$as_me:$LINENO: checking for -single_module linker flag" >&5
   7438 $as_echo_n "checking for -single_module linker flag... " >&6; }
   7439 if test "${lt_cv_apple_cc_single_mod+set}" = set; then
   7440   $as_echo_n "(cached) " >&6
   7441 else
   7442   lt_cv_apple_cc_single_mod=no
   7443       if test -z "${LT_MULTI_MODULE}"; then
   7444    # By default we will add the -single_module flag. You can override
   7445    # by either setting the environment variable LT_MULTI_MODULE
   7446    # non-empty at configure time, or by adding -multi_module to the
   7447    # link flags.
   7448    echo "int foo(void){return 1;}" > conftest.c
   7449    $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   7450      -dynamiclib ${wl}-single_module conftest.c
   7451    if test -f libconftest.dylib; then
   7452      lt_cv_apple_cc_single_mod=yes
   7453      rm -rf libconftest.dylib*
   7454    fi
   7455    rm conftest.c
   7456       fi
   7457 fi
   7458 { $as_echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5
   7459 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
   7460     { $as_echo "$as_me:$LINENO: checking for -exported_symbols_list linker flag" >&5
   7461 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
   7462 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then
   7463   $as_echo_n "(cached) " >&6
   7464 else
   7465   lt_cv_ld_exported_symbols_list=no
   7466       save_LDFLAGS=$LDFLAGS
   7467       echo "_main" > conftest.sym
   7468       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
   7469       cat >conftest.$ac_ext <<_ACEOF
   7470 /* confdefs.h.  */
   7471 _ACEOF
   7472 cat confdefs.h >>conftest.$ac_ext
   7473 cat >>conftest.$ac_ext <<_ACEOF
   7474 /* end confdefs.h.  */
   7475 
   7476 int
   7477 main ()
   7478 {
   7479 
   7480   ;
   7481   return 0;
   7482 }
   7483 _ACEOF
   7484 rm -f conftest.$ac_objext conftest$ac_exeext
   7485 if { (ac_try="$ac_link"
   7486 case "(($ac_try" in
   7487   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   7488   *) ac_try_echo=$ac_try;;
   7489 esac
   7490 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   7491 $as_echo "$ac_try_echo") >&5
   7492   (eval "$ac_link") 2>conftest.er1
   7493   ac_status=$?
   7494   grep -v '^ *+' conftest.er1 >conftest.err
   7495   rm -f conftest.er1
   7496   cat conftest.err >&5
   7497   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7498   (exit $ac_status); } && {
   7499 	 test -z "$ac_c_werror_flag" ||
   7500 	 test ! -s conftest.err
   7501        } && test -s conftest$ac_exeext && {
   7502 	 test "$cross_compiling" = yes ||
   7503 	 $as_test_x conftest$ac_exeext
   7504        }; then
   7505   lt_cv_ld_exported_symbols_list=yes
   7506 else
   7507   $as_echo "$as_me: failed program was:" >&5
   7508 sed 's/^/| /' conftest.$ac_ext >&5
   7509 
   7510 	lt_cv_ld_exported_symbols_list=no
   7511 fi
   7512 
   7513 rm -rf conftest.dSYM
   7514 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   7515       conftest$ac_exeext conftest.$ac_ext
   7516    LDFLAGS="$save_LDFLAGS"
   7517 
   7518 fi
   7519 { $as_echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5
   7520 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
   7521     case $host_os in
   7522     rhapsody* | darwin1.[0123])
   7523       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
   7524     darwin1.*)
   7525      _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
   7526     darwin*)
   7527       # if running on 10.5 or later, the deployment target defaults
   7528       # to the OS version, if on x86, and 10.4, the deployment
   7529       # target defaults to 10.4. Don't you love it?
   7530       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
   7531    10.0,*86*-darwin8*|10.0,*-darwin[91]*)
   7532      _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
   7533    10.[012]*)
   7534      _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
   7535    10.*)
   7536      _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
   7537       esac
   7538     ;;
   7539   esac
   7540     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
   7541       _lt_dar_single_mod='$single_module'
   7542     fi
   7543     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
   7544       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
   7545     else
   7546       _lt_dar_export_syms="~$NMEDIT -s \$output_objdir/\${libname}-symbols.expsym \${lib}"
   7547     fi
   7548     if test "$DSYMUTIL" != ":"; then
   7549       _lt_dsymutil="~$DSYMUTIL \$lib || :"
   7550     else
   7551       _lt_dsymutil=
   7552     fi
   7553     ;;
   7554   esac
   7555 
   7556 
   7557 enable_dlopen=no
   7558 enable_win32_dll=no
   7559 
   7560 # Check whether --enable-libtool-lock was given.
   7561 if test "${enable_libtool_lock+set}" = set; then
   7562   enableval=$enable_libtool_lock;
   7563 fi
   7564 
   7565 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
   7566 
   7567 
   7568 # Check whether --with-pic was given.
   7569 if test "${with_pic+set}" = set; then
   7570   withval=$with_pic; pic_mode="$withval"
   7571 else
   7572   pic_mode=default
   7573 fi
   7574 
   7575 test -z "$pic_mode" && pic_mode=default
   7576 
   7577 # Use C for the default configuration in the libtool script
   7578 tagname=
   7579 lt_save_CC="$CC"
   7580 ac_ext=c
   7581 ac_cpp='$CPP $CPPFLAGS'
   7582 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7583 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7584 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7585 
   7586 
   7587 # Source file extension for C test sources.
   7588 ac_ext=c
   7589 
   7590 # Object file extension for compiled C test sources.
   7591 objext=o
   7592 objext=$objext
   7593 
   7594 # Code to be used in simple compile tests
   7595 lt_simple_compile_test_code="int some_variable = 0;"
   7596 
   7597 # Code to be used in simple link tests
   7598 lt_simple_link_test_code='int main(){return(0);}'
   7599 
   7600 
   7601 # If no C compiler was specified, use CC.
   7602 LTCC=${LTCC-"$CC"}
   7603 
   7604 # If no C compiler flags were specified, use CFLAGS.
   7605 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   7606 
   7607 # Allow CC to be a program name with arguments.
   7608 compiler=$CC
   7609 
   7610 
   7611 # save warnings/boilerplate of simple test code
   7612 ac_outfile=conftest.$ac_objext
   7613 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   7614 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   7615 _lt_compiler_boilerplate=`cat conftest.err`
   7616 $rm conftest*
   7617 
   7618 ac_outfile=conftest.$ac_objext
   7619 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   7620 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   7621 _lt_linker_boilerplate=`cat conftest.err`
   7622 $rm -r conftest*
   7623 
   7624 
   7625 
   7626 lt_prog_compiler_no_builtin_flag=
   7627 
   7628 if test "$GCC" = yes; then
   7629   lt_prog_compiler_no_builtin_flag=' -fno-builtin'
   7630 
   7631 
   7632 { $as_echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
   7633 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
   7634 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
   7635   $as_echo_n "(cached) " >&6
   7636 else
   7637   lt_cv_prog_compiler_rtti_exceptions=no
   7638   ac_outfile=conftest.$ac_objext
   7639    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   7640    lt_compiler_flag="-fno-rtti -fno-exceptions"
   7641    # Insert the option either (1) after the last *FLAGS variable, or
   7642    # (2) before a word containing "conftest.", or (3) at the end.
   7643    # Note that $ac_compile itself does not contain backslashes and begins
   7644    # with a dollar sign (not a hyphen), so the echo should work correctly.
   7645    # The option is referenced via a variable to avoid confusing sed.
   7646    lt_compile=`echo "$ac_compile" | $SED \
   7647    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   7648    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   7649    -e 's:$: $lt_compiler_flag:'`
   7650    (eval echo "\"\$as_me:7650: $lt_compile\"" >&5)
   7651    (eval "$lt_compile" 2>conftest.err)
   7652    ac_status=$?
   7653    cat conftest.err >&5
   7654    echo "$as_me:7654: \$? = $ac_status" >&5
   7655    if (exit $ac_status) && test -s "$ac_outfile"; then
   7656      # The compiler can only warn and ignore the option if not recognized
   7657      # So say no if there are warnings other than the usual output.
   7658      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   7659      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   7660      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   7661        lt_cv_prog_compiler_rtti_exceptions=yes
   7662      fi
   7663    fi
   7664    $rm conftest*
   7665 
   7666 fi
   7667 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
   7668 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
   7669 
   7670 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
   7671     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
   7672 else
   7673     :
   7674 fi
   7675 
   7676 fi
   7677 
   7678 lt_prog_compiler_wl=
   7679 lt_prog_compiler_pic=
   7680 lt_prog_compiler_static=
   7681 
   7682 { $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
   7683 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
   7684 
   7685   if test "$GCC" = yes; then
   7686     lt_prog_compiler_wl='-Wl,'
   7687     lt_prog_compiler_static='-static'
   7688 
   7689     case $host_os in
   7690       aix*)
   7691       # All AIX code is PIC.
   7692       if test "$host_cpu" = ia64; then
   7693 	# AIX 5 now supports IA64 processor
   7694 	lt_prog_compiler_static='-Bstatic'
   7695       fi
   7696       ;;
   7697 
   7698     amigaos*)
   7699       # FIXME: we need at least 68020 code to build shared libraries, but
   7700       # adding the `-m68020' flag to GCC prevents building anything better,
   7701       # like `-m68040'.
   7702       lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
   7703       ;;
   7704 
   7705     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   7706       # PIC is the default for these OSes.
   7707       ;;
   7708 
   7709     mingw* | cygwin* | pw32* | os2*)
   7710       # This hack is so that the source file can tell whether it is being
   7711       # built for inclusion in a dll (and should export symbols for example).
   7712       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   7713       # (--disable-auto-import) libraries
   7714       lt_prog_compiler_pic='-DDLL_EXPORT'
   7715       ;;
   7716 
   7717     darwin* | rhapsody*)
   7718       # PIC is the default on this platform
   7719       # Common symbols not allowed in MH_DYLIB files
   7720       lt_prog_compiler_pic='-fno-common'
   7721       ;;
   7722 
   7723     interix[3-9]*)
   7724       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   7725       # Instead, we relocate shared libraries at runtime.
   7726       ;;
   7727 
   7728     msdosdjgpp*)
   7729       # Just because we use GCC doesn't mean we suddenly get shared libraries
   7730       # on systems that don't support them.
   7731       lt_prog_compiler_can_build_shared=no
   7732       enable_shared=no
   7733       ;;
   7734 
   7735     sysv4*MP*)
   7736       if test -d /usr/nec; then
   7737 	lt_prog_compiler_pic=-Kconform_pic
   7738       fi
   7739       ;;
   7740 
   7741     hpux*)
   7742       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   7743       # not for PA HP-UX.
   7744       case $host_cpu in
   7745       hppa*64*|ia64*)
   7746 	# +Z the default
   7747 	;;
   7748       *)
   7749 	lt_prog_compiler_pic='-fPIC'
   7750 	;;
   7751       esac
   7752       ;;
   7753 
   7754     *)
   7755       lt_prog_compiler_pic='-fPIC'
   7756       ;;
   7757     esac
   7758   else
   7759     # PORTME Check for flag to pass linker flags through the system compiler.
   7760     case $host_os in
   7761     aix*)
   7762       lt_prog_compiler_wl='-Wl,'
   7763       if test "$host_cpu" = ia64; then
   7764 	# AIX 5 now supports IA64 processor
   7765 	lt_prog_compiler_static='-Bstatic'
   7766       else
   7767 	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
   7768       fi
   7769       ;;
   7770       darwin*)
   7771         # PIC is the default on this platform
   7772         # Common symbols not allowed in MH_DYLIB files
   7773        case $cc_basename in
   7774          xlc*)
   7775          lt_prog_compiler_pic='-qnocommon'
   7776          lt_prog_compiler_wl='-Wl,'
   7777          ;;
   7778        esac
   7779        ;;
   7780 
   7781     mingw* | cygwin* | pw32* | os2*)
   7782       # This hack is so that the source file can tell whether it is being
   7783       # built for inclusion in a dll (and should export symbols for example).
   7784       lt_prog_compiler_pic='-DDLL_EXPORT'
   7785       ;;
   7786 
   7787     hpux9* | hpux10* | hpux11*)
   7788       lt_prog_compiler_wl='-Wl,'
   7789       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   7790       # not for PA HP-UX.
   7791       case $host_cpu in
   7792       hppa*64*|ia64*)
   7793 	# +Z the default
   7794 	;;
   7795       *)
   7796 	lt_prog_compiler_pic='+Z'
   7797 	;;
   7798       esac
   7799       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   7800       lt_prog_compiler_static='${wl}-a ${wl}archive'
   7801       ;;
   7802 
   7803     irix5* | irix6* | nonstopux*)
   7804       lt_prog_compiler_wl='-Wl,'
   7805       # PIC (with -KPIC) is the default.
   7806       lt_prog_compiler_static='-non_shared'
   7807       ;;
   7808 
   7809     newsos6)
   7810       lt_prog_compiler_pic='-KPIC'
   7811       lt_prog_compiler_static='-Bstatic'
   7812       ;;
   7813 
   7814     linux* | k*bsd*-gnu)
   7815       case $cc_basename in
   7816       icc* | ecc*)
   7817 	lt_prog_compiler_wl='-Wl,'
   7818 	lt_prog_compiler_pic='-KPIC'
   7819 	lt_prog_compiler_static='-static'
   7820         ;;
   7821       pgcc* | pgf77* | pgf90* | pgf95*)
   7822         # Portland Group compilers (*not* the Pentium gcc compiler,
   7823 	# which looks to be a dead project)
   7824 	lt_prog_compiler_wl='-Wl,'
   7825 	lt_prog_compiler_pic='-fpic'
   7826 	lt_prog_compiler_static='-Bstatic'
   7827         ;;
   7828       ccc*)
   7829         lt_prog_compiler_wl='-Wl,'
   7830         # All Alpha code is PIC.
   7831         lt_prog_compiler_static='-non_shared'
   7832         ;;
   7833       *)
   7834         case `$CC -V 2>&1 | sed 5q` in
   7835 	*Sun\ C*)
   7836 	  # Sun C 5.9
   7837 	  lt_prog_compiler_pic='-KPIC'
   7838 	  lt_prog_compiler_static='-Bstatic'
   7839 	  lt_prog_compiler_wl='-Wl,'
   7840 	  ;;
   7841 	*Sun\ F*)
   7842 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   7843 	  lt_prog_compiler_pic='-KPIC'
   7844 	  lt_prog_compiler_static='-Bstatic'
   7845 	  lt_prog_compiler_wl=''
   7846 	  ;;
   7847 	esac
   7848 	;;
   7849       esac
   7850       ;;
   7851 
   7852     osf3* | osf4* | osf5*)
   7853       lt_prog_compiler_wl='-Wl,'
   7854       # All OSF/1 code is PIC.
   7855       lt_prog_compiler_static='-non_shared'
   7856       ;;
   7857 
   7858     rdos*)
   7859       lt_prog_compiler_static='-non_shared'
   7860       ;;
   7861 
   7862     solaris*)
   7863       lt_prog_compiler_pic='-KPIC'
   7864       lt_prog_compiler_static='-Bstatic'
   7865       case $cc_basename in
   7866       f77* | f90* | f95*)
   7867 	lt_prog_compiler_wl='-Qoption ld ';;
   7868       *)
   7869 	lt_prog_compiler_wl='-Wl,';;
   7870       esac
   7871       ;;
   7872 
   7873     sunos4*)
   7874       lt_prog_compiler_wl='-Qoption ld '
   7875       lt_prog_compiler_pic='-PIC'
   7876       lt_prog_compiler_static='-Bstatic'
   7877       ;;
   7878 
   7879     sysv4 | sysv4.2uw2* | sysv4.3*)
   7880       lt_prog_compiler_wl='-Wl,'
   7881       lt_prog_compiler_pic='-KPIC'
   7882       lt_prog_compiler_static='-Bstatic'
   7883       ;;
   7884 
   7885     sysv4*MP*)
   7886       if test -d /usr/nec ;then
   7887 	lt_prog_compiler_pic='-Kconform_pic'
   7888 	lt_prog_compiler_static='-Bstatic'
   7889       fi
   7890       ;;
   7891 
   7892     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   7893       lt_prog_compiler_wl='-Wl,'
   7894       lt_prog_compiler_pic='-KPIC'
   7895       lt_prog_compiler_static='-Bstatic'
   7896       ;;
   7897 
   7898     unicos*)
   7899       lt_prog_compiler_wl='-Wl,'
   7900       lt_prog_compiler_can_build_shared=no
   7901       ;;
   7902 
   7903     uts4*)
   7904       lt_prog_compiler_pic='-pic'
   7905       lt_prog_compiler_static='-Bstatic'
   7906       ;;
   7907 
   7908     *)
   7909       lt_prog_compiler_can_build_shared=no
   7910       ;;
   7911     esac
   7912   fi
   7913 
   7914 { $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
   7915 $as_echo "$lt_prog_compiler_pic" >&6; }
   7916 
   7917 #
   7918 # Check to make sure the PIC flag actually works.
   7919 #
   7920 if test -n "$lt_prog_compiler_pic"; then
   7921 
   7922 { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
   7923 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
   7924 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then
   7925   $as_echo_n "(cached) " >&6
   7926 else
   7927   lt_cv_prog_compiler_pic_works=no
   7928   ac_outfile=conftest.$ac_objext
   7929    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   7930    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
   7931    # Insert the option either (1) after the last *FLAGS variable, or
   7932    # (2) before a word containing "conftest.", or (3) at the end.
   7933    # Note that $ac_compile itself does not contain backslashes and begins
   7934    # with a dollar sign (not a hyphen), so the echo should work correctly.
   7935    # The option is referenced via a variable to avoid confusing sed.
   7936    lt_compile=`echo "$ac_compile" | $SED \
   7937    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   7938    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   7939    -e 's:$: $lt_compiler_flag:'`
   7940    (eval echo "\"\$as_me:7940: $lt_compile\"" >&5)
   7941    (eval "$lt_compile" 2>conftest.err)
   7942    ac_status=$?
   7943    cat conftest.err >&5
   7944    echo "$as_me:7944: \$? = $ac_status" >&5
   7945    if (exit $ac_status) && test -s "$ac_outfile"; then
   7946      # The compiler can only warn and ignore the option if not recognized
   7947      # So say no if there are warnings other than the usual output.
   7948      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   7949      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   7950      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   7951        lt_cv_prog_compiler_pic_works=yes
   7952      fi
   7953    fi
   7954    $rm conftest*
   7955 
   7956 fi
   7957 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5
   7958 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
   7959 
   7960 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
   7961     case $lt_prog_compiler_pic in
   7962      "" | " "*) ;;
   7963      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
   7964      esac
   7965 else
   7966     lt_prog_compiler_pic=
   7967      lt_prog_compiler_can_build_shared=no
   7968 fi
   7969 
   7970 fi
   7971 case $host_os in
   7972   # For platforms which do not support PIC, -DPIC is meaningless:
   7973   *djgpp*)
   7974     lt_prog_compiler_pic=
   7975     ;;
   7976   *)
   7977     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
   7978     ;;
   7979 esac
   7980 
   7981 #
   7982 # Check to make sure the static flag actually works.
   7983 #
   7984 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
   7985 { $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   7986 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   7987 if test "${lt_cv_prog_compiler_static_works+set}" = set; then
   7988   $as_echo_n "(cached) " >&6
   7989 else
   7990   lt_cv_prog_compiler_static_works=no
   7991    save_LDFLAGS="$LDFLAGS"
   7992    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   7993    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   7994    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   7995      # The linker can only warn and ignore the option if not recognized
   7996      # So say no if there are warnings
   7997      if test -s conftest.err; then
   7998        # Append any errors to the config.log.
   7999        cat conftest.err 1>&5
   8000        $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
   8001        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   8002        if diff conftest.exp conftest.er2 >/dev/null; then
   8003          lt_cv_prog_compiler_static_works=yes
   8004        fi
   8005      else
   8006        lt_cv_prog_compiler_static_works=yes
   8007      fi
   8008    fi
   8009    $rm -r conftest*
   8010    LDFLAGS="$save_LDFLAGS"
   8011 
   8012 fi
   8013 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5
   8014 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
   8015 
   8016 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
   8017     :
   8018 else
   8019     lt_prog_compiler_static=
   8020 fi
   8021 
   8022 
   8023 { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
   8024 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   8025 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
   8026   $as_echo_n "(cached) " >&6
   8027 else
   8028   lt_cv_prog_compiler_c_o=no
   8029    $rm -r conftest 2>/dev/null
   8030    mkdir conftest
   8031    cd conftest
   8032    mkdir out
   8033    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8034 
   8035    lt_compiler_flag="-o out/conftest2.$ac_objext"
   8036    # Insert the option either (1) after the last *FLAGS variable, or
   8037    # (2) before a word containing "conftest.", or (3) at the end.
   8038    # Note that $ac_compile itself does not contain backslashes and begins
   8039    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8040    lt_compile=`echo "$ac_compile" | $SED \
   8041    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8042    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8043    -e 's:$: $lt_compiler_flag:'`
   8044    (eval echo "\"\$as_me:8044: $lt_compile\"" >&5)
   8045    (eval "$lt_compile" 2>out/conftest.err)
   8046    ac_status=$?
   8047    cat out/conftest.err >&5
   8048    echo "$as_me:8048: \$? = $ac_status" >&5
   8049    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   8050    then
   8051      # The compiler can only warn and ignore the option if not recognized
   8052      # So say no if there are warnings
   8053      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
   8054      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   8055      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   8056        lt_cv_prog_compiler_c_o=yes
   8057      fi
   8058    fi
   8059    chmod u+w . 2>&5
   8060    $rm conftest*
   8061    # SGI C++ compiler will create directory out/ii_files/ for
   8062    # template instantiation
   8063    test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
   8064    $rm out/* && rmdir out
   8065    cd ..
   8066    rmdir conftest
   8067    $rm conftest*
   8068 
   8069 fi
   8070 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
   8071 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   8072 
   8073 
   8074 hard_links="nottested"
   8075 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
   8076   # do not overwrite the value of need_locks provided by the user
   8077   { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
   8078 $as_echo_n "checking if we can lock with hard links... " >&6; }
   8079   hard_links=yes
   8080   $rm conftest*
   8081   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   8082   touch conftest.a
   8083   ln conftest.a conftest.b 2>&5 || hard_links=no
   8084   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   8085   { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
   8086 $as_echo "$hard_links" >&6; }
   8087   if test "$hard_links" = no; then
   8088     { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   8089 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   8090     need_locks=warn
   8091   fi
   8092 else
   8093   need_locks=no
   8094 fi
   8095 
   8096 { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   8097 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   8098 
   8099   runpath_var=
   8100   allow_undefined_flag=
   8101   enable_shared_with_static_runtimes=no
   8102   archive_cmds=
   8103   archive_expsym_cmds=
   8104   old_archive_From_new_cmds=
   8105   old_archive_from_expsyms_cmds=
   8106   export_dynamic_flag_spec=
   8107   whole_archive_flag_spec=
   8108   thread_safe_flag_spec=
   8109   hardcode_libdir_flag_spec=
   8110   hardcode_libdir_flag_spec_ld=
   8111   hardcode_libdir_separator=
   8112   hardcode_direct=no
   8113   hardcode_minus_L=no
   8114   hardcode_shlibpath_var=unsupported
   8115   link_all_deplibs=unknown
   8116   hardcode_automatic=no
   8117   module_cmds=
   8118   module_expsym_cmds=
   8119   always_export_symbols=no
   8120   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   8121   # include_expsyms should be a list of space-separated symbols to be *always*
   8122   # included in the symbol list
   8123   include_expsyms=
   8124   # exclude_expsyms can be an extended regexp of symbols to exclude
   8125   # it will be wrapped by ` (' and `)$', so one must not match beginning or
   8126   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
   8127   # as well as any symbol that contains `d'.
   8128   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   8129   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   8130   # platforms (ab)use it in PIC code, but their linkers get confused if
   8131   # the symbol is explicitly referenced.  Since portable code cannot
   8132   # rely on this symbol name, it's probably fine to never include it in
   8133   # preloaded symbol tables.
   8134   # Exclude shared library initialization/finalization symbols.
   8135   extract_expsyms_cmds=
   8136   # Just being paranoid about ensuring that cc_basename is set.
   8137   for cc_temp in $compiler""; do
   8138   case $cc_temp in
   8139     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   8140     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   8141     \-*) ;;
   8142     *) break;;
   8143   esac
   8144 done
   8145 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   8146 
   8147   case $host_os in
   8148   cygwin* | mingw* | pw32*)
   8149     # FIXME: the MSVC++ port hasn't been tested in a loooong time
   8150     # When not using gcc, we currently assume that we are using
   8151     # Microsoft Visual C++.
   8152     if test "$GCC" != yes; then
   8153       with_gnu_ld=no
   8154     fi
   8155     ;;
   8156   interix*)
   8157     # we just hope/assume this is gcc and not c89 (= MSVC++)
   8158     with_gnu_ld=yes
   8159     ;;
   8160   openbsd*)
   8161     with_gnu_ld=no
   8162     ;;
   8163   esac
   8164 
   8165   ld_shlibs=yes
   8166   if test "$with_gnu_ld" = yes; then
   8167     # If archive_cmds runs LD, not CC, wlarc should be empty
   8168     wlarc='${wl}'
   8169 
   8170     # Set some defaults for GNU ld with shared library support. These
   8171     # are reset later if shared libraries are not supported. Putting them
   8172     # here allows them to be overridden if necessary.
   8173     runpath_var=LD_RUN_PATH
   8174     hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
   8175     export_dynamic_flag_spec='${wl}--export-dynamic'
   8176     # ancient GNU ld didn't support --whole-archive et. al.
   8177     if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
   8178 	whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   8179       else
   8180   	whole_archive_flag_spec=
   8181     fi
   8182     supports_anon_versioning=no
   8183     case `$LD -v 2>/dev/null` in
   8184       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   8185       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   8186       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   8187       *\ 2.11.*) ;; # other 2.11 versions
   8188       *) supports_anon_versioning=yes ;;
   8189     esac
   8190 
   8191     # See if GNU ld supports shared libraries.
   8192     case $host_os in
   8193     aix[3-9]*)
   8194       # On AIX/PPC, the GNU linker is very broken
   8195       if test "$host_cpu" != ia64; then
   8196 	ld_shlibs=no
   8197 	cat <<EOF 1>&2
   8198 
   8199 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
   8200 *** to be unable to reliably create shared libraries on AIX.
   8201 *** Therefore, libtool is disabling shared libraries support.  If you
   8202 *** really care for shared libraries, you may want to modify your PATH
   8203 *** so that a non-GNU linker is found, and then restart.
   8204 
   8205 EOF
   8206       fi
   8207       ;;
   8208 
   8209     amigaos*)
   8210       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)'
   8211       hardcode_libdir_flag_spec='-L$libdir'
   8212       hardcode_minus_L=yes
   8213 
   8214       # Samuel A. Falvo II <kc5tja (at] dolphin.openprojects.net> reports
   8215       # that the semantics of dynamic libraries on AmigaOS, at least up
   8216       # to version 4, is to share data among multiple programs linked
   8217       # with the same dynamic library.  Since this doesn't match the
   8218       # behavior of shared libraries on other platforms, we can't use
   8219       # them.
   8220       ld_shlibs=no
   8221       ;;
   8222 
   8223     beos*)
   8224       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   8225 	allow_undefined_flag=unsupported
   8226 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   8227 	# support --undefined.  This deserves some investigation.  FIXME
   8228 	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8229       else
   8230 	ld_shlibs=no
   8231       fi
   8232       ;;
   8233 
   8234     cygwin* | mingw* | pw32*)
   8235       # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
   8236       # as there is no search path for DLLs.
   8237       hardcode_libdir_flag_spec='-L$libdir'
   8238       allow_undefined_flag=unsupported
   8239       always_export_symbols=no
   8240       enable_shared_with_static_runtimes=yes
   8241       export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
   8242 
   8243       if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
   8244         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   8245 	# If the export-symbols file already is a .def file (1st line
   8246 	# is EXPORTS), use it as is; otherwise, prepend...
   8247 	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   8248 	  cp $export_symbols $output_objdir/$soname.def;
   8249 	else
   8250 	  echo EXPORTS > $output_objdir/$soname.def;
   8251 	  cat $export_symbols >> $output_objdir/$soname.def;
   8252 	fi~
   8253 	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   8254       else
   8255 	ld_shlibs=no
   8256       fi
   8257       ;;
   8258 
   8259     interix[3-9]*)
   8260       hardcode_direct=no
   8261       hardcode_shlibpath_var=no
   8262       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   8263       export_dynamic_flag_spec='${wl}-E'
   8264       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   8265       # Instead, shared libraries are loaded at an image base (0x10000000 by
   8266       # default) and relocated if they conflict, which is a slow very memory
   8267       # consuming and fragmenting process.  To avoid this, we pick a random,
   8268       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   8269       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   8270       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
   8271       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'
   8272       ;;
   8273 
   8274     gnu* | linux* | k*bsd*-gnu)
   8275       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   8276 	tmp_addflag=
   8277 	case $cc_basename,$host_cpu in
   8278 	pgcc*)				# Portland Group C compiler
   8279 	  whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
   8280 	  tmp_addflag=' $pic_flag'
   8281 	  ;;
   8282 	pgf77* | pgf90* | pgf95*)	# Portland Group f77 and f90 compilers
   8283 	  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'
   8284 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   8285 	ecc*,ia64* | icc*,ia64*)		# Intel C compiler on ia64
   8286 	  tmp_addflag=' -i_dynamic' ;;
   8287 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   8288 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   8289 	ifc* | ifort*)			# Intel Fortran compiler
   8290 	  tmp_addflag=' -nofor_main' ;;
   8291 	esac
   8292 	case `$CC -V 2>&1 | sed 5q` in
   8293 	*Sun\ C*)			# Sun C 5.9
   8294 	  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'
   8295 	  tmp_sharedflag='-G' ;;
   8296 	*Sun\ F*)			# Sun Fortran 8.3
   8297 	  tmp_sharedflag='-G' ;;
   8298 	*)
   8299 	  tmp_sharedflag='-shared' ;;
   8300 	esac
   8301 	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8302 
   8303 	if test $supports_anon_versioning = yes; then
   8304 	  archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~
   8305   cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   8306   $echo "local: *; };" >> $output_objdir/$libname.ver~
   8307 	  $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
   8308 	fi
   8309       else
   8310 	ld_shlibs=no
   8311       fi
   8312       ;;
   8313 
   8314     netbsd*)
   8315       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   8316 	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   8317 	wlarc=
   8318       else
   8319 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8320 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8321       fi
   8322       ;;
   8323 
   8324     solaris*)
   8325       if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
   8326 	ld_shlibs=no
   8327 	cat <<EOF 1>&2
   8328 
   8329 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   8330 *** create shared libraries on Solaris systems.  Therefore, libtool
   8331 *** is disabling shared libraries support.  We urge you to upgrade GNU
   8332 *** binutils to release 2.9.1 or newer.  Another option is to modify
   8333 *** your PATH or compiler configuration so that the native linker is
   8334 *** used, and then restart.
   8335 
   8336 EOF
   8337       elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   8338 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8339 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8340       else
   8341 	ld_shlibs=no
   8342       fi
   8343       ;;
   8344 
   8345     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   8346       case `$LD -v 2>&1` in
   8347         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   8348 	ld_shlibs=no
   8349 	cat <<_LT_EOF 1>&2
   8350 
   8351 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
   8352 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   8353 *** is disabling shared libraries support.  We urge you to upgrade GNU
   8354 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   8355 *** your PATH or compiler configuration so that the native linker is
   8356 *** used, and then restart.
   8357 
   8358 _LT_EOF
   8359 	;;
   8360 	*)
   8361 	  if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   8362 	    hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
   8363 	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
   8364 	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
   8365 	  else
   8366 	    ld_shlibs=no
   8367 	  fi
   8368 	;;
   8369       esac
   8370       ;;
   8371 
   8372     sunos4*)
   8373       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   8374       wlarc=
   8375       hardcode_direct=yes
   8376       hardcode_shlibpath_var=no
   8377       ;;
   8378 
   8379     *)
   8380       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   8381 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8382 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8383       else
   8384 	ld_shlibs=no
   8385       fi
   8386       ;;
   8387     esac
   8388 
   8389     if test "$ld_shlibs" = no; then
   8390       runpath_var=
   8391       hardcode_libdir_flag_spec=
   8392       export_dynamic_flag_spec=
   8393       whole_archive_flag_spec=
   8394     fi
   8395   else
   8396     # PORTME fill in a description of your system's linker (not GNU ld)
   8397     case $host_os in
   8398     aix3*)
   8399       allow_undefined_flag=unsupported
   8400       always_export_symbols=yes
   8401       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'
   8402       # Note: this linker hardcodes the directories in LIBPATH if there
   8403       # are no directories specified by -L.
   8404       hardcode_minus_L=yes
   8405       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
   8406 	# Neither direct hardcoding nor static linking is supported with a
   8407 	# broken collect2.
   8408 	hardcode_direct=unsupported
   8409       fi
   8410       ;;
   8411 
   8412     aix[4-9]*)
   8413       if test "$host_cpu" = ia64; then
   8414 	# On IA64, the linker does run time linking by default, so we don't
   8415 	# have to do anything special.
   8416 	aix_use_runtimelinking=no
   8417 	exp_sym_flag='-Bexport'
   8418 	no_entry_flag=""
   8419       else
   8420 	# If we're using GNU nm, then we don't want the "-C" option.
   8421 	# -C means demangle to AIX nm, but means don't demangle with GNU nm
   8422 	if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
   8423 	  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'
   8424 	else
   8425 	  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'
   8426 	fi
   8427 	aix_use_runtimelinking=no
   8428 
   8429 	# Test if we are trying to use run time linking or normal
   8430 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   8431 	# need to do runtime linking.
   8432 	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   8433 	  for ld_flag in $LDFLAGS; do
   8434   	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
   8435   	    aix_use_runtimelinking=yes
   8436   	    break
   8437   	  fi
   8438 	  done
   8439 	  ;;
   8440 	esac
   8441 
   8442 	exp_sym_flag='-bexport'
   8443 	no_entry_flag='-bnoentry'
   8444       fi
   8445 
   8446       # When large executables or shared objects are built, AIX ld can
   8447       # have problems creating the table of contents.  If linking a library
   8448       # or program results in "error TOC overflow" add -mminimal-toc to
   8449       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   8450       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   8451 
   8452       archive_cmds=''
   8453       hardcode_direct=yes
   8454       hardcode_libdir_separator=':'
   8455       link_all_deplibs=yes
   8456 
   8457       if test "$GCC" = yes; then
   8458 	case $host_os in aix4.[012]|aix4.[012].*)
   8459 	# We only want to do this on AIX 4.2 and lower, the check
   8460 	# below for broken collect2 doesn't work under 4.3+
   8461 	  collect2name=`${CC} -print-prog-name=collect2`
   8462 	  if test -f "$collect2name" && \
   8463   	   strings "$collect2name" | grep resolve_lib_name >/dev/null
   8464 	  then
   8465   	  # We have reworked collect2
   8466   	  :
   8467 	  else
   8468   	  # We have old collect2
   8469   	  hardcode_direct=unsupported
   8470   	  # It fails to find uninstalled libraries when the uninstalled
   8471   	  # path is not listed in the libpath.  Setting hardcode_minus_L
   8472   	  # to unsupported forces relinking
   8473   	  hardcode_minus_L=yes
   8474   	  hardcode_libdir_flag_spec='-L$libdir'
   8475   	  hardcode_libdir_separator=
   8476 	  fi
   8477 	  ;;
   8478 	esac
   8479 	shared_flag='-shared'
   8480 	if test "$aix_use_runtimelinking" = yes; then
   8481 	  shared_flag="$shared_flag "'${wl}-G'
   8482 	fi
   8483       else
   8484 	# not using gcc
   8485 	if test "$host_cpu" = ia64; then
   8486   	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   8487   	# chokes on -Wl,-G. The following line is correct:
   8488 	  shared_flag='-G'
   8489 	else
   8490 	  if test "$aix_use_runtimelinking" = yes; then
   8491 	    shared_flag='${wl}-G'
   8492 	  else
   8493 	    shared_flag='${wl}-bM:SRE'
   8494 	  fi
   8495 	fi
   8496       fi
   8497 
   8498       # It seems that -bexpall does not export symbols beginning with
   8499       # underscore (_), so it is better to generate a list of symbols to export.
   8500       always_export_symbols=yes
   8501       if test "$aix_use_runtimelinking" = yes; then
   8502 	# Warning - without using the other runtime loading flags (-brtl),
   8503 	# -berok will link without error, but may produce a broken library.
   8504 	allow_undefined_flag='-berok'
   8505        # Determine the default libpath from the value encoded in an empty executable.
   8506        cat >conftest.$ac_ext <<_ACEOF
   8507 /* confdefs.h.  */
   8508 _ACEOF
   8509 cat confdefs.h >>conftest.$ac_ext
   8510 cat >>conftest.$ac_ext <<_ACEOF
   8511 /* end confdefs.h.  */
   8512 
   8513 int
   8514 main ()
   8515 {
   8516 
   8517   ;
   8518   return 0;
   8519 }
   8520 _ACEOF
   8521 rm -f conftest.$ac_objext conftest$ac_exeext
   8522 if { (ac_try="$ac_link"
   8523 case "(($ac_try" in
   8524   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   8525   *) ac_try_echo=$ac_try;;
   8526 esac
   8527 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   8528 $as_echo "$ac_try_echo") >&5
   8529   (eval "$ac_link") 2>conftest.er1
   8530   ac_status=$?
   8531   grep -v '^ *+' conftest.er1 >conftest.err
   8532   rm -f conftest.er1
   8533   cat conftest.err >&5
   8534   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8535   (exit $ac_status); } && {
   8536 	 test -z "$ac_c_werror_flag" ||
   8537 	 test ! -s conftest.err
   8538        } && test -s conftest$ac_exeext && {
   8539 	 test "$cross_compiling" = yes ||
   8540 	 $as_test_x conftest$ac_exeext
   8541        }; then
   8542 
   8543 lt_aix_libpath_sed='
   8544     /Import File Strings/,/^$/ {
   8545 	/^0/ {
   8546 	    s/^0  *\(.*\)$/\1/
   8547 	    p
   8548 	}
   8549     }'
   8550 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   8551 # Check for a 64-bit object if we didn't find anything.
   8552 if test -z "$aix_libpath"; then
   8553   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   8554 fi
   8555 else
   8556   $as_echo "$as_me: failed program was:" >&5
   8557 sed 's/^/| /' conftest.$ac_ext >&5
   8558 
   8559 
   8560 fi
   8561 
   8562 rm -rf conftest.dSYM
   8563 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   8564       conftest$ac_exeext conftest.$ac_ext
   8565 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   8566 
   8567        hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   8568 	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"
   8569        else
   8570 	if test "$host_cpu" = ia64; then
   8571 	  hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
   8572 	  allow_undefined_flag="-z nodefs"
   8573 	  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"
   8574 	else
   8575 	 # Determine the default libpath from the value encoded in an empty executable.
   8576 	 cat >conftest.$ac_ext <<_ACEOF
   8577 /* confdefs.h.  */
   8578 _ACEOF
   8579 cat confdefs.h >>conftest.$ac_ext
   8580 cat >>conftest.$ac_ext <<_ACEOF
   8581 /* end confdefs.h.  */
   8582 
   8583 int
   8584 main ()
   8585 {
   8586 
   8587   ;
   8588   return 0;
   8589 }
   8590 _ACEOF
   8591 rm -f conftest.$ac_objext conftest$ac_exeext
   8592 if { (ac_try="$ac_link"
   8593 case "(($ac_try" in
   8594   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   8595   *) ac_try_echo=$ac_try;;
   8596 esac
   8597 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   8598 $as_echo "$ac_try_echo") >&5
   8599   (eval "$ac_link") 2>conftest.er1
   8600   ac_status=$?
   8601   grep -v '^ *+' conftest.er1 >conftest.err
   8602   rm -f conftest.er1
   8603   cat conftest.err >&5
   8604   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8605   (exit $ac_status); } && {
   8606 	 test -z "$ac_c_werror_flag" ||
   8607 	 test ! -s conftest.err
   8608        } && test -s conftest$ac_exeext && {
   8609 	 test "$cross_compiling" = yes ||
   8610 	 $as_test_x conftest$ac_exeext
   8611        }; then
   8612 
   8613 lt_aix_libpath_sed='
   8614     /Import File Strings/,/^$/ {
   8615 	/^0/ {
   8616 	    s/^0  *\(.*\)$/\1/
   8617 	    p
   8618 	}
   8619     }'
   8620 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   8621 # Check for a 64-bit object if we didn't find anything.
   8622 if test -z "$aix_libpath"; then
   8623   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   8624 fi
   8625 else
   8626   $as_echo "$as_me: failed program was:" >&5
   8627 sed 's/^/| /' conftest.$ac_ext >&5
   8628 
   8629 
   8630 fi
   8631 
   8632 rm -rf conftest.dSYM
   8633 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   8634       conftest$ac_exeext conftest.$ac_ext
   8635 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   8636 
   8637 	 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   8638 	  # Warning - without using the other run time loading flags,
   8639 	  # -berok will link without error, but may produce a broken library.
   8640 	  no_undefined_flag=' ${wl}-bernotok'
   8641 	  allow_undefined_flag=' ${wl}-berok'
   8642 	  # Exported symbols can be pulled into shared objects from archives
   8643 	  whole_archive_flag_spec='$convenience'
   8644 	  archive_cmds_need_lc=yes
   8645 	  # This is similar to how AIX traditionally builds its shared libraries.
   8646 	  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'
   8647 	fi
   8648       fi
   8649       ;;
   8650 
   8651     amigaos*)
   8652       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)'
   8653       hardcode_libdir_flag_spec='-L$libdir'
   8654       hardcode_minus_L=yes
   8655       # see comment about different semantics on the GNU ld section
   8656       ld_shlibs=no
   8657       ;;
   8658 
   8659     bsdi[45]*)
   8660       export_dynamic_flag_spec=-rdynamic
   8661       ;;
   8662 
   8663     cygwin* | mingw* | pw32*)
   8664       # When not using gcc, we currently assume that we are using
   8665       # Microsoft Visual C++.
   8666       # hardcode_libdir_flag_spec is actually meaningless, as there is
   8667       # no search path for DLLs.
   8668       hardcode_libdir_flag_spec=' '
   8669       allow_undefined_flag=unsupported
   8670       # Tell ltmain to make .lib files, not .a files.
   8671       libext=lib
   8672       # Tell ltmain to make .dll files, not .so files.
   8673       shrext_cmds=".dll"
   8674       # FIXME: Setting linknames here is a bad hack.
   8675       archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
   8676       # The linker will automatically build a .lib file if we build a DLL.
   8677       old_archive_From_new_cmds='true'
   8678       # FIXME: Should let the user specify the lib program.
   8679       old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
   8680       fix_srcfile_path='`cygpath -w "$srcfile"`'
   8681       enable_shared_with_static_runtimes=yes
   8682       ;;
   8683 
   8684     darwin* | rhapsody*)
   8685       case $host_os in
   8686         rhapsody* | darwin1.[012])
   8687          allow_undefined_flag='${wl}-undefined ${wl}suppress'
   8688          ;;
   8689        *) # Darwin 1.3 on
   8690          if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
   8691            allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   8692          else
   8693            case ${MACOSX_DEPLOYMENT_TARGET} in
   8694              10.[012])
   8695                allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   8696                ;;
   8697              10.*)
   8698                allow_undefined_flag='${wl}-undefined ${wl}dynamic_lookup'
   8699                ;;
   8700            esac
   8701          fi
   8702          ;;
   8703       esac
   8704       archive_cmds_need_lc=no
   8705       hardcode_direct=no
   8706       hardcode_automatic=yes
   8707       hardcode_shlibpath_var=unsupported
   8708       whole_archive_flag_spec=''
   8709       link_all_deplibs=yes
   8710     if test "$GCC" = yes ; then
   8711     	output_verbose_link_cmd='echo'
   8712         archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
   8713         module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
   8714         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}"
   8715         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}"
   8716     else
   8717       case $cc_basename in
   8718         xlc*)
   8719          output_verbose_link_cmd='echo'
   8720          archive_cmds='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
   8721          module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
   8722           # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
   8723          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}'
   8724           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}'
   8725           ;;
   8726        *)
   8727          ld_shlibs=no
   8728           ;;
   8729       esac
   8730     fi
   8731       ;;
   8732 
   8733     dgux*)
   8734       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8735       hardcode_libdir_flag_spec='-L$libdir'
   8736       hardcode_shlibpath_var=no
   8737       ;;
   8738 
   8739     freebsd1*)
   8740       ld_shlibs=no
   8741       ;;
   8742 
   8743     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   8744     # support.  Future versions do this automatically, but an explicit c++rt0.o
   8745     # does not break anything, and helps significantly (at the cost of a little
   8746     # extra space).
   8747     freebsd2.2*)
   8748       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   8749       hardcode_libdir_flag_spec='-R$libdir'
   8750       hardcode_direct=yes
   8751       hardcode_shlibpath_var=no
   8752       ;;
   8753 
   8754     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   8755     freebsd2*)
   8756       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   8757       hardcode_direct=yes
   8758       hardcode_minus_L=yes
   8759       hardcode_shlibpath_var=no
   8760       ;;
   8761 
   8762     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   8763     freebsd* | dragonfly*)
   8764       archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
   8765       hardcode_libdir_flag_spec='-R$libdir'
   8766       hardcode_direct=yes
   8767       hardcode_shlibpath_var=no
   8768       ;;
   8769 
   8770     hpux9*)
   8771       if test "$GCC" = yes; then
   8772 	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'
   8773       else
   8774 	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'
   8775       fi
   8776       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   8777       hardcode_libdir_separator=:
   8778       hardcode_direct=yes
   8779 
   8780       # hardcode_minus_L: Not really in the search PATH,
   8781       # but as the default location of the library.
   8782       hardcode_minus_L=yes
   8783       export_dynamic_flag_spec='${wl}-E'
   8784       ;;
   8785 
   8786     hpux10*)
   8787       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   8788 	archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   8789       else
   8790 	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   8791       fi
   8792       if test "$with_gnu_ld" = no; then
   8793 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   8794 	hardcode_libdir_separator=:
   8795 
   8796 	hardcode_direct=yes
   8797 	export_dynamic_flag_spec='${wl}-E'
   8798 
   8799 	# hardcode_minus_L: Not really in the search PATH,
   8800 	# but as the default location of the library.
   8801 	hardcode_minus_L=yes
   8802       fi
   8803       ;;
   8804 
   8805     hpux11*)
   8806       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   8807 	case $host_cpu in
   8808 	hppa*64*)
   8809 	  archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   8810 	  ;;
   8811 	ia64*)
   8812 	  archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   8813 	  ;;
   8814 	*)
   8815 	  archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   8816 	  ;;
   8817 	esac
   8818       else
   8819 	case $host_cpu in
   8820 	hppa*64*)
   8821 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   8822 	  ;;
   8823 	ia64*)
   8824 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   8825 	  ;;
   8826 	*)
   8827 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   8828 	  ;;
   8829 	esac
   8830       fi
   8831       if test "$with_gnu_ld" = no; then
   8832 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   8833 	hardcode_libdir_separator=:
   8834 
   8835 	case $host_cpu in
   8836 	hppa*64*|ia64*)
   8837 	  hardcode_libdir_flag_spec_ld='+b $libdir'
   8838 	  hardcode_direct=no
   8839 	  hardcode_shlibpath_var=no
   8840 	  ;;
   8841 	*)
   8842 	  hardcode_direct=yes
   8843 	  export_dynamic_flag_spec='${wl}-E'
   8844 
   8845 	  # hardcode_minus_L: Not really in the search PATH,
   8846 	  # but as the default location of the library.
   8847 	  hardcode_minus_L=yes
   8848 	  ;;
   8849 	esac
   8850       fi
   8851       ;;
   8852 
   8853     irix5* | irix6* | nonstopux*)
   8854       if test "$GCC" = yes; then
   8855 	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'
   8856       else
   8857 	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'
   8858 	hardcode_libdir_flag_spec_ld='-rpath $libdir'
   8859       fi
   8860       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8861       hardcode_libdir_separator=:
   8862       link_all_deplibs=yes
   8863       ;;
   8864 
   8865     netbsd*)
   8866       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   8867 	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   8868       else
   8869 	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   8870       fi
   8871       hardcode_libdir_flag_spec='-R$libdir'
   8872       hardcode_direct=yes
   8873       hardcode_shlibpath_var=no
   8874       ;;
   8875 
   8876     newsos6)
   8877       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8878       hardcode_direct=yes
   8879       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8880       hardcode_libdir_separator=:
   8881       hardcode_shlibpath_var=no
   8882       ;;
   8883 
   8884     openbsd*)
   8885       if test -f /usr/libexec/ld.so; then
   8886 	hardcode_direct=yes
   8887 	hardcode_shlibpath_var=no
   8888 	if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   8889 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   8890 	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
   8891 	  hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   8892 	  export_dynamic_flag_spec='${wl}-E'
   8893 	else
   8894 	  case $host_os in
   8895 	   openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
   8896 	     archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   8897 	     hardcode_libdir_flag_spec='-R$libdir'
   8898 	     ;;
   8899 	   *)
   8900 	     archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   8901 	     hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   8902 	     ;;
   8903 	  esac
   8904         fi
   8905       else
   8906 	ld_shlibs=no
   8907       fi
   8908       ;;
   8909 
   8910     os2*)
   8911       hardcode_libdir_flag_spec='-L$libdir'
   8912       hardcode_minus_L=yes
   8913       allow_undefined_flag=unsupported
   8914       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'
   8915       old_archive_From_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
   8916       ;;
   8917 
   8918     osf3*)
   8919       if test "$GCC" = yes; then
   8920 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   8921 	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'
   8922       else
   8923 	allow_undefined_flag=' -expect_unresolved \*'
   8924 	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'
   8925       fi
   8926       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8927       hardcode_libdir_separator=:
   8928       ;;
   8929 
   8930     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   8931       if test "$GCC" = yes; then
   8932 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   8933 	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'
   8934 	hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8935       else
   8936 	allow_undefined_flag=' -expect_unresolved \*'
   8937 	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'
   8938 	archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
   8939 	$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'
   8940 
   8941 	# Both c and cxx compiler support -rpath directly
   8942 	hardcode_libdir_flag_spec='-rpath $libdir'
   8943       fi
   8944       hardcode_libdir_separator=:
   8945       ;;
   8946 
   8947     solaris*)
   8948       no_undefined_flag=' -z text'
   8949       if test "$GCC" = yes; then
   8950 	wlarc='${wl}'
   8951 	archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   8952 	archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   8953 	  $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
   8954       else
   8955 	wlarc=''
   8956 	archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8957 	archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   8958   	$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
   8959       fi
   8960       hardcode_libdir_flag_spec='-R$libdir'
   8961       hardcode_shlibpath_var=no
   8962       case $host_os in
   8963       solaris2.[0-5] | solaris2.[0-5].*) ;;
   8964       *)
   8965 	# The compiler driver will combine and reorder linker options,
   8966 	# but understands `-z linker_flag'.  GCC discards it without `$wl',
   8967 	# but is careful enough not to reorder.
   8968  	# Supported since Solaris 2.6 (maybe 2.5.1?)
   8969 	if test "$GCC" = yes; then
   8970 	  whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
   8971 	else
   8972 	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
   8973 	fi
   8974 	;;
   8975       esac
   8976       link_all_deplibs=yes
   8977       ;;
   8978 
   8979     sunos4*)
   8980       if test "x$host_vendor" = xsequent; then
   8981 	# Use $CC to link under sequent, because it throws in some extra .o
   8982 	# files that make .init and .fini sections work.
   8983 	archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   8984       else
   8985 	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   8986       fi
   8987       hardcode_libdir_flag_spec='-L$libdir'
   8988       hardcode_direct=yes
   8989       hardcode_minus_L=yes
   8990       hardcode_shlibpath_var=no
   8991       ;;
   8992 
   8993     sysv4)
   8994       case $host_vendor in
   8995 	sni)
   8996 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8997 	  hardcode_direct=yes # is this really true???
   8998 	;;
   8999 	siemens)
   9000 	  ## LD is ld it makes a PLAMLIB
   9001 	  ## CC just makes a GrossModule.
   9002 	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   9003 	  reload_cmds='$CC -r -o $output$reload_objs'
   9004 	  hardcode_direct=no
   9005         ;;
   9006 	motorola)
   9007 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9008 	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
   9009 	;;
   9010       esac
   9011       runpath_var='LD_RUN_PATH'
   9012       hardcode_shlibpath_var=no
   9013       ;;
   9014 
   9015     sysv4.3*)
   9016       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9017       hardcode_shlibpath_var=no
   9018       export_dynamic_flag_spec='-Bexport'
   9019       ;;
   9020 
   9021     sysv4*MP*)
   9022       if test -d /usr/nec; then
   9023 	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9024 	hardcode_shlibpath_var=no
   9025 	runpath_var=LD_RUN_PATH
   9026 	hardcode_runpath_var=yes
   9027 	ld_shlibs=yes
   9028       fi
   9029       ;;
   9030 
   9031     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   9032       no_undefined_flag='${wl}-z,text'
   9033       archive_cmds_need_lc=no
   9034       hardcode_shlibpath_var=no
   9035       runpath_var='LD_RUN_PATH'
   9036 
   9037       if test "$GCC" = yes; then
   9038 	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9039 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9040       else
   9041 	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9042 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9043       fi
   9044       ;;
   9045 
   9046     sysv5* | sco3.2v5* | sco5v6*)
   9047       # Note: We can NOT use -z defs as we might desire, because we do not
   9048       # link with -lc, and that would cause any symbols used from libc to
   9049       # always be unresolved, which means just about no library would
   9050       # ever link correctly.  If we're not using GNU ld we use -z text
   9051       # though, which does catch some bad symbols but isn't as heavy-handed
   9052       # as -z defs.
   9053       no_undefined_flag='${wl}-z,text'
   9054       allow_undefined_flag='${wl}-z,nodefs'
   9055       archive_cmds_need_lc=no
   9056       hardcode_shlibpath_var=no
   9057       hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
   9058       hardcode_libdir_separator=':'
   9059       link_all_deplibs=yes
   9060       export_dynamic_flag_spec='${wl}-Bexport'
   9061       runpath_var='LD_RUN_PATH'
   9062 
   9063       if test "$GCC" = yes; then
   9064 	archive_cmds='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   9065 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   9066       else
   9067 	archive_cmds='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   9068 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   9069       fi
   9070       ;;
   9071 
   9072     uts4*)
   9073       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9074       hardcode_libdir_flag_spec='-L$libdir'
   9075       hardcode_shlibpath_var=no
   9076       ;;
   9077 
   9078     *)
   9079       ld_shlibs=no
   9080       ;;
   9081     esac
   9082   fi
   9083 
   9084 { $as_echo "$as_me:$LINENO: result: $ld_shlibs" >&5
   9085 $as_echo "$ld_shlibs" >&6; }
   9086 test "$ld_shlibs" = no && can_build_shared=no
   9087 
   9088 #
   9089 # Do we need to explicitly link libc?
   9090 #
   9091 case "x$archive_cmds_need_lc" in
   9092 x|xyes)
   9093   # Assume -lc should be added
   9094   archive_cmds_need_lc=yes
   9095 
   9096   if test "$enable_shared" = yes && test "$GCC" = yes; then
   9097     case $archive_cmds in
   9098     *'~'*)
   9099       # FIXME: we may have to deal with multi-command sequences.
   9100       ;;
   9101     '$CC '*)
   9102       # Test whether the compiler implicitly links with -lc since on some
   9103       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   9104       # to ld, don't add -lc before -lgcc.
   9105       { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
   9106 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
   9107       $rm conftest*
   9108       echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   9109 
   9110       if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   9111   (eval $ac_compile) 2>&5
   9112   ac_status=$?
   9113   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9114   (exit $ac_status); } 2>conftest.err; then
   9115         soname=conftest
   9116         lib=conftest
   9117         libobjs=conftest.$ac_objext
   9118         deplibs=
   9119         wl=$lt_prog_compiler_wl
   9120 	pic_flag=$lt_prog_compiler_pic
   9121         compiler_flags=-v
   9122         linker_flags=-v
   9123         verstring=
   9124         output_objdir=.
   9125         libname=conftest
   9126         lt_save_allow_undefined_flag=$allow_undefined_flag
   9127         allow_undefined_flag=
   9128         if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
   9129   (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
   9130   ac_status=$?
   9131   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9132   (exit $ac_status); }
   9133         then
   9134 	  archive_cmds_need_lc=no
   9135         else
   9136 	  archive_cmds_need_lc=yes
   9137         fi
   9138         allow_undefined_flag=$lt_save_allow_undefined_flag
   9139       else
   9140         cat conftest.err 1>&5
   9141       fi
   9142       $rm conftest*
   9143       { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
   9144 $as_echo "$archive_cmds_need_lc" >&6; }
   9145       ;;
   9146     esac
   9147   fi
   9148   ;;
   9149 esac
   9150 
   9151 { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
   9152 $as_echo_n "checking dynamic linker characteristics... " >&6; }
   9153 library_names_spec=
   9154 libname_spec='lib$name'
   9155 soname_spec=
   9156 shrext_cmds=".so"
   9157 postinstall_cmds=
   9158 postuninstall_cmds=
   9159 finish_cmds=
   9160 finish_eval=
   9161 shlibpath_var=
   9162 shlibpath_overrides_runpath=unknown
   9163 version_type=none
   9164 dynamic_linker="$host_os ld.so"
   9165 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   9166 
   9167 if test "$GCC" = yes; then
   9168   case $host_os in
   9169     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
   9170     *) lt_awk_arg="/^libraries:/" ;;
   9171   esac
   9172   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   9173   if echo "$lt_search_path_spec" | grep ';' >/dev/null ; then
   9174     # if the path contains ";" then we assume it to be the separator
   9175     # otherwise default to the standard path separator (i.e. ":") - it is
   9176     # assumed that no part of a normal pathname contains ";" but that should
   9177     # okay in the real world where ";" in dirpaths is itself problematic.
   9178     lt_search_path_spec=`echo "$lt_search_path_spec" | $SED -e 's/;/ /g'`
   9179   else
   9180     lt_search_path_spec=`echo "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   9181   fi
   9182   # Ok, now we have the path, separated by spaces, we can step through it
   9183   # and add multilib dir if necessary.
   9184   lt_tmp_lt_search_path_spec=
   9185   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
   9186   for lt_sys_path in $lt_search_path_spec; do
   9187     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
   9188       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
   9189     else
   9190       test -d "$lt_sys_path" && \
   9191 	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
   9192     fi
   9193   done
   9194   lt_search_path_spec=`echo $lt_tmp_lt_search_path_spec | awk '
   9195 BEGIN {RS=" "; FS="/|\n";} {
   9196   lt_foo="";
   9197   lt_count=0;
   9198   for (lt_i = NF; lt_i > 0; lt_i--) {
   9199     if ($lt_i != "" && $lt_i != ".") {
   9200       if ($lt_i == "..") {
   9201         lt_count++;
   9202       } else {
   9203         if (lt_count == 0) {
   9204           lt_foo="/" $lt_i lt_foo;
   9205         } else {
   9206           lt_count--;
   9207         }
   9208       }
   9209     }
   9210   }
   9211   if (lt_foo != "") { lt_freq[lt_foo]++; }
   9212   if (lt_freq[lt_foo] == 1) { print lt_foo; }
   9213 }'`
   9214   sys_lib_search_path_spec=`echo $lt_search_path_spec`
   9215 else
   9216   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   9217 fi
   9218 need_lib_prefix=unknown
   9219 hardcode_into_libs=no
   9220 
   9221 # when you set need_version to no, make sure it does not cause -set_version
   9222 # flags to be left without arguments
   9223 need_version=unknown
   9224 
   9225 case $host_os in
   9226 aix3*)
   9227   version_type=linux
   9228   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   9229   shlibpath_var=LIBPATH
   9230 
   9231   # AIX 3 has no versioning support, so we append a major version to the name.
   9232   soname_spec='${libname}${release}${shared_ext}$major'
   9233   ;;
   9234 
   9235 aix[4-9]*)
   9236   version_type=linux
   9237   need_lib_prefix=no
   9238   need_version=no
   9239   hardcode_into_libs=yes
   9240   if test "$host_cpu" = ia64; then
   9241     # AIX 5 supports IA64
   9242     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
   9243     shlibpath_var=LD_LIBRARY_PATH
   9244   else
   9245     # With GCC up to 2.95.x, collect2 would create an import file
   9246     # for dependence libraries.  The import file would start with
   9247     # the line `#! .'.  This would cause the generated library to
   9248     # depend on `.', always an invalid library.  This was fixed in
   9249     # development snapshots of GCC prior to 3.0.
   9250     case $host_os in
   9251       aix4 | aix4.[01] | aix4.[01].*)
   9252       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   9253 	   echo ' yes '
   9254 	   echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
   9255 	:
   9256       else
   9257 	can_build_shared=no
   9258       fi
   9259       ;;
   9260     esac
   9261     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
   9262     # soname into executable. Probably we can add versioning support to
   9263     # collect2, so additional links can be useful in future.
   9264     if test "$aix_use_runtimelinking" = yes; then
   9265       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   9266       # instead of lib<name>.a to let people know that these are not
   9267       # typical AIX shared libraries.
   9268       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9269     else
   9270       # We preserve .a as extension for shared libraries through AIX4.2
   9271       # and later when we are not doing run time linking.
   9272       library_names_spec='${libname}${release}.a $libname.a'
   9273       soname_spec='${libname}${release}${shared_ext}$major'
   9274     fi
   9275     shlibpath_var=LIBPATH
   9276   fi
   9277   ;;
   9278 
   9279 amigaos*)
   9280   library_names_spec='$libname.ixlibrary $libname.a'
   9281   # Create ${libname}_ixlibrary.a entries in /sys/libs.
   9282   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'
   9283   ;;
   9284 
   9285 beos*)
   9286   library_names_spec='${libname}${shared_ext}'
   9287   dynamic_linker="$host_os ld.so"
   9288   shlibpath_var=LIBRARY_PATH
   9289   ;;
   9290 
   9291 bsdi[45]*)
   9292   version_type=linux
   9293   need_version=no
   9294   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9295   soname_spec='${libname}${release}${shared_ext}$major'
   9296   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   9297   shlibpath_var=LD_LIBRARY_PATH
   9298   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   9299   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   9300   # the default ld.so.conf also contains /usr/contrib/lib and
   9301   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   9302   # libtool to hard-code these into programs
   9303   ;;
   9304 
   9305 cygwin* | mingw* | pw32*)
   9306   version_type=windows
   9307   shrext_cmds=".dll"
   9308   need_version=no
   9309   need_lib_prefix=no
   9310 
   9311   case $GCC,$host_os in
   9312   yes,cygwin* | yes,mingw* | yes,pw32*)
   9313     library_names_spec='$libname.dll.a'
   9314     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   9315     postinstall_cmds='base_file=`basename \${file}`~
   9316       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
   9317       dldir=$destdir/`dirname \$dlpath`~
   9318       test -d \$dldir || mkdir -p \$dldir~
   9319       $install_prog $dir/$dlname \$dldir/$dlname~
   9320       chmod a+x \$dldir/$dlname'
   9321     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   9322       dlpath=$dir/\$dldll~
   9323        $rm \$dlpath'
   9324     shlibpath_overrides_runpath=yes
   9325 
   9326     case $host_os in
   9327     cygwin*)
   9328       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   9329       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   9330       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
   9331       ;;
   9332     mingw*)
   9333       # MinGW DLLs use traditional 'lib' prefix
   9334       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   9335       sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   9336       if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
   9337         # It is most probably a Windows format PATH printed by
   9338         # mingw gcc, but we are running on Cygwin. Gcc prints its search
   9339         # path with ; separators, and with drive letters. We can handle the
   9340         # drive letters (cygwin fileutils understands them), so leave them,
   9341         # especially as we might pass files found there to a mingw objdump,
   9342         # which wouldn't understand a cygwinified path. Ahh.
   9343         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   9344       else
   9345         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   9346       fi
   9347       ;;
   9348     pw32*)
   9349       # pw32 DLLs use 'pw' prefix rather than 'lib'
   9350       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   9351       ;;
   9352     esac
   9353     ;;
   9354 
   9355   *)
   9356     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
   9357     ;;
   9358   esac
   9359   dynamic_linker='Win32 ld.exe'
   9360   # FIXME: first we should search . and the directory the executable is in
   9361   shlibpath_var=PATH
   9362   ;;
   9363 
   9364 darwin* | rhapsody*)
   9365   dynamic_linker="$host_os dyld"
   9366   version_type=darwin
   9367   need_lib_prefix=no
   9368   need_version=no
   9369   library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
   9370   soname_spec='${libname}${release}${major}$shared_ext'
   9371   shlibpath_overrides_runpath=yes
   9372   shlibpath_var=DYLD_LIBRARY_PATH
   9373   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   9374 
   9375   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
   9376   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   9377   ;;
   9378 
   9379 dgux*)
   9380   version_type=linux
   9381   need_lib_prefix=no
   9382   need_version=no
   9383   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
   9384   soname_spec='${libname}${release}${shared_ext}$major'
   9385   shlibpath_var=LD_LIBRARY_PATH
   9386   ;;
   9387 
   9388 freebsd1*)
   9389   dynamic_linker=no
   9390   ;;
   9391 
   9392 freebsd* | dragonfly*)
   9393   # DragonFly does not have aout.  When/if they implement a new
   9394   # versioning mechanism, adjust this.
   9395   if test -x /usr/bin/objformat; then
   9396     objformat=`/usr/bin/objformat`
   9397   else
   9398     case $host_os in
   9399     freebsd[123]*) objformat=aout ;;
   9400     *) objformat=elf ;;
   9401     esac
   9402   fi
   9403   version_type=freebsd-$objformat
   9404   case $version_type in
   9405     freebsd-elf*)
   9406       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   9407       need_version=no
   9408       need_lib_prefix=no
   9409       ;;
   9410     freebsd-*)
   9411       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
   9412       need_version=yes
   9413       ;;
   9414   esac
   9415   shlibpath_var=LD_LIBRARY_PATH
   9416   case $host_os in
   9417   freebsd2*)
   9418     shlibpath_overrides_runpath=yes
   9419     ;;
   9420   freebsd3.[01]* | freebsdelf3.[01]*)
   9421     shlibpath_overrides_runpath=yes
   9422     hardcode_into_libs=yes
   9423     ;;
   9424   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   9425   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   9426     shlibpath_overrides_runpath=no
   9427     hardcode_into_libs=yes
   9428     ;;
   9429   *) # from 4.6 on, and DragonFly
   9430     shlibpath_overrides_runpath=yes
   9431     hardcode_into_libs=yes
   9432     ;;
   9433   esac
   9434   ;;
   9435 
   9436 gnu*)
   9437   version_type=linux
   9438   need_lib_prefix=no
   9439   need_version=no
   9440   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   9441   soname_spec='${libname}${release}${shared_ext}$major'
   9442   shlibpath_var=LD_LIBRARY_PATH
   9443   hardcode_into_libs=yes
   9444   ;;
   9445 
   9446 hpux9* | hpux10* | hpux11*)
   9447   # Give a soname corresponding to the major version so that dld.sl refuses to
   9448   # link against other versions.
   9449   version_type=sunos
   9450   need_lib_prefix=no
   9451   need_version=no
   9452   case $host_cpu in
   9453   ia64*)
   9454     shrext_cmds='.so'
   9455     hardcode_into_libs=yes
   9456     dynamic_linker="$host_os dld.so"
   9457     shlibpath_var=LD_LIBRARY_PATH
   9458     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   9459     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9460     soname_spec='${libname}${release}${shared_ext}$major'
   9461     if test "X$HPUX_IA64_MODE" = X32; then
   9462       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   9463     else
   9464       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   9465     fi
   9466     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   9467     ;;
   9468    hppa*64*)
   9469      shrext_cmds='.sl'
   9470      hardcode_into_libs=yes
   9471      dynamic_linker="$host_os dld.sl"
   9472      shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   9473      shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   9474      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9475      soname_spec='${libname}${release}${shared_ext}$major'
   9476      sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   9477      sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   9478      ;;
   9479    *)
   9480     shrext_cmds='.sl'
   9481     dynamic_linker="$host_os dld.sl"
   9482     shlibpath_var=SHLIB_PATH
   9483     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   9484     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9485     soname_spec='${libname}${release}${shared_ext}$major'
   9486     ;;
   9487   esac
   9488   # HP-UX runs *really* slowly unless shared libraries are mode 555.
   9489   postinstall_cmds='chmod 555 $lib'
   9490   ;;
   9491 
   9492 interix[3-9]*)
   9493   version_type=linux
   9494   need_lib_prefix=no
   9495   need_version=no
   9496   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   9497   soname_spec='${libname}${release}${shared_ext}$major'
   9498   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   9499   shlibpath_var=LD_LIBRARY_PATH
   9500   shlibpath_overrides_runpath=no
   9501   hardcode_into_libs=yes
   9502   ;;
   9503 
   9504 irix5* | irix6* | nonstopux*)
   9505   case $host_os in
   9506     nonstopux*) version_type=nonstopux ;;
   9507     *)
   9508 	if test "$lt_cv_prog_gnu_ld" = yes; then
   9509 		version_type=linux
   9510 	else
   9511 		version_type=irix
   9512 	fi ;;
   9513   esac
   9514   need_lib_prefix=no
   9515   need_version=no
   9516   soname_spec='${libname}${release}${shared_ext}$major'
   9517   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
   9518   case $host_os in
   9519   irix5* | nonstopux*)
   9520     libsuff= shlibsuff=
   9521     ;;
   9522   *)
   9523     case $LD in # libtool.m4 will add one of these switches to LD
   9524     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   9525       libsuff= shlibsuff= libmagic=32-bit;;
   9526     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   9527       libsuff=32 shlibsuff=N32 libmagic=N32;;
   9528     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   9529       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   9530     *) libsuff= shlibsuff= libmagic=never-match;;
   9531     esac
   9532     ;;
   9533   esac
   9534   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   9535   shlibpath_overrides_runpath=no
   9536   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   9537   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   9538   hardcode_into_libs=yes
   9539   ;;
   9540 
   9541 # No shared lib support for Linux oldld, aout, or coff.
   9542 linux*oldld* | linux*aout* | linux*coff*)
   9543   dynamic_linker=no
   9544   ;;
   9545 
   9546 # This must be Linux ELF.
   9547 linux* | k*bsd*-gnu)
   9548   version_type=linux
   9549   need_lib_prefix=no
   9550   need_version=no
   9551   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9552   soname_spec='${libname}${release}${shared_ext}$major'
   9553   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   9554   shlibpath_var=LD_LIBRARY_PATH
   9555   shlibpath_overrides_runpath=no
   9556   # This implies no fast_install, which is unacceptable.
   9557   # Some rework will be needed to allow for fast_install
   9558   # before this can be enabled.
   9559   hardcode_into_libs=yes
   9560 
   9561   # Append ld.so.conf contents to the search path
   9562   if test -f /etc/ld.so.conf; then
   9563     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' ' '`
   9564     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   9565   fi
   9566 
   9567   # We used to test for /lib/ld.so.1 and disable shared libraries on
   9568   # powerpc, because MkLinux only supported shared libraries with the
   9569   # GNU dynamic linker.  Since this was broken with cross compilers,
   9570   # most powerpc-linux boxes support dynamic linking these days and
   9571   # people can always --disable-shared, the test was removed, and we
   9572   # assume the GNU/Linux dynamic linker is in use.
   9573   dynamic_linker='GNU/Linux ld.so'
   9574   ;;
   9575 
   9576 netbsd*)
   9577   version_type=sunos
   9578   need_lib_prefix=no
   9579   need_version=no
   9580   if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   9581     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   9582     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   9583     dynamic_linker='NetBSD (a.out) ld.so'
   9584   else
   9585     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   9586     soname_spec='${libname}${release}${shared_ext}$major'
   9587     dynamic_linker='NetBSD ld.elf_so'
   9588   fi
   9589   shlibpath_var=LD_LIBRARY_PATH
   9590   shlibpath_overrides_runpath=yes
   9591   hardcode_into_libs=yes
   9592   ;;
   9593 
   9594 newsos6)
   9595   version_type=linux
   9596   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9597   shlibpath_var=LD_LIBRARY_PATH
   9598   shlibpath_overrides_runpath=yes
   9599   ;;
   9600 
   9601 nto-qnx*)
   9602   version_type=linux
   9603   need_lib_prefix=no
   9604   need_version=no
   9605   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9606   soname_spec='${libname}${release}${shared_ext}$major'
   9607   shlibpath_var=LD_LIBRARY_PATH
   9608   shlibpath_overrides_runpath=yes
   9609   ;;
   9610 
   9611 openbsd*)
   9612   version_type=sunos
   9613   sys_lib_dlsearch_path_spec="/usr/lib"
   9614   need_lib_prefix=no
   9615   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
   9616   case $host_os in
   9617     openbsd3.3 | openbsd3.3.*) need_version=yes ;;
   9618     *)                         need_version=no  ;;
   9619   esac
   9620   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   9621   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   9622   shlibpath_var=LD_LIBRARY_PATH
   9623   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   9624     case $host_os in
   9625       openbsd2.[89] | openbsd2.[89].*)
   9626 	shlibpath_overrides_runpath=no
   9627 	;;
   9628       *)
   9629 	shlibpath_overrides_runpath=yes
   9630 	;;
   9631       esac
   9632   else
   9633     shlibpath_overrides_runpath=yes
   9634   fi
   9635   ;;
   9636 
   9637 os2*)
   9638   libname_spec='$name'
   9639   shrext_cmds=".dll"
   9640   need_lib_prefix=no
   9641   library_names_spec='$libname${shared_ext} $libname.a'
   9642   dynamic_linker='OS/2 ld.exe'
   9643   shlibpath_var=LIBPATH
   9644   ;;
   9645 
   9646 osf3* | osf4* | osf5*)
   9647   version_type=osf
   9648   need_lib_prefix=no
   9649   need_version=no
   9650   soname_spec='${libname}${release}${shared_ext}$major'
   9651   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9652   shlibpath_var=LD_LIBRARY_PATH
   9653   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   9654   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   9655   ;;
   9656 
   9657 rdos*)
   9658   dynamic_linker=no
   9659   ;;
   9660 
   9661 solaris*)
   9662   version_type=linux
   9663   need_lib_prefix=no
   9664   need_version=no
   9665   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9666   soname_spec='${libname}${release}${shared_ext}$major'
   9667   shlibpath_var=LD_LIBRARY_PATH
   9668   shlibpath_overrides_runpath=yes
   9669   hardcode_into_libs=yes
   9670   # ldd complains unless libraries are executable
   9671   postinstall_cmds='chmod +x $lib'
   9672   ;;
   9673 
   9674 sunos4*)
   9675   version_type=sunos
   9676   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   9677   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   9678   shlibpath_var=LD_LIBRARY_PATH
   9679   shlibpath_overrides_runpath=yes
   9680   if test "$with_gnu_ld" = yes; then
   9681     need_lib_prefix=no
   9682   fi
   9683   need_version=yes
   9684   ;;
   9685 
   9686 sysv4 | sysv4.3*)
   9687   version_type=linux
   9688   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9689   soname_spec='${libname}${release}${shared_ext}$major'
   9690   shlibpath_var=LD_LIBRARY_PATH
   9691   case $host_vendor in
   9692     sni)
   9693       shlibpath_overrides_runpath=no
   9694       need_lib_prefix=no
   9695       export_dynamic_flag_spec='${wl}-Blargedynsym'
   9696       runpath_var=LD_RUN_PATH
   9697       ;;
   9698     siemens)
   9699       need_lib_prefix=no
   9700       ;;
   9701     motorola)
   9702       need_lib_prefix=no
   9703       need_version=no
   9704       shlibpath_overrides_runpath=no
   9705       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   9706       ;;
   9707   esac
   9708   ;;
   9709 
   9710 sysv4*MP*)
   9711   if test -d /usr/nec ;then
   9712     version_type=linux
   9713     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
   9714     soname_spec='$libname${shared_ext}.$major'
   9715     shlibpath_var=LD_LIBRARY_PATH
   9716   fi
   9717   ;;
   9718 
   9719 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   9720   version_type=freebsd-elf
   9721   need_lib_prefix=no
   9722   need_version=no
   9723   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   9724   soname_spec='${libname}${release}${shared_ext}$major'
   9725   shlibpath_var=LD_LIBRARY_PATH
   9726   hardcode_into_libs=yes
   9727   if test "$with_gnu_ld" = yes; then
   9728     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   9729     shlibpath_overrides_runpath=no
   9730   else
   9731     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   9732     shlibpath_overrides_runpath=yes
   9733     case $host_os in
   9734       sco3.2v5*)
   9735         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   9736 	;;
   9737     esac
   9738   fi
   9739   sys_lib_dlsearch_path_spec='/usr/lib'
   9740   ;;
   9741 
   9742 uts4*)
   9743   version_type=linux
   9744   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9745   soname_spec='${libname}${release}${shared_ext}$major'
   9746   shlibpath_var=LD_LIBRARY_PATH
   9747   ;;
   9748 
   9749 *)
   9750   dynamic_linker=no
   9751   ;;
   9752 esac
   9753 { $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
   9754 $as_echo "$dynamic_linker" >&6; }
   9755 test "$dynamic_linker" = no && can_build_shared=no
   9756 
   9757 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
   9758   $as_echo_n "(cached) " >&6
   9759 else
   9760   lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
   9761 fi
   9762 
   9763 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
   9764 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
   9765   $as_echo_n "(cached) " >&6
   9766 else
   9767   lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
   9768 fi
   9769 
   9770 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
   9771 
   9772 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   9773 if test "$GCC" = yes; then
   9774   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   9775 fi
   9776 
   9777 { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
   9778 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
   9779 hardcode_action=
   9780 if test -n "$hardcode_libdir_flag_spec" || \
   9781    test -n "$runpath_var" || \
   9782    test "X$hardcode_automatic" = "Xyes" ; then
   9783 
   9784   # We can hardcode non-existant directories.
   9785   if test "$hardcode_direct" != no &&
   9786      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   9787      # have to relink, otherwise we might link with an installed library
   9788      # when we should be linking with a yet-to-be-installed one
   9789      ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
   9790      test "$hardcode_minus_L" != no; then
   9791     # Linking always hardcodes the temporary library directory.
   9792     hardcode_action=relink
   9793   else
   9794     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   9795     hardcode_action=immediate
   9796   fi
   9797 else
   9798   # We cannot hardcode anything, or else we can only hardcode existing
   9799   # directories.
   9800   hardcode_action=unsupported
   9801 fi
   9802 { $as_echo "$as_me:$LINENO: result: $hardcode_action" >&5
   9803 $as_echo "$hardcode_action" >&6; }
   9804 
   9805 if test "$hardcode_action" = relink; then
   9806   # Fast installation is not supported
   9807   enable_fast_install=no
   9808 elif test "$shlibpath_overrides_runpath" = yes ||
   9809      test "$enable_shared" = no; then
   9810   # Fast installation is not necessary
   9811   enable_fast_install=needless
   9812 fi
   9813 
   9814 striplib=
   9815 old_striplib=
   9816 { $as_echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
   9817 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
   9818 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
   9819   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
   9820   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
   9821   { $as_echo "$as_me:$LINENO: result: yes" >&5
   9822 $as_echo "yes" >&6; }
   9823 else
   9824 # FIXME - insert some real tests, host_os isn't really good enough
   9825   case $host_os in
   9826    darwin*)
   9827        if test -n "$STRIP" ; then
   9828          striplib="$STRIP -x"
   9829          old_striplib="$STRIP -S"
   9830          { $as_echo "$as_me:$LINENO: result: yes" >&5
   9831 $as_echo "yes" >&6; }
   9832        else
   9833   { $as_echo "$as_me:$LINENO: result: no" >&5
   9834 $as_echo "no" >&6; }
   9835 fi
   9836        ;;
   9837    *)
   9838   { $as_echo "$as_me:$LINENO: result: no" >&5
   9839 $as_echo "no" >&6; }
   9840     ;;
   9841   esac
   9842 fi
   9843 
   9844 if test "x$enable_dlopen" != xyes; then
   9845   enable_dlopen=unknown
   9846   enable_dlopen_self=unknown
   9847   enable_dlopen_self_static=unknown
   9848 else
   9849   lt_cv_dlopen=no
   9850   lt_cv_dlopen_libs=
   9851 
   9852   case $host_os in
   9853   beos*)
   9854     lt_cv_dlopen="load_add_on"
   9855     lt_cv_dlopen_libs=
   9856     lt_cv_dlopen_self=yes
   9857     ;;
   9858 
   9859   mingw* | pw32*)
   9860     lt_cv_dlopen="LoadLibrary"
   9861     lt_cv_dlopen_libs=
   9862    ;;
   9863 
   9864   cygwin*)
   9865     lt_cv_dlopen="dlopen"
   9866     lt_cv_dlopen_libs=
   9867    ;;
   9868 
   9869   darwin*)
   9870   # if libdl is installed we need to link against it
   9871     { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
   9872 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   9873 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
   9874   $as_echo_n "(cached) " >&6
   9875 else
   9876   ac_check_lib_save_LIBS=$LIBS
   9877 LIBS="-ldl  $LIBS"
   9878 cat >conftest.$ac_ext <<_ACEOF
   9879 /* confdefs.h.  */
   9880 _ACEOF
   9881 cat confdefs.h >>conftest.$ac_ext
   9882 cat >>conftest.$ac_ext <<_ACEOF
   9883 /* end confdefs.h.  */
   9884 
   9885 /* Override any GCC internal prototype to avoid an error.
   9886    Use char because int might match the return type of a GCC
   9887    builtin and then its argument prototype would still apply.  */
   9888 #ifdef __cplusplus
   9889 extern "C"
   9890 #endif
   9891 char dlopen ();
   9892 int
   9893 main ()
   9894 {
   9895 return dlopen ();
   9896   ;
   9897   return 0;
   9898 }
   9899 _ACEOF
   9900 rm -f conftest.$ac_objext conftest$ac_exeext
   9901 if { (ac_try="$ac_link"
   9902 case "(($ac_try" in
   9903   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   9904   *) ac_try_echo=$ac_try;;
   9905 esac
   9906 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   9907 $as_echo "$ac_try_echo") >&5
   9908   (eval "$ac_link") 2>conftest.er1
   9909   ac_status=$?
   9910   grep -v '^ *+' conftest.er1 >conftest.err
   9911   rm -f conftest.er1
   9912   cat conftest.err >&5
   9913   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9914   (exit $ac_status); } && {
   9915 	 test -z "$ac_c_werror_flag" ||
   9916 	 test ! -s conftest.err
   9917        } && test -s conftest$ac_exeext && {
   9918 	 test "$cross_compiling" = yes ||
   9919 	 $as_test_x conftest$ac_exeext
   9920        }; then
   9921   ac_cv_lib_dl_dlopen=yes
   9922 else
   9923   $as_echo "$as_me: failed program was:" >&5
   9924 sed 's/^/| /' conftest.$ac_ext >&5
   9925 
   9926 	ac_cv_lib_dl_dlopen=no
   9927 fi
   9928 
   9929 rm -rf conftest.dSYM
   9930 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   9931       conftest$ac_exeext conftest.$ac_ext
   9932 LIBS=$ac_check_lib_save_LIBS
   9933 fi
   9934 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
   9935 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   9936 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
   9937   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   9938 else
   9939 
   9940     lt_cv_dlopen="dyld"
   9941     lt_cv_dlopen_libs=
   9942     lt_cv_dlopen_self=yes
   9943 
   9944 fi
   9945 
   9946    ;;
   9947 
   9948   *)
   9949     { $as_echo "$as_me:$LINENO: checking for shl_load" >&5
   9950 $as_echo_n "checking for shl_load... " >&6; }
   9951 if test "${ac_cv_func_shl_load+set}" = set; then
   9952   $as_echo_n "(cached) " >&6
   9953 else
   9954   cat >conftest.$ac_ext <<_ACEOF
   9955 /* confdefs.h.  */
   9956 _ACEOF
   9957 cat confdefs.h >>conftest.$ac_ext
   9958 cat >>conftest.$ac_ext <<_ACEOF
   9959 /* end confdefs.h.  */
   9960 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
   9961    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   9962 #define shl_load innocuous_shl_load
   9963 
   9964 /* System header to define __stub macros and hopefully few prototypes,
   9965     which can conflict with char shl_load (); below.
   9966     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   9967     <limits.h> exists even on freestanding compilers.  */
   9968 
   9969 #ifdef __STDC__
   9970 # include <limits.h>
   9971 #else
   9972 # include <assert.h>
   9973 #endif
   9974 
   9975 #undef shl_load
   9976 
   9977 /* Override any GCC internal prototype to avoid an error.
   9978    Use char because int might match the return type of a GCC
   9979    builtin and then its argument prototype would still apply.  */
   9980 #ifdef __cplusplus
   9981 extern "C"
   9982 #endif
   9983 char shl_load ();
   9984 /* The GNU C library defines this for functions which it implements
   9985     to always fail with ENOSYS.  Some functions are actually named
   9986     something starting with __ and the normal name is an alias.  */
   9987 #if defined __stub_shl_load || defined __stub___shl_load
   9988 choke me
   9989 #endif
   9990 
   9991 int
   9992 main ()
   9993 {
   9994 return shl_load ();
   9995   ;
   9996   return 0;
   9997 }
   9998 _ACEOF
   9999 rm -f conftest.$ac_objext conftest$ac_exeext
   10000 if { (ac_try="$ac_link"
   10001 case "(($ac_try" in
   10002   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   10003   *) ac_try_echo=$ac_try;;
   10004 esac
   10005 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   10006 $as_echo "$ac_try_echo") >&5
   10007   (eval "$ac_link") 2>conftest.er1
   10008   ac_status=$?
   10009   grep -v '^ *+' conftest.er1 >conftest.err
   10010   rm -f conftest.er1
   10011   cat conftest.err >&5
   10012   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10013   (exit $ac_status); } && {
   10014 	 test -z "$ac_c_werror_flag" ||
   10015 	 test ! -s conftest.err
   10016        } && test -s conftest$ac_exeext && {
   10017 	 test "$cross_compiling" = yes ||
   10018 	 $as_test_x conftest$ac_exeext
   10019        }; then
   10020   ac_cv_func_shl_load=yes
   10021 else
   10022   $as_echo "$as_me: failed program was:" >&5
   10023 sed 's/^/| /' conftest.$ac_ext >&5
   10024 
   10025 	ac_cv_func_shl_load=no
   10026 fi
   10027 
   10028 rm -rf conftest.dSYM
   10029 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   10030       conftest$ac_exeext conftest.$ac_ext
   10031 fi
   10032 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
   10033 $as_echo "$ac_cv_func_shl_load" >&6; }
   10034 if test "x$ac_cv_func_shl_load" = x""yes; then
   10035   lt_cv_dlopen="shl_load"
   10036 else
   10037   { $as_echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
   10038 $as_echo_n "checking for shl_load in -ldld... " >&6; }
   10039 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
   10040   $as_echo_n "(cached) " >&6
   10041 else
   10042   ac_check_lib_save_LIBS=$LIBS
   10043 LIBS="-ldld  $LIBS"
   10044 cat >conftest.$ac_ext <<_ACEOF
   10045 /* confdefs.h.  */
   10046 _ACEOF
   10047 cat confdefs.h >>conftest.$ac_ext
   10048 cat >>conftest.$ac_ext <<_ACEOF
   10049 /* end confdefs.h.  */
   10050 
   10051 /* Override any GCC internal prototype to avoid an error.
   10052    Use char because int might match the return type of a GCC
   10053    builtin and then its argument prototype would still apply.  */
   10054 #ifdef __cplusplus
   10055 extern "C"
   10056 #endif
   10057 char shl_load ();
   10058 int
   10059 main ()
   10060 {
   10061 return shl_load ();
   10062   ;
   10063   return 0;
   10064 }
   10065 _ACEOF
   10066 rm -f conftest.$ac_objext conftest$ac_exeext
   10067 if { (ac_try="$ac_link"
   10068 case "(($ac_try" in
   10069   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   10070   *) ac_try_echo=$ac_try;;
   10071 esac
   10072 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   10073 $as_echo "$ac_try_echo") >&5
   10074   (eval "$ac_link") 2>conftest.er1
   10075   ac_status=$?
   10076   grep -v '^ *+' conftest.er1 >conftest.err
   10077   rm -f conftest.er1
   10078   cat conftest.err >&5
   10079   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10080   (exit $ac_status); } && {
   10081 	 test -z "$ac_c_werror_flag" ||
   10082 	 test ! -s conftest.err
   10083        } && test -s conftest$ac_exeext && {
   10084 	 test "$cross_compiling" = yes ||
   10085 	 $as_test_x conftest$ac_exeext
   10086        }; then
   10087   ac_cv_lib_dld_shl_load=yes
   10088 else
   10089   $as_echo "$as_me: failed program was:" >&5
   10090 sed 's/^/| /' conftest.$ac_ext >&5
   10091 
   10092 	ac_cv_lib_dld_shl_load=no
   10093 fi
   10094 
   10095 rm -rf conftest.dSYM
   10096 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   10097       conftest$ac_exeext conftest.$ac_ext
   10098 LIBS=$ac_check_lib_save_LIBS
   10099 fi
   10100 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
   10101 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
   10102 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then
   10103   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
   10104 else
   10105   { $as_echo "$as_me:$LINENO: checking for dlopen" >&5
   10106 $as_echo_n "checking for dlopen... " >&6; }
   10107 if test "${ac_cv_func_dlopen+set}" = set; then
   10108   $as_echo_n "(cached) " >&6
   10109 else
   10110   cat >conftest.$ac_ext <<_ACEOF
   10111 /* confdefs.h.  */
   10112 _ACEOF
   10113 cat confdefs.h >>conftest.$ac_ext
   10114 cat >>conftest.$ac_ext <<_ACEOF
   10115 /* end confdefs.h.  */
   10116 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
   10117    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   10118 #define dlopen innocuous_dlopen
   10119 
   10120 /* System header to define __stub macros and hopefully few prototypes,
   10121     which can conflict with char dlopen (); below.
   10122     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   10123     <limits.h> exists even on freestanding compilers.  */
   10124 
   10125 #ifdef __STDC__
   10126 # include <limits.h>
   10127 #else
   10128 # include <assert.h>
   10129 #endif
   10130 
   10131 #undef dlopen
   10132 
   10133 /* Override any GCC internal prototype to avoid an error.
   10134    Use char because int might match the return type of a GCC
   10135    builtin and then its argument prototype would still apply.  */
   10136 #ifdef __cplusplus
   10137 extern "C"
   10138 #endif
   10139 char dlopen ();
   10140 /* The GNU C library defines this for functions which it implements
   10141     to always fail with ENOSYS.  Some functions are actually named
   10142     something starting with __ and the normal name is an alias.  */
   10143 #if defined __stub_dlopen || defined __stub___dlopen
   10144 choke me
   10145 #endif
   10146 
   10147 int
   10148 main ()
   10149 {
   10150 return dlopen ();
   10151   ;
   10152   return 0;
   10153 }
   10154 _ACEOF
   10155 rm -f conftest.$ac_objext conftest$ac_exeext
   10156 if { (ac_try="$ac_link"
   10157 case "(($ac_try" in
   10158   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   10159   *) ac_try_echo=$ac_try;;
   10160 esac
   10161 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   10162 $as_echo "$ac_try_echo") >&5
   10163   (eval "$ac_link") 2>conftest.er1
   10164   ac_status=$?
   10165   grep -v '^ *+' conftest.er1 >conftest.err
   10166   rm -f conftest.er1
   10167   cat conftest.err >&5
   10168   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10169   (exit $ac_status); } && {
   10170 	 test -z "$ac_c_werror_flag" ||
   10171 	 test ! -s conftest.err
   10172        } && test -s conftest$ac_exeext && {
   10173 	 test "$cross_compiling" = yes ||
   10174 	 $as_test_x conftest$ac_exeext
   10175        }; then
   10176   ac_cv_func_dlopen=yes
   10177 else
   10178   $as_echo "$as_me: failed program was:" >&5
   10179 sed 's/^/| /' conftest.$ac_ext >&5
   10180 
   10181 	ac_cv_func_dlopen=no
   10182 fi
   10183 
   10184 rm -rf conftest.dSYM
   10185 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   10186       conftest$ac_exeext conftest.$ac_ext
   10187 fi
   10188 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
   10189 $as_echo "$ac_cv_func_dlopen" >&6; }
   10190 if test "x$ac_cv_func_dlopen" = x""yes; then
   10191   lt_cv_dlopen="dlopen"
   10192 else
   10193   { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
   10194 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   10195 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
   10196   $as_echo_n "(cached) " >&6
   10197 else
   10198   ac_check_lib_save_LIBS=$LIBS
   10199 LIBS="-ldl  $LIBS"
   10200 cat >conftest.$ac_ext <<_ACEOF
   10201 /* confdefs.h.  */
   10202 _ACEOF
   10203 cat confdefs.h >>conftest.$ac_ext
   10204 cat >>conftest.$ac_ext <<_ACEOF
   10205 /* end confdefs.h.  */
   10206 
   10207 /* Override any GCC internal prototype to avoid an error.
   10208    Use char because int might match the return type of a GCC
   10209    builtin and then its argument prototype would still apply.  */
   10210 #ifdef __cplusplus
   10211 extern "C"
   10212 #endif
   10213 char dlopen ();
   10214 int
   10215 main ()
   10216 {
   10217 return dlopen ();
   10218   ;
   10219   return 0;
   10220 }
   10221 _ACEOF
   10222 rm -f conftest.$ac_objext conftest$ac_exeext
   10223 if { (ac_try="$ac_link"
   10224 case "(($ac_try" in
   10225   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   10226   *) ac_try_echo=$ac_try;;
   10227 esac
   10228 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   10229 $as_echo "$ac_try_echo") >&5
   10230   (eval "$ac_link") 2>conftest.er1
   10231   ac_status=$?
   10232   grep -v '^ *+' conftest.er1 >conftest.err
   10233   rm -f conftest.er1
   10234   cat conftest.err >&5
   10235   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10236   (exit $ac_status); } && {
   10237 	 test -z "$ac_c_werror_flag" ||
   10238 	 test ! -s conftest.err
   10239        } && test -s conftest$ac_exeext && {
   10240 	 test "$cross_compiling" = yes ||
   10241 	 $as_test_x conftest$ac_exeext
   10242        }; then
   10243   ac_cv_lib_dl_dlopen=yes
   10244 else
   10245   $as_echo "$as_me: failed program was:" >&5
   10246 sed 's/^/| /' conftest.$ac_ext >&5
   10247 
   10248 	ac_cv_lib_dl_dlopen=no
   10249 fi
   10250 
   10251 rm -rf conftest.dSYM
   10252 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   10253       conftest$ac_exeext conftest.$ac_ext
   10254 LIBS=$ac_check_lib_save_LIBS
   10255 fi
   10256 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
   10257 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   10258 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
   10259   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   10260 else
   10261   { $as_echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
   10262 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
   10263 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
   10264   $as_echo_n "(cached) " >&6
   10265 else
   10266   ac_check_lib_save_LIBS=$LIBS
   10267 LIBS="-lsvld  $LIBS"
   10268 cat >conftest.$ac_ext <<_ACEOF
   10269 /* confdefs.h.  */
   10270 _ACEOF
   10271 cat confdefs.h >>conftest.$ac_ext
   10272 cat >>conftest.$ac_ext <<_ACEOF
   10273 /* end confdefs.h.  */
   10274 
   10275 /* Override any GCC internal prototype to avoid an error.
   10276    Use char because int might match the return type of a GCC
   10277    builtin and then its argument prototype would still apply.  */
   10278 #ifdef __cplusplus
   10279 extern "C"
   10280 #endif
   10281 char dlopen ();
   10282 int
   10283 main ()
   10284 {
   10285 return dlopen ();
   10286   ;
   10287   return 0;
   10288 }
   10289 _ACEOF
   10290 rm -f conftest.$ac_objext conftest$ac_exeext
   10291 if { (ac_try="$ac_link"
   10292 case "(($ac_try" in
   10293   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   10294   *) ac_try_echo=$ac_try;;
   10295 esac
   10296 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   10297 $as_echo "$ac_try_echo") >&5
   10298   (eval "$ac_link") 2>conftest.er1
   10299   ac_status=$?
   10300   grep -v '^ *+' conftest.er1 >conftest.err
   10301   rm -f conftest.er1
   10302   cat conftest.err >&5
   10303   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10304   (exit $ac_status); } && {
   10305 	 test -z "$ac_c_werror_flag" ||
   10306 	 test ! -s conftest.err
   10307        } && test -s conftest$ac_exeext && {
   10308 	 test "$cross_compiling" = yes ||
   10309 	 $as_test_x conftest$ac_exeext
   10310        }; then
   10311   ac_cv_lib_svld_dlopen=yes
   10312 else
   10313   $as_echo "$as_me: failed program was:" >&5
   10314 sed 's/^/| /' conftest.$ac_ext >&5
   10315 
   10316 	ac_cv_lib_svld_dlopen=no
   10317 fi
   10318 
   10319 rm -rf conftest.dSYM
   10320 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   10321       conftest$ac_exeext conftest.$ac_ext
   10322 LIBS=$ac_check_lib_save_LIBS
   10323 fi
   10324 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
   10325 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
   10326 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then
   10327   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
   10328 else
   10329   { $as_echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
   10330 $as_echo_n "checking for dld_link in -ldld... " >&6; }
   10331 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
   10332   $as_echo_n "(cached) " >&6
   10333 else
   10334   ac_check_lib_save_LIBS=$LIBS
   10335 LIBS="-ldld  $LIBS"
   10336 cat >conftest.$ac_ext <<_ACEOF
   10337 /* confdefs.h.  */
   10338 _ACEOF
   10339 cat confdefs.h >>conftest.$ac_ext
   10340 cat >>conftest.$ac_ext <<_ACEOF
   10341 /* end confdefs.h.  */
   10342 
   10343 /* Override any GCC internal prototype to avoid an error.
   10344    Use char because int might match the return type of a GCC
   10345    builtin and then its argument prototype would still apply.  */
   10346 #ifdef __cplusplus
   10347 extern "C"
   10348 #endif
   10349 char dld_link ();
   10350 int
   10351 main ()
   10352 {
   10353 return dld_link ();
   10354   ;
   10355   return 0;
   10356 }
   10357 _ACEOF
   10358 rm -f conftest.$ac_objext conftest$ac_exeext
   10359 if { (ac_try="$ac_link"
   10360 case "(($ac_try" in
   10361   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   10362   *) ac_try_echo=$ac_try;;
   10363 esac
   10364 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   10365 $as_echo "$ac_try_echo") >&5
   10366   (eval "$ac_link") 2>conftest.er1
   10367   ac_status=$?
   10368   grep -v '^ *+' conftest.er1 >conftest.err
   10369   rm -f conftest.er1
   10370   cat conftest.err >&5
   10371   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10372   (exit $ac_status); } && {
   10373 	 test -z "$ac_c_werror_flag" ||
   10374 	 test ! -s conftest.err
   10375        } && test -s conftest$ac_exeext && {
   10376 	 test "$cross_compiling" = yes ||
   10377 	 $as_test_x conftest$ac_exeext
   10378        }; then
   10379   ac_cv_lib_dld_dld_link=yes
   10380 else
   10381   $as_echo "$as_me: failed program was:" >&5
   10382 sed 's/^/| /' conftest.$ac_ext >&5
   10383 
   10384 	ac_cv_lib_dld_dld_link=no
   10385 fi
   10386 
   10387 rm -rf conftest.dSYM
   10388 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   10389       conftest$ac_exeext conftest.$ac_ext
   10390 LIBS=$ac_check_lib_save_LIBS
   10391 fi
   10392 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
   10393 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
   10394 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then
   10395   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
   10396 fi
   10397 
   10398 
   10399 fi
   10400 
   10401 
   10402 fi
   10403 
   10404 
   10405 fi
   10406 
   10407 
   10408 fi
   10409 
   10410 
   10411 fi
   10412 
   10413     ;;
   10414   esac
   10415 
   10416   if test "x$lt_cv_dlopen" != xno; then
   10417     enable_dlopen=yes
   10418   else
   10419     enable_dlopen=no
   10420   fi
   10421 
   10422   case $lt_cv_dlopen in
   10423   dlopen)
   10424     save_CPPFLAGS="$CPPFLAGS"
   10425     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
   10426 
   10427     save_LDFLAGS="$LDFLAGS"
   10428     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
   10429 
   10430     save_LIBS="$LIBS"
   10431     LIBS="$lt_cv_dlopen_libs $LIBS"
   10432 
   10433     { $as_echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
   10434 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
   10435 if test "${lt_cv_dlopen_self+set}" = set; then
   10436   $as_echo_n "(cached) " >&6
   10437 else
   10438   	  if test "$cross_compiling" = yes; then :
   10439   lt_cv_dlopen_self=cross
   10440 else
   10441   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   10442   lt_status=$lt_dlunknown
   10443   cat > conftest.$ac_ext <<EOF
   10444 #line 10444 "configure"
   10445 #include "confdefs.h"
   10446 
   10447 #if HAVE_DLFCN_H
   10448 #include <dlfcn.h>
   10449 #endif
   10450 
   10451 #include <stdio.h>
   10452 
   10453 #ifdef RTLD_GLOBAL
   10454 #  define LT_DLGLOBAL		RTLD_GLOBAL
   10455 #else
   10456 #  ifdef DL_GLOBAL
   10457 #    define LT_DLGLOBAL		DL_GLOBAL
   10458 #  else
   10459 #    define LT_DLGLOBAL		0
   10460 #  endif
   10461 #endif
   10462 
   10463 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   10464    find out it does not work in some platform. */
   10465 #ifndef LT_DLLAZY_OR_NOW
   10466 #  ifdef RTLD_LAZY
   10467 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   10468 #  else
   10469 #    ifdef DL_LAZY
   10470 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   10471 #    else
   10472 #      ifdef RTLD_NOW
   10473 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   10474 #      else
   10475 #        ifdef DL_NOW
   10476 #          define LT_DLLAZY_OR_NOW	DL_NOW
   10477 #        else
   10478 #          define LT_DLLAZY_OR_NOW	0
   10479 #        endif
   10480 #      endif
   10481 #    endif
   10482 #  endif
   10483 #endif
   10484 
   10485 #ifdef __cplusplus
   10486 extern "C" void exit (int);
   10487 #endif
   10488 
   10489 void fnord() { int i=42;}
   10490 int main ()
   10491 {
   10492   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   10493   int status = $lt_dlunknown;
   10494 
   10495   if (self)
   10496     {
   10497       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   10498       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
   10499       /* dlclose (self); */
   10500     }
   10501   else
   10502     puts (dlerror ());
   10503 
   10504     exit (status);
   10505 }
   10506 EOF
   10507   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   10508   (eval $ac_link) 2>&5
   10509   ac_status=$?
   10510   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10511   (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
   10512     (./conftest; exit; ) >&5 2>/dev/null
   10513     lt_status=$?
   10514     case x$lt_status in
   10515       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
   10516       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
   10517       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
   10518     esac
   10519   else :
   10520     # compilation failed
   10521     lt_cv_dlopen_self=no
   10522   fi
   10523 fi
   10524 rm -fr conftest*
   10525 
   10526 
   10527 fi
   10528 { $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
   10529 $as_echo "$lt_cv_dlopen_self" >&6; }
   10530 
   10531     if test "x$lt_cv_dlopen_self" = xyes; then
   10532       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
   10533       { $as_echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
   10534 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
   10535 if test "${lt_cv_dlopen_self_static+set}" = set; then
   10536   $as_echo_n "(cached) " >&6
   10537 else
   10538   	  if test "$cross_compiling" = yes; then :
   10539   lt_cv_dlopen_self_static=cross
   10540 else
   10541   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   10542   lt_status=$lt_dlunknown
   10543   cat > conftest.$ac_ext <<EOF
   10544 #line 10544 "configure"
   10545 #include "confdefs.h"
   10546 
   10547 #if HAVE_DLFCN_H
   10548 #include <dlfcn.h>
   10549 #endif
   10550 
   10551 #include <stdio.h>
   10552 
   10553 #ifdef RTLD_GLOBAL
   10554 #  define LT_DLGLOBAL		RTLD_GLOBAL
   10555 #else
   10556 #  ifdef DL_GLOBAL
   10557 #    define LT_DLGLOBAL		DL_GLOBAL
   10558 #  else
   10559 #    define LT_DLGLOBAL		0
   10560 #  endif
   10561 #endif
   10562 
   10563 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   10564    find out it does not work in some platform. */
   10565 #ifndef LT_DLLAZY_OR_NOW
   10566 #  ifdef RTLD_LAZY
   10567 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   10568 #  else
   10569 #    ifdef DL_LAZY
   10570 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   10571 #    else
   10572 #      ifdef RTLD_NOW
   10573 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   10574 #      else
   10575 #        ifdef DL_NOW
   10576 #          define LT_DLLAZY_OR_NOW	DL_NOW
   10577 #        else
   10578 #          define LT_DLLAZY_OR_NOW	0
   10579 #        endif
   10580 #      endif
   10581 #    endif
   10582 #  endif
   10583 #endif
   10584 
   10585 #ifdef __cplusplus
   10586 extern "C" void exit (int);
   10587 #endif
   10588 
   10589 void fnord() { int i=42;}
   10590 int main ()
   10591 {
   10592   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   10593   int status = $lt_dlunknown;
   10594 
   10595   if (self)
   10596     {
   10597       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   10598       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
   10599       /* dlclose (self); */
   10600     }
   10601   else
   10602     puts (dlerror ());
   10603 
   10604     exit (status);
   10605 }
   10606 EOF
   10607   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   10608   (eval $ac_link) 2>&5
   10609   ac_status=$?
   10610   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10611   (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
   10612     (./conftest; exit; ) >&5 2>/dev/null
   10613     lt_status=$?
   10614     case x$lt_status in
   10615       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
   10616       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
   10617       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
   10618     esac
   10619   else :
   10620     # compilation failed
   10621     lt_cv_dlopen_self_static=no
   10622   fi
   10623 fi
   10624 rm -fr conftest*
   10625 
   10626 
   10627 fi
   10628 { $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
   10629 $as_echo "$lt_cv_dlopen_self_static" >&6; }
   10630     fi
   10631 
   10632     CPPFLAGS="$save_CPPFLAGS"
   10633     LDFLAGS="$save_LDFLAGS"
   10634     LIBS="$save_LIBS"
   10635     ;;
   10636   esac
   10637 
   10638   case $lt_cv_dlopen_self in
   10639   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
   10640   *) enable_dlopen_self=unknown ;;
   10641   esac
   10642 
   10643   case $lt_cv_dlopen_self_static in
   10644   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
   10645   *) enable_dlopen_self_static=unknown ;;
   10646   esac
   10647 fi
   10648 
   10649 
   10650 # Report which library types will actually be built
   10651 { $as_echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
   10652 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
   10653 { $as_echo "$as_me:$LINENO: result: $can_build_shared" >&5
   10654 $as_echo "$can_build_shared" >&6; }
   10655 
   10656 { $as_echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
   10657 $as_echo_n "checking whether to build shared libraries... " >&6; }
   10658 test "$can_build_shared" = "no" && enable_shared=no
   10659 
   10660 # On AIX, shared libraries and static libraries use the same namespace, and
   10661 # are all built from PIC.
   10662 case $host_os in
   10663 aix3*)
   10664   test "$enable_shared" = yes && enable_static=no
   10665   if test -n "$RANLIB"; then
   10666     archive_cmds="$archive_cmds~\$RANLIB \$lib"
   10667     postinstall_cmds='$RANLIB $lib'
   10668   fi
   10669   ;;
   10670 
   10671 aix[4-9]*)
   10672   if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
   10673     test "$enable_shared" = yes && enable_static=no
   10674   fi
   10675     ;;
   10676 esac
   10677 { $as_echo "$as_me:$LINENO: result: $enable_shared" >&5
   10678 $as_echo "$enable_shared" >&6; }
   10679 
   10680 { $as_echo "$as_me:$LINENO: checking whether to build static libraries" >&5
   10681 $as_echo_n "checking whether to build static libraries... " >&6; }
   10682 # Make sure either enable_shared or enable_static is yes.
   10683 test "$enable_shared" = yes || enable_static=yes
   10684 { $as_echo "$as_me:$LINENO: result: $enable_static" >&5
   10685 $as_echo "$enable_static" >&6; }
   10686 
   10687 # The else clause should only fire when bootstrapping the
   10688 # libtool distribution, otherwise you forgot to ship ltmain.sh
   10689 # with your package, and you will get complaints that there are
   10690 # no rules to generate ltmain.sh.
   10691 if test -f "$ltmain"; then
   10692   # See if we are running on zsh, and set the options which allow our commands through
   10693   # without removal of \ escapes.
   10694   if test -n "${ZSH_VERSION+set}" ; then
   10695     setopt NO_GLOB_SUBST
   10696   fi
   10697   # Now quote all the things that may contain metacharacters while being
   10698   # careful not to overquote the AC_SUBSTed values.  We take copies of the
   10699   # variables and quote the copies for generation of the libtool script.
   10700   for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
   10701     SED SHELL STRIP \
   10702     libname_spec library_names_spec soname_spec extract_expsyms_cmds \
   10703     old_striplib striplib file_magic_cmd finish_cmds finish_eval \
   10704     deplibs_check_method reload_flag reload_cmds need_locks \
   10705     lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
   10706     lt_cv_sys_global_symbol_to_c_name_address \
   10707     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
   10708     old_postinstall_cmds old_postuninstall_cmds \
   10709     compiler \
   10710     CC \
   10711     LD \
   10712     lt_prog_compiler_wl \
   10713     lt_prog_compiler_pic \
   10714     lt_prog_compiler_static \
   10715     lt_prog_compiler_no_builtin_flag \
   10716     export_dynamic_flag_spec \
   10717     thread_safe_flag_spec \
   10718     whole_archive_flag_spec \
   10719     enable_shared_with_static_runtimes \
   10720     old_archive_cmds \
   10721     old_archive_from_new_cmds \
   10722     predep_objects \
   10723     postdep_objects \
   10724     predeps \
   10725     postdeps \
   10726     compiler_lib_search_path \
   10727     compiler_lib_search_dirs \
   10728     archive_cmds \
   10729     archive_expsym_cmds \
   10730     postinstall_cmds \
   10731     postuninstall_cmds \
   10732     old_archive_from_expsyms_cmds \
   10733     allow_undefined_flag \
   10734     no_undefined_flag \
   10735     export_symbols_cmds \
   10736     hardcode_libdir_flag_spec \
   10737     hardcode_libdir_flag_spec_ld \
   10738     hardcode_libdir_separator \
   10739     hardcode_automatic \
   10740     module_cmds \
   10741     module_expsym_cmds \
   10742     lt_cv_prog_compiler_c_o \
   10743     fix_srcfile_path \
   10744     exclude_expsyms \
   10745     include_expsyms; do
   10746 
   10747     case $var in
   10748     old_archive_cmds | \
   10749     old_archive_from_new_cmds | \
   10750     archive_cmds | \
   10751     archive_expsym_cmds | \
   10752     module_cmds | \
   10753     module_expsym_cmds | \
   10754     old_archive_from_expsyms_cmds | \
   10755     export_symbols_cmds | \
   10756     extract_expsyms_cmds | reload_cmds | finish_cmds | \
   10757     postinstall_cmds | postuninstall_cmds | \
   10758     old_postinstall_cmds | old_postuninstall_cmds | \
   10759     sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
   10760       # Double-quote double-evaled strings.
   10761       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
   10762       ;;
   10763     *)
   10764       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
   10765       ;;
   10766     esac
   10767   done
   10768 
   10769   case $lt_echo in
   10770   *'\$0 --fallback-echo"')
   10771     lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
   10772     ;;
   10773   esac
   10774 
   10775 cfgfile="${ofile}T"
   10776   trap "$rm \"$cfgfile\"; exit 1" 1 2 15
   10777   $rm -f "$cfgfile"
   10778   { $as_echo "$as_me:$LINENO: creating $ofile" >&5
   10779 $as_echo "$as_me: creating $ofile" >&6;}
   10780 
   10781   cat <<__EOF__ >> "$cfgfile"
   10782 #! $SHELL
   10783 
   10784 # `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
   10785 # Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
   10786 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
   10787 #
   10788 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008
   10789 # Free Software Foundation, Inc.
   10790 #
   10791 # This file is part of GNU Libtool:
   10792 # Originally by Gordon Matzigkeit <gord (at] gnu.ai.mit.edu>, 1996
   10793 #
   10794 # This program is free software; you can redistribute it and/or modify
   10795 # it under the terms of the GNU General Public License as published by
   10796 # the Free Software Foundation; either version 2 of the License, or
   10797 # (at your option) any later version.
   10798 #
   10799 # This program is distributed in the hope that it will be useful, but
   10800 # WITHOUT ANY WARRANTY; without even the implied warranty of
   10801 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
   10802 # General Public License for more details.
   10803 #
   10804 # You should have received a copy of the GNU General Public License
   10805 # along with this program; if not, write to the Free Software
   10806 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
   10807 #
   10808 # As a special exception to the GNU General Public License, if you
   10809 # distribute this file as part of a program that contains a
   10810 # configuration script generated by Autoconf, you may include it under
   10811 # the same distribution terms that you use for the rest of that program.
   10812 
   10813 # A sed program that does not truncate output.
   10814 SED=$lt_SED
   10815 
   10816 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
   10817 Xsed="$SED -e 1s/^X//"
   10818 
   10819 # The HP-UX ksh and POSIX shell print the target directory to stdout
   10820 # if CDPATH is set.
   10821 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   10822 
   10823 # The names of the tagged configurations supported by this script.
   10824 available_tags=
   10825 
   10826 # ### BEGIN LIBTOOL CONFIG
   10827 
   10828 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   10829 
   10830 # Shell to use when invoking shell scripts.
   10831 SHELL=$lt_SHELL
   10832 
   10833 # Whether or not to build shared libraries.
   10834 build_libtool_libs=$enable_shared
   10835 
   10836 # Whether or not to build static libraries.
   10837 build_old_libs=$enable_static
   10838 
   10839 # Whether or not to add -lc for building shared libraries.
   10840 build_libtool_need_lc=$archive_cmds_need_lc
   10841 
   10842 # Whether or not to disallow shared libs when runtime libs are static
   10843 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
   10844 
   10845 # Whether or not to optimize for fast installation.
   10846 fast_install=$enable_fast_install
   10847 
   10848 # The host system.
   10849 host_alias=$host_alias
   10850 host=$host
   10851 host_os=$host_os
   10852 
   10853 # The build system.
   10854 build_alias=$build_alias
   10855 build=$build
   10856 build_os=$build_os
   10857 
   10858 # An echo program that does not interpret backslashes.
   10859 echo=$lt_echo
   10860 
   10861 # The archiver.
   10862 AR=$lt_AR
   10863 AR_FLAGS=$lt_AR_FLAGS
   10864 
   10865 # A C compiler.
   10866 LTCC=$lt_LTCC
   10867 
   10868 # LTCC compiler flags.
   10869 LTCFLAGS=$lt_LTCFLAGS
   10870 
   10871 # A language-specific compiler.
   10872 CC=$lt_compiler
   10873 
   10874 # Is the compiler the GNU C compiler?
   10875 with_gcc=$GCC
   10876 
   10877 # An ERE matcher.
   10878 EGREP=$lt_EGREP
   10879 
   10880 # The linker used to build libraries.
   10881 LD=$lt_LD
   10882 
   10883 # Whether we need hard or soft links.
   10884 LN_S=$lt_LN_S
   10885 
   10886 # A BSD-compatible nm program.
   10887 NM=$lt_NM
   10888 
   10889 # A symbol stripping program
   10890 STRIP=$lt_STRIP
   10891 
   10892 # Used to examine libraries when file_magic_cmd begins "file"
   10893 MAGIC_CMD=$MAGIC_CMD
   10894 
   10895 # Used on cygwin: DLL creation program.
   10896 DLLTOOL="$DLLTOOL"
   10897 
   10898 # Used on cygwin: object dumper.
   10899 OBJDUMP="$OBJDUMP"
   10900 
   10901 # Used on cygwin: assembler.
   10902 AS="$AS"
   10903 
   10904 # The name of the directory that contains temporary libtool files.
   10905 objdir=$objdir
   10906 
   10907 # How to create reloadable object files.
   10908 reload_flag=$lt_reload_flag
   10909 reload_cmds=$lt_reload_cmds
   10910 
   10911 # How to pass a linker flag through the compiler.
   10912 wl=$lt_lt_prog_compiler_wl
   10913 
   10914 # Object file suffix (normally "o").
   10915 objext="$ac_objext"
   10916 
   10917 # Old archive suffix (normally "a").
   10918 libext="$libext"
   10919 
   10920 # Shared library suffix (normally ".so").
   10921 shrext_cmds='$shrext_cmds'
   10922 
   10923 # Executable file suffix (normally "").
   10924 exeext="$exeext"
   10925 
   10926 # Additional compiler flags for building library objects.
   10927 pic_flag=$lt_lt_prog_compiler_pic
   10928 pic_mode=$pic_mode
   10929 
   10930 # What is the maximum length of a command?
   10931 max_cmd_len=$lt_cv_sys_max_cmd_len
   10932 
   10933 # Does compiler simultaneously support -c and -o options?
   10934 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
   10935 
   10936 # Must we lock files when doing compilation?
   10937 need_locks=$lt_need_locks
   10938 
   10939 # Do we need the lib prefix for modules?
   10940 need_lib_prefix=$need_lib_prefix
   10941 
   10942 # Do we need a version for libraries?
   10943 need_version=$need_version
   10944 
   10945 # Whether dlopen is supported.
   10946 dlopen_support=$enable_dlopen
   10947 
   10948 # Whether dlopen of programs is supported.
   10949 dlopen_self=$enable_dlopen_self
   10950 
   10951 # Whether dlopen of statically linked programs is supported.
   10952 dlopen_self_static=$enable_dlopen_self_static
   10953 
   10954 # Compiler flag to prevent dynamic linking.
   10955 link_static_flag=$lt_lt_prog_compiler_static
   10956 
   10957 # Compiler flag to turn off builtin functions.
   10958 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
   10959 
   10960 # Compiler flag to allow reflexive dlopens.
   10961 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
   10962 
   10963 # Compiler flag to generate shared objects directly from archives.
   10964 whole_archive_flag_spec=$lt_whole_archive_flag_spec
   10965 
   10966 # Compiler flag to generate thread-safe objects.
   10967 thread_safe_flag_spec=$lt_thread_safe_flag_spec
   10968 
   10969 # Library versioning type.
   10970 version_type=$version_type
   10971 
   10972 # Format of library name prefix.
   10973 libname_spec=$lt_libname_spec
   10974 
   10975 # List of archive names.  First name is the real one, the rest are links.
   10976 # The last name is the one that the linker finds with -lNAME.
   10977 library_names_spec=$lt_library_names_spec
   10978 
   10979 # The coded name of the library, if different from the real name.
   10980 soname_spec=$lt_soname_spec
   10981 
   10982 # Commands used to build and install an old-style archive.
   10983 RANLIB=$lt_RANLIB
   10984 old_archive_cmds=$lt_old_archive_cmds
   10985 old_postinstall_cmds=$lt_old_postinstall_cmds
   10986 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   10987 
   10988 # Create an old-style archive from a shared archive.
   10989 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
   10990 
   10991 # Create a temporary old-style archive to link instead of a shared archive.
   10992 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
   10993 
   10994 # Commands used to build and install a shared archive.
   10995 archive_cmds=$lt_archive_cmds
   10996 archive_expsym_cmds=$lt_archive_expsym_cmds
   10997 postinstall_cmds=$lt_postinstall_cmds
   10998 postuninstall_cmds=$lt_postuninstall_cmds
   10999 
   11000 # Commands used to build a loadable module (assumed same as above if empty)
   11001 module_cmds=$lt_module_cmds
   11002 module_expsym_cmds=$lt_module_expsym_cmds
   11003 
   11004 # Commands to strip libraries.
   11005 old_striplib=$lt_old_striplib
   11006 striplib=$lt_striplib
   11007 
   11008 # Dependencies to place before the objects being linked to create a
   11009 # shared library.
   11010 predep_objects=$lt_predep_objects
   11011 
   11012 # Dependencies to place after the objects being linked to create a
   11013 # shared library.
   11014 postdep_objects=$lt_postdep_objects
   11015 
   11016 # Dependencies to place before the objects being linked to create a
   11017 # shared library.
   11018 predeps=$lt_predeps
   11019 
   11020 # Dependencies to place after the objects being linked to create a
   11021 # shared library.
   11022 postdeps=$lt_postdeps
   11023 
   11024 # The directories searched by this compiler when creating a shared
   11025 # library
   11026 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
   11027 
   11028 # The library search path used internally by the compiler when linking
   11029 # a shared library.
   11030 compiler_lib_search_path=$lt_compiler_lib_search_path
   11031 
   11032 # Method to check whether dependent libraries are shared objects.
   11033 deplibs_check_method=$lt_deplibs_check_method
   11034 
   11035 # Command to use when deplibs_check_method == file_magic.
   11036 file_magic_cmd=$lt_file_magic_cmd
   11037 
   11038 # Flag that allows shared libraries with undefined symbols to be built.
   11039 allow_undefined_flag=$lt_allow_undefined_flag
   11040 
   11041 # Flag that forces no undefined symbols.
   11042 no_undefined_flag=$lt_no_undefined_flag
   11043 
   11044 # Commands used to finish a libtool library installation in a directory.
   11045 finish_cmds=$lt_finish_cmds
   11046 
   11047 # Same as above, but a single script fragment to be evaled but not shown.
   11048 finish_eval=$lt_finish_eval
   11049 
   11050 # Take the output of nm and produce a listing of raw symbols and C names.
   11051 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   11052 
   11053 # Transform the output of nm in a proper C declaration
   11054 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   11055 
   11056 # Transform the output of nm in a C name address pair
   11057 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   11058 
   11059 # This is the shared library runtime path variable.
   11060 runpath_var=$runpath_var
   11061 
   11062 # This is the shared library path variable.
   11063 shlibpath_var=$shlibpath_var
   11064 
   11065 # Is shlibpath searched before the hard-coded library search path?
   11066 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   11067 
   11068 # How to hardcode a shared library path into an executable.
   11069 hardcode_action=$hardcode_action
   11070 
   11071 # Whether we should hardcode library paths into libraries.
   11072 hardcode_into_libs=$hardcode_into_libs
   11073 
   11074 # Flag to hardcode \$libdir into a binary during linking.
   11075 # This must work even if \$libdir does not exist.
   11076 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
   11077 
   11078 # If ld is used when linking, flag to hardcode \$libdir into
   11079 # a binary during linking. This must work even if \$libdir does
   11080 # not exist.
   11081 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
   11082 
   11083 # Whether we need a single -rpath flag with a separated argument.
   11084 hardcode_libdir_separator=$lt_hardcode_libdir_separator
   11085 
   11086 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
   11087 # resulting binary.
   11088 hardcode_direct=$hardcode_direct
   11089 
   11090 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
   11091 # resulting binary.
   11092 hardcode_minus_L=$hardcode_minus_L
   11093 
   11094 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
   11095 # the resulting binary.
   11096 hardcode_shlibpath_var=$hardcode_shlibpath_var
   11097 
   11098 # Set to yes if building a shared library automatically hardcodes DIR into the library
   11099 # and all subsequent libraries and executables linked against it.
   11100 hardcode_automatic=$hardcode_automatic
   11101 
   11102 # Variables whose values should be saved in libtool wrapper scripts and
   11103 # restored at relink time.
   11104 variables_saved_for_relink="$variables_saved_for_relink"
   11105 
   11106 # Whether libtool must link a program against all its dependency libraries.
   11107 link_all_deplibs=$link_all_deplibs
   11108 
   11109 # Compile-time system search path for libraries
   11110 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   11111 
   11112 # Run-time system search path for libraries
   11113 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   11114 
   11115 # Fix the shell variable \$srcfile for the compiler.
   11116 fix_srcfile_path=$lt_fix_srcfile_path
   11117 
   11118 # Set to yes if exported symbols are required.
   11119 always_export_symbols=$always_export_symbols
   11120 
   11121 # The commands to list exported symbols.
   11122 export_symbols_cmds=$lt_export_symbols_cmds
   11123 
   11124 # The commands to extract the exported symbol list from a shared archive.
   11125 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   11126 
   11127 # Symbols that should not be listed in the preloaded symbols.
   11128 exclude_expsyms=$lt_exclude_expsyms
   11129 
   11130 # Symbols that must always be exported.
   11131 include_expsyms=$lt_include_expsyms
   11132 
   11133 # ### END LIBTOOL CONFIG
   11134 
   11135 __EOF__
   11136 
   11137 
   11138   case $host_os in
   11139   aix3*)
   11140     cat <<\EOF >> "$cfgfile"
   11141 
   11142 # AIX sometimes has problems with the GCC collect2 program.  For some
   11143 # reason, if we set the COLLECT_NAMES environment variable, the problems
   11144 # vanish in a puff of smoke.
   11145 if test "X${COLLECT_NAMES+set}" != Xset; then
   11146   COLLECT_NAMES=
   11147   export COLLECT_NAMES
   11148 fi
   11149 EOF
   11150     ;;
   11151   esac
   11152 
   11153   # We use sed instead of cat because bash on DJGPP gets confused if
   11154   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
   11155   # text mode, it properly converts lines to CR/LF.  This bash problem
   11156   # is reportedly fixed, but why not run on old versions too?
   11157   sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
   11158 
   11159   mv -f "$cfgfile" "$ofile" || \
   11160     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
   11161   chmod +x "$ofile"
   11162 
   11163 else
   11164   # If there is no Makefile yet, we rely on a make rule to execute
   11165   # `config.status --recheck' to rerun these tests and create the
   11166   # libtool script then.
   11167   ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
   11168   if test -f "$ltmain_in"; then
   11169     test -f Makefile && make "$ltmain"
   11170   fi
   11171 fi
   11172 
   11173 
   11174 ac_ext=c
   11175 ac_cpp='$CPP $CPPFLAGS'
   11176 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   11177 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   11178 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   11179 
   11180 CC="$lt_save_CC"
   11181 
   11182 
   11183 # Check whether --with-tags was given.
   11184 if test "${with_tags+set}" = set; then
   11185   withval=$with_tags; tagnames="$withval"
   11186 fi
   11187 
   11188 
   11189 if test -f "$ltmain" && test -n "$tagnames"; then
   11190   if test ! -f "${ofile}"; then
   11191     { $as_echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist" >&5
   11192 $as_echo "$as_me: WARNING: output file \`$ofile' does not exist" >&2;}
   11193   fi
   11194 
   11195   if test -z "$LTCC"; then
   11196     eval "`$SHELL ${ofile} --config | grep '^LTCC='`"
   11197     if test -z "$LTCC"; then
   11198       { $as_echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
   11199 $as_echo "$as_me: WARNING: output file \`$ofile' does not look like a libtool script" >&2;}
   11200     else
   11201       { $as_echo "$as_me:$LINENO: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&5
   11202 $as_echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;}
   11203     fi
   11204   fi
   11205   if test -z "$LTCFLAGS"; then
   11206     eval "`$SHELL ${ofile} --config | grep '^LTCFLAGS='`"
   11207   fi
   11208 
   11209   # Extract list of available tagged configurations in $ofile.
   11210   # Note that this assumes the entire list is on one line.
   11211   available_tags=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
   11212 
   11213   lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   11214   for tagname in $tagnames; do
   11215     IFS="$lt_save_ifs"
   11216     # Check whether tagname contains only valid characters
   11217     case `$echo "X$tagname" | $Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
   11218     "") ;;
   11219     *)  { { $as_echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
   11220 $as_echo "$as_me: error: invalid tag name: $tagname" >&2;}
   11221    { (exit 1); exit 1; }; }
   11222 	;;
   11223     esac
   11224 
   11225     if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
   11226     then
   11227       { { $as_echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
   11228 $as_echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
   11229    { (exit 1); exit 1; }; }
   11230     fi
   11231 
   11232     # Update the list of available tags.
   11233     if test -n "$tagname"; then
   11234       echo appending configuration tag \"$tagname\" to $ofile
   11235 
   11236       case $tagname in
   11237       CXX)
   11238 	if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
   11239 	    ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
   11240 	    (test "X$CXX" != "Xg++"))) ; then
   11241 	  ac_ext=cpp
   11242 ac_cpp='$CXXCPP $CPPFLAGS'
   11243 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   11244 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   11245 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   11246 
   11247 
   11248 
   11249 
   11250 archive_cmds_need_lc_CXX=no
   11251 allow_undefined_flag_CXX=
   11252 always_export_symbols_CXX=no
   11253 archive_expsym_cmds_CXX=
   11254 export_dynamic_flag_spec_CXX=
   11255 hardcode_direct_CXX=no
   11256 hardcode_libdir_flag_spec_CXX=
   11257 hardcode_libdir_flag_spec_ld_CXX=
   11258 hardcode_libdir_separator_CXX=
   11259 hardcode_minus_L_CXX=no
   11260 hardcode_shlibpath_var_CXX=unsupported
   11261 hardcode_automatic_CXX=no
   11262 module_cmds_CXX=
   11263 module_expsym_cmds_CXX=
   11264 link_all_deplibs_CXX=unknown
   11265 old_archive_cmds_CXX=$old_archive_cmds
   11266 no_undefined_flag_CXX=
   11267 whole_archive_flag_spec_CXX=
   11268 enable_shared_with_static_runtimes_CXX=no
   11269 
   11270 # Dependencies to place before and after the object being linked:
   11271 predep_objects_CXX=
   11272 postdep_objects_CXX=
   11273 predeps_CXX=
   11274 postdeps_CXX=
   11275 compiler_lib_search_path_CXX=
   11276 compiler_lib_search_dirs_CXX=
   11277 
   11278 # Source file extension for C++ test sources.
   11279 ac_ext=cpp
   11280 
   11281 # Object file extension for compiled C++ test sources.
   11282 objext=o
   11283 objext_CXX=$objext
   11284 
   11285 # Code to be used in simple compile tests
   11286 lt_simple_compile_test_code="int some_variable = 0;"
   11287 
   11288 # Code to be used in simple link tests
   11289 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
   11290 
   11291 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
   11292 
   11293 # If no C compiler was specified, use CC.
   11294 LTCC=${LTCC-"$CC"}
   11295 
   11296 # If no C compiler flags were specified, use CFLAGS.
   11297 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   11298 
   11299 # Allow CC to be a program name with arguments.
   11300 compiler=$CC
   11301 
   11302 
   11303 # save warnings/boilerplate of simple test code
   11304 ac_outfile=conftest.$ac_objext
   11305 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   11306 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   11307 _lt_compiler_boilerplate=`cat conftest.err`
   11308 $rm conftest*
   11309 
   11310 ac_outfile=conftest.$ac_objext
   11311 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   11312 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   11313 _lt_linker_boilerplate=`cat conftest.err`
   11314 $rm -r conftest*
   11315 
   11316 
   11317 # Allow CC to be a program name with arguments.
   11318 lt_save_CC=$CC
   11319 lt_save_LD=$LD
   11320 lt_save_GCC=$GCC
   11321 GCC=$GXX
   11322 lt_save_with_gnu_ld=$with_gnu_ld
   11323 lt_save_path_LD=$lt_cv_path_LD
   11324 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
   11325   lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
   11326 else
   11327   $as_unset lt_cv_prog_gnu_ld
   11328 fi
   11329 if test -n "${lt_cv_path_LDCXX+set}"; then
   11330   lt_cv_path_LD=$lt_cv_path_LDCXX
   11331 else
   11332   $as_unset lt_cv_path_LD
   11333 fi
   11334 test -z "${LDCXX+set}" || LD=$LDCXX
   11335 CC=${CXX-"c++"}
   11336 compiler=$CC
   11337 compiler_CXX=$CC
   11338 for cc_temp in $compiler""; do
   11339   case $cc_temp in
   11340     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   11341     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   11342     \-*) ;;
   11343     *) break;;
   11344   esac
   11345 done
   11346 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   11347 
   11348 
   11349 # We don't want -fno-exception wen compiling C++ code, so set the
   11350 # no_builtin_flag separately
   11351 if test "$GXX" = yes; then
   11352   lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
   11353 else
   11354   lt_prog_compiler_no_builtin_flag_CXX=
   11355 fi
   11356 
   11357 if test "$GXX" = yes; then
   11358   # Set up default GNU C++ configuration
   11359 
   11360 
   11361 # Check whether --with-gnu-ld was given.
   11362 if test "${with_gnu_ld+set}" = set; then
   11363   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
   11364 else
   11365   with_gnu_ld=no
   11366 fi
   11367 
   11368 ac_prog=ld
   11369 if test "$GCC" = yes; then
   11370   # Check if gcc -print-prog-name=ld gives a path.
   11371   { $as_echo "$as_me:$LINENO: checking for ld used by $CC" >&5
   11372 $as_echo_n "checking for ld used by $CC... " >&6; }
   11373   case $host in
   11374   *-*-mingw*)
   11375     # gcc leaves a trailing carriage return which upsets mingw
   11376     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   11377   *)
   11378     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   11379   esac
   11380   case $ac_prog in
   11381     # Accept absolute paths.
   11382     [\\/]* | ?:[\\/]*)
   11383       re_direlt='/[^/][^/]*/\.\./'
   11384       # Canonicalize the pathname of ld
   11385       ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
   11386       while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
   11387 	ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
   11388       done
   11389       test -z "$LD" && LD="$ac_prog"
   11390       ;;
   11391   "")
   11392     # If it fails, then pretend we aren't using GCC.
   11393     ac_prog=ld
   11394     ;;
   11395   *)
   11396     # If it is relative, then search for the first ld in PATH.
   11397     with_gnu_ld=unknown
   11398     ;;
   11399   esac
   11400 elif test "$with_gnu_ld" = yes; then
   11401   { $as_echo "$as_me:$LINENO: checking for GNU ld" >&5
   11402 $as_echo_n "checking for GNU ld... " >&6; }
   11403 else
   11404   { $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5
   11405 $as_echo_n "checking for non-GNU ld... " >&6; }
   11406 fi
   11407 if test "${lt_cv_path_LD+set}" = set; then
   11408   $as_echo_n "(cached) " >&6
   11409 else
   11410   if test -z "$LD"; then
   11411   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   11412   for ac_dir in $PATH; do
   11413     IFS="$lt_save_ifs"
   11414     test -z "$ac_dir" && ac_dir=.
   11415     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   11416       lt_cv_path_LD="$ac_dir/$ac_prog"
   11417       # Check to see if the program is GNU ld.  I'd rather use --version,
   11418       # but apparently some variants of GNU ld only accept -v.
   11419       # Break only if it was the GNU/non-GNU ld that we prefer.
   11420       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   11421       *GNU* | *'with BFD'*)
   11422 	test "$with_gnu_ld" != no && break
   11423 	;;
   11424       *)
   11425 	test "$with_gnu_ld" != yes && break
   11426 	;;
   11427       esac
   11428     fi
   11429   done
   11430   IFS="$lt_save_ifs"
   11431 else
   11432   lt_cv_path_LD="$LD" # Let the user override the test with a path.
   11433 fi
   11434 fi
   11435 
   11436 LD="$lt_cv_path_LD"
   11437 if test -n "$LD"; then
   11438   { $as_echo "$as_me:$LINENO: result: $LD" >&5
   11439 $as_echo "$LD" >&6; }
   11440 else
   11441   { $as_echo "$as_me:$LINENO: result: no" >&5
   11442 $as_echo "no" >&6; }
   11443 fi
   11444 test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
   11445 $as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
   11446    { (exit 1); exit 1; }; }
   11447 { $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
   11448 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
   11449 if test "${lt_cv_prog_gnu_ld+set}" = set; then
   11450   $as_echo_n "(cached) " >&6
   11451 else
   11452   # I'd rather use --version here, but apparently some GNU lds only accept -v.
   11453 case `$LD -v 2>&1 </dev/null` in
   11454 *GNU* | *'with BFD'*)
   11455   lt_cv_prog_gnu_ld=yes
   11456   ;;
   11457 *)
   11458   lt_cv_prog_gnu_ld=no
   11459   ;;
   11460 esac
   11461 fi
   11462 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
   11463 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
   11464 with_gnu_ld=$lt_cv_prog_gnu_ld
   11465 
   11466 
   11467 
   11468   # Check if GNU C++ uses GNU ld as the underlying linker, since the
   11469   # archiving commands below assume that GNU ld is being used.
   11470   if test "$with_gnu_ld" = yes; then
   11471     archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
   11472     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'
   11473 
   11474     hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
   11475     export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
   11476 
   11477     # If archive_cmds runs LD, not CC, wlarc should be empty
   11478     # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
   11479     #     investigate it a little bit more. (MM)
   11480     wlarc='${wl}'
   11481 
   11482     # ancient GNU ld didn't support --whole-archive et. al.
   11483     if eval "`$CC -print-prog-name=ld` --help 2>&1" | \
   11484 	grep 'no-whole-archive' > /dev/null; then
   11485       whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   11486     else
   11487       whole_archive_flag_spec_CXX=
   11488     fi
   11489   else
   11490     with_gnu_ld=no
   11491     wlarc=
   11492 
   11493     # A generic and very simple default shared library creation
   11494     # command for GNU C++ for the case where it uses the native
   11495     # linker, instead of GNU ld.  If possible, this setting should
   11496     # overridden to take advantage of the native linker features on
   11497     # the platform it is being used on.
   11498     archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
   11499   fi
   11500 
   11501   # Commands to make compiler produce verbose output that lists
   11502   # what "hidden" libraries, object files and flags are used when
   11503   # linking a shared library.
   11504   output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
   11505 
   11506 else
   11507   GXX=no
   11508   with_gnu_ld=no
   11509   wlarc=
   11510 fi
   11511 
   11512 # PORTME: fill in a description of your system's C++ link characteristics
   11513 { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   11514 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   11515 ld_shlibs_CXX=yes
   11516 case $host_os in
   11517   aix3*)
   11518     # FIXME: insert proper C++ library support
   11519     ld_shlibs_CXX=no
   11520     ;;
   11521   aix[4-9]*)
   11522     if test "$host_cpu" = ia64; then
   11523       # On IA64, the linker does run time linking by default, so we don't
   11524       # have to do anything special.
   11525       aix_use_runtimelinking=no
   11526       exp_sym_flag='-Bexport'
   11527       no_entry_flag=""
   11528     else
   11529       aix_use_runtimelinking=no
   11530 
   11531       # Test if we are trying to use run time linking or normal
   11532       # AIX style linking. If -brtl is somewhere in LDFLAGS, we
   11533       # need to do runtime linking.
   11534       case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   11535 	for ld_flag in $LDFLAGS; do
   11536 	  case $ld_flag in
   11537 	  *-brtl*)
   11538 	    aix_use_runtimelinking=yes
   11539 	    break
   11540 	    ;;
   11541 	  esac
   11542 	done
   11543 	;;
   11544       esac
   11545 
   11546       exp_sym_flag='-bexport'
   11547       no_entry_flag='-bnoentry'
   11548     fi
   11549 
   11550     # When large executables or shared objects are built, AIX ld can
   11551     # have problems creating the table of contents.  If linking a library
   11552     # or program results in "error TOC overflow" add -mminimal-toc to
   11553     # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   11554     # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   11555 
   11556     archive_cmds_CXX=''
   11557     hardcode_direct_CXX=yes
   11558     hardcode_libdir_separator_CXX=':'
   11559     link_all_deplibs_CXX=yes
   11560 
   11561     if test "$GXX" = yes; then
   11562       case $host_os in aix4.[012]|aix4.[012].*)
   11563       # We only want to do this on AIX 4.2 and lower, the check
   11564       # below for broken collect2 doesn't work under 4.3+
   11565 	collect2name=`${CC} -print-prog-name=collect2`
   11566 	if test -f "$collect2name" && \
   11567 	   strings "$collect2name" | grep resolve_lib_name >/dev/null
   11568 	then
   11569 	  # We have reworked collect2
   11570 	  :
   11571 	else
   11572 	  # We have old collect2
   11573 	  hardcode_direct_CXX=unsupported
   11574 	  # It fails to find uninstalled libraries when the uninstalled
   11575 	  # path is not listed in the libpath.  Setting hardcode_minus_L
   11576 	  # to unsupported forces relinking
   11577 	  hardcode_minus_L_CXX=yes
   11578 	  hardcode_libdir_flag_spec_CXX='-L$libdir'
   11579 	  hardcode_libdir_separator_CXX=
   11580 	fi
   11581 	;;
   11582       esac
   11583       shared_flag='-shared'
   11584       if test "$aix_use_runtimelinking" = yes; then
   11585 	shared_flag="$shared_flag "'${wl}-G'
   11586       fi
   11587     else
   11588       # not using gcc
   11589       if test "$host_cpu" = ia64; then
   11590 	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   11591 	# chokes on -Wl,-G. The following line is correct:
   11592 	shared_flag='-G'
   11593       else
   11594 	if test "$aix_use_runtimelinking" = yes; then
   11595 	  shared_flag='${wl}-G'
   11596 	else
   11597 	  shared_flag='${wl}-bM:SRE'
   11598 	fi
   11599       fi
   11600     fi
   11601 
   11602     # It seems that -bexpall does not export symbols beginning with
   11603     # underscore (_), so it is better to generate a list of symbols to export.
   11604     always_export_symbols_CXX=yes
   11605     if test "$aix_use_runtimelinking" = yes; then
   11606       # Warning - without using the other runtime loading flags (-brtl),
   11607       # -berok will link without error, but may produce a broken library.
   11608       allow_undefined_flag_CXX='-berok'
   11609       # Determine the default libpath from the value encoded in an empty executable.
   11610       cat >conftest.$ac_ext <<_ACEOF
   11611 /* confdefs.h.  */
   11612 _ACEOF
   11613 cat confdefs.h >>conftest.$ac_ext
   11614 cat >>conftest.$ac_ext <<_ACEOF
   11615 /* end confdefs.h.  */
   11616 
   11617 int
   11618 main ()
   11619 {
   11620 
   11621   ;
   11622   return 0;
   11623 }
   11624 _ACEOF
   11625 rm -f conftest.$ac_objext conftest$ac_exeext
   11626 if { (ac_try="$ac_link"
   11627 case "(($ac_try" in
   11628   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   11629   *) ac_try_echo=$ac_try;;
   11630 esac
   11631 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   11632 $as_echo "$ac_try_echo") >&5
   11633   (eval "$ac_link") 2>conftest.er1
   11634   ac_status=$?
   11635   grep -v '^ *+' conftest.er1 >conftest.err
   11636   rm -f conftest.er1
   11637   cat conftest.err >&5
   11638   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11639   (exit $ac_status); } && {
   11640 	 test -z "$ac_cxx_werror_flag" ||
   11641 	 test ! -s conftest.err
   11642        } && test -s conftest$ac_exeext && {
   11643 	 test "$cross_compiling" = yes ||
   11644 	 $as_test_x conftest$ac_exeext
   11645        }; then
   11646 
   11647 lt_aix_libpath_sed='
   11648     /Import File Strings/,/^$/ {
   11649 	/^0/ {
   11650 	    s/^0  *\(.*\)$/\1/
   11651 	    p
   11652 	}
   11653     }'
   11654 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   11655 # Check for a 64-bit object if we didn't find anything.
   11656 if test -z "$aix_libpath"; then
   11657   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   11658 fi
   11659 else
   11660   $as_echo "$as_me: failed program was:" >&5
   11661 sed 's/^/| /' conftest.$ac_ext >&5
   11662 
   11663 
   11664 fi
   11665 
   11666 rm -rf conftest.dSYM
   11667 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   11668       conftest$ac_exeext conftest.$ac_ext
   11669 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   11670 
   11671       hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
   11672 
   11673       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"
   11674      else
   11675       if test "$host_cpu" = ia64; then
   11676 	hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
   11677 	allow_undefined_flag_CXX="-z nodefs"
   11678 	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"
   11679       else
   11680 	# Determine the default libpath from the value encoded in an empty executable.
   11681 	cat >conftest.$ac_ext <<_ACEOF
   11682 /* confdefs.h.  */
   11683 _ACEOF
   11684 cat confdefs.h >>conftest.$ac_ext
   11685 cat >>conftest.$ac_ext <<_ACEOF
   11686 /* end confdefs.h.  */
   11687 
   11688 int
   11689 main ()
   11690 {
   11691 
   11692   ;
   11693   return 0;
   11694 }
   11695 _ACEOF
   11696 rm -f conftest.$ac_objext conftest$ac_exeext
   11697 if { (ac_try="$ac_link"
   11698 case "(($ac_try" in
   11699   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   11700   *) ac_try_echo=$ac_try;;
   11701 esac
   11702 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   11703 $as_echo "$ac_try_echo") >&5
   11704   (eval "$ac_link") 2>conftest.er1
   11705   ac_status=$?
   11706   grep -v '^ *+' conftest.er1 >conftest.err
   11707   rm -f conftest.er1
   11708   cat conftest.err >&5
   11709   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11710   (exit $ac_status); } && {
   11711 	 test -z "$ac_cxx_werror_flag" ||
   11712 	 test ! -s conftest.err
   11713        } && test -s conftest$ac_exeext && {
   11714 	 test "$cross_compiling" = yes ||
   11715 	 $as_test_x conftest$ac_exeext
   11716        }; then
   11717 
   11718 lt_aix_libpath_sed='
   11719     /Import File Strings/,/^$/ {
   11720 	/^0/ {
   11721 	    s/^0  *\(.*\)$/\1/
   11722 	    p
   11723 	}
   11724     }'
   11725 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   11726 # Check for a 64-bit object if we didn't find anything.
   11727 if test -z "$aix_libpath"; then
   11728   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   11729 fi
   11730 else
   11731   $as_echo "$as_me: failed program was:" >&5
   11732 sed 's/^/| /' conftest.$ac_ext >&5
   11733 
   11734 
   11735 fi
   11736 
   11737 rm -rf conftest.dSYM
   11738 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   11739       conftest$ac_exeext conftest.$ac_ext
   11740 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   11741 
   11742 	hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
   11743 	# Warning - without using the other run time loading flags,
   11744 	# -berok will link without error, but may produce a broken library.
   11745 	no_undefined_flag_CXX=' ${wl}-bernotok'
   11746 	allow_undefined_flag_CXX=' ${wl}-berok'
   11747 	# Exported symbols can be pulled into shared objects from archives
   11748 	whole_archive_flag_spec_CXX='$convenience'
   11749 	archive_cmds_need_lc_CXX=yes
   11750 	# This is similar to how AIX traditionally builds its shared libraries.
   11751 	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'
   11752       fi
   11753     fi
   11754     ;;
   11755 
   11756   beos*)
   11757     if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   11758       allow_undefined_flag_CXX=unsupported
   11759       # Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   11760       # support --undefined.  This deserves some investigation.  FIXME
   11761       archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   11762     else
   11763       ld_shlibs_CXX=no
   11764     fi
   11765     ;;
   11766 
   11767   chorus*)
   11768     case $cc_basename in
   11769       *)
   11770 	# FIXME: insert proper C++ library support
   11771 	ld_shlibs_CXX=no
   11772 	;;
   11773     esac
   11774     ;;
   11775 
   11776   cygwin* | mingw* | pw32*)
   11777     # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
   11778     # as there is no search path for DLLs.
   11779     hardcode_libdir_flag_spec_CXX='-L$libdir'
   11780     allow_undefined_flag_CXX=unsupported
   11781     always_export_symbols_CXX=no
   11782     enable_shared_with_static_runtimes_CXX=yes
   11783 
   11784     if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
   11785       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'
   11786       # If the export-symbols file already is a .def file (1st line
   11787       # is EXPORTS), use it as is; otherwise, prepend...
   11788       archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   11789 	cp $export_symbols $output_objdir/$soname.def;
   11790       else
   11791 	echo EXPORTS > $output_objdir/$soname.def;
   11792 	cat $export_symbols >> $output_objdir/$soname.def;
   11793       fi~
   11794       $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'
   11795     else
   11796       ld_shlibs_CXX=no
   11797     fi
   11798   ;;
   11799       darwin* | rhapsody*)
   11800       archive_cmds_need_lc_CXX=no
   11801       hardcode_direct_CXX=no
   11802       hardcode_automatic_CXX=yes
   11803       hardcode_shlibpath_var_CXX=unsupported
   11804       whole_archive_flag_spec_CXX=''
   11805       link_all_deplibs_CXX=yes
   11806       allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
   11807       if test "$GXX" = yes ; then
   11808       output_verbose_link_cmd='echo'
   11809       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}"
   11810       module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
   11811       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}"
   11812       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}"
   11813       if test "$lt_cv_apple_cc_single_mod" != "yes"; then
   11814         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}"
   11815         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}"
   11816       fi
   11817       else
   11818       case $cc_basename in
   11819         xlc*)
   11820          output_verbose_link_cmd='echo'
   11821           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'
   11822           module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
   11823           # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
   11824           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}'
   11825           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}'
   11826           ;;
   11827        *)
   11828          ld_shlibs_CXX=no
   11829           ;;
   11830       esac
   11831       fi
   11832         ;;
   11833 
   11834   dgux*)
   11835     case $cc_basename in
   11836       ec++*)
   11837 	# FIXME: insert proper C++ library support
   11838 	ld_shlibs_CXX=no
   11839 	;;
   11840       ghcx*)
   11841 	# Green Hills C++ Compiler
   11842 	# FIXME: insert proper C++ library support
   11843 	ld_shlibs_CXX=no
   11844 	;;
   11845       *)
   11846 	# FIXME: insert proper C++ library support
   11847 	ld_shlibs_CXX=no
   11848 	;;
   11849     esac
   11850     ;;
   11851   freebsd[12]*)
   11852     # C++ shared libraries reported to be fairly broken before switch to ELF
   11853     ld_shlibs_CXX=no
   11854     ;;
   11855   freebsd-elf*)
   11856     archive_cmds_need_lc_CXX=no
   11857     ;;
   11858   freebsd* | dragonfly*)
   11859     # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
   11860     # conventions
   11861     ld_shlibs_CXX=yes
   11862     ;;
   11863   gnu*)
   11864     ;;
   11865   hpux9*)
   11866     hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
   11867     hardcode_libdir_separator_CXX=:
   11868     export_dynamic_flag_spec_CXX='${wl}-E'
   11869     hardcode_direct_CXX=yes
   11870     hardcode_minus_L_CXX=yes # Not in the search PATH,
   11871 				# but as the default
   11872 				# location of the library.
   11873 
   11874     case $cc_basename in
   11875     CC*)
   11876       # FIXME: insert proper C++ library support
   11877       ld_shlibs_CXX=no
   11878       ;;
   11879     aCC*)
   11880       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'
   11881       # Commands to make compiler produce verbose output that lists
   11882       # what "hidden" libraries, object files and flags are used when
   11883       # linking a shared library.
   11884       #
   11885       # There doesn't appear to be a way to prevent this compiler from
   11886       # explicitly linking system object files so we need to strip them
   11887       # from the output so that they don't get included in the library
   11888       # dependencies.
   11889       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'
   11890       ;;
   11891     *)
   11892       if test "$GXX" = yes; then
   11893         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'
   11894       else
   11895         # FIXME: insert proper C++ library support
   11896         ld_shlibs_CXX=no
   11897       fi
   11898       ;;
   11899     esac
   11900     ;;
   11901   hpux10*|hpux11*)
   11902     if test $with_gnu_ld = no; then
   11903       hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
   11904       hardcode_libdir_separator_CXX=:
   11905 
   11906       case $host_cpu in
   11907       hppa*64*|ia64*) ;;
   11908       *)
   11909 	export_dynamic_flag_spec_CXX='${wl}-E'
   11910         ;;
   11911       esac
   11912     fi
   11913     case $host_cpu in
   11914     hppa*64*|ia64*)
   11915       hardcode_direct_CXX=no
   11916       hardcode_shlibpath_var_CXX=no
   11917       ;;
   11918     *)
   11919       hardcode_direct_CXX=yes
   11920       hardcode_minus_L_CXX=yes # Not in the search PATH,
   11921 					      # but as the default
   11922 					      # location of the library.
   11923       ;;
   11924     esac
   11925 
   11926     case $cc_basename in
   11927       CC*)
   11928 	# FIXME: insert proper C++ library support
   11929 	ld_shlibs_CXX=no
   11930 	;;
   11931       aCC*)
   11932 	case $host_cpu in
   11933 	hppa*64*)
   11934 	  archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   11935 	  ;;
   11936 	ia64*)
   11937 	  archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   11938 	  ;;
   11939 	*)
   11940 	  archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   11941 	  ;;
   11942 	esac
   11943 	# Commands to make compiler produce verbose output that lists
   11944 	# what "hidden" libraries, object files and flags are used when
   11945 	# linking a shared library.
   11946 	#
   11947 	# There doesn't appear to be a way to prevent this compiler from
   11948 	# explicitly linking system object files so we need to strip them
   11949 	# from the output so that they don't get included in the library
   11950 	# dependencies.
   11951 	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'
   11952 	;;
   11953       *)
   11954 	if test "$GXX" = yes; then
   11955 	  if test $with_gnu_ld = no; then
   11956 	    case $host_cpu in
   11957 	    hppa*64*)
   11958 	      archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   11959 	      ;;
   11960 	    ia64*)
   11961 	      archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   11962 	      ;;
   11963 	    *)
   11964 	      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'
   11965 	      ;;
   11966 	    esac
   11967 	  fi
   11968 	else
   11969 	  # FIXME: insert proper C++ library support
   11970 	  ld_shlibs_CXX=no
   11971 	fi
   11972 	;;
   11973     esac
   11974     ;;
   11975   interix[3-9]*)
   11976     hardcode_direct_CXX=no
   11977     hardcode_shlibpath_var_CXX=no
   11978     hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
   11979     export_dynamic_flag_spec_CXX='${wl}-E'
   11980     # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   11981     # Instead, shared libraries are loaded at an image base (0x10000000 by
   11982     # default) and relocated if they conflict, which is a slow very memory
   11983     # consuming and fragmenting process.  To avoid this, we pick a random,
   11984     # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   11985     # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   11986     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'
   11987     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'
   11988     ;;
   11989   irix5* | irix6*)
   11990     case $cc_basename in
   11991       CC*)
   11992 	# SGI C++
   11993 	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'
   11994 
   11995 	# Archives containing C++ object files must be created using
   11996 	# "CC -ar", where "CC" is the IRIX C++ compiler.  This is
   11997 	# necessary to make sure instantiated templates are included
   11998 	# in the archive.
   11999 	old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
   12000 	;;
   12001       *)
   12002 	if test "$GXX" = yes; then
   12003 	  if test "$with_gnu_ld" = no; then
   12004 	    archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
   12005 	  else
   12006 	    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'
   12007 	  fi
   12008 	fi
   12009 	link_all_deplibs_CXX=yes
   12010 	;;
   12011     esac
   12012     hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
   12013     hardcode_libdir_separator_CXX=:
   12014     ;;
   12015   linux* | k*bsd*-gnu)
   12016     case $cc_basename in
   12017       KCC*)
   12018 	# Kuck and Associates, Inc. (KAI) C++ Compiler
   12019 
   12020 	# KCC will only create a shared library if the output file
   12021 	# ends with ".so" (or ".sl" for HP-UX), so rename the library
   12022 	# to its proper name (with version) after linking.
   12023 	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'
   12024 	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'
   12025 	# Commands to make compiler produce verbose output that lists
   12026 	# what "hidden" libraries, object files and flags are used when
   12027 	# linking a shared library.
   12028 	#
   12029 	# There doesn't appear to be a way to prevent this compiler from
   12030 	# explicitly linking system object files so we need to strip them
   12031 	# from the output so that they don't get included in the library
   12032 	# dependencies.
   12033 	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'
   12034 
   12035 	hardcode_libdir_flag_spec_CXX='${wl}--rpath,$libdir'
   12036 	export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
   12037 
   12038 	# Archives containing C++ object files must be created using
   12039 	# "CC -Bstatic", where "CC" is the KAI C++ compiler.
   12040 	old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
   12041 	;;
   12042       icpc*)
   12043 	# Intel C++
   12044 	with_gnu_ld=yes
   12045 	# version 8.0 and above of icpc choke on multiply defined symbols
   12046 	# if we add $predep_objects and $postdep_objects, however 7.1 and
   12047 	# earlier do not add the objects themselves.
   12048 	case `$CC -V 2>&1` in
   12049 	*"Version 7."*)
   12050   	  archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
   12051   	  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'
   12052 	  ;;
   12053 	*)  # Version 8.0 or newer
   12054 	  tmp_idyn=
   12055 	  case $host_cpu in
   12056 	    ia64*) tmp_idyn=' -i_dynamic';;
   12057 	  esac
   12058   	  archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   12059 	  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'
   12060 	  ;;
   12061 	esac
   12062 	archive_cmds_need_lc_CXX=no
   12063 	hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
   12064 	export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
   12065 	whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
   12066 	;;
   12067       pgCC* | pgcpp*)
   12068         # Portland Group C++ compiler
   12069 	archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
   12070   	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'
   12071 
   12072 	hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
   12073 	export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
   12074 	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'
   12075         ;;
   12076       cxx*)
   12077 	# Compaq C++
   12078 	archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
   12079 	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'
   12080 
   12081 	runpath_var=LD_RUN_PATH
   12082 	hardcode_libdir_flag_spec_CXX='-rpath $libdir'
   12083 	hardcode_libdir_separator_CXX=:
   12084 
   12085 	# Commands to make compiler produce verbose output that lists
   12086 	# what "hidden" libraries, object files and flags are used when
   12087 	# linking a shared library.
   12088 	#
   12089 	# There doesn't appear to be a way to prevent this compiler from
   12090 	# explicitly linking system object files so we need to strip them
   12091 	# from the output so that they don't get included in the library
   12092 	# dependencies.
   12093 	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'
   12094 	;;
   12095       *)
   12096 	case `$CC -V 2>&1 | sed 5q` in
   12097 	*Sun\ C*)
   12098 	  # Sun C++ 5.9
   12099 	  no_undefined_flag_CXX=' -zdefs'
   12100 	  archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   12101 	  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'
   12102 	  hardcode_libdir_flag_spec_CXX='-R$libdir'
   12103 	  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'
   12104 
   12105 	  # Not sure whether something based on
   12106 	  # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
   12107 	  # would be better.
   12108 	  output_verbose_link_cmd='echo'
   12109 
   12110 	  # Archives containing C++ object files must be created using
   12111 	  # "CC -xar", where "CC" is the Sun C++ compiler.  This is
   12112 	  # necessary to make sure instantiated templates are included
   12113 	  # in the archive.
   12114 	  old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
   12115 	  ;;
   12116 	esac
   12117 	;;
   12118     esac
   12119     ;;
   12120   lynxos*)
   12121     # FIXME: insert proper C++ library support
   12122     ld_shlibs_CXX=no
   12123     ;;
   12124   m88k*)
   12125     # FIXME: insert proper C++ library support
   12126     ld_shlibs_CXX=no
   12127     ;;
   12128   mvs*)
   12129     case $cc_basename in
   12130       cxx*)
   12131 	# FIXME: insert proper C++ library support
   12132 	ld_shlibs_CXX=no
   12133 	;;
   12134       *)
   12135 	# FIXME: insert proper C++ library support
   12136 	ld_shlibs_CXX=no
   12137 	;;
   12138     esac
   12139     ;;
   12140   netbsd*)
   12141     if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   12142       archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
   12143       wlarc=
   12144       hardcode_libdir_flag_spec_CXX='-R$libdir'
   12145       hardcode_direct_CXX=yes
   12146       hardcode_shlibpath_var_CXX=no
   12147     fi
   12148     # Workaround some broken pre-1.5 toolchains
   12149     output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
   12150     ;;
   12151   openbsd2*)
   12152     # C++ shared libraries are fairly broken
   12153     ld_shlibs_CXX=no
   12154     ;;
   12155   openbsd*)
   12156     if test -f /usr/libexec/ld.so; then
   12157       hardcode_direct_CXX=yes
   12158       hardcode_shlibpath_var_CXX=no
   12159       archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
   12160       hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
   12161       if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   12162 	archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
   12163 	export_dynamic_flag_spec_CXX='${wl}-E'
   12164 	whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   12165       fi
   12166       output_verbose_link_cmd='echo'
   12167     else
   12168       ld_shlibs_CXX=no
   12169     fi
   12170     ;;
   12171   osf3*)
   12172     case $cc_basename in
   12173       KCC*)
   12174 	# Kuck and Associates, Inc. (KAI) C++ Compiler
   12175 
   12176 	# KCC will only create a shared library if the output file
   12177 	# ends with ".so" (or ".sl" for HP-UX), so rename the library
   12178 	# to its proper name (with version) after linking.
   12179 	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'
   12180 
   12181 	hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
   12182 	hardcode_libdir_separator_CXX=:
   12183 
   12184 	# Archives containing C++ object files must be created using
   12185 	# "CC -Bstatic", where "CC" is the KAI C++ compiler.
   12186 	old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
   12187 
   12188 	;;
   12189       RCC*)
   12190 	# Rational C++ 2.4.1
   12191 	# FIXME: insert proper C++ library support
   12192 	ld_shlibs_CXX=no
   12193 	;;
   12194       cxx*)
   12195 	allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
   12196 	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'
   12197 
   12198 	hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
   12199 	hardcode_libdir_separator_CXX=:
   12200 
   12201 	# Commands to make compiler produce verbose output that lists
   12202 	# what "hidden" libraries, object files and flags are used when
   12203 	# linking a shared library.
   12204 	#
   12205 	# There doesn't appear to be a way to prevent this compiler from
   12206 	# explicitly linking system object files so we need to strip them
   12207 	# from the output so that they don't get included in the library
   12208 	# dependencies.
   12209 	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'
   12210 	;;
   12211       *)
   12212 	if test "$GXX" = yes && test "$with_gnu_ld" = no; then
   12213 	  allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
   12214 	  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'
   12215 
   12216 	  hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
   12217 	  hardcode_libdir_separator_CXX=:
   12218 
   12219 	  # Commands to make compiler produce verbose output that lists
   12220 	  # what "hidden" libraries, object files and flags are used when
   12221 	  # linking a shared library.
   12222 	  output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
   12223 
   12224 	else
   12225 	  # FIXME: insert proper C++ library support
   12226 	  ld_shlibs_CXX=no
   12227 	fi
   12228 	;;
   12229     esac
   12230     ;;
   12231   osf4* | osf5*)
   12232     case $cc_basename in
   12233       KCC*)
   12234 	# Kuck and Associates, Inc. (KAI) C++ Compiler
   12235 
   12236 	# KCC will only create a shared library if the output file
   12237 	# ends with ".so" (or ".sl" for HP-UX), so rename the library
   12238 	# to its proper name (with version) after linking.
   12239 	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'
   12240 
   12241 	hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
   12242 	hardcode_libdir_separator_CXX=:
   12243 
   12244 	# Archives containing C++ object files must be created using
   12245 	# the KAI C++ compiler.
   12246 	old_archive_cmds_CXX='$CC -o $oldlib $oldobjs'
   12247 	;;
   12248       RCC*)
   12249 	# Rational C++ 2.4.1
   12250 	# FIXME: insert proper C++ library support
   12251 	ld_shlibs_CXX=no
   12252 	;;
   12253       cxx*)
   12254 	allow_undefined_flag_CXX=' -expect_unresolved \*'
   12255 	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'
   12256 	archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
   12257 	  echo "-hidden">> $lib.exp~
   12258 	  $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~
   12259 	  $rm $lib.exp'
   12260 
   12261 	hardcode_libdir_flag_spec_CXX='-rpath $libdir'
   12262 	hardcode_libdir_separator_CXX=:
   12263 
   12264 	# Commands to make compiler produce verbose output that lists
   12265 	# what "hidden" libraries, object files and flags are used when
   12266 	# linking a shared library.
   12267 	#
   12268 	# There doesn't appear to be a way to prevent this compiler from
   12269 	# explicitly linking system object files so we need to strip them
   12270 	# from the output so that they don't get included in the library
   12271 	# dependencies.
   12272 	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'
   12273 	;;
   12274       *)
   12275 	if test "$GXX" = yes && test "$with_gnu_ld" = no; then
   12276 	  allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
   12277 	 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'
   12278 
   12279 	  hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
   12280 	  hardcode_libdir_separator_CXX=:
   12281 
   12282 	  # Commands to make compiler produce verbose output that lists
   12283 	  # what "hidden" libraries, object files and flags are used when
   12284 	  # linking a shared library.
   12285 	  output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
   12286 
   12287 	else
   12288 	  # FIXME: insert proper C++ library support
   12289 	  ld_shlibs_CXX=no
   12290 	fi
   12291 	;;
   12292     esac
   12293     ;;
   12294   psos*)
   12295     # FIXME: insert proper C++ library support
   12296     ld_shlibs_CXX=no
   12297     ;;
   12298   sunos4*)
   12299     case $cc_basename in
   12300       CC*)
   12301 	# Sun C++ 4.x
   12302 	# FIXME: insert proper C++ library support
   12303 	ld_shlibs_CXX=no
   12304 	;;
   12305       lcc*)
   12306 	# Lucid
   12307 	# FIXME: insert proper C++ library support
   12308 	ld_shlibs_CXX=no
   12309 	;;
   12310       *)
   12311 	# FIXME: insert proper C++ library support
   12312 	ld_shlibs_CXX=no
   12313 	;;
   12314     esac
   12315     ;;
   12316   solaris*)
   12317     case $cc_basename in
   12318       CC*)
   12319 	# Sun C++ 4.2, 5.x and Centerline C++
   12320         archive_cmds_need_lc_CXX=yes
   12321 	no_undefined_flag_CXX=' -zdefs'
   12322 	archive_cmds_CXX='$CC -G${allow_undefined_flag}  -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   12323 	archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   12324 	$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'
   12325 
   12326 	hardcode_libdir_flag_spec_CXX='-R$libdir'
   12327 	hardcode_shlibpath_var_CXX=no
   12328 	case $host_os in
   12329 	  solaris2.[0-5] | solaris2.[0-5].*) ;;
   12330 	  *)
   12331 	    # The compiler driver will combine and reorder linker options,
   12332 	    # but understands `-z linker_flag'.
   12333 	    # Supported since Solaris 2.6 (maybe 2.5.1?)
   12334 	    whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
   12335 	    ;;
   12336 	esac
   12337 	link_all_deplibs_CXX=yes
   12338 
   12339 	output_verbose_link_cmd='echo'
   12340 
   12341 	# Archives containing C++ object files must be created using
   12342 	# "CC -xar", where "CC" is the Sun C++ compiler.  This is
   12343 	# necessary to make sure instantiated templates are included
   12344 	# in the archive.
   12345 	old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
   12346 	;;
   12347       gcx*)
   12348 	# Green Hills C++ Compiler
   12349 	archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
   12350 
   12351 	# The C++ compiler must be used to create the archive.
   12352 	old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
   12353 	;;
   12354       *)
   12355 	# GNU C++ compiler with Solaris linker
   12356 	if test "$GXX" = yes && test "$with_gnu_ld" = no; then
   12357 	  no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
   12358 	  if $CC --version | grep -v '^2\.7' > /dev/null; then
   12359 	    archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
   12360 	    archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   12361 		$CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
   12362 
   12363 	    # Commands to make compiler produce verbose output that lists
   12364 	    # what "hidden" libraries, object files and flags are used when
   12365 	    # linking a shared library.
   12366 	    output_verbose_link_cmd="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
   12367 	  else
   12368 	    # g++ 2.7 appears to require `-G' NOT `-shared' on this
   12369 	    # platform.
   12370 	    archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
   12371 	    archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   12372 		$CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
   12373 
   12374 	    # Commands to make compiler produce verbose output that lists
   12375 	    # what "hidden" libraries, object files and flags are used when
   12376 	    # linking a shared library.
   12377 	    output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
   12378 	  fi
   12379 
   12380 	  hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
   12381 	  case $host_os in
   12382 	  solaris2.[0-5] | solaris2.[0-5].*) ;;
   12383 	  *)
   12384 	    whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
   12385 	    ;;
   12386 	  esac
   12387 	fi
   12388 	;;
   12389     esac
   12390     ;;
   12391   sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   12392     no_undefined_flag_CXX='${wl}-z,text'
   12393     archive_cmds_need_lc_CXX=no
   12394     hardcode_shlibpath_var_CXX=no
   12395     runpath_var='LD_RUN_PATH'
   12396 
   12397     case $cc_basename in
   12398       CC*)
   12399 	archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   12400 	archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   12401 	;;
   12402       *)
   12403 	archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   12404 	archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   12405 	;;
   12406     esac
   12407     ;;
   12408   sysv5* | sco3.2v5* | sco5v6*)
   12409     # Note: We can NOT use -z defs as we might desire, because we do not
   12410     # link with -lc, and that would cause any symbols used from libc to
   12411     # always be unresolved, which means just about no library would
   12412     # ever link correctly.  If we're not using GNU ld we use -z text
   12413     # though, which does catch some bad symbols but isn't as heavy-handed
   12414     # as -z defs.
   12415     # For security reasons, it is highly recommended that you always
   12416     # use absolute paths for naming shared libraries, and exclude the
   12417     # DT_RUNPATH tag from executables and libraries.  But doing so
   12418     # requires that you compile everything twice, which is a pain.
   12419     # So that behaviour is only enabled if SCOABSPATH is set to a
   12420     # non-empty value in the environment.  Most likely only useful for
   12421     # creating official distributions of packages.
   12422     # This is a hack until libtool officially supports absolute path
   12423     # names for shared libraries.
   12424     no_undefined_flag_CXX='${wl}-z,text'
   12425     allow_undefined_flag_CXX='${wl}-z,nodefs'
   12426     archive_cmds_need_lc_CXX=no
   12427     hardcode_shlibpath_var_CXX=no
   12428     hardcode_libdir_flag_spec_CXX='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
   12429     hardcode_libdir_separator_CXX=':'
   12430     link_all_deplibs_CXX=yes
   12431     export_dynamic_flag_spec_CXX='${wl}-Bexport'
   12432     runpath_var='LD_RUN_PATH'
   12433 
   12434     case $cc_basename in
   12435       CC*)
   12436 	archive_cmds_CXX='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   12437 	archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   12438 	;;
   12439       *)
   12440 	archive_cmds_CXX='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   12441 	archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   12442 	;;
   12443     esac
   12444     ;;
   12445   tandem*)
   12446     case $cc_basename in
   12447       NCC*)
   12448 	# NonStop-UX NCC 3.20
   12449 	# FIXME: insert proper C++ library support
   12450 	ld_shlibs_CXX=no
   12451 	;;
   12452       *)
   12453 	# FIXME: insert proper C++ library support
   12454 	ld_shlibs_CXX=no
   12455 	;;
   12456     esac
   12457     ;;
   12458   vxworks*)
   12459     # FIXME: insert proper C++ library support
   12460     ld_shlibs_CXX=no
   12461     ;;
   12462   *)
   12463     # FIXME: insert proper C++ library support
   12464     ld_shlibs_CXX=no
   12465     ;;
   12466 esac
   12467 { $as_echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
   12468 $as_echo "$ld_shlibs_CXX" >&6; }
   12469 test "$ld_shlibs_CXX" = no && can_build_shared=no
   12470 
   12471 GCC_CXX="$GXX"
   12472 LD_CXX="$LD"
   12473 
   12474 cat > conftest.$ac_ext <<EOF
   12475 class Foo
   12476 {
   12477 public:
   12478   Foo (void) { a = 0; }
   12479 private:
   12480   int a;
   12481 };
   12482 EOF
   12483 
   12484 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   12485   (eval $ac_compile) 2>&5
   12486   ac_status=$?
   12487   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12488   (exit $ac_status); }; then
   12489   # Parse the compiler output and extract the necessary
   12490   # objects, libraries and library flags.
   12491 
   12492   # Sentinel used to keep track of whether or not we are before
   12493   # the conftest object file.
   12494   pre_test_object_deps_done=no
   12495 
   12496   # The `*' in the case matches for architectures that use `case' in
   12497   # $output_verbose_cmd can trigger glob expansion during the loop
   12498   # eval without this substitution.
   12499   output_verbose_link_cmd=`$echo "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
   12500 
   12501   for p in `eval $output_verbose_link_cmd`; do
   12502     case $p in
   12503 
   12504     -L* | -R* | -l*)
   12505        # Some compilers place space between "-{L,R}" and the path.
   12506        # Remove the space.
   12507        if test $p = "-L" \
   12508 	  || test $p = "-R"; then
   12509 	 prev=$p
   12510 	 continue
   12511        else
   12512 	 prev=
   12513        fi
   12514 
   12515        if test "$pre_test_object_deps_done" = no; then
   12516 	 case $p in
   12517 	 -L* | -R*)
   12518 	   # Internal compiler library paths should come after those
   12519 	   # provided the user.  The postdeps already come after the
   12520 	   # user supplied libs so there is no need to process them.
   12521 	   if test -z "$compiler_lib_search_path_CXX"; then
   12522 	     compiler_lib_search_path_CXX="${prev}${p}"
   12523 	   else
   12524 	     compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
   12525 	   fi
   12526 	   ;;
   12527 	 # The "-l" case would never come before the object being
   12528 	 # linked, so don't bother handling this case.
   12529 	 esac
   12530        else
   12531 	 if test -z "$postdeps_CXX"; then
   12532 	   postdeps_CXX="${prev}${p}"
   12533 	 else
   12534 	   postdeps_CXX="${postdeps_CXX} ${prev}${p}"
   12535 	 fi
   12536        fi
   12537        ;;
   12538 
   12539     *.$objext)
   12540        # This assumes that the test object file only shows up
   12541        # once in the compiler output.
   12542        if test "$p" = "conftest.$objext"; then
   12543 	 pre_test_object_deps_done=yes
   12544 	 continue
   12545        fi
   12546 
   12547        if test "$pre_test_object_deps_done" = no; then
   12548 	 if test -z "$predep_objects_CXX"; then
   12549 	   predep_objects_CXX="$p"
   12550 	 else
   12551 	   predep_objects_CXX="$predep_objects_CXX $p"
   12552 	 fi
   12553        else
   12554 	 if test -z "$postdep_objects_CXX"; then
   12555 	   postdep_objects_CXX="$p"
   12556 	 else
   12557 	   postdep_objects_CXX="$postdep_objects_CXX $p"
   12558 	 fi
   12559        fi
   12560        ;;
   12561 
   12562     *) ;; # Ignore the rest.
   12563 
   12564     esac
   12565   done
   12566 
   12567   # Clean up.
   12568   rm -f a.out a.exe
   12569 else
   12570   echo "libtool.m4: error: problem compiling CXX test program"
   12571 fi
   12572 
   12573 $rm -f confest.$objext
   12574 
   12575 compiler_lib_search_dirs_CXX=
   12576 if test -n "$compiler_lib_search_path_CXX"; then
   12577   compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
   12578 fi
   12579 
   12580 # PORTME: override above test on systems where it is broken
   12581 case $host_os in
   12582 interix[3-9]*)
   12583   # Interix 3.5 installs completely hosed .la files for C++, so rather than
   12584   # hack all around it, let's just trust "g++" to DTRT.
   12585   predep_objects_CXX=
   12586   postdep_objects_CXX=
   12587   postdeps_CXX=
   12588   ;;
   12589 
   12590 linux*)
   12591   case `$CC -V 2>&1 | sed 5q` in
   12592   *Sun\ C*)
   12593     # Sun C++ 5.9
   12594     #
   12595     # The more standards-conforming stlport4 library is
   12596     # incompatible with the Cstd library. Avoid specifying
   12597     # it if it's in CXXFLAGS. Ignore libCrun as
   12598     # -library=stlport4 depends on it.
   12599     case " $CXX $CXXFLAGS " in
   12600     *" -library=stlport4 "*)
   12601       solaris_use_stlport4=yes
   12602       ;;
   12603     esac
   12604     if test "$solaris_use_stlport4" != yes; then
   12605       postdeps_CXX='-library=Cstd -library=Crun'
   12606     fi
   12607     ;;
   12608   esac
   12609   ;;
   12610 
   12611 solaris*)
   12612   case $cc_basename in
   12613   CC*)
   12614     # The more standards-conforming stlport4 library is
   12615     # incompatible with the Cstd library. Avoid specifying
   12616     # it if it's in CXXFLAGS. Ignore libCrun as
   12617     # -library=stlport4 depends on it.
   12618     case " $CXX $CXXFLAGS " in
   12619     *" -library=stlport4 "*)
   12620       solaris_use_stlport4=yes
   12621       ;;
   12622     esac
   12623 
   12624     # Adding this requires a known-good setup of shared libraries for
   12625     # Sun compiler versions before 5.6, else PIC objects from an old
   12626     # archive will be linked into the output, leading to subtle bugs.
   12627     if test "$solaris_use_stlport4" != yes; then
   12628       postdeps_CXX='-library=Cstd -library=Crun'
   12629     fi
   12630     ;;
   12631   esac
   12632   ;;
   12633 esac
   12634 
   12635 case " $postdeps_CXX " in
   12636 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
   12637 esac
   12638 
   12639 lt_prog_compiler_wl_CXX=
   12640 lt_prog_compiler_pic_CXX=
   12641 lt_prog_compiler_static_CXX=
   12642 
   12643 { $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
   12644 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
   12645 
   12646   # C++ specific cases for pic, static, wl, etc.
   12647   if test "$GXX" = yes; then
   12648     lt_prog_compiler_wl_CXX='-Wl,'
   12649     lt_prog_compiler_static_CXX='-static'
   12650 
   12651     case $host_os in
   12652     aix*)
   12653       # All AIX code is PIC.
   12654       if test "$host_cpu" = ia64; then
   12655 	# AIX 5 now supports IA64 processor
   12656 	lt_prog_compiler_static_CXX='-Bstatic'
   12657       fi
   12658       ;;
   12659     amigaos*)
   12660       # FIXME: we need at least 68020 code to build shared libraries, but
   12661       # adding the `-m68020' flag to GCC prevents building anything better,
   12662       # like `-m68040'.
   12663       lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
   12664       ;;
   12665     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   12666       # PIC is the default for these OSes.
   12667       ;;
   12668     mingw* | cygwin* | os2* | pw32*)
   12669       # This hack is so that the source file can tell whether it is being
   12670       # built for inclusion in a dll (and should export symbols for example).
   12671       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   12672       # (--disable-auto-import) libraries
   12673       lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
   12674       ;;
   12675     darwin* | rhapsody*)
   12676       # PIC is the default on this platform
   12677       # Common symbols not allowed in MH_DYLIB files
   12678       lt_prog_compiler_pic_CXX='-fno-common'
   12679       ;;
   12680     *djgpp*)
   12681       # DJGPP does not support shared libraries at all
   12682       lt_prog_compiler_pic_CXX=
   12683       ;;
   12684     interix[3-9]*)
   12685       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   12686       # Instead, we relocate shared libraries at runtime.
   12687       ;;
   12688     sysv4*MP*)
   12689       if test -d /usr/nec; then
   12690 	lt_prog_compiler_pic_CXX=-Kconform_pic
   12691       fi
   12692       ;;
   12693     hpux*)
   12694       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   12695       # not for PA HP-UX.
   12696       case $host_cpu in
   12697       hppa*64*|ia64*)
   12698 	;;
   12699       *)
   12700 	lt_prog_compiler_pic_CXX='-fPIC'
   12701 	;;
   12702       esac
   12703       ;;
   12704     *)
   12705       lt_prog_compiler_pic_CXX='-fPIC'
   12706       ;;
   12707     esac
   12708   else
   12709     case $host_os in
   12710       aix[4-9]*)
   12711 	# All AIX code is PIC.
   12712 	if test "$host_cpu" = ia64; then
   12713 	  # AIX 5 now supports IA64 processor
   12714 	  lt_prog_compiler_static_CXX='-Bstatic'
   12715 	else
   12716 	  lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
   12717 	fi
   12718 	;;
   12719       chorus*)
   12720 	case $cc_basename in
   12721 	cxch68*)
   12722 	  # Green Hills C++ Compiler
   12723 	  # _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"
   12724 	  ;;
   12725 	esac
   12726 	;;
   12727        darwin*)
   12728          # PIC is the default on this platform
   12729          # Common symbols not allowed in MH_DYLIB files
   12730          case $cc_basename in
   12731            xlc*)
   12732            lt_prog_compiler_pic_CXX='-qnocommon'
   12733            lt_prog_compiler_wl_CXX='-Wl,'
   12734            ;;
   12735          esac
   12736        ;;
   12737       dgux*)
   12738 	case $cc_basename in
   12739 	  ec++*)
   12740 	    lt_prog_compiler_pic_CXX='-KPIC'
   12741 	    ;;
   12742 	  ghcx*)
   12743 	    # Green Hills C++ Compiler
   12744 	    lt_prog_compiler_pic_CXX='-pic'
   12745 	    ;;
   12746 	  *)
   12747 	    ;;
   12748 	esac
   12749 	;;
   12750       freebsd* | dragonfly*)
   12751 	# FreeBSD uses GNU C++
   12752 	;;
   12753       hpux9* | hpux10* | hpux11*)
   12754 	case $cc_basename in
   12755 	  CC*)
   12756 	    lt_prog_compiler_wl_CXX='-Wl,'
   12757 	    lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
   12758 	    if test "$host_cpu" != ia64; then
   12759 	      lt_prog_compiler_pic_CXX='+Z'
   12760 	    fi
   12761 	    ;;
   12762 	  aCC*)
   12763 	    lt_prog_compiler_wl_CXX='-Wl,'
   12764 	    lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
   12765 	    case $host_cpu in
   12766 	    hppa*64*|ia64*)
   12767 	      # +Z the default
   12768 	      ;;
   12769 	    *)
   12770 	      lt_prog_compiler_pic_CXX='+Z'
   12771 	      ;;
   12772 	    esac
   12773 	    ;;
   12774 	  *)
   12775 	    ;;
   12776 	esac
   12777 	;;
   12778       interix*)
   12779 	# This is c89, which is MS Visual C++ (no shared libs)
   12780 	# Anyone wants to do a port?
   12781 	;;
   12782       irix5* | irix6* | nonstopux*)
   12783 	case $cc_basename in
   12784 	  CC*)
   12785 	    lt_prog_compiler_wl_CXX='-Wl,'
   12786 	    lt_prog_compiler_static_CXX='-non_shared'
   12787 	    # CC pic flag -KPIC is the default.
   12788 	    ;;
   12789 	  *)
   12790 	    ;;
   12791 	esac
   12792 	;;
   12793       linux* | k*bsd*-gnu)
   12794 	case $cc_basename in
   12795 	  KCC*)
   12796 	    # KAI C++ Compiler
   12797 	    lt_prog_compiler_wl_CXX='--backend -Wl,'
   12798 	    lt_prog_compiler_pic_CXX='-fPIC'
   12799 	    ;;
   12800 	  icpc* | ecpc*)
   12801 	    # Intel C++
   12802 	    lt_prog_compiler_wl_CXX='-Wl,'
   12803 	    lt_prog_compiler_pic_CXX='-KPIC'
   12804 	    lt_prog_compiler_static_CXX='-static'
   12805 	    ;;
   12806 	  pgCC* | pgcpp*)
   12807 	    # Portland Group C++ compiler.
   12808 	    lt_prog_compiler_wl_CXX='-Wl,'
   12809 	    lt_prog_compiler_pic_CXX='-fpic'
   12810 	    lt_prog_compiler_static_CXX='-Bstatic'
   12811 	    ;;
   12812 	  cxx*)
   12813 	    # Compaq C++
   12814 	    # Make sure the PIC flag is empty.  It appears that all Alpha
   12815 	    # Linux and Compaq Tru64 Unix objects are PIC.
   12816 	    lt_prog_compiler_pic_CXX=
   12817 	    lt_prog_compiler_static_CXX='-non_shared'
   12818 	    ;;
   12819 	  *)
   12820 	    case `$CC -V 2>&1 | sed 5q` in
   12821 	    *Sun\ C*)
   12822 	      # Sun C++ 5.9
   12823 	      lt_prog_compiler_pic_CXX='-KPIC'
   12824 	      lt_prog_compiler_static_CXX='-Bstatic'
   12825 	      lt_prog_compiler_wl_CXX='-Qoption ld '
   12826 	      ;;
   12827 	    esac
   12828 	    ;;
   12829 	esac
   12830 	;;
   12831       lynxos*)
   12832 	;;
   12833       m88k*)
   12834 	;;
   12835       mvs*)
   12836 	case $cc_basename in
   12837 	  cxx*)
   12838 	    lt_prog_compiler_pic_CXX='-W c,exportall'
   12839 	    ;;
   12840 	  *)
   12841 	    ;;
   12842 	esac
   12843 	;;
   12844       netbsd*)
   12845 	;;
   12846       osf3* | osf4* | osf5*)
   12847 	case $cc_basename in
   12848 	  KCC*)
   12849 	    lt_prog_compiler_wl_CXX='--backend -Wl,'
   12850 	    ;;
   12851 	  RCC*)
   12852 	    # Rational C++ 2.4.1
   12853 	    lt_prog_compiler_pic_CXX='-pic'
   12854 	    ;;
   12855 	  cxx*)
   12856 	    # Digital/Compaq C++
   12857 	    lt_prog_compiler_wl_CXX='-Wl,'
   12858 	    # Make sure the PIC flag is empty.  It appears that all Alpha
   12859 	    # Linux and Compaq Tru64 Unix objects are PIC.
   12860 	    lt_prog_compiler_pic_CXX=
   12861 	    lt_prog_compiler_static_CXX='-non_shared'
   12862 	    ;;
   12863 	  *)
   12864 	    ;;
   12865 	esac
   12866 	;;
   12867       psos*)
   12868 	;;
   12869       solaris*)
   12870 	case $cc_basename in
   12871 	  CC*)
   12872 	    # Sun C++ 4.2, 5.x and Centerline C++
   12873 	    lt_prog_compiler_pic_CXX='-KPIC'
   12874 	    lt_prog_compiler_static_CXX='-Bstatic'
   12875 	    lt_prog_compiler_wl_CXX='-Qoption ld '
   12876 	    ;;
   12877 	  gcx*)
   12878 	    # Green Hills C++ Compiler
   12879 	    lt_prog_compiler_pic_CXX='-PIC'
   12880 	    ;;
   12881 	  *)
   12882 	    ;;
   12883 	esac
   12884 	;;
   12885       sunos4*)
   12886 	case $cc_basename in
   12887 	  CC*)
   12888 	    # Sun C++ 4.x
   12889 	    lt_prog_compiler_pic_CXX='-pic'
   12890 	    lt_prog_compiler_static_CXX='-Bstatic'
   12891 	    ;;
   12892 	  lcc*)
   12893 	    # Lucid
   12894 	    lt_prog_compiler_pic_CXX='-pic'
   12895 	    ;;
   12896 	  *)
   12897 	    ;;
   12898 	esac
   12899 	;;
   12900       tandem*)
   12901 	case $cc_basename in
   12902 	  NCC*)
   12903 	    # NonStop-UX NCC 3.20
   12904 	    lt_prog_compiler_pic_CXX='-KPIC'
   12905 	    ;;
   12906 	  *)
   12907 	    ;;
   12908 	esac
   12909 	;;
   12910       sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   12911 	case $cc_basename in
   12912 	  CC*)
   12913 	    lt_prog_compiler_wl_CXX='-Wl,'
   12914 	    lt_prog_compiler_pic_CXX='-KPIC'
   12915 	    lt_prog_compiler_static_CXX='-Bstatic'
   12916 	    ;;
   12917 	esac
   12918 	;;
   12919       vxworks*)
   12920 	;;
   12921       *)
   12922 	lt_prog_compiler_can_build_shared_CXX=no
   12923 	;;
   12924     esac
   12925   fi
   12926 
   12927 { $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
   12928 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
   12929 
   12930 #
   12931 # Check to make sure the PIC flag actually works.
   12932 #
   12933 if test -n "$lt_prog_compiler_pic_CXX"; then
   12934 
   12935 { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
   12936 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
   12937 if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then
   12938   $as_echo_n "(cached) " >&6
   12939 else
   12940   lt_cv_prog_compiler_pic_works_CXX=no
   12941   ac_outfile=conftest.$ac_objext
   12942    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   12943    lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
   12944    # Insert the option either (1) after the last *FLAGS variable, or
   12945    # (2) before a word containing "conftest.", or (3) at the end.
   12946    # Note that $ac_compile itself does not contain backslashes and begins
   12947    # with a dollar sign (not a hyphen), so the echo should work correctly.
   12948    # The option is referenced via a variable to avoid confusing sed.
   12949    lt_compile=`echo "$ac_compile" | $SED \
   12950    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   12951    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   12952    -e 's:$: $lt_compiler_flag:'`
   12953    (eval echo "\"\$as_me:12953: $lt_compile\"" >&5)
   12954    (eval "$lt_compile" 2>conftest.err)
   12955    ac_status=$?
   12956    cat conftest.err >&5
   12957    echo "$as_me:12957: \$? = $ac_status" >&5
   12958    if (exit $ac_status) && test -s "$ac_outfile"; then
   12959      # The compiler can only warn and ignore the option if not recognized
   12960      # So say no if there are warnings other than the usual output.
   12961      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   12962      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   12963      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   12964        lt_cv_prog_compiler_pic_works_CXX=yes
   12965      fi
   12966    fi
   12967    $rm conftest*
   12968 
   12969 fi
   12970 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
   12971 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
   12972 
   12973 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
   12974     case $lt_prog_compiler_pic_CXX in
   12975      "" | " "*) ;;
   12976      *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
   12977      esac
   12978 else
   12979     lt_prog_compiler_pic_CXX=
   12980      lt_prog_compiler_can_build_shared_CXX=no
   12981 fi
   12982 
   12983 fi
   12984 case $host_os in
   12985   # For platforms which do not support PIC, -DPIC is meaningless:
   12986   *djgpp*)
   12987     lt_prog_compiler_pic_CXX=
   12988     ;;
   12989   *)
   12990     lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
   12991     ;;
   12992 esac
   12993 
   12994 #
   12995 # Check to make sure the static flag actually works.
   12996 #
   12997 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
   12998 { $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   12999 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   13000 if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then
   13001   $as_echo_n "(cached) " >&6
   13002 else
   13003   lt_cv_prog_compiler_static_works_CXX=no
   13004    save_LDFLAGS="$LDFLAGS"
   13005    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   13006    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   13007    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   13008      # The linker can only warn and ignore the option if not recognized
   13009      # So say no if there are warnings
   13010      if test -s conftest.err; then
   13011        # Append any errors to the config.log.
   13012        cat conftest.err 1>&5
   13013        $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
   13014        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   13015        if diff conftest.exp conftest.er2 >/dev/null; then
   13016          lt_cv_prog_compiler_static_works_CXX=yes
   13017        fi
   13018      else
   13019        lt_cv_prog_compiler_static_works_CXX=yes
   13020      fi
   13021    fi
   13022    $rm -r conftest*
   13023    LDFLAGS="$save_LDFLAGS"
   13024 
   13025 fi
   13026 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_CXX" >&5
   13027 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
   13028 
   13029 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
   13030     :
   13031 else
   13032     lt_prog_compiler_static_CXX=
   13033 fi
   13034 
   13035 
   13036 { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
   13037 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   13038 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
   13039   $as_echo_n "(cached) " >&6
   13040 else
   13041   lt_cv_prog_compiler_c_o_CXX=no
   13042    $rm -r conftest 2>/dev/null
   13043    mkdir conftest
   13044    cd conftest
   13045    mkdir out
   13046    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   13047 
   13048    lt_compiler_flag="-o out/conftest2.$ac_objext"
   13049    # Insert the option either (1) after the last *FLAGS variable, or
   13050    # (2) before a word containing "conftest.", or (3) at the end.
   13051    # Note that $ac_compile itself does not contain backslashes and begins
   13052    # with a dollar sign (not a hyphen), so the echo should work correctly.
   13053    lt_compile=`echo "$ac_compile" | $SED \
   13054    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   13055    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   13056    -e 's:$: $lt_compiler_flag:'`
   13057    (eval echo "\"\$as_me:13057: $lt_compile\"" >&5)
   13058    (eval "$lt_compile" 2>out/conftest.err)
   13059    ac_status=$?
   13060    cat out/conftest.err >&5
   13061    echo "$as_me:13061: \$? = $ac_status" >&5
   13062    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   13063    then
   13064      # The compiler can only warn and ignore the option if not recognized
   13065      # So say no if there are warnings
   13066      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
   13067      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   13068      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   13069        lt_cv_prog_compiler_c_o_CXX=yes
   13070      fi
   13071    fi
   13072    chmod u+w . 2>&5
   13073    $rm conftest*
   13074    # SGI C++ compiler will create directory out/ii_files/ for
   13075    # template instantiation
   13076    test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
   13077    $rm out/* && rmdir out
   13078    cd ..
   13079    rmdir conftest
   13080    $rm conftest*
   13081 
   13082 fi
   13083 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
   13084 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
   13085 
   13086 
   13087 hard_links="nottested"
   13088 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
   13089   # do not overwrite the value of need_locks provided by the user
   13090   { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
   13091 $as_echo_n "checking if we can lock with hard links... " >&6; }
   13092   hard_links=yes
   13093   $rm conftest*
   13094   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   13095   touch conftest.a
   13096   ln conftest.a conftest.b 2>&5 || hard_links=no
   13097   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   13098   { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
   13099 $as_echo "$hard_links" >&6; }
   13100   if test "$hard_links" = no; then
   13101     { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   13102 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   13103     need_locks=warn
   13104   fi
   13105 else
   13106   need_locks=no
   13107 fi
   13108 
   13109 { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   13110 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   13111 
   13112   export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   13113   case $host_os in
   13114   aix[4-9]*)
   13115     # If we're using GNU nm, then we don't want the "-C" option.
   13116     # -C means demangle to AIX nm, but means don't demangle with GNU nm
   13117     if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
   13118       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'
   13119     else
   13120       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'
   13121     fi
   13122     ;;
   13123   pw32*)
   13124     export_symbols_cmds_CXX="$ltdll_cmds"
   13125   ;;
   13126   cygwin* | mingw*)
   13127     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'
   13128   ;;
   13129   *)
   13130     export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   13131   ;;
   13132   esac
   13133   exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   13134 
   13135 { $as_echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
   13136 $as_echo "$ld_shlibs_CXX" >&6; }
   13137 test "$ld_shlibs_CXX" = no && can_build_shared=no
   13138 
   13139 #
   13140 # Do we need to explicitly link libc?
   13141 #
   13142 case "x$archive_cmds_need_lc_CXX" in
   13143 x|xyes)
   13144   # Assume -lc should be added
   13145   archive_cmds_need_lc_CXX=yes
   13146 
   13147   if test "$enable_shared" = yes && test "$GCC" = yes; then
   13148     case $archive_cmds_CXX in
   13149     *'~'*)
   13150       # FIXME: we may have to deal with multi-command sequences.
   13151       ;;
   13152     '$CC '*)
   13153       # Test whether the compiler implicitly links with -lc since on some
   13154       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   13155       # to ld, don't add -lc before -lgcc.
   13156       { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
   13157 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
   13158       $rm conftest*
   13159       echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   13160 
   13161       if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   13162   (eval $ac_compile) 2>&5
   13163   ac_status=$?
   13164   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   13165   (exit $ac_status); } 2>conftest.err; then
   13166         soname=conftest
   13167         lib=conftest
   13168         libobjs=conftest.$ac_objext
   13169         deplibs=
   13170         wl=$lt_prog_compiler_wl_CXX
   13171 	pic_flag=$lt_prog_compiler_pic_CXX
   13172         compiler_flags=-v
   13173         linker_flags=-v
   13174         verstring=
   13175         output_objdir=.
   13176         libname=conftest
   13177         lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
   13178         allow_undefined_flag_CXX=
   13179         if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
   13180   (eval $archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
   13181   ac_status=$?
   13182   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   13183   (exit $ac_status); }
   13184         then
   13185 	  archive_cmds_need_lc_CXX=no
   13186         else
   13187 	  archive_cmds_need_lc_CXX=yes
   13188         fi
   13189         allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
   13190       else
   13191         cat conftest.err 1>&5
   13192       fi
   13193       $rm conftest*
   13194       { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
   13195 $as_echo "$archive_cmds_need_lc_CXX" >&6; }
   13196       ;;
   13197     esac
   13198   fi
   13199   ;;
   13200 esac
   13201 
   13202 { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
   13203 $as_echo_n "checking dynamic linker characteristics... " >&6; }
   13204 library_names_spec=
   13205 libname_spec='lib$name'
   13206 soname_spec=
   13207 shrext_cmds=".so"
   13208 postinstall_cmds=
   13209 postuninstall_cmds=
   13210 finish_cmds=
   13211 finish_eval=
   13212 shlibpath_var=
   13213 shlibpath_overrides_runpath=unknown
   13214 version_type=none
   13215 dynamic_linker="$host_os ld.so"
   13216 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   13217 
   13218 need_lib_prefix=unknown
   13219 hardcode_into_libs=no
   13220 
   13221 # when you set need_version to no, make sure it does not cause -set_version
   13222 # flags to be left without arguments
   13223 need_version=unknown
   13224 
   13225 case $host_os in
   13226 aix3*)
   13227   version_type=linux
   13228   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   13229   shlibpath_var=LIBPATH
   13230 
   13231   # AIX 3 has no versioning support, so we append a major version to the name.
   13232   soname_spec='${libname}${release}${shared_ext}$major'
   13233   ;;
   13234 
   13235 aix[4-9]*)
   13236   version_type=linux
   13237   need_lib_prefix=no
   13238   need_version=no
   13239   hardcode_into_libs=yes
   13240   if test "$host_cpu" = ia64; then
   13241     # AIX 5 supports IA64
   13242     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
   13243     shlibpath_var=LD_LIBRARY_PATH
   13244   else
   13245     # With GCC up to 2.95.x, collect2 would create an import file
   13246     # for dependence libraries.  The import file would start with
   13247     # the line `#! .'.  This would cause the generated library to
   13248     # depend on `.', always an invalid library.  This was fixed in
   13249     # development snapshots of GCC prior to 3.0.
   13250     case $host_os in
   13251       aix4 | aix4.[01] | aix4.[01].*)
   13252       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   13253 	   echo ' yes '
   13254 	   echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
   13255 	:
   13256       else
   13257 	can_build_shared=no
   13258       fi
   13259       ;;
   13260     esac
   13261     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
   13262     # soname into executable. Probably we can add versioning support to
   13263     # collect2, so additional links can be useful in future.
   13264     if test "$aix_use_runtimelinking" = yes; then
   13265       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   13266       # instead of lib<name>.a to let people know that these are not
   13267       # typical AIX shared libraries.
   13268       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13269     else
   13270       # We preserve .a as extension for shared libraries through AIX4.2
   13271       # and later when we are not doing run time linking.
   13272       library_names_spec='${libname}${release}.a $libname.a'
   13273       soname_spec='${libname}${release}${shared_ext}$major'
   13274     fi
   13275     shlibpath_var=LIBPATH
   13276   fi
   13277   ;;
   13278 
   13279 amigaos*)
   13280   library_names_spec='$libname.ixlibrary $libname.a'
   13281   # Create ${libname}_ixlibrary.a entries in /sys/libs.
   13282   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'
   13283   ;;
   13284 
   13285 beos*)
   13286   library_names_spec='${libname}${shared_ext}'
   13287   dynamic_linker="$host_os ld.so"
   13288   shlibpath_var=LIBRARY_PATH
   13289   ;;
   13290 
   13291 bsdi[45]*)
   13292   version_type=linux
   13293   need_version=no
   13294   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13295   soname_spec='${libname}${release}${shared_ext}$major'
   13296   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   13297   shlibpath_var=LD_LIBRARY_PATH
   13298   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   13299   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   13300   # the default ld.so.conf also contains /usr/contrib/lib and
   13301   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   13302   # libtool to hard-code these into programs
   13303   ;;
   13304 
   13305 cygwin* | mingw* | pw32*)
   13306   version_type=windows
   13307   shrext_cmds=".dll"
   13308   need_version=no
   13309   need_lib_prefix=no
   13310 
   13311   case $GCC,$host_os in
   13312   yes,cygwin* | yes,mingw* | yes,pw32*)
   13313     library_names_spec='$libname.dll.a'
   13314     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   13315     postinstall_cmds='base_file=`basename \${file}`~
   13316       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
   13317       dldir=$destdir/`dirname \$dlpath`~
   13318       test -d \$dldir || mkdir -p \$dldir~
   13319       $install_prog $dir/$dlname \$dldir/$dlname~
   13320       chmod a+x \$dldir/$dlname'
   13321     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   13322       dlpath=$dir/\$dldll~
   13323        $rm \$dlpath'
   13324     shlibpath_overrides_runpath=yes
   13325 
   13326     case $host_os in
   13327     cygwin*)
   13328       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   13329       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   13330       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
   13331       ;;
   13332     mingw*)
   13333       # MinGW DLLs use traditional 'lib' prefix
   13334       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   13335       sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   13336       if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
   13337         # It is most probably a Windows format PATH printed by
   13338         # mingw gcc, but we are running on Cygwin. Gcc prints its search
   13339         # path with ; separators, and with drive letters. We can handle the
   13340         # drive letters (cygwin fileutils understands them), so leave them,
   13341         # especially as we might pass files found there to a mingw objdump,
   13342         # which wouldn't understand a cygwinified path. Ahh.
   13343         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   13344       else
   13345         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   13346       fi
   13347       ;;
   13348     pw32*)
   13349       # pw32 DLLs use 'pw' prefix rather than 'lib'
   13350       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   13351       ;;
   13352     esac
   13353     ;;
   13354 
   13355   *)
   13356     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
   13357     ;;
   13358   esac
   13359   dynamic_linker='Win32 ld.exe'
   13360   # FIXME: first we should search . and the directory the executable is in
   13361   shlibpath_var=PATH
   13362   ;;
   13363 
   13364 darwin* | rhapsody*)
   13365   dynamic_linker="$host_os dyld"
   13366   version_type=darwin
   13367   need_lib_prefix=no
   13368   need_version=no
   13369   library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
   13370   soname_spec='${libname}${release}${major}$shared_ext'
   13371   shlibpath_overrides_runpath=yes
   13372   shlibpath_var=DYLD_LIBRARY_PATH
   13373   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   13374 
   13375   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   13376   ;;
   13377 
   13378 dgux*)
   13379   version_type=linux
   13380   need_lib_prefix=no
   13381   need_version=no
   13382   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
   13383   soname_spec='${libname}${release}${shared_ext}$major'
   13384   shlibpath_var=LD_LIBRARY_PATH
   13385   ;;
   13386 
   13387 freebsd1*)
   13388   dynamic_linker=no
   13389   ;;
   13390 
   13391 freebsd* | dragonfly*)
   13392   # DragonFly does not have aout.  When/if they implement a new
   13393   # versioning mechanism, adjust this.
   13394   if test -x /usr/bin/objformat; then
   13395     objformat=`/usr/bin/objformat`
   13396   else
   13397     case $host_os in
   13398     freebsd[123]*) objformat=aout ;;
   13399     *) objformat=elf ;;
   13400     esac
   13401   fi
   13402   version_type=freebsd-$objformat
   13403   case $version_type in
   13404     freebsd-elf*)
   13405       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   13406       need_version=no
   13407       need_lib_prefix=no
   13408       ;;
   13409     freebsd-*)
   13410       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
   13411       need_version=yes
   13412       ;;
   13413   esac
   13414   shlibpath_var=LD_LIBRARY_PATH
   13415   case $host_os in
   13416   freebsd2*)
   13417     shlibpath_overrides_runpath=yes
   13418     ;;
   13419   freebsd3.[01]* | freebsdelf3.[01]*)
   13420     shlibpath_overrides_runpath=yes
   13421     hardcode_into_libs=yes
   13422     ;;
   13423   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   13424   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   13425     shlibpath_overrides_runpath=no
   13426     hardcode_into_libs=yes
   13427     ;;
   13428   *) # from 4.6 on, and DragonFly
   13429     shlibpath_overrides_runpath=yes
   13430     hardcode_into_libs=yes
   13431     ;;
   13432   esac
   13433   ;;
   13434 
   13435 gnu*)
   13436   version_type=linux
   13437   need_lib_prefix=no
   13438   need_version=no
   13439   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   13440   soname_spec='${libname}${release}${shared_ext}$major'
   13441   shlibpath_var=LD_LIBRARY_PATH
   13442   hardcode_into_libs=yes
   13443   ;;
   13444 
   13445 hpux9* | hpux10* | hpux11*)
   13446   # Give a soname corresponding to the major version so that dld.sl refuses to
   13447   # link against other versions.
   13448   version_type=sunos
   13449   need_lib_prefix=no
   13450   need_version=no
   13451   case $host_cpu in
   13452   ia64*)
   13453     shrext_cmds='.so'
   13454     hardcode_into_libs=yes
   13455     dynamic_linker="$host_os dld.so"
   13456     shlibpath_var=LD_LIBRARY_PATH
   13457     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   13458     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13459     soname_spec='${libname}${release}${shared_ext}$major'
   13460     if test "X$HPUX_IA64_MODE" = X32; then
   13461       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   13462     else
   13463       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   13464     fi
   13465     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   13466     ;;
   13467    hppa*64*)
   13468      shrext_cmds='.sl'
   13469      hardcode_into_libs=yes
   13470      dynamic_linker="$host_os dld.sl"
   13471      shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   13472      shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   13473      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13474      soname_spec='${libname}${release}${shared_ext}$major'
   13475      sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   13476      sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   13477      ;;
   13478    *)
   13479     shrext_cmds='.sl'
   13480     dynamic_linker="$host_os dld.sl"
   13481     shlibpath_var=SHLIB_PATH
   13482     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   13483     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13484     soname_spec='${libname}${release}${shared_ext}$major'
   13485     ;;
   13486   esac
   13487   # HP-UX runs *really* slowly unless shared libraries are mode 555.
   13488   postinstall_cmds='chmod 555 $lib'
   13489   ;;
   13490 
   13491 interix[3-9]*)
   13492   version_type=linux
   13493   need_lib_prefix=no
   13494   need_version=no
   13495   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   13496   soname_spec='${libname}${release}${shared_ext}$major'
   13497   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   13498   shlibpath_var=LD_LIBRARY_PATH
   13499   shlibpath_overrides_runpath=no
   13500   hardcode_into_libs=yes
   13501   ;;
   13502 
   13503 irix5* | irix6* | nonstopux*)
   13504   case $host_os in
   13505     nonstopux*) version_type=nonstopux ;;
   13506     *)
   13507 	if test "$lt_cv_prog_gnu_ld" = yes; then
   13508 		version_type=linux
   13509 	else
   13510 		version_type=irix
   13511 	fi ;;
   13512   esac
   13513   need_lib_prefix=no
   13514   need_version=no
   13515   soname_spec='${libname}${release}${shared_ext}$major'
   13516   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
   13517   case $host_os in
   13518   irix5* | nonstopux*)
   13519     libsuff= shlibsuff=
   13520     ;;
   13521   *)
   13522     case $LD in # libtool.m4 will add one of these switches to LD
   13523     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   13524       libsuff= shlibsuff= libmagic=32-bit;;
   13525     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   13526       libsuff=32 shlibsuff=N32 libmagic=N32;;
   13527     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   13528       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   13529     *) libsuff= shlibsuff= libmagic=never-match;;
   13530     esac
   13531     ;;
   13532   esac
   13533   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   13534   shlibpath_overrides_runpath=no
   13535   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   13536   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   13537   hardcode_into_libs=yes
   13538   ;;
   13539 
   13540 # No shared lib support for Linux oldld, aout, or coff.
   13541 linux*oldld* | linux*aout* | linux*coff*)
   13542   dynamic_linker=no
   13543   ;;
   13544 
   13545 # This must be Linux ELF.
   13546 linux* | k*bsd*-gnu)
   13547   version_type=linux
   13548   need_lib_prefix=no
   13549   need_version=no
   13550   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13551   soname_spec='${libname}${release}${shared_ext}$major'
   13552   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   13553   shlibpath_var=LD_LIBRARY_PATH
   13554   shlibpath_overrides_runpath=no
   13555   # This implies no fast_install, which is unacceptable.
   13556   # Some rework will be needed to allow for fast_install
   13557   # before this can be enabled.
   13558   hardcode_into_libs=yes
   13559 
   13560   # Append ld.so.conf contents to the search path
   13561   if test -f /etc/ld.so.conf; then
   13562     lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ 	]*hwcap[ 	]/d;s/[:,	]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
   13563     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   13564   fi
   13565 
   13566   # We used to test for /lib/ld.so.1 and disable shared libraries on
   13567   # powerpc, because MkLinux only supported shared libraries with the
   13568   # GNU dynamic linker.  Since this was broken with cross compilers,
   13569   # most powerpc-linux boxes support dynamic linking these days and
   13570   # people can always --disable-shared, the test was removed, and we
   13571   # assume the GNU/Linux dynamic linker is in use.
   13572   dynamic_linker='GNU/Linux ld.so'
   13573   ;;
   13574 
   13575 netbsd*)
   13576   version_type=sunos
   13577   need_lib_prefix=no
   13578   need_version=no
   13579   if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   13580     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   13581     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   13582     dynamic_linker='NetBSD (a.out) ld.so'
   13583   else
   13584     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   13585     soname_spec='${libname}${release}${shared_ext}$major'
   13586     dynamic_linker='NetBSD ld.elf_so'
   13587   fi
   13588   shlibpath_var=LD_LIBRARY_PATH
   13589   shlibpath_overrides_runpath=yes
   13590   hardcode_into_libs=yes
   13591   ;;
   13592 
   13593 newsos6)
   13594   version_type=linux
   13595   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13596   shlibpath_var=LD_LIBRARY_PATH
   13597   shlibpath_overrides_runpath=yes
   13598   ;;
   13599 
   13600 nto-qnx*)
   13601   version_type=linux
   13602   need_lib_prefix=no
   13603   need_version=no
   13604   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13605   soname_spec='${libname}${release}${shared_ext}$major'
   13606   shlibpath_var=LD_LIBRARY_PATH
   13607   shlibpath_overrides_runpath=yes
   13608   ;;
   13609 
   13610 openbsd*)
   13611   version_type=sunos
   13612   sys_lib_dlsearch_path_spec="/usr/lib"
   13613   need_lib_prefix=no
   13614   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
   13615   case $host_os in
   13616     openbsd3.3 | openbsd3.3.*) need_version=yes ;;
   13617     *)                         need_version=no  ;;
   13618   esac
   13619   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   13620   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   13621   shlibpath_var=LD_LIBRARY_PATH
   13622   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   13623     case $host_os in
   13624       openbsd2.[89] | openbsd2.[89].*)
   13625 	shlibpath_overrides_runpath=no
   13626 	;;
   13627       *)
   13628 	shlibpath_overrides_runpath=yes
   13629 	;;
   13630       esac
   13631   else
   13632     shlibpath_overrides_runpath=yes
   13633   fi
   13634   ;;
   13635 
   13636 os2*)
   13637   libname_spec='$name'
   13638   shrext_cmds=".dll"
   13639   need_lib_prefix=no
   13640   library_names_spec='$libname${shared_ext} $libname.a'
   13641   dynamic_linker='OS/2 ld.exe'
   13642   shlibpath_var=LIBPATH
   13643   ;;
   13644 
   13645 osf3* | osf4* | osf5*)
   13646   version_type=osf
   13647   need_lib_prefix=no
   13648   need_version=no
   13649   soname_spec='${libname}${release}${shared_ext}$major'
   13650   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13651   shlibpath_var=LD_LIBRARY_PATH
   13652   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   13653   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   13654   ;;
   13655 
   13656 rdos*)
   13657   dynamic_linker=no
   13658   ;;
   13659 
   13660 solaris*)
   13661   version_type=linux
   13662   need_lib_prefix=no
   13663   need_version=no
   13664   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13665   soname_spec='${libname}${release}${shared_ext}$major'
   13666   shlibpath_var=LD_LIBRARY_PATH
   13667   shlibpath_overrides_runpath=yes
   13668   hardcode_into_libs=yes
   13669   # ldd complains unless libraries are executable
   13670   postinstall_cmds='chmod +x $lib'
   13671   ;;
   13672 
   13673 sunos4*)
   13674   version_type=sunos
   13675   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   13676   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   13677   shlibpath_var=LD_LIBRARY_PATH
   13678   shlibpath_overrides_runpath=yes
   13679   if test "$with_gnu_ld" = yes; then
   13680     need_lib_prefix=no
   13681   fi
   13682   need_version=yes
   13683   ;;
   13684 
   13685 sysv4 | sysv4.3*)
   13686   version_type=linux
   13687   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13688   soname_spec='${libname}${release}${shared_ext}$major'
   13689   shlibpath_var=LD_LIBRARY_PATH
   13690   case $host_vendor in
   13691     sni)
   13692       shlibpath_overrides_runpath=no
   13693       need_lib_prefix=no
   13694       export_dynamic_flag_spec='${wl}-Blargedynsym'
   13695       runpath_var=LD_RUN_PATH
   13696       ;;
   13697     siemens)
   13698       need_lib_prefix=no
   13699       ;;
   13700     motorola)
   13701       need_lib_prefix=no
   13702       need_version=no
   13703       shlibpath_overrides_runpath=no
   13704       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   13705       ;;
   13706   esac
   13707   ;;
   13708 
   13709 sysv4*MP*)
   13710   if test -d /usr/nec ;then
   13711     version_type=linux
   13712     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
   13713     soname_spec='$libname${shared_ext}.$major'
   13714     shlibpath_var=LD_LIBRARY_PATH
   13715   fi
   13716   ;;
   13717 
   13718 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   13719   version_type=freebsd-elf
   13720   need_lib_prefix=no
   13721   need_version=no
   13722   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   13723   soname_spec='${libname}${release}${shared_ext}$major'
   13724   shlibpath_var=LD_LIBRARY_PATH
   13725   hardcode_into_libs=yes
   13726   if test "$with_gnu_ld" = yes; then
   13727     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   13728     shlibpath_overrides_runpath=no
   13729   else
   13730     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   13731     shlibpath_overrides_runpath=yes
   13732     case $host_os in
   13733       sco3.2v5*)
   13734         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   13735 	;;
   13736     esac
   13737   fi
   13738   sys_lib_dlsearch_path_spec='/usr/lib'
   13739   ;;
   13740 
   13741 uts4*)
   13742   version_type=linux
   13743   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13744   soname_spec='${libname}${release}${shared_ext}$major'
   13745   shlibpath_var=LD_LIBRARY_PATH
   13746   ;;
   13747 
   13748 *)
   13749   dynamic_linker=no
   13750   ;;
   13751 esac
   13752 { $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
   13753 $as_echo "$dynamic_linker" >&6; }
   13754 test "$dynamic_linker" = no && can_build_shared=no
   13755 
   13756 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
   13757   $as_echo_n "(cached) " >&6
   13758 else
   13759   lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
   13760 fi
   13761 
   13762 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
   13763 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
   13764   $as_echo_n "(cached) " >&6
   13765 else
   13766   lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
   13767 fi
   13768 
   13769 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
   13770 
   13771 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   13772 if test "$GCC" = yes; then
   13773   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   13774 fi
   13775 
   13776 { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
   13777 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
   13778 hardcode_action_CXX=
   13779 if test -n "$hardcode_libdir_flag_spec_CXX" || \
   13780    test -n "$runpath_var_CXX" || \
   13781    test "X$hardcode_automatic_CXX" = "Xyes" ; then
   13782 
   13783   # We can hardcode non-existant directories.
   13784   if test "$hardcode_direct_CXX" != no &&
   13785      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   13786      # have to relink, otherwise we might link with an installed library
   13787      # when we should be linking with a yet-to-be-installed one
   13788      ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
   13789      test "$hardcode_minus_L_CXX" != no; then
   13790     # Linking always hardcodes the temporary library directory.
   13791     hardcode_action_CXX=relink
   13792   else
   13793     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   13794     hardcode_action_CXX=immediate
   13795   fi
   13796 else
   13797   # We cannot hardcode anything, or else we can only hardcode existing
   13798   # directories.
   13799   hardcode_action_CXX=unsupported
   13800 fi
   13801 { $as_echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
   13802 $as_echo "$hardcode_action_CXX" >&6; }
   13803 
   13804 if test "$hardcode_action_CXX" = relink; then
   13805   # Fast installation is not supported
   13806   enable_fast_install=no
   13807 elif test "$shlibpath_overrides_runpath" = yes ||
   13808      test "$enable_shared" = no; then
   13809   # Fast installation is not necessary
   13810   enable_fast_install=needless
   13811 fi
   13812 
   13813 
   13814 # The else clause should only fire when bootstrapping the
   13815 # libtool distribution, otherwise you forgot to ship ltmain.sh
   13816 # with your package, and you will get complaints that there are
   13817 # no rules to generate ltmain.sh.
   13818 if test -f "$ltmain"; then
   13819   # See if we are running on zsh, and set the options which allow our commands through
   13820   # without removal of \ escapes.
   13821   if test -n "${ZSH_VERSION+set}" ; then
   13822     setopt NO_GLOB_SUBST
   13823   fi
   13824   # Now quote all the things that may contain metacharacters while being
   13825   # careful not to overquote the AC_SUBSTed values.  We take copies of the
   13826   # variables and quote the copies for generation of the libtool script.
   13827   for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
   13828     SED SHELL STRIP \
   13829     libname_spec library_names_spec soname_spec extract_expsyms_cmds \
   13830     old_striplib striplib file_magic_cmd finish_cmds finish_eval \
   13831     deplibs_check_method reload_flag reload_cmds need_locks \
   13832     lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
   13833     lt_cv_sys_global_symbol_to_c_name_address \
   13834     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
   13835     old_postinstall_cmds old_postuninstall_cmds \
   13836     compiler_CXX \
   13837     CC_CXX \
   13838     LD_CXX \
   13839     lt_prog_compiler_wl_CXX \
   13840     lt_prog_compiler_pic_CXX \
   13841     lt_prog_compiler_static_CXX \
   13842     lt_prog_compiler_no_builtin_flag_CXX \
   13843     export_dynamic_flag_spec_CXX \
   13844     thread_safe_flag_spec_CXX \
   13845     whole_archive_flag_spec_CXX \
   13846     enable_shared_with_static_runtimes_CXX \
   13847     old_archive_cmds_CXX \
   13848     old_archive_from_new_cmds_CXX \
   13849     predep_objects_CXX \
   13850     postdep_objects_CXX \
   13851     predeps_CXX \
   13852     postdeps_CXX \
   13853     compiler_lib_search_path_CXX \
   13854     compiler_lib_search_dirs_CXX \
   13855     archive_cmds_CXX \
   13856     archive_expsym_cmds_CXX \
   13857     postinstall_cmds_CXX \
   13858     postuninstall_cmds_CXX \
   13859     old_archive_from_expsyms_cmds_CXX \
   13860     allow_undefined_flag_CXX \
   13861     no_undefined_flag_CXX \
   13862     export_symbols_cmds_CXX \
   13863     hardcode_libdir_flag_spec_CXX \
   13864     hardcode_libdir_flag_spec_ld_CXX \
   13865     hardcode_libdir_separator_CXX \
   13866     hardcode_automatic_CXX \
   13867     module_cmds_CXX \
   13868     module_expsym_cmds_CXX \
   13869     lt_cv_prog_compiler_c_o_CXX \
   13870     fix_srcfile_path_CXX \
   13871     exclude_expsyms_CXX \
   13872     include_expsyms_CXX; do
   13873 
   13874     case $var in
   13875     old_archive_cmds_CXX | \
   13876     old_archive_from_new_cmds_CXX | \
   13877     archive_cmds_CXX | \
   13878     archive_expsym_cmds_CXX | \
   13879     module_cmds_CXX | \
   13880     module_expsym_cmds_CXX | \
   13881     old_archive_from_expsyms_cmds_CXX | \
   13882     export_symbols_cmds_CXX | \
   13883     extract_expsyms_cmds | reload_cmds | finish_cmds | \
   13884     postinstall_cmds | postuninstall_cmds | \
   13885     old_postinstall_cmds | old_postuninstall_cmds | \
   13886     sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
   13887       # Double-quote double-evaled strings.
   13888       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
   13889       ;;
   13890     *)
   13891       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
   13892       ;;
   13893     esac
   13894   done
   13895 
   13896   case $lt_echo in
   13897   *'\$0 --fallback-echo"')
   13898     lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
   13899     ;;
   13900   esac
   13901 
   13902 cfgfile="$ofile"
   13903 
   13904   cat <<__EOF__ >> "$cfgfile"
   13905 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
   13906 
   13907 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   13908 
   13909 # Shell to use when invoking shell scripts.
   13910 SHELL=$lt_SHELL
   13911 
   13912 # Whether or not to build shared libraries.
   13913 build_libtool_libs=$enable_shared
   13914 
   13915 # Whether or not to build static libraries.
   13916 build_old_libs=$enable_static
   13917 
   13918 # Whether or not to add -lc for building shared libraries.
   13919 build_libtool_need_lc=$archive_cmds_need_lc_CXX
   13920 
   13921 # Whether or not to disallow shared libs when runtime libs are static
   13922 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
   13923 
   13924 # Whether or not to optimize for fast installation.
   13925 fast_install=$enable_fast_install
   13926 
   13927 # The host system.
   13928 host_alias=$host_alias
   13929 host=$host
   13930 host_os=$host_os
   13931 
   13932 # The build system.
   13933 build_alias=$build_alias
   13934 build=$build
   13935 build_os=$build_os
   13936 
   13937 # An echo program that does not interpret backslashes.
   13938 echo=$lt_echo
   13939 
   13940 # The archiver.
   13941 AR=$lt_AR
   13942 AR_FLAGS=$lt_AR_FLAGS
   13943 
   13944 # A C compiler.
   13945 LTCC=$lt_LTCC
   13946 
   13947 # LTCC compiler flags.
   13948 LTCFLAGS=$lt_LTCFLAGS
   13949 
   13950 # A language-specific compiler.
   13951 CC=$lt_compiler_CXX
   13952 
   13953 # Is the compiler the GNU C compiler?
   13954 with_gcc=$GCC_CXX
   13955 
   13956 # An ERE matcher.
   13957 EGREP=$lt_EGREP
   13958 
   13959 # The linker used to build libraries.
   13960 LD=$lt_LD_CXX
   13961 
   13962 # Whether we need hard or soft links.
   13963 LN_S=$lt_LN_S
   13964 
   13965 # A BSD-compatible nm program.
   13966 NM=$lt_NM
   13967 
   13968 # A symbol stripping program
   13969 STRIP=$lt_STRIP
   13970 
   13971 # Used to examine libraries when file_magic_cmd begins "file"
   13972 MAGIC_CMD=$MAGIC_CMD
   13973 
   13974 # Used on cygwin: DLL creation program.
   13975 DLLTOOL="$DLLTOOL"
   13976 
   13977 # Used on cygwin: object dumper.
   13978 OBJDUMP="$OBJDUMP"
   13979 
   13980 # Used on cygwin: assembler.
   13981 AS="$AS"
   13982 
   13983 # The name of the directory that contains temporary libtool files.
   13984 objdir=$objdir
   13985 
   13986 # How to create reloadable object files.
   13987 reload_flag=$lt_reload_flag
   13988 reload_cmds=$lt_reload_cmds
   13989 
   13990 # How to pass a linker flag through the compiler.
   13991 wl=$lt_lt_prog_compiler_wl_CXX
   13992 
   13993 # Object file suffix (normally "o").
   13994 objext="$ac_objext"
   13995 
   13996 # Old archive suffix (normally "a").
   13997 libext="$libext"
   13998 
   13999 # Shared library suffix (normally ".so").
   14000 shrext_cmds='$shrext_cmds'
   14001 
   14002 # Executable file suffix (normally "").
   14003 exeext="$exeext"
   14004 
   14005 # Additional compiler flags for building library objects.
   14006 pic_flag=$lt_lt_prog_compiler_pic_CXX
   14007 pic_mode=$pic_mode
   14008 
   14009 # What is the maximum length of a command?
   14010 max_cmd_len=$lt_cv_sys_max_cmd_len
   14011 
   14012 # Does compiler simultaneously support -c and -o options?
   14013 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
   14014 
   14015 # Must we lock files when doing compilation?
   14016 need_locks=$lt_need_locks
   14017 
   14018 # Do we need the lib prefix for modules?
   14019 need_lib_prefix=$need_lib_prefix
   14020 
   14021 # Do we need a version for libraries?
   14022 need_version=$need_version
   14023 
   14024 # Whether dlopen is supported.
   14025 dlopen_support=$enable_dlopen
   14026 
   14027 # Whether dlopen of programs is supported.
   14028 dlopen_self=$enable_dlopen_self
   14029 
   14030 # Whether dlopen of statically linked programs is supported.
   14031 dlopen_self_static=$enable_dlopen_self_static
   14032 
   14033 # Compiler flag to prevent dynamic linking.
   14034 link_static_flag=$lt_lt_prog_compiler_static_CXX
   14035 
   14036 # Compiler flag to turn off builtin functions.
   14037 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
   14038 
   14039 # Compiler flag to allow reflexive dlopens.
   14040 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
   14041 
   14042 # Compiler flag to generate shared objects directly from archives.
   14043 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
   14044 
   14045 # Compiler flag to generate thread-safe objects.
   14046 thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
   14047 
   14048 # Library versioning type.
   14049 version_type=$version_type
   14050 
   14051 # Format of library name prefix.
   14052 libname_spec=$lt_libname_spec
   14053 
   14054 # List of archive names.  First name is the real one, the rest are links.
   14055 # The last name is the one that the linker finds with -lNAME.
   14056 library_names_spec=$lt_library_names_spec
   14057 
   14058 # The coded name of the library, if different from the real name.
   14059 soname_spec=$lt_soname_spec
   14060 
   14061 # Commands used to build and install an old-style archive.
   14062 RANLIB=$lt_RANLIB
   14063 old_archive_cmds=$lt_old_archive_cmds_CXX
   14064 old_postinstall_cmds=$lt_old_postinstall_cmds
   14065 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   14066 
   14067 # Create an old-style archive from a shared archive.
   14068 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
   14069 
   14070 # Create a temporary old-style archive to link instead of a shared archive.
   14071 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
   14072 
   14073 # Commands used to build and install a shared archive.
   14074 archive_cmds=$lt_archive_cmds_CXX
   14075 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
   14076 postinstall_cmds=$lt_postinstall_cmds
   14077 postuninstall_cmds=$lt_postuninstall_cmds
   14078 
   14079 # Commands used to build a loadable module (assumed same as above if empty)
   14080 module_cmds=$lt_module_cmds_CXX
   14081 module_expsym_cmds=$lt_module_expsym_cmds_CXX
   14082 
   14083 # Commands to strip libraries.
   14084 old_striplib=$lt_old_striplib
   14085 striplib=$lt_striplib
   14086 
   14087 # Dependencies to place before the objects being linked to create a
   14088 # shared library.
   14089 predep_objects=$lt_predep_objects_CXX
   14090 
   14091 # Dependencies to place after the objects being linked to create a
   14092 # shared library.
   14093 postdep_objects=$lt_postdep_objects_CXX
   14094 
   14095 # Dependencies to place before the objects being linked to create a
   14096 # shared library.
   14097 predeps=$lt_predeps_CXX
   14098 
   14099 # Dependencies to place after the objects being linked to create a
   14100 # shared library.
   14101 postdeps=$lt_postdeps_CXX
   14102 
   14103 # The directories searched by this compiler when creating a shared
   14104 # library
   14105 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
   14106 
   14107 # The library search path used internally by the compiler when linking
   14108 # a shared library.
   14109 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
   14110 
   14111 # Method to check whether dependent libraries are shared objects.
   14112 deplibs_check_method=$lt_deplibs_check_method
   14113 
   14114 # Command to use when deplibs_check_method == file_magic.
   14115 file_magic_cmd=$lt_file_magic_cmd
   14116 
   14117 # Flag that allows shared libraries with undefined symbols to be built.
   14118 allow_undefined_flag=$lt_allow_undefined_flag_CXX
   14119 
   14120 # Flag that forces no undefined symbols.
   14121 no_undefined_flag=$lt_no_undefined_flag_CXX
   14122 
   14123 # Commands used to finish a libtool library installation in a directory.
   14124 finish_cmds=$lt_finish_cmds
   14125 
   14126 # Same as above, but a single script fragment to be evaled but not shown.
   14127 finish_eval=$lt_finish_eval
   14128 
   14129 # Take the output of nm and produce a listing of raw symbols and C names.
   14130 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   14131 
   14132 # Transform the output of nm in a proper C declaration
   14133 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   14134 
   14135 # Transform the output of nm in a C name address pair
   14136 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   14137 
   14138 # This is the shared library runtime path variable.
   14139 runpath_var=$runpath_var
   14140 
   14141 # This is the shared library path variable.
   14142 shlibpath_var=$shlibpath_var
   14143 
   14144 # Is shlibpath searched before the hard-coded library search path?
   14145 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   14146 
   14147 # How to hardcode a shared library path into an executable.
   14148 hardcode_action=$hardcode_action_CXX
   14149 
   14150 # Whether we should hardcode library paths into libraries.
   14151 hardcode_into_libs=$hardcode_into_libs
   14152 
   14153 # Flag to hardcode \$libdir into a binary during linking.
   14154 # This must work even if \$libdir does not exist.
   14155 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
   14156 
   14157 # If ld is used when linking, flag to hardcode \$libdir into
   14158 # a binary during linking. This must work even if \$libdir does
   14159 # not exist.
   14160 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
   14161 
   14162 # Whether we need a single -rpath flag with a separated argument.
   14163 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
   14164 
   14165 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
   14166 # resulting binary.
   14167 hardcode_direct=$hardcode_direct_CXX
   14168 
   14169 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
   14170 # resulting binary.
   14171 hardcode_minus_L=$hardcode_minus_L_CXX
   14172 
   14173 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
   14174 # the resulting binary.
   14175 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
   14176 
   14177 # Set to yes if building a shared library automatically hardcodes DIR into the library
   14178 # and all subsequent libraries and executables linked against it.
   14179 hardcode_automatic=$hardcode_automatic_CXX
   14180 
   14181 # Variables whose values should be saved in libtool wrapper scripts and
   14182 # restored at relink time.
   14183 variables_saved_for_relink="$variables_saved_for_relink"
   14184 
   14185 # Whether libtool must link a program against all its dependency libraries.
   14186 link_all_deplibs=$link_all_deplibs_CXX
   14187 
   14188 # Compile-time system search path for libraries
   14189 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   14190 
   14191 # Run-time system search path for libraries
   14192 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   14193 
   14194 # Fix the shell variable \$srcfile for the compiler.
   14195 fix_srcfile_path=$lt_fix_srcfile_path
   14196 
   14197 # Set to yes if exported symbols are required.
   14198 always_export_symbols=$always_export_symbols_CXX
   14199 
   14200 # The commands to list exported symbols.
   14201 export_symbols_cmds=$lt_export_symbols_cmds_CXX
   14202 
   14203 # The commands to extract the exported symbol list from a shared archive.
   14204 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   14205 
   14206 # Symbols that should not be listed in the preloaded symbols.
   14207 exclude_expsyms=$lt_exclude_expsyms_CXX
   14208 
   14209 # Symbols that must always be exported.
   14210 include_expsyms=$lt_include_expsyms_CXX
   14211 
   14212 # ### END LIBTOOL TAG CONFIG: $tagname
   14213 
   14214 __EOF__
   14215 
   14216 
   14217 else
   14218   # If there is no Makefile yet, we rely on a make rule to execute
   14219   # `config.status --recheck' to rerun these tests and create the
   14220   # libtool script then.
   14221   ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
   14222   if test -f "$ltmain_in"; then
   14223     test -f Makefile && make "$ltmain"
   14224   fi
   14225 fi
   14226 
   14227 
   14228 ac_ext=c
   14229 ac_cpp='$CPP $CPPFLAGS'
   14230 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   14231 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   14232 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   14233 
   14234 CC=$lt_save_CC
   14235 LDCXX=$LD
   14236 LD=$lt_save_LD
   14237 GCC=$lt_save_GCC
   14238 with_gnu_ldcxx=$with_gnu_ld
   14239 with_gnu_ld=$lt_save_with_gnu_ld
   14240 lt_cv_path_LDCXX=$lt_cv_path_LD
   14241 lt_cv_path_LD=$lt_save_path_LD
   14242 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
   14243 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
   14244 
   14245 	else
   14246 	  tagname=""
   14247 	fi
   14248 	;;
   14249 
   14250       F77)
   14251 	if test -n "$F77" && test "X$F77" != "Xno"; then
   14252 
   14253 ac_ext=f
   14254 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
   14255 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   14256 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
   14257 
   14258 
   14259 archive_cmds_need_lc_F77=no
   14260 allow_undefined_flag_F77=
   14261 always_export_symbols_F77=no
   14262 archive_expsym_cmds_F77=
   14263 export_dynamic_flag_spec_F77=
   14264 hardcode_direct_F77=no
   14265 hardcode_libdir_flag_spec_F77=
   14266 hardcode_libdir_flag_spec_ld_F77=
   14267 hardcode_libdir_separator_F77=
   14268 hardcode_minus_L_F77=no
   14269 hardcode_automatic_F77=no
   14270 module_cmds_F77=
   14271 module_expsym_cmds_F77=
   14272 link_all_deplibs_F77=unknown
   14273 old_archive_cmds_F77=$old_archive_cmds
   14274 no_undefined_flag_F77=
   14275 whole_archive_flag_spec_F77=
   14276 enable_shared_with_static_runtimes_F77=no
   14277 
   14278 # Source file extension for f77 test sources.
   14279 ac_ext=f
   14280 
   14281 # Object file extension for compiled f77 test sources.
   14282 objext=o
   14283 objext_F77=$objext
   14284 
   14285 # Code to be used in simple compile tests
   14286 lt_simple_compile_test_code="\
   14287       subroutine t
   14288       return
   14289       end
   14290 "
   14291 
   14292 # Code to be used in simple link tests
   14293 lt_simple_link_test_code="\
   14294       program t
   14295       end
   14296 "
   14297 
   14298 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
   14299 
   14300 # If no C compiler was specified, use CC.
   14301 LTCC=${LTCC-"$CC"}
   14302 
   14303 # If no C compiler flags were specified, use CFLAGS.
   14304 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   14305 
   14306 # Allow CC to be a program name with arguments.
   14307 compiler=$CC
   14308 
   14309 
   14310 # save warnings/boilerplate of simple test code
   14311 ac_outfile=conftest.$ac_objext
   14312 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   14313 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   14314 _lt_compiler_boilerplate=`cat conftest.err`
   14315 $rm conftest*
   14316 
   14317 ac_outfile=conftest.$ac_objext
   14318 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   14319 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   14320 _lt_linker_boilerplate=`cat conftest.err`
   14321 $rm -r conftest*
   14322 
   14323 
   14324 # Allow CC to be a program name with arguments.
   14325 lt_save_CC="$CC"
   14326 CC=${F77-"f77"}
   14327 compiler=$CC
   14328 compiler_F77=$CC
   14329 for cc_temp in $compiler""; do
   14330   case $cc_temp in
   14331     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   14332     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   14333     \-*) ;;
   14334     *) break;;
   14335   esac
   14336 done
   14337 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   14338 
   14339 
   14340 { $as_echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
   14341 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
   14342 { $as_echo "$as_me:$LINENO: result: $can_build_shared" >&5
   14343 $as_echo "$can_build_shared" >&6; }
   14344 
   14345 { $as_echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
   14346 $as_echo_n "checking whether to build shared libraries... " >&6; }
   14347 test "$can_build_shared" = "no" && enable_shared=no
   14348 
   14349 # On AIX, shared libraries and static libraries use the same namespace, and
   14350 # are all built from PIC.
   14351 case $host_os in
   14352 aix3*)
   14353   test "$enable_shared" = yes && enable_static=no
   14354   if test -n "$RANLIB"; then
   14355     archive_cmds="$archive_cmds~\$RANLIB \$lib"
   14356     postinstall_cmds='$RANLIB $lib'
   14357   fi
   14358   ;;
   14359 aix[4-9]*)
   14360   if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
   14361     test "$enable_shared" = yes && enable_static=no
   14362   fi
   14363   ;;
   14364 esac
   14365 { $as_echo "$as_me:$LINENO: result: $enable_shared" >&5
   14366 $as_echo "$enable_shared" >&6; }
   14367 
   14368 { $as_echo "$as_me:$LINENO: checking whether to build static libraries" >&5
   14369 $as_echo_n "checking whether to build static libraries... " >&6; }
   14370 # Make sure either enable_shared or enable_static is yes.
   14371 test "$enable_shared" = yes || enable_static=yes
   14372 { $as_echo "$as_me:$LINENO: result: $enable_static" >&5
   14373 $as_echo "$enable_static" >&6; }
   14374 
   14375 GCC_F77="$G77"
   14376 LD_F77="$LD"
   14377 
   14378 lt_prog_compiler_wl_F77=
   14379 lt_prog_compiler_pic_F77=
   14380 lt_prog_compiler_static_F77=
   14381 
   14382 { $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
   14383 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
   14384 
   14385   if test "$GCC" = yes; then
   14386     lt_prog_compiler_wl_F77='-Wl,'
   14387     lt_prog_compiler_static_F77='-static'
   14388 
   14389     case $host_os in
   14390       aix*)
   14391       # All AIX code is PIC.
   14392       if test "$host_cpu" = ia64; then
   14393 	# AIX 5 now supports IA64 processor
   14394 	lt_prog_compiler_static_F77='-Bstatic'
   14395       fi
   14396       ;;
   14397 
   14398     amigaos*)
   14399       # FIXME: we need at least 68020 code to build shared libraries, but
   14400       # adding the `-m68020' flag to GCC prevents building anything better,
   14401       # like `-m68040'.
   14402       lt_prog_compiler_pic_F77='-m68020 -resident32 -malways-restore-a4'
   14403       ;;
   14404 
   14405     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   14406       # PIC is the default for these OSes.
   14407       ;;
   14408 
   14409     mingw* | cygwin* | pw32* | os2*)
   14410       # This hack is so that the source file can tell whether it is being
   14411       # built for inclusion in a dll (and should export symbols for example).
   14412       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   14413       # (--disable-auto-import) libraries
   14414       lt_prog_compiler_pic_F77='-DDLL_EXPORT'
   14415       ;;
   14416 
   14417     darwin* | rhapsody*)
   14418       # PIC is the default on this platform
   14419       # Common symbols not allowed in MH_DYLIB files
   14420       lt_prog_compiler_pic_F77='-fno-common'
   14421       ;;
   14422 
   14423     interix[3-9]*)
   14424       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   14425       # Instead, we relocate shared libraries at runtime.
   14426       ;;
   14427 
   14428     msdosdjgpp*)
   14429       # Just because we use GCC doesn't mean we suddenly get shared libraries
   14430       # on systems that don't support them.
   14431       lt_prog_compiler_can_build_shared_F77=no
   14432       enable_shared=no
   14433       ;;
   14434 
   14435     sysv4*MP*)
   14436       if test -d /usr/nec; then
   14437 	lt_prog_compiler_pic_F77=-Kconform_pic
   14438       fi
   14439       ;;
   14440 
   14441     hpux*)
   14442       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   14443       # not for PA HP-UX.
   14444       case $host_cpu in
   14445       hppa*64*|ia64*)
   14446 	# +Z the default
   14447 	;;
   14448       *)
   14449 	lt_prog_compiler_pic_F77='-fPIC'
   14450 	;;
   14451       esac
   14452       ;;
   14453 
   14454     *)
   14455       lt_prog_compiler_pic_F77='-fPIC'
   14456       ;;
   14457     esac
   14458   else
   14459     # PORTME Check for flag to pass linker flags through the system compiler.
   14460     case $host_os in
   14461     aix*)
   14462       lt_prog_compiler_wl_F77='-Wl,'
   14463       if test "$host_cpu" = ia64; then
   14464 	# AIX 5 now supports IA64 processor
   14465 	lt_prog_compiler_static_F77='-Bstatic'
   14466       else
   14467 	lt_prog_compiler_static_F77='-bnso -bI:/lib/syscalls.exp'
   14468       fi
   14469       ;;
   14470       darwin*)
   14471         # PIC is the default on this platform
   14472         # Common symbols not allowed in MH_DYLIB files
   14473        case $cc_basename in
   14474          xlc*)
   14475          lt_prog_compiler_pic_F77='-qnocommon'
   14476          lt_prog_compiler_wl_F77='-Wl,'
   14477          ;;
   14478        esac
   14479        ;;
   14480 
   14481     mingw* | cygwin* | pw32* | os2*)
   14482       # This hack is so that the source file can tell whether it is being
   14483       # built for inclusion in a dll (and should export symbols for example).
   14484       lt_prog_compiler_pic_F77='-DDLL_EXPORT'
   14485       ;;
   14486 
   14487     hpux9* | hpux10* | hpux11*)
   14488       lt_prog_compiler_wl_F77='-Wl,'
   14489       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   14490       # not for PA HP-UX.
   14491       case $host_cpu in
   14492       hppa*64*|ia64*)
   14493 	# +Z the default
   14494 	;;
   14495       *)
   14496 	lt_prog_compiler_pic_F77='+Z'
   14497 	;;
   14498       esac
   14499       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   14500       lt_prog_compiler_static_F77='${wl}-a ${wl}archive'
   14501       ;;
   14502 
   14503     irix5* | irix6* | nonstopux*)
   14504       lt_prog_compiler_wl_F77='-Wl,'
   14505       # PIC (with -KPIC) is the default.
   14506       lt_prog_compiler_static_F77='-non_shared'
   14507       ;;
   14508 
   14509     newsos6)
   14510       lt_prog_compiler_pic_F77='-KPIC'
   14511       lt_prog_compiler_static_F77='-Bstatic'
   14512       ;;
   14513 
   14514     linux* | k*bsd*-gnu)
   14515       case $cc_basename in
   14516       icc* | ecc*)
   14517 	lt_prog_compiler_wl_F77='-Wl,'
   14518 	lt_prog_compiler_pic_F77='-KPIC'
   14519 	lt_prog_compiler_static_F77='-static'
   14520         ;;
   14521       pgcc* | pgf77* | pgf90* | pgf95*)
   14522         # Portland Group compilers (*not* the Pentium gcc compiler,
   14523 	# which looks to be a dead project)
   14524 	lt_prog_compiler_wl_F77='-Wl,'
   14525 	lt_prog_compiler_pic_F77='-fpic'
   14526 	lt_prog_compiler_static_F77='-Bstatic'
   14527         ;;
   14528       ccc*)
   14529         lt_prog_compiler_wl_F77='-Wl,'
   14530         # All Alpha code is PIC.
   14531         lt_prog_compiler_static_F77='-non_shared'
   14532         ;;
   14533       *)
   14534         case `$CC -V 2>&1 | sed 5q` in
   14535 	*Sun\ C*)
   14536 	  # Sun C 5.9
   14537 	  lt_prog_compiler_pic_F77='-KPIC'
   14538 	  lt_prog_compiler_static_F77='-Bstatic'
   14539 	  lt_prog_compiler_wl_F77='-Wl,'
   14540 	  ;;
   14541 	*Sun\ F*)
   14542 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   14543 	  lt_prog_compiler_pic_F77='-KPIC'
   14544 	  lt_prog_compiler_static_F77='-Bstatic'
   14545 	  lt_prog_compiler_wl_F77=''
   14546 	  ;;
   14547 	esac
   14548 	;;
   14549       esac
   14550       ;;
   14551 
   14552     osf3* | osf4* | osf5*)
   14553       lt_prog_compiler_wl_F77='-Wl,'
   14554       # All OSF/1 code is PIC.
   14555       lt_prog_compiler_static_F77='-non_shared'
   14556       ;;
   14557 
   14558     rdos*)
   14559       lt_prog_compiler_static_F77='-non_shared'
   14560       ;;
   14561 
   14562     solaris*)
   14563       lt_prog_compiler_pic_F77='-KPIC'
   14564       lt_prog_compiler_static_F77='-Bstatic'
   14565       case $cc_basename in
   14566       f77* | f90* | f95*)
   14567 	lt_prog_compiler_wl_F77='-Qoption ld ';;
   14568       *)
   14569 	lt_prog_compiler_wl_F77='-Wl,';;
   14570       esac
   14571       ;;
   14572 
   14573     sunos4*)
   14574       lt_prog_compiler_wl_F77='-Qoption ld '
   14575       lt_prog_compiler_pic_F77='-PIC'
   14576       lt_prog_compiler_static_F77='-Bstatic'
   14577       ;;
   14578 
   14579     sysv4 | sysv4.2uw2* | sysv4.3*)
   14580       lt_prog_compiler_wl_F77='-Wl,'
   14581       lt_prog_compiler_pic_F77='-KPIC'
   14582       lt_prog_compiler_static_F77='-Bstatic'
   14583       ;;
   14584 
   14585     sysv4*MP*)
   14586       if test -d /usr/nec ;then
   14587 	lt_prog_compiler_pic_F77='-Kconform_pic'
   14588 	lt_prog_compiler_static_F77='-Bstatic'
   14589       fi
   14590       ;;
   14591 
   14592     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   14593       lt_prog_compiler_wl_F77='-Wl,'
   14594       lt_prog_compiler_pic_F77='-KPIC'
   14595       lt_prog_compiler_static_F77='-Bstatic'
   14596       ;;
   14597 
   14598     unicos*)
   14599       lt_prog_compiler_wl_F77='-Wl,'
   14600       lt_prog_compiler_can_build_shared_F77=no
   14601       ;;
   14602 
   14603     uts4*)
   14604       lt_prog_compiler_pic_F77='-pic'
   14605       lt_prog_compiler_static_F77='-Bstatic'
   14606       ;;
   14607 
   14608     *)
   14609       lt_prog_compiler_can_build_shared_F77=no
   14610       ;;
   14611     esac
   14612   fi
   14613 
   14614 { $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
   14615 $as_echo "$lt_prog_compiler_pic_F77" >&6; }
   14616 
   14617 #
   14618 # Check to make sure the PIC flag actually works.
   14619 #
   14620 if test -n "$lt_prog_compiler_pic_F77"; then
   14621 
   14622 { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
   14623 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... " >&6; }
   14624 if test "${lt_cv_prog_compiler_pic_works_F77+set}" = set; then
   14625   $as_echo_n "(cached) " >&6
   14626 else
   14627   lt_cv_prog_compiler_pic_works_F77=no
   14628   ac_outfile=conftest.$ac_objext
   14629    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   14630    lt_compiler_flag="$lt_prog_compiler_pic_F77"
   14631    # Insert the option either (1) after the last *FLAGS variable, or
   14632    # (2) before a word containing "conftest.", or (3) at the end.
   14633    # Note that $ac_compile itself does not contain backslashes and begins
   14634    # with a dollar sign (not a hyphen), so the echo should work correctly.
   14635    # The option is referenced via a variable to avoid confusing sed.
   14636    lt_compile=`echo "$ac_compile" | $SED \
   14637    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   14638    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   14639    -e 's:$: $lt_compiler_flag:'`
   14640    (eval echo "\"\$as_me:14640: $lt_compile\"" >&5)
   14641    (eval "$lt_compile" 2>conftest.err)
   14642    ac_status=$?
   14643    cat conftest.err >&5
   14644    echo "$as_me:14644: \$? = $ac_status" >&5
   14645    if (exit $ac_status) && test -s "$ac_outfile"; then
   14646      # The compiler can only warn and ignore the option if not recognized
   14647      # So say no if there are warnings other than the usual output.
   14648      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   14649      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   14650      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   14651        lt_cv_prog_compiler_pic_works_F77=yes
   14652      fi
   14653    fi
   14654    $rm conftest*
   14655 
   14656 fi
   14657 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_F77" >&5
   14658 $as_echo "$lt_cv_prog_compiler_pic_works_F77" >&6; }
   14659 
   14660 if test x"$lt_cv_prog_compiler_pic_works_F77" = xyes; then
   14661     case $lt_prog_compiler_pic_F77 in
   14662      "" | " "*) ;;
   14663      *) lt_prog_compiler_pic_F77=" $lt_prog_compiler_pic_F77" ;;
   14664      esac
   14665 else
   14666     lt_prog_compiler_pic_F77=
   14667      lt_prog_compiler_can_build_shared_F77=no
   14668 fi
   14669 
   14670 fi
   14671 case $host_os in
   14672   # For platforms which do not support PIC, -DPIC is meaningless:
   14673   *djgpp*)
   14674     lt_prog_compiler_pic_F77=
   14675     ;;
   14676   *)
   14677     lt_prog_compiler_pic_F77="$lt_prog_compiler_pic_F77"
   14678     ;;
   14679 esac
   14680 
   14681 #
   14682 # Check to make sure the static flag actually works.
   14683 #
   14684 wl=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag=\"$lt_prog_compiler_static_F77\"
   14685 { $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   14686 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   14687 if test "${lt_cv_prog_compiler_static_works_F77+set}" = set; then
   14688   $as_echo_n "(cached) " >&6
   14689 else
   14690   lt_cv_prog_compiler_static_works_F77=no
   14691    save_LDFLAGS="$LDFLAGS"
   14692    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   14693    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   14694    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   14695      # The linker can only warn and ignore the option if not recognized
   14696      # So say no if there are warnings
   14697      if test -s conftest.err; then
   14698        # Append any errors to the config.log.
   14699        cat conftest.err 1>&5
   14700        $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
   14701        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   14702        if diff conftest.exp conftest.er2 >/dev/null; then
   14703          lt_cv_prog_compiler_static_works_F77=yes
   14704        fi
   14705      else
   14706        lt_cv_prog_compiler_static_works_F77=yes
   14707      fi
   14708    fi
   14709    $rm -r conftest*
   14710    LDFLAGS="$save_LDFLAGS"
   14711 
   14712 fi
   14713 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_F77" >&5
   14714 $as_echo "$lt_cv_prog_compiler_static_works_F77" >&6; }
   14715 
   14716 if test x"$lt_cv_prog_compiler_static_works_F77" = xyes; then
   14717     :
   14718 else
   14719     lt_prog_compiler_static_F77=
   14720 fi
   14721 
   14722 
   14723 { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
   14724 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   14725 if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
   14726   $as_echo_n "(cached) " >&6
   14727 else
   14728   lt_cv_prog_compiler_c_o_F77=no
   14729    $rm -r conftest 2>/dev/null
   14730    mkdir conftest
   14731    cd conftest
   14732    mkdir out
   14733    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   14734 
   14735    lt_compiler_flag="-o out/conftest2.$ac_objext"
   14736    # Insert the option either (1) after the last *FLAGS variable, or
   14737    # (2) before a word containing "conftest.", or (3) at the end.
   14738    # Note that $ac_compile itself does not contain backslashes and begins
   14739    # with a dollar sign (not a hyphen), so the echo should work correctly.
   14740    lt_compile=`echo "$ac_compile" | $SED \
   14741    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   14742    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   14743    -e 's:$: $lt_compiler_flag:'`
   14744    (eval echo "\"\$as_me:14744: $lt_compile\"" >&5)
   14745    (eval "$lt_compile" 2>out/conftest.err)
   14746    ac_status=$?
   14747    cat out/conftest.err >&5
   14748    echo "$as_me:14748: \$? = $ac_status" >&5
   14749    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   14750    then
   14751      # The compiler can only warn and ignore the option if not recognized
   14752      # So say no if there are warnings
   14753      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
   14754      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   14755      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   14756        lt_cv_prog_compiler_c_o_F77=yes
   14757      fi
   14758    fi
   14759    chmod u+w . 2>&5
   14760    $rm conftest*
   14761    # SGI C++ compiler will create directory out/ii_files/ for
   14762    # template instantiation
   14763    test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
   14764    $rm out/* && rmdir out
   14765    cd ..
   14766    rmdir conftest
   14767    $rm conftest*
   14768 
   14769 fi
   14770 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
   14771 $as_echo "$lt_cv_prog_compiler_c_o_F77" >&6; }
   14772 
   14773 
   14774 hard_links="nottested"
   14775 if test "$lt_cv_prog_compiler_c_o_F77" = no && test "$need_locks" != no; then
   14776   # do not overwrite the value of need_locks provided by the user
   14777   { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
   14778 $as_echo_n "checking if we can lock with hard links... " >&6; }
   14779   hard_links=yes
   14780   $rm conftest*
   14781   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   14782   touch conftest.a
   14783   ln conftest.a conftest.b 2>&5 || hard_links=no
   14784   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   14785   { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
   14786 $as_echo "$hard_links" >&6; }
   14787   if test "$hard_links" = no; then
   14788     { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   14789 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   14790     need_locks=warn
   14791   fi
   14792 else
   14793   need_locks=no
   14794 fi
   14795 
   14796 { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   14797 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   14798 
   14799   runpath_var=
   14800   allow_undefined_flag_F77=
   14801   enable_shared_with_static_runtimes_F77=no
   14802   archive_cmds_F77=
   14803   archive_expsym_cmds_F77=
   14804   old_archive_From_new_cmds_F77=
   14805   old_archive_from_expsyms_cmds_F77=
   14806   export_dynamic_flag_spec_F77=
   14807   whole_archive_flag_spec_F77=
   14808   thread_safe_flag_spec_F77=
   14809   hardcode_libdir_flag_spec_F77=
   14810   hardcode_libdir_flag_spec_ld_F77=
   14811   hardcode_libdir_separator_F77=
   14812   hardcode_direct_F77=no
   14813   hardcode_minus_L_F77=no
   14814   hardcode_shlibpath_var_F77=unsupported
   14815   link_all_deplibs_F77=unknown
   14816   hardcode_automatic_F77=no
   14817   module_cmds_F77=
   14818   module_expsym_cmds_F77=
   14819   always_export_symbols_F77=no
   14820   export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   14821   # include_expsyms should be a list of space-separated symbols to be *always*
   14822   # included in the symbol list
   14823   include_expsyms_F77=
   14824   # exclude_expsyms can be an extended regexp of symbols to exclude
   14825   # it will be wrapped by ` (' and `)$', so one must not match beginning or
   14826   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
   14827   # as well as any symbol that contains `d'.
   14828   exclude_expsyms_F77='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   14829   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   14830   # platforms (ab)use it in PIC code, but their linkers get confused if
   14831   # the symbol is explicitly referenced.  Since portable code cannot
   14832   # rely on this symbol name, it's probably fine to never include it in
   14833   # preloaded symbol tables.
   14834   # Exclude shared library initialization/finalization symbols.
   14835   extract_expsyms_cmds=
   14836   # Just being paranoid about ensuring that cc_basename is set.
   14837   for cc_temp in $compiler""; do
   14838   case $cc_temp in
   14839     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   14840     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   14841     \-*) ;;
   14842     *) break;;
   14843   esac
   14844 done
   14845 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   14846 
   14847   case $host_os in
   14848   cygwin* | mingw* | pw32*)
   14849     # FIXME: the MSVC++ port hasn't been tested in a loooong time
   14850     # When not using gcc, we currently assume that we are using
   14851     # Microsoft Visual C++.
   14852     if test "$GCC" != yes; then
   14853       with_gnu_ld=no
   14854     fi
   14855     ;;
   14856   interix*)
   14857     # we just hope/assume this is gcc and not c89 (= MSVC++)
   14858     with_gnu_ld=yes
   14859     ;;
   14860   openbsd*)
   14861     with_gnu_ld=no
   14862     ;;
   14863   esac
   14864 
   14865   ld_shlibs_F77=yes
   14866   if test "$with_gnu_ld" = yes; then
   14867     # If archive_cmds runs LD, not CC, wlarc should be empty
   14868     wlarc='${wl}'
   14869 
   14870     # Set some defaults for GNU ld with shared library support. These
   14871     # are reset later if shared libraries are not supported. Putting them
   14872     # here allows them to be overridden if necessary.
   14873     runpath_var=LD_RUN_PATH
   14874     hardcode_libdir_flag_spec_F77='${wl}--rpath ${wl}$libdir'
   14875     export_dynamic_flag_spec_F77='${wl}--export-dynamic'
   14876     # ancient GNU ld didn't support --whole-archive et. al.
   14877     if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
   14878 	whole_archive_flag_spec_F77="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   14879       else
   14880   	whole_archive_flag_spec_F77=
   14881     fi
   14882     supports_anon_versioning=no
   14883     case `$LD -v 2>/dev/null` in
   14884       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   14885       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   14886       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   14887       *\ 2.11.*) ;; # other 2.11 versions
   14888       *) supports_anon_versioning=yes ;;
   14889     esac
   14890 
   14891     # See if GNU ld supports shared libraries.
   14892     case $host_os in
   14893     aix[3-9]*)
   14894       # On AIX/PPC, the GNU linker is very broken
   14895       if test "$host_cpu" != ia64; then
   14896 	ld_shlibs_F77=no
   14897 	cat <<EOF 1>&2
   14898 
   14899 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
   14900 *** to be unable to reliably create shared libraries on AIX.
   14901 *** Therefore, libtool is disabling shared libraries support.  If you
   14902 *** really care for shared libraries, you may want to modify your PATH
   14903 *** so that a non-GNU linker is found, and then restart.
   14904 
   14905 EOF
   14906       fi
   14907       ;;
   14908 
   14909     amigaos*)
   14910       archive_cmds_F77='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
   14911       hardcode_libdir_flag_spec_F77='-L$libdir'
   14912       hardcode_minus_L_F77=yes
   14913 
   14914       # Samuel A. Falvo II <kc5tja (at] dolphin.openprojects.net> reports
   14915       # that the semantics of dynamic libraries on AmigaOS, at least up
   14916       # to version 4, is to share data among multiple programs linked
   14917       # with the same dynamic library.  Since this doesn't match the
   14918       # behavior of shared libraries on other platforms, we can't use
   14919       # them.
   14920       ld_shlibs_F77=no
   14921       ;;
   14922 
   14923     beos*)
   14924       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   14925 	allow_undefined_flag_F77=unsupported
   14926 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   14927 	# support --undefined.  This deserves some investigation.  FIXME
   14928 	archive_cmds_F77='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   14929       else
   14930 	ld_shlibs_F77=no
   14931       fi
   14932       ;;
   14933 
   14934     cygwin* | mingw* | pw32*)
   14935       # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
   14936       # as there is no search path for DLLs.
   14937       hardcode_libdir_flag_spec_F77='-L$libdir'
   14938       allow_undefined_flag_F77=unsupported
   14939       always_export_symbols_F77=no
   14940       enable_shared_with_static_runtimes_F77=yes
   14941       export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
   14942 
   14943       if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
   14944         archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   14945 	# If the export-symbols file already is a .def file (1st line
   14946 	# is EXPORTS), use it as is; otherwise, prepend...
   14947 	archive_expsym_cmds_F77='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   14948 	  cp $export_symbols $output_objdir/$soname.def;
   14949 	else
   14950 	  echo EXPORTS > $output_objdir/$soname.def;
   14951 	  cat $export_symbols >> $output_objdir/$soname.def;
   14952 	fi~
   14953 	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   14954       else
   14955 	ld_shlibs_F77=no
   14956       fi
   14957       ;;
   14958 
   14959     interix[3-9]*)
   14960       hardcode_direct_F77=no
   14961       hardcode_shlibpath_var_F77=no
   14962       hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
   14963       export_dynamic_flag_spec_F77='${wl}-E'
   14964       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   14965       # Instead, shared libraries are loaded at an image base (0x10000000 by
   14966       # default) and relocated if they conflict, which is a slow very memory
   14967       # consuming and fragmenting process.  To avoid this, we pick a random,
   14968       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   14969       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   14970       archive_cmds_F77='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
   14971       archive_expsym_cmds_F77='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
   14972       ;;
   14973 
   14974     gnu* | linux* | k*bsd*-gnu)
   14975       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   14976 	tmp_addflag=
   14977 	case $cc_basename,$host_cpu in
   14978 	pgcc*)				# Portland Group C compiler
   14979 	  whole_archive_flag_spec_F77='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
   14980 	  tmp_addflag=' $pic_flag'
   14981 	  ;;
   14982 	pgf77* | pgf90* | pgf95*)	# Portland Group f77 and f90 compilers
   14983 	  whole_archive_flag_spec_F77='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
   14984 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   14985 	ecc*,ia64* | icc*,ia64*)		# Intel C compiler on ia64
   14986 	  tmp_addflag=' -i_dynamic' ;;
   14987 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   14988 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   14989 	ifc* | ifort*)			# Intel Fortran compiler
   14990 	  tmp_addflag=' -nofor_main' ;;
   14991 	esac
   14992 	case `$CC -V 2>&1 | sed 5q` in
   14993 	*Sun\ C*)			# Sun C 5.9
   14994 	  whole_archive_flag_spec_F77='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
   14995 	  tmp_sharedflag='-G' ;;
   14996 	*Sun\ F*)			# Sun Fortran 8.3
   14997 	  tmp_sharedflag='-G' ;;
   14998 	*)
   14999 	  tmp_sharedflag='-shared' ;;
   15000 	esac
   15001 	archive_cmds_F77='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   15002 
   15003 	if test $supports_anon_versioning = yes; then
   15004 	  archive_expsym_cmds_F77='$echo "{ global:" > $output_objdir/$libname.ver~
   15005   cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   15006   $echo "local: *; };" >> $output_objdir/$libname.ver~
   15007 	  $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
   15008 	fi
   15009       else
   15010 	ld_shlibs_F77=no
   15011       fi
   15012       ;;
   15013 
   15014     netbsd*)
   15015       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   15016 	archive_cmds_F77='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   15017 	wlarc=
   15018       else
   15019 	archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   15020 	archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   15021       fi
   15022       ;;
   15023 
   15024     solaris*)
   15025       if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
   15026 	ld_shlibs_F77=no
   15027 	cat <<EOF 1>&2
   15028 
   15029 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   15030 *** create shared libraries on Solaris systems.  Therefore, libtool
   15031 *** is disabling shared libraries support.  We urge you to upgrade GNU
   15032 *** binutils to release 2.9.1 or newer.  Another option is to modify
   15033 *** your PATH or compiler configuration so that the native linker is
   15034 *** used, and then restart.
   15035 
   15036 EOF
   15037       elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   15038 	archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   15039 	archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   15040       else
   15041 	ld_shlibs_F77=no
   15042       fi
   15043       ;;
   15044 
   15045     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   15046       case `$LD -v 2>&1` in
   15047         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   15048 	ld_shlibs_F77=no
   15049 	cat <<_LT_EOF 1>&2
   15050 
   15051 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
   15052 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   15053 *** is disabling shared libraries support.  We urge you to upgrade GNU
   15054 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   15055 *** your PATH or compiler configuration so that the native linker is
   15056 *** used, and then restart.
   15057 
   15058 _LT_EOF
   15059 	;;
   15060 	*)
   15061 	  if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   15062 	    hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
   15063 	    archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
   15064 	    archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
   15065 	  else
   15066 	    ld_shlibs_F77=no
   15067 	  fi
   15068 	;;
   15069       esac
   15070       ;;
   15071 
   15072     sunos4*)
   15073       archive_cmds_F77='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   15074       wlarc=
   15075       hardcode_direct_F77=yes
   15076       hardcode_shlibpath_var_F77=no
   15077       ;;
   15078 
   15079     *)
   15080       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   15081 	archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   15082 	archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   15083       else
   15084 	ld_shlibs_F77=no
   15085       fi
   15086       ;;
   15087     esac
   15088 
   15089     if test "$ld_shlibs_F77" = no; then
   15090       runpath_var=
   15091       hardcode_libdir_flag_spec_F77=
   15092       export_dynamic_flag_spec_F77=
   15093       whole_archive_flag_spec_F77=
   15094     fi
   15095   else
   15096     # PORTME fill in a description of your system's linker (not GNU ld)
   15097     case $host_os in
   15098     aix3*)
   15099       allow_undefined_flag_F77=unsupported
   15100       always_export_symbols_F77=yes
   15101       archive_expsym_cmds_F77='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
   15102       # Note: this linker hardcodes the directories in LIBPATH if there
   15103       # are no directories specified by -L.
   15104       hardcode_minus_L_F77=yes
   15105       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
   15106 	# Neither direct hardcoding nor static linking is supported with a
   15107 	# broken collect2.
   15108 	hardcode_direct_F77=unsupported
   15109       fi
   15110       ;;
   15111 
   15112     aix[4-9]*)
   15113       if test "$host_cpu" = ia64; then
   15114 	# On IA64, the linker does run time linking by default, so we don't
   15115 	# have to do anything special.
   15116 	aix_use_runtimelinking=no
   15117 	exp_sym_flag='-Bexport'
   15118 	no_entry_flag=""
   15119       else
   15120 	# If we're using GNU nm, then we don't want the "-C" option.
   15121 	# -C means demangle to AIX nm, but means don't demangle with GNU nm
   15122 	if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
   15123 	  export_symbols_cmds_F77='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
   15124 	else
   15125 	  export_symbols_cmds_F77='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
   15126 	fi
   15127 	aix_use_runtimelinking=no
   15128 
   15129 	# Test if we are trying to use run time linking or normal
   15130 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   15131 	# need to do runtime linking.
   15132 	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   15133 	  for ld_flag in $LDFLAGS; do
   15134   	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
   15135   	    aix_use_runtimelinking=yes
   15136   	    break
   15137   	  fi
   15138 	  done
   15139 	  ;;
   15140 	esac
   15141 
   15142 	exp_sym_flag='-bexport'
   15143 	no_entry_flag='-bnoentry'
   15144       fi
   15145 
   15146       # When large executables or shared objects are built, AIX ld can
   15147       # have problems creating the table of contents.  If linking a library
   15148       # or program results in "error TOC overflow" add -mminimal-toc to
   15149       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   15150       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   15151 
   15152       archive_cmds_F77=''
   15153       hardcode_direct_F77=yes
   15154       hardcode_libdir_separator_F77=':'
   15155       link_all_deplibs_F77=yes
   15156 
   15157       if test "$GCC" = yes; then
   15158 	case $host_os in aix4.[012]|aix4.[012].*)
   15159 	# We only want to do this on AIX 4.2 and lower, the check
   15160 	# below for broken collect2 doesn't work under 4.3+
   15161 	  collect2name=`${CC} -print-prog-name=collect2`
   15162 	  if test -f "$collect2name" && \
   15163   	   strings "$collect2name" | grep resolve_lib_name >/dev/null
   15164 	  then
   15165   	  # We have reworked collect2
   15166   	  :
   15167 	  else
   15168   	  # We have old collect2
   15169   	  hardcode_direct_F77=unsupported
   15170   	  # It fails to find uninstalled libraries when the uninstalled
   15171   	  # path is not listed in the libpath.  Setting hardcode_minus_L
   15172   	  # to unsupported forces relinking
   15173   	  hardcode_minus_L_F77=yes
   15174   	  hardcode_libdir_flag_spec_F77='-L$libdir'
   15175   	  hardcode_libdir_separator_F77=
   15176 	  fi
   15177 	  ;;
   15178 	esac
   15179 	shared_flag='-shared'
   15180 	if test "$aix_use_runtimelinking" = yes; then
   15181 	  shared_flag="$shared_flag "'${wl}-G'
   15182 	fi
   15183       else
   15184 	# not using gcc
   15185 	if test "$host_cpu" = ia64; then
   15186   	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   15187   	# chokes on -Wl,-G. The following line is correct:
   15188 	  shared_flag='-G'
   15189 	else
   15190 	  if test "$aix_use_runtimelinking" = yes; then
   15191 	    shared_flag='${wl}-G'
   15192 	  else
   15193 	    shared_flag='${wl}-bM:SRE'
   15194 	  fi
   15195 	fi
   15196       fi
   15197 
   15198       # It seems that -bexpall does not export symbols beginning with
   15199       # underscore (_), so it is better to generate a list of symbols to export.
   15200       always_export_symbols_F77=yes
   15201       if test "$aix_use_runtimelinking" = yes; then
   15202 	# Warning - without using the other runtime loading flags (-brtl),
   15203 	# -berok will link without error, but may produce a broken library.
   15204 	allow_undefined_flag_F77='-berok'
   15205        # Determine the default libpath from the value encoded in an empty executable.
   15206        cat >conftest.$ac_ext <<_ACEOF
   15207       program main
   15208 
   15209       end
   15210 _ACEOF
   15211 rm -f conftest.$ac_objext conftest$ac_exeext
   15212 if { (ac_try="$ac_link"
   15213 case "(($ac_try" in
   15214   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   15215   *) ac_try_echo=$ac_try;;
   15216 esac
   15217 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   15218 $as_echo "$ac_try_echo") >&5
   15219   (eval "$ac_link") 2>conftest.er1
   15220   ac_status=$?
   15221   grep -v '^ *+' conftest.er1 >conftest.err
   15222   rm -f conftest.er1
   15223   cat conftest.err >&5
   15224   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   15225   (exit $ac_status); } && {
   15226 	 test -z "$ac_f77_werror_flag" ||
   15227 	 test ! -s conftest.err
   15228        } && test -s conftest$ac_exeext && {
   15229 	 test "$cross_compiling" = yes ||
   15230 	 $as_test_x conftest$ac_exeext
   15231        }; then
   15232 
   15233 lt_aix_libpath_sed='
   15234     /Import File Strings/,/^$/ {
   15235 	/^0/ {
   15236 	    s/^0  *\(.*\)$/\1/
   15237 	    p
   15238 	}
   15239     }'
   15240 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   15241 # Check for a 64-bit object if we didn't find anything.
   15242 if test -z "$aix_libpath"; then
   15243   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   15244 fi
   15245 else
   15246   $as_echo "$as_me: failed program was:" >&5
   15247 sed 's/^/| /' conftest.$ac_ext >&5
   15248 
   15249 
   15250 fi
   15251 
   15252 rm -rf conftest.dSYM
   15253 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   15254       conftest$ac_exeext conftest.$ac_ext
   15255 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   15256 
   15257        hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
   15258 	archive_expsym_cmds_F77="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
   15259        else
   15260 	if test "$host_cpu" = ia64; then
   15261 	  hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib'
   15262 	  allow_undefined_flag_F77="-z nodefs"
   15263 	  archive_expsym_cmds_F77="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
   15264 	else
   15265 	 # Determine the default libpath from the value encoded in an empty executable.
   15266 	 cat >conftest.$ac_ext <<_ACEOF
   15267       program main
   15268 
   15269       end
   15270 _ACEOF
   15271 rm -f conftest.$ac_objext conftest$ac_exeext
   15272 if { (ac_try="$ac_link"
   15273 case "(($ac_try" in
   15274   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   15275   *) ac_try_echo=$ac_try;;
   15276 esac
   15277 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   15278 $as_echo "$ac_try_echo") >&5
   15279   (eval "$ac_link") 2>conftest.er1
   15280   ac_status=$?
   15281   grep -v '^ *+' conftest.er1 >conftest.err
   15282   rm -f conftest.er1
   15283   cat conftest.err >&5
   15284   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   15285   (exit $ac_status); } && {
   15286 	 test -z "$ac_f77_werror_flag" ||
   15287 	 test ! -s conftest.err
   15288        } && test -s conftest$ac_exeext && {
   15289 	 test "$cross_compiling" = yes ||
   15290 	 $as_test_x conftest$ac_exeext
   15291        }; then
   15292 
   15293 lt_aix_libpath_sed='
   15294     /Import File Strings/,/^$/ {
   15295 	/^0/ {
   15296 	    s/^0  *\(.*\)$/\1/
   15297 	    p
   15298 	}
   15299     }'
   15300 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   15301 # Check for a 64-bit object if we didn't find anything.
   15302 if test -z "$aix_libpath"; then
   15303   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   15304 fi
   15305 else
   15306   $as_echo "$as_me: failed program was:" >&5
   15307 sed 's/^/| /' conftest.$ac_ext >&5
   15308 
   15309 
   15310 fi
   15311 
   15312 rm -rf conftest.dSYM
   15313 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   15314       conftest$ac_exeext conftest.$ac_ext
   15315 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   15316 
   15317 	 hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
   15318 	  # Warning - without using the other run time loading flags,
   15319 	  # -berok will link without error, but may produce a broken library.
   15320 	  no_undefined_flag_F77=' ${wl}-bernotok'
   15321 	  allow_undefined_flag_F77=' ${wl}-berok'
   15322 	  # Exported symbols can be pulled into shared objects from archives
   15323 	  whole_archive_flag_spec_F77='$convenience'
   15324 	  archive_cmds_need_lc_F77=yes
   15325 	  # This is similar to how AIX traditionally builds its shared libraries.
   15326 	  archive_expsym_cmds_F77="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
   15327 	fi
   15328       fi
   15329       ;;
   15330 
   15331     amigaos*)
   15332       archive_cmds_F77='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
   15333       hardcode_libdir_flag_spec_F77='-L$libdir'
   15334       hardcode_minus_L_F77=yes
   15335       # see comment about different semantics on the GNU ld section
   15336       ld_shlibs_F77=no
   15337       ;;
   15338 
   15339     bsdi[45]*)
   15340       export_dynamic_flag_spec_F77=-rdynamic
   15341       ;;
   15342 
   15343     cygwin* | mingw* | pw32*)
   15344       # When not using gcc, we currently assume that we are using
   15345       # Microsoft Visual C++.
   15346       # hardcode_libdir_flag_spec is actually meaningless, as there is
   15347       # no search path for DLLs.
   15348       hardcode_libdir_flag_spec_F77=' '
   15349       allow_undefined_flag_F77=unsupported
   15350       # Tell ltmain to make .lib files, not .a files.
   15351       libext=lib
   15352       # Tell ltmain to make .dll files, not .so files.
   15353       shrext_cmds=".dll"
   15354       # FIXME: Setting linknames here is a bad hack.
   15355       archive_cmds_F77='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
   15356       # The linker will automatically build a .lib file if we build a DLL.
   15357       old_archive_From_new_cmds_F77='true'
   15358       # FIXME: Should let the user specify the lib program.
   15359       old_archive_cmds_F77='lib -OUT:$oldlib$oldobjs$old_deplibs'
   15360       fix_srcfile_path_F77='`cygpath -w "$srcfile"`'
   15361       enable_shared_with_static_runtimes_F77=yes
   15362       ;;
   15363 
   15364     darwin* | rhapsody*)
   15365       case $host_os in
   15366         rhapsody* | darwin1.[012])
   15367          allow_undefined_flag_F77='${wl}-undefined ${wl}suppress'
   15368          ;;
   15369        *) # Darwin 1.3 on
   15370          if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
   15371            allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   15372          else
   15373            case ${MACOSX_DEPLOYMENT_TARGET} in
   15374              10.[012])
   15375                allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   15376                ;;
   15377              10.*)
   15378                allow_undefined_flag_F77='${wl}-undefined ${wl}dynamic_lookup'
   15379                ;;
   15380            esac
   15381          fi
   15382          ;;
   15383       esac
   15384       archive_cmds_need_lc_F77=no
   15385       hardcode_direct_F77=no
   15386       hardcode_automatic_F77=yes
   15387       hardcode_shlibpath_var_F77=unsupported
   15388       whole_archive_flag_spec_F77=''
   15389       link_all_deplibs_F77=yes
   15390     if test "$GCC" = yes ; then
   15391     	output_verbose_link_cmd='echo'
   15392         archive_cmds_F77="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
   15393         module_cmds_F77="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
   15394         archive_expsym_cmds_F77="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
   15395         module_expsym_cmds_F77="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
   15396     else
   15397       case $cc_basename in
   15398         xlc*)
   15399          output_verbose_link_cmd='echo'
   15400          archive_cmds_F77='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
   15401          module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
   15402           # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
   15403          archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
   15404           module_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
   15405           ;;
   15406        *)
   15407          ld_shlibs_F77=no
   15408           ;;
   15409       esac
   15410     fi
   15411       ;;
   15412 
   15413     dgux*)
   15414       archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15415       hardcode_libdir_flag_spec_F77='-L$libdir'
   15416       hardcode_shlibpath_var_F77=no
   15417       ;;
   15418 
   15419     freebsd1*)
   15420       ld_shlibs_F77=no
   15421       ;;
   15422 
   15423     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   15424     # support.  Future versions do this automatically, but an explicit c++rt0.o
   15425     # does not break anything, and helps significantly (at the cost of a little
   15426     # extra space).
   15427     freebsd2.2*)
   15428       archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   15429       hardcode_libdir_flag_spec_F77='-R$libdir'
   15430       hardcode_direct_F77=yes
   15431       hardcode_shlibpath_var_F77=no
   15432       ;;
   15433 
   15434     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   15435     freebsd2*)
   15436       archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   15437       hardcode_direct_F77=yes
   15438       hardcode_minus_L_F77=yes
   15439       hardcode_shlibpath_var_F77=no
   15440       ;;
   15441 
   15442     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   15443     freebsd* | dragonfly*)
   15444       archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
   15445       hardcode_libdir_flag_spec_F77='-R$libdir'
   15446       hardcode_direct_F77=yes
   15447       hardcode_shlibpath_var_F77=no
   15448       ;;
   15449 
   15450     hpux9*)
   15451       if test "$GCC" = yes; then
   15452 	archive_cmds_F77='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
   15453       else
   15454 	archive_cmds_F77='$rm $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
   15455       fi
   15456       hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
   15457       hardcode_libdir_separator_F77=:
   15458       hardcode_direct_F77=yes
   15459 
   15460       # hardcode_minus_L: Not really in the search PATH,
   15461       # but as the default location of the library.
   15462       hardcode_minus_L_F77=yes
   15463       export_dynamic_flag_spec_F77='${wl}-E'
   15464       ;;
   15465 
   15466     hpux10*)
   15467       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   15468 	archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   15469       else
   15470 	archive_cmds_F77='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   15471       fi
   15472       if test "$with_gnu_ld" = no; then
   15473 	hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
   15474 	hardcode_libdir_separator_F77=:
   15475 
   15476 	hardcode_direct_F77=yes
   15477 	export_dynamic_flag_spec_F77='${wl}-E'
   15478 
   15479 	# hardcode_minus_L: Not really in the search PATH,
   15480 	# but as the default location of the library.
   15481 	hardcode_minus_L_F77=yes
   15482       fi
   15483       ;;
   15484 
   15485     hpux11*)
   15486       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   15487 	case $host_cpu in
   15488 	hppa*64*)
   15489 	  archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   15490 	  ;;
   15491 	ia64*)
   15492 	  archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   15493 	  ;;
   15494 	*)
   15495 	  archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   15496 	  ;;
   15497 	esac
   15498       else
   15499 	case $host_cpu in
   15500 	hppa*64*)
   15501 	  archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   15502 	  ;;
   15503 	ia64*)
   15504 	  archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   15505 	  ;;
   15506 	*)
   15507 	  archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   15508 	  ;;
   15509 	esac
   15510       fi
   15511       if test "$with_gnu_ld" = no; then
   15512 	hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
   15513 	hardcode_libdir_separator_F77=:
   15514 
   15515 	case $host_cpu in
   15516 	hppa*64*|ia64*)
   15517 	  hardcode_libdir_flag_spec_ld_F77='+b $libdir'
   15518 	  hardcode_direct_F77=no
   15519 	  hardcode_shlibpath_var_F77=no
   15520 	  ;;
   15521 	*)
   15522 	  hardcode_direct_F77=yes
   15523 	  export_dynamic_flag_spec_F77='${wl}-E'
   15524 
   15525 	  # hardcode_minus_L: Not really in the search PATH,
   15526 	  # but as the default location of the library.
   15527 	  hardcode_minus_L_F77=yes
   15528 	  ;;
   15529 	esac
   15530       fi
   15531       ;;
   15532 
   15533     irix5* | irix6* | nonstopux*)
   15534       if test "$GCC" = yes; then
   15535 	archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
   15536       else
   15537 	archive_cmds_F77='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
   15538 	hardcode_libdir_flag_spec_ld_F77='-rpath $libdir'
   15539       fi
   15540       hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
   15541       hardcode_libdir_separator_F77=:
   15542       link_all_deplibs_F77=yes
   15543       ;;
   15544 
   15545     netbsd*)
   15546       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   15547 	archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   15548       else
   15549 	archive_cmds_F77='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   15550       fi
   15551       hardcode_libdir_flag_spec_F77='-R$libdir'
   15552       hardcode_direct_F77=yes
   15553       hardcode_shlibpath_var_F77=no
   15554       ;;
   15555 
   15556     newsos6)
   15557       archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15558       hardcode_direct_F77=yes
   15559       hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
   15560       hardcode_libdir_separator_F77=:
   15561       hardcode_shlibpath_var_F77=no
   15562       ;;
   15563 
   15564     openbsd*)
   15565       if test -f /usr/libexec/ld.so; then
   15566 	hardcode_direct_F77=yes
   15567 	hardcode_shlibpath_var_F77=no
   15568 	if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   15569 	  archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   15570 	  archive_expsym_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
   15571 	  hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
   15572 	  export_dynamic_flag_spec_F77='${wl}-E'
   15573 	else
   15574 	  case $host_os in
   15575 	   openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
   15576 	     archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   15577 	     hardcode_libdir_flag_spec_F77='-R$libdir'
   15578 	     ;;
   15579 	   *)
   15580 	     archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   15581 	     hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
   15582 	     ;;
   15583 	  esac
   15584         fi
   15585       else
   15586 	ld_shlibs_F77=no
   15587       fi
   15588       ;;
   15589 
   15590     os2*)
   15591       hardcode_libdir_flag_spec_F77='-L$libdir'
   15592       hardcode_minus_L_F77=yes
   15593       allow_undefined_flag_F77=unsupported
   15594       archive_cmds_F77='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
   15595       old_archive_From_new_cmds_F77='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
   15596       ;;
   15597 
   15598     osf3*)
   15599       if test "$GCC" = yes; then
   15600 	allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
   15601 	archive_cmds_F77='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
   15602       else
   15603 	allow_undefined_flag_F77=' -expect_unresolved \*'
   15604 	archive_cmds_F77='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
   15605       fi
   15606       hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
   15607       hardcode_libdir_separator_F77=:
   15608       ;;
   15609 
   15610     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   15611       if test "$GCC" = yes; then
   15612 	allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
   15613 	archive_cmds_F77='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
   15614 	hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
   15615       else
   15616 	allow_undefined_flag_F77=' -expect_unresolved \*'
   15617 	archive_cmds_F77='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
   15618 	archive_expsym_cmds_F77='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
   15619 	$LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp'
   15620 
   15621 	# Both c and cxx compiler support -rpath directly
   15622 	hardcode_libdir_flag_spec_F77='-rpath $libdir'
   15623       fi
   15624       hardcode_libdir_separator_F77=:
   15625       ;;
   15626 
   15627     solaris*)
   15628       no_undefined_flag_F77=' -z text'
   15629       if test "$GCC" = yes; then
   15630 	wlarc='${wl}'
   15631 	archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   15632 	archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   15633 	  $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
   15634       else
   15635 	wlarc=''
   15636 	archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15637 	archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   15638   	$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
   15639       fi
   15640       hardcode_libdir_flag_spec_F77='-R$libdir'
   15641       hardcode_shlibpath_var_F77=no
   15642       case $host_os in
   15643       solaris2.[0-5] | solaris2.[0-5].*) ;;
   15644       *)
   15645 	# The compiler driver will combine and reorder linker options,
   15646 	# but understands `-z linker_flag'.  GCC discards it without `$wl',
   15647 	# but is careful enough not to reorder.
   15648  	# Supported since Solaris 2.6 (maybe 2.5.1?)
   15649 	if test "$GCC" = yes; then
   15650 	  whole_archive_flag_spec_F77='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
   15651 	else
   15652 	  whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract'
   15653 	fi
   15654 	;;
   15655       esac
   15656       link_all_deplibs_F77=yes
   15657       ;;
   15658 
   15659     sunos4*)
   15660       if test "x$host_vendor" = xsequent; then
   15661 	# Use $CC to link under sequent, because it throws in some extra .o
   15662 	# files that make .init and .fini sections work.
   15663 	archive_cmds_F77='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   15664       else
   15665 	archive_cmds_F77='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   15666       fi
   15667       hardcode_libdir_flag_spec_F77='-L$libdir'
   15668       hardcode_direct_F77=yes
   15669       hardcode_minus_L_F77=yes
   15670       hardcode_shlibpath_var_F77=no
   15671       ;;
   15672 
   15673     sysv4)
   15674       case $host_vendor in
   15675 	sni)
   15676 	  archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15677 	  hardcode_direct_F77=yes # is this really true???
   15678 	;;
   15679 	siemens)
   15680 	  ## LD is ld it makes a PLAMLIB
   15681 	  ## CC just makes a GrossModule.
   15682 	  archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   15683 	  reload_cmds_F77='$CC -r -o $output$reload_objs'
   15684 	  hardcode_direct_F77=no
   15685         ;;
   15686 	motorola)
   15687 	  archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15688 	  hardcode_direct_F77=no #Motorola manual says yes, but my tests say they lie
   15689 	;;
   15690       esac
   15691       runpath_var='LD_RUN_PATH'
   15692       hardcode_shlibpath_var_F77=no
   15693       ;;
   15694 
   15695     sysv4.3*)
   15696       archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15697       hardcode_shlibpath_var_F77=no
   15698       export_dynamic_flag_spec_F77='-Bexport'
   15699       ;;
   15700 
   15701     sysv4*MP*)
   15702       if test -d /usr/nec; then
   15703 	archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15704 	hardcode_shlibpath_var_F77=no
   15705 	runpath_var=LD_RUN_PATH
   15706 	hardcode_runpath_var=yes
   15707 	ld_shlibs_F77=yes
   15708       fi
   15709       ;;
   15710 
   15711     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   15712       no_undefined_flag_F77='${wl}-z,text'
   15713       archive_cmds_need_lc_F77=no
   15714       hardcode_shlibpath_var_F77=no
   15715       runpath_var='LD_RUN_PATH'
   15716 
   15717       if test "$GCC" = yes; then
   15718 	archive_cmds_F77='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   15719 	archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   15720       else
   15721 	archive_cmds_F77='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   15722 	archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   15723       fi
   15724       ;;
   15725 
   15726     sysv5* | sco3.2v5* | sco5v6*)
   15727       # Note: We can NOT use -z defs as we might desire, because we do not
   15728       # link with -lc, and that would cause any symbols used from libc to
   15729       # always be unresolved, which means just about no library would
   15730       # ever link correctly.  If we're not using GNU ld we use -z text
   15731       # though, which does catch some bad symbols but isn't as heavy-handed
   15732       # as -z defs.
   15733       no_undefined_flag_F77='${wl}-z,text'
   15734       allow_undefined_flag_F77='${wl}-z,nodefs'
   15735       archive_cmds_need_lc_F77=no
   15736       hardcode_shlibpath_var_F77=no
   15737       hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
   15738       hardcode_libdir_separator_F77=':'
   15739       link_all_deplibs_F77=yes
   15740       export_dynamic_flag_spec_F77='${wl}-Bexport'
   15741       runpath_var='LD_RUN_PATH'
   15742 
   15743       if test "$GCC" = yes; then
   15744 	archive_cmds_F77='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   15745 	archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   15746       else
   15747 	archive_cmds_F77='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   15748 	archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   15749       fi
   15750       ;;
   15751 
   15752     uts4*)
   15753       archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15754       hardcode_libdir_flag_spec_F77='-L$libdir'
   15755       hardcode_shlibpath_var_F77=no
   15756       ;;
   15757 
   15758     *)
   15759       ld_shlibs_F77=no
   15760       ;;
   15761     esac
   15762   fi
   15763 
   15764 { $as_echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
   15765 $as_echo "$ld_shlibs_F77" >&6; }
   15766 test "$ld_shlibs_F77" = no && can_build_shared=no
   15767 
   15768 #
   15769 # Do we need to explicitly link libc?
   15770 #
   15771 case "x$archive_cmds_need_lc_F77" in
   15772 x|xyes)
   15773   # Assume -lc should be added
   15774   archive_cmds_need_lc_F77=yes
   15775 
   15776   if test "$enable_shared" = yes && test "$GCC" = yes; then
   15777     case $archive_cmds_F77 in
   15778     *'~'*)
   15779       # FIXME: we may have to deal with multi-command sequences.
   15780       ;;
   15781     '$CC '*)
   15782       # Test whether the compiler implicitly links with -lc since on some
   15783       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   15784       # to ld, don't add -lc before -lgcc.
   15785       { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
   15786 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
   15787       $rm conftest*
   15788       echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   15789 
   15790       if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   15791   (eval $ac_compile) 2>&5
   15792   ac_status=$?
   15793   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   15794   (exit $ac_status); } 2>conftest.err; then
   15795         soname=conftest
   15796         lib=conftest
   15797         libobjs=conftest.$ac_objext
   15798         deplibs=
   15799         wl=$lt_prog_compiler_wl_F77
   15800 	pic_flag=$lt_prog_compiler_pic_F77
   15801         compiler_flags=-v
   15802         linker_flags=-v
   15803         verstring=
   15804         output_objdir=.
   15805         libname=conftest
   15806         lt_save_allow_undefined_flag=$allow_undefined_flag_F77
   15807         allow_undefined_flag_F77=
   15808         if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
   15809   (eval $archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
   15810   ac_status=$?
   15811   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   15812   (exit $ac_status); }
   15813         then
   15814 	  archive_cmds_need_lc_F77=no
   15815         else
   15816 	  archive_cmds_need_lc_F77=yes
   15817         fi
   15818         allow_undefined_flag_F77=$lt_save_allow_undefined_flag
   15819       else
   15820         cat conftest.err 1>&5
   15821       fi
   15822       $rm conftest*
   15823       { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
   15824 $as_echo "$archive_cmds_need_lc_F77" >&6; }
   15825       ;;
   15826     esac
   15827   fi
   15828   ;;
   15829 esac
   15830 
   15831 { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
   15832 $as_echo_n "checking dynamic linker characteristics... " >&6; }
   15833 library_names_spec=
   15834 libname_spec='lib$name'
   15835 soname_spec=
   15836 shrext_cmds=".so"
   15837 postinstall_cmds=
   15838 postuninstall_cmds=
   15839 finish_cmds=
   15840 finish_eval=
   15841 shlibpath_var=
   15842 shlibpath_overrides_runpath=unknown
   15843 version_type=none
   15844 dynamic_linker="$host_os ld.so"
   15845 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   15846 
   15847 need_lib_prefix=unknown
   15848 hardcode_into_libs=no
   15849 
   15850 # when you set need_version to no, make sure it does not cause -set_version
   15851 # flags to be left without arguments
   15852 need_version=unknown
   15853 
   15854 case $host_os in
   15855 aix3*)
   15856   version_type=linux
   15857   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   15858   shlibpath_var=LIBPATH
   15859 
   15860   # AIX 3 has no versioning support, so we append a major version to the name.
   15861   soname_spec='${libname}${release}${shared_ext}$major'
   15862   ;;
   15863 
   15864 aix[4-9]*)
   15865   version_type=linux
   15866   need_lib_prefix=no
   15867   need_version=no
   15868   hardcode_into_libs=yes
   15869   if test "$host_cpu" = ia64; then
   15870     # AIX 5 supports IA64
   15871     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
   15872     shlibpath_var=LD_LIBRARY_PATH
   15873   else
   15874     # With GCC up to 2.95.x, collect2 would create an import file
   15875     # for dependence libraries.  The import file would start with
   15876     # the line `#! .'.  This would cause the generated library to
   15877     # depend on `.', always an invalid library.  This was fixed in
   15878     # development snapshots of GCC prior to 3.0.
   15879     case $host_os in
   15880       aix4 | aix4.[01] | aix4.[01].*)
   15881       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   15882 	   echo ' yes '
   15883 	   echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
   15884 	:
   15885       else
   15886 	can_build_shared=no
   15887       fi
   15888       ;;
   15889     esac
   15890     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
   15891     # soname into executable. Probably we can add versioning support to
   15892     # collect2, so additional links can be useful in future.
   15893     if test "$aix_use_runtimelinking" = yes; then
   15894       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   15895       # instead of lib<name>.a to let people know that these are not
   15896       # typical AIX shared libraries.
   15897       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15898     else
   15899       # We preserve .a as extension for shared libraries through AIX4.2
   15900       # and later when we are not doing run time linking.
   15901       library_names_spec='${libname}${release}.a $libname.a'
   15902       soname_spec='${libname}${release}${shared_ext}$major'
   15903     fi
   15904     shlibpath_var=LIBPATH
   15905   fi
   15906   ;;
   15907 
   15908 amigaos*)
   15909   library_names_spec='$libname.ixlibrary $libname.a'
   15910   # Create ${libname}_ixlibrary.a entries in /sys/libs.
   15911   finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
   15912   ;;
   15913 
   15914 beos*)
   15915   library_names_spec='${libname}${shared_ext}'
   15916   dynamic_linker="$host_os ld.so"
   15917   shlibpath_var=LIBRARY_PATH
   15918   ;;
   15919 
   15920 bsdi[45]*)
   15921   version_type=linux
   15922   need_version=no
   15923   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15924   soname_spec='${libname}${release}${shared_ext}$major'
   15925   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   15926   shlibpath_var=LD_LIBRARY_PATH
   15927   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   15928   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   15929   # the default ld.so.conf also contains /usr/contrib/lib and
   15930   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   15931   # libtool to hard-code these into programs
   15932   ;;
   15933 
   15934 cygwin* | mingw* | pw32*)
   15935   version_type=windows
   15936   shrext_cmds=".dll"
   15937   need_version=no
   15938   need_lib_prefix=no
   15939 
   15940   case $GCC,$host_os in
   15941   yes,cygwin* | yes,mingw* | yes,pw32*)
   15942     library_names_spec='$libname.dll.a'
   15943     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   15944     postinstall_cmds='base_file=`basename \${file}`~
   15945       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
   15946       dldir=$destdir/`dirname \$dlpath`~
   15947       test -d \$dldir || mkdir -p \$dldir~
   15948       $install_prog $dir/$dlname \$dldir/$dlname~
   15949       chmod a+x \$dldir/$dlname'
   15950     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   15951       dlpath=$dir/\$dldll~
   15952        $rm \$dlpath'
   15953     shlibpath_overrides_runpath=yes
   15954 
   15955     case $host_os in
   15956     cygwin*)
   15957       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   15958       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   15959       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
   15960       ;;
   15961     mingw*)
   15962       # MinGW DLLs use traditional 'lib' prefix
   15963       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   15964       sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   15965       if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
   15966         # It is most probably a Windows format PATH printed by
   15967         # mingw gcc, but we are running on Cygwin. Gcc prints its search
   15968         # path with ; separators, and with drive letters. We can handle the
   15969         # drive letters (cygwin fileutils understands them), so leave them,
   15970         # especially as we might pass files found there to a mingw objdump,
   15971         # which wouldn't understand a cygwinified path. Ahh.
   15972         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   15973       else
   15974         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   15975       fi
   15976       ;;
   15977     pw32*)
   15978       # pw32 DLLs use 'pw' prefix rather than 'lib'
   15979       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   15980       ;;
   15981     esac
   15982     ;;
   15983 
   15984   *)
   15985     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
   15986     ;;
   15987   esac
   15988   dynamic_linker='Win32 ld.exe'
   15989   # FIXME: first we should search . and the directory the executable is in
   15990   shlibpath_var=PATH
   15991   ;;
   15992 
   15993 darwin* | rhapsody*)
   15994   dynamic_linker="$host_os dyld"
   15995   version_type=darwin
   15996   need_lib_prefix=no
   15997   need_version=no
   15998   library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
   15999   soname_spec='${libname}${release}${major}$shared_ext'
   16000   shlibpath_overrides_runpath=yes
   16001   shlibpath_var=DYLD_LIBRARY_PATH
   16002   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   16003 
   16004   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   16005   ;;
   16006 
   16007 dgux*)
   16008   version_type=linux
   16009   need_lib_prefix=no
   16010   need_version=no
   16011   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
   16012   soname_spec='${libname}${release}${shared_ext}$major'
   16013   shlibpath_var=LD_LIBRARY_PATH
   16014   ;;
   16015 
   16016 freebsd1*)
   16017   dynamic_linker=no
   16018   ;;
   16019 
   16020 freebsd* | dragonfly*)
   16021   # DragonFly does not have aout.  When/if they implement a new
   16022   # versioning mechanism, adjust this.
   16023   if test -x /usr/bin/objformat; then
   16024     objformat=`/usr/bin/objformat`
   16025   else
   16026     case $host_os in
   16027     freebsd[123]*) objformat=aout ;;
   16028     *) objformat=elf ;;
   16029     esac
   16030   fi
   16031   version_type=freebsd-$objformat
   16032   case $version_type in
   16033     freebsd-elf*)
   16034       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   16035       need_version=no
   16036       need_lib_prefix=no
   16037       ;;
   16038     freebsd-*)
   16039       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
   16040       need_version=yes
   16041       ;;
   16042   esac
   16043   shlibpath_var=LD_LIBRARY_PATH
   16044   case $host_os in
   16045   freebsd2*)
   16046     shlibpath_overrides_runpath=yes
   16047     ;;
   16048   freebsd3.[01]* | freebsdelf3.[01]*)
   16049     shlibpath_overrides_runpath=yes
   16050     hardcode_into_libs=yes
   16051     ;;
   16052   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   16053   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   16054     shlibpath_overrides_runpath=no
   16055     hardcode_into_libs=yes
   16056     ;;
   16057   *) # from 4.6 on, and DragonFly
   16058     shlibpath_overrides_runpath=yes
   16059     hardcode_into_libs=yes
   16060     ;;
   16061   esac
   16062   ;;
   16063 
   16064 gnu*)
   16065   version_type=linux
   16066   need_lib_prefix=no
   16067   need_version=no
   16068   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   16069   soname_spec='${libname}${release}${shared_ext}$major'
   16070   shlibpath_var=LD_LIBRARY_PATH
   16071   hardcode_into_libs=yes
   16072   ;;
   16073 
   16074 hpux9* | hpux10* | hpux11*)
   16075   # Give a soname corresponding to the major version so that dld.sl refuses to
   16076   # link against other versions.
   16077   version_type=sunos
   16078   need_lib_prefix=no
   16079   need_version=no
   16080   case $host_cpu in
   16081   ia64*)
   16082     shrext_cmds='.so'
   16083     hardcode_into_libs=yes
   16084     dynamic_linker="$host_os dld.so"
   16085     shlibpath_var=LD_LIBRARY_PATH
   16086     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   16087     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16088     soname_spec='${libname}${release}${shared_ext}$major'
   16089     if test "X$HPUX_IA64_MODE" = X32; then
   16090       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   16091     else
   16092       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   16093     fi
   16094     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   16095     ;;
   16096    hppa*64*)
   16097      shrext_cmds='.sl'
   16098      hardcode_into_libs=yes
   16099      dynamic_linker="$host_os dld.sl"
   16100      shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   16101      shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   16102      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16103      soname_spec='${libname}${release}${shared_ext}$major'
   16104      sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   16105      sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   16106      ;;
   16107    *)
   16108     shrext_cmds='.sl'
   16109     dynamic_linker="$host_os dld.sl"
   16110     shlibpath_var=SHLIB_PATH
   16111     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   16112     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16113     soname_spec='${libname}${release}${shared_ext}$major'
   16114     ;;
   16115   esac
   16116   # HP-UX runs *really* slowly unless shared libraries are mode 555.
   16117   postinstall_cmds='chmod 555 $lib'
   16118   ;;
   16119 
   16120 interix[3-9]*)
   16121   version_type=linux
   16122   need_lib_prefix=no
   16123   need_version=no
   16124   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   16125   soname_spec='${libname}${release}${shared_ext}$major'
   16126   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   16127   shlibpath_var=LD_LIBRARY_PATH
   16128   shlibpath_overrides_runpath=no
   16129   hardcode_into_libs=yes
   16130   ;;
   16131 
   16132 irix5* | irix6* | nonstopux*)
   16133   case $host_os in
   16134     nonstopux*) version_type=nonstopux ;;
   16135     *)
   16136 	if test "$lt_cv_prog_gnu_ld" = yes; then
   16137 		version_type=linux
   16138 	else
   16139 		version_type=irix
   16140 	fi ;;
   16141   esac
   16142   need_lib_prefix=no
   16143   need_version=no
   16144   soname_spec='${libname}${release}${shared_ext}$major'
   16145   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
   16146   case $host_os in
   16147   irix5* | nonstopux*)
   16148     libsuff= shlibsuff=
   16149     ;;
   16150   *)
   16151     case $LD in # libtool.m4 will add one of these switches to LD
   16152     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   16153       libsuff= shlibsuff= libmagic=32-bit;;
   16154     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   16155       libsuff=32 shlibsuff=N32 libmagic=N32;;
   16156     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   16157       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   16158     *) libsuff= shlibsuff= libmagic=never-match;;
   16159     esac
   16160     ;;
   16161   esac
   16162   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   16163   shlibpath_overrides_runpath=no
   16164   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   16165   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   16166   hardcode_into_libs=yes
   16167   ;;
   16168 
   16169 # No shared lib support for Linux oldld, aout, or coff.
   16170 linux*oldld* | linux*aout* | linux*coff*)
   16171   dynamic_linker=no
   16172   ;;
   16173 
   16174 # This must be Linux ELF.
   16175 linux* | k*bsd*-gnu)
   16176   version_type=linux
   16177   need_lib_prefix=no
   16178   need_version=no
   16179   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16180   soname_spec='${libname}${release}${shared_ext}$major'
   16181   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   16182   shlibpath_var=LD_LIBRARY_PATH
   16183   shlibpath_overrides_runpath=no
   16184   # This implies no fast_install, which is unacceptable.
   16185   # Some rework will be needed to allow for fast_install
   16186   # before this can be enabled.
   16187   hardcode_into_libs=yes
   16188 
   16189   # Append ld.so.conf contents to the search path
   16190   if test -f /etc/ld.so.conf; then
   16191     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' ' '`
   16192     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   16193   fi
   16194 
   16195   # We used to test for /lib/ld.so.1 and disable shared libraries on
   16196   # powerpc, because MkLinux only supported shared libraries with the
   16197   # GNU dynamic linker.  Since this was broken with cross compilers,
   16198   # most powerpc-linux boxes support dynamic linking these days and
   16199   # people can always --disable-shared, the test was removed, and we
   16200   # assume the GNU/Linux dynamic linker is in use.
   16201   dynamic_linker='GNU/Linux ld.so'
   16202   ;;
   16203 
   16204 netbsd*)
   16205   version_type=sunos
   16206   need_lib_prefix=no
   16207   need_version=no
   16208   if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   16209     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   16210     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   16211     dynamic_linker='NetBSD (a.out) ld.so'
   16212   else
   16213     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   16214     soname_spec='${libname}${release}${shared_ext}$major'
   16215     dynamic_linker='NetBSD ld.elf_so'
   16216   fi
   16217   shlibpath_var=LD_LIBRARY_PATH
   16218   shlibpath_overrides_runpath=yes
   16219   hardcode_into_libs=yes
   16220   ;;
   16221 
   16222 newsos6)
   16223   version_type=linux
   16224   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16225   shlibpath_var=LD_LIBRARY_PATH
   16226   shlibpath_overrides_runpath=yes
   16227   ;;
   16228 
   16229 nto-qnx*)
   16230   version_type=linux
   16231   need_lib_prefix=no
   16232   need_version=no
   16233   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16234   soname_spec='${libname}${release}${shared_ext}$major'
   16235   shlibpath_var=LD_LIBRARY_PATH
   16236   shlibpath_overrides_runpath=yes
   16237   ;;
   16238 
   16239 openbsd*)
   16240   version_type=sunos
   16241   sys_lib_dlsearch_path_spec="/usr/lib"
   16242   need_lib_prefix=no
   16243   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
   16244   case $host_os in
   16245     openbsd3.3 | openbsd3.3.*) need_version=yes ;;
   16246     *)                         need_version=no  ;;
   16247   esac
   16248   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   16249   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   16250   shlibpath_var=LD_LIBRARY_PATH
   16251   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   16252     case $host_os in
   16253       openbsd2.[89] | openbsd2.[89].*)
   16254 	shlibpath_overrides_runpath=no
   16255 	;;
   16256       *)
   16257 	shlibpath_overrides_runpath=yes
   16258 	;;
   16259       esac
   16260   else
   16261     shlibpath_overrides_runpath=yes
   16262   fi
   16263   ;;
   16264 
   16265 os2*)
   16266   libname_spec='$name'
   16267   shrext_cmds=".dll"
   16268   need_lib_prefix=no
   16269   library_names_spec='$libname${shared_ext} $libname.a'
   16270   dynamic_linker='OS/2 ld.exe'
   16271   shlibpath_var=LIBPATH
   16272   ;;
   16273 
   16274 osf3* | osf4* | osf5*)
   16275   version_type=osf
   16276   need_lib_prefix=no
   16277   need_version=no
   16278   soname_spec='${libname}${release}${shared_ext}$major'
   16279   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16280   shlibpath_var=LD_LIBRARY_PATH
   16281   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   16282   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   16283   ;;
   16284 
   16285 rdos*)
   16286   dynamic_linker=no
   16287   ;;
   16288 
   16289 solaris*)
   16290   version_type=linux
   16291   need_lib_prefix=no
   16292   need_version=no
   16293   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16294   soname_spec='${libname}${release}${shared_ext}$major'
   16295   shlibpath_var=LD_LIBRARY_PATH
   16296   shlibpath_overrides_runpath=yes
   16297   hardcode_into_libs=yes
   16298   # ldd complains unless libraries are executable
   16299   postinstall_cmds='chmod +x $lib'
   16300   ;;
   16301 
   16302 sunos4*)
   16303   version_type=sunos
   16304   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   16305   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   16306   shlibpath_var=LD_LIBRARY_PATH
   16307   shlibpath_overrides_runpath=yes
   16308   if test "$with_gnu_ld" = yes; then
   16309     need_lib_prefix=no
   16310   fi
   16311   need_version=yes
   16312   ;;
   16313 
   16314 sysv4 | sysv4.3*)
   16315   version_type=linux
   16316   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16317   soname_spec='${libname}${release}${shared_ext}$major'
   16318   shlibpath_var=LD_LIBRARY_PATH
   16319   case $host_vendor in
   16320     sni)
   16321       shlibpath_overrides_runpath=no
   16322       need_lib_prefix=no
   16323       export_dynamic_flag_spec='${wl}-Blargedynsym'
   16324       runpath_var=LD_RUN_PATH
   16325       ;;
   16326     siemens)
   16327       need_lib_prefix=no
   16328       ;;
   16329     motorola)
   16330       need_lib_prefix=no
   16331       need_version=no
   16332       shlibpath_overrides_runpath=no
   16333       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   16334       ;;
   16335   esac
   16336   ;;
   16337 
   16338 sysv4*MP*)
   16339   if test -d /usr/nec ;then
   16340     version_type=linux
   16341     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
   16342     soname_spec='$libname${shared_ext}.$major'
   16343     shlibpath_var=LD_LIBRARY_PATH
   16344   fi
   16345   ;;
   16346 
   16347 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   16348   version_type=freebsd-elf
   16349   need_lib_prefix=no
   16350   need_version=no
   16351   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   16352   soname_spec='${libname}${release}${shared_ext}$major'
   16353   shlibpath_var=LD_LIBRARY_PATH
   16354   hardcode_into_libs=yes
   16355   if test "$with_gnu_ld" = yes; then
   16356     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   16357     shlibpath_overrides_runpath=no
   16358   else
   16359     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   16360     shlibpath_overrides_runpath=yes
   16361     case $host_os in
   16362       sco3.2v5*)
   16363         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   16364 	;;
   16365     esac
   16366   fi
   16367   sys_lib_dlsearch_path_spec='/usr/lib'
   16368   ;;
   16369 
   16370 uts4*)
   16371   version_type=linux
   16372   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16373   soname_spec='${libname}${release}${shared_ext}$major'
   16374   shlibpath_var=LD_LIBRARY_PATH
   16375   ;;
   16376 
   16377 *)
   16378   dynamic_linker=no
   16379   ;;
   16380 esac
   16381 { $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
   16382 $as_echo "$dynamic_linker" >&6; }
   16383 test "$dynamic_linker" = no && can_build_shared=no
   16384 
   16385 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
   16386   $as_echo_n "(cached) " >&6
   16387 else
   16388   lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
   16389 fi
   16390 
   16391 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
   16392 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
   16393   $as_echo_n "(cached) " >&6
   16394 else
   16395   lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
   16396 fi
   16397 
   16398 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
   16399 
   16400 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   16401 if test "$GCC" = yes; then
   16402   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   16403 fi
   16404 
   16405 { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
   16406 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
   16407 hardcode_action_F77=
   16408 if test -n "$hardcode_libdir_flag_spec_F77" || \
   16409    test -n "$runpath_var_F77" || \
   16410    test "X$hardcode_automatic_F77" = "Xyes" ; then
   16411 
   16412   # We can hardcode non-existant directories.
   16413   if test "$hardcode_direct_F77" != no &&
   16414      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   16415      # have to relink, otherwise we might link with an installed library
   16416      # when we should be linking with a yet-to-be-installed one
   16417      ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
   16418      test "$hardcode_minus_L_F77" != no; then
   16419     # Linking always hardcodes the temporary library directory.
   16420     hardcode_action_F77=relink
   16421   else
   16422     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   16423     hardcode_action_F77=immediate
   16424   fi
   16425 else
   16426   # We cannot hardcode anything, or else we can only hardcode existing
   16427   # directories.
   16428   hardcode_action_F77=unsupported
   16429 fi
   16430 { $as_echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
   16431 $as_echo "$hardcode_action_F77" >&6; }
   16432 
   16433 if test "$hardcode_action_F77" = relink; then
   16434   # Fast installation is not supported
   16435   enable_fast_install=no
   16436 elif test "$shlibpath_overrides_runpath" = yes ||
   16437      test "$enable_shared" = no; then
   16438   # Fast installation is not necessary
   16439   enable_fast_install=needless
   16440 fi
   16441 
   16442 
   16443 # The else clause should only fire when bootstrapping the
   16444 # libtool distribution, otherwise you forgot to ship ltmain.sh
   16445 # with your package, and you will get complaints that there are
   16446 # no rules to generate ltmain.sh.
   16447 if test -f "$ltmain"; then
   16448   # See if we are running on zsh, and set the options which allow our commands through
   16449   # without removal of \ escapes.
   16450   if test -n "${ZSH_VERSION+set}" ; then
   16451     setopt NO_GLOB_SUBST
   16452   fi
   16453   # Now quote all the things that may contain metacharacters while being
   16454   # careful not to overquote the AC_SUBSTed values.  We take copies of the
   16455   # variables and quote the copies for generation of the libtool script.
   16456   for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
   16457     SED SHELL STRIP \
   16458     libname_spec library_names_spec soname_spec extract_expsyms_cmds \
   16459     old_striplib striplib file_magic_cmd finish_cmds finish_eval \
   16460     deplibs_check_method reload_flag reload_cmds need_locks \
   16461     lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
   16462     lt_cv_sys_global_symbol_to_c_name_address \
   16463     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
   16464     old_postinstall_cmds old_postuninstall_cmds \
   16465     compiler_F77 \
   16466     CC_F77 \
   16467     LD_F77 \
   16468     lt_prog_compiler_wl_F77 \
   16469     lt_prog_compiler_pic_F77 \
   16470     lt_prog_compiler_static_F77 \
   16471     lt_prog_compiler_no_builtin_flag_F77 \
   16472     export_dynamic_flag_spec_F77 \
   16473     thread_safe_flag_spec_F77 \
   16474     whole_archive_flag_spec_F77 \
   16475     enable_shared_with_static_runtimes_F77 \
   16476     old_archive_cmds_F77 \
   16477     old_archive_from_new_cmds_F77 \
   16478     predep_objects_F77 \
   16479     postdep_objects_F77 \
   16480     predeps_F77 \
   16481     postdeps_F77 \
   16482     compiler_lib_search_path_F77 \
   16483     compiler_lib_search_dirs_F77 \
   16484     archive_cmds_F77 \
   16485     archive_expsym_cmds_F77 \
   16486     postinstall_cmds_F77 \
   16487     postuninstall_cmds_F77 \
   16488     old_archive_from_expsyms_cmds_F77 \
   16489     allow_undefined_flag_F77 \
   16490     no_undefined_flag_F77 \
   16491     export_symbols_cmds_F77 \
   16492     hardcode_libdir_flag_spec_F77 \
   16493     hardcode_libdir_flag_spec_ld_F77 \
   16494     hardcode_libdir_separator_F77 \
   16495     hardcode_automatic_F77 \
   16496     module_cmds_F77 \
   16497     module_expsym_cmds_F77 \
   16498     lt_cv_prog_compiler_c_o_F77 \
   16499     fix_srcfile_path_F77 \
   16500     exclude_expsyms_F77 \
   16501     include_expsyms_F77; do
   16502 
   16503     case $var in
   16504     old_archive_cmds_F77 | \
   16505     old_archive_from_new_cmds_F77 | \
   16506     archive_cmds_F77 | \
   16507     archive_expsym_cmds_F77 | \
   16508     module_cmds_F77 | \
   16509     module_expsym_cmds_F77 | \
   16510     old_archive_from_expsyms_cmds_F77 | \
   16511     export_symbols_cmds_F77 | \
   16512     extract_expsyms_cmds | reload_cmds | finish_cmds | \
   16513     postinstall_cmds | postuninstall_cmds | \
   16514     old_postinstall_cmds | old_postuninstall_cmds | \
   16515     sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
   16516       # Double-quote double-evaled strings.
   16517       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
   16518       ;;
   16519     *)
   16520       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
   16521       ;;
   16522     esac
   16523   done
   16524 
   16525   case $lt_echo in
   16526   *'\$0 --fallback-echo"')
   16527     lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
   16528     ;;
   16529   esac
   16530 
   16531 cfgfile="$ofile"
   16532 
   16533   cat <<__EOF__ >> "$cfgfile"
   16534 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
   16535 
   16536 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   16537 
   16538 # Shell to use when invoking shell scripts.
   16539 SHELL=$lt_SHELL
   16540 
   16541 # Whether or not to build shared libraries.
   16542 build_libtool_libs=$enable_shared
   16543 
   16544 # Whether or not to build static libraries.
   16545 build_old_libs=$enable_static
   16546 
   16547 # Whether or not to add -lc for building shared libraries.
   16548 build_libtool_need_lc=$archive_cmds_need_lc_F77
   16549 
   16550 # Whether or not to disallow shared libs when runtime libs are static
   16551 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
   16552 
   16553 # Whether or not to optimize for fast installation.
   16554 fast_install=$enable_fast_install
   16555 
   16556 # The host system.
   16557 host_alias=$host_alias
   16558 host=$host
   16559 host_os=$host_os
   16560 
   16561 # The build system.
   16562 build_alias=$build_alias
   16563 build=$build
   16564 build_os=$build_os
   16565 
   16566 # An echo program that does not interpret backslashes.
   16567 echo=$lt_echo
   16568 
   16569 # The archiver.
   16570 AR=$lt_AR
   16571 AR_FLAGS=$lt_AR_FLAGS
   16572 
   16573 # A C compiler.
   16574 LTCC=$lt_LTCC
   16575 
   16576 # LTCC compiler flags.
   16577 LTCFLAGS=$lt_LTCFLAGS
   16578 
   16579 # A language-specific compiler.
   16580 CC=$lt_compiler_F77
   16581 
   16582 # Is the compiler the GNU C compiler?
   16583 with_gcc=$GCC_F77
   16584 
   16585 # An ERE matcher.
   16586 EGREP=$lt_EGREP
   16587 
   16588 # The linker used to build libraries.
   16589 LD=$lt_LD_F77
   16590 
   16591 # Whether we need hard or soft links.
   16592 LN_S=$lt_LN_S
   16593 
   16594 # A BSD-compatible nm program.
   16595 NM=$lt_NM
   16596 
   16597 # A symbol stripping program
   16598 STRIP=$lt_STRIP
   16599 
   16600 # Used to examine libraries when file_magic_cmd begins "file"
   16601 MAGIC_CMD=$MAGIC_CMD
   16602 
   16603 # Used on cygwin: DLL creation program.
   16604 DLLTOOL="$DLLTOOL"
   16605 
   16606 # Used on cygwin: object dumper.
   16607 OBJDUMP="$OBJDUMP"
   16608 
   16609 # Used on cygwin: assembler.
   16610 AS="$AS"
   16611 
   16612 # The name of the directory that contains temporary libtool files.
   16613 objdir=$objdir
   16614 
   16615 # How to create reloadable object files.
   16616 reload_flag=$lt_reload_flag
   16617 reload_cmds=$lt_reload_cmds
   16618 
   16619 # How to pass a linker flag through the compiler.
   16620 wl=$lt_lt_prog_compiler_wl_F77
   16621 
   16622 # Object file suffix (normally "o").
   16623 objext="$ac_objext"
   16624 
   16625 # Old archive suffix (normally "a").
   16626 libext="$libext"
   16627 
   16628 # Shared library suffix (normally ".so").
   16629 shrext_cmds='$shrext_cmds'
   16630 
   16631 # Executable file suffix (normally "").
   16632 exeext="$exeext"
   16633 
   16634 # Additional compiler flags for building library objects.
   16635 pic_flag=$lt_lt_prog_compiler_pic_F77
   16636 pic_mode=$pic_mode
   16637 
   16638 # What is the maximum length of a command?
   16639 max_cmd_len=$lt_cv_sys_max_cmd_len
   16640 
   16641 # Does compiler simultaneously support -c and -o options?
   16642 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
   16643 
   16644 # Must we lock files when doing compilation?
   16645 need_locks=$lt_need_locks
   16646 
   16647 # Do we need the lib prefix for modules?
   16648 need_lib_prefix=$need_lib_prefix
   16649 
   16650 # Do we need a version for libraries?
   16651 need_version=$need_version
   16652 
   16653 # Whether dlopen is supported.
   16654 dlopen_support=$enable_dlopen
   16655 
   16656 # Whether dlopen of programs is supported.
   16657 dlopen_self=$enable_dlopen_self
   16658 
   16659 # Whether dlopen of statically linked programs is supported.
   16660 dlopen_self_static=$enable_dlopen_self_static
   16661 
   16662 # Compiler flag to prevent dynamic linking.
   16663 link_static_flag=$lt_lt_prog_compiler_static_F77
   16664 
   16665 # Compiler flag to turn off builtin functions.
   16666 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
   16667 
   16668 # Compiler flag to allow reflexive dlopens.
   16669 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
   16670 
   16671 # Compiler flag to generate shared objects directly from archives.
   16672 whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
   16673 
   16674 # Compiler flag to generate thread-safe objects.
   16675 thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
   16676 
   16677 # Library versioning type.
   16678 version_type=$version_type
   16679 
   16680 # Format of library name prefix.
   16681 libname_spec=$lt_libname_spec
   16682 
   16683 # List of archive names.  First name is the real one, the rest are links.
   16684 # The last name is the one that the linker finds with -lNAME.
   16685 library_names_spec=$lt_library_names_spec
   16686 
   16687 # The coded name of the library, if different from the real name.
   16688 soname_spec=$lt_soname_spec
   16689 
   16690 # Commands used to build and install an old-style archive.
   16691 RANLIB=$lt_RANLIB
   16692 old_archive_cmds=$lt_old_archive_cmds_F77
   16693 old_postinstall_cmds=$lt_old_postinstall_cmds
   16694 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   16695 
   16696 # Create an old-style archive from a shared archive.
   16697 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
   16698 
   16699 # Create a temporary old-style archive to link instead of a shared archive.
   16700 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
   16701 
   16702 # Commands used to build and install a shared archive.
   16703 archive_cmds=$lt_archive_cmds_F77
   16704 archive_expsym_cmds=$lt_archive_expsym_cmds_F77
   16705 postinstall_cmds=$lt_postinstall_cmds
   16706 postuninstall_cmds=$lt_postuninstall_cmds
   16707 
   16708 # Commands used to build a loadable module (assumed same as above if empty)
   16709 module_cmds=$lt_module_cmds_F77
   16710 module_expsym_cmds=$lt_module_expsym_cmds_F77
   16711 
   16712 # Commands to strip libraries.
   16713 old_striplib=$lt_old_striplib
   16714 striplib=$lt_striplib
   16715 
   16716 # Dependencies to place before the objects being linked to create a
   16717 # shared library.
   16718 predep_objects=$lt_predep_objects_F77
   16719 
   16720 # Dependencies to place after the objects being linked to create a
   16721 # shared library.
   16722 postdep_objects=$lt_postdep_objects_F77
   16723 
   16724 # Dependencies to place before the objects being linked to create a
   16725 # shared library.
   16726 predeps=$lt_predeps_F77
   16727 
   16728 # Dependencies to place after the objects being linked to create a
   16729 # shared library.
   16730 postdeps=$lt_postdeps_F77
   16731 
   16732 # The directories searched by this compiler when creating a shared
   16733 # library
   16734 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_F77
   16735 
   16736 # The library search path used internally by the compiler when linking
   16737 # a shared library.
   16738 compiler_lib_search_path=$lt_compiler_lib_search_path_F77
   16739 
   16740 # Method to check whether dependent libraries are shared objects.
   16741 deplibs_check_method=$lt_deplibs_check_method
   16742 
   16743 # Command to use when deplibs_check_method == file_magic.
   16744 file_magic_cmd=$lt_file_magic_cmd
   16745 
   16746 # Flag that allows shared libraries with undefined symbols to be built.
   16747 allow_undefined_flag=$lt_allow_undefined_flag_F77
   16748 
   16749 # Flag that forces no undefined symbols.
   16750 no_undefined_flag=$lt_no_undefined_flag_F77
   16751 
   16752 # Commands used to finish a libtool library installation in a directory.
   16753 finish_cmds=$lt_finish_cmds
   16754 
   16755 # Same as above, but a single script fragment to be evaled but not shown.
   16756 finish_eval=$lt_finish_eval
   16757 
   16758 # Take the output of nm and produce a listing of raw symbols and C names.
   16759 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   16760 
   16761 # Transform the output of nm in a proper C declaration
   16762 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   16763 
   16764 # Transform the output of nm in a C name address pair
   16765 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   16766 
   16767 # This is the shared library runtime path variable.
   16768 runpath_var=$runpath_var
   16769 
   16770 # This is the shared library path variable.
   16771 shlibpath_var=$shlibpath_var
   16772 
   16773 # Is shlibpath searched before the hard-coded library search path?
   16774 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   16775 
   16776 # How to hardcode a shared library path into an executable.
   16777 hardcode_action=$hardcode_action_F77
   16778 
   16779 # Whether we should hardcode library paths into libraries.
   16780 hardcode_into_libs=$hardcode_into_libs
   16781 
   16782 # Flag to hardcode \$libdir into a binary during linking.
   16783 # This must work even if \$libdir does not exist.
   16784 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
   16785 
   16786 # If ld is used when linking, flag to hardcode \$libdir into
   16787 # a binary during linking. This must work even if \$libdir does
   16788 # not exist.
   16789 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
   16790 
   16791 # Whether we need a single -rpath flag with a separated argument.
   16792 hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
   16793 
   16794 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
   16795 # resulting binary.
   16796 hardcode_direct=$hardcode_direct_F77
   16797 
   16798 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
   16799 # resulting binary.
   16800 hardcode_minus_L=$hardcode_minus_L_F77
   16801 
   16802 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
   16803 # the resulting binary.
   16804 hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
   16805 
   16806 # Set to yes if building a shared library automatically hardcodes DIR into the library
   16807 # and all subsequent libraries and executables linked against it.
   16808 hardcode_automatic=$hardcode_automatic_F77
   16809 
   16810 # Variables whose values should be saved in libtool wrapper scripts and
   16811 # restored at relink time.
   16812 variables_saved_for_relink="$variables_saved_for_relink"
   16813 
   16814 # Whether libtool must link a program against all its dependency libraries.
   16815 link_all_deplibs=$link_all_deplibs_F77
   16816 
   16817 # Compile-time system search path for libraries
   16818 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   16819 
   16820 # Run-time system search path for libraries
   16821 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   16822 
   16823 # Fix the shell variable \$srcfile for the compiler.
   16824 fix_srcfile_path=$lt_fix_srcfile_path
   16825 
   16826 # Set to yes if exported symbols are required.
   16827 always_export_symbols=$always_export_symbols_F77
   16828 
   16829 # The commands to list exported symbols.
   16830 export_symbols_cmds=$lt_export_symbols_cmds_F77
   16831 
   16832 # The commands to extract the exported symbol list from a shared archive.
   16833 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   16834 
   16835 # Symbols that should not be listed in the preloaded symbols.
   16836 exclude_expsyms=$lt_exclude_expsyms_F77
   16837 
   16838 # Symbols that must always be exported.
   16839 include_expsyms=$lt_include_expsyms_F77
   16840 
   16841 # ### END LIBTOOL TAG CONFIG: $tagname
   16842 
   16843 __EOF__
   16844 
   16845 
   16846 else
   16847   # If there is no Makefile yet, we rely on a make rule to execute
   16848   # `config.status --recheck' to rerun these tests and create the
   16849   # libtool script then.
   16850   ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
   16851   if test -f "$ltmain_in"; then
   16852     test -f Makefile && make "$ltmain"
   16853   fi
   16854 fi
   16855 
   16856 
   16857 ac_ext=c
   16858 ac_cpp='$CPP $CPPFLAGS'
   16859 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   16860 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   16861 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   16862 
   16863 CC="$lt_save_CC"
   16864 
   16865 	else
   16866 	  tagname=""
   16867 	fi
   16868 	;;
   16869 
   16870       GCJ)
   16871 	if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
   16872 
   16873 
   16874 # Source file extension for Java test sources.
   16875 ac_ext=java
   16876 
   16877 # Object file extension for compiled Java test sources.
   16878 objext=o
   16879 objext_GCJ=$objext
   16880 
   16881 # Code to be used in simple compile tests
   16882 lt_simple_compile_test_code="class foo {}"
   16883 
   16884 # Code to be used in simple link tests
   16885 lt_simple_link_test_code='public class conftest { public static void main(String[] argv) {}; }'
   16886 
   16887 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
   16888 
   16889 # If no C compiler was specified, use CC.
   16890 LTCC=${LTCC-"$CC"}
   16891 
   16892 # If no C compiler flags were specified, use CFLAGS.
   16893 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   16894 
   16895 # Allow CC to be a program name with arguments.
   16896 compiler=$CC
   16897 
   16898 
   16899 # save warnings/boilerplate of simple test code
   16900 ac_outfile=conftest.$ac_objext
   16901 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   16902 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   16903 _lt_compiler_boilerplate=`cat conftest.err`
   16904 $rm conftest*
   16905 
   16906 ac_outfile=conftest.$ac_objext
   16907 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   16908 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   16909 _lt_linker_boilerplate=`cat conftest.err`
   16910 $rm -r conftest*
   16911 
   16912 
   16913 # Allow CC to be a program name with arguments.
   16914 lt_save_CC="$CC"
   16915 CC=${GCJ-"gcj"}
   16916 compiler=$CC
   16917 compiler_GCJ=$CC
   16918 for cc_temp in $compiler""; do
   16919   case $cc_temp in
   16920     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   16921     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   16922     \-*) ;;
   16923     *) break;;
   16924   esac
   16925 done
   16926 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   16927 
   16928 
   16929 # GCJ did not exist at the time GCC didn't implicitly link libc in.
   16930 archive_cmds_need_lc_GCJ=no
   16931 
   16932 old_archive_cmds_GCJ=$old_archive_cmds
   16933 
   16934 
   16935 lt_prog_compiler_no_builtin_flag_GCJ=
   16936 
   16937 if test "$GCC" = yes; then
   16938   lt_prog_compiler_no_builtin_flag_GCJ=' -fno-builtin'
   16939 
   16940 
   16941 { $as_echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
   16942 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
   16943 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
   16944   $as_echo_n "(cached) " >&6
   16945 else
   16946   lt_cv_prog_compiler_rtti_exceptions=no
   16947   ac_outfile=conftest.$ac_objext
   16948    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   16949    lt_compiler_flag="-fno-rtti -fno-exceptions"
   16950    # Insert the option either (1) after the last *FLAGS variable, or
   16951    # (2) before a word containing "conftest.", or (3) at the end.
   16952    # Note that $ac_compile itself does not contain backslashes and begins
   16953    # with a dollar sign (not a hyphen), so the echo should work correctly.
   16954    # The option is referenced via a variable to avoid confusing sed.
   16955    lt_compile=`echo "$ac_compile" | $SED \
   16956    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   16957    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   16958    -e 's:$: $lt_compiler_flag:'`
   16959    (eval echo "\"\$as_me:16959: $lt_compile\"" >&5)
   16960    (eval "$lt_compile" 2>conftest.err)
   16961    ac_status=$?
   16962    cat conftest.err >&5
   16963    echo "$as_me:16963: \$? = $ac_status" >&5
   16964    if (exit $ac_status) && test -s "$ac_outfile"; then
   16965      # The compiler can only warn and ignore the option if not recognized
   16966      # So say no if there are warnings other than the usual output.
   16967      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   16968      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   16969      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   16970        lt_cv_prog_compiler_rtti_exceptions=yes
   16971      fi
   16972    fi
   16973    $rm conftest*
   16974 
   16975 fi
   16976 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
   16977 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
   16978 
   16979 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
   16980     lt_prog_compiler_no_builtin_flag_GCJ="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
   16981 else
   16982     :
   16983 fi
   16984 
   16985 fi
   16986 
   16987 lt_prog_compiler_wl_GCJ=
   16988 lt_prog_compiler_pic_GCJ=
   16989 lt_prog_compiler_static_GCJ=
   16990 
   16991 { $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
   16992 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
   16993 
   16994   if test "$GCC" = yes; then
   16995     lt_prog_compiler_wl_GCJ='-Wl,'
   16996     lt_prog_compiler_static_GCJ='-static'
   16997 
   16998     case $host_os in
   16999       aix*)
   17000       # All AIX code is PIC.
   17001       if test "$host_cpu" = ia64; then
   17002 	# AIX 5 now supports IA64 processor
   17003 	lt_prog_compiler_static_GCJ='-Bstatic'
   17004       fi
   17005       ;;
   17006 
   17007     amigaos*)
   17008       # FIXME: we need at least 68020 code to build shared libraries, but
   17009       # adding the `-m68020' flag to GCC prevents building anything better,
   17010       # like `-m68040'.
   17011       lt_prog_compiler_pic_GCJ='-m68020 -resident32 -malways-restore-a4'
   17012       ;;
   17013 
   17014     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   17015       # PIC is the default for these OSes.
   17016       ;;
   17017 
   17018     mingw* | cygwin* | pw32* | os2*)
   17019       # This hack is so that the source file can tell whether it is being
   17020       # built for inclusion in a dll (and should export symbols for example).
   17021       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   17022       # (--disable-auto-import) libraries
   17023 
   17024       ;;
   17025 
   17026     darwin* | rhapsody*)
   17027       # PIC is the default on this platform
   17028       # Common symbols not allowed in MH_DYLIB files
   17029       lt_prog_compiler_pic_GCJ='-fno-common'
   17030       ;;
   17031 
   17032     interix[3-9]*)
   17033       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   17034       # Instead, we relocate shared libraries at runtime.
   17035       ;;
   17036 
   17037     msdosdjgpp*)
   17038       # Just because we use GCC doesn't mean we suddenly get shared libraries
   17039       # on systems that don't support them.
   17040       lt_prog_compiler_can_build_shared_GCJ=no
   17041       enable_shared=no
   17042       ;;
   17043 
   17044     sysv4*MP*)
   17045       if test -d /usr/nec; then
   17046 	lt_prog_compiler_pic_GCJ=-Kconform_pic
   17047       fi
   17048       ;;
   17049 
   17050     hpux*)
   17051       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   17052       # not for PA HP-UX.
   17053       case $host_cpu in
   17054       hppa*64*|ia64*)
   17055 	# +Z the default
   17056 	;;
   17057       *)
   17058 	lt_prog_compiler_pic_GCJ='-fPIC'
   17059 	;;
   17060       esac
   17061       ;;
   17062 
   17063     *)
   17064       lt_prog_compiler_pic_GCJ='-fPIC'
   17065       ;;
   17066     esac
   17067   else
   17068     # PORTME Check for flag to pass linker flags through the system compiler.
   17069     case $host_os in
   17070     aix*)
   17071       lt_prog_compiler_wl_GCJ='-Wl,'
   17072       if test "$host_cpu" = ia64; then
   17073 	# AIX 5 now supports IA64 processor
   17074 	lt_prog_compiler_static_GCJ='-Bstatic'
   17075       else
   17076 	lt_prog_compiler_static_GCJ='-bnso -bI:/lib/syscalls.exp'
   17077       fi
   17078       ;;
   17079       darwin*)
   17080         # PIC is the default on this platform
   17081         # Common symbols not allowed in MH_DYLIB files
   17082        case $cc_basename in
   17083          xlc*)
   17084          lt_prog_compiler_pic_GCJ='-qnocommon'
   17085          lt_prog_compiler_wl_GCJ='-Wl,'
   17086          ;;
   17087        esac
   17088        ;;
   17089 
   17090     mingw* | cygwin* | pw32* | os2*)
   17091       # This hack is so that the source file can tell whether it is being
   17092       # built for inclusion in a dll (and should export symbols for example).
   17093 
   17094       ;;
   17095 
   17096     hpux9* | hpux10* | hpux11*)
   17097       lt_prog_compiler_wl_GCJ='-Wl,'
   17098       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   17099       # not for PA HP-UX.
   17100       case $host_cpu in
   17101       hppa*64*|ia64*)
   17102 	# +Z the default
   17103 	;;
   17104       *)
   17105 	lt_prog_compiler_pic_GCJ='+Z'
   17106 	;;
   17107       esac
   17108       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   17109       lt_prog_compiler_static_GCJ='${wl}-a ${wl}archive'
   17110       ;;
   17111 
   17112     irix5* | irix6* | nonstopux*)
   17113       lt_prog_compiler_wl_GCJ='-Wl,'
   17114       # PIC (with -KPIC) is the default.
   17115       lt_prog_compiler_static_GCJ='-non_shared'
   17116       ;;
   17117 
   17118     newsos6)
   17119       lt_prog_compiler_pic_GCJ='-KPIC'
   17120       lt_prog_compiler_static_GCJ='-Bstatic'
   17121       ;;
   17122 
   17123     linux* | k*bsd*-gnu)
   17124       case $cc_basename in
   17125       icc* | ecc*)
   17126 	lt_prog_compiler_wl_GCJ='-Wl,'
   17127 	lt_prog_compiler_pic_GCJ='-KPIC'
   17128 	lt_prog_compiler_static_GCJ='-static'
   17129         ;;
   17130       pgcc* | pgf77* | pgf90* | pgf95*)
   17131         # Portland Group compilers (*not* the Pentium gcc compiler,
   17132 	# which looks to be a dead project)
   17133 	lt_prog_compiler_wl_GCJ='-Wl,'
   17134 	lt_prog_compiler_pic_GCJ='-fpic'
   17135 	lt_prog_compiler_static_GCJ='-Bstatic'
   17136         ;;
   17137       ccc*)
   17138         lt_prog_compiler_wl_GCJ='-Wl,'
   17139         # All Alpha code is PIC.
   17140         lt_prog_compiler_static_GCJ='-non_shared'
   17141         ;;
   17142       *)
   17143         case `$CC -V 2>&1 | sed 5q` in
   17144 	*Sun\ C*)
   17145 	  # Sun C 5.9
   17146 	  lt_prog_compiler_pic_GCJ='-KPIC'
   17147 	  lt_prog_compiler_static_GCJ='-Bstatic'
   17148 	  lt_prog_compiler_wl_GCJ='-Wl,'
   17149 	  ;;
   17150 	*Sun\ F*)
   17151 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   17152 	  lt_prog_compiler_pic_GCJ='-KPIC'
   17153 	  lt_prog_compiler_static_GCJ='-Bstatic'
   17154 	  lt_prog_compiler_wl_GCJ=''
   17155 	  ;;
   17156 	esac
   17157 	;;
   17158       esac
   17159       ;;
   17160 
   17161     osf3* | osf4* | osf5*)
   17162       lt_prog_compiler_wl_GCJ='-Wl,'
   17163       # All OSF/1 code is PIC.
   17164       lt_prog_compiler_static_GCJ='-non_shared'
   17165       ;;
   17166 
   17167     rdos*)
   17168       lt_prog_compiler_static_GCJ='-non_shared'
   17169       ;;
   17170 
   17171     solaris*)
   17172       lt_prog_compiler_pic_GCJ='-KPIC'
   17173       lt_prog_compiler_static_GCJ='-Bstatic'
   17174       case $cc_basename in
   17175       f77* | f90* | f95*)
   17176 	lt_prog_compiler_wl_GCJ='-Qoption ld ';;
   17177       *)
   17178 	lt_prog_compiler_wl_GCJ='-Wl,';;
   17179       esac
   17180       ;;
   17181 
   17182     sunos4*)
   17183       lt_prog_compiler_wl_GCJ='-Qoption ld '
   17184       lt_prog_compiler_pic_GCJ='-PIC'
   17185       lt_prog_compiler_static_GCJ='-Bstatic'
   17186       ;;
   17187 
   17188     sysv4 | sysv4.2uw2* | sysv4.3*)
   17189       lt_prog_compiler_wl_GCJ='-Wl,'
   17190       lt_prog_compiler_pic_GCJ='-KPIC'
   17191       lt_prog_compiler_static_GCJ='-Bstatic'
   17192       ;;
   17193 
   17194     sysv4*MP*)
   17195       if test -d /usr/nec ;then
   17196 	lt_prog_compiler_pic_GCJ='-Kconform_pic'
   17197 	lt_prog_compiler_static_GCJ='-Bstatic'
   17198       fi
   17199       ;;
   17200 
   17201     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   17202       lt_prog_compiler_wl_GCJ='-Wl,'
   17203       lt_prog_compiler_pic_GCJ='-KPIC'
   17204       lt_prog_compiler_static_GCJ='-Bstatic'
   17205       ;;
   17206 
   17207     unicos*)
   17208       lt_prog_compiler_wl_GCJ='-Wl,'
   17209       lt_prog_compiler_can_build_shared_GCJ=no
   17210       ;;
   17211 
   17212     uts4*)
   17213       lt_prog_compiler_pic_GCJ='-pic'
   17214       lt_prog_compiler_static_GCJ='-Bstatic'
   17215       ;;
   17216 
   17217     *)
   17218       lt_prog_compiler_can_build_shared_GCJ=no
   17219       ;;
   17220     esac
   17221   fi
   17222 
   17223 { $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
   17224 $as_echo "$lt_prog_compiler_pic_GCJ" >&6; }
   17225 
   17226 #
   17227 # Check to make sure the PIC flag actually works.
   17228 #
   17229 if test -n "$lt_prog_compiler_pic_GCJ"; then
   17230 
   17231 { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
   17232 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... " >&6; }
   17233 if test "${lt_cv_prog_compiler_pic_works_GCJ+set}" = set; then
   17234   $as_echo_n "(cached) " >&6
   17235 else
   17236   lt_cv_prog_compiler_pic_works_GCJ=no
   17237   ac_outfile=conftest.$ac_objext
   17238    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   17239    lt_compiler_flag="$lt_prog_compiler_pic_GCJ"
   17240    # Insert the option either (1) after the last *FLAGS variable, or
   17241    # (2) before a word containing "conftest.", or (3) at the end.
   17242    # Note that $ac_compile itself does not contain backslashes and begins
   17243    # with a dollar sign (not a hyphen), so the echo should work correctly.
   17244    # The option is referenced via a variable to avoid confusing sed.
   17245    lt_compile=`echo "$ac_compile" | $SED \
   17246    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   17247    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   17248    -e 's:$: $lt_compiler_flag:'`
   17249    (eval echo "\"\$as_me:17249: $lt_compile\"" >&5)
   17250    (eval "$lt_compile" 2>conftest.err)
   17251    ac_status=$?
   17252    cat conftest.err >&5
   17253    echo "$as_me:17253: \$? = $ac_status" >&5
   17254    if (exit $ac_status) && test -s "$ac_outfile"; then
   17255      # The compiler can only warn and ignore the option if not recognized
   17256      # So say no if there are warnings other than the usual output.
   17257      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   17258      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   17259      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   17260        lt_cv_prog_compiler_pic_works_GCJ=yes
   17261      fi
   17262    fi
   17263    $rm conftest*
   17264 
   17265 fi
   17266 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_GCJ" >&5
   17267 $as_echo "$lt_cv_prog_compiler_pic_works_GCJ" >&6; }
   17268 
   17269 if test x"$lt_cv_prog_compiler_pic_works_GCJ" = xyes; then
   17270     case $lt_prog_compiler_pic_GCJ in
   17271      "" | " "*) ;;
   17272      *) lt_prog_compiler_pic_GCJ=" $lt_prog_compiler_pic_GCJ" ;;
   17273      esac
   17274 else
   17275     lt_prog_compiler_pic_GCJ=
   17276      lt_prog_compiler_can_build_shared_GCJ=no
   17277 fi
   17278 
   17279 fi
   17280 case $host_os in
   17281   # For platforms which do not support PIC, -DPIC is meaningless:
   17282   *djgpp*)
   17283     lt_prog_compiler_pic_GCJ=
   17284     ;;
   17285   *)
   17286     lt_prog_compiler_pic_GCJ="$lt_prog_compiler_pic_GCJ"
   17287     ;;
   17288 esac
   17289 
   17290 #
   17291 # Check to make sure the static flag actually works.
   17292 #
   17293 wl=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag=\"$lt_prog_compiler_static_GCJ\"
   17294 { $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   17295 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   17296 if test "${lt_cv_prog_compiler_static_works_GCJ+set}" = set; then
   17297   $as_echo_n "(cached) " >&6
   17298 else
   17299   lt_cv_prog_compiler_static_works_GCJ=no
   17300    save_LDFLAGS="$LDFLAGS"
   17301    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   17302    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   17303    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   17304      # The linker can only warn and ignore the option if not recognized
   17305      # So say no if there are warnings
   17306      if test -s conftest.err; then
   17307        # Append any errors to the config.log.
   17308        cat conftest.err 1>&5
   17309        $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
   17310        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   17311        if diff conftest.exp conftest.er2 >/dev/null; then
   17312          lt_cv_prog_compiler_static_works_GCJ=yes
   17313        fi
   17314      else
   17315        lt_cv_prog_compiler_static_works_GCJ=yes
   17316      fi
   17317    fi
   17318    $rm -r conftest*
   17319    LDFLAGS="$save_LDFLAGS"
   17320 
   17321 fi
   17322 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_GCJ" >&5
   17323 $as_echo "$lt_cv_prog_compiler_static_works_GCJ" >&6; }
   17324 
   17325 if test x"$lt_cv_prog_compiler_static_works_GCJ" = xyes; then
   17326     :
   17327 else
   17328     lt_prog_compiler_static_GCJ=
   17329 fi
   17330 
   17331 
   17332 { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
   17333 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   17334 if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
   17335   $as_echo_n "(cached) " >&6
   17336 else
   17337   lt_cv_prog_compiler_c_o_GCJ=no
   17338    $rm -r conftest 2>/dev/null
   17339    mkdir conftest
   17340    cd conftest
   17341    mkdir out
   17342    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   17343 
   17344    lt_compiler_flag="-o out/conftest2.$ac_objext"
   17345    # Insert the option either (1) after the last *FLAGS variable, or
   17346    # (2) before a word containing "conftest.", or (3) at the end.
   17347    # Note that $ac_compile itself does not contain backslashes and begins
   17348    # with a dollar sign (not a hyphen), so the echo should work correctly.
   17349    lt_compile=`echo "$ac_compile" | $SED \
   17350    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   17351    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   17352    -e 's:$: $lt_compiler_flag:'`
   17353    (eval echo "\"\$as_me:17353: $lt_compile\"" >&5)
   17354    (eval "$lt_compile" 2>out/conftest.err)
   17355    ac_status=$?
   17356    cat out/conftest.err >&5
   17357    echo "$as_me:17357: \$? = $ac_status" >&5
   17358    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   17359    then
   17360      # The compiler can only warn and ignore the option if not recognized
   17361      # So say no if there are warnings
   17362      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
   17363      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   17364      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   17365        lt_cv_prog_compiler_c_o_GCJ=yes
   17366      fi
   17367    fi
   17368    chmod u+w . 2>&5
   17369    $rm conftest*
   17370    # SGI C++ compiler will create directory out/ii_files/ for
   17371    # template instantiation
   17372    test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
   17373    $rm out/* && rmdir out
   17374    cd ..
   17375    rmdir conftest
   17376    $rm conftest*
   17377 
   17378 fi
   17379 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
   17380 $as_echo "$lt_cv_prog_compiler_c_o_GCJ" >&6; }
   17381 
   17382 
   17383 hard_links="nottested"
   17384 if test "$lt_cv_prog_compiler_c_o_GCJ" = no && test "$need_locks" != no; then
   17385   # do not overwrite the value of need_locks provided by the user
   17386   { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
   17387 $as_echo_n "checking if we can lock with hard links... " >&6; }
   17388   hard_links=yes
   17389   $rm conftest*
   17390   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   17391   touch conftest.a
   17392   ln conftest.a conftest.b 2>&5 || hard_links=no
   17393   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   17394   { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
   17395 $as_echo "$hard_links" >&6; }
   17396   if test "$hard_links" = no; then
   17397     { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   17398 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   17399     need_locks=warn
   17400   fi
   17401 else
   17402   need_locks=no
   17403 fi
   17404 
   17405 { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   17406 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   17407 
   17408   runpath_var=
   17409   allow_undefined_flag_GCJ=
   17410   enable_shared_with_static_runtimes_GCJ=no
   17411   archive_cmds_GCJ=
   17412   archive_expsym_cmds_GCJ=
   17413   old_archive_From_new_cmds_GCJ=
   17414   old_archive_from_expsyms_cmds_GCJ=
   17415   export_dynamic_flag_spec_GCJ=
   17416   whole_archive_flag_spec_GCJ=
   17417   thread_safe_flag_spec_GCJ=
   17418   hardcode_libdir_flag_spec_GCJ=
   17419   hardcode_libdir_flag_spec_ld_GCJ=
   17420   hardcode_libdir_separator_GCJ=
   17421   hardcode_direct_GCJ=no
   17422   hardcode_minus_L_GCJ=no
   17423   hardcode_shlibpath_var_GCJ=unsupported
   17424   link_all_deplibs_GCJ=unknown
   17425   hardcode_automatic_GCJ=no
   17426   module_cmds_GCJ=
   17427   module_expsym_cmds_GCJ=
   17428   always_export_symbols_GCJ=no
   17429   export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   17430   # include_expsyms should be a list of space-separated symbols to be *always*
   17431   # included in the symbol list
   17432   include_expsyms_GCJ=
   17433   # exclude_expsyms can be an extended regexp of symbols to exclude
   17434   # it will be wrapped by ` (' and `)$', so one must not match beginning or
   17435   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
   17436   # as well as any symbol that contains `d'.
   17437   exclude_expsyms_GCJ='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   17438   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   17439   # platforms (ab)use it in PIC code, but their linkers get confused if
   17440   # the symbol is explicitly referenced.  Since portable code cannot
   17441   # rely on this symbol name, it's probably fine to never include it in
   17442   # preloaded symbol tables.
   17443   # Exclude shared library initialization/finalization symbols.
   17444   extract_expsyms_cmds=
   17445   # Just being paranoid about ensuring that cc_basename is set.
   17446   for cc_temp in $compiler""; do
   17447   case $cc_temp in
   17448     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   17449     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   17450     \-*) ;;
   17451     *) break;;
   17452   esac
   17453 done
   17454 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   17455 
   17456   case $host_os in
   17457   cygwin* | mingw* | pw32*)
   17458     # FIXME: the MSVC++ port hasn't been tested in a loooong time
   17459     # When not using gcc, we currently assume that we are using
   17460     # Microsoft Visual C++.
   17461     if test "$GCC" != yes; then
   17462       with_gnu_ld=no
   17463     fi
   17464     ;;
   17465   interix*)
   17466     # we just hope/assume this is gcc and not c89 (= MSVC++)
   17467     with_gnu_ld=yes
   17468     ;;
   17469   openbsd*)
   17470     with_gnu_ld=no
   17471     ;;
   17472   esac
   17473 
   17474   ld_shlibs_GCJ=yes
   17475   if test "$with_gnu_ld" = yes; then
   17476     # If archive_cmds runs LD, not CC, wlarc should be empty
   17477     wlarc='${wl}'
   17478 
   17479     # Set some defaults for GNU ld with shared library support. These
   17480     # are reset later if shared libraries are not supported. Putting them
   17481     # here allows them to be overridden if necessary.
   17482     runpath_var=LD_RUN_PATH
   17483     hardcode_libdir_flag_spec_GCJ='${wl}--rpath ${wl}$libdir'
   17484     export_dynamic_flag_spec_GCJ='${wl}--export-dynamic'
   17485     # ancient GNU ld didn't support --whole-archive et. al.
   17486     if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
   17487 	whole_archive_flag_spec_GCJ="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   17488       else
   17489   	whole_archive_flag_spec_GCJ=
   17490     fi
   17491     supports_anon_versioning=no
   17492     case `$LD -v 2>/dev/null` in
   17493       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   17494       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   17495       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   17496       *\ 2.11.*) ;; # other 2.11 versions
   17497       *) supports_anon_versioning=yes ;;
   17498     esac
   17499 
   17500     # See if GNU ld supports shared libraries.
   17501     case $host_os in
   17502     aix[3-9]*)
   17503       # On AIX/PPC, the GNU linker is very broken
   17504       if test "$host_cpu" != ia64; then
   17505 	ld_shlibs_GCJ=no
   17506 	cat <<EOF 1>&2
   17507 
   17508 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
   17509 *** to be unable to reliably create shared libraries on AIX.
   17510 *** Therefore, libtool is disabling shared libraries support.  If you
   17511 *** really care for shared libraries, you may want to modify your PATH
   17512 *** so that a non-GNU linker is found, and then restart.
   17513 
   17514 EOF
   17515       fi
   17516       ;;
   17517 
   17518     amigaos*)
   17519       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)'
   17520       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   17521       hardcode_minus_L_GCJ=yes
   17522 
   17523       # Samuel A. Falvo II <kc5tja (at] dolphin.openprojects.net> reports
   17524       # that the semantics of dynamic libraries on AmigaOS, at least up
   17525       # to version 4, is to share data among multiple programs linked
   17526       # with the same dynamic library.  Since this doesn't match the
   17527       # behavior of shared libraries on other platforms, we can't use
   17528       # them.
   17529       ld_shlibs_GCJ=no
   17530       ;;
   17531 
   17532     beos*)
   17533       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   17534 	allow_undefined_flag_GCJ=unsupported
   17535 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   17536 	# support --undefined.  This deserves some investigation.  FIXME
   17537 	archive_cmds_GCJ='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   17538       else
   17539 	ld_shlibs_GCJ=no
   17540       fi
   17541       ;;
   17542 
   17543     cygwin* | mingw* | pw32*)
   17544       # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
   17545       # as there is no search path for DLLs.
   17546       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   17547       allow_undefined_flag_GCJ=unsupported
   17548       always_export_symbols_GCJ=no
   17549       enable_shared_with_static_runtimes_GCJ=yes
   17550       export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
   17551 
   17552       if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
   17553         archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   17554 	# If the export-symbols file already is a .def file (1st line
   17555 	# is EXPORTS), use it as is; otherwise, prepend...
   17556 	archive_expsym_cmds_GCJ='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   17557 	  cp $export_symbols $output_objdir/$soname.def;
   17558 	else
   17559 	  echo EXPORTS > $output_objdir/$soname.def;
   17560 	  cat $export_symbols >> $output_objdir/$soname.def;
   17561 	fi~
   17562 	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   17563       else
   17564 	ld_shlibs_GCJ=no
   17565       fi
   17566       ;;
   17567 
   17568     interix[3-9]*)
   17569       hardcode_direct_GCJ=no
   17570       hardcode_shlibpath_var_GCJ=no
   17571       hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
   17572       export_dynamic_flag_spec_GCJ='${wl}-E'
   17573       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   17574       # Instead, shared libraries are loaded at an image base (0x10000000 by
   17575       # default) and relocated if they conflict, which is a slow very memory
   17576       # consuming and fragmenting process.  To avoid this, we pick a random,
   17577       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   17578       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   17579       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'
   17580       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'
   17581       ;;
   17582 
   17583     gnu* | linux* | k*bsd*-gnu)
   17584       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   17585 	tmp_addflag=
   17586 	case $cc_basename,$host_cpu in
   17587 	pgcc*)				# Portland Group C compiler
   17588 	  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'
   17589 	  tmp_addflag=' $pic_flag'
   17590 	  ;;
   17591 	pgf77* | pgf90* | pgf95*)	# Portland Group f77 and f90 compilers
   17592 	  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'
   17593 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   17594 	ecc*,ia64* | icc*,ia64*)		# Intel C compiler on ia64
   17595 	  tmp_addflag=' -i_dynamic' ;;
   17596 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   17597 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   17598 	ifc* | ifort*)			# Intel Fortran compiler
   17599 	  tmp_addflag=' -nofor_main' ;;
   17600 	esac
   17601 	case `$CC -V 2>&1 | sed 5q` in
   17602 	*Sun\ C*)			# Sun C 5.9
   17603 	  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'
   17604 	  tmp_sharedflag='-G' ;;
   17605 	*Sun\ F*)			# Sun Fortran 8.3
   17606 	  tmp_sharedflag='-G' ;;
   17607 	*)
   17608 	  tmp_sharedflag='-shared' ;;
   17609 	esac
   17610 	archive_cmds_GCJ='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   17611 
   17612 	if test $supports_anon_versioning = yes; then
   17613 	  archive_expsym_cmds_GCJ='$echo "{ global:" > $output_objdir/$libname.ver~
   17614   cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   17615   $echo "local: *; };" >> $output_objdir/$libname.ver~
   17616 	  $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
   17617 	fi
   17618       else
   17619 	ld_shlibs_GCJ=no
   17620       fi
   17621       ;;
   17622 
   17623     netbsd*)
   17624       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   17625 	archive_cmds_GCJ='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   17626 	wlarc=
   17627       else
   17628 	archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   17629 	archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   17630       fi
   17631       ;;
   17632 
   17633     solaris*)
   17634       if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
   17635 	ld_shlibs_GCJ=no
   17636 	cat <<EOF 1>&2
   17637 
   17638 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   17639 *** create shared libraries on Solaris systems.  Therefore, libtool
   17640 *** is disabling shared libraries support.  We urge you to upgrade GNU
   17641 *** binutils to release 2.9.1 or newer.  Another option is to modify
   17642 *** your PATH or compiler configuration so that the native linker is
   17643 *** used, and then restart.
   17644 
   17645 EOF
   17646       elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   17647 	archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   17648 	archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   17649       else
   17650 	ld_shlibs_GCJ=no
   17651       fi
   17652       ;;
   17653 
   17654     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   17655       case `$LD -v 2>&1` in
   17656         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   17657 	ld_shlibs_GCJ=no
   17658 	cat <<_LT_EOF 1>&2
   17659 
   17660 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
   17661 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   17662 *** is disabling shared libraries support.  We urge you to upgrade GNU
   17663 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   17664 *** your PATH or compiler configuration so that the native linker is
   17665 *** used, and then restart.
   17666 
   17667 _LT_EOF
   17668 	;;
   17669 	*)
   17670 	  if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   17671 	    hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
   17672 	    archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
   17673 	    archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
   17674 	  else
   17675 	    ld_shlibs_GCJ=no
   17676 	  fi
   17677 	;;
   17678       esac
   17679       ;;
   17680 
   17681     sunos4*)
   17682       archive_cmds_GCJ='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   17683       wlarc=
   17684       hardcode_direct_GCJ=yes
   17685       hardcode_shlibpath_var_GCJ=no
   17686       ;;
   17687 
   17688     *)
   17689       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   17690 	archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   17691 	archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   17692       else
   17693 	ld_shlibs_GCJ=no
   17694       fi
   17695       ;;
   17696     esac
   17697 
   17698     if test "$ld_shlibs_GCJ" = no; then
   17699       runpath_var=
   17700       hardcode_libdir_flag_spec_GCJ=
   17701       export_dynamic_flag_spec_GCJ=
   17702       whole_archive_flag_spec_GCJ=
   17703     fi
   17704   else
   17705     # PORTME fill in a description of your system's linker (not GNU ld)
   17706     case $host_os in
   17707     aix3*)
   17708       allow_undefined_flag_GCJ=unsupported
   17709       always_export_symbols_GCJ=yes
   17710       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'
   17711       # Note: this linker hardcodes the directories in LIBPATH if there
   17712       # are no directories specified by -L.
   17713       hardcode_minus_L_GCJ=yes
   17714       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
   17715 	# Neither direct hardcoding nor static linking is supported with a
   17716 	# broken collect2.
   17717 	hardcode_direct_GCJ=unsupported
   17718       fi
   17719       ;;
   17720 
   17721     aix[4-9]*)
   17722       if test "$host_cpu" = ia64; then
   17723 	# On IA64, the linker does run time linking by default, so we don't
   17724 	# have to do anything special.
   17725 	aix_use_runtimelinking=no
   17726 	exp_sym_flag='-Bexport'
   17727 	no_entry_flag=""
   17728       else
   17729 	# If we're using GNU nm, then we don't want the "-C" option.
   17730 	# -C means demangle to AIX nm, but means don't demangle with GNU nm
   17731 	if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
   17732 	  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'
   17733 	else
   17734 	  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'
   17735 	fi
   17736 	aix_use_runtimelinking=no
   17737 
   17738 	# Test if we are trying to use run time linking or normal
   17739 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   17740 	# need to do runtime linking.
   17741 	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   17742 	  for ld_flag in $LDFLAGS; do
   17743   	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
   17744   	    aix_use_runtimelinking=yes
   17745   	    break
   17746   	  fi
   17747 	  done
   17748 	  ;;
   17749 	esac
   17750 
   17751 	exp_sym_flag='-bexport'
   17752 	no_entry_flag='-bnoentry'
   17753       fi
   17754 
   17755       # When large executables or shared objects are built, AIX ld can
   17756       # have problems creating the table of contents.  If linking a library
   17757       # or program results in "error TOC overflow" add -mminimal-toc to
   17758       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   17759       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   17760 
   17761       archive_cmds_GCJ=''
   17762       hardcode_direct_GCJ=yes
   17763       hardcode_libdir_separator_GCJ=':'
   17764       link_all_deplibs_GCJ=yes
   17765 
   17766       if test "$GCC" = yes; then
   17767 	case $host_os in aix4.[012]|aix4.[012].*)
   17768 	# We only want to do this on AIX 4.2 and lower, the check
   17769 	# below for broken collect2 doesn't work under 4.3+
   17770 	  collect2name=`${CC} -print-prog-name=collect2`
   17771 	  if test -f "$collect2name" && \
   17772   	   strings "$collect2name" | grep resolve_lib_name >/dev/null
   17773 	  then
   17774   	  # We have reworked collect2
   17775   	  :
   17776 	  else
   17777   	  # We have old collect2
   17778   	  hardcode_direct_GCJ=unsupported
   17779   	  # It fails to find uninstalled libraries when the uninstalled
   17780   	  # path is not listed in the libpath.  Setting hardcode_minus_L
   17781   	  # to unsupported forces relinking
   17782   	  hardcode_minus_L_GCJ=yes
   17783   	  hardcode_libdir_flag_spec_GCJ='-L$libdir'
   17784   	  hardcode_libdir_separator_GCJ=
   17785 	  fi
   17786 	  ;;
   17787 	esac
   17788 	shared_flag='-shared'
   17789 	if test "$aix_use_runtimelinking" = yes; then
   17790 	  shared_flag="$shared_flag "'${wl}-G'
   17791 	fi
   17792       else
   17793 	# not using gcc
   17794 	if test "$host_cpu" = ia64; then
   17795   	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   17796   	# chokes on -Wl,-G. The following line is correct:
   17797 	  shared_flag='-G'
   17798 	else
   17799 	  if test "$aix_use_runtimelinking" = yes; then
   17800 	    shared_flag='${wl}-G'
   17801 	  else
   17802 	    shared_flag='${wl}-bM:SRE'
   17803 	  fi
   17804 	fi
   17805       fi
   17806 
   17807       # It seems that -bexpall does not export symbols beginning with
   17808       # underscore (_), so it is better to generate a list of symbols to export.
   17809       always_export_symbols_GCJ=yes
   17810       if test "$aix_use_runtimelinking" = yes; then
   17811 	# Warning - without using the other runtime loading flags (-brtl),
   17812 	# -berok will link without error, but may produce a broken library.
   17813 	allow_undefined_flag_GCJ='-berok'
   17814        # Determine the default libpath from the value encoded in an empty executable.
   17815        cat >conftest.$ac_ext <<_ACEOF
   17816 /* confdefs.h.  */
   17817 _ACEOF
   17818 cat confdefs.h >>conftest.$ac_ext
   17819 cat >>conftest.$ac_ext <<_ACEOF
   17820 /* end confdefs.h.  */
   17821 
   17822 int
   17823 main ()
   17824 {
   17825 
   17826   ;
   17827   return 0;
   17828 }
   17829 _ACEOF
   17830 rm -f conftest.$ac_objext conftest$ac_exeext
   17831 if { (ac_try="$ac_link"
   17832 case "(($ac_try" in
   17833   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   17834   *) ac_try_echo=$ac_try;;
   17835 esac
   17836 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   17837 $as_echo "$ac_try_echo") >&5
   17838   (eval "$ac_link") 2>conftest.er1
   17839   ac_status=$?
   17840   grep -v '^ *+' conftest.er1 >conftest.err
   17841   rm -f conftest.er1
   17842   cat conftest.err >&5
   17843   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   17844   (exit $ac_status); } && {
   17845 	 test -z "$ac_c_werror_flag" ||
   17846 	 test ! -s conftest.err
   17847        } && test -s conftest$ac_exeext && {
   17848 	 test "$cross_compiling" = yes ||
   17849 	 $as_test_x conftest$ac_exeext
   17850        }; then
   17851 
   17852 lt_aix_libpath_sed='
   17853     /Import File Strings/,/^$/ {
   17854 	/^0/ {
   17855 	    s/^0  *\(.*\)$/\1/
   17856 	    p
   17857 	}
   17858     }'
   17859 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   17860 # Check for a 64-bit object if we didn't find anything.
   17861 if test -z "$aix_libpath"; then
   17862   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   17863 fi
   17864 else
   17865   $as_echo "$as_me: failed program was:" >&5
   17866 sed 's/^/| /' conftest.$ac_ext >&5
   17867 
   17868 
   17869 fi
   17870 
   17871 rm -rf conftest.dSYM
   17872 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   17873       conftest$ac_exeext conftest.$ac_ext
   17874 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   17875 
   17876        hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
   17877 	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"
   17878        else
   17879 	if test "$host_cpu" = ia64; then
   17880 	  hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib'
   17881 	  allow_undefined_flag_GCJ="-z nodefs"
   17882 	  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"
   17883 	else
   17884 	 # Determine the default libpath from the value encoded in an empty executable.
   17885 	 cat >conftest.$ac_ext <<_ACEOF
   17886 /* confdefs.h.  */
   17887 _ACEOF
   17888 cat confdefs.h >>conftest.$ac_ext
   17889 cat >>conftest.$ac_ext <<_ACEOF
   17890 /* end confdefs.h.  */
   17891 
   17892 int
   17893 main ()
   17894 {
   17895 
   17896   ;
   17897   return 0;
   17898 }
   17899 _ACEOF
   17900 rm -f conftest.$ac_objext conftest$ac_exeext
   17901 if { (ac_try="$ac_link"
   17902 case "(($ac_try" in
   17903   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   17904   *) ac_try_echo=$ac_try;;
   17905 esac
   17906 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   17907 $as_echo "$ac_try_echo") >&5
   17908   (eval "$ac_link") 2>conftest.er1
   17909   ac_status=$?
   17910   grep -v '^ *+' conftest.er1 >conftest.err
   17911   rm -f conftest.er1
   17912   cat conftest.err >&5
   17913   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   17914   (exit $ac_status); } && {
   17915 	 test -z "$ac_c_werror_flag" ||
   17916 	 test ! -s conftest.err
   17917        } && test -s conftest$ac_exeext && {
   17918 	 test "$cross_compiling" = yes ||
   17919 	 $as_test_x conftest$ac_exeext
   17920        }; then
   17921 
   17922 lt_aix_libpath_sed='
   17923     /Import File Strings/,/^$/ {
   17924 	/^0/ {
   17925 	    s/^0  *\(.*\)$/\1/
   17926 	    p
   17927 	}
   17928     }'
   17929 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   17930 # Check for a 64-bit object if we didn't find anything.
   17931 if test -z "$aix_libpath"; then
   17932   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   17933 fi
   17934 else
   17935   $as_echo "$as_me: failed program was:" >&5
   17936 sed 's/^/| /' conftest.$ac_ext >&5
   17937 
   17938 
   17939 fi
   17940 
   17941 rm -rf conftest.dSYM
   17942 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   17943       conftest$ac_exeext conftest.$ac_ext
   17944 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   17945 
   17946 	 hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
   17947 	  # Warning - without using the other run time loading flags,
   17948 	  # -berok will link without error, but may produce a broken library.
   17949 	  no_undefined_flag_GCJ=' ${wl}-bernotok'
   17950 	  allow_undefined_flag_GCJ=' ${wl}-berok'
   17951 	  # Exported symbols can be pulled into shared objects from archives
   17952 	  whole_archive_flag_spec_GCJ='$convenience'
   17953 	  archive_cmds_need_lc_GCJ=yes
   17954 	  # This is similar to how AIX traditionally builds its shared libraries.
   17955 	  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'
   17956 	fi
   17957       fi
   17958       ;;
   17959 
   17960     amigaos*)
   17961       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)'
   17962       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   17963       hardcode_minus_L_GCJ=yes
   17964       # see comment about different semantics on the GNU ld section
   17965       ld_shlibs_GCJ=no
   17966       ;;
   17967 
   17968     bsdi[45]*)
   17969       export_dynamic_flag_spec_GCJ=-rdynamic
   17970       ;;
   17971 
   17972     cygwin* | mingw* | pw32*)
   17973       # When not using gcc, we currently assume that we are using
   17974       # Microsoft Visual C++.
   17975       # hardcode_libdir_flag_spec is actually meaningless, as there is
   17976       # no search path for DLLs.
   17977       hardcode_libdir_flag_spec_GCJ=' '
   17978       allow_undefined_flag_GCJ=unsupported
   17979       # Tell ltmain to make .lib files, not .a files.
   17980       libext=lib
   17981       # Tell ltmain to make .dll files, not .so files.
   17982       shrext_cmds=".dll"
   17983       # FIXME: Setting linknames here is a bad hack.
   17984       archive_cmds_GCJ='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
   17985       # The linker will automatically build a .lib file if we build a DLL.
   17986       old_archive_From_new_cmds_GCJ='true'
   17987       # FIXME: Should let the user specify the lib program.
   17988       old_archive_cmds_GCJ='lib -OUT:$oldlib$oldobjs$old_deplibs'
   17989       fix_srcfile_path_GCJ='`cygpath -w "$srcfile"`'
   17990       enable_shared_with_static_runtimes_GCJ=yes
   17991       ;;
   17992 
   17993     darwin* | rhapsody*)
   17994       case $host_os in
   17995         rhapsody* | darwin1.[012])
   17996          allow_undefined_flag_GCJ='${wl}-undefined ${wl}suppress'
   17997          ;;
   17998        *) # Darwin 1.3 on
   17999          if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
   18000            allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   18001          else
   18002            case ${MACOSX_DEPLOYMENT_TARGET} in
   18003              10.[012])
   18004                allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   18005                ;;
   18006              10.*)
   18007                allow_undefined_flag_GCJ='${wl}-undefined ${wl}dynamic_lookup'
   18008                ;;
   18009            esac
   18010          fi
   18011          ;;
   18012       esac
   18013       archive_cmds_need_lc_GCJ=no
   18014       hardcode_direct_GCJ=no
   18015       hardcode_automatic_GCJ=yes
   18016       hardcode_shlibpath_var_GCJ=unsupported
   18017       whole_archive_flag_spec_GCJ=''
   18018       link_all_deplibs_GCJ=yes
   18019     if test "$GCC" = yes ; then
   18020     	output_verbose_link_cmd='echo'
   18021         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}"
   18022         module_cmds_GCJ="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
   18023         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}"
   18024         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}"
   18025     else
   18026       case $cc_basename in
   18027         xlc*)
   18028          output_verbose_link_cmd='echo'
   18029          archive_cmds_GCJ='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
   18030          module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
   18031           # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
   18032          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}'
   18033           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}'
   18034           ;;
   18035        *)
   18036          ld_shlibs_GCJ=no
   18037           ;;
   18038       esac
   18039     fi
   18040       ;;
   18041 
   18042     dgux*)
   18043       archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   18044       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   18045       hardcode_shlibpath_var_GCJ=no
   18046       ;;
   18047 
   18048     freebsd1*)
   18049       ld_shlibs_GCJ=no
   18050       ;;
   18051 
   18052     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   18053     # support.  Future versions do this automatically, but an explicit c++rt0.o
   18054     # does not break anything, and helps significantly (at the cost of a little
   18055     # extra space).
   18056     freebsd2.2*)
   18057       archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   18058       hardcode_libdir_flag_spec_GCJ='-R$libdir'
   18059       hardcode_direct_GCJ=yes
   18060       hardcode_shlibpath_var_GCJ=no
   18061       ;;
   18062 
   18063     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   18064     freebsd2*)
   18065       archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   18066       hardcode_direct_GCJ=yes
   18067       hardcode_minus_L_GCJ=yes
   18068       hardcode_shlibpath_var_GCJ=no
   18069       ;;
   18070 
   18071     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   18072     freebsd* | dragonfly*)
   18073       archive_cmds_GCJ='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
   18074       hardcode_libdir_flag_spec_GCJ='-R$libdir'
   18075       hardcode_direct_GCJ=yes
   18076       hardcode_shlibpath_var_GCJ=no
   18077       ;;
   18078 
   18079     hpux9*)
   18080       if test "$GCC" = yes; then
   18081 	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'
   18082       else
   18083 	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'
   18084       fi
   18085       hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
   18086       hardcode_libdir_separator_GCJ=:
   18087       hardcode_direct_GCJ=yes
   18088 
   18089       # hardcode_minus_L: Not really in the search PATH,
   18090       # but as the default location of the library.
   18091       hardcode_minus_L_GCJ=yes
   18092       export_dynamic_flag_spec_GCJ='${wl}-E'
   18093       ;;
   18094 
   18095     hpux10*)
   18096       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   18097 	archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   18098       else
   18099 	archive_cmds_GCJ='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   18100       fi
   18101       if test "$with_gnu_ld" = no; then
   18102 	hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
   18103 	hardcode_libdir_separator_GCJ=:
   18104 
   18105 	hardcode_direct_GCJ=yes
   18106 	export_dynamic_flag_spec_GCJ='${wl}-E'
   18107 
   18108 	# hardcode_minus_L: Not really in the search PATH,
   18109 	# but as the default location of the library.
   18110 	hardcode_minus_L_GCJ=yes
   18111       fi
   18112       ;;
   18113 
   18114     hpux11*)
   18115       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   18116 	case $host_cpu in
   18117 	hppa*64*)
   18118 	  archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   18119 	  ;;
   18120 	ia64*)
   18121 	  archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   18122 	  ;;
   18123 	*)
   18124 	  archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   18125 	  ;;
   18126 	esac
   18127       else
   18128 	case $host_cpu in
   18129 	hppa*64*)
   18130 	  archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   18131 	  ;;
   18132 	ia64*)
   18133 	  archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   18134 	  ;;
   18135 	*)
   18136 	  archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   18137 	  ;;
   18138 	esac
   18139       fi
   18140       if test "$with_gnu_ld" = no; then
   18141 	hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
   18142 	hardcode_libdir_separator_GCJ=:
   18143 
   18144 	case $host_cpu in
   18145 	hppa*64*|ia64*)
   18146 	  hardcode_libdir_flag_spec_ld_GCJ='+b $libdir'
   18147 	  hardcode_direct_GCJ=no
   18148 	  hardcode_shlibpath_var_GCJ=no
   18149 	  ;;
   18150 	*)
   18151 	  hardcode_direct_GCJ=yes
   18152 	  export_dynamic_flag_spec_GCJ='${wl}-E'
   18153 
   18154 	  # hardcode_minus_L: Not really in the search PATH,
   18155 	  # but as the default location of the library.
   18156 	  hardcode_minus_L_GCJ=yes
   18157 	  ;;
   18158 	esac
   18159       fi
   18160       ;;
   18161 
   18162     irix5* | irix6* | nonstopux*)
   18163       if test "$GCC" = yes; then
   18164 	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'
   18165       else
   18166 	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'
   18167 	hardcode_libdir_flag_spec_ld_GCJ='-rpath $libdir'
   18168       fi
   18169       hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
   18170       hardcode_libdir_separator_GCJ=:
   18171       link_all_deplibs_GCJ=yes
   18172       ;;
   18173 
   18174     netbsd*)
   18175       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   18176 	archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   18177       else
   18178 	archive_cmds_GCJ='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   18179       fi
   18180       hardcode_libdir_flag_spec_GCJ='-R$libdir'
   18181       hardcode_direct_GCJ=yes
   18182       hardcode_shlibpath_var_GCJ=no
   18183       ;;
   18184 
   18185     newsos6)
   18186       archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   18187       hardcode_direct_GCJ=yes
   18188       hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
   18189       hardcode_libdir_separator_GCJ=:
   18190       hardcode_shlibpath_var_GCJ=no
   18191       ;;
   18192 
   18193     openbsd*)
   18194       if test -f /usr/libexec/ld.so; then
   18195 	hardcode_direct_GCJ=yes
   18196 	hardcode_shlibpath_var_GCJ=no
   18197 	if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   18198 	  archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   18199 	  archive_expsym_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
   18200 	  hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
   18201 	  export_dynamic_flag_spec_GCJ='${wl}-E'
   18202 	else
   18203 	  case $host_os in
   18204 	   openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
   18205 	     archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   18206 	     hardcode_libdir_flag_spec_GCJ='-R$libdir'
   18207 	     ;;
   18208 	   *)
   18209 	     archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   18210 	     hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
   18211 	     ;;
   18212 	  esac
   18213         fi
   18214       else
   18215 	ld_shlibs_GCJ=no
   18216       fi
   18217       ;;
   18218 
   18219     os2*)
   18220       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   18221       hardcode_minus_L_GCJ=yes
   18222       allow_undefined_flag_GCJ=unsupported
   18223       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'
   18224       old_archive_From_new_cmds_GCJ='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
   18225       ;;
   18226 
   18227     osf3*)
   18228       if test "$GCC" = yes; then
   18229 	allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
   18230 	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'
   18231       else
   18232 	allow_undefined_flag_GCJ=' -expect_unresolved \*'
   18233 	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'
   18234       fi
   18235       hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
   18236       hardcode_libdir_separator_GCJ=:
   18237       ;;
   18238 
   18239     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   18240       if test "$GCC" = yes; then
   18241 	allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
   18242 	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'
   18243 	hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
   18244       else
   18245 	allow_undefined_flag_GCJ=' -expect_unresolved \*'
   18246 	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'
   18247 	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~
   18248 	$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'
   18249 
   18250 	# Both c and cxx compiler support -rpath directly
   18251 	hardcode_libdir_flag_spec_GCJ='-rpath $libdir'
   18252       fi
   18253       hardcode_libdir_separator_GCJ=:
   18254       ;;
   18255 
   18256     solaris*)
   18257       no_undefined_flag_GCJ=' -z text'
   18258       if test "$GCC" = yes; then
   18259 	wlarc='${wl}'
   18260 	archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   18261 	archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   18262 	  $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
   18263       else
   18264 	wlarc=''
   18265 	archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
   18266 	archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   18267   	$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
   18268       fi
   18269       hardcode_libdir_flag_spec_GCJ='-R$libdir'
   18270       hardcode_shlibpath_var_GCJ=no
   18271       case $host_os in
   18272       solaris2.[0-5] | solaris2.[0-5].*) ;;
   18273       *)
   18274 	# The compiler driver will combine and reorder linker options,
   18275 	# but understands `-z linker_flag'.  GCC discards it without `$wl',
   18276 	# but is careful enough not to reorder.
   18277  	# Supported since Solaris 2.6 (maybe 2.5.1?)
   18278 	if test "$GCC" = yes; then
   18279 	  whole_archive_flag_spec_GCJ='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
   18280 	else
   18281 	  whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract'
   18282 	fi
   18283 	;;
   18284       esac
   18285       link_all_deplibs_GCJ=yes
   18286       ;;
   18287 
   18288     sunos4*)
   18289       if test "x$host_vendor" = xsequent; then
   18290 	# Use $CC to link under sequent, because it throws in some extra .o
   18291 	# files that make .init and .fini sections work.
   18292 	archive_cmds_GCJ='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   18293       else
   18294 	archive_cmds_GCJ='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   18295       fi
   18296       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   18297       hardcode_direct_GCJ=yes
   18298       hardcode_minus_L_GCJ=yes
   18299       hardcode_shlibpath_var_GCJ=no
   18300       ;;
   18301 
   18302     sysv4)
   18303       case $host_vendor in
   18304 	sni)
   18305 	  archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   18306 	  hardcode_direct_GCJ=yes # is this really true???
   18307 	;;
   18308 	siemens)
   18309 	  ## LD is ld it makes a PLAMLIB
   18310 	  ## CC just makes a GrossModule.
   18311 	  archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   18312 	  reload_cmds_GCJ='$CC -r -o $output$reload_objs'
   18313 	  hardcode_direct_GCJ=no
   18314         ;;
   18315 	motorola)
   18316 	  archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   18317 	  hardcode_direct_GCJ=no #Motorola manual says yes, but my tests say they lie
   18318 	;;
   18319       esac
   18320       runpath_var='LD_RUN_PATH'
   18321       hardcode_shlibpath_var_GCJ=no
   18322       ;;
   18323 
   18324     sysv4.3*)
   18325       archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   18326       hardcode_shlibpath_var_GCJ=no
   18327       export_dynamic_flag_spec_GCJ='-Bexport'
   18328       ;;
   18329 
   18330     sysv4*MP*)
   18331       if test -d /usr/nec; then
   18332 	archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   18333 	hardcode_shlibpath_var_GCJ=no
   18334 	runpath_var=LD_RUN_PATH
   18335 	hardcode_runpath_var=yes
   18336 	ld_shlibs_GCJ=yes
   18337       fi
   18338       ;;
   18339 
   18340     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   18341       no_undefined_flag_GCJ='${wl}-z,text'
   18342       archive_cmds_need_lc_GCJ=no
   18343       hardcode_shlibpath_var_GCJ=no
   18344       runpath_var='LD_RUN_PATH'
   18345 
   18346       if test "$GCC" = yes; then
   18347 	archive_cmds_GCJ='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   18348 	archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   18349       else
   18350 	archive_cmds_GCJ='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   18351 	archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   18352       fi
   18353       ;;
   18354 
   18355     sysv5* | sco3.2v5* | sco5v6*)
   18356       # Note: We can NOT use -z defs as we might desire, because we do not
   18357       # link with -lc, and that would cause any symbols used from libc to
   18358       # always be unresolved, which means just about no library would
   18359       # ever link correctly.  If we're not using GNU ld we use -z text
   18360       # though, which does catch some bad symbols but isn't as heavy-handed
   18361       # as -z defs.
   18362       no_undefined_flag_GCJ='${wl}-z,text'
   18363       allow_undefined_flag_GCJ='${wl}-z,nodefs'
   18364       archive_cmds_need_lc_GCJ=no
   18365       hardcode_shlibpath_var_GCJ=no
   18366       hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
   18367       hardcode_libdir_separator_GCJ=':'
   18368       link_all_deplibs_GCJ=yes
   18369       export_dynamic_flag_spec_GCJ='${wl}-Bexport'
   18370       runpath_var='LD_RUN_PATH'
   18371 
   18372       if test "$GCC" = yes; then
   18373 	archive_cmds_GCJ='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   18374 	archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   18375       else
   18376 	archive_cmds_GCJ='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   18377 	archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   18378       fi
   18379       ;;
   18380 
   18381     uts4*)
   18382       archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   18383       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   18384       hardcode_shlibpath_var_GCJ=no
   18385       ;;
   18386 
   18387     *)
   18388       ld_shlibs_GCJ=no
   18389       ;;
   18390     esac
   18391   fi
   18392 
   18393 { $as_echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
   18394 $as_echo "$ld_shlibs_GCJ" >&6; }
   18395 test "$ld_shlibs_GCJ" = no && can_build_shared=no
   18396 
   18397 #
   18398 # Do we need to explicitly link libc?
   18399 #
   18400 case "x$archive_cmds_need_lc_GCJ" in
   18401 x|xyes)
   18402   # Assume -lc should be added
   18403   archive_cmds_need_lc_GCJ=yes
   18404 
   18405   if test "$enable_shared" = yes && test "$GCC" = yes; then
   18406     case $archive_cmds_GCJ in
   18407     *'~'*)
   18408       # FIXME: we may have to deal with multi-command sequences.
   18409       ;;
   18410     '$CC '*)
   18411       # Test whether the compiler implicitly links with -lc since on some
   18412       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   18413       # to ld, don't add -lc before -lgcc.
   18414       { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
   18415 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
   18416       $rm conftest*
   18417       echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   18418 
   18419       if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   18420   (eval $ac_compile) 2>&5
   18421   ac_status=$?
   18422   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   18423   (exit $ac_status); } 2>conftest.err; then
   18424         soname=conftest
   18425         lib=conftest
   18426         libobjs=conftest.$ac_objext
   18427         deplibs=
   18428         wl=$lt_prog_compiler_wl_GCJ
   18429 	pic_flag=$lt_prog_compiler_pic_GCJ
   18430         compiler_flags=-v
   18431         linker_flags=-v
   18432         verstring=
   18433         output_objdir=.
   18434         libname=conftest
   18435         lt_save_allow_undefined_flag=$allow_undefined_flag_GCJ
   18436         allow_undefined_flag_GCJ=
   18437         if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
   18438   (eval $archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
   18439   ac_status=$?
   18440   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   18441   (exit $ac_status); }
   18442         then
   18443 	  archive_cmds_need_lc_GCJ=no
   18444         else
   18445 	  archive_cmds_need_lc_GCJ=yes
   18446         fi
   18447         allow_undefined_flag_GCJ=$lt_save_allow_undefined_flag
   18448       else
   18449         cat conftest.err 1>&5
   18450       fi
   18451       $rm conftest*
   18452       { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
   18453 $as_echo "$archive_cmds_need_lc_GCJ" >&6; }
   18454       ;;
   18455     esac
   18456   fi
   18457   ;;
   18458 esac
   18459 
   18460 { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
   18461 $as_echo_n "checking dynamic linker characteristics... " >&6; }
   18462 library_names_spec=
   18463 libname_spec='lib$name'
   18464 soname_spec=
   18465 shrext_cmds=".so"
   18466 postinstall_cmds=
   18467 postuninstall_cmds=
   18468 finish_cmds=
   18469 finish_eval=
   18470 shlibpath_var=
   18471 shlibpath_overrides_runpath=unknown
   18472 version_type=none
   18473 dynamic_linker="$host_os ld.so"
   18474 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   18475 
   18476 need_lib_prefix=unknown
   18477 hardcode_into_libs=no
   18478 
   18479 # when you set need_version to no, make sure it does not cause -set_version
   18480 # flags to be left without arguments
   18481 need_version=unknown
   18482 
   18483 case $host_os in
   18484 aix3*)
   18485   version_type=linux
   18486   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   18487   shlibpath_var=LIBPATH
   18488 
   18489   # AIX 3 has no versioning support, so we append a major version to the name.
   18490   soname_spec='${libname}${release}${shared_ext}$major'
   18491   ;;
   18492 
   18493 aix[4-9]*)
   18494   version_type=linux
   18495   need_lib_prefix=no
   18496   need_version=no
   18497   hardcode_into_libs=yes
   18498   if test "$host_cpu" = ia64; then
   18499     # AIX 5 supports IA64
   18500     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
   18501     shlibpath_var=LD_LIBRARY_PATH
   18502   else
   18503     # With GCC up to 2.95.x, collect2 would create an import file
   18504     # for dependence libraries.  The import file would start with
   18505     # the line `#! .'.  This would cause the generated library to
   18506     # depend on `.', always an invalid library.  This was fixed in
   18507     # development snapshots of GCC prior to 3.0.
   18508     case $host_os in
   18509       aix4 | aix4.[01] | aix4.[01].*)
   18510       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   18511 	   echo ' yes '
   18512 	   echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
   18513 	:
   18514       else
   18515 	can_build_shared=no
   18516       fi
   18517       ;;
   18518     esac
   18519     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
   18520     # soname into executable. Probably we can add versioning support to
   18521     # collect2, so additional links can be useful in future.
   18522     if test "$aix_use_runtimelinking" = yes; then
   18523       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   18524       # instead of lib<name>.a to let people know that these are not
   18525       # typical AIX shared libraries.
   18526       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18527     else
   18528       # We preserve .a as extension for shared libraries through AIX4.2
   18529       # and later when we are not doing run time linking.
   18530       library_names_spec='${libname}${release}.a $libname.a'
   18531       soname_spec='${libname}${release}${shared_ext}$major'
   18532     fi
   18533     shlibpath_var=LIBPATH
   18534   fi
   18535   ;;
   18536 
   18537 amigaos*)
   18538   library_names_spec='$libname.ixlibrary $libname.a'
   18539   # Create ${libname}_ixlibrary.a entries in /sys/libs.
   18540   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'
   18541   ;;
   18542 
   18543 beos*)
   18544   library_names_spec='${libname}${shared_ext}'
   18545   dynamic_linker="$host_os ld.so"
   18546   shlibpath_var=LIBRARY_PATH
   18547   ;;
   18548 
   18549 bsdi[45]*)
   18550   version_type=linux
   18551   need_version=no
   18552   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18553   soname_spec='${libname}${release}${shared_ext}$major'
   18554   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   18555   shlibpath_var=LD_LIBRARY_PATH
   18556   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   18557   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   18558   # the default ld.so.conf also contains /usr/contrib/lib and
   18559   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   18560   # libtool to hard-code these into programs
   18561   ;;
   18562 
   18563 cygwin* | mingw* | pw32*)
   18564   version_type=windows
   18565   shrext_cmds=".dll"
   18566   need_version=no
   18567   need_lib_prefix=no
   18568 
   18569   case $GCC,$host_os in
   18570   yes,cygwin* | yes,mingw* | yes,pw32*)
   18571     library_names_spec='$libname.dll.a'
   18572     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   18573     postinstall_cmds='base_file=`basename \${file}`~
   18574       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
   18575       dldir=$destdir/`dirname \$dlpath`~
   18576       test -d \$dldir || mkdir -p \$dldir~
   18577       $install_prog $dir/$dlname \$dldir/$dlname~
   18578       chmod a+x \$dldir/$dlname'
   18579     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   18580       dlpath=$dir/\$dldll~
   18581        $rm \$dlpath'
   18582     shlibpath_overrides_runpath=yes
   18583 
   18584     case $host_os in
   18585     cygwin*)
   18586       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   18587       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   18588       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
   18589       ;;
   18590     mingw*)
   18591       # MinGW DLLs use traditional 'lib' prefix
   18592       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   18593       sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   18594       if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
   18595         # It is most probably a Windows format PATH printed by
   18596         # mingw gcc, but we are running on Cygwin. Gcc prints its search
   18597         # path with ; separators, and with drive letters. We can handle the
   18598         # drive letters (cygwin fileutils understands them), so leave them,
   18599         # especially as we might pass files found there to a mingw objdump,
   18600         # which wouldn't understand a cygwinified path. Ahh.
   18601         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   18602       else
   18603         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   18604       fi
   18605       ;;
   18606     pw32*)
   18607       # pw32 DLLs use 'pw' prefix rather than 'lib'
   18608       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   18609       ;;
   18610     esac
   18611     ;;
   18612 
   18613   *)
   18614     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
   18615     ;;
   18616   esac
   18617   dynamic_linker='Win32 ld.exe'
   18618   # FIXME: first we should search . and the directory the executable is in
   18619   shlibpath_var=PATH
   18620   ;;
   18621 
   18622 darwin* | rhapsody*)
   18623   dynamic_linker="$host_os dyld"
   18624   version_type=darwin
   18625   need_lib_prefix=no
   18626   need_version=no
   18627   library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
   18628   soname_spec='${libname}${release}${major}$shared_ext'
   18629   shlibpath_overrides_runpath=yes
   18630   shlibpath_var=DYLD_LIBRARY_PATH
   18631   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   18632 
   18633   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   18634   ;;
   18635 
   18636 dgux*)
   18637   version_type=linux
   18638   need_lib_prefix=no
   18639   need_version=no
   18640   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
   18641   soname_spec='${libname}${release}${shared_ext}$major'
   18642   shlibpath_var=LD_LIBRARY_PATH
   18643   ;;
   18644 
   18645 freebsd1*)
   18646   dynamic_linker=no
   18647   ;;
   18648 
   18649 freebsd* | dragonfly*)
   18650   # DragonFly does not have aout.  When/if they implement a new
   18651   # versioning mechanism, adjust this.
   18652   if test -x /usr/bin/objformat; then
   18653     objformat=`/usr/bin/objformat`
   18654   else
   18655     case $host_os in
   18656     freebsd[123]*) objformat=aout ;;
   18657     *) objformat=elf ;;
   18658     esac
   18659   fi
   18660   version_type=freebsd-$objformat
   18661   case $version_type in
   18662     freebsd-elf*)
   18663       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   18664       need_version=no
   18665       need_lib_prefix=no
   18666       ;;
   18667     freebsd-*)
   18668       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
   18669       need_version=yes
   18670       ;;
   18671   esac
   18672   shlibpath_var=LD_LIBRARY_PATH
   18673   case $host_os in
   18674   freebsd2*)
   18675     shlibpath_overrides_runpath=yes
   18676     ;;
   18677   freebsd3.[01]* | freebsdelf3.[01]*)
   18678     shlibpath_overrides_runpath=yes
   18679     hardcode_into_libs=yes
   18680     ;;
   18681   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   18682   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   18683     shlibpath_overrides_runpath=no
   18684     hardcode_into_libs=yes
   18685     ;;
   18686   *) # from 4.6 on, and DragonFly
   18687     shlibpath_overrides_runpath=yes
   18688     hardcode_into_libs=yes
   18689     ;;
   18690   esac
   18691   ;;
   18692 
   18693 gnu*)
   18694   version_type=linux
   18695   need_lib_prefix=no
   18696   need_version=no
   18697   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   18698   soname_spec='${libname}${release}${shared_ext}$major'
   18699   shlibpath_var=LD_LIBRARY_PATH
   18700   hardcode_into_libs=yes
   18701   ;;
   18702 
   18703 hpux9* | hpux10* | hpux11*)
   18704   # Give a soname corresponding to the major version so that dld.sl refuses to
   18705   # link against other versions.
   18706   version_type=sunos
   18707   need_lib_prefix=no
   18708   need_version=no
   18709   case $host_cpu in
   18710   ia64*)
   18711     shrext_cmds='.so'
   18712     hardcode_into_libs=yes
   18713     dynamic_linker="$host_os dld.so"
   18714     shlibpath_var=LD_LIBRARY_PATH
   18715     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   18716     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18717     soname_spec='${libname}${release}${shared_ext}$major'
   18718     if test "X$HPUX_IA64_MODE" = X32; then
   18719       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   18720     else
   18721       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   18722     fi
   18723     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   18724     ;;
   18725    hppa*64*)
   18726      shrext_cmds='.sl'
   18727      hardcode_into_libs=yes
   18728      dynamic_linker="$host_os dld.sl"
   18729      shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   18730      shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   18731      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18732      soname_spec='${libname}${release}${shared_ext}$major'
   18733      sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   18734      sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   18735      ;;
   18736    *)
   18737     shrext_cmds='.sl'
   18738     dynamic_linker="$host_os dld.sl"
   18739     shlibpath_var=SHLIB_PATH
   18740     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   18741     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18742     soname_spec='${libname}${release}${shared_ext}$major'
   18743     ;;
   18744   esac
   18745   # HP-UX runs *really* slowly unless shared libraries are mode 555.
   18746   postinstall_cmds='chmod 555 $lib'
   18747   ;;
   18748 
   18749 interix[3-9]*)
   18750   version_type=linux
   18751   need_lib_prefix=no
   18752   need_version=no
   18753   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   18754   soname_spec='${libname}${release}${shared_ext}$major'
   18755   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   18756   shlibpath_var=LD_LIBRARY_PATH
   18757   shlibpath_overrides_runpath=no
   18758   hardcode_into_libs=yes
   18759   ;;
   18760 
   18761 irix5* | irix6* | nonstopux*)
   18762   case $host_os in
   18763     nonstopux*) version_type=nonstopux ;;
   18764     *)
   18765 	if test "$lt_cv_prog_gnu_ld" = yes; then
   18766 		version_type=linux
   18767 	else
   18768 		version_type=irix
   18769 	fi ;;
   18770   esac
   18771   need_lib_prefix=no
   18772   need_version=no
   18773   soname_spec='${libname}${release}${shared_ext}$major'
   18774   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
   18775   case $host_os in
   18776   irix5* | nonstopux*)
   18777     libsuff= shlibsuff=
   18778     ;;
   18779   *)
   18780     case $LD in # libtool.m4 will add one of these switches to LD
   18781     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   18782       libsuff= shlibsuff= libmagic=32-bit;;
   18783     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   18784       libsuff=32 shlibsuff=N32 libmagic=N32;;
   18785     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   18786       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   18787     *) libsuff= shlibsuff= libmagic=never-match;;
   18788     esac
   18789     ;;
   18790   esac
   18791   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   18792   shlibpath_overrides_runpath=no
   18793   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   18794   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   18795   hardcode_into_libs=yes
   18796   ;;
   18797 
   18798 # No shared lib support for Linux oldld, aout, or coff.
   18799 linux*oldld* | linux*aout* | linux*coff*)
   18800   dynamic_linker=no
   18801   ;;
   18802 
   18803 # This must be Linux ELF.
   18804 linux* | k*bsd*-gnu)
   18805   version_type=linux
   18806   need_lib_prefix=no
   18807   need_version=no
   18808   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18809   soname_spec='${libname}${release}${shared_ext}$major'
   18810   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   18811   shlibpath_var=LD_LIBRARY_PATH
   18812   shlibpath_overrides_runpath=no
   18813   # This implies no fast_install, which is unacceptable.
   18814   # Some rework will be needed to allow for fast_install
   18815   # before this can be enabled.
   18816   hardcode_into_libs=yes
   18817 
   18818   # Append ld.so.conf contents to the search path
   18819   if test -f /etc/ld.so.conf; then
   18820     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' ' '`
   18821     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   18822   fi
   18823 
   18824   # We used to test for /lib/ld.so.1 and disable shared libraries on
   18825   # powerpc, because MkLinux only supported shared libraries with the
   18826   # GNU dynamic linker.  Since this was broken with cross compilers,
   18827   # most powerpc-linux boxes support dynamic linking these days and
   18828   # people can always --disable-shared, the test was removed, and we
   18829   # assume the GNU/Linux dynamic linker is in use.
   18830   dynamic_linker='GNU/Linux ld.so'
   18831   ;;
   18832 
   18833 netbsd*)
   18834   version_type=sunos
   18835   need_lib_prefix=no
   18836   need_version=no
   18837   if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   18838     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   18839     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   18840     dynamic_linker='NetBSD (a.out) ld.so'
   18841   else
   18842     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   18843     soname_spec='${libname}${release}${shared_ext}$major'
   18844     dynamic_linker='NetBSD ld.elf_so'
   18845   fi
   18846   shlibpath_var=LD_LIBRARY_PATH
   18847   shlibpath_overrides_runpath=yes
   18848   hardcode_into_libs=yes
   18849   ;;
   18850 
   18851 newsos6)
   18852   version_type=linux
   18853   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18854   shlibpath_var=LD_LIBRARY_PATH
   18855   shlibpath_overrides_runpath=yes
   18856   ;;
   18857 
   18858 nto-qnx*)
   18859   version_type=linux
   18860   need_lib_prefix=no
   18861   need_version=no
   18862   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18863   soname_spec='${libname}${release}${shared_ext}$major'
   18864   shlibpath_var=LD_LIBRARY_PATH
   18865   shlibpath_overrides_runpath=yes
   18866   ;;
   18867 
   18868 openbsd*)
   18869   version_type=sunos
   18870   sys_lib_dlsearch_path_spec="/usr/lib"
   18871   need_lib_prefix=no
   18872   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
   18873   case $host_os in
   18874     openbsd3.3 | openbsd3.3.*) need_version=yes ;;
   18875     *)                         need_version=no  ;;
   18876   esac
   18877   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   18878   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   18879   shlibpath_var=LD_LIBRARY_PATH
   18880   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   18881     case $host_os in
   18882       openbsd2.[89] | openbsd2.[89].*)
   18883 	shlibpath_overrides_runpath=no
   18884 	;;
   18885       *)
   18886 	shlibpath_overrides_runpath=yes
   18887 	;;
   18888       esac
   18889   else
   18890     shlibpath_overrides_runpath=yes
   18891   fi
   18892   ;;
   18893 
   18894 os2*)
   18895   libname_spec='$name'
   18896   shrext_cmds=".dll"
   18897   need_lib_prefix=no
   18898   library_names_spec='$libname${shared_ext} $libname.a'
   18899   dynamic_linker='OS/2 ld.exe'
   18900   shlibpath_var=LIBPATH
   18901   ;;
   18902 
   18903 osf3* | osf4* | osf5*)
   18904   version_type=osf
   18905   need_lib_prefix=no
   18906   need_version=no
   18907   soname_spec='${libname}${release}${shared_ext}$major'
   18908   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18909   shlibpath_var=LD_LIBRARY_PATH
   18910   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   18911   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   18912   ;;
   18913 
   18914 rdos*)
   18915   dynamic_linker=no
   18916   ;;
   18917 
   18918 solaris*)
   18919   version_type=linux
   18920   need_lib_prefix=no
   18921   need_version=no
   18922   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18923   soname_spec='${libname}${release}${shared_ext}$major'
   18924   shlibpath_var=LD_LIBRARY_PATH
   18925   shlibpath_overrides_runpath=yes
   18926   hardcode_into_libs=yes
   18927   # ldd complains unless libraries are executable
   18928   postinstall_cmds='chmod +x $lib'
   18929   ;;
   18930 
   18931 sunos4*)
   18932   version_type=sunos
   18933   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   18934   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   18935   shlibpath_var=LD_LIBRARY_PATH
   18936   shlibpath_overrides_runpath=yes
   18937   if test "$with_gnu_ld" = yes; then
   18938     need_lib_prefix=no
   18939   fi
   18940   need_version=yes
   18941   ;;
   18942 
   18943 sysv4 | sysv4.3*)
   18944   version_type=linux
   18945   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18946   soname_spec='${libname}${release}${shared_ext}$major'
   18947   shlibpath_var=LD_LIBRARY_PATH
   18948   case $host_vendor in
   18949     sni)
   18950       shlibpath_overrides_runpath=no
   18951       need_lib_prefix=no
   18952       export_dynamic_flag_spec='${wl}-Blargedynsym'
   18953       runpath_var=LD_RUN_PATH
   18954       ;;
   18955     siemens)
   18956       need_lib_prefix=no
   18957       ;;
   18958     motorola)
   18959       need_lib_prefix=no
   18960       need_version=no
   18961       shlibpath_overrides_runpath=no
   18962       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   18963       ;;
   18964   esac
   18965   ;;
   18966 
   18967 sysv4*MP*)
   18968   if test -d /usr/nec ;then
   18969     version_type=linux
   18970     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
   18971     soname_spec='$libname${shared_ext}.$major'
   18972     shlibpath_var=LD_LIBRARY_PATH
   18973   fi
   18974   ;;
   18975 
   18976 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   18977   version_type=freebsd-elf
   18978   need_lib_prefix=no
   18979   need_version=no
   18980   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   18981   soname_spec='${libname}${release}${shared_ext}$major'
   18982   shlibpath_var=LD_LIBRARY_PATH
   18983   hardcode_into_libs=yes
   18984   if test "$with_gnu_ld" = yes; then
   18985     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   18986     shlibpath_overrides_runpath=no
   18987   else
   18988     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   18989     shlibpath_overrides_runpath=yes
   18990     case $host_os in
   18991       sco3.2v5*)
   18992         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   18993 	;;
   18994     esac
   18995   fi
   18996   sys_lib_dlsearch_path_spec='/usr/lib'
   18997   ;;
   18998 
   18999 uts4*)
   19000   version_type=linux
   19001   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   19002   soname_spec='${libname}${release}${shared_ext}$major'
   19003   shlibpath_var=LD_LIBRARY_PATH
   19004   ;;
   19005 
   19006 *)
   19007   dynamic_linker=no
   19008   ;;
   19009 esac
   19010 { $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
   19011 $as_echo "$dynamic_linker" >&6; }
   19012 test "$dynamic_linker" = no && can_build_shared=no
   19013 
   19014 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
   19015   $as_echo_n "(cached) " >&6
   19016 else
   19017   lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
   19018 fi
   19019 
   19020 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
   19021 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
   19022   $as_echo_n "(cached) " >&6
   19023 else
   19024   lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
   19025 fi
   19026 
   19027 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
   19028 
   19029 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   19030 if test "$GCC" = yes; then
   19031   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   19032 fi
   19033 
   19034 { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
   19035 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
   19036 hardcode_action_GCJ=
   19037 if test -n "$hardcode_libdir_flag_spec_GCJ" || \
   19038    test -n "$runpath_var_GCJ" || \
   19039    test "X$hardcode_automatic_GCJ" = "Xyes" ; then
   19040 
   19041   # We can hardcode non-existant directories.
   19042   if test "$hardcode_direct_GCJ" != no &&
   19043      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   19044      # have to relink, otherwise we might link with an installed library
   19045      # when we should be linking with a yet-to-be-installed one
   19046      ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
   19047      test "$hardcode_minus_L_GCJ" != no; then
   19048     # Linking always hardcodes the temporary library directory.
   19049     hardcode_action_GCJ=relink
   19050   else
   19051     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   19052     hardcode_action_GCJ=immediate
   19053   fi
   19054 else
   19055   # We cannot hardcode anything, or else we can only hardcode existing
   19056   # directories.
   19057   hardcode_action_GCJ=unsupported
   19058 fi
   19059 { $as_echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
   19060 $as_echo "$hardcode_action_GCJ" >&6; }
   19061 
   19062 if test "$hardcode_action_GCJ" = relink; then
   19063   # Fast installation is not supported
   19064   enable_fast_install=no
   19065 elif test "$shlibpath_overrides_runpath" = yes ||
   19066      test "$enable_shared" = no; then
   19067   # Fast installation is not necessary
   19068   enable_fast_install=needless
   19069 fi
   19070 
   19071 
   19072 # The else clause should only fire when bootstrapping the
   19073 # libtool distribution, otherwise you forgot to ship ltmain.sh
   19074 # with your package, and you will get complaints that there are
   19075 # no rules to generate ltmain.sh.
   19076 if test -f "$ltmain"; then
   19077   # See if we are running on zsh, and set the options which allow our commands through
   19078   # without removal of \ escapes.
   19079   if test -n "${ZSH_VERSION+set}" ; then
   19080     setopt NO_GLOB_SUBST
   19081   fi
   19082   # Now quote all the things that may contain metacharacters while being
   19083   # careful not to overquote the AC_SUBSTed values.  We take copies of the
   19084   # variables and quote the copies for generation of the libtool script.
   19085   for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
   19086     SED SHELL STRIP \
   19087     libname_spec library_names_spec soname_spec extract_expsyms_cmds \
   19088     old_striplib striplib file_magic_cmd finish_cmds finish_eval \
   19089     deplibs_check_method reload_flag reload_cmds need_locks \
   19090     lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
   19091     lt_cv_sys_global_symbol_to_c_name_address \
   19092     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
   19093     old_postinstall_cmds old_postuninstall_cmds \
   19094     compiler_GCJ \
   19095     CC_GCJ \
   19096     LD_GCJ \
   19097     lt_prog_compiler_wl_GCJ \
   19098     lt_prog_compiler_pic_GCJ \
   19099     lt_prog_compiler_static_GCJ \
   19100     lt_prog_compiler_no_builtin_flag_GCJ \
   19101     export_dynamic_flag_spec_GCJ \
   19102     thread_safe_flag_spec_GCJ \
   19103     whole_archive_flag_spec_GCJ \
   19104     enable_shared_with_static_runtimes_GCJ \
   19105     old_archive_cmds_GCJ \
   19106     old_archive_from_new_cmds_GCJ \
   19107     predep_objects_GCJ \
   19108     postdep_objects_GCJ \
   19109     predeps_GCJ \
   19110     postdeps_GCJ \
   19111     compiler_lib_search_path_GCJ \
   19112     compiler_lib_search_dirs_GCJ \
   19113     archive_cmds_GCJ \
   19114     archive_expsym_cmds_GCJ \
   19115     postinstall_cmds_GCJ \
   19116     postuninstall_cmds_GCJ \
   19117     old_archive_from_expsyms_cmds_GCJ \
   19118     allow_undefined_flag_GCJ \
   19119     no_undefined_flag_GCJ \
   19120     export_symbols_cmds_GCJ \
   19121     hardcode_libdir_flag_spec_GCJ \
   19122     hardcode_libdir_flag_spec_ld_GCJ \
   19123     hardcode_libdir_separator_GCJ \
   19124     hardcode_automatic_GCJ \
   19125     module_cmds_GCJ \
   19126     module_expsym_cmds_GCJ \
   19127     lt_cv_prog_compiler_c_o_GCJ \
   19128     fix_srcfile_path_GCJ \
   19129     exclude_expsyms_GCJ \
   19130     include_expsyms_GCJ; do
   19131 
   19132     case $var in
   19133     old_archive_cmds_GCJ | \
   19134     old_archive_from_new_cmds_GCJ | \
   19135     archive_cmds_GCJ | \
   19136     archive_expsym_cmds_GCJ | \
   19137     module_cmds_GCJ | \
   19138     module_expsym_cmds_GCJ | \
   19139     old_archive_from_expsyms_cmds_GCJ | \
   19140     export_symbols_cmds_GCJ | \
   19141     extract_expsyms_cmds | reload_cmds | finish_cmds | \
   19142     postinstall_cmds | postuninstall_cmds | \
   19143     old_postinstall_cmds | old_postuninstall_cmds | \
   19144     sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
   19145       # Double-quote double-evaled strings.
   19146       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
   19147       ;;
   19148     *)
   19149       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
   19150       ;;
   19151     esac
   19152   done
   19153 
   19154   case $lt_echo in
   19155   *'\$0 --fallback-echo"')
   19156     lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
   19157     ;;
   19158   esac
   19159 
   19160 cfgfile="$ofile"
   19161 
   19162   cat <<__EOF__ >> "$cfgfile"
   19163 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
   19164 
   19165 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   19166 
   19167 # Shell to use when invoking shell scripts.
   19168 SHELL=$lt_SHELL
   19169 
   19170 # Whether or not to build shared libraries.
   19171 build_libtool_libs=$enable_shared
   19172 
   19173 # Whether or not to build static libraries.
   19174 build_old_libs=$enable_static
   19175 
   19176 # Whether or not to add -lc for building shared libraries.
   19177 build_libtool_need_lc=$archive_cmds_need_lc_GCJ
   19178 
   19179 # Whether or not to disallow shared libs when runtime libs are static
   19180 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
   19181 
   19182 # Whether or not to optimize for fast installation.
   19183 fast_install=$enable_fast_install
   19184 
   19185 # The host system.
   19186 host_alias=$host_alias
   19187 host=$host
   19188 host_os=$host_os
   19189 
   19190 # The build system.
   19191 build_alias=$build_alias
   19192 build=$build
   19193 build_os=$build_os
   19194 
   19195 # An echo program that does not interpret backslashes.
   19196 echo=$lt_echo
   19197 
   19198 # The archiver.
   19199 AR=$lt_AR
   19200 AR_FLAGS=$lt_AR_FLAGS
   19201 
   19202 # A C compiler.
   19203 LTCC=$lt_LTCC
   19204 
   19205 # LTCC compiler flags.
   19206 LTCFLAGS=$lt_LTCFLAGS
   19207 
   19208 # A language-specific compiler.
   19209 CC=$lt_compiler_GCJ
   19210 
   19211 # Is the compiler the GNU C compiler?
   19212 with_gcc=$GCC_GCJ
   19213 
   19214 # An ERE matcher.
   19215 EGREP=$lt_EGREP
   19216 
   19217 # The linker used to build libraries.
   19218 LD=$lt_LD_GCJ
   19219 
   19220 # Whether we need hard or soft links.
   19221 LN_S=$lt_LN_S
   19222 
   19223 # A BSD-compatible nm program.
   19224 NM=$lt_NM
   19225 
   19226 # A symbol stripping program
   19227 STRIP=$lt_STRIP
   19228 
   19229 # Used to examine libraries when file_magic_cmd begins "file"
   19230 MAGIC_CMD=$MAGIC_CMD
   19231 
   19232 # Used on cygwin: DLL creation program.
   19233 DLLTOOL="$DLLTOOL"
   19234 
   19235 # Used on cygwin: object dumper.
   19236 OBJDUMP="$OBJDUMP"
   19237 
   19238 # Used on cygwin: assembler.
   19239 AS="$AS"
   19240 
   19241 # The name of the directory that contains temporary libtool files.
   19242 objdir=$objdir
   19243 
   19244 # How to create reloadable object files.
   19245 reload_flag=$lt_reload_flag
   19246 reload_cmds=$lt_reload_cmds
   19247 
   19248 # How to pass a linker flag through the compiler.
   19249 wl=$lt_lt_prog_compiler_wl_GCJ
   19250 
   19251 # Object file suffix (normally "o").
   19252 objext="$ac_objext"
   19253 
   19254 # Old archive suffix (normally "a").
   19255 libext="$libext"
   19256 
   19257 # Shared library suffix (normally ".so").
   19258 shrext_cmds='$shrext_cmds'
   19259 
   19260 # Executable file suffix (normally "").
   19261 exeext="$exeext"
   19262 
   19263 # Additional compiler flags for building library objects.
   19264 pic_flag=$lt_lt_prog_compiler_pic_GCJ
   19265 pic_mode=$pic_mode
   19266 
   19267 # What is the maximum length of a command?
   19268 max_cmd_len=$lt_cv_sys_max_cmd_len
   19269 
   19270 # Does compiler simultaneously support -c and -o options?
   19271 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
   19272 
   19273 # Must we lock files when doing compilation?
   19274 need_locks=$lt_need_locks
   19275 
   19276 # Do we need the lib prefix for modules?
   19277 need_lib_prefix=$need_lib_prefix
   19278 
   19279 # Do we need a version for libraries?
   19280 need_version=$need_version
   19281 
   19282 # Whether dlopen is supported.
   19283 dlopen_support=$enable_dlopen
   19284 
   19285 # Whether dlopen of programs is supported.
   19286 dlopen_self=$enable_dlopen_self
   19287 
   19288 # Whether dlopen of statically linked programs is supported.
   19289 dlopen_self_static=$enable_dlopen_self_static
   19290 
   19291 # Compiler flag to prevent dynamic linking.
   19292 link_static_flag=$lt_lt_prog_compiler_static_GCJ
   19293 
   19294 # Compiler flag to turn off builtin functions.
   19295 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
   19296 
   19297 # Compiler flag to allow reflexive dlopens.
   19298 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
   19299 
   19300 # Compiler flag to generate shared objects directly from archives.
   19301 whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
   19302 
   19303 # Compiler flag to generate thread-safe objects.
   19304 thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
   19305 
   19306 # Library versioning type.
   19307 version_type=$version_type
   19308 
   19309 # Format of library name prefix.
   19310 libname_spec=$lt_libname_spec
   19311 
   19312 # List of archive names.  First name is the real one, the rest are links.
   19313 # The last name is the one that the linker finds with -lNAME.
   19314 library_names_spec=$lt_library_names_spec
   19315 
   19316 # The coded name of the library, if different from the real name.
   19317 soname_spec=$lt_soname_spec
   19318 
   19319 # Commands used to build and install an old-style archive.
   19320 RANLIB=$lt_RANLIB
   19321 old_archive_cmds=$lt_old_archive_cmds_GCJ
   19322 old_postinstall_cmds=$lt_old_postinstall_cmds
   19323 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   19324 
   19325 # Create an old-style archive from a shared archive.
   19326 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
   19327 
   19328 # Create a temporary old-style archive to link instead of a shared archive.
   19329 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
   19330 
   19331 # Commands used to build and install a shared archive.
   19332 archive_cmds=$lt_archive_cmds_GCJ
   19333 archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
   19334 postinstall_cmds=$lt_postinstall_cmds
   19335 postuninstall_cmds=$lt_postuninstall_cmds
   19336 
   19337 # Commands used to build a loadable module (assumed same as above if empty)
   19338 module_cmds=$lt_module_cmds_GCJ
   19339 module_expsym_cmds=$lt_module_expsym_cmds_GCJ
   19340 
   19341 # Commands to strip libraries.
   19342 old_striplib=$lt_old_striplib
   19343 striplib=$lt_striplib
   19344 
   19345 # Dependencies to place before the objects being linked to create a
   19346 # shared library.
   19347 predep_objects=$lt_predep_objects_GCJ
   19348 
   19349 # Dependencies to place after the objects being linked to create a
   19350 # shared library.
   19351 postdep_objects=$lt_postdep_objects_GCJ
   19352 
   19353 # Dependencies to place before the objects being linked to create a
   19354 # shared library.
   19355 predeps=$lt_predeps_GCJ
   19356 
   19357 # Dependencies to place after the objects being linked to create a
   19358 # shared library.
   19359 postdeps=$lt_postdeps_GCJ
   19360 
   19361 # The directories searched by this compiler when creating a shared
   19362 # library
   19363 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_GCJ
   19364 
   19365 # The library search path used internally by the compiler when linking
   19366 # a shared library.
   19367 compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
   19368 
   19369 # Method to check whether dependent libraries are shared objects.
   19370 deplibs_check_method=$lt_deplibs_check_method
   19371 
   19372 # Command to use when deplibs_check_method == file_magic.
   19373 file_magic_cmd=$lt_file_magic_cmd
   19374 
   19375 # Flag that allows shared libraries with undefined symbols to be built.
   19376 allow_undefined_flag=$lt_allow_undefined_flag_GCJ
   19377 
   19378 # Flag that forces no undefined symbols.
   19379 no_undefined_flag=$lt_no_undefined_flag_GCJ
   19380 
   19381 # Commands used to finish a libtool library installation in a directory.
   19382 finish_cmds=$lt_finish_cmds
   19383 
   19384 # Same as above, but a single script fragment to be evaled but not shown.
   19385 finish_eval=$lt_finish_eval
   19386 
   19387 # Take the output of nm and produce a listing of raw symbols and C names.
   19388 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   19389 
   19390 # Transform the output of nm in a proper C declaration
   19391 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   19392 
   19393 # Transform the output of nm in a C name address pair
   19394 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   19395 
   19396 # This is the shared library runtime path variable.
   19397 runpath_var=$runpath_var
   19398 
   19399 # This is the shared library path variable.
   19400 shlibpath_var=$shlibpath_var
   19401 
   19402 # Is shlibpath searched before the hard-coded library search path?
   19403 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   19404 
   19405 # How to hardcode a shared library path into an executable.
   19406 hardcode_action=$hardcode_action_GCJ
   19407 
   19408 # Whether we should hardcode library paths into libraries.
   19409 hardcode_into_libs=$hardcode_into_libs
   19410 
   19411 # Flag to hardcode \$libdir into a binary during linking.
   19412 # This must work even if \$libdir does not exist.
   19413 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
   19414 
   19415 # If ld is used when linking, flag to hardcode \$libdir into
   19416 # a binary during linking. This must work even if \$libdir does
   19417 # not exist.
   19418 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
   19419 
   19420 # Whether we need a single -rpath flag with a separated argument.
   19421 hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
   19422 
   19423 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
   19424 # resulting binary.
   19425 hardcode_direct=$hardcode_direct_GCJ
   19426 
   19427 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
   19428 # resulting binary.
   19429 hardcode_minus_L=$hardcode_minus_L_GCJ
   19430 
   19431 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
   19432 # the resulting binary.
   19433 hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
   19434 
   19435 # Set to yes if building a shared library automatically hardcodes DIR into the library
   19436 # and all subsequent libraries and executables linked against it.
   19437 hardcode_automatic=$hardcode_automatic_GCJ
   19438 
   19439 # Variables whose values should be saved in libtool wrapper scripts and
   19440 # restored at relink time.
   19441 variables_saved_for_relink="$variables_saved_for_relink"
   19442 
   19443 # Whether libtool must link a program against all its dependency libraries.
   19444 link_all_deplibs=$link_all_deplibs_GCJ
   19445 
   19446 # Compile-time system search path for libraries
   19447 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   19448 
   19449 # Run-time system search path for libraries
   19450 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   19451 
   19452 # Fix the shell variable \$srcfile for the compiler.
   19453 fix_srcfile_path=$lt_fix_srcfile_path
   19454 
   19455 # Set to yes if exported symbols are required.
   19456 always_export_symbols=$always_export_symbols_GCJ
   19457 
   19458 # The commands to list exported symbols.
   19459 export_symbols_cmds=$lt_export_symbols_cmds_GCJ
   19460 
   19461 # The commands to extract the exported symbol list from a shared archive.
   19462 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   19463 
   19464 # Symbols that should not be listed in the preloaded symbols.
   19465 exclude_expsyms=$lt_exclude_expsyms_GCJ
   19466 
   19467 # Symbols that must always be exported.
   19468 include_expsyms=$lt_include_expsyms_GCJ
   19469 
   19470 # ### END LIBTOOL TAG CONFIG: $tagname
   19471 
   19472 __EOF__
   19473 
   19474 
   19475 else
   19476   # If there is no Makefile yet, we rely on a make rule to execute
   19477   # `config.status --recheck' to rerun these tests and create the
   19478   # libtool script then.
   19479   ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
   19480   if test -f "$ltmain_in"; then
   19481     test -f Makefile && make "$ltmain"
   19482   fi
   19483 fi
   19484 
   19485 
   19486 ac_ext=c
   19487 ac_cpp='$CPP $CPPFLAGS'
   19488 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   19489 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   19490 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   19491 
   19492 CC="$lt_save_CC"
   19493 
   19494 	else
   19495 	  tagname=""
   19496 	fi
   19497 	;;
   19498 
   19499       RC)
   19500 
   19501 
   19502 # Source file extension for RC test sources.
   19503 ac_ext=rc
   19504 
   19505 # Object file extension for compiled RC test sources.
   19506 objext=o
   19507 objext_RC=$objext
   19508 
   19509 # Code to be used in simple compile tests
   19510 lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }'
   19511 
   19512 # Code to be used in simple link tests
   19513 lt_simple_link_test_code="$lt_simple_compile_test_code"
   19514 
   19515 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
   19516 
   19517 # If no C compiler was specified, use CC.
   19518 LTCC=${LTCC-"$CC"}
   19519 
   19520 # If no C compiler flags were specified, use CFLAGS.
   19521 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   19522 
   19523 # Allow CC to be a program name with arguments.
   19524 compiler=$CC
   19525 
   19526 
   19527 # save warnings/boilerplate of simple test code
   19528 ac_outfile=conftest.$ac_objext
   19529 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   19530 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   19531 _lt_compiler_boilerplate=`cat conftest.err`
   19532 $rm conftest*
   19533 
   19534 ac_outfile=conftest.$ac_objext
   19535 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   19536 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   19537 _lt_linker_boilerplate=`cat conftest.err`
   19538 $rm -r conftest*
   19539 
   19540 
   19541 # Allow CC to be a program name with arguments.
   19542 lt_save_CC="$CC"
   19543 CC=${RC-"windres"}
   19544 compiler=$CC
   19545 compiler_RC=$CC
   19546 for cc_temp in $compiler""; do
   19547   case $cc_temp in
   19548     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   19549     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   19550     \-*) ;;
   19551     *) break;;
   19552   esac
   19553 done
   19554 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   19555 
   19556 lt_cv_prog_compiler_c_o_RC=yes
   19557 
   19558 # The else clause should only fire when bootstrapping the
   19559 # libtool distribution, otherwise you forgot to ship ltmain.sh
   19560 # with your package, and you will get complaints that there are
   19561 # no rules to generate ltmain.sh.
   19562 if test -f "$ltmain"; then
   19563   # See if we are running on zsh, and set the options which allow our commands through
   19564   # without removal of \ escapes.
   19565   if test -n "${ZSH_VERSION+set}" ; then
   19566     setopt NO_GLOB_SUBST
   19567   fi
   19568   # Now quote all the things that may contain metacharacters while being
   19569   # careful not to overquote the AC_SUBSTed values.  We take copies of the
   19570   # variables and quote the copies for generation of the libtool script.
   19571   for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
   19572     SED SHELL STRIP \
   19573     libname_spec library_names_spec soname_spec extract_expsyms_cmds \
   19574     old_striplib striplib file_magic_cmd finish_cmds finish_eval \
   19575     deplibs_check_method reload_flag reload_cmds need_locks \
   19576     lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
   19577     lt_cv_sys_global_symbol_to_c_name_address \
   19578     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
   19579     old_postinstall_cmds old_postuninstall_cmds \
   19580     compiler_RC \
   19581     CC_RC \
   19582     LD_RC \
   19583     lt_prog_compiler_wl_RC \
   19584     lt_prog_compiler_pic_RC \
   19585     lt_prog_compiler_static_RC \
   19586     lt_prog_compiler_no_builtin_flag_RC \
   19587     export_dynamic_flag_spec_RC \
   19588     thread_safe_flag_spec_RC \
   19589     whole_archive_flag_spec_RC \
   19590     enable_shared_with_static_runtimes_RC \
   19591     old_archive_cmds_RC \
   19592     old_archive_from_new_cmds_RC \
   19593     predep_objects_RC \
   19594     postdep_objects_RC \
   19595     predeps_RC \
   19596     postdeps_RC \
   19597     compiler_lib_search_path_RC \
   19598     compiler_lib_search_dirs_RC \
   19599     archive_cmds_RC \
   19600     archive_expsym_cmds_RC \
   19601     postinstall_cmds_RC \
   19602     postuninstall_cmds_RC \
   19603     old_archive_from_expsyms_cmds_RC \
   19604     allow_undefined_flag_RC \
   19605     no_undefined_flag_RC \
   19606     export_symbols_cmds_RC \
   19607     hardcode_libdir_flag_spec_RC \
   19608     hardcode_libdir_flag_spec_ld_RC \
   19609     hardcode_libdir_separator_RC \
   19610     hardcode_automatic_RC \
   19611     module_cmds_RC \
   19612     module_expsym_cmds_RC \
   19613     lt_cv_prog_compiler_c_o_RC \
   19614     fix_srcfile_path_RC \
   19615     exclude_expsyms_RC \
   19616     include_expsyms_RC; do
   19617 
   19618     case $var in
   19619     old_archive_cmds_RC | \
   19620     old_archive_from_new_cmds_RC | \
   19621     archive_cmds_RC | \
   19622     archive_expsym_cmds_RC | \
   19623     module_cmds_RC | \
   19624     module_expsym_cmds_RC | \
   19625     old_archive_from_expsyms_cmds_RC | \
   19626     export_symbols_cmds_RC | \
   19627     extract_expsyms_cmds | reload_cmds | finish_cmds | \
   19628     postinstall_cmds | postuninstall_cmds | \
   19629     old_postinstall_cmds | old_postuninstall_cmds | \
   19630     sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
   19631       # Double-quote double-evaled strings.
   19632       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
   19633       ;;
   19634     *)
   19635       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
   19636       ;;
   19637     esac
   19638   done
   19639 
   19640   case $lt_echo in
   19641   *'\$0 --fallback-echo"')
   19642     lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
   19643     ;;
   19644   esac
   19645 
   19646 cfgfile="$ofile"
   19647 
   19648   cat <<__EOF__ >> "$cfgfile"
   19649 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
   19650 
   19651 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   19652 
   19653 # Shell to use when invoking shell scripts.
   19654 SHELL=$lt_SHELL
   19655 
   19656 # Whether or not to build shared libraries.
   19657 build_libtool_libs=$enable_shared
   19658 
   19659 # Whether or not to build static libraries.
   19660 build_old_libs=$enable_static
   19661 
   19662 # Whether or not to add -lc for building shared libraries.
   19663 build_libtool_need_lc=$archive_cmds_need_lc_RC
   19664 
   19665 # Whether or not to disallow shared libs when runtime libs are static
   19666 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
   19667 
   19668 # Whether or not to optimize for fast installation.
   19669 fast_install=$enable_fast_install
   19670 
   19671 # The host system.
   19672 host_alias=$host_alias
   19673 host=$host
   19674 host_os=$host_os
   19675 
   19676 # The build system.
   19677 build_alias=$build_alias
   19678 build=$build
   19679 build_os=$build_os
   19680 
   19681 # An echo program that does not interpret backslashes.
   19682 echo=$lt_echo
   19683 
   19684 # The archiver.
   19685 AR=$lt_AR
   19686 AR_FLAGS=$lt_AR_FLAGS
   19687 
   19688 # A C compiler.
   19689 LTCC=$lt_LTCC
   19690 
   19691 # LTCC compiler flags.
   19692 LTCFLAGS=$lt_LTCFLAGS
   19693 
   19694 # A language-specific compiler.
   19695 CC=$lt_compiler_RC
   19696 
   19697 # Is the compiler the GNU C compiler?
   19698 with_gcc=$GCC_RC
   19699 
   19700 # An ERE matcher.
   19701 EGREP=$lt_EGREP
   19702 
   19703 # The linker used to build libraries.
   19704 LD=$lt_LD_RC
   19705 
   19706 # Whether we need hard or soft links.
   19707 LN_S=$lt_LN_S
   19708 
   19709 # A BSD-compatible nm program.
   19710 NM=$lt_NM
   19711 
   19712 # A symbol stripping program
   19713 STRIP=$lt_STRIP
   19714 
   19715 # Used to examine libraries when file_magic_cmd begins "file"
   19716 MAGIC_CMD=$MAGIC_CMD
   19717 
   19718 # Used on cygwin: DLL creation program.
   19719 DLLTOOL="$DLLTOOL"
   19720 
   19721 # Used on cygwin: object dumper.
   19722 OBJDUMP="$OBJDUMP"
   19723 
   19724 # Used on cygwin: assembler.
   19725 AS="$AS"
   19726 
   19727 # The name of the directory that contains temporary libtool files.
   19728 objdir=$objdir
   19729 
   19730 # How to create reloadable object files.
   19731 reload_flag=$lt_reload_flag
   19732 reload_cmds=$lt_reload_cmds
   19733 
   19734 # How to pass a linker flag through the compiler.
   19735 wl=$lt_lt_prog_compiler_wl_RC
   19736 
   19737 # Object file suffix (normally "o").
   19738 objext="$ac_objext"
   19739 
   19740 # Old archive suffix (normally "a").
   19741 libext="$libext"
   19742 
   19743 # Shared library suffix (normally ".so").
   19744 shrext_cmds='$shrext_cmds'
   19745 
   19746 # Executable file suffix (normally "").
   19747 exeext="$exeext"
   19748 
   19749 # Additional compiler flags for building library objects.
   19750 pic_flag=$lt_lt_prog_compiler_pic_RC
   19751 pic_mode=$pic_mode
   19752 
   19753 # What is the maximum length of a command?
   19754 max_cmd_len=$lt_cv_sys_max_cmd_len
   19755 
   19756 # Does compiler simultaneously support -c and -o options?
   19757 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
   19758 
   19759 # Must we lock files when doing compilation?
   19760 need_locks=$lt_need_locks
   19761 
   19762 # Do we need the lib prefix for modules?
   19763 need_lib_prefix=$need_lib_prefix
   19764 
   19765 # Do we need a version for libraries?
   19766 need_version=$need_version
   19767 
   19768 # Whether dlopen is supported.
   19769 dlopen_support=$enable_dlopen
   19770 
   19771 # Whether dlopen of programs is supported.
   19772 dlopen_self=$enable_dlopen_self
   19773 
   19774 # Whether dlopen of statically linked programs is supported.
   19775 dlopen_self_static=$enable_dlopen_self_static
   19776 
   19777 # Compiler flag to prevent dynamic linking.
   19778 link_static_flag=$lt_lt_prog_compiler_static_RC
   19779 
   19780 # Compiler flag to turn off builtin functions.
   19781 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
   19782 
   19783 # Compiler flag to allow reflexive dlopens.
   19784 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
   19785 
   19786 # Compiler flag to generate shared objects directly from archives.
   19787 whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
   19788 
   19789 # Compiler flag to generate thread-safe objects.
   19790 thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
   19791 
   19792 # Library versioning type.
   19793 version_type=$version_type
   19794 
   19795 # Format of library name prefix.
   19796 libname_spec=$lt_libname_spec
   19797 
   19798 # List of archive names.  First name is the real one, the rest are links.
   19799 # The last name is the one that the linker finds with -lNAME.
   19800 library_names_spec=$lt_library_names_spec
   19801 
   19802 # The coded name of the library, if different from the real name.
   19803 soname_spec=$lt_soname_spec
   19804 
   19805 # Commands used to build and install an old-style archive.
   19806 RANLIB=$lt_RANLIB
   19807 old_archive_cmds=$lt_old_archive_cmds_RC
   19808 old_postinstall_cmds=$lt_old_postinstall_cmds
   19809 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   19810 
   19811 # Create an old-style archive from a shared archive.
   19812 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
   19813 
   19814 # Create a temporary old-style archive to link instead of a shared archive.
   19815 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
   19816 
   19817 # Commands used to build and install a shared archive.
   19818 archive_cmds=$lt_archive_cmds_RC
   19819 archive_expsym_cmds=$lt_archive_expsym_cmds_RC
   19820 postinstall_cmds=$lt_postinstall_cmds
   19821 postuninstall_cmds=$lt_postuninstall_cmds
   19822 
   19823 # Commands used to build a loadable module (assumed same as above if empty)
   19824 module_cmds=$lt_module_cmds_RC
   19825 module_expsym_cmds=$lt_module_expsym_cmds_RC
   19826 
   19827 # Commands to strip libraries.
   19828 old_striplib=$lt_old_striplib
   19829 striplib=$lt_striplib
   19830 
   19831 # Dependencies to place before the objects being linked to create a
   19832 # shared library.
   19833 predep_objects=$lt_predep_objects_RC
   19834 
   19835 # Dependencies to place after the objects being linked to create a
   19836 # shared library.
   19837 postdep_objects=$lt_postdep_objects_RC
   19838 
   19839 # Dependencies to place before the objects being linked to create a
   19840 # shared library.
   19841 predeps=$lt_predeps_RC
   19842 
   19843 # Dependencies to place after the objects being linked to create a
   19844 # shared library.
   19845 postdeps=$lt_postdeps_RC
   19846 
   19847 # The directories searched by this compiler when creating a shared
   19848 # library
   19849 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_RC
   19850 
   19851 # The library search path used internally by the compiler when linking
   19852 # a shared library.
   19853 compiler_lib_search_path=$lt_compiler_lib_search_path_RC
   19854 
   19855 # Method to check whether dependent libraries are shared objects.
   19856 deplibs_check_method=$lt_deplibs_check_method
   19857 
   19858 # Command to use when deplibs_check_method == file_magic.
   19859 file_magic_cmd=$lt_file_magic_cmd
   19860 
   19861 # Flag that allows shared libraries with undefined symbols to be built.
   19862 allow_undefined_flag=$lt_allow_undefined_flag_RC
   19863 
   19864 # Flag that forces no undefined symbols.
   19865 no_undefined_flag=$lt_no_undefined_flag_RC
   19866 
   19867 # Commands used to finish a libtool library installation in a directory.
   19868 finish_cmds=$lt_finish_cmds
   19869 
   19870 # Same as above, but a single script fragment to be evaled but not shown.
   19871 finish_eval=$lt_finish_eval
   19872 
   19873 # Take the output of nm and produce a listing of raw symbols and C names.
   19874 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   19875 
   19876 # Transform the output of nm in a proper C declaration
   19877 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   19878 
   19879 # Transform the output of nm in a C name address pair
   19880 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   19881 
   19882 # This is the shared library runtime path variable.
   19883 runpath_var=$runpath_var
   19884 
   19885 # This is the shared library path variable.
   19886 shlibpath_var=$shlibpath_var
   19887 
   19888 # Is shlibpath searched before the hard-coded library search path?
   19889 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   19890 
   19891 # How to hardcode a shared library path into an executable.
   19892 hardcode_action=$hardcode_action_RC
   19893 
   19894 # Whether we should hardcode library paths into libraries.
   19895 hardcode_into_libs=$hardcode_into_libs
   19896 
   19897 # Flag to hardcode \$libdir into a binary during linking.
   19898 # This must work even if \$libdir does not exist.
   19899 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
   19900 
   19901 # If ld is used when linking, flag to hardcode \$libdir into
   19902 # a binary during linking. This must work even if \$libdir does
   19903 # not exist.
   19904 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
   19905 
   19906 # Whether we need a single -rpath flag with a separated argument.
   19907 hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
   19908 
   19909 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
   19910 # resulting binary.
   19911 hardcode_direct=$hardcode_direct_RC
   19912 
   19913 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
   19914 # resulting binary.
   19915 hardcode_minus_L=$hardcode_minus_L_RC
   19916 
   19917 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
   19918 # the resulting binary.
   19919 hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
   19920 
   19921 # Set to yes if building a shared library automatically hardcodes DIR into the library
   19922 # and all subsequent libraries and executables linked against it.
   19923 hardcode_automatic=$hardcode_automatic_RC
   19924 
   19925 # Variables whose values should be saved in libtool wrapper scripts and
   19926 # restored at relink time.
   19927 variables_saved_for_relink="$variables_saved_for_relink"
   19928 
   19929 # Whether libtool must link a program against all its dependency libraries.
   19930 link_all_deplibs=$link_all_deplibs_RC
   19931 
   19932 # Compile-time system search path for libraries
   19933 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   19934 
   19935 # Run-time system search path for libraries
   19936 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   19937 
   19938 # Fix the shell variable \$srcfile for the compiler.
   19939 fix_srcfile_path=$lt_fix_srcfile_path
   19940 
   19941 # Set to yes if exported symbols are required.
   19942 always_export_symbols=$always_export_symbols_RC
   19943 
   19944 # The commands to list exported symbols.
   19945 export_symbols_cmds=$lt_export_symbols_cmds_RC
   19946 
   19947 # The commands to extract the exported symbol list from a shared archive.
   19948 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   19949 
   19950 # Symbols that should not be listed in the preloaded symbols.
   19951 exclude_expsyms=$lt_exclude_expsyms_RC
   19952 
   19953 # Symbols that must always be exported.
   19954 include_expsyms=$lt_include_expsyms_RC
   19955 
   19956 # ### END LIBTOOL TAG CONFIG: $tagname
   19957 
   19958 __EOF__
   19959 
   19960 
   19961 else
   19962   # If there is no Makefile yet, we rely on a make rule to execute
   19963   # `config.status --recheck' to rerun these tests and create the
   19964   # libtool script then.
   19965   ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
   19966   if test -f "$ltmain_in"; then
   19967     test -f Makefile && make "$ltmain"
   19968   fi
   19969 fi
   19970 
   19971 
   19972 ac_ext=c
   19973 ac_cpp='$CPP $CPPFLAGS'
   19974 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   19975 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   19976 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   19977 
   19978 CC="$lt_save_CC"
   19979 
   19980 	;;
   19981 
   19982       *)
   19983 	{ { $as_echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
   19984 $as_echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
   19985    { (exit 1); exit 1; }; }
   19986 	;;
   19987       esac
   19988 
   19989       # Append the new tag name to the list of available tags.
   19990       if test -n "$tagname" ; then
   19991       available_tags="$available_tags $tagname"
   19992     fi
   19993     fi
   19994   done
   19995   IFS="$lt_save_ifs"
   19996 
   19997   # Now substitute the updated list of available tags.
   19998   if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
   19999     mv "${ofile}T" "$ofile"
   20000     chmod +x "$ofile"
   20001   else
   20002     rm -f "${ofile}T"
   20003     { { $as_echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
   20004 $as_echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
   20005    { (exit 1); exit 1; }; }
   20006   fi
   20007 fi
   20008 
   20009 
   20010 
   20011 # This can be used to rebuild libtool when needed
   20012 LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
   20013 
   20014 # Always use our own libtool.
   20015 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
   20016 
   20017 # Prevent multiple expansion
   20018 
   20019 
   20020 
   20021 
   20022 
   20023 
   20024 
   20025 
   20026 
   20027 
   20028 
   20029 
   20030 
   20031 
   20032 
   20033 
   20034 
   20035 
   20036 
   20037 
   20038    { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C99" >&5
   20039 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
   20040 if test "${ac_cv_prog_cc_c99+set}" = set; then
   20041   $as_echo_n "(cached) " >&6
   20042 else
   20043   ac_cv_prog_cc_c99=no
   20044 ac_save_CC=$CC
   20045 cat >conftest.$ac_ext <<_ACEOF
   20046 /* confdefs.h.  */
   20047 _ACEOF
   20048 cat confdefs.h >>conftest.$ac_ext
   20049 cat >>conftest.$ac_ext <<_ACEOF
   20050 /* end confdefs.h.  */
   20051 #include <stdarg.h>
   20052 #include <stdbool.h>
   20053 #include <stdlib.h>
   20054 #include <wchar.h>
   20055 #include <stdio.h>
   20056 
   20057 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
   20058 #define debug(...) fprintf (stderr, __VA_ARGS__)
   20059 #define showlist(...) puts (#__VA_ARGS__)
   20060 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
   20061 static void
   20062 test_varargs_macros (void)
   20063 {
   20064   int x = 1234;
   20065   int y = 5678;
   20066   debug ("Flag");
   20067   debug ("X = %d\n", x);
   20068   showlist (The first, second, and third items.);
   20069   report (x>y, "x is %d but y is %d", x, y);
   20070 }
   20071 
   20072 // Check long long types.
   20073 #define BIG64 18446744073709551615ull
   20074 #define BIG32 4294967295ul
   20075 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
   20076 #if !BIG_OK
   20077   your preprocessor is broken;
   20078 #endif
   20079 #if BIG_OK
   20080 #else
   20081   your preprocessor is broken;
   20082 #endif
   20083 static long long int bignum = -9223372036854775807LL;
   20084 static unsigned long long int ubignum = BIG64;
   20085 
   20086 struct incomplete_array
   20087 {
   20088   int datasize;
   20089   double data[];
   20090 };
   20091 
   20092 struct named_init {
   20093   int number;
   20094   const wchar_t *name;
   20095   double average;
   20096 };
   20097 
   20098 typedef const char *ccp;
   20099 
   20100 static inline int
   20101 test_restrict (ccp restrict text)
   20102 {
   20103   // See if C++-style comments work.
   20104   // Iterate through items via the restricted pointer.
   20105   // Also check for declarations in for loops.
   20106   for (unsigned int i = 0; *(text+i) != '\0'; ++i)
   20107     continue;
   20108   return 0;
   20109 }
   20110 
   20111 // Check varargs and va_copy.
   20112 static void
   20113 test_varargs (const char *format, ...)
   20114 {
   20115   va_list args;
   20116   va_start (args, format);
   20117   va_list args_copy;
   20118   va_copy (args_copy, args);
   20119 
   20120   const char *str;
   20121   int number;
   20122   float fnumber;
   20123 
   20124   while (*format)
   20125     {
   20126       switch (*format++)
   20127 	{
   20128 	case 's': // string
   20129 	  str = va_arg (args_copy, const char *);
   20130 	  break;
   20131 	case 'd': // int
   20132 	  number = va_arg (args_copy, int);
   20133 	  break;
   20134 	case 'f': // float
   20135 	  fnumber = va_arg (args_copy, double);
   20136 	  break;
   20137 	default:
   20138 	  break;
   20139 	}
   20140     }
   20141   va_end (args_copy);
   20142   va_end (args);
   20143 }
   20144 
   20145 int
   20146 main ()
   20147 {
   20148 
   20149   // Check bool.
   20150   _Bool success = false;
   20151 
   20152   // Check restrict.
   20153   if (test_restrict ("String literal") == 0)
   20154     success = true;
   20155   char *restrict newvar = "Another string";
   20156 
   20157   // Check varargs.
   20158   test_varargs ("s, d' f .", "string", 65, 34.234);
   20159   test_varargs_macros ();
   20160 
   20161   // Check flexible array members.
   20162   struct incomplete_array *ia =
   20163     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
   20164   ia->datasize = 10;
   20165   for (int i = 0; i < ia->datasize; ++i)
   20166     ia->data[i] = i * 1.234;
   20167 
   20168   // Check named initializers.
   20169   struct named_init ni = {
   20170     .number = 34,
   20171     .name = L"Test wide string",
   20172     .average = 543.34343,
   20173   };
   20174 
   20175   ni.number = 58;
   20176 
   20177   int dynamic_array[ni.number];
   20178   dynamic_array[ni.number - 1] = 543;
   20179 
   20180   // work around unused variable warnings
   20181   return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
   20182 	  || dynamic_array[ni.number - 1] != 543);
   20183 
   20184   ;
   20185   return 0;
   20186 }
   20187 _ACEOF
   20188 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99
   20189 do
   20190   CC="$ac_save_CC $ac_arg"
   20191   rm -f conftest.$ac_objext
   20192 if { (ac_try="$ac_compile"
   20193 case "(($ac_try" in
   20194   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20195   *) ac_try_echo=$ac_try;;
   20196 esac
   20197 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   20198 $as_echo "$ac_try_echo") >&5
   20199   (eval "$ac_compile") 2>conftest.er1
   20200   ac_status=$?
   20201   grep -v '^ *+' conftest.er1 >conftest.err
   20202   rm -f conftest.er1
   20203   cat conftest.err >&5
   20204   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20205   (exit $ac_status); } && {
   20206 	 test -z "$ac_c_werror_flag" ||
   20207 	 test ! -s conftest.err
   20208        } && test -s conftest.$ac_objext; then
   20209   ac_cv_prog_cc_c99=$ac_arg
   20210 else
   20211   $as_echo "$as_me: failed program was:" >&5
   20212 sed 's/^/| /' conftest.$ac_ext >&5
   20213 
   20214 
   20215 fi
   20216 
   20217 rm -f core conftest.err conftest.$ac_objext
   20218   test "x$ac_cv_prog_cc_c99" != "xno" && break
   20219 done
   20220 rm -f conftest.$ac_ext
   20221 CC=$ac_save_CC
   20222 
   20223 fi
   20224 # AC_CACHE_VAL
   20225 case "x$ac_cv_prog_cc_c99" in
   20226   x)
   20227     { $as_echo "$as_me:$LINENO: result: none needed" >&5
   20228 $as_echo "none needed" >&6; } ;;
   20229   xno)
   20230     { $as_echo "$as_me:$LINENO: result: unsupported" >&5
   20231 $as_echo "unsupported" >&6; } ;;
   20232   *)
   20233     CC="$CC $ac_cv_prog_cc_c99"
   20234     { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c99" >&5
   20235 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
   20236 esac
   20237 
   20238 
   20239 
   20240 
   20241 
   20242 
   20243 if  test "x$GCC" = xyes ; then
   20244     CWARNFLAGS="-Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes \
   20245 -Wmissing-declarations -Wnested-externs -fno-strict-aliasing \
   20246 -Wbad-function-cast"
   20247     case `$CC -dumpversion` in
   20248     3.4.* | 4.*)
   20249 	CWARNFLAGS="$CWARNFLAGS -Wold-style-definition -Wdeclaration-after-statement"
   20250 	;;
   20251     esac
   20252 else
   20253     { $as_echo "$as_me:$LINENO: checking whether __SUNPRO_C is declared" >&5
   20254 $as_echo_n "checking whether __SUNPRO_C is declared... " >&6; }
   20255 if test "${ac_cv_have_decl___SUNPRO_C+set}" = set; then
   20256   $as_echo_n "(cached) " >&6
   20257 else
   20258   cat >conftest.$ac_ext <<_ACEOF
   20259 /* confdefs.h.  */
   20260 _ACEOF
   20261 cat confdefs.h >>conftest.$ac_ext
   20262 cat >>conftest.$ac_ext <<_ACEOF
   20263 /* end confdefs.h.  */
   20264 $ac_includes_default
   20265 int
   20266 main ()
   20267 {
   20268 #ifndef __SUNPRO_C
   20269   (void) __SUNPRO_C;
   20270 #endif
   20271 
   20272   ;
   20273   return 0;
   20274 }
   20275 _ACEOF
   20276 rm -f conftest.$ac_objext
   20277 if { (ac_try="$ac_compile"
   20278 case "(($ac_try" in
   20279   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20280   *) ac_try_echo=$ac_try;;
   20281 esac
   20282 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   20283 $as_echo "$ac_try_echo") >&5
   20284   (eval "$ac_compile") 2>conftest.er1
   20285   ac_status=$?
   20286   grep -v '^ *+' conftest.er1 >conftest.err
   20287   rm -f conftest.er1
   20288   cat conftest.err >&5
   20289   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20290   (exit $ac_status); } && {
   20291 	 test -z "$ac_c_werror_flag" ||
   20292 	 test ! -s conftest.err
   20293        } && test -s conftest.$ac_objext; then
   20294   ac_cv_have_decl___SUNPRO_C=yes
   20295 else
   20296   $as_echo "$as_me: failed program was:" >&5
   20297 sed 's/^/| /' conftest.$ac_ext >&5
   20298 
   20299 	ac_cv_have_decl___SUNPRO_C=no
   20300 fi
   20301 
   20302 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   20303 fi
   20304 { $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl___SUNPRO_C" >&5
   20305 $as_echo "$ac_cv_have_decl___SUNPRO_C" >&6; }
   20306 if test "x$ac_cv_have_decl___SUNPRO_C" = x""yes; then
   20307   SUNCC="yes"
   20308 else
   20309   SUNCC="no"
   20310 fi
   20311 
   20312     if test "x$SUNCC" = "xyes"; then
   20313 	CWARNFLAGS="-v"
   20314     fi
   20315 fi
   20316 
   20317 # Check whether --enable-silent-rules was given.
   20318 if test "${enable_silent_rules+set}" = set; then
   20319   enableval=$enable_silent_rules;
   20320 fi
   20321 
   20322 case $enable_silent_rules in
   20323 yes) AM_DEFAULT_VERBOSITY=0;;
   20324 no)  AM_DEFAULT_VERBOSITY=1;;
   20325 *)   AM_DEFAULT_VERBOSITY=0;;
   20326 esac
   20327 AM_BACKSLASH='\'
   20328 
   20329 
   20330 
   20331 
   20332 
   20333 
   20334 
   20335 # Check whether --enable-strict-compilation was given.
   20336 if test "${enable_strict_compilation+set}" = set; then
   20337   enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
   20338 else
   20339   STRICT_COMPILE=no
   20340 fi
   20341 
   20342 if test "x$STRICT_COMPILE" = "xyes"; then
   20343 	{ $as_echo "$as_me:$LINENO: checking whether __SUNPRO_C is declared" >&5
   20344 $as_echo_n "checking whether __SUNPRO_C is declared... " >&6; }
   20345 if test "${ac_cv_have_decl___SUNPRO_C+set}" = set; then
   20346   $as_echo_n "(cached) " >&6
   20347 else
   20348   cat >conftest.$ac_ext <<_ACEOF
   20349 /* confdefs.h.  */
   20350 _ACEOF
   20351 cat confdefs.h >>conftest.$ac_ext
   20352 cat >>conftest.$ac_ext <<_ACEOF
   20353 /* end confdefs.h.  */
   20354 $ac_includes_default
   20355 int
   20356 main ()
   20357 {
   20358 #ifndef __SUNPRO_C
   20359   (void) __SUNPRO_C;
   20360 #endif
   20361 
   20362   ;
   20363   return 0;
   20364 }
   20365 _ACEOF
   20366 rm -f conftest.$ac_objext
   20367 if { (ac_try="$ac_compile"
   20368 case "(($ac_try" in
   20369   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20370   *) ac_try_echo=$ac_try;;
   20371 esac
   20372 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   20373 $as_echo "$ac_try_echo") >&5
   20374   (eval "$ac_compile") 2>conftest.er1
   20375   ac_status=$?
   20376   grep -v '^ *+' conftest.er1 >conftest.err
   20377   rm -f conftest.er1
   20378   cat conftest.err >&5
   20379   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20380   (exit $ac_status); } && {
   20381 	 test -z "$ac_c_werror_flag" ||
   20382 	 test ! -s conftest.err
   20383        } && test -s conftest.$ac_objext; then
   20384   ac_cv_have_decl___SUNPRO_C=yes
   20385 else
   20386   $as_echo "$as_me: failed program was:" >&5
   20387 sed 's/^/| /' conftest.$ac_ext >&5
   20388 
   20389 	ac_cv_have_decl___SUNPRO_C=no
   20390 fi
   20391 
   20392 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   20393 fi
   20394 { $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl___SUNPRO_C" >&5
   20395 $as_echo "$ac_cv_have_decl___SUNPRO_C" >&6; }
   20396 if test "x$ac_cv_have_decl___SUNPRO_C" = x""yes; then
   20397   SUNCC="yes"
   20398 else
   20399   SUNCC="no"
   20400 fi
   20401 
   20402 	{ $as_echo "$as_me:$LINENO: checking whether __INTEL_COMPILER is declared" >&5
   20403 $as_echo_n "checking whether __INTEL_COMPILER is declared... " >&6; }
   20404 if test "${ac_cv_have_decl___INTEL_COMPILER+set}" = set; then
   20405   $as_echo_n "(cached) " >&6
   20406 else
   20407   cat >conftest.$ac_ext <<_ACEOF
   20408 /* confdefs.h.  */
   20409 _ACEOF
   20410 cat confdefs.h >>conftest.$ac_ext
   20411 cat >>conftest.$ac_ext <<_ACEOF
   20412 /* end confdefs.h.  */
   20413 $ac_includes_default
   20414 int
   20415 main ()
   20416 {
   20417 #ifndef __INTEL_COMPILER
   20418   (void) __INTEL_COMPILER;
   20419 #endif
   20420 
   20421   ;
   20422   return 0;
   20423 }
   20424 _ACEOF
   20425 rm -f conftest.$ac_objext
   20426 if { (ac_try="$ac_compile"
   20427 case "(($ac_try" in
   20428   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20429   *) ac_try_echo=$ac_try;;
   20430 esac
   20431 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   20432 $as_echo "$ac_try_echo") >&5
   20433   (eval "$ac_compile") 2>conftest.er1
   20434   ac_status=$?
   20435   grep -v '^ *+' conftest.er1 >conftest.err
   20436   rm -f conftest.er1
   20437   cat conftest.err >&5
   20438   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20439   (exit $ac_status); } && {
   20440 	 test -z "$ac_c_werror_flag" ||
   20441 	 test ! -s conftest.err
   20442        } && test -s conftest.$ac_objext; then
   20443   ac_cv_have_decl___INTEL_COMPILER=yes
   20444 else
   20445   $as_echo "$as_me: failed program was:" >&5
   20446 sed 's/^/| /' conftest.$ac_ext >&5
   20447 
   20448 	ac_cv_have_decl___INTEL_COMPILER=no
   20449 fi
   20450 
   20451 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   20452 fi
   20453 { $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl___INTEL_COMPILER" >&5
   20454 $as_echo "$ac_cv_have_decl___INTEL_COMPILER" >&6; }
   20455 if test "x$ac_cv_have_decl___INTEL_COMPILER" = x""yes; then
   20456   INTELCC="yes"
   20457 else
   20458   INTELCC="no"
   20459 fi
   20460 
   20461 	if test "x$GCC" = xyes ; then
   20462 		STRICT_CFLAGS="-pedantic -Werror"
   20463 	elif test "x$SUNCC" = "xyes"; then
   20464 		STRICT_CFLAGS="-errwarn"
   20465     elif test "x$INTELCC" = "xyes"; then
   20466 		STRICT_CFLAGS="-Werror"
   20467 	fi
   20468 fi
   20469 CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
   20470 
   20471 
   20472 
   20473 
   20474 # Check whether --with-release-version was given.
   20475 if test "${with_release_version+set}" = set; then
   20476   withval=$with_release_version; RELEASE_VERSION="$withval"
   20477 else
   20478   RELEASE_VERSION=""
   20479 fi
   20480 
   20481 	if test "x$RELEASE_VERSION" != "x"; then
   20482 		PACKAGE="$PACKAGE-$RELEASE_VERSION"
   20483 		PACKAGE_TARNAME="$PACKAGE_TARNAME-$RELEASE_VERSION"
   20484 		{ $as_echo "$as_me:$LINENO: Building with package name set to $PACKAGE" >&5
   20485 $as_echo "$as_me: Building with package name set to $PACKAGE" >&6;}
   20486 	fi
   20487 
   20488 cat >>confdefs.h <<_ACEOF
   20489 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   20490 _ACEOF
   20491 
   20492 	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
   20493 	if test "x$PVM" = "x"; then
   20494 		PVM="0"
   20495 	fi
   20496 
   20497 cat >>confdefs.h <<_ACEOF
   20498 #define PACKAGE_VERSION_MINOR $PVM
   20499 _ACEOF
   20500 
   20501 	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
   20502 	if test "x$PVP" = "x"; then
   20503 		PVP="0"
   20504 	fi
   20505 
   20506 cat >>confdefs.h <<_ACEOF
   20507 #define PACKAGE_VERSION_PATCHLEVEL $PVP
   20508 _ACEOF
   20509 
   20510 
   20511 
   20512 CHANGELOG_CMD="(GIT_DIR=\$(top_srcdir)/.git git log > .changelog.tmp && \
   20513 mv .changelog.tmp ChangeLog) || (rm -f .changelog.tmp; touch ChangeLog; \
   20514 echo 'git directory not found: installing possibly empty changelog.' >&2)"
   20515 
   20516 distcleancheck_listfiles='find . -type f ! -name ChangeLog -print'
   20517 
   20518 
   20519 
   20520 
   20521 
   20522 if test x$APP_MAN_SUFFIX = x    ; then
   20523     APP_MAN_SUFFIX=1
   20524 fi
   20525 if test x$APP_MAN_DIR = x    ; then
   20526     APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
   20527 fi
   20528 
   20529 if test x$LIB_MAN_SUFFIX = x    ; then
   20530     LIB_MAN_SUFFIX=3
   20531 fi
   20532 if test x$LIB_MAN_DIR = x    ; then
   20533     LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
   20534 fi
   20535 
   20536 if test x$FILE_MAN_SUFFIX = x    ; then
   20537     case $host_os in
   20538 	solaris*)	FILE_MAN_SUFFIX=4  ;;
   20539 	*)		FILE_MAN_SUFFIX=5  ;;
   20540     esac
   20541 fi
   20542 if test x$FILE_MAN_DIR = x    ; then
   20543     FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
   20544 fi
   20545 
   20546 if test x$MISC_MAN_SUFFIX = x    ; then
   20547     case $host_os in
   20548 	solaris*)	MISC_MAN_SUFFIX=5  ;;
   20549 	*)		MISC_MAN_SUFFIX=7  ;;
   20550     esac
   20551 fi
   20552 if test x$MISC_MAN_DIR = x    ; then
   20553     MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
   20554 fi
   20555 
   20556 if test x$DRIVER_MAN_SUFFIX = x    ; then
   20557     case $host_os in
   20558 	solaris*)	DRIVER_MAN_SUFFIX=7  ;;
   20559 	*)		DRIVER_MAN_SUFFIX=4  ;;
   20560     esac
   20561 fi
   20562 if test x$DRIVER_MAN_DIR = x    ; then
   20563     DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
   20564 fi
   20565 
   20566 if test x$ADMIN_MAN_SUFFIX = x    ; then
   20567     case $host_os in
   20568 	solaris*)	ADMIN_MAN_SUFFIX=1m ;;
   20569 	*)		ADMIN_MAN_SUFFIX=8  ;;
   20570     esac
   20571 fi
   20572 if test x$ADMIN_MAN_DIR = x    ; then
   20573     ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
   20574 fi
   20575 
   20576 
   20577 
   20578 
   20579 
   20580 
   20581 
   20582 
   20583 
   20584 
   20585 
   20586 
   20587 
   20588 
   20589 
   20590 
   20591 
   20592 # Check damageext configuration, strip extra digits from package version to
   20593 # find the required protocol version
   20594 
   20595 DAMAGEEXT_VERSION=`echo $VERSION | sed 's/^\([0-9][0-9]*\.[0-9][0-9]*\).*$/\1/'`
   20596 
   20597 
   20598 
   20599 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   20600 	if test -n "$ac_tool_prefix"; then
   20601   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   20602 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   20603 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   20604 $as_echo_n "checking for $ac_word... " >&6; }
   20605 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
   20606   $as_echo_n "(cached) " >&6
   20607 else
   20608   case $PKG_CONFIG in
   20609   [\\/]* | ?:[\\/]*)
   20610   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   20611   ;;
   20612   *)
   20613   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   20614 for as_dir in $PATH
   20615 do
   20616   IFS=$as_save_IFS
   20617   test -z "$as_dir" && as_dir=.
   20618   for ac_exec_ext in '' $ac_executable_extensions; do
   20619   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   20620     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   20621     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   20622     break 2
   20623   fi
   20624 done
   20625 done
   20626 IFS=$as_save_IFS
   20627 
   20628   ;;
   20629 esac
   20630 fi
   20631 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   20632 if test -n "$PKG_CONFIG"; then
   20633   { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
   20634 $as_echo "$PKG_CONFIG" >&6; }
   20635 else
   20636   { $as_echo "$as_me:$LINENO: result: no" >&5
   20637 $as_echo "no" >&6; }
   20638 fi
   20639 
   20640 
   20641 fi
   20642 if test -z "$ac_cv_path_PKG_CONFIG"; then
   20643   ac_pt_PKG_CONFIG=$PKG_CONFIG
   20644   # Extract the first word of "pkg-config", so it can be a program name with args.
   20645 set dummy pkg-config; ac_word=$2
   20646 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   20647 $as_echo_n "checking for $ac_word... " >&6; }
   20648 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
   20649   $as_echo_n "(cached) " >&6
   20650 else
   20651   case $ac_pt_PKG_CONFIG in
   20652   [\\/]* | ?:[\\/]*)
   20653   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   20654   ;;
   20655   *)
   20656   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   20657 for as_dir in $PATH
   20658 do
   20659   IFS=$as_save_IFS
   20660   test -z "$as_dir" && as_dir=.
   20661   for ac_exec_ext in '' $ac_executable_extensions; do
   20662   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   20663     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   20664     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   20665     break 2
   20666   fi
   20667 done
   20668 done
   20669 IFS=$as_save_IFS
   20670 
   20671   ;;
   20672 esac
   20673 fi
   20674 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   20675 if test -n "$ac_pt_PKG_CONFIG"; then
   20676   { $as_echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
   20677 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
   20678 else
   20679   { $as_echo "$as_me:$LINENO: result: no" >&5
   20680 $as_echo "no" >&6; }
   20681 fi
   20682 
   20683   if test "x$ac_pt_PKG_CONFIG" = x; then
   20684     PKG_CONFIG=""
   20685   else
   20686     case $cross_compiling:$ac_tool_warned in
   20687 yes:)
   20688 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   20689 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   20690 ac_tool_warned=yes ;;
   20691 esac
   20692     PKG_CONFIG=$ac_pt_PKG_CONFIG
   20693   fi
   20694 else
   20695   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   20696 fi
   20697 
   20698 fi
   20699 if test -n "$PKG_CONFIG"; then
   20700 	_pkg_min_version=0.9.0
   20701 	{ $as_echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
   20702 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   20703 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   20704 		{ $as_echo "$as_me:$LINENO: result: yes" >&5
   20705 $as_echo "yes" >&6; }
   20706 	else
   20707 		{ $as_echo "$as_me:$LINENO: result: no" >&5
   20708 $as_echo "no" >&6; }
   20709 		PKG_CONFIG=""
   20710 	fi
   20711 
   20712 fi
   20713 
   20714 pkg_failed=no
   20715 { $as_echo "$as_me:$LINENO: checking for XDAMAGE" >&5
   20716 $as_echo_n "checking for XDAMAGE... " >&6; }
   20717 
   20718 if test -n "$XDAMAGE_CFLAGS"; then
   20719     pkg_cv_XDAMAGE_CFLAGS="$XDAMAGE_CFLAGS"
   20720  elif test -n "$PKG_CONFIG"; then
   20721     if test -n "$PKG_CONFIG" && \
   20722     { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"damageproto >= \$DAMAGEEXT_VERSION xfixes fixesproto xextproto x11\"") >&5
   20723   ($PKG_CONFIG --exists --print-errors "damageproto >= $DAMAGEEXT_VERSION xfixes fixesproto xextproto x11") 2>&5
   20724   ac_status=$?
   20725   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20726   (exit $ac_status); }; then
   20727   pkg_cv_XDAMAGE_CFLAGS=`$PKG_CONFIG --cflags "damageproto >= $DAMAGEEXT_VERSION xfixes fixesproto xextproto x11" 2>/dev/null`
   20728 else
   20729   pkg_failed=yes
   20730 fi
   20731  else
   20732     pkg_failed=untried
   20733 fi
   20734 if test -n "$XDAMAGE_LIBS"; then
   20735     pkg_cv_XDAMAGE_LIBS="$XDAMAGE_LIBS"
   20736  elif test -n "$PKG_CONFIG"; then
   20737     if test -n "$PKG_CONFIG" && \
   20738     { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"damageproto >= \$DAMAGEEXT_VERSION xfixes fixesproto xextproto x11\"") >&5
   20739   ($PKG_CONFIG --exists --print-errors "damageproto >= $DAMAGEEXT_VERSION xfixes fixesproto xextproto x11") 2>&5
   20740   ac_status=$?
   20741   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20742   (exit $ac_status); }; then
   20743   pkg_cv_XDAMAGE_LIBS=`$PKG_CONFIG --libs "damageproto >= $DAMAGEEXT_VERSION xfixes fixesproto xextproto x11" 2>/dev/null`
   20744 else
   20745   pkg_failed=yes
   20746 fi
   20747  else
   20748     pkg_failed=untried
   20749 fi
   20750 
   20751 
   20752 
   20753 if test $pkg_failed = yes; then
   20754 
   20755 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   20756         _pkg_short_errors_supported=yes
   20757 else
   20758         _pkg_short_errors_supported=no
   20759 fi
   20760         if test $_pkg_short_errors_supported = yes; then
   20761 	        XDAMAGE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "damageproto >= $DAMAGEEXT_VERSION xfixes fixesproto xextproto x11" 2>&1`
   20762         else
   20763 	        XDAMAGE_PKG_ERRORS=`$PKG_CONFIG --print-errors "damageproto >= $DAMAGEEXT_VERSION xfixes fixesproto xextproto x11" 2>&1`
   20764         fi
   20765 	# Put the nasty error message in config.log where it belongs
   20766 	echo "$XDAMAGE_PKG_ERRORS" >&5
   20767 
   20768 	{ { $as_echo "$as_me:$LINENO: error: Package requirements (damageproto >= $DAMAGEEXT_VERSION xfixes fixesproto xextproto x11) were not met:
   20769 
   20770 $XDAMAGE_PKG_ERRORS
   20771 
   20772 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   20773 installed software in a non-standard prefix.
   20774 
   20775 Alternatively, you may set the environment variables XDAMAGE_CFLAGS
   20776 and XDAMAGE_LIBS to avoid the need to call pkg-config.
   20777 See the pkg-config man page for more details.
   20778 " >&5
   20779 $as_echo "$as_me: error: Package requirements (damageproto >= $DAMAGEEXT_VERSION xfixes fixesproto xextproto x11) were not met:
   20780 
   20781 $XDAMAGE_PKG_ERRORS
   20782 
   20783 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   20784 installed software in a non-standard prefix.
   20785 
   20786 Alternatively, you may set the environment variables XDAMAGE_CFLAGS
   20787 and XDAMAGE_LIBS to avoid the need to call pkg-config.
   20788 See the pkg-config man page for more details.
   20789 " >&2;}
   20790    { (exit 1); exit 1; }; }
   20791 elif test $pkg_failed = untried; then
   20792 	{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   20793 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   20794 { { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
   20795 is in your PATH or set the PKG_CONFIG environment variable to the full
   20796 path to pkg-config.
   20797 
   20798 Alternatively, you may set the environment variables XDAMAGE_CFLAGS
   20799 and XDAMAGE_LIBS to avoid the need to call pkg-config.
   20800 See the pkg-config man page for more details.
   20801 
   20802 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   20803 See \`config.log' for more details." >&5
   20804 $as_echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
   20805 is in your PATH or set the PKG_CONFIG environment variable to the full
   20806 path to pkg-config.
   20807 
   20808 Alternatively, you may set the environment variables XDAMAGE_CFLAGS
   20809 and XDAMAGE_LIBS to avoid the need to call pkg-config.
   20810 See the pkg-config man page for more details.
   20811 
   20812 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   20813 See \`config.log' for more details." >&2;}
   20814    { (exit 1); exit 1; }; }; }
   20815 else
   20816 	XDAMAGE_CFLAGS=$pkg_cv_XDAMAGE_CFLAGS
   20817 	XDAMAGE_LIBS=$pkg_cv_XDAMAGE_LIBS
   20818         { $as_echo "$as_me:$LINENO: result: yes" >&5
   20819 $as_echo "yes" >&6; }
   20820 	:
   20821 fi
   20822 
   20823 
   20824 ac_config_files="$ac_config_files Makefile src/Makefile xdamage.pc"
   20825 
   20826 cat >confcache <<\_ACEOF
   20827 # This file is a shell script that caches the results of configure
   20828 # tests run on this system so they can be shared between configure
   20829 # scripts and configure runs, see configure's option --config-cache.
   20830 # It is not useful on other systems.  If it contains results you don't
   20831 # want to keep, you may remove or edit it.
   20832 #
   20833 # config.status only pays attention to the cache file if you give it
   20834 # the --recheck option to rerun configure.
   20835 #
   20836 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   20837 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   20838 # following values.
   20839 
   20840 _ACEOF
   20841 
   20842 # The following way of writing the cache mishandles newlines in values,
   20843 # but we know of no workaround that is simple, portable, and efficient.
   20844 # So, we kill variables containing newlines.
   20845 # Ultrix sh set writes to stderr and can't be redirected directly,
   20846 # and sets the high bit in the cache file unless we assign to the vars.
   20847 (
   20848   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   20849     eval ac_val=\$$ac_var
   20850     case $ac_val in #(
   20851     *${as_nl}*)
   20852       case $ac_var in #(
   20853       *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
   20854 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   20855       esac
   20856       case $ac_var in #(
   20857       _ | IFS | as_nl) ;; #(
   20858       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   20859       *) $as_unset $ac_var ;;
   20860       esac ;;
   20861     esac
   20862   done
   20863 
   20864   (set) 2>&1 |
   20865     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   20866     *${as_nl}ac_space=\ *)
   20867       # `set' does not quote correctly, so add quotes (double-quote
   20868       # substitution turns \\\\ into \\, and sed turns \\ into \).
   20869       sed -n \
   20870 	"s/'/'\\\\''/g;
   20871 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   20872       ;; #(
   20873     *)
   20874       # `set' quotes correctly as required by POSIX, so do not add quotes.
   20875       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   20876       ;;
   20877     esac |
   20878     sort
   20879 ) |
   20880   sed '
   20881      /^ac_cv_env_/b end
   20882      t clear
   20883      :clear
   20884      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
   20885      t end
   20886      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   20887      :end' >>confcache
   20888 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   20889   if test -w "$cache_file"; then
   20890     test "x$cache_file" != "x/dev/null" &&
   20891       { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
   20892 $as_echo "$as_me: updating cache $cache_file" >&6;}
   20893     cat confcache >$cache_file
   20894   else
   20895     { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
   20896 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
   20897   fi
   20898 fi
   20899 rm -f confcache
   20900 
   20901 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   20902 # Let make expand exec_prefix.
   20903 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   20904 
   20905 DEFS=-DHAVE_CONFIG_H
   20906 
   20907 ac_libobjs=
   20908 ac_ltlibobjs=
   20909 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   20910   # 1. Remove the extension, and $U if already installed.
   20911   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   20912   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
   20913   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   20914   #    will be set to the directory where LIBOBJS objects are built.
   20915   ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   20916   ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
   20917 done
   20918 LIBOBJS=$ac_libobjs
   20919 
   20920 LTLIBOBJS=$ac_ltlibobjs
   20921 
   20922 
   20923  if test -n "$EXEEXT"; then
   20924   am__EXEEXT_TRUE=
   20925   am__EXEEXT_FALSE='#'
   20926 else
   20927   am__EXEEXT_TRUE='#'
   20928   am__EXEEXT_FALSE=
   20929 fi
   20930 
   20931 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
   20932   { { $as_echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
   20933 Usually this means the macro was only invoked conditionally." >&5
   20934 $as_echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
   20935 Usually this means the macro was only invoked conditionally." >&2;}
   20936    { (exit 1); exit 1; }; }
   20937 fi
   20938 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   20939   { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
   20940 Usually this means the macro was only invoked conditionally." >&5
   20941 $as_echo "$as_me: error: conditional \"AMDEP\" was never defined.
   20942 Usually this means the macro was only invoked conditionally." >&2;}
   20943    { (exit 1); exit 1; }; }
   20944 fi
   20945 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   20946   { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
   20947 Usually this means the macro was only invoked conditionally." >&5
   20948 $as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
   20949 Usually this means the macro was only invoked conditionally." >&2;}
   20950    { (exit 1); exit 1; }; }
   20951 fi
   20952 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
   20953   { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
   20954 Usually this means the macro was only invoked conditionally." >&5
   20955 $as_echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
   20956 Usually this means the macro was only invoked conditionally." >&2;}
   20957    { (exit 1); exit 1; }; }
   20958 fi
   20959 
   20960 : ${CONFIG_STATUS=./config.status}
   20961 ac_write_fail=0
   20962 ac_clean_files_save=$ac_clean_files
   20963 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   20964 { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
   20965 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
   20966 cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   20967 #! $SHELL
   20968 # Generated by $as_me.
   20969 # Run this file to recreate the current configuration.
   20970 # Compiler output produced by configure, useful for debugging
   20971 # configure, is in config.log if it exists.
   20972 
   20973 debug=false
   20974 ac_cs_recheck=false
   20975 ac_cs_silent=false
   20976 SHELL=\${CONFIG_SHELL-$SHELL}
   20977 _ACEOF
   20978 
   20979 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   20980 ## --------------------- ##
   20981 ## M4sh Initialization.  ##
   20982 ## --------------------- ##
   20983 
   20984 # Be more Bourne compatible
   20985 DUALCASE=1; export DUALCASE # for MKS sh
   20986 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
   20987   emulate sh
   20988   NULLCMD=:
   20989   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   20990   # is contrary to our usage.  Disable this feature.
   20991   alias -g '${1+"$@"}'='"$@"'
   20992   setopt NO_GLOB_SUBST
   20993 else
   20994   case `(set -o) 2>/dev/null` in
   20995   *posix*) set -o posix ;;
   20996 esac
   20997 
   20998 fi
   20999 
   21000 
   21001 
   21002 
   21003 # PATH needs CR
   21004 # Avoid depending upon Character Ranges.
   21005 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   21006 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   21007 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   21008 as_cr_digits='0123456789'
   21009 as_cr_alnum=$as_cr_Letters$as_cr_digits
   21010 
   21011 as_nl='
   21012 '
   21013 export as_nl
   21014 # Printing a long string crashes Solaris 7 /usr/bin/printf.
   21015 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   21016 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
   21017 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
   21018 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
   21019   as_echo='printf %s\n'
   21020   as_echo_n='printf %s'
   21021 else
   21022   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
   21023     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
   21024     as_echo_n='/usr/ucb/echo -n'
   21025   else
   21026     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
   21027     as_echo_n_body='eval
   21028       arg=$1;
   21029       case $arg in
   21030       *"$as_nl"*)
   21031 	expr "X$arg" : "X\\(.*\\)$as_nl";
   21032 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
   21033       esac;
   21034       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
   21035     '
   21036     export as_echo_n_body
   21037     as_echo_n='sh -c $as_echo_n_body as_echo'
   21038   fi
   21039   export as_echo_body
   21040   as_echo='sh -c $as_echo_body as_echo'
   21041 fi
   21042 
   21043 # The user is always right.
   21044 if test "${PATH_SEPARATOR+set}" != set; then
   21045   PATH_SEPARATOR=:
   21046   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   21047     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   21048       PATH_SEPARATOR=';'
   21049   }
   21050 fi
   21051 
   21052 # Support unset when possible.
   21053 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   21054   as_unset=unset
   21055 else
   21056   as_unset=false
   21057 fi
   21058 
   21059 
   21060 # IFS
   21061 # We need space, tab and new line, in precisely that order.  Quoting is
   21062 # there to prevent editors from complaining about space-tab.
   21063 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
   21064 # splitting by setting IFS to empty value.)
   21065 IFS=" ""	$as_nl"
   21066 
   21067 # Find who we are.  Look in the path if we contain no directory separator.
   21068 case $0 in
   21069   *[\\/]* ) as_myself=$0 ;;
   21070   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   21071 for as_dir in $PATH
   21072 do
   21073   IFS=$as_save_IFS
   21074   test -z "$as_dir" && as_dir=.
   21075   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   21076 done
   21077 IFS=$as_save_IFS
   21078 
   21079      ;;
   21080 esac
   21081 # We did not find ourselves, most probably we were run as `sh COMMAND'
   21082 # in which case we are not to be found in the path.
   21083 if test "x$as_myself" = x; then
   21084   as_myself=$0
   21085 fi
   21086 if test ! -f "$as_myself"; then
   21087   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   21088   { (exit 1); exit 1; }
   21089 fi
   21090 
   21091 # Work around bugs in pre-3.0 UWIN ksh.
   21092 for as_var in ENV MAIL MAILPATH
   21093 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
   21094 done
   21095 PS1='$ '
   21096 PS2='> '
   21097 PS4='+ '
   21098 
   21099 # NLS nuisances.
   21100 LC_ALL=C
   21101 export LC_ALL
   21102 LANGUAGE=C
   21103 export LANGUAGE
   21104 
   21105 # Required to use basename.
   21106 if expr a : '\(a\)' >/dev/null 2>&1 &&
   21107    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   21108   as_expr=expr
   21109 else
   21110   as_expr=false
   21111 fi
   21112 
   21113 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   21114   as_basename=basename
   21115 else
   21116   as_basename=false
   21117 fi
   21118 
   21119 
   21120 # Name of the executable.
   21121 as_me=`$as_basename -- "$0" ||
   21122 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   21123 	 X"$0" : 'X\(//\)$' \| \
   21124 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   21125 $as_echo X/"$0" |
   21126     sed '/^.*\/\([^/][^/]*\)\/*$/{
   21127 	    s//\1/
   21128 	    q
   21129 	  }
   21130 	  /^X\/\(\/\/\)$/{
   21131 	    s//\1/
   21132 	    q
   21133 	  }
   21134 	  /^X\/\(\/\).*/{
   21135 	    s//\1/
   21136 	    q
   21137 	  }
   21138 	  s/.*/./; q'`
   21139 
   21140 # CDPATH.
   21141 $as_unset CDPATH
   21142 
   21143 
   21144 
   21145   as_lineno_1=$LINENO
   21146   as_lineno_2=$LINENO
   21147   test "x$as_lineno_1" != "x$as_lineno_2" &&
   21148   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
   21149 
   21150   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
   21151   # uniformly replaced by the line number.  The first 'sed' inserts a
   21152   # line-number line after each line using $LINENO; the second 'sed'
   21153   # does the real work.  The second script uses 'N' to pair each
   21154   # line-number line with the line containing $LINENO, and appends
   21155   # trailing '-' during substitution so that $LINENO is not a special
   21156   # case at line end.
   21157   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
   21158   # scripts with optimization help from Paolo Bonzini.  Blame Lee
   21159   # E. McMahon (1931-1989) for sed's syntax.  :-)
   21160   sed -n '
   21161     p
   21162     /[$]LINENO/=
   21163   ' <$as_myself |
   21164     sed '
   21165       s/[$]LINENO.*/&-/
   21166       t lineno
   21167       b
   21168       :lineno
   21169       N
   21170       :loop
   21171       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
   21172       t loop
   21173       s/-\n.*//
   21174     ' >$as_me.lineno &&
   21175   chmod +x "$as_me.lineno" ||
   21176     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
   21177    { (exit 1); exit 1; }; }
   21178 
   21179   # Don't try to exec as it changes $[0], causing all sort of problems
   21180   # (the dirname of $[0] is not the place where we might find the
   21181   # original and so on.  Autoconf is especially sensitive to this).
   21182   . "./$as_me.lineno"
   21183   # Exit status is that of the last command.
   21184   exit
   21185 }
   21186 
   21187 
   21188 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   21189   as_dirname=dirname
   21190 else
   21191   as_dirname=false
   21192 fi
   21193 
   21194 ECHO_C= ECHO_N= ECHO_T=
   21195 case `echo -n x` in
   21196 -n*)
   21197   case `echo 'x\c'` in
   21198   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   21199   *)   ECHO_C='\c';;
   21200   esac;;
   21201 *)
   21202   ECHO_N='-n';;
   21203 esac
   21204 if expr a : '\(a\)' >/dev/null 2>&1 &&
   21205    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   21206   as_expr=expr
   21207 else
   21208   as_expr=false
   21209 fi
   21210 
   21211 rm -f conf$$ conf$$.exe conf$$.file
   21212 if test -d conf$$.dir; then
   21213   rm -f conf$$.dir/conf$$.file
   21214 else
   21215   rm -f conf$$.dir
   21216   mkdir conf$$.dir 2>/dev/null
   21217 fi
   21218 if (echo >conf$$.file) 2>/dev/null; then
   21219   if ln -s conf$$.file conf$$ 2>/dev/null; then
   21220     as_ln_s='ln -s'
   21221     # ... but there are two gotchas:
   21222     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   21223     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   21224     # In both cases, we have to default to `cp -p'.
   21225     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   21226       as_ln_s='cp -p'
   21227   elif ln conf$$.file conf$$ 2>/dev/null; then
   21228     as_ln_s=ln
   21229   else
   21230     as_ln_s='cp -p'
   21231   fi
   21232 else
   21233   as_ln_s='cp -p'
   21234 fi
   21235 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   21236 rmdir conf$$.dir 2>/dev/null
   21237 
   21238 if mkdir -p . 2>/dev/null; then
   21239   as_mkdir_p=:
   21240 else
   21241   test -d ./-p && rmdir ./-p
   21242   as_mkdir_p=false
   21243 fi
   21244 
   21245 if test -x / >/dev/null 2>&1; then
   21246   as_test_x='test -x'
   21247 else
   21248   if ls -dL / >/dev/null 2>&1; then
   21249     as_ls_L_option=L
   21250   else
   21251     as_ls_L_option=
   21252   fi
   21253   as_test_x='
   21254     eval sh -c '\''
   21255       if test -d "$1"; then
   21256 	test -d "$1/.";
   21257       else
   21258 	case $1 in
   21259 	-*)set "./$1";;
   21260 	esac;
   21261 	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
   21262 	???[sx]*):;;*)false;;esac;fi
   21263     '\'' sh
   21264   '
   21265 fi
   21266 as_executable_p=$as_test_x
   21267 
   21268 # Sed expression to map a string onto a valid CPP name.
   21269 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   21270 
   21271 # Sed expression to map a string onto a valid variable name.
   21272 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   21273 
   21274 
   21275 exec 6>&1
   21276 
   21277 # Save the log message, to keep $[0] and so on meaningful, and to
   21278 # report actual input values of CONFIG_FILES etc. instead of their
   21279 # values after options handling.
   21280 ac_log="
   21281 This file was extended by libXdamage $as_me 1.1.2, which was
   21282 generated by GNU Autoconf 2.63.  Invocation command line was
   21283 
   21284   CONFIG_FILES    = $CONFIG_FILES
   21285   CONFIG_HEADERS  = $CONFIG_HEADERS
   21286   CONFIG_LINKS    = $CONFIG_LINKS
   21287   CONFIG_COMMANDS = $CONFIG_COMMANDS
   21288   $ $0 $@
   21289 
   21290 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   21291 "
   21292 
   21293 _ACEOF
   21294 
   21295 case $ac_config_files in *"
   21296 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   21297 esac
   21298 
   21299 case $ac_config_headers in *"
   21300 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   21301 esac
   21302 
   21303 
   21304 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   21305 # Files that config.status was made for.
   21306 config_files="$ac_config_files"
   21307 config_headers="$ac_config_headers"
   21308 config_commands="$ac_config_commands"
   21309 
   21310 _ACEOF
   21311 
   21312 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   21313 ac_cs_usage="\
   21314 \`$as_me' instantiates files from templates according to the
   21315 current configuration.
   21316 
   21317 Usage: $0 [OPTION]... [FILE]...
   21318 
   21319   -h, --help       print this help, then exit
   21320   -V, --version    print version number and configuration settings, then exit
   21321   -q, --quiet, --silent
   21322                    do not print progress messages
   21323   -d, --debug      don't remove temporary files
   21324       --recheck    update $as_me by reconfiguring in the same conditions
   21325       --file=FILE[:TEMPLATE]
   21326                    instantiate the configuration file FILE
   21327       --header=FILE[:TEMPLATE]
   21328                    instantiate the configuration header FILE
   21329 
   21330 Configuration files:
   21331 $config_files
   21332 
   21333 Configuration headers:
   21334 $config_headers
   21335 
   21336 Configuration commands:
   21337 $config_commands
   21338 
   21339 Report bugs to <bug-autoconf (at] gnu.org>."
   21340 
   21341 _ACEOF
   21342 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   21343 ac_cs_version="\\
   21344 libXdamage config.status 1.1.2
   21345 configured by $0, generated by GNU Autoconf 2.63,
   21346   with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
   21347 
   21348 Copyright (C) 2008 Free Software Foundation, Inc.
   21349 This config.status script is free software; the Free Software Foundation
   21350 gives unlimited permission to copy, distribute and modify it."
   21351 
   21352 ac_pwd='$ac_pwd'
   21353 srcdir='$srcdir'
   21354 INSTALL='$INSTALL'
   21355 MKDIR_P='$MKDIR_P'
   21356 AWK='$AWK'
   21357 test -n "\$AWK" || AWK=awk
   21358 _ACEOF
   21359 
   21360 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   21361 # The default lists apply if the user does not specify any file.
   21362 ac_need_defaults=:
   21363 while test $# != 0
   21364 do
   21365   case $1 in
   21366   --*=*)
   21367     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   21368     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   21369     ac_shift=:
   21370     ;;
   21371   *)
   21372     ac_option=$1
   21373     ac_optarg=$2
   21374     ac_shift=shift
   21375     ;;
   21376   esac
   21377 
   21378   case $ac_option in
   21379   # Handling of the options.
   21380   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   21381     ac_cs_recheck=: ;;
   21382   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   21383     $as_echo "$ac_cs_version"; exit ;;
   21384   --debug | --debu | --deb | --de | --d | -d )
   21385     debug=: ;;
   21386   --file | --fil | --fi | --f )
   21387     $ac_shift
   21388     case $ac_optarg in
   21389     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   21390     esac
   21391     CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
   21392     ac_need_defaults=false;;
   21393   --header | --heade | --head | --hea )
   21394     $ac_shift
   21395     case $ac_optarg in
   21396     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   21397     esac
   21398     CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'"
   21399     ac_need_defaults=false;;
   21400   --he | --h)
   21401     # Conflict between --help and --header
   21402     { $as_echo "$as_me: error: ambiguous option: $1
   21403 Try \`$0 --help' for more information." >&2
   21404    { (exit 1); exit 1; }; };;
   21405   --help | --hel | -h )
   21406     $as_echo "$ac_cs_usage"; exit ;;
   21407   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   21408   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   21409     ac_cs_silent=: ;;
   21410 
   21411   # This is an error.
   21412   -*) { $as_echo "$as_me: error: unrecognized option: $1
   21413 Try \`$0 --help' for more information." >&2
   21414    { (exit 1); exit 1; }; } ;;
   21415 
   21416   *) ac_config_targets="$ac_config_targets $1"
   21417      ac_need_defaults=false ;;
   21418 
   21419   esac
   21420   shift
   21421 done
   21422 
   21423 ac_configure_extra_args=
   21424 
   21425 if $ac_cs_silent; then
   21426   exec 6>/dev/null
   21427   ac_configure_extra_args="$ac_configure_extra_args --silent"
   21428 fi
   21429 
   21430 _ACEOF
   21431 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   21432 if \$ac_cs_recheck; then
   21433   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   21434   shift
   21435   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
   21436   CONFIG_SHELL='$SHELL'
   21437   export CONFIG_SHELL
   21438   exec "\$@"
   21439 fi
   21440 
   21441 _ACEOF
   21442 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   21443 exec 5>>config.log
   21444 {
   21445   echo
   21446   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   21447 ## Running $as_me. ##
   21448 _ASBOX
   21449   $as_echo "$ac_log"
   21450 } >&5
   21451 
   21452 _ACEOF
   21453 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   21454 #
   21455 # INIT-COMMANDS
   21456 #
   21457 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
   21458 
   21459 _ACEOF
   21460 
   21461 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   21462 
   21463 # Handling of arguments.
   21464 for ac_config_target in $ac_config_targets
   21465 do
   21466   case $ac_config_target in
   21467     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   21468     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   21469     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   21470     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
   21471     "xdamage.pc") CONFIG_FILES="$CONFIG_FILES xdamage.pc" ;;
   21472 
   21473   *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
   21474 $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
   21475    { (exit 1); exit 1; }; };;
   21476   esac
   21477 done
   21478 
   21479 
   21480 # If the user did not use the arguments to specify the items to instantiate,
   21481 # then the envvar interface is used.  Set only those that are not.
   21482 # We use the long form for the default assignment because of an extremely
   21483 # bizarre bug on SunOS 4.1.3.
   21484 if $ac_need_defaults; then
   21485   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
   21486   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
   21487   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
   21488 fi
   21489 
   21490 # Have a temporary directory for convenience.  Make it in the build tree
   21491 # simply because there is no reason against having it here, and in addition,
   21492 # creating and moving files from /tmp can sometimes cause problems.
   21493 # Hook for its removal unless debugging.
   21494 # Note that there is a small window in which the directory will not be cleaned:
   21495 # after its creation but before its name has been assigned to `$tmp'.
   21496 $debug ||
   21497 {
   21498   tmp=
   21499   trap 'exit_status=$?
   21500   { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
   21501 ' 0
   21502   trap '{ (exit 1); exit 1; }' 1 2 13 15
   21503 }
   21504 # Create a (secure) tmp directory for tmp files.
   21505 
   21506 {
   21507   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   21508   test -n "$tmp" && test -d "$tmp"
   21509 }  ||
   21510 {
   21511   tmp=./conf$$-$RANDOM
   21512   (umask 077 && mkdir "$tmp")
   21513 } ||
   21514 {
   21515    $as_echo "$as_me: cannot create a temporary directory in ." >&2
   21516    { (exit 1); exit 1; }
   21517 }
   21518 
   21519 # Set up the scripts for CONFIG_FILES section.
   21520 # No need to generate them if there are no CONFIG_FILES.
   21521 # This happens for instance with `./config.status config.h'.
   21522 if test -n "$CONFIG_FILES"; then
   21523 
   21524 
   21525 ac_cr='
'
   21527 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   21528 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   21529   ac_cs_awk_cr='\\r'
   21530 else
   21531   ac_cs_awk_cr=$ac_cr
   21532 fi
   21533 
   21534 echo 'BEGIN {' >"$tmp/subs1.awk" &&
   21535 _ACEOF
   21536 
   21537 
   21538 {
   21539   echo "cat >conf$$subs.awk <<_ACEOF" &&
   21540   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   21541   echo "_ACEOF"
   21542 } >conf$$subs.sh ||
   21543   { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
   21544 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
   21545    { (exit 1); exit 1; }; }
   21546 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
   21547 ac_delim='%!_!# '
   21548 for ac_last_try in false false false false false :; do
   21549   . ./conf$$subs.sh ||
   21550     { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
   21551 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
   21552    { (exit 1); exit 1; }; }
   21553 
   21554   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   21555   if test $ac_delim_n = $ac_delim_num; then
   21556     break
   21557   elif $ac_last_try; then
   21558     { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
   21559 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
   21560    { (exit 1); exit 1; }; }
   21561   else
   21562     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   21563   fi
   21564 done
   21565 rm -f conf$$subs.sh
   21566 
   21567 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   21568 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
   21569 _ACEOF
   21570 sed -n '
   21571 h
   21572 s/^/S["/; s/!.*/"]=/
   21573 p
   21574 g
   21575 s/^[^!]*!//
   21576 :repl
   21577 t repl
   21578 s/'"$ac_delim"'$//
   21579 t delim
   21580 :nl
   21581 h
   21582 s/\(.\{148\}\).*/\1/
   21583 t more1
   21584 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   21585 p
   21586 n
   21587 b repl
   21588 :more1
   21589 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   21590 p
   21591 g
   21592 s/.\{148\}//
   21593 t nl
   21594 :delim
   21595 h
   21596 s/\(.\{148\}\).*/\1/
   21597 t more2
   21598 s/["\\]/\\&/g; s/^/"/; s/$/"/
   21599 p
   21600 b
   21601 :more2
   21602 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   21603 p
   21604 g
   21605 s/.\{148\}//
   21606 t delim
   21607 ' <conf$$subs.awk | sed '
   21608 /^[^""]/{
   21609   N
   21610   s/\n//
   21611 }
   21612 ' >>$CONFIG_STATUS || ac_write_fail=1
   21613 rm -f conf$$subs.awk
   21614 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   21615 _ACAWK
   21616 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
   21617   for (key in S) S_is_set[key] = 1
   21618   FS = ""
   21619 
   21620 }
   21621 {
   21622   line = $ 0
   21623   nfields = split(line, field, "@")
   21624   substed = 0
   21625   len = length(field[1])
   21626   for (i = 2; i < nfields; i++) {
   21627     key = field[i]
   21628     keylen = length(key)
   21629     if (S_is_set[key]) {
   21630       value = S[key]
   21631       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   21632       len += length(value) + length(field[++i])
   21633       substed = 1
   21634     } else
   21635       len += 1 + keylen
   21636   }
   21637 
   21638   print line
   21639 }
   21640 
   21641 _ACAWK
   21642 _ACEOF
   21643 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   21644 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   21645   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   21646 else
   21647   cat
   21648 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
   21649   || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
   21650 $as_echo "$as_me: error: could not setup config files machinery" >&2;}
   21651    { (exit 1); exit 1; }; }
   21652 _ACEOF
   21653 
   21654 # VPATH may cause trouble with some makes, so we remove $(srcdir),
   21655 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
   21656 # trailing colons and then remove the whole line if VPATH becomes empty
   21657 # (actually we leave an empty line to preserve line numbers).
   21658 if test "x$srcdir" = x.; then
   21659   ac_vpsub='/^[	 ]*VPATH[	 ]*=/{
   21660 s/:*\$(srcdir):*/:/
   21661 s/:*\${srcdir}:*/:/
   21662 s/:*@srcdir@:*/:/
   21663 s/^\([^=]*=[	 ]*\):*/\1/
   21664 s/:*$//
   21665 s/^[^=]*=[	 ]*$//
   21666 }'
   21667 fi
   21668 
   21669 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   21670 fi # test -n "$CONFIG_FILES"
   21671 
   21672 # Set up the scripts for CONFIG_HEADERS section.
   21673 # No need to generate them if there are no CONFIG_HEADERS.
   21674 # This happens for instance with `./config.status Makefile'.
   21675 if test -n "$CONFIG_HEADERS"; then
   21676 cat >"$tmp/defines.awk" <<\_ACAWK ||
   21677 BEGIN {
   21678 _ACEOF
   21679 
   21680 # Transform confdefs.h into an awk script `defines.awk', embedded as
   21681 # here-document in config.status, that substitutes the proper values into
   21682 # config.h.in to produce config.h.
   21683 
   21684 # Create a delimiter string that does not exist in confdefs.h, to ease
   21685 # handling of long lines.
   21686 ac_delim='%!_!# '
   21687 for ac_last_try in false false :; do
   21688   ac_t=`sed -n "/$ac_delim/p" confdefs.h`
   21689   if test -z "$ac_t"; then
   21690     break
   21691   elif $ac_last_try; then
   21692     { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5
   21693 $as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;}
   21694    { (exit 1); exit 1; }; }
   21695   else
   21696     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   21697   fi
   21698 done
   21699 
   21700 # For the awk script, D is an array of macro values keyed by name,
   21701 # likewise P contains macro parameters if any.  Preserve backslash
   21702 # newline sequences.
   21703 
   21704 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   21705 sed -n '
   21706 s/.\{148\}/&'"$ac_delim"'/g
   21707 t rset
   21708 :rset
   21709 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   21710 t def
   21711 d
   21712 :def
   21713 s/\\$//
   21714 t bsnl
   21715 s/["\\]/\\&/g
   21716 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   21717 D["\1"]=" \3"/p
   21718 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   21719 d
   21720 :bsnl
   21721 s/["\\]/\\&/g
   21722 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   21723 D["\1"]=" \3\\\\\\n"\\/p
   21724 t cont
   21725 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   21726 t cont
   21727 d
   21728 :cont
   21729 n
   21730 s/.\{148\}/&'"$ac_delim"'/g
   21731 t clear
   21732 :clear
   21733 s/\\$//
   21734 t bsnlc
   21735 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   21736 d
   21737 :bsnlc
   21738 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   21739 b cont
   21740 ' <confdefs.h | sed '
   21741 s/'"$ac_delim"'/"\\\
   21742 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   21743 
   21744 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   21745   for (key in D) D_is_set[key] = 1
   21746   FS = ""
   21747 }
   21748 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   21749   line = \$ 0
   21750   split(line, arg, " ")
   21751   if (arg[1] == "#") {
   21752     defundef = arg[2]
   21753     mac1 = arg[3]
   21754   } else {
   21755     defundef = substr(arg[1], 2)
   21756     mac1 = arg[2]
   21757   }
   21758   split(mac1, mac2, "(") #)
   21759   macro = mac2[1]
   21760   prefix = substr(line, 1, index(line, defundef) - 1)
   21761   if (D_is_set[macro]) {
   21762     # Preserve the white space surrounding the "#".
   21763     print prefix "define", macro P[macro] D[macro]
   21764     next
   21765   } else {
   21766     # Replace #undef with comments.  This is necessary, for example,
   21767     # in the case of _POSIX_SOURCE, which is predefined and required
   21768     # on some systems where configure will not decide to define it.
   21769     if (defundef == "undef") {
   21770       print "/*", prefix defundef, macro, "*/"
   21771       next
   21772     }
   21773   }
   21774 }
   21775 { print }
   21776 _ACAWK
   21777 _ACEOF
   21778 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   21779   { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
   21780 $as_echo "$as_me: error: could not setup config headers machinery" >&2;}
   21781    { (exit 1); exit 1; }; }
   21782 fi # test -n "$CONFIG_HEADERS"
   21783 
   21784 
   21785 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   21786 shift
   21787 for ac_tag
   21788 do
   21789   case $ac_tag in
   21790   :[FHLC]) ac_mode=$ac_tag; continue;;
   21791   esac
   21792   case $ac_mode$ac_tag in
   21793   :[FHL]*:*);;
   21794   :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
   21795 $as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
   21796    { (exit 1); exit 1; }; };;
   21797   :[FH]-) ac_tag=-:-;;
   21798   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   21799   esac
   21800   ac_save_IFS=$IFS
   21801   IFS=:
   21802   set x $ac_tag
   21803   IFS=$ac_save_IFS
   21804   shift
   21805   ac_file=$1
   21806   shift
   21807 
   21808   case $ac_mode in
   21809   :L) ac_source=$1;;
   21810   :[FH])
   21811     ac_file_inputs=
   21812     for ac_f
   21813     do
   21814       case $ac_f in
   21815       -) ac_f="$tmp/stdin";;
   21816       *) # Look for the file first in the build tree, then in the source tree
   21817 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   21818 	 # because $ac_f cannot contain `:'.
   21819 	 test -f "$ac_f" ||
   21820 	   case $ac_f in
   21821 	   [\\/$]*) false;;
   21822 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   21823 	   esac ||
   21824 	   { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
   21825 $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
   21826    { (exit 1); exit 1; }; };;
   21827       esac
   21828       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   21829       ac_file_inputs="$ac_file_inputs '$ac_f'"
   21830     done
   21831 
   21832     # Let's still pretend it is `configure' which instantiates (i.e., don't
   21833     # use $as_me), people would be surprised to read:
   21834     #    /* config.h.  Generated by config.status.  */
   21835     configure_input='Generated from '`
   21836 	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   21837 	`' by configure.'
   21838     if test x"$ac_file" != x-; then
   21839       configure_input="$ac_file.  $configure_input"
   21840       { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
   21841 $as_echo "$as_me: creating $ac_file" >&6;}
   21842     fi
   21843     # Neutralize special characters interpreted by sed in replacement strings.
   21844     case $configure_input in #(
   21845     *\&* | *\|* | *\\* )
   21846        ac_sed_conf_input=`$as_echo "$configure_input" |
   21847        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   21848     *) ac_sed_conf_input=$configure_input;;
   21849     esac
   21850 
   21851     case $ac_tag in
   21852     *:-:* | *:-) cat >"$tmp/stdin" \
   21853       || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
   21854 $as_echo "$as_me: error: could not create $ac_file" >&2;}
   21855    { (exit 1); exit 1; }; } ;;
   21856     esac
   21857     ;;
   21858   esac
   21859 
   21860   ac_dir=`$as_dirname -- "$ac_file" ||
   21861 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   21862 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   21863 	 X"$ac_file" : 'X\(//\)$' \| \
   21864 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   21865 $as_echo X"$ac_file" |
   21866     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   21867 	    s//\1/
   21868 	    q
   21869 	  }
   21870 	  /^X\(\/\/\)[^/].*/{
   21871 	    s//\1/
   21872 	    q
   21873 	  }
   21874 	  /^X\(\/\/\)$/{
   21875 	    s//\1/
   21876 	    q
   21877 	  }
   21878 	  /^X\(\/\).*/{
   21879 	    s//\1/
   21880 	    q
   21881 	  }
   21882 	  s/.*/./; q'`
   21883   { as_dir="$ac_dir"
   21884   case $as_dir in #(
   21885   -*) as_dir=./$as_dir;;
   21886   esac
   21887   test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
   21888     as_dirs=
   21889     while :; do
   21890       case $as_dir in #(
   21891       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   21892       *) as_qdir=$as_dir;;
   21893       esac
   21894       as_dirs="'$as_qdir' $as_dirs"
   21895       as_dir=`$as_dirname -- "$as_dir" ||
   21896 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   21897 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   21898 	 X"$as_dir" : 'X\(//\)$' \| \
   21899 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   21900 $as_echo X"$as_dir" |
   21901     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   21902 	    s//\1/
   21903 	    q
   21904 	  }
   21905 	  /^X\(\/\/\)[^/].*/{
   21906 	    s//\1/
   21907 	    q
   21908 	  }
   21909 	  /^X\(\/\/\)$/{
   21910 	    s//\1/
   21911 	    q
   21912 	  }
   21913 	  /^X\(\/\).*/{
   21914 	    s//\1/
   21915 	    q
   21916 	  }
   21917 	  s/.*/./; q'`
   21918       test -d "$as_dir" && break
   21919     done
   21920     test -z "$as_dirs" || eval "mkdir $as_dirs"
   21921   } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
   21922 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
   21923    { (exit 1); exit 1; }; }; }
   21924   ac_builddir=.
   21925 
   21926 case "$ac_dir" in
   21927 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   21928 *)
   21929   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   21930   # A ".." for each directory in $ac_dir_suffix.
   21931   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   21932   case $ac_top_builddir_sub in
   21933   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   21934   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   21935   esac ;;
   21936 esac
   21937 ac_abs_top_builddir=$ac_pwd
   21938 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   21939 # for backward compatibility:
   21940 ac_top_builddir=$ac_top_build_prefix
   21941 
   21942 case $srcdir in
   21943   .)  # We are building in place.
   21944     ac_srcdir=.
   21945     ac_top_srcdir=$ac_top_builddir_sub
   21946     ac_abs_top_srcdir=$ac_pwd ;;
   21947   [\\/]* | ?:[\\/]* )  # Absolute name.
   21948     ac_srcdir=$srcdir$ac_dir_suffix;
   21949     ac_top_srcdir=$srcdir
   21950     ac_abs_top_srcdir=$srcdir ;;
   21951   *) # Relative name.
   21952     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   21953     ac_top_srcdir=$ac_top_build_prefix$srcdir
   21954     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   21955 esac
   21956 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   21957 
   21958 
   21959   case $ac_mode in
   21960   :F)
   21961   #
   21962   # CONFIG_FILE
   21963   #
   21964 
   21965   case $INSTALL in
   21966   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   21967   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   21968   esac
   21969   ac_MKDIR_P=$MKDIR_P
   21970   case $MKDIR_P in
   21971   [\\/$]* | ?:[\\/]* ) ;;
   21972   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   21973   esac
   21974 _ACEOF
   21975 
   21976 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   21977 # If the template does not know about datarootdir, expand it.
   21978 # FIXME: This hack should be removed a few years after 2.60.
   21979 ac_datarootdir_hack=; ac_datarootdir_seen=
   21980 
   21981 ac_sed_dataroot='
   21982 /datarootdir/ {
   21983   p
   21984   q
   21985 }
   21986 /@datadir@/p
   21987 /@docdir@/p
   21988 /@infodir@/p
   21989 /@localedir@/p
   21990 /@mandir@/p
   21991 '
   21992 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   21993 *datarootdir*) ac_datarootdir_seen=yes;;
   21994 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   21995   { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   21996 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   21997 _ACEOF
   21998 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   21999   ac_datarootdir_hack='
   22000   s&@datadir@&$datadir&g
   22001   s&@docdir@&$docdir&g
   22002   s&@infodir@&$infodir&g
   22003   s&@localedir@&$localedir&g
   22004   s&@mandir@&$mandir&g
   22005     s&\\\${datarootdir}&$datarootdir&g' ;;
   22006 esac
   22007 _ACEOF
   22008 
   22009 # Neutralize VPATH when `$srcdir' = `.'.
   22010 # Shell code in configure.ac might set extrasub.
   22011 # FIXME: do we really want to maintain this feature?
   22012 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   22013 ac_sed_extra="$ac_vpsub
   22014 $extrasub
   22015 _ACEOF
   22016 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   22017 :t
   22018 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   22019 s|@configure_input@|$ac_sed_conf_input|;t t
   22020 s&@top_builddir@&$ac_top_builddir_sub&;t t
   22021 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   22022 s&@srcdir@&$ac_srcdir&;t t
   22023 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   22024 s&@top_srcdir@&$ac_top_srcdir&;t t
   22025 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   22026 s&@builddir@&$ac_builddir&;t t
   22027 s&@abs_builddir@&$ac_abs_builddir&;t t
   22028 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   22029 s&@INSTALL@&$ac_INSTALL&;t t
   22030 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   22031 $ac_datarootdir_hack
   22032 "
   22033 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
   22034   || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
   22035 $as_echo "$as_me: error: could not create $ac_file" >&2;}
   22036    { (exit 1); exit 1; }; }
   22037 
   22038 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   22039   { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
   22040   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
   22041   { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   22042 which seems to be undefined.  Please make sure it is defined." >&5
   22043 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   22044 which seems to be undefined.  Please make sure it is defined." >&2;}
   22045 
   22046   rm -f "$tmp/stdin"
   22047   case $ac_file in
   22048   -) cat "$tmp/out" && rm -f "$tmp/out";;
   22049   *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
   22050   esac \
   22051   || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
   22052 $as_echo "$as_me: error: could not create $ac_file" >&2;}
   22053    { (exit 1); exit 1; }; }
   22054  ;;
   22055   :H)
   22056   #
   22057   # CONFIG_HEADER
   22058   #
   22059   if test x"$ac_file" != x-; then
   22060     {
   22061       $as_echo "/* $configure_input  */" \
   22062       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
   22063     } >"$tmp/config.h" \
   22064       || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
   22065 $as_echo "$as_me: error: could not create $ac_file" >&2;}
   22066    { (exit 1); exit 1; }; }
   22067     if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
   22068       { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
   22069 $as_echo "$as_me: $ac_file is unchanged" >&6;}
   22070     else
   22071       rm -f "$ac_file"
   22072       mv "$tmp/config.h" "$ac_file" \
   22073 	|| { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
   22074 $as_echo "$as_me: error: could not create $ac_file" >&2;}
   22075    { (exit 1); exit 1; }; }
   22076     fi
   22077   else
   22078     $as_echo "/* $configure_input  */" \
   22079       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
   22080       || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
   22081 $as_echo "$as_me: error: could not create -" >&2;}
   22082    { (exit 1); exit 1; }; }
   22083   fi
   22084 # Compute "$ac_file"'s index in $config_headers.
   22085 _am_arg="$ac_file"
   22086 _am_stamp_count=1
   22087 for _am_header in $config_headers :; do
   22088   case $_am_header in
   22089     $_am_arg | $_am_arg:* )
   22090       break ;;
   22091     * )
   22092       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   22093   esac
   22094 done
   22095 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   22096 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   22097 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   22098 	 X"$_am_arg" : 'X\(//\)$' \| \
   22099 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   22100 $as_echo X"$_am_arg" |
   22101     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   22102 	    s//\1/
   22103 	    q
   22104 	  }
   22105 	  /^X\(\/\/\)[^/].*/{
   22106 	    s//\1/
   22107 	    q
   22108 	  }
   22109 	  /^X\(\/\/\)$/{
   22110 	    s//\1/
   22111 	    q
   22112 	  }
   22113 	  /^X\(\/\).*/{
   22114 	    s//\1/
   22115 	    q
   22116 	  }
   22117 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   22118  ;;
   22119 
   22120   :C)  { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
   22121 $as_echo "$as_me: executing $ac_file commands" >&6;}
   22122  ;;
   22123   esac
   22124 
   22125 
   22126   case $ac_file$ac_mode in
   22127     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   22128   # Autoconf 2.62 quotes --file arguments for eval, but not when files
   22129   # are listed without --file.  Let's play safe and only enable the eval
   22130   # if we detect the quoting.
   22131   case $CONFIG_FILES in
   22132   *\'*) eval set x "$CONFIG_FILES" ;;
   22133   *)   set x $CONFIG_FILES ;;
   22134   esac
   22135   shift
   22136   for mf
   22137   do
   22138     # Strip MF so we end up with the name of the file.
   22139     mf=`echo "$mf" | sed -e 's/:.*$//'`
   22140     # Check whether this is an Automake generated Makefile or not.
   22141     # We used to match only the files named `Makefile.in', but
   22142     # some people rename them; so instead we look at the file content.
   22143     # Grep'ing the first line is not enough: some people post-process
   22144     # each Makefile.in and add a new line on top of each file to say so.
   22145     # Grep'ing the whole file is not good either: AIX grep has a line
   22146     # limit of 2048, but all sed's we know have understand at least 4000.
   22147     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
   22148       dirpart=`$as_dirname -- "$mf" ||
   22149 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   22150 	 X"$mf" : 'X\(//\)[^/]' \| \
   22151 	 X"$mf" : 'X\(//\)$' \| \
   22152 	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
   22153 $as_echo X"$mf" |
   22154     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   22155 	    s//\1/
   22156 	    q
   22157 	  }
   22158 	  /^X\(\/\/\)[^/].*/{
   22159 	    s//\1/
   22160 	    q
   22161 	  }
   22162 	  /^X\(\/\/\)$/{
   22163 	    s//\1/
   22164 	    q
   22165 	  }
   22166 	  /^X\(\/\).*/{
   22167 	    s//\1/
   22168 	    q
   22169 	  }
   22170 	  s/.*/./; q'`
   22171     else
   22172       continue
   22173     fi
   22174     # Extract the definition of DEPDIR, am__include, and am__quote
   22175     # from the Makefile without running `make'.
   22176     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
   22177     test -z "$DEPDIR" && continue
   22178     am__include=`sed -n 's/^am__include = //p' < "$mf"`
   22179     test -z "am__include" && continue
   22180     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
   22181     # When using ansi2knr, U may be empty or an underscore; expand it
   22182     U=`sed -n 's/^U = //p' < "$mf"`
   22183     # Find all dependency output files, they are included files with
   22184     # $(DEPDIR) in their names.  We invoke sed twice because it is the
   22185     # simplest approach to changing $(DEPDIR) to its actual value in the
   22186     # expansion.
   22187     for file in `sed -n "
   22188       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
   22189 	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
   22190       # Make sure the directory exists.
   22191       test -f "$dirpart/$file" && continue
   22192       fdir=`$as_dirname -- "$file" ||
   22193 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   22194 	 X"$file" : 'X\(//\)[^/]' \| \
   22195 	 X"$file" : 'X\(//\)$' \| \
   22196 	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
   22197 $as_echo X"$file" |
   22198     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   22199 	    s//\1/
   22200 	    q
   22201 	  }
   22202 	  /^X\(\/\/\)[^/].*/{
   22203 	    s//\1/
   22204 	    q
   22205 	  }
   22206 	  /^X\(\/\/\)$/{
   22207 	    s//\1/
   22208 	    q
   22209 	  }
   22210 	  /^X\(\/\).*/{
   22211 	    s//\1/
   22212 	    q
   22213 	  }
   22214 	  s/.*/./; q'`
   22215       { as_dir=$dirpart/$fdir
   22216   case $as_dir in #(
   22217   -*) as_dir=./$as_dir;;
   22218   esac
   22219   test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
   22220     as_dirs=
   22221     while :; do
   22222       case $as_dir in #(
   22223       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   22224       *) as_qdir=$as_dir;;
   22225       esac
   22226       as_dirs="'$as_qdir' $as_dirs"
   22227       as_dir=`$as_dirname -- "$as_dir" ||
   22228 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   22229 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   22230 	 X"$as_dir" : 'X\(//\)$' \| \
   22231 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   22232 $as_echo X"$as_dir" |
   22233     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   22234 	    s//\1/
   22235 	    q
   22236 	  }
   22237 	  /^X\(\/\/\)[^/].*/{
   22238 	    s//\1/
   22239 	    q
   22240 	  }
   22241 	  /^X\(\/\/\)$/{
   22242 	    s//\1/
   22243 	    q
   22244 	  }
   22245 	  /^X\(\/\).*/{
   22246 	    s//\1/
   22247 	    q
   22248 	  }
   22249 	  s/.*/./; q'`
   22250       test -d "$as_dir" && break
   22251     done
   22252     test -z "$as_dirs" || eval "mkdir $as_dirs"
   22253   } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
   22254 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
   22255    { (exit 1); exit 1; }; }; }
   22256       # echo "creating $dirpart/$file"
   22257       echo '# dummy' > "$dirpart/$file"
   22258     done
   22259   done
   22260 }
   22261  ;;
   22262 
   22263   esac
   22264 done # for ac_tag
   22265 
   22266 
   22267 { (exit 0); exit 0; }
   22268 _ACEOF
   22269 chmod +x $CONFIG_STATUS
   22270 ac_clean_files=$ac_clean_files_save
   22271 
   22272 test $ac_write_fail = 0 ||
   22273   { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
   22274 $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
   22275    { (exit 1); exit 1; }; }
   22276 
   22277 
   22278 # configure is writing to config.log, and then calls config.status.
   22279 # config.status does its own redirection, appending to config.log.
   22280 # Unfortunately, on DOS this fails, as config.log is still kept open
   22281 # by configure, so config.status won't be able to write to it; its
   22282 # output is simply discarded.  So we exec the FD to /dev/null,
   22283 # effectively closing config.log, so it can be properly (re)opened and
   22284 # appended to by config.status.  When coming back to configure, we
   22285 # need to make the FD available again.
   22286 if test "$no_create" != yes; then
   22287   ac_cs_success=:
   22288   ac_config_status_args=
   22289   test "$silent" = yes &&
   22290     ac_config_status_args="$ac_config_status_args --quiet"
   22291   exec 5>/dev/null
   22292   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   22293   exec 5>>config.log
   22294   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   22295   # would make configure fail if this is the last instruction.
   22296   $ac_cs_success || { (exit 1); exit 1; }
   22297 fi
   22298 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   22299   { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   22300 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   22301 fi
   22302 
   22303 
   22304