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 libXxf86misc 1.0.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='libXxf86misc'
    752 PACKAGE_TARNAME='libXxf86misc'
    753 PACKAGE_VERSION='1.0.2'
    754 PACKAGE_STRING='libXxf86misc 1.0.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 XTMALLOC_ZERO_CFLAGS
    798 XMALLOC_ZERO_CFLAGS
    799 MALLOC_ZERO_CFLAGS
    800 XXF86MISC_LIBS
    801 XXF86MISC_CFLAGS
    802 PKG_CONFIG
    803 ADMIN_MAN_DIR
    804 DRIVER_MAN_DIR
    805 MISC_MAN_DIR
    806 FILE_MAN_DIR
    807 LIB_MAN_DIR
    808 APP_MAN_DIR
    809 ADMIN_MAN_SUFFIX
    810 DRIVER_MAN_SUFFIX
    811 MISC_MAN_SUFFIX
    812 FILE_MAN_SUFFIX
    813 LIB_MAN_SUFFIX
    814 APP_MAN_SUFFIX
    815 distcleancheck_listfiles
    816 CHANGELOG_CMD
    817 AM_BACKSLASH
    818 AM_DEFAULT_VERBOSITY
    819 CWARNFLAGS
    820 LIBTOOL
    821 ac_ct_F77
    822 FFLAGS
    823 F77
    824 CXXCPP
    825 am__fastdepCXX_FALSE
    826 am__fastdepCXX_TRUE
    827 CXXDEPMODE
    828 ac_ct_CXX
    829 CXXFLAGS
    830 CXX
    831 CPP
    832 NMEDIT
    833 DSYMUTIL
    834 RANLIB
    835 AR
    836 ECHO
    837 LN_S
    838 EGREP
    839 GREP
    840 SED
    841 host_os
    842 host_vendor
    843 host_cpu
    844 host
    845 build_os
    846 build_vendor
    847 build_cpu
    848 build
    849 am__fastdepCC_FALSE
    850 am__fastdepCC_TRUE
    851 CCDEPMODE
    852 AMDEPBACKSLASH
    853 AMDEP_FALSE
    854 AMDEP_TRUE
    855 am__quote
    856 am__include
    857 DEPDIR
    858 OBJEXT
    859 EXEEXT
    860 ac_ct_CC
    861 CPPFLAGS
    862 LDFLAGS
    863 CFLAGS
    864 CC
    865 MAINT
    866 MAINTAINER_MODE_FALSE
    867 MAINTAINER_MODE_TRUE
    868 am__untar
    869 am__tar
    870 AMTAR
    871 am__leading_dot
    872 SET_MAKE
    873 AWK
    874 mkdir_p
    875 MKDIR_P
    876 INSTALL_STRIP_PROGRAM
    877 STRIP
    878 install_sh
    879 MAKEINFO
    880 AUTOHEADER
    881 AUTOMAKE
    882 AUTOCONF
    883 ACLOCAL
    884 VERSION
    885 PACKAGE
    886 CYGPATH_W
    887 am__isrc
    888 INSTALL_DATA
    889 INSTALL_SCRIPT
    890 INSTALL_PROGRAM
    891 target_alias
    892 host_alias
    893 build_alias
    894 LIBS
    895 ECHO_T
    896 ECHO_N
    897 ECHO_C
    898 DEFS
    899 mandir
    900 localedir
    901 libdir
    902 psdir
    903 pdfdir
    904 dvidir
    905 htmldir
    906 infodir
    907 docdir
    908 oldincludedir
    909 includedir
    910 localstatedir
    911 sharedstatedir
    912 sysconfdir
    913 datadir
    914 datarootdir
    915 libexecdir
    916 sbindir
    917 bindir
    918 program_transform_name
    919 prefix
    920 exec_prefix
    921 PACKAGE_BUGREPORT
    922 PACKAGE_STRING
    923 PACKAGE_VERSION
    924 PACKAGE_TARNAME
    925 PACKAGE_NAME
    926 PATH_SEPARATOR
    927 SHELL'
    928 ac_subst_files=''
    929 ac_user_opts='
    930 enable_option_checking
    931 enable_maintainer_mode
    932 enable_dependency_tracking
    933 enable_shared
    934 enable_static
    935 enable_fast_install
    936 with_gnu_ld
    937 enable_libtool_lock
    938 with_pic
    939 with_tags
    940 enable_silent_rules
    941 enable_strict_compilation
    942 with_release_version
    943 enable_malloc0returnsnull
    944 '
    945       ac_precious_vars='build_alias
    946 host_alias
    947 target_alias
    948 CC
    949 CFLAGS
    950 LDFLAGS
    951 LIBS
    952 CPPFLAGS
    953 CPP
    954 CXX
    955 CXXFLAGS
    956 CCC
    957 CXXCPP
    958 F77
    959 FFLAGS
    960 PKG_CONFIG
    961 XXF86MISC_CFLAGS
    962 XXF86MISC_LIBS'
    963 
    964 
    965 # Initialize some variables set by options.
    966 ac_init_help=
    967 ac_init_version=false
    968 ac_unrecognized_opts=
    969 ac_unrecognized_sep=
    970 # The variables have the same names as the options, with
    971 # dashes changed to underlines.
    972 cache_file=/dev/null
    973 exec_prefix=NONE
    974 no_create=
    975 no_recursion=
    976 prefix=NONE
    977 program_prefix=NONE
    978 program_suffix=NONE
    979 program_transform_name=s,x,x,
    980 silent=
    981 site=
    982 srcdir=
    983 verbose=
    984 x_includes=NONE
    985 x_libraries=NONE
    986 
    987 # Installation directory options.
    988 # These are left unexpanded so users can "make install exec_prefix=/foo"
    989 # and all the variables that are supposed to be based on exec_prefix
    990 # by default will actually change.
    991 # Use braces instead of parens because sh, perl, etc. also accept them.
    992 # (The list follows the same order as the GNU Coding Standards.)
    993 bindir='${exec_prefix}/bin'
    994 sbindir='${exec_prefix}/sbin'
    995 libexecdir='${exec_prefix}/libexec'
    996 datarootdir='${prefix}/share'
    997 datadir='${datarootdir}'
    998 sysconfdir='${prefix}/etc'
    999 sharedstatedir='${prefix}/com'
   1000 localstatedir='${prefix}/var'
   1001 includedir='${prefix}/include'
   1002 oldincludedir='/usr/include'
   1003 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
   1004 infodir='${datarootdir}/info'
   1005 htmldir='${docdir}'
   1006 dvidir='${docdir}'
   1007 pdfdir='${docdir}'
   1008 psdir='${docdir}'
   1009 libdir='${exec_prefix}/lib'
   1010 localedir='${datarootdir}/locale'
   1011 mandir='${datarootdir}/man'
   1012 
   1013 ac_prev=
   1014 ac_dashdash=
   1015 for ac_option
   1016 do
   1017   # If the previous option needs an argument, assign it.
   1018   if test -n "$ac_prev"; then
   1019     eval $ac_prev=\$ac_option
   1020     ac_prev=
   1021     continue
   1022   fi
   1023 
   1024   case $ac_option in
   1025   *=*)	ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
   1026   *)	ac_optarg=yes ;;
   1027   esac
   1028 
   1029   # Accept the important Cygnus configure options, so we can diagnose typos.
   1030 
   1031   case $ac_dashdash$ac_option in
   1032   --)
   1033     ac_dashdash=yes ;;
   1034 
   1035   -bindir | --bindir | --bindi | --bind | --bin | --bi)
   1036     ac_prev=bindir ;;
   1037   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
   1038     bindir=$ac_optarg ;;
   1039 
   1040   -build | --build | --buil | --bui | --bu)
   1041     ac_prev=build_alias ;;
   1042   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
   1043     build_alias=$ac_optarg ;;
   1044 
   1045   -cache-file | --cache-file | --cache-fil | --cache-fi \
   1046   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
   1047     ac_prev=cache_file ;;
   1048   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
   1049   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
   1050     cache_file=$ac_optarg ;;
   1051 
   1052   --config-cache | -C)
   1053     cache_file=config.cache ;;
   1054 
   1055   -datadir | --datadir | --datadi | --datad)
   1056     ac_prev=datadir ;;
   1057   -datadir=* | --datadir=* | --datadi=* | --datad=*)
   1058     datadir=$ac_optarg ;;
   1059 
   1060   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
   1061   | --dataroo | --dataro | --datar)
   1062     ac_prev=datarootdir ;;
   1063   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
   1064   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
   1065     datarootdir=$ac_optarg ;;
   1066 
   1067   -disable-* | --disable-*)
   1068     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
   1069     # Reject names that are not valid shell variable names.
   1070     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1071       { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
   1072    { (exit 1); exit 1; }; }
   1073     ac_useropt_orig=$ac_useropt
   1074     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1075     case $ac_user_opts in
   1076       *"
   1077 "enable_$ac_useropt"
   1078 "*) ;;
   1079       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
   1080 	 ac_unrecognized_sep=', ';;
   1081     esac
   1082     eval enable_$ac_useropt=no ;;
   1083 
   1084   -docdir | --docdir | --docdi | --doc | --do)
   1085     ac_prev=docdir ;;
   1086   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
   1087     docdir=$ac_optarg ;;
   1088 
   1089   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
   1090     ac_prev=dvidir ;;
   1091   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
   1092     dvidir=$ac_optarg ;;
   1093 
   1094   -enable-* | --enable-*)
   1095     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
   1096     # Reject names that are not valid shell variable names.
   1097     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1098       { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
   1099    { (exit 1); exit 1; }; }
   1100     ac_useropt_orig=$ac_useropt
   1101     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1102     case $ac_user_opts in
   1103       *"
   1104 "enable_$ac_useropt"
   1105 "*) ;;
   1106       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
   1107 	 ac_unrecognized_sep=', ';;
   1108     esac
   1109     eval enable_$ac_useropt=\$ac_optarg ;;
   1110 
   1111   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
   1112   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
   1113   | --exec | --exe | --ex)
   1114     ac_prev=exec_prefix ;;
   1115   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
   1116   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
   1117   | --exec=* | --exe=* | --ex=*)
   1118     exec_prefix=$ac_optarg ;;
   1119 
   1120   -gas | --gas | --ga | --g)
   1121     # Obsolete; use --with-gas.
   1122     with_gas=yes ;;
   1123 
   1124   -help | --help | --hel | --he | -h)
   1125     ac_init_help=long ;;
   1126   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
   1127     ac_init_help=recursive ;;
   1128   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
   1129     ac_init_help=short ;;
   1130 
   1131   -host | --host | --hos | --ho)
   1132     ac_prev=host_alias ;;
   1133   -host=* | --host=* | --hos=* | --ho=*)
   1134     host_alias=$ac_optarg ;;
   1135 
   1136   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
   1137     ac_prev=htmldir ;;
   1138   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
   1139   | --ht=*)
   1140     htmldir=$ac_optarg ;;
   1141 
   1142   -includedir | --includedir | --includedi | --included | --include \
   1143   | --includ | --inclu | --incl | --inc)
   1144     ac_prev=includedir ;;
   1145   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
   1146   | --includ=* | --inclu=* | --incl=* | --inc=*)
   1147     includedir=$ac_optarg ;;
   1148 
   1149   -infodir | --infodir | --infodi | --infod | --info | --inf)
   1150     ac_prev=infodir ;;
   1151   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
   1152     infodir=$ac_optarg ;;
   1153 
   1154   -libdir | --libdir | --libdi | --libd)
   1155     ac_prev=libdir ;;
   1156   -libdir=* | --libdir=* | --libdi=* | --libd=*)
   1157     libdir=$ac_optarg ;;
   1158 
   1159   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
   1160   | --libexe | --libex | --libe)
   1161     ac_prev=libexecdir ;;
   1162   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
   1163   | --libexe=* | --libex=* | --libe=*)
   1164     libexecdir=$ac_optarg ;;
   1165 
   1166   -localedir | --localedir | --localedi | --localed | --locale)
   1167     ac_prev=localedir ;;
   1168   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
   1169     localedir=$ac_optarg ;;
   1170 
   1171   -localstatedir | --localstatedir | --localstatedi | --localstated \
   1172   | --localstate | --localstat | --localsta | --localst | --locals)
   1173     ac_prev=localstatedir ;;
   1174   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   1175   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   1176     localstatedir=$ac_optarg ;;
   1177 
   1178   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1179     ac_prev=mandir ;;
   1180   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1181     mandir=$ac_optarg ;;
   1182 
   1183   -nfp | --nfp | --nf)
   1184     # Obsolete; use --without-fp.
   1185     with_fp=no ;;
   1186 
   1187   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1188   | --no-cr | --no-c | -n)
   1189     no_create=yes ;;
   1190 
   1191   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1192   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1193     no_recursion=yes ;;
   1194 
   1195   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1196   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1197   | --oldin | --oldi | --old | --ol | --o)
   1198     ac_prev=oldincludedir ;;
   1199   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1200   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1201   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1202     oldincludedir=$ac_optarg ;;
   1203 
   1204   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1205     ac_prev=prefix ;;
   1206   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1207     prefix=$ac_optarg ;;
   1208 
   1209   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1210   | --program-pre | --program-pr | --program-p)
   1211     ac_prev=program_prefix ;;
   1212   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1213   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1214     program_prefix=$ac_optarg ;;
   1215 
   1216   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1217   | --program-suf | --program-su | --program-s)
   1218     ac_prev=program_suffix ;;
   1219   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1220   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1221     program_suffix=$ac_optarg ;;
   1222 
   1223   -program-transform-name | --program-transform-name \
   1224   | --program-transform-nam | --program-transform-na \
   1225   | --program-transform-n | --program-transform- \
   1226   | --program-transform | --program-transfor \
   1227   | --program-transfo | --program-transf \
   1228   | --program-trans | --program-tran \
   1229   | --progr-tra | --program-tr | --program-t)
   1230     ac_prev=program_transform_name ;;
   1231   -program-transform-name=* | --program-transform-name=* \
   1232   | --program-transform-nam=* | --program-transform-na=* \
   1233   | --program-transform-n=* | --program-transform-=* \
   1234   | --program-transform=* | --program-transfor=* \
   1235   | --program-transfo=* | --program-transf=* \
   1236   | --program-trans=* | --program-tran=* \
   1237   | --progr-tra=* | --program-tr=* | --program-t=*)
   1238     program_transform_name=$ac_optarg ;;
   1239 
   1240   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1241     ac_prev=pdfdir ;;
   1242   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1243     pdfdir=$ac_optarg ;;
   1244 
   1245   -psdir | --psdir | --psdi | --psd | --ps)
   1246     ac_prev=psdir ;;
   1247   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1248     psdir=$ac_optarg ;;
   1249 
   1250   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1251   | -silent | --silent | --silen | --sile | --sil)
   1252     silent=yes ;;
   1253 
   1254   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1255     ac_prev=sbindir ;;
   1256   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1257   | --sbi=* | --sb=*)
   1258     sbindir=$ac_optarg ;;
   1259 
   1260   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1261   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1262   | --sharedst | --shareds | --shared | --share | --shar \
   1263   | --sha | --sh)
   1264     ac_prev=sharedstatedir ;;
   1265   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1266   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1267   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1268   | --sha=* | --sh=*)
   1269     sharedstatedir=$ac_optarg ;;
   1270 
   1271   -site | --site | --sit)
   1272     ac_prev=site ;;
   1273   -site=* | --site=* | --sit=*)
   1274     site=$ac_optarg ;;
   1275 
   1276   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1277     ac_prev=srcdir ;;
   1278   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1279     srcdir=$ac_optarg ;;
   1280 
   1281   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1282   | --syscon | --sysco | --sysc | --sys | --sy)
   1283     ac_prev=sysconfdir ;;
   1284   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1285   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1286     sysconfdir=$ac_optarg ;;
   1287 
   1288   -target | --target | --targe | --targ | --tar | --ta | --t)
   1289     ac_prev=target_alias ;;
   1290   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1291     target_alias=$ac_optarg ;;
   1292 
   1293   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1294     verbose=yes ;;
   1295 
   1296   -version | --version | --versio | --versi | --vers | -V)
   1297     ac_init_version=: ;;
   1298 
   1299   -with-* | --with-*)
   1300     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1301     # Reject names that are not valid shell variable names.
   1302     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1303       { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
   1304    { (exit 1); exit 1; }; }
   1305     ac_useropt_orig=$ac_useropt
   1306     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1307     case $ac_user_opts in
   1308       *"
   1309 "with_$ac_useropt"
   1310 "*) ;;
   1311       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1312 	 ac_unrecognized_sep=', ';;
   1313     esac
   1314     eval with_$ac_useropt=\$ac_optarg ;;
   1315 
   1316   -without-* | --without-*)
   1317     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1318     # Reject names that are not valid shell variable names.
   1319     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1320       { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
   1321    { (exit 1); exit 1; }; }
   1322     ac_useropt_orig=$ac_useropt
   1323     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1324     case $ac_user_opts in
   1325       *"
   1326 "with_$ac_useropt"
   1327 "*) ;;
   1328       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1329 	 ac_unrecognized_sep=', ';;
   1330     esac
   1331     eval with_$ac_useropt=no ;;
   1332 
   1333   --x)
   1334     # Obsolete; use --with-x.
   1335     with_x=yes ;;
   1336 
   1337   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1338   | --x-incl | --x-inc | --x-in | --x-i)
   1339     ac_prev=x_includes ;;
   1340   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1341   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1342     x_includes=$ac_optarg ;;
   1343 
   1344   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1345   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1346     ac_prev=x_libraries ;;
   1347   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1348   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1349     x_libraries=$ac_optarg ;;
   1350 
   1351   -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
   1352 Try \`$0 --help' for more information." >&2
   1353    { (exit 1); exit 1; }; }
   1354     ;;
   1355 
   1356   *=*)
   1357     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1358     # Reject names that are not valid shell variable names.
   1359     expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
   1360       { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
   1361    { (exit 1); exit 1; }; }
   1362     eval $ac_envvar=\$ac_optarg
   1363     export $ac_envvar ;;
   1364 
   1365   *)
   1366     # FIXME: should be removed in autoconf 3.0.
   1367     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
   1368     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1369       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
   1370     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
   1371     ;;
   1372 
   1373   esac
   1374 done
   1375 
   1376 if test -n "$ac_prev"; then
   1377   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1378   { $as_echo "$as_me: error: missing argument to $ac_option" >&2
   1379    { (exit 1); exit 1; }; }
   1380 fi
   1381 
   1382 if test -n "$ac_unrecognized_opts"; then
   1383   case $enable_option_checking in
   1384     no) ;;
   1385     fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
   1386    { (exit 1); exit 1; }; } ;;
   1387     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1388   esac
   1389 fi
   1390 
   1391 # Check all directory arguments for consistency.
   1392 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1393 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1394 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1395 		libdir localedir mandir
   1396 do
   1397   eval ac_val=\$$ac_var
   1398   # Remove trailing slashes.
   1399   case $ac_val in
   1400     */ )
   1401       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1402       eval $ac_var=\$ac_val;;
   1403   esac
   1404   # Be sure to have absolute directory names.
   1405   case $ac_val in
   1406     [\\/$]* | ?:[\\/]* )  continue;;
   1407     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1408   esac
   1409   { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
   1410    { (exit 1); exit 1; }; }
   1411 done
   1412 
   1413 # There might be people who depend on the old broken behavior: `$host'
   1414 # used to hold the argument of --host etc.
   1415 # FIXME: To remove some day.
   1416 build=$build_alias
   1417 host=$host_alias
   1418 target=$target_alias
   1419 
   1420 # FIXME: To remove some day.
   1421 if test "x$host_alias" != x; then
   1422   if test "x$build_alias" = x; then
   1423     cross_compiling=maybe
   1424     $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
   1425     If a cross compiler is detected then cross compile mode will be used." >&2
   1426   elif test "x$build_alias" != "x$host_alias"; then
   1427     cross_compiling=yes
   1428   fi
   1429 fi
   1430 
   1431 ac_tool_prefix=
   1432 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1433 
   1434 test "$silent" = yes && exec 6>/dev/null
   1435 
   1436 
   1437 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1438 ac_ls_di=`ls -di .` &&
   1439 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1440   { $as_echo "$as_me: error: working directory cannot be determined" >&2
   1441    { (exit 1); exit 1; }; }
   1442 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1443   { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
   1444    { (exit 1); exit 1; }; }
   1445 
   1446 
   1447 # Find the source files, if location was not specified.
   1448 if test -z "$srcdir"; then
   1449   ac_srcdir_defaulted=yes
   1450   # Try the directory containing this script, then the parent directory.
   1451   ac_confdir=`$as_dirname -- "$as_myself" ||
   1452 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1453 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1454 	 X"$as_myself" : 'X\(//\)$' \| \
   1455 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1456 $as_echo X"$as_myself" |
   1457     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1458 	    s//\1/
   1459 	    q
   1460 	  }
   1461 	  /^X\(\/\/\)[^/].*/{
   1462 	    s//\1/
   1463 	    q
   1464 	  }
   1465 	  /^X\(\/\/\)$/{
   1466 	    s//\1/
   1467 	    q
   1468 	  }
   1469 	  /^X\(\/\).*/{
   1470 	    s//\1/
   1471 	    q
   1472 	  }
   1473 	  s/.*/./; q'`
   1474   srcdir=$ac_confdir
   1475   if test ! -r "$srcdir/$ac_unique_file"; then
   1476     srcdir=..
   1477   fi
   1478 else
   1479   ac_srcdir_defaulted=no
   1480 fi
   1481 if test ! -r "$srcdir/$ac_unique_file"; then
   1482   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1483   { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
   1484    { (exit 1); exit 1; }; }
   1485 fi
   1486 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1487 ac_abs_confdir=`(
   1488 	cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
   1489    { (exit 1); exit 1; }; }
   1490 	pwd)`
   1491 # When building in place, set srcdir=.
   1492 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1493   srcdir=.
   1494 fi
   1495 # Remove unnecessary trailing slashes from srcdir.
   1496 # Double slashes in file names in object file debugging info
   1497 # mess up M-x gdb in Emacs.
   1498 case $srcdir in
   1499 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1500 esac
   1501 for ac_var in $ac_precious_vars; do
   1502   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1503   eval ac_env_${ac_var}_value=\$${ac_var}
   1504   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1505   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1506 done
   1507 
   1508 #
   1509 # Report the --help message.
   1510 #
   1511 if test "$ac_init_help" = "long"; then
   1512   # Omit some internal or obsolete options to make the list less imposing.
   1513   # This message is too long to be a string in the A/UX 3.1 sh.
   1514   cat <<_ACEOF
   1515 \`configure' configures libXxf86misc 1.0.2 to adapt to many kinds of systems.
   1516 
   1517 Usage: $0 [OPTION]... [VAR=VALUE]...
   1518 
   1519 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1520 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1521 
   1522 Defaults for the options are specified in brackets.
   1523 
   1524 Configuration:
   1525   -h, --help              display this help and exit
   1526       --help=short        display options specific to this package
   1527       --help=recursive    display the short help of all the included packages
   1528   -V, --version           display version information and exit
   1529   -q, --quiet, --silent   do not print \`checking...' messages
   1530       --cache-file=FILE   cache test results in FILE [disabled]
   1531   -C, --config-cache      alias for \`--cache-file=config.cache'
   1532   -n, --no-create         do not create output files
   1533       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1534 
   1535 Installation directories:
   1536   --prefix=PREFIX         install architecture-independent files in PREFIX
   1537                           [$ac_default_prefix]
   1538   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1539                           [PREFIX]
   1540 
   1541 By default, \`make install' will install all the files in
   1542 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1543 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1544 for instance \`--prefix=\$HOME'.
   1545 
   1546 For better control, use the options below.
   1547 
   1548 Fine tuning of the installation directories:
   1549   --bindir=DIR            user executables [EPREFIX/bin]
   1550   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1551   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1552   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1553   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1554   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1555   --libdir=DIR            object code libraries [EPREFIX/lib]
   1556   --includedir=DIR        C header files [PREFIX/include]
   1557   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1558   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1559   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1560   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1561   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1562   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1563   --docdir=DIR            documentation root [DATAROOTDIR/doc/libXxf86misc]
   1564   --htmldir=DIR           html documentation [DOCDIR]
   1565   --dvidir=DIR            dvi documentation [DOCDIR]
   1566   --pdfdir=DIR            pdf documentation [DOCDIR]
   1567   --psdir=DIR             ps documentation [DOCDIR]
   1568 _ACEOF
   1569 
   1570   cat <<\_ACEOF
   1571 
   1572 Program names:
   1573   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1574   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1575   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1576 
   1577 System types:
   1578   --build=BUILD     configure for building on BUILD [guessed]
   1579   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1580 _ACEOF
   1581 fi
   1582 
   1583 if test -n "$ac_init_help"; then
   1584   case $ac_init_help in
   1585      short | recursive ) echo "Configuration of libXxf86misc 1.0.2:";;
   1586    esac
   1587   cat <<\_ACEOF
   1588 
   1589 Optional Features:
   1590   --disable-option-checking  ignore unrecognized --enable/--with options
   1591   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1592   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1593   --enable-maintainer-mode  enable make rules and dependencies not useful
   1594 			  (and sometimes confusing) to the casual installer
   1595   --disable-dependency-tracking  speeds up one-time build
   1596   --enable-dependency-tracking   do not reject slow dependency extractors
   1597   --enable-shared[=PKGS]  build shared libraries [default=yes]
   1598   --enable-static[=PKGS]  build static libraries [default=yes]
   1599   --enable-fast-install[=PKGS]
   1600                           optimize for fast installation [default=yes]
   1601   --disable-libtool-lock  avoid locking (might break parallel builds)
   1602   --enable-silent-rules          less verbose build output (undo: `make V=1')
   1603   --disable-silent-rules         verbose build output (undo: `make V=0')
   1604   --enable-strict-compilation
   1605                           Enable all warnings from compiler and make them
   1606                           errors (default: disabled)
   1607   --enable-malloc0returnsnull
   1608                           malloc(0) returns NULL (default: auto)
   1609 
   1610 Optional Packages:
   1611   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1612   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1613   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
   1614   --with-pic              try to use only PIC/non-PIC objects [default=use
   1615                           both]
   1616   --with-tags[=TAGS]      include additional configurations [automatic]
   1617   --with-release-version=STRING
   1618                           Use release version string in package name
   1619 
   1620 Some influential environment variables:
   1621   CC          C compiler command
   1622   CFLAGS      C compiler flags
   1623   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1624               nonstandard directory <lib dir>
   1625   LIBS        libraries to pass to the linker, e.g. -l<library>
   1626   CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
   1627               you have headers in a nonstandard directory <include dir>
   1628   CPP         C preprocessor
   1629   CXX         C++ compiler command
   1630   CXXFLAGS    C++ compiler flags
   1631   CXXCPP      C++ preprocessor
   1632   F77         Fortran 77 compiler command
   1633   FFLAGS      Fortran 77 compiler flags
   1634   PKG_CONFIG  path to pkg-config utility
   1635   XXF86MISC_CFLAGS
   1636               C compiler flags for XXF86MISC, overriding pkg-config
   1637   XXF86MISC_LIBS
   1638               linker flags for XXF86MISC, overriding pkg-config
   1639 
   1640 Use these variables to override the choices made by `configure' or to help
   1641 it to find libraries and programs with nonstandard names/locations.
   1642 
   1643 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
   1644 _ACEOF
   1645 ac_status=$?
   1646 fi
   1647 
   1648 if test "$ac_init_help" = "recursive"; then
   1649   # If there are subdirs, report their specific --help.
   1650   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1651     test -d "$ac_dir" ||
   1652       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1653       continue
   1654     ac_builddir=.
   1655 
   1656 case "$ac_dir" in
   1657 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1658 *)
   1659   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   1660   # A ".." for each directory in $ac_dir_suffix.
   1661   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1662   case $ac_top_builddir_sub in
   1663   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1664   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1665   esac ;;
   1666 esac
   1667 ac_abs_top_builddir=$ac_pwd
   1668 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1669 # for backward compatibility:
   1670 ac_top_builddir=$ac_top_build_prefix
   1671 
   1672 case $srcdir in
   1673   .)  # We are building in place.
   1674     ac_srcdir=.
   1675     ac_top_srcdir=$ac_top_builddir_sub
   1676     ac_abs_top_srcdir=$ac_pwd ;;
   1677   [\\/]* | ?:[\\/]* )  # Absolute name.
   1678     ac_srcdir=$srcdir$ac_dir_suffix;
   1679     ac_top_srcdir=$srcdir
   1680     ac_abs_top_srcdir=$srcdir ;;
   1681   *) # Relative name.
   1682     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1683     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1684     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1685 esac
   1686 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1687 
   1688     cd "$ac_dir" || { ac_status=$?; continue; }
   1689     # Check for guested configure.
   1690     if test -f "$ac_srcdir/configure.gnu"; then
   1691       echo &&
   1692       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1693     elif test -f "$ac_srcdir/configure"; then
   1694       echo &&
   1695       $SHELL "$ac_srcdir/configure" --help=recursive
   1696     else
   1697       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1698     fi || ac_status=$?
   1699     cd "$ac_pwd" || { ac_status=$?; break; }
   1700   done
   1701 fi
   1702 
   1703 test -n "$ac_init_help" && exit $ac_status
   1704 if $ac_init_version; then
   1705   cat <<\_ACEOF
   1706 libXxf86misc configure 1.0.2
   1707 generated by GNU Autoconf 2.63
   1708 
   1709 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
   1710 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
   1711 This configure script is free software; the Free Software Foundation
   1712 gives unlimited permission to copy, distribute and modify it.
   1713 _ACEOF
   1714   exit
   1715 fi
   1716 cat >config.log <<_ACEOF
   1717 This file contains any messages produced by compilers while
   1718 running configure, to aid debugging if configure makes a mistake.
   1719 
   1720 It was created by libXxf86misc $as_me 1.0.2, which was
   1721 generated by GNU Autoconf 2.63.  Invocation command line was
   1722 
   1723   $ $0 $@
   1724 
   1725 _ACEOF
   1726 exec 5>>config.log
   1727 {
   1728 cat <<_ASUNAME
   1729 ## --------- ##
   1730 ## Platform. ##
   1731 ## --------- ##
   1732 
   1733 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   1734 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   1735 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   1736 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   1737 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   1738 
   1739 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   1740 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   1741 
   1742 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   1743 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   1744 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   1745 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   1746 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   1747 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   1748 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   1749 
   1750 _ASUNAME
   1751 
   1752 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1753 for as_dir in $PATH
   1754 do
   1755   IFS=$as_save_IFS
   1756   test -z "$as_dir" && as_dir=.
   1757   $as_echo "PATH: $as_dir"
   1758 done
   1759 IFS=$as_save_IFS
   1760 
   1761 } >&5
   1762 
   1763 cat >&5 <<_ACEOF
   1764 
   1765 
   1766 ## ----------- ##
   1767 ## Core tests. ##
   1768 ## ----------- ##
   1769 
   1770 _ACEOF
   1771 
   1772 
   1773 # Keep a trace of the command line.
   1774 # Strip out --no-create and --no-recursion so they do not pile up.
   1775 # Strip out --silent because we don't want to record it for future runs.
   1776 # Also quote any args containing shell meta-characters.
   1777 # Make two passes to allow for proper duplicate-argument suppression.
   1778 ac_configure_args=
   1779 ac_configure_args0=
   1780 ac_configure_args1=
   1781 ac_must_keep_next=false
   1782 for ac_pass in 1 2
   1783 do
   1784   for ac_arg
   1785   do
   1786     case $ac_arg in
   1787     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   1788     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1789     | -silent | --silent | --silen | --sile | --sil)
   1790       continue ;;
   1791     *\'*)
   1792       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1793     esac
   1794     case $ac_pass in
   1795     1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
   1796     2)
   1797       ac_configure_args1="$ac_configure_args1 '$ac_arg'"
   1798       if test $ac_must_keep_next = true; then
   1799 	ac_must_keep_next=false # Got value, back to normal.
   1800       else
   1801 	case $ac_arg in
   1802 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   1803 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   1804 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   1805 	  | -with-* | --with-* | -without-* | --without-* | --x)
   1806 	    case "$ac_configure_args0 " in
   1807 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   1808 	    esac
   1809 	    ;;
   1810 	  -* ) ac_must_keep_next=true ;;
   1811 	esac
   1812       fi
   1813       ac_configure_args="$ac_configure_args '$ac_arg'"
   1814       ;;
   1815     esac
   1816   done
   1817 done
   1818 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
   1819 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
   1820 
   1821 # When interrupted or exit'd, cleanup temporary files, and complete
   1822 # config.log.  We remove comments because anyway the quotes in there
   1823 # would cause problems or look ugly.
   1824 # WARNING: Use '\'' to represent an apostrophe within the trap.
   1825 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   1826 trap 'exit_status=$?
   1827   # Save into config.log some information that might help in debugging.
   1828   {
   1829     echo
   1830 
   1831     cat <<\_ASBOX
   1832 ## ---------------- ##
   1833 ## Cache variables. ##
   1834 ## ---------------- ##
   1835 _ASBOX
   1836     echo
   1837     # The following way of writing the cache mishandles newlines in values,
   1838 (
   1839   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   1840     eval ac_val=\$$ac_var
   1841     case $ac_val in #(
   1842     *${as_nl}*)
   1843       case $ac_var in #(
   1844       *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
   1845 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   1846       esac
   1847       case $ac_var in #(
   1848       _ | IFS | as_nl) ;; #(
   1849       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   1850       *) $as_unset $ac_var ;;
   1851       esac ;;
   1852     esac
   1853   done
   1854   (set) 2>&1 |
   1855     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   1856     *${as_nl}ac_space=\ *)
   1857       sed -n \
   1858 	"s/'\''/'\''\\\\'\'''\''/g;
   1859 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   1860       ;; #(
   1861     *)
   1862       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   1863       ;;
   1864     esac |
   1865     sort
   1866 )
   1867     echo
   1868 
   1869     cat <<\_ASBOX
   1870 ## ----------------- ##
   1871 ## Output variables. ##
   1872 ## ----------------- ##
   1873 _ASBOX
   1874     echo
   1875     for ac_var in $ac_subst_vars
   1876     do
   1877       eval ac_val=\$$ac_var
   1878       case $ac_val in
   1879       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   1880       esac
   1881       $as_echo "$ac_var='\''$ac_val'\''"
   1882     done | sort
   1883     echo
   1884 
   1885     if test -n "$ac_subst_files"; then
   1886       cat <<\_ASBOX
   1887 ## ------------------- ##
   1888 ## File substitutions. ##
   1889 ## ------------------- ##
   1890 _ASBOX
   1891       echo
   1892       for ac_var in $ac_subst_files
   1893       do
   1894 	eval ac_val=\$$ac_var
   1895 	case $ac_val in
   1896 	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   1897 	esac
   1898 	$as_echo "$ac_var='\''$ac_val'\''"
   1899       done | sort
   1900       echo
   1901     fi
   1902 
   1903     if test -s confdefs.h; then
   1904       cat <<\_ASBOX
   1905 ## ----------- ##
   1906 ## confdefs.h. ##
   1907 ## ----------- ##
   1908 _ASBOX
   1909       echo
   1910       cat confdefs.h
   1911       echo
   1912     fi
   1913     test "$ac_signal" != 0 &&
   1914       $as_echo "$as_me: caught signal $ac_signal"
   1915     $as_echo "$as_me: exit $exit_status"
   1916   } >&5
   1917   rm -f core *.core core.conftest.* &&
   1918     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   1919     exit $exit_status
   1920 ' 0
   1921 for ac_signal in 1 2 13 15; do
   1922   trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
   1923 done
   1924 ac_signal=0
   1925 
   1926 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   1927 rm -f -r conftest* confdefs.h
   1928 
   1929 # Predefined preprocessor variables.
   1930 
   1931 cat >>confdefs.h <<_ACEOF
   1932 #define PACKAGE_NAME "$PACKAGE_NAME"
   1933 _ACEOF
   1934 
   1935 
   1936 cat >>confdefs.h <<_ACEOF
   1937 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
   1938 _ACEOF
   1939 
   1940 
   1941 cat >>confdefs.h <<_ACEOF
   1942 #define PACKAGE_VERSION "$PACKAGE_VERSION"
   1943 _ACEOF
   1944 
   1945 
   1946 cat >>confdefs.h <<_ACEOF
   1947 #define PACKAGE_STRING "$PACKAGE_STRING"
   1948 _ACEOF
   1949 
   1950 
   1951 cat >>confdefs.h <<_ACEOF
   1952 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
   1953 _ACEOF
   1954 
   1955 
   1956 # Let the site file select an alternate cache file if it wants to.
   1957 # Prefer an explicitly selected file to automatically selected ones.
   1958 ac_site_file1=NONE
   1959 ac_site_file2=NONE
   1960 if test -n "$CONFIG_SITE"; then
   1961   ac_site_file1=$CONFIG_SITE
   1962 elif test "x$prefix" != xNONE; then
   1963   ac_site_file1=$prefix/share/config.site
   1964   ac_site_file2=$prefix/etc/config.site
   1965 else
   1966   ac_site_file1=$ac_default_prefix/share/config.site
   1967   ac_site_file2=$ac_default_prefix/etc/config.site
   1968 fi
   1969 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
   1970 do
   1971   test "x$ac_site_file" = xNONE && continue
   1972   if test -r "$ac_site_file"; then
   1973     { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
   1974 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
   1975     sed 's/^/| /' "$ac_site_file" >&5
   1976     . "$ac_site_file"
   1977   fi
   1978 done
   1979 
   1980 if test -r "$cache_file"; then
   1981   # Some versions of bash will fail to source /dev/null (special
   1982   # files actually), so we avoid doing that.
   1983   if test -f "$cache_file"; then
   1984     { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
   1985 $as_echo "$as_me: loading cache $cache_file" >&6;}
   1986     case $cache_file in
   1987       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   1988       *)                      . "./$cache_file";;
   1989     esac
   1990   fi
   1991 else
   1992   { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
   1993 $as_echo "$as_me: creating cache $cache_file" >&6;}
   1994   >$cache_file
   1995 fi
   1996 
   1997 # Check that the precious variables saved in the cache have kept the same
   1998 # value.
   1999 ac_cache_corrupted=false
   2000 for ac_var in $ac_precious_vars; do
   2001   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2002   eval ac_new_set=\$ac_env_${ac_var}_set
   2003   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2004   eval ac_new_val=\$ac_env_${ac_var}_value
   2005   case $ac_old_set,$ac_new_set in
   2006     set,)
   2007       { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   2008 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   2009       ac_cache_corrupted=: ;;
   2010     ,set)
   2011       { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
   2012 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   2013       ac_cache_corrupted=: ;;
   2014     ,);;
   2015     *)
   2016       if test "x$ac_old_val" != "x$ac_new_val"; then
   2017 	# differences in whitespace do not lead to failure.
   2018 	ac_old_val_w=`echo x $ac_old_val`
   2019 	ac_new_val_w=`echo x $ac_new_val`
   2020 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2021 	  { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
   2022 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   2023 	  ac_cache_corrupted=:
   2024 	else
   2025 	  { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
   2026 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
   2027 	  eval $ac_var=\$ac_old_val
   2028 	fi
   2029 	{ $as_echo "$as_me:$LINENO:   former value:  \`$ac_old_val'" >&5
   2030 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
   2031 	{ $as_echo "$as_me:$LINENO:   current value: \`$ac_new_val'" >&5
   2032 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
   2033       fi;;
   2034   esac
   2035   # Pass precious variables to config.status.
   2036   if test "$ac_new_set" = set; then
   2037     case $ac_new_val in
   2038     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2039     *) ac_arg=$ac_var=$ac_new_val ;;
   2040     esac
   2041     case " $ac_configure_args " in
   2042       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2043       *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
   2044     esac
   2045   fi
   2046 done
   2047 if $ac_cache_corrupted; then
   2048   { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   2049 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2050   { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
   2051 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
   2052   { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
   2053 $as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
   2054    { (exit 1); exit 1; }; }
   2055 fi
   2056 
   2057 
   2058 
   2059 
   2060 
   2061 
   2062 
   2063 
   2064 
   2065 
   2066 
   2067 
   2068 
   2069 
   2070 
   2071 
   2072 
   2073 
   2074 
   2075 
   2076 
   2077 
   2078 
   2079 
   2080 
   2081 ac_ext=c
   2082 ac_cpp='$CPP $CPPFLAGS'
   2083 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2084 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2085 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2086 
   2087 
   2088 am__api_version='1.11'
   2089 
   2090 ac_aux_dir=
   2091 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
   2092   if test -f "$ac_dir/install-sh"; then
   2093     ac_aux_dir=$ac_dir
   2094     ac_install_sh="$ac_aux_dir/install-sh -c"
   2095     break
   2096   elif test -f "$ac_dir/install.sh"; then
   2097     ac_aux_dir=$ac_dir
   2098     ac_install_sh="$ac_aux_dir/install.sh -c"
   2099     break
   2100   elif test -f "$ac_dir/shtool"; then
   2101     ac_aux_dir=$ac_dir
   2102     ac_install_sh="$ac_aux_dir/shtool install -c"
   2103     break
   2104   fi
   2105 done
   2106 if test -z "$ac_aux_dir"; then
   2107   { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
   2108 $as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
   2109    { (exit 1); exit 1; }; }
   2110 fi
   2111 
   2112 # These three variables are undocumented and unsupported,
   2113 # and are intended to be withdrawn in a future Autoconf release.
   2114 # They can cause serious problems if a builder's source tree is in a directory
   2115 # whose full name contains unusual characters.
   2116 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
   2117 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
   2118 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
   2119 
   2120 
   2121 # Find a good install program.  We prefer a C program (faster),
   2122 # so one script is as good as another.  But avoid the broken or
   2123 # incompatible versions:
   2124 # SysV /etc/install, /usr/sbin/install
   2125 # SunOS /usr/etc/install
   2126 # IRIX /sbin/install
   2127 # AIX /bin/install
   2128 # AmigaOS /C/install, which installs bootblocks on floppy discs
   2129 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   2130 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   2131 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   2132 # OS/2's system install, which has a completely different semantic
   2133 # ./install, which can be erroneously created by make from ./install.sh.
   2134 # Reject install programs that cannot install multiple files.
   2135 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
   2136 $as_echo_n "checking for a BSD-compatible install... " >&6; }
   2137 if test -z "$INSTALL"; then
   2138 if test "${ac_cv_path_install+set}" = set; then
   2139   $as_echo_n "(cached) " >&6
   2140 else
   2141   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2142 for as_dir in $PATH
   2143 do
   2144   IFS=$as_save_IFS
   2145   test -z "$as_dir" && as_dir=.
   2146   # Account for people who put trailing slashes in PATH elements.
   2147 case $as_dir/ in
   2148   ./ | .// | /cC/* | \
   2149   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   2150   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
   2151   /usr/ucb/* ) ;;
   2152   *)
   2153     # OSF1 and SCO ODT 3.0 have their own names for install.
   2154     # Don't use installbsd from OSF since it installs stuff as root
   2155     # by default.
   2156     for ac_prog in ginstall scoinst install; do
   2157       for ac_exec_ext in '' $ac_executable_extensions; do
   2158 	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
   2159 	  if test $ac_prog = install &&
   2160 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2161 	    # AIX install.  It has an incompatible calling convention.
   2162 	    :
   2163 	  elif test $ac_prog = install &&
   2164 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2165 	    # program-specific install script used by HP pwplus--don't use.
   2166 	    :
   2167 	  else
   2168 	    rm -rf conftest.one conftest.two conftest.dir
   2169 	    echo one > conftest.one
   2170 	    echo two > conftest.two
   2171 	    mkdir conftest.dir
   2172 	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
   2173 	      test -s conftest.one && test -s conftest.two &&
   2174 	      test -s conftest.dir/conftest.one &&
   2175 	      test -s conftest.dir/conftest.two
   2176 	    then
   2177 	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
   2178 	      break 3
   2179 	    fi
   2180 	  fi
   2181 	fi
   2182       done
   2183     done
   2184     ;;
   2185 esac
   2186 
   2187 done
   2188 IFS=$as_save_IFS
   2189 
   2190 rm -rf conftest.one conftest.two conftest.dir
   2191 
   2192 fi
   2193   if test "${ac_cv_path_install+set}" = set; then
   2194     INSTALL=$ac_cv_path_install
   2195   else
   2196     # As a last resort, use the slow shell script.  Don't cache a
   2197     # value for INSTALL within a source directory, because that will
   2198     # break other packages using the cache if that directory is
   2199     # removed, or if the value is a relative name.
   2200     INSTALL=$ac_install_sh
   2201   fi
   2202 fi
   2203 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
   2204 $as_echo "$INSTALL" >&6; }
   2205 
   2206 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   2207 # It thinks the first close brace ends the variable substitution.
   2208 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   2209 
   2210 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   2211 
   2212 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   2213 
   2214 { $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5
   2215 $as_echo_n "checking whether build environment is sane... " >&6; }
   2216 # Just in case
   2217 sleep 1
   2218 echo timestamp > conftest.file
   2219 # Reject unsafe characters in $srcdir or the absolute working directory
   2220 # name.  Accept space and tab only in the latter.
   2221 am_lf='
   2222 '
   2223 case `pwd` in
   2224   *[\\\"\#\$\&\'\`$am_lf]*)
   2225     { { $as_echo "$as_me:$LINENO: error: unsafe absolute working directory name" >&5
   2226 $as_echo "$as_me: error: unsafe absolute working directory name" >&2;}
   2227    { (exit 1); exit 1; }; };;
   2228 esac
   2229 case $srcdir in
   2230   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   2231     { { $as_echo "$as_me:$LINENO: error: unsafe srcdir value: \`$srcdir'" >&5
   2232 $as_echo "$as_me: error: unsafe srcdir value: \`$srcdir'" >&2;}
   2233    { (exit 1); exit 1; }; };;
   2234 esac
   2235 
   2236 # Do `set' in a subshell so we don't clobber the current shell's
   2237 # arguments.  Must try -L first in case configure is actually a
   2238 # symlink; some systems play weird games with the mod time of symlinks
   2239 # (eg FreeBSD returns the mod time of the symlink's containing
   2240 # directory).
   2241 if (
   2242    set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   2243    if test "$*" = "X"; then
   2244       # -L didn't work.
   2245       set X `ls -t "$srcdir/configure" conftest.file`
   2246    fi
   2247    rm -f conftest.file
   2248    if test "$*" != "X $srcdir/configure conftest.file" \
   2249       && test "$*" != "X conftest.file $srcdir/configure"; then
   2250 
   2251       # If neither matched, then we have a broken ls.  This can happen
   2252       # if, for instance, CONFIG_SHELL is bash and it inherits a
   2253       # broken ls alias from the environment.  This has actually
   2254       # happened.  Such a system could not be considered "sane".
   2255       { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
   2256 alias in your environment" >&5
   2257 $as_echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
   2258 alias in your environment" >&2;}
   2259    { (exit 1); exit 1; }; }
   2260    fi
   2261 
   2262    test "$2" = conftest.file
   2263    )
   2264 then
   2265    # Ok.
   2266    :
   2267 else
   2268    { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files!
   2269 Check your system clock" >&5
   2270 $as_echo "$as_me: error: newly created file is older than distributed files!
   2271 Check your system clock" >&2;}
   2272    { (exit 1); exit 1; }; }
   2273 fi
   2274 { $as_echo "$as_me:$LINENO: result: yes" >&5
   2275 $as_echo "yes" >&6; }
   2276 test "$program_prefix" != NONE &&
   2277   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   2278 # Use a double $ so make ignores it.
   2279 test "$program_suffix" != NONE &&
   2280   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   2281 # Double any \ or $.
   2282 # By default was `s,x,x', remove it if useless.
   2283 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   2284 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
   2285 
   2286 # expand $ac_aux_dir to an absolute path
   2287 am_aux_dir=`cd $ac_aux_dir && pwd`
   2288 
   2289 if test x"${MISSING+set}" != xset; then
   2290   case $am_aux_dir in
   2291   *\ * | *\	*)
   2292     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
   2293   *)
   2294     MISSING="\${SHELL} $am_aux_dir/missing" ;;
   2295   esac
   2296 fi
   2297 # Use eval to expand $SHELL
   2298 if eval "$MISSING --run true"; then
   2299   am_missing_run="$MISSING --run "
   2300 else
   2301   am_missing_run=
   2302   { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
   2303 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
   2304 fi
   2305 
   2306 if test x"${install_sh}" != xset; then
   2307   case $am_aux_dir in
   2308   *\ * | *\	*)
   2309     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   2310   *)
   2311     install_sh="\${SHELL} $am_aux_dir/install-sh"
   2312   esac
   2313 fi
   2314 
   2315 # Installed binaries are usually stripped using `strip' when the user
   2316 # run `make install-strip'.  However `strip' might not be the right
   2317 # tool to use in cross-compilation environments, therefore Automake
   2318 # will honor the `STRIP' environment variable to overrule this program.
   2319 if test "$cross_compiling" != no; then
   2320   if test -n "$ac_tool_prefix"; then
   2321   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   2322 set dummy ${ac_tool_prefix}strip; ac_word=$2
   2323 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   2324 $as_echo_n "checking for $ac_word... " >&6; }
   2325 if test "${ac_cv_prog_STRIP+set}" = set; then
   2326   $as_echo_n "(cached) " >&6
   2327 else
   2328   if test -n "$STRIP"; then
   2329   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   2330 else
   2331 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2332 for as_dir in $PATH
   2333 do
   2334   IFS=$as_save_IFS
   2335   test -z "$as_dir" && as_dir=.
   2336   for ac_exec_ext in '' $ac_executable_extensions; do
   2337   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2338     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   2339     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2340     break 2
   2341   fi
   2342 done
   2343 done
   2344 IFS=$as_save_IFS
   2345 
   2346 fi
   2347 fi
   2348 STRIP=$ac_cv_prog_STRIP
   2349 if test -n "$STRIP"; then
   2350   { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
   2351 $as_echo "$STRIP" >&6; }
   2352 else
   2353   { $as_echo "$as_me:$LINENO: result: no" >&5
   2354 $as_echo "no" >&6; }
   2355 fi
   2356 
   2357 
   2358 fi
   2359 if test -z "$ac_cv_prog_STRIP"; then
   2360   ac_ct_STRIP=$STRIP
   2361   # Extract the first word of "strip", so it can be a program name with args.
   2362 set dummy strip; ac_word=$2
   2363 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   2364 $as_echo_n "checking for $ac_word... " >&6; }
   2365 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
   2366   $as_echo_n "(cached) " >&6
   2367 else
   2368   if test -n "$ac_ct_STRIP"; then
   2369   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   2370 else
   2371 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2372 for as_dir in $PATH
   2373 do
   2374   IFS=$as_save_IFS
   2375   test -z "$as_dir" && as_dir=.
   2376   for ac_exec_ext in '' $ac_executable_extensions; do
   2377   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2378     ac_cv_prog_ac_ct_STRIP="strip"
   2379     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2380     break 2
   2381   fi
   2382 done
   2383 done
   2384 IFS=$as_save_IFS
   2385 
   2386 fi
   2387 fi
   2388 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   2389 if test -n "$ac_ct_STRIP"; then
   2390   { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
   2391 $as_echo "$ac_ct_STRIP" >&6; }
   2392 else
   2393   { $as_echo "$as_me:$LINENO: result: no" >&5
   2394 $as_echo "no" >&6; }
   2395 fi
   2396 
   2397   if test "x$ac_ct_STRIP" = x; then
   2398     STRIP=":"
   2399   else
   2400     case $cross_compiling:$ac_tool_warned in
   2401 yes:)
   2402 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   2403 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2404 ac_tool_warned=yes ;;
   2405 esac
   2406     STRIP=$ac_ct_STRIP
   2407   fi
   2408 else
   2409   STRIP="$ac_cv_prog_STRIP"
   2410 fi
   2411 
   2412 fi
   2413 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   2414 
   2415 { $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
   2416 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
   2417 if test -z "$MKDIR_P"; then
   2418   if test "${ac_cv_path_mkdir+set}" = set; then
   2419   $as_echo_n "(cached) " >&6
   2420 else
   2421   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2422 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   2423 do
   2424   IFS=$as_save_IFS
   2425   test -z "$as_dir" && as_dir=.
   2426   for ac_prog in mkdir gmkdir; do
   2427 	 for ac_exec_ext in '' $ac_executable_extensions; do
   2428 	   { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
   2429 	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
   2430 	     'mkdir (GNU coreutils) '* | \
   2431 	     'mkdir (coreutils) '* | \
   2432 	     'mkdir (fileutils) '4.1*)
   2433 	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
   2434 	       break 3;;
   2435 	   esac
   2436 	 done
   2437        done
   2438 done
   2439 IFS=$as_save_IFS
   2440 
   2441 fi
   2442 
   2443   if test "${ac_cv_path_mkdir+set}" = set; then
   2444     MKDIR_P="$ac_cv_path_mkdir -p"
   2445   else
   2446     # As a last resort, use the slow shell script.  Don't cache a
   2447     # value for MKDIR_P within a source directory, because that will
   2448     # break other packages using the cache if that directory is
   2449     # removed, or if the value is a relative name.
   2450     test -d ./--version && rmdir ./--version
   2451     MKDIR_P="$ac_install_sh -d"
   2452   fi
   2453 fi
   2454 { $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5
   2455 $as_echo "$MKDIR_P" >&6; }
   2456 
   2457 mkdir_p="$MKDIR_P"
   2458 case $mkdir_p in
   2459   [\\/$]* | ?:[\\/]*) ;;
   2460   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
   2461 esac
   2462 
   2463 for ac_prog in gawk mawk nawk awk
   2464 do
   2465   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2466 set dummy $ac_prog; ac_word=$2
   2467 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   2468 $as_echo_n "checking for $ac_word... " >&6; }
   2469 if test "${ac_cv_prog_AWK+set}" = set; then
   2470   $as_echo_n "(cached) " >&6
   2471 else
   2472   if test -n "$AWK"; then
   2473   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   2474 else
   2475 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2476 for as_dir in $PATH
   2477 do
   2478   IFS=$as_save_IFS
   2479   test -z "$as_dir" && as_dir=.
   2480   for ac_exec_ext in '' $ac_executable_extensions; do
   2481   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2482     ac_cv_prog_AWK="$ac_prog"
   2483     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2484     break 2
   2485   fi
   2486 done
   2487 done
   2488 IFS=$as_save_IFS
   2489 
   2490 fi
   2491 fi
   2492 AWK=$ac_cv_prog_AWK
   2493 if test -n "$AWK"; then
   2494   { $as_echo "$as_me:$LINENO: result: $AWK" >&5
   2495 $as_echo "$AWK" >&6; }
   2496 else
   2497   { $as_echo "$as_me:$LINENO: result: no" >&5
   2498 $as_echo "no" >&6; }
   2499 fi
   2500 
   2501 
   2502   test -n "$AWK" && break
   2503 done
   2504 
   2505 { $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   2506 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   2507 set x ${MAKE-make}
   2508 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   2509 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
   2510   $as_echo_n "(cached) " >&6
   2511 else
   2512   cat >conftest.make <<\_ACEOF
   2513 SHELL = /bin/sh
   2514 all:
   2515 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   2516 _ACEOF
   2517 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
   2518 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   2519   *@@@%%%=?*=@@@%%%*)
   2520     eval ac_cv_prog_make_${ac_make}_set=yes;;
   2521   *)
   2522     eval ac_cv_prog_make_${ac_make}_set=no;;
   2523 esac
   2524 rm -f conftest.make
   2525 fi
   2526 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   2527   { $as_echo "$as_me:$LINENO: result: yes" >&5
   2528 $as_echo "yes" >&6; }
   2529   SET_MAKE=
   2530 else
   2531   { $as_echo "$as_me:$LINENO: result: no" >&5
   2532 $as_echo "no" >&6; }
   2533   SET_MAKE="MAKE=${MAKE-make}"
   2534 fi
   2535 
   2536 rm -rf .tst 2>/dev/null
   2537 mkdir .tst 2>/dev/null
   2538 if test -d .tst; then
   2539   am__leading_dot=.
   2540 else
   2541   am__leading_dot=_
   2542 fi
   2543 rmdir .tst 2>/dev/null
   2544 
   2545 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   2546   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   2547   # is not polluted with repeated "-I."
   2548   am__isrc=' -I$(srcdir)'
   2549   # test to see if srcdir already configured
   2550   if test -f $srcdir/config.status; then
   2551     { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
   2552 $as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
   2553    { (exit 1); exit 1; }; }
   2554   fi
   2555 fi
   2556 
   2557 # test whether we have cygpath
   2558 if test -z "$CYGPATH_W"; then
   2559   if (cygpath --version) >/dev/null 2>/dev/null; then
   2560     CYGPATH_W='cygpath -w'
   2561   else
   2562     CYGPATH_W=echo
   2563   fi
   2564 fi
   2565 
   2566 
   2567 # Define the identity of the package.
   2568  PACKAGE='libXxf86misc'
   2569  VERSION='1.0.2'
   2570 
   2571 
   2572 cat >>confdefs.h <<_ACEOF
   2573 #define PACKAGE "$PACKAGE"
   2574 _ACEOF
   2575 
   2576 
   2577 cat >>confdefs.h <<_ACEOF
   2578 #define VERSION "$VERSION"
   2579 _ACEOF
   2580 
   2581 # Some tools Automake needs.
   2582 
   2583 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   2584 
   2585 
   2586 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   2587 
   2588 
   2589 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   2590 
   2591 
   2592 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   2593 
   2594 
   2595 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   2596 
   2597 # We need awk for the "check" target.  The system "awk" is bad on
   2598 # some platforms.
   2599 # Always define AMTAR for backward compatibility.
   2600 
   2601 AMTAR=${AMTAR-"${am_missing_run}tar"}
   2602 
   2603 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
   2604 
   2605 
   2606 
   2607 
   2608 
   2609 
   2610 { $as_echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
   2611 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
   2612     # Check whether --enable-maintainer-mode was given.
   2613 if test "${enable_maintainer_mode+set}" = set; then
   2614   enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
   2615 else
   2616   USE_MAINTAINER_MODE=no
   2617 fi
   2618 
   2619   { $as_echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
   2620 $as_echo "$USE_MAINTAINER_MODE" >&6; }
   2621    if test $USE_MAINTAINER_MODE = yes; then
   2622   MAINTAINER_MODE_TRUE=
   2623   MAINTAINER_MODE_FALSE='#'
   2624 else
   2625   MAINTAINER_MODE_TRUE='#'
   2626   MAINTAINER_MODE_FALSE=
   2627 fi
   2628 
   2629   MAINT=$MAINTAINER_MODE_TRUE
   2630 
   2631 
   2632 
   2633 # Require xorg-macros 1.3 or later: XORG_DEFAULT_OPTIONS
   2634 
   2635 
   2636 
   2637 
   2638 
   2639 
   2640 
   2641 
   2642 
   2643 
   2644 
   2645 
   2646 ac_config_headers="$ac_config_headers src/config.h"
   2647 
   2648 
   2649 # Check for progs
   2650 ac_ext=c
   2651 ac_cpp='$CPP $CPPFLAGS'
   2652 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2653 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2654 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2655 if test -n "$ac_tool_prefix"; then
   2656   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   2657 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   2658 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   2659 $as_echo_n "checking for $ac_word... " >&6; }
   2660 if test "${ac_cv_prog_CC+set}" = set; then
   2661   $as_echo_n "(cached) " >&6
   2662 else
   2663   if test -n "$CC"; then
   2664   ac_cv_prog_CC="$CC" # Let the user override the test.
   2665 else
   2666 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2667 for as_dir in $PATH
   2668 do
   2669   IFS=$as_save_IFS
   2670   test -z "$as_dir" && as_dir=.
   2671   for ac_exec_ext in '' $ac_executable_extensions; do
   2672   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2673     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   2674     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2675     break 2
   2676   fi
   2677 done
   2678 done
   2679 IFS=$as_save_IFS
   2680 
   2681 fi
   2682 fi
   2683 CC=$ac_cv_prog_CC
   2684 if test -n "$CC"; then
   2685   { $as_echo "$as_me:$LINENO: result: $CC" >&5
   2686 $as_echo "$CC" >&6; }
   2687 else
   2688   { $as_echo "$as_me:$LINENO: result: no" >&5
   2689 $as_echo "no" >&6; }
   2690 fi
   2691 
   2692 
   2693 fi
   2694 if test -z "$ac_cv_prog_CC"; then
   2695   ac_ct_CC=$CC
   2696   # Extract the first word of "gcc", so it can be a program name with args.
   2697 set dummy gcc; ac_word=$2
   2698 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   2699 $as_echo_n "checking for $ac_word... " >&6; }
   2700 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
   2701   $as_echo_n "(cached) " >&6
   2702 else
   2703   if test -n "$ac_ct_CC"; then
   2704   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   2705 else
   2706 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2707 for as_dir in $PATH
   2708 do
   2709   IFS=$as_save_IFS
   2710   test -z "$as_dir" && as_dir=.
   2711   for ac_exec_ext in '' $ac_executable_extensions; do
   2712   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2713     ac_cv_prog_ac_ct_CC="gcc"
   2714     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2715     break 2
   2716   fi
   2717 done
   2718 done
   2719 IFS=$as_save_IFS
   2720 
   2721 fi
   2722 fi
   2723 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   2724 if test -n "$ac_ct_CC"; then
   2725   { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
   2726 $as_echo "$ac_ct_CC" >&6; }
   2727 else
   2728   { $as_echo "$as_me:$LINENO: result: no" >&5
   2729 $as_echo "no" >&6; }
   2730 fi
   2731 
   2732   if test "x$ac_ct_CC" = x; then
   2733     CC=""
   2734   else
   2735     case $cross_compiling:$ac_tool_warned in
   2736 yes:)
   2737 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   2738 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2739 ac_tool_warned=yes ;;
   2740 esac
   2741     CC=$ac_ct_CC
   2742   fi
   2743 else
   2744   CC="$ac_cv_prog_CC"
   2745 fi
   2746 
   2747 if test -z "$CC"; then
   2748           if test -n "$ac_tool_prefix"; then
   2749     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   2750 set dummy ${ac_tool_prefix}cc; ac_word=$2
   2751 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   2752 $as_echo_n "checking for $ac_word... " >&6; }
   2753 if test "${ac_cv_prog_CC+set}" = set; then
   2754   $as_echo_n "(cached) " >&6
   2755 else
   2756   if test -n "$CC"; then
   2757   ac_cv_prog_CC="$CC" # Let the user override the test.
   2758 else
   2759 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2760 for as_dir in $PATH
   2761 do
   2762   IFS=$as_save_IFS
   2763   test -z "$as_dir" && as_dir=.
   2764   for ac_exec_ext in '' $ac_executable_extensions; do
   2765   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2766     ac_cv_prog_CC="${ac_tool_prefix}cc"
   2767     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2768     break 2
   2769   fi
   2770 done
   2771 done
   2772 IFS=$as_save_IFS
   2773 
   2774 fi
   2775 fi
   2776 CC=$ac_cv_prog_CC
   2777 if test -n "$CC"; then
   2778   { $as_echo "$as_me:$LINENO: result: $CC" >&5
   2779 $as_echo "$CC" >&6; }
   2780 else
   2781   { $as_echo "$as_me:$LINENO: result: no" >&5
   2782 $as_echo "no" >&6; }
   2783 fi
   2784 
   2785 
   2786   fi
   2787 fi
   2788 if test -z "$CC"; then
   2789   # Extract the first word of "cc", so it can be a program name with args.
   2790 set dummy cc; ac_word=$2
   2791 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   2792 $as_echo_n "checking for $ac_word... " >&6; }
   2793 if test "${ac_cv_prog_CC+set}" = set; then
   2794   $as_echo_n "(cached) " >&6
   2795 else
   2796   if test -n "$CC"; then
   2797   ac_cv_prog_CC="$CC" # Let the user override the test.
   2798 else
   2799   ac_prog_rejected=no
   2800 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2801 for as_dir in $PATH
   2802 do
   2803   IFS=$as_save_IFS
   2804   test -z "$as_dir" && as_dir=.
   2805   for ac_exec_ext in '' $ac_executable_extensions; do
   2806   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2807     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   2808        ac_prog_rejected=yes
   2809        continue
   2810      fi
   2811     ac_cv_prog_CC="cc"
   2812     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2813     break 2
   2814   fi
   2815 done
   2816 done
   2817 IFS=$as_save_IFS
   2818 
   2819 if test $ac_prog_rejected = yes; then
   2820   # We found a bogon in the path, so make sure we never use it.
   2821   set dummy $ac_cv_prog_CC
   2822   shift
   2823   if test $# != 0; then
   2824     # We chose a different compiler from the bogus one.
   2825     # However, it has the same basename, so the bogon will be chosen
   2826     # first if we set CC to just the basename; use the full file name.
   2827     shift
   2828     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   2829   fi
   2830 fi
   2831 fi
   2832 fi
   2833 CC=$ac_cv_prog_CC
   2834 if test -n "$CC"; then
   2835   { $as_echo "$as_me:$LINENO: result: $CC" >&5
   2836 $as_echo "$CC" >&6; }
   2837 else
   2838   { $as_echo "$as_me:$LINENO: result: no" >&5
   2839 $as_echo "no" >&6; }
   2840 fi
   2841 
   2842 
   2843 fi
   2844 if test -z "$CC"; then
   2845   if test -n "$ac_tool_prefix"; then
   2846   for ac_prog in cl.exe
   2847   do
   2848     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   2849 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   2850 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   2851 $as_echo_n "checking for $ac_word... " >&6; }
   2852 if test "${ac_cv_prog_CC+set}" = set; then
   2853   $as_echo_n "(cached) " >&6
   2854 else
   2855   if test -n "$CC"; then
   2856   ac_cv_prog_CC="$CC" # Let the user override the test.
   2857 else
   2858 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2859 for as_dir in $PATH
   2860 do
   2861   IFS=$as_save_IFS
   2862   test -z "$as_dir" && as_dir=.
   2863   for ac_exec_ext in '' $ac_executable_extensions; do
   2864   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2865     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   2866     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2867     break 2
   2868   fi
   2869 done
   2870 done
   2871 IFS=$as_save_IFS
   2872 
   2873 fi
   2874 fi
   2875 CC=$ac_cv_prog_CC
   2876 if test -n "$CC"; then
   2877   { $as_echo "$as_me:$LINENO: result: $CC" >&5
   2878 $as_echo "$CC" >&6; }
   2879 else
   2880   { $as_echo "$as_me:$LINENO: result: no" >&5
   2881 $as_echo "no" >&6; }
   2882 fi
   2883 
   2884 
   2885     test -n "$CC" && break
   2886   done
   2887 fi
   2888 if test -z "$CC"; then
   2889   ac_ct_CC=$CC
   2890   for ac_prog in cl.exe
   2891 do
   2892   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2893 set dummy $ac_prog; ac_word=$2
   2894 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   2895 $as_echo_n "checking for $ac_word... " >&6; }
   2896 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
   2897   $as_echo_n "(cached) " >&6
   2898 else
   2899   if test -n "$ac_ct_CC"; then
   2900   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   2901 else
   2902 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2903 for as_dir in $PATH
   2904 do
   2905   IFS=$as_save_IFS
   2906   test -z "$as_dir" && as_dir=.
   2907   for ac_exec_ext in '' $ac_executable_extensions; do
   2908   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2909     ac_cv_prog_ac_ct_CC="$ac_prog"
   2910     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2911     break 2
   2912   fi
   2913 done
   2914 done
   2915 IFS=$as_save_IFS
   2916 
   2917 fi
   2918 fi
   2919 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   2920 if test -n "$ac_ct_CC"; then
   2921   { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
   2922 $as_echo "$ac_ct_CC" >&6; }
   2923 else
   2924   { $as_echo "$as_me:$LINENO: result: no" >&5
   2925 $as_echo "no" >&6; }
   2926 fi
   2927 
   2928 
   2929   test -n "$ac_ct_CC" && break
   2930 done
   2931 
   2932   if test "x$ac_ct_CC" = x; then
   2933     CC=""
   2934   else
   2935     case $cross_compiling:$ac_tool_warned in
   2936 yes:)
   2937 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   2938 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2939 ac_tool_warned=yes ;;
   2940 esac
   2941     CC=$ac_ct_CC
   2942   fi
   2943 fi
   2944 
   2945 fi
   2946 
   2947 
   2948 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   2949 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2950 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
   2951 See \`config.log' for more details." >&5
   2952 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
   2953 See \`config.log' for more details." >&2;}
   2954    { (exit 1); exit 1; }; }; }
   2955 
   2956 # Provide some information about the compiler.
   2957 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
   2958 set X $ac_compile
   2959 ac_compiler=$2
   2960 { (ac_try="$ac_compiler --version >&5"
   2961 case "(($ac_try" in
   2962   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2963   *) ac_try_echo=$ac_try;;
   2964 esac
   2965 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   2966 $as_echo "$ac_try_echo") >&5
   2967   (eval "$ac_compiler --version >&5") 2>&5
   2968   ac_status=$?
   2969   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2970   (exit $ac_status); }
   2971 { (ac_try="$ac_compiler -v >&5"
   2972 case "(($ac_try" in
   2973   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2974   *) ac_try_echo=$ac_try;;
   2975 esac
   2976 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   2977 $as_echo "$ac_try_echo") >&5
   2978   (eval "$ac_compiler -v >&5") 2>&5
   2979   ac_status=$?
   2980   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2981   (exit $ac_status); }
   2982 { (ac_try="$ac_compiler -V >&5"
   2983 case "(($ac_try" in
   2984   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2985   *) ac_try_echo=$ac_try;;
   2986 esac
   2987 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   2988 $as_echo "$ac_try_echo") >&5
   2989   (eval "$ac_compiler -V >&5") 2>&5
   2990   ac_status=$?
   2991   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2992   (exit $ac_status); }
   2993 
   2994 cat >conftest.$ac_ext <<_ACEOF
   2995 /* confdefs.h.  */
   2996 _ACEOF
   2997 cat confdefs.h >>conftest.$ac_ext
   2998 cat >>conftest.$ac_ext <<_ACEOF
   2999 /* end confdefs.h.  */
   3000 
   3001 int
   3002 main ()
   3003 {
   3004 
   3005   ;
   3006   return 0;
   3007 }
   3008 _ACEOF
   3009 ac_clean_files_save=$ac_clean_files
   3010 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   3011 # Try to create an executable without -o first, disregard a.out.
   3012 # It will help us diagnose broken compilers, and finding out an intuition
   3013 # of exeext.
   3014 { $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
   3015 $as_echo_n "checking for C compiler default output file name... " >&6; }
   3016 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   3017 
   3018 # The possible output files:
   3019 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   3020 
   3021 ac_rmfiles=
   3022 for ac_file in $ac_files
   3023 do
   3024   case $ac_file in
   3025     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3026     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   3027   esac
   3028 done
   3029 rm -f $ac_rmfiles
   3030 
   3031 if { (ac_try="$ac_link_default"
   3032 case "(($ac_try" in
   3033   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3034   *) ac_try_echo=$ac_try;;
   3035 esac
   3036 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3037 $as_echo "$ac_try_echo") >&5
   3038   (eval "$ac_link_default") 2>&5
   3039   ac_status=$?
   3040   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3041   (exit $ac_status); }; then
   3042   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   3043 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   3044 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   3045 # so that the user can short-circuit this test for compilers unknown to
   3046 # Autoconf.
   3047 for ac_file in $ac_files ''
   3048 do
   3049   test -f "$ac_file" || continue
   3050   case $ac_file in
   3051     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   3052 	;;
   3053     [ab].out )
   3054 	# We found the default executable, but exeext='' is most
   3055 	# certainly right.
   3056 	break;;
   3057     *.* )
   3058         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
   3059 	then :; else
   3060 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3061 	fi
   3062 	# We set ac_cv_exeext here because the later test for it is not
   3063 	# safe: cross compilers may not add the suffix if given an `-o'
   3064 	# argument, so we may need to know it at that point already.
   3065 	# Even if this section looks crufty: it has the advantage of
   3066 	# actually working.
   3067 	break;;
   3068     * )
   3069 	break;;
   3070   esac
   3071 done
   3072 test "$ac_cv_exeext" = no && ac_cv_exeext=
   3073 
   3074 else
   3075   ac_file=''
   3076 fi
   3077 
   3078 { $as_echo "$as_me:$LINENO: result: $ac_file" >&5
   3079 $as_echo "$ac_file" >&6; }
   3080 if test -z "$ac_file"; then
   3081   $as_echo "$as_me: failed program was:" >&5
   3082 sed 's/^/| /' conftest.$ac_ext >&5
   3083 
   3084 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   3085 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3086 { { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
   3087 See \`config.log' for more details." >&5
   3088 $as_echo "$as_me: error: C compiler cannot create executables
   3089 See \`config.log' for more details." >&2;}
   3090    { (exit 77); exit 77; }; }; }
   3091 fi
   3092 
   3093 ac_exeext=$ac_cv_exeext
   3094 
   3095 # Check that the compiler produces executables we can run.  If not, either
   3096 # the compiler is broken, or we cross compile.
   3097 { $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
   3098 $as_echo_n "checking whether the C compiler works... " >&6; }
   3099 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
   3100 # If not cross compiling, check that we can run a simple program.
   3101 if test "$cross_compiling" != yes; then
   3102   if { ac_try='./$ac_file'
   3103   { (case "(($ac_try" in
   3104   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3105   *) ac_try_echo=$ac_try;;
   3106 esac
   3107 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3108 $as_echo "$ac_try_echo") >&5
   3109   (eval "$ac_try") 2>&5
   3110   ac_status=$?
   3111   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3112   (exit $ac_status); }; }; then
   3113     cross_compiling=no
   3114   else
   3115     if test "$cross_compiling" = maybe; then
   3116 	cross_compiling=yes
   3117     else
   3118 	{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   3119 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3120 { { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
   3121 If you meant to cross compile, use \`--host'.
   3122 See \`config.log' for more details." >&5
   3123 $as_echo "$as_me: error: cannot run C compiled programs.
   3124 If you meant to cross compile, use \`--host'.
   3125 See \`config.log' for more details." >&2;}
   3126    { (exit 1); exit 1; }; }; }
   3127     fi
   3128   fi
   3129 fi
   3130 { $as_echo "$as_me:$LINENO: result: yes" >&5
   3131 $as_echo "yes" >&6; }
   3132 
   3133 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   3134 ac_clean_files=$ac_clean_files_save
   3135 # Check that the compiler produces executables we can run.  If not, either
   3136 # the compiler is broken, or we cross compile.
   3137 { $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
   3138 $as_echo_n "checking whether we are cross compiling... " >&6; }
   3139 { $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
   3140 $as_echo "$cross_compiling" >&6; }
   3141 
   3142 { $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
   3143 $as_echo_n "checking for suffix of executables... " >&6; }
   3144 if { (ac_try="$ac_link"
   3145 case "(($ac_try" in
   3146   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3147   *) ac_try_echo=$ac_try;;
   3148 esac
   3149 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3150 $as_echo "$ac_try_echo") >&5
   3151   (eval "$ac_link") 2>&5
   3152   ac_status=$?
   3153   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3154   (exit $ac_status); }; then
   3155   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   3156 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   3157 # work properly (i.e., refer to `conftest.exe'), while it won't with
   3158 # `rm'.
   3159 for ac_file in conftest.exe conftest conftest.*; do
   3160   test -f "$ac_file" || continue
   3161   case $ac_file in
   3162     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3163     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3164 	  break;;
   3165     * ) break;;
   3166   esac
   3167 done
   3168 else
   3169   { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   3170 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3171 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
   3172 See \`config.log' for more details." >&5
   3173 $as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
   3174 See \`config.log' for more details." >&2;}
   3175    { (exit 1); exit 1; }; }; }
   3176 fi
   3177 
   3178 rm -f conftest$ac_cv_exeext
   3179 { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
   3180 $as_echo "$ac_cv_exeext" >&6; }
   3181 
   3182 rm -f conftest.$ac_ext
   3183 EXEEXT=$ac_cv_exeext
   3184 ac_exeext=$EXEEXT
   3185 { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
   3186 $as_echo_n "checking for suffix of object files... " >&6; }
   3187 if test "${ac_cv_objext+set}" = set; then
   3188   $as_echo_n "(cached) " >&6
   3189 else
   3190   cat >conftest.$ac_ext <<_ACEOF
   3191 /* confdefs.h.  */
   3192 _ACEOF
   3193 cat confdefs.h >>conftest.$ac_ext
   3194 cat >>conftest.$ac_ext <<_ACEOF
   3195 /* end confdefs.h.  */
   3196 
   3197 int
   3198 main ()
   3199 {
   3200 
   3201   ;
   3202   return 0;
   3203 }
   3204 _ACEOF
   3205 rm -f conftest.o conftest.obj
   3206 if { (ac_try="$ac_compile"
   3207 case "(($ac_try" in
   3208   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3209   *) ac_try_echo=$ac_try;;
   3210 esac
   3211 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3212 $as_echo "$ac_try_echo") >&5
   3213   (eval "$ac_compile") 2>&5
   3214   ac_status=$?
   3215   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3216   (exit $ac_status); }; then
   3217   for ac_file in conftest.o conftest.obj conftest.*; do
   3218   test -f "$ac_file" || continue;
   3219   case $ac_file in
   3220     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   3221     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   3222        break;;
   3223   esac
   3224 done
   3225 else
   3226   $as_echo "$as_me: failed program was:" >&5
   3227 sed 's/^/| /' conftest.$ac_ext >&5
   3228 
   3229 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   3230 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3231 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
   3232 See \`config.log' for more details." >&5
   3233 $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
   3234 See \`config.log' for more details." >&2;}
   3235    { (exit 1); exit 1; }; }; }
   3236 fi
   3237 
   3238 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   3239 fi
   3240 { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
   3241 $as_echo "$ac_cv_objext" >&6; }
   3242 OBJEXT=$ac_cv_objext
   3243 ac_objext=$OBJEXT
   3244 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
   3245 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
   3246 if test "${ac_cv_c_compiler_gnu+set}" = set; then
   3247   $as_echo_n "(cached) " >&6
   3248 else
   3249   cat >conftest.$ac_ext <<_ACEOF
   3250 /* confdefs.h.  */
   3251 _ACEOF
   3252 cat confdefs.h >>conftest.$ac_ext
   3253 cat >>conftest.$ac_ext <<_ACEOF
   3254 /* end confdefs.h.  */
   3255 
   3256 int
   3257 main ()
   3258 {
   3259 #ifndef __GNUC__
   3260        choke me
   3261 #endif
   3262 
   3263   ;
   3264   return 0;
   3265 }
   3266 _ACEOF
   3267 rm -f conftest.$ac_objext
   3268 if { (ac_try="$ac_compile"
   3269 case "(($ac_try" in
   3270   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3271   *) ac_try_echo=$ac_try;;
   3272 esac
   3273 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3274 $as_echo "$ac_try_echo") >&5
   3275   (eval "$ac_compile") 2>conftest.er1
   3276   ac_status=$?
   3277   grep -v '^ *+' conftest.er1 >conftest.err
   3278   rm -f conftest.er1
   3279   cat conftest.err >&5
   3280   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3281   (exit $ac_status); } && {
   3282 	 test -z "$ac_c_werror_flag" ||
   3283 	 test ! -s conftest.err
   3284        } && test -s conftest.$ac_objext; then
   3285   ac_compiler_gnu=yes
   3286 else
   3287   $as_echo "$as_me: failed program was:" >&5
   3288 sed 's/^/| /' conftest.$ac_ext >&5
   3289 
   3290 	ac_compiler_gnu=no
   3291 fi
   3292 
   3293 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3294 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   3295 
   3296 fi
   3297 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
   3298 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
   3299 if test $ac_compiler_gnu = yes; then
   3300   GCC=yes
   3301 else
   3302   GCC=
   3303 fi
   3304 ac_test_CFLAGS=${CFLAGS+set}
   3305 ac_save_CFLAGS=$CFLAGS
   3306 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
   3307 $as_echo_n "checking whether $CC accepts -g... " >&6; }
   3308 if test "${ac_cv_prog_cc_g+set}" = set; then
   3309   $as_echo_n "(cached) " >&6
   3310 else
   3311   ac_save_c_werror_flag=$ac_c_werror_flag
   3312    ac_c_werror_flag=yes
   3313    ac_cv_prog_cc_g=no
   3314    CFLAGS="-g"
   3315    cat >conftest.$ac_ext <<_ACEOF
   3316 /* confdefs.h.  */
   3317 _ACEOF
   3318 cat confdefs.h >>conftest.$ac_ext
   3319 cat >>conftest.$ac_ext <<_ACEOF
   3320 /* end confdefs.h.  */
   3321 
   3322 int
   3323 main ()
   3324 {
   3325 
   3326   ;
   3327   return 0;
   3328 }
   3329 _ACEOF
   3330 rm -f conftest.$ac_objext
   3331 if { (ac_try="$ac_compile"
   3332 case "(($ac_try" in
   3333   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3334   *) ac_try_echo=$ac_try;;
   3335 esac
   3336 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3337 $as_echo "$ac_try_echo") >&5
   3338   (eval "$ac_compile") 2>conftest.er1
   3339   ac_status=$?
   3340   grep -v '^ *+' conftest.er1 >conftest.err
   3341   rm -f conftest.er1
   3342   cat conftest.err >&5
   3343   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3344   (exit $ac_status); } && {
   3345 	 test -z "$ac_c_werror_flag" ||
   3346 	 test ! -s conftest.err
   3347        } && test -s conftest.$ac_objext; then
   3348   ac_cv_prog_cc_g=yes
   3349 else
   3350   $as_echo "$as_me: failed program was:" >&5
   3351 sed 's/^/| /' conftest.$ac_ext >&5
   3352 
   3353 	CFLAGS=""
   3354       cat >conftest.$ac_ext <<_ACEOF
   3355 /* confdefs.h.  */
   3356 _ACEOF
   3357 cat confdefs.h >>conftest.$ac_ext
   3358 cat >>conftest.$ac_ext <<_ACEOF
   3359 /* end confdefs.h.  */
   3360 
   3361 int
   3362 main ()
   3363 {
   3364 
   3365   ;
   3366   return 0;
   3367 }
   3368 _ACEOF
   3369 rm -f conftest.$ac_objext
   3370 if { (ac_try="$ac_compile"
   3371 case "(($ac_try" in
   3372   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3373   *) ac_try_echo=$ac_try;;
   3374 esac
   3375 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3376 $as_echo "$ac_try_echo") >&5
   3377   (eval "$ac_compile") 2>conftest.er1
   3378   ac_status=$?
   3379   grep -v '^ *+' conftest.er1 >conftest.err
   3380   rm -f conftest.er1
   3381   cat conftest.err >&5
   3382   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3383   (exit $ac_status); } && {
   3384 	 test -z "$ac_c_werror_flag" ||
   3385 	 test ! -s conftest.err
   3386        } && test -s conftest.$ac_objext; then
   3387   :
   3388 else
   3389   $as_echo "$as_me: failed program was:" >&5
   3390 sed 's/^/| /' conftest.$ac_ext >&5
   3391 
   3392 	ac_c_werror_flag=$ac_save_c_werror_flag
   3393 	 CFLAGS="-g"
   3394 	 cat >conftest.$ac_ext <<_ACEOF
   3395 /* confdefs.h.  */
   3396 _ACEOF
   3397 cat confdefs.h >>conftest.$ac_ext
   3398 cat >>conftest.$ac_ext <<_ACEOF
   3399 /* end confdefs.h.  */
   3400 
   3401 int
   3402 main ()
   3403 {
   3404 
   3405   ;
   3406   return 0;
   3407 }
   3408 _ACEOF
   3409 rm -f conftest.$ac_objext
   3410 if { (ac_try="$ac_compile"
   3411 case "(($ac_try" in
   3412   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3413   *) ac_try_echo=$ac_try;;
   3414 esac
   3415 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3416 $as_echo "$ac_try_echo") >&5
   3417   (eval "$ac_compile") 2>conftest.er1
   3418   ac_status=$?
   3419   grep -v '^ *+' conftest.er1 >conftest.err
   3420   rm -f conftest.er1
   3421   cat conftest.err >&5
   3422   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3423   (exit $ac_status); } && {
   3424 	 test -z "$ac_c_werror_flag" ||
   3425 	 test ! -s conftest.err
   3426        } && test -s conftest.$ac_objext; then
   3427   ac_cv_prog_cc_g=yes
   3428 else
   3429   $as_echo "$as_me: failed program was:" >&5
   3430 sed 's/^/| /' conftest.$ac_ext >&5
   3431 
   3432 
   3433 fi
   3434 
   3435 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3436 fi
   3437 
   3438 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3439 fi
   3440 
   3441 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3442    ac_c_werror_flag=$ac_save_c_werror_flag
   3443 fi
   3444 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
   3445 $as_echo "$ac_cv_prog_cc_g" >&6; }
   3446 if test "$ac_test_CFLAGS" = set; then
   3447   CFLAGS=$ac_save_CFLAGS
   3448 elif test $ac_cv_prog_cc_g = yes; then
   3449   if test "$GCC" = yes; then
   3450     CFLAGS="-g -O2"
   3451   else
   3452     CFLAGS="-g"
   3453   fi
   3454 else
   3455   if test "$GCC" = yes; then
   3456     CFLAGS="-O2"
   3457   else
   3458     CFLAGS=
   3459   fi
   3460 fi
   3461 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
   3462 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
   3463 if test "${ac_cv_prog_cc_c89+set}" = set; then
   3464   $as_echo_n "(cached) " >&6
   3465 else
   3466   ac_cv_prog_cc_c89=no
   3467 ac_save_CC=$CC
   3468 cat >conftest.$ac_ext <<_ACEOF
   3469 /* confdefs.h.  */
   3470 _ACEOF
   3471 cat confdefs.h >>conftest.$ac_ext
   3472 cat >>conftest.$ac_ext <<_ACEOF
   3473 /* end confdefs.h.  */
   3474 #include <stdarg.h>
   3475 #include <stdio.h>
   3476 #include <sys/types.h>
   3477 #include <sys/stat.h>
   3478 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   3479 struct buf { int x; };
   3480 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   3481 static char *e (p, i)
   3482      char **p;
   3483      int i;
   3484 {
   3485   return p[i];
   3486 }
   3487 static char *f (char * (*g) (char **, int), char **p, ...)
   3488 {
   3489   char *s;
   3490   va_list v;
   3491   va_start (v,p);
   3492   s = g (p, va_arg (v,int));
   3493   va_end (v);
   3494   return s;
   3495 }
   3496 
   3497 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   3498    function prototypes and stuff, but not '\xHH' hex character constants.
   3499    These don't provoke an error unfortunately, instead are silently treated
   3500    as 'x'.  The following induces an error, until -std is added to get
   3501    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   3502    array size at least.  It's necessary to write '\x00'==0 to get something
   3503    that's true only with -std.  */
   3504 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   3505 
   3506 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   3507    inside strings and character constants.  */
   3508 #define FOO(x) 'x'
   3509 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   3510 
   3511 int test (int i, double x);
   3512 struct s1 {int (*f) (int a);};
   3513 struct s2 {int (*f) (double a);};
   3514 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   3515 int argc;
   3516 char **argv;
   3517 int
   3518 main ()
   3519 {
   3520 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   3521   ;
   3522   return 0;
   3523 }
   3524 _ACEOF
   3525 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   3526 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   3527 do
   3528   CC="$ac_save_CC $ac_arg"
   3529   rm -f conftest.$ac_objext
   3530 if { (ac_try="$ac_compile"
   3531 case "(($ac_try" in
   3532   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3533   *) ac_try_echo=$ac_try;;
   3534 esac
   3535 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3536 $as_echo "$ac_try_echo") >&5
   3537   (eval "$ac_compile") 2>conftest.er1
   3538   ac_status=$?
   3539   grep -v '^ *+' conftest.er1 >conftest.err
   3540   rm -f conftest.er1
   3541   cat conftest.err >&5
   3542   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3543   (exit $ac_status); } && {
   3544 	 test -z "$ac_c_werror_flag" ||
   3545 	 test ! -s conftest.err
   3546        } && test -s conftest.$ac_objext; then
   3547   ac_cv_prog_cc_c89=$ac_arg
   3548 else
   3549   $as_echo "$as_me: failed program was:" >&5
   3550 sed 's/^/| /' conftest.$ac_ext >&5
   3551 
   3552 
   3553 fi
   3554 
   3555 rm -f core conftest.err conftest.$ac_objext
   3556   test "x$ac_cv_prog_cc_c89" != "xno" && break
   3557 done
   3558 rm -f conftest.$ac_ext
   3559 CC=$ac_save_CC
   3560 
   3561 fi
   3562 # AC_CACHE_VAL
   3563 case "x$ac_cv_prog_cc_c89" in
   3564   x)
   3565     { $as_echo "$as_me:$LINENO: result: none needed" >&5
   3566 $as_echo "none needed" >&6; } ;;
   3567   xno)
   3568     { $as_echo "$as_me:$LINENO: result: unsupported" >&5
   3569 $as_echo "unsupported" >&6; } ;;
   3570   *)
   3571     CC="$CC $ac_cv_prog_cc_c89"
   3572     { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
   3573 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
   3574 esac
   3575 
   3576 
   3577 ac_ext=c
   3578 ac_cpp='$CPP $CPPFLAGS'
   3579 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3580 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3581 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3582 DEPDIR="${am__leading_dot}deps"
   3583 
   3584 ac_config_commands="$ac_config_commands depfiles"
   3585 
   3586 
   3587 am_make=${MAKE-make}
   3588 cat > confinc << 'END'
   3589 am__doit:
   3590 	@echo this is the am__doit target
   3591 .PHONY: am__doit
   3592 END
   3593 # If we don't find an include directive, just comment out the code.
   3594 { $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
   3595 $as_echo_n "checking for style of include used by $am_make... " >&6; }
   3596 am__include="#"
   3597 am__quote=
   3598 _am_result=none
   3599 # First try GNU make style include.
   3600 echo "include confinc" > confmf
   3601 # Ignore all kinds of additional output from `make'.
   3602 case `$am_make -s -f confmf 2> /dev/null` in #(
   3603 *the\ am__doit\ target*)
   3604   am__include=include
   3605   am__quote=
   3606   _am_result=GNU
   3607   ;;
   3608 esac
   3609 # Now try BSD make style include.
   3610 if test "$am__include" = "#"; then
   3611    echo '.include "confinc"' > confmf
   3612    case `$am_make -s -f confmf 2> /dev/null` in #(
   3613    *the\ am__doit\ target*)
   3614      am__include=.include
   3615      am__quote="\""
   3616      _am_result=BSD
   3617      ;;
   3618    esac
   3619 fi
   3620 
   3621 
   3622 { $as_echo "$as_me:$LINENO: result: $_am_result" >&5
   3623 $as_echo "$_am_result" >&6; }
   3624 rm -f confinc confmf
   3625 
   3626 # Check whether --enable-dependency-tracking was given.
   3627 if test "${enable_dependency_tracking+set}" = set; then
   3628   enableval=$enable_dependency_tracking;
   3629 fi
   3630 
   3631 if test "x$enable_dependency_tracking" != xno; then
   3632   am_depcomp="$ac_aux_dir/depcomp"
   3633   AMDEPBACKSLASH='\'
   3634 fi
   3635  if test "x$enable_dependency_tracking" != xno; then
   3636   AMDEP_TRUE=
   3637   AMDEP_FALSE='#'
   3638 else
   3639   AMDEP_TRUE='#'
   3640   AMDEP_FALSE=
   3641 fi
   3642 
   3643 
   3644 
   3645 depcc="$CC"   am_compiler_list=
   3646 
   3647 { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
   3648 $as_echo_n "checking dependency style of $depcc... " >&6; }
   3649 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
   3650   $as_echo_n "(cached) " >&6
   3651 else
   3652   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   3653   # We make a subdir and do the tests there.  Otherwise we can end up
   3654   # making bogus files that we don't know about and never remove.  For
   3655   # instance it was reported that on HP-UX the gcc test will end up
   3656   # making a dummy file named `D' -- because `-MD' means `put the output
   3657   # in D'.
   3658   mkdir conftest.dir
   3659   # Copy depcomp to subdir because otherwise we won't find it if we're
   3660   # using a relative directory.
   3661   cp "$am_depcomp" conftest.dir
   3662   cd conftest.dir
   3663   # We will build objects and dependencies in a subdirectory because
   3664   # it helps to detect inapplicable dependency modes.  For instance
   3665   # both Tru64's cc and ICC support -MD to output dependencies as a
   3666   # side effect of compilation, but ICC will put the dependencies in
   3667   # the current directory while Tru64 will put them in the object
   3668   # directory.
   3669   mkdir sub
   3670 
   3671   am_cv_CC_dependencies_compiler_type=none
   3672   if test "$am_compiler_list" = ""; then
   3673      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   3674   fi
   3675   am__universal=false
   3676   case " $depcc " in #(
   3677      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   3678      esac
   3679 
   3680   for depmode in $am_compiler_list; do
   3681     # Setup a source with many dependencies, because some compilers
   3682     # like to wrap large dependency lists on column 80 (with \), and
   3683     # we should not choose a depcomp mode which is confused by this.
   3684     #
   3685     # We need to recreate these files for each test, as the compiler may
   3686     # overwrite some of them when testing with obscure command lines.
   3687     # This happens at least with the AIX C compiler.
   3688     : > sub/conftest.c
   3689     for i in 1 2 3 4 5 6; do
   3690       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   3691       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
   3692       # Solaris 8's {/usr,}/bin/sh.
   3693       touch sub/conftst$i.h
   3694     done
   3695     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   3696 
   3697     # We check with `-c' and `-o' for the sake of the "dashmstdout"
   3698     # mode.  It turns out that the SunPro C++ compiler does not properly
   3699     # handle `-M -o', and we need to detect this.  Also, some Intel
   3700     # versions had trouble with output in subdirs
   3701     am__obj=sub/conftest.${OBJEXT-o}
   3702     am__minus_obj="-o $am__obj"
   3703     case $depmode in
   3704     gcc)
   3705       # This depmode causes a compiler race in universal mode.
   3706       test "$am__universal" = false || continue
   3707       ;;
   3708     nosideeffect)
   3709       # after this tag, mechanisms are not by side-effect, so they'll
   3710       # only be used when explicitly requested
   3711       if test "x$enable_dependency_tracking" = xyes; then
   3712 	continue
   3713       else
   3714 	break
   3715       fi
   3716       ;;
   3717     msvisualcpp | msvcmsys)
   3718       # This compiler won't grok `-c -o', but also, the minuso test has
   3719       # not run yet.  These depmodes are late enough in the game, and
   3720       # so weak that their functioning should not be impacted.
   3721       am__obj=conftest.${OBJEXT-o}
   3722       am__minus_obj=
   3723       ;;
   3724     none) break ;;
   3725     esac
   3726     if depmode=$depmode \
   3727        source=sub/conftest.c object=$am__obj \
   3728        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   3729        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   3730          >/dev/null 2>conftest.err &&
   3731        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   3732        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   3733        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   3734        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   3735       # icc doesn't choke on unknown options, it will just issue warnings
   3736       # or remarks (even with -Werror).  So we grep stderr for any message
   3737       # that says an option was ignored or not supported.
   3738       # When given -MP, icc 7.0 and 7.1 complain thusly:
   3739       #   icc: Command line warning: ignoring option '-M'; no argument required
   3740       # The diagnosis changed in icc 8.0:
   3741       #   icc: Command line remark: option '-MP' not supported
   3742       if (grep 'ignoring option' conftest.err ||
   3743           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   3744         am_cv_CC_dependencies_compiler_type=$depmode
   3745         break
   3746       fi
   3747     fi
   3748   done
   3749 
   3750   cd ..
   3751   rm -rf conftest.dir
   3752 else
   3753   am_cv_CC_dependencies_compiler_type=none
   3754 fi
   3755 
   3756 fi
   3757 { $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
   3758 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
   3759 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   3760 
   3761  if
   3762   test "x$enable_dependency_tracking" != xno \
   3763   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   3764   am__fastdepCC_TRUE=
   3765   am__fastdepCC_FALSE='#'
   3766 else
   3767   am__fastdepCC_TRUE='#'
   3768   am__fastdepCC_FALSE=
   3769 fi
   3770 
   3771 
   3772 # Check whether --enable-shared was given.
   3773 if test "${enable_shared+set}" = set; then
   3774   enableval=$enable_shared; p=${PACKAGE-default}
   3775     case $enableval in
   3776     yes) enable_shared=yes ;;
   3777     no) enable_shared=no ;;
   3778     *)
   3779       enable_shared=no
   3780       # Look at the argument we got.  We use all the common list separators.
   3781       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   3782       for pkg in $enableval; do
   3783 	IFS="$lt_save_ifs"
   3784 	if test "X$pkg" = "X$p"; then
   3785 	  enable_shared=yes
   3786 	fi
   3787       done
   3788       IFS="$lt_save_ifs"
   3789       ;;
   3790     esac
   3791 else
   3792   enable_shared=yes
   3793 fi
   3794 
   3795 
   3796 # Check whether --enable-static was given.
   3797 if test "${enable_static+set}" = set; then
   3798   enableval=$enable_static; p=${PACKAGE-default}
   3799     case $enableval in
   3800     yes) enable_static=yes ;;
   3801     no) enable_static=no ;;
   3802     *)
   3803      enable_static=no
   3804       # Look at the argument we got.  We use all the common list separators.
   3805       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   3806       for pkg in $enableval; do
   3807 	IFS="$lt_save_ifs"
   3808 	if test "X$pkg" = "X$p"; then
   3809 	  enable_static=yes
   3810 	fi
   3811       done
   3812       IFS="$lt_save_ifs"
   3813       ;;
   3814     esac
   3815 else
   3816   enable_static=yes
   3817 fi
   3818 
   3819 
   3820 # Check whether --enable-fast-install was given.
   3821 if test "${enable_fast_install+set}" = set; then
   3822   enableval=$enable_fast_install; p=${PACKAGE-default}
   3823     case $enableval in
   3824     yes) enable_fast_install=yes ;;
   3825     no) enable_fast_install=no ;;
   3826     *)
   3827       enable_fast_install=no
   3828       # Look at the argument we got.  We use all the common list separators.
   3829       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   3830       for pkg in $enableval; do
   3831 	IFS="$lt_save_ifs"
   3832 	if test "X$pkg" = "X$p"; then
   3833 	  enable_fast_install=yes
   3834 	fi
   3835       done
   3836       IFS="$lt_save_ifs"
   3837       ;;
   3838     esac
   3839 else
   3840   enable_fast_install=yes
   3841 fi
   3842 
   3843 
   3844 # Make sure we can run config.sub.
   3845 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
   3846   { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
   3847 $as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
   3848    { (exit 1); exit 1; }; }
   3849 
   3850 { $as_echo "$as_me:$LINENO: checking build system type" >&5
   3851 $as_echo_n "checking build system type... " >&6; }
   3852 if test "${ac_cv_build+set}" = set; then
   3853   $as_echo_n "(cached) " >&6
   3854 else
   3855   ac_build_alias=$build_alias
   3856 test "x$ac_build_alias" = x &&
   3857   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
   3858 test "x$ac_build_alias" = x &&
   3859   { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
   3860 $as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
   3861    { (exit 1); exit 1; }; }
   3862 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
   3863   { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
   3864 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
   3865    { (exit 1); exit 1; }; }
   3866 
   3867 fi
   3868 { $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
   3869 $as_echo "$ac_cv_build" >&6; }
   3870 case $ac_cv_build in
   3871 *-*-*) ;;
   3872 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
   3873 $as_echo "$as_me: error: invalid value of canonical build" >&2;}
   3874    { (exit 1); exit 1; }; };;
   3875 esac
   3876 build=$ac_cv_build
   3877 ac_save_IFS=$IFS; IFS='-'
   3878 set x $ac_cv_build
   3879 shift
   3880 build_cpu=$1
   3881 build_vendor=$2
   3882 shift; shift
   3883 # Remember, the first character of IFS is used to create $*,
   3884 # except with old shells:
   3885 build_os=$*
   3886 IFS=$ac_save_IFS
   3887 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   3888 
   3889 
   3890 { $as_echo "$as_me:$LINENO: checking host system type" >&5
   3891 $as_echo_n "checking host system type... " >&6; }
   3892 if test "${ac_cv_host+set}" = set; then
   3893   $as_echo_n "(cached) " >&6
   3894 else
   3895   if test "x$host_alias" = x; then
   3896   ac_cv_host=$ac_cv_build
   3897 else
   3898   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
   3899     { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
   3900 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
   3901    { (exit 1); exit 1; }; }
   3902 fi
   3903 
   3904 fi
   3905 { $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
   3906 $as_echo "$ac_cv_host" >&6; }
   3907 case $ac_cv_host in
   3908 *-*-*) ;;
   3909 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
   3910 $as_echo "$as_me: error: invalid value of canonical host" >&2;}
   3911    { (exit 1); exit 1; }; };;
   3912 esac
   3913 host=$ac_cv_host
   3914 ac_save_IFS=$IFS; IFS='-'
   3915 set x $ac_cv_host
   3916 shift
   3917 host_cpu=$1
   3918 host_vendor=$2
   3919 shift; shift
   3920 # Remember, the first character of IFS is used to create $*,
   3921 # except with old shells:
   3922 host_os=$*
   3923 IFS=$ac_save_IFS
   3924 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   3925 
   3926 
   3927 { $as_echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
   3928 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
   3929 if test "${lt_cv_path_SED+set}" = set; then
   3930   $as_echo_n "(cached) " >&6
   3931 else
   3932   # Loop through the user's path and test for sed and gsed.
   3933 # Then use that list of sed's as ones to test for truncation.
   3934 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3935 for as_dir in $PATH
   3936 do
   3937   IFS=$as_save_IFS
   3938   test -z "$as_dir" && as_dir=.
   3939   for lt_ac_prog in sed gsed; do
   3940     for ac_exec_ext in '' $ac_executable_extensions; do
   3941       if { test -f "$as_dir/$lt_ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$lt_ac_prog$ac_exec_ext"; }; then
   3942         lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
   3943       fi
   3944     done
   3945   done
   3946 done
   3947 IFS=$as_save_IFS
   3948 lt_ac_max=0
   3949 lt_ac_count=0
   3950 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
   3951 # along with /bin/sed that truncates output.
   3952 for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
   3953   test ! -f $lt_ac_sed && continue
   3954   cat /dev/null > conftest.in
   3955   lt_ac_count=0
   3956   echo $ECHO_N "0123456789$ECHO_C" >conftest.in
   3957   # Check for GNU sed and select it if it is found.
   3958   if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
   3959     lt_cv_path_SED=$lt_ac_sed
   3960     break
   3961   fi
   3962   while true; do
   3963     cat conftest.in conftest.in >conftest.tmp
   3964     mv conftest.tmp conftest.in
   3965     cp conftest.in conftest.nl
   3966     echo >>conftest.nl
   3967     $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
   3968     cmp -s conftest.out conftest.nl || break
   3969     # 10000 chars as input seems more than enough
   3970     test $lt_ac_count -gt 10 && break
   3971     lt_ac_count=`expr $lt_ac_count + 1`
   3972     if test $lt_ac_count -gt $lt_ac_max; then
   3973       lt_ac_max=$lt_ac_count
   3974       lt_cv_path_SED=$lt_ac_sed
   3975     fi
   3976   done
   3977 done
   3978 
   3979 fi
   3980 
   3981 SED=$lt_cv_path_SED
   3982 
   3983 { $as_echo "$as_me:$LINENO: result: $SED" >&5
   3984 $as_echo "$SED" >&6; }
   3985 
   3986 { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
   3987 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
   3988 if test "${ac_cv_path_GREP+set}" = set; then
   3989   $as_echo_n "(cached) " >&6
   3990 else
   3991   if test -z "$GREP"; then
   3992   ac_path_GREP_found=false
   3993   # Loop through the user's path and test for each of PROGNAME-LIST
   3994   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3995 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   3996 do
   3997   IFS=$as_save_IFS
   3998   test -z "$as_dir" && as_dir=.
   3999   for ac_prog in grep ggrep; do
   4000     for ac_exec_ext in '' $ac_executable_extensions; do
   4001       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
   4002       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
   4003 # Check for GNU ac_path_GREP and select it if it is found.
   4004   # Check for GNU $ac_path_GREP
   4005 case `"$ac_path_GREP" --version 2>&1` in
   4006 *GNU*)
   4007   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   4008 *)
   4009   ac_count=0
   4010   $as_echo_n 0123456789 >"conftest.in"
   4011   while :
   4012   do
   4013     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4014     mv "conftest.tmp" "conftest.in"
   4015     cp "conftest.in" "conftest.nl"
   4016     $as_echo 'GREP' >> "conftest.nl"
   4017     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4018     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4019     ac_count=`expr $ac_count + 1`
   4020     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   4021       # Best one so far, save it but keep looking for a better one
   4022       ac_cv_path_GREP="$ac_path_GREP"
   4023       ac_path_GREP_max=$ac_count
   4024     fi
   4025     # 10*(2^10) chars as input seems more than enough
   4026     test $ac_count -gt 10 && break
   4027   done
   4028   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4029 esac
   4030 
   4031       $ac_path_GREP_found && break 3
   4032     done
   4033   done
   4034 done
   4035 IFS=$as_save_IFS
   4036   if test -z "$ac_cv_path_GREP"; then
   4037     { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
   4038 $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
   4039    { (exit 1); exit 1; }; }
   4040   fi
   4041 else
   4042   ac_cv_path_GREP=$GREP
   4043 fi
   4044 
   4045 fi
   4046 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
   4047 $as_echo "$ac_cv_path_GREP" >&6; }
   4048  GREP="$ac_cv_path_GREP"
   4049 
   4050 
   4051 { $as_echo "$as_me:$LINENO: checking for egrep" >&5
   4052 $as_echo_n "checking for egrep... " >&6; }
   4053 if test "${ac_cv_path_EGREP+set}" = set; then
   4054   $as_echo_n "(cached) " >&6
   4055 else
   4056   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   4057    then ac_cv_path_EGREP="$GREP -E"
   4058    else
   4059      if test -z "$EGREP"; then
   4060   ac_path_EGREP_found=false
   4061   # Loop through the user's path and test for each of PROGNAME-LIST
   4062   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4063 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4064 do
   4065   IFS=$as_save_IFS
   4066   test -z "$as_dir" && as_dir=.
   4067   for ac_prog in egrep; do
   4068     for ac_exec_ext in '' $ac_executable_extensions; do
   4069       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
   4070       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
   4071 # Check for GNU ac_path_EGREP and select it if it is found.
   4072   # Check for GNU $ac_path_EGREP
   4073 case `"$ac_path_EGREP" --version 2>&1` in
   4074 *GNU*)
   4075   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   4076 *)
   4077   ac_count=0
   4078   $as_echo_n 0123456789 >"conftest.in"
   4079   while :
   4080   do
   4081     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4082     mv "conftest.tmp" "conftest.in"
   4083     cp "conftest.in" "conftest.nl"
   4084     $as_echo 'EGREP' >> "conftest.nl"
   4085     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4086     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4087     ac_count=`expr $ac_count + 1`
   4088     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   4089       # Best one so far, save it but keep looking for a better one
   4090       ac_cv_path_EGREP="$ac_path_EGREP"
   4091       ac_path_EGREP_max=$ac_count
   4092     fi
   4093     # 10*(2^10) chars as input seems more than enough
   4094     test $ac_count -gt 10 && break
   4095   done
   4096   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4097 esac
   4098 
   4099       $ac_path_EGREP_found && break 3
   4100     done
   4101   done
   4102 done
   4103 IFS=$as_save_IFS
   4104   if test -z "$ac_cv_path_EGREP"; then
   4105     { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
   4106 $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
   4107    { (exit 1); exit 1; }; }
   4108   fi
   4109 else
   4110   ac_cv_path_EGREP=$EGREP
   4111 fi
   4112 
   4113    fi
   4114 fi
   4115 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
   4116 $as_echo "$ac_cv_path_EGREP" >&6; }
   4117  EGREP="$ac_cv_path_EGREP"
   4118 
   4119 
   4120 
   4121 # Check whether --with-gnu-ld was given.
   4122 if test "${with_gnu_ld+set}" = set; then
   4123   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
   4124 else
   4125   with_gnu_ld=no
   4126 fi
   4127 
   4128 ac_prog=ld
   4129 if test "$GCC" = yes; then
   4130   # Check if gcc -print-prog-name=ld gives a path.
   4131   { $as_echo "$as_me:$LINENO: checking for ld used by $CC" >&5
   4132 $as_echo_n "checking for ld used by $CC... " >&6; }
   4133   case $host in
   4134   *-*-mingw*)
   4135     # gcc leaves a trailing carriage return which upsets mingw
   4136     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   4137   *)
   4138     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   4139   esac
   4140   case $ac_prog in
   4141     # Accept absolute paths.
   4142     [\\/]* | ?:[\\/]*)
   4143       re_direlt='/[^/][^/]*/\.\./'
   4144       # Canonicalize the pathname of ld
   4145       ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
   4146       while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
   4147 	ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
   4148       done
   4149       test -z "$LD" && LD="$ac_prog"
   4150       ;;
   4151   "")
   4152     # If it fails, then pretend we aren't using GCC.
   4153     ac_prog=ld
   4154     ;;
   4155   *)
   4156     # If it is relative, then search for the first ld in PATH.
   4157     with_gnu_ld=unknown
   4158     ;;
   4159   esac
   4160 elif test "$with_gnu_ld" = yes; then
   4161   { $as_echo "$as_me:$LINENO: checking for GNU ld" >&5
   4162 $as_echo_n "checking for GNU ld... " >&6; }
   4163 else
   4164   { $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5
   4165 $as_echo_n "checking for non-GNU ld... " >&6; }
   4166 fi
   4167 if test "${lt_cv_path_LD+set}" = set; then
   4168   $as_echo_n "(cached) " >&6
   4169 else
   4170   if test -z "$LD"; then
   4171   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   4172   for ac_dir in $PATH; do
   4173     IFS="$lt_save_ifs"
   4174     test -z "$ac_dir" && ac_dir=.
   4175     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   4176       lt_cv_path_LD="$ac_dir/$ac_prog"
   4177       # Check to see if the program is GNU ld.  I'd rather use --version,
   4178       # but apparently some variants of GNU ld only accept -v.
   4179       # Break only if it was the GNU/non-GNU ld that we prefer.
   4180       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   4181       *GNU* | *'with BFD'*)
   4182 	test "$with_gnu_ld" != no && break
   4183 	;;
   4184       *)
   4185 	test "$with_gnu_ld" != yes && break
   4186 	;;
   4187       esac
   4188     fi
   4189   done
   4190   IFS="$lt_save_ifs"
   4191 else
   4192   lt_cv_path_LD="$LD" # Let the user override the test with a path.
   4193 fi
   4194 fi
   4195 
   4196 LD="$lt_cv_path_LD"
   4197 if test -n "$LD"; then
   4198   { $as_echo "$as_me:$LINENO: result: $LD" >&5
   4199 $as_echo "$LD" >&6; }
   4200 else
   4201   { $as_echo "$as_me:$LINENO: result: no" >&5
   4202 $as_echo "no" >&6; }
   4203 fi
   4204 test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
   4205 $as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
   4206    { (exit 1); exit 1; }; }
   4207 { $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
   4208 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
   4209 if test "${lt_cv_prog_gnu_ld+set}" = set; then
   4210   $as_echo_n "(cached) " >&6
   4211 else
   4212   # I'd rather use --version here, but apparently some GNU lds only accept -v.
   4213 case `$LD -v 2>&1 </dev/null` in
   4214 *GNU* | *'with BFD'*)
   4215   lt_cv_prog_gnu_ld=yes
   4216   ;;
   4217 *)
   4218   lt_cv_prog_gnu_ld=no
   4219   ;;
   4220 esac
   4221 fi
   4222 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
   4223 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
   4224 with_gnu_ld=$lt_cv_prog_gnu_ld
   4225 
   4226 
   4227 { $as_echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
   4228 $as_echo_n "checking for $LD option to reload object files... " >&6; }
   4229 if test "${lt_cv_ld_reload_flag+set}" = set; then
   4230   $as_echo_n "(cached) " >&6
   4231 else
   4232   lt_cv_ld_reload_flag='-r'
   4233 fi
   4234 { $as_echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
   4235 $as_echo "$lt_cv_ld_reload_flag" >&6; }
   4236 reload_flag=$lt_cv_ld_reload_flag
   4237 case $reload_flag in
   4238 "" | " "*) ;;
   4239 *) reload_flag=" $reload_flag" ;;
   4240 esac
   4241 reload_cmds='$LD$reload_flag -o $output$reload_objs'
   4242 case $host_os in
   4243   darwin*)
   4244     if test "$GCC" = yes; then
   4245       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
   4246     else
   4247       reload_cmds='$LD$reload_flag -o $output$reload_objs'
   4248     fi
   4249     ;;
   4250 esac
   4251 
   4252 { $as_echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
   4253 $as_echo_n "checking for BSD-compatible nm... " >&6; }
   4254 if test "${lt_cv_path_NM+set}" = set; then
   4255   $as_echo_n "(cached) " >&6
   4256 else
   4257   if test -n "$NM"; then
   4258   # Let the user override the test.
   4259   lt_cv_path_NM="$NM"
   4260 else
   4261   lt_nm_to_check="${ac_tool_prefix}nm"
   4262   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
   4263     lt_nm_to_check="$lt_nm_to_check nm"
   4264   fi
   4265   for lt_tmp_nm in $lt_nm_to_check; do
   4266     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   4267     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
   4268       IFS="$lt_save_ifs"
   4269       test -z "$ac_dir" && ac_dir=.
   4270       tmp_nm="$ac_dir/$lt_tmp_nm"
   4271       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
   4272 	# Check to see if the nm accepts a BSD-compat flag.
   4273 	# Adding the `sed 1q' prevents false positives on HP-UX, which says:
   4274 	#   nm: unknown option "B" ignored
   4275 	# Tru64's nm complains that /dev/null is an invalid object file
   4276 	case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
   4277 	*/dev/null* | *'Invalid file or object type'*)
   4278 	  lt_cv_path_NM="$tmp_nm -B"
   4279 	  break
   4280 	  ;;
   4281 	*)
   4282 	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
   4283 	  */dev/null*)
   4284 	    lt_cv_path_NM="$tmp_nm -p"
   4285 	    break
   4286 	    ;;
   4287 	  *)
   4288 	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
   4289 	    continue # so that we can try to find one that supports BSD flags
   4290 	    ;;
   4291 	  esac
   4292 	  ;;
   4293 	esac
   4294       fi
   4295     done
   4296     IFS="$lt_save_ifs"
   4297   done
   4298   test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
   4299 fi
   4300 fi
   4301 { $as_echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
   4302 $as_echo "$lt_cv_path_NM" >&6; }
   4303 NM="$lt_cv_path_NM"
   4304 
   4305 { $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5
   4306 $as_echo_n "checking whether ln -s works... " >&6; }
   4307 LN_S=$as_ln_s
   4308 if test "$LN_S" = "ln -s"; then
   4309   { $as_echo "$as_me:$LINENO: result: yes" >&5
   4310 $as_echo "yes" >&6; }
   4311 else
   4312   { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5
   4313 $as_echo "no, using $LN_S" >&6; }
   4314 fi
   4315 
   4316 { $as_echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
   4317 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
   4318 if test "${lt_cv_deplibs_check_method+set}" = set; then
   4319   $as_echo_n "(cached) " >&6
   4320 else
   4321   lt_cv_file_magic_cmd='$MAGIC_CMD'
   4322 lt_cv_file_magic_test_file=
   4323 lt_cv_deplibs_check_method='unknown'
   4324 # Need to set the preceding variable on all platforms that support
   4325 # interlibrary dependencies.
   4326 # 'none' -- dependencies not supported.
   4327 # `unknown' -- same as none, but documents that we really don't know.
   4328 # 'pass_all' -- all dependencies passed with no checks.
   4329 # 'test_compile' -- check by making test program.
   4330 # 'file_magic [[regex]]' -- check by looking for files in library path
   4331 # which responds to the $file_magic_cmd with a given extended regex.
   4332 # If you have `file' or equivalent on your system and you're not sure
   4333 # whether `pass_all' will *always* work, you probably want this one.
   4334 
   4335 case $host_os in
   4336 aix[4-9]*)
   4337   lt_cv_deplibs_check_method=pass_all
   4338   ;;
   4339 
   4340 beos*)
   4341   lt_cv_deplibs_check_method=pass_all
   4342   ;;
   4343 
   4344 bsdi[45]*)
   4345   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
   4346   lt_cv_file_magic_cmd='/usr/bin/file -L'
   4347   lt_cv_file_magic_test_file=/shlib/libc.so
   4348   ;;
   4349 
   4350 cygwin*)
   4351   # func_win32_libid is a shell function defined in ltmain.sh
   4352   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   4353   lt_cv_file_magic_cmd='func_win32_libid'
   4354   ;;
   4355 
   4356 mingw* | pw32*)
   4357   # Base MSYS/MinGW do not provide the 'file' command needed by
   4358   # func_win32_libid shell function, so use a weaker test based on 'objdump',
   4359   # unless we find 'file', for example because we are cross-compiling.
   4360   if ( file / ) >/dev/null 2>&1; then
   4361     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   4362     lt_cv_file_magic_cmd='func_win32_libid'
   4363   else
   4364     lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
   4365     lt_cv_file_magic_cmd='$OBJDUMP -f'
   4366   fi
   4367   ;;
   4368 
   4369 darwin* | rhapsody*)
   4370   lt_cv_deplibs_check_method=pass_all
   4371   ;;
   4372 
   4373 freebsd* | dragonfly*)
   4374   if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
   4375     case $host_cpu in
   4376     i*86 )
   4377       # Not sure whether the presence of OpenBSD here was a mistake.
   4378       # Let's accept both of them until this is cleared up.
   4379       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
   4380       lt_cv_file_magic_cmd=/usr/bin/file
   4381       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
   4382       ;;
   4383     esac
   4384   else
   4385     lt_cv_deplibs_check_method=pass_all
   4386   fi
   4387   ;;
   4388 
   4389 gnu*)
   4390   lt_cv_deplibs_check_method=pass_all
   4391   ;;
   4392 
   4393 hpux10.20* | hpux11*)
   4394   lt_cv_file_magic_cmd=/usr/bin/file
   4395   case $host_cpu in
   4396   ia64*)
   4397     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
   4398     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
   4399     ;;
   4400   hppa*64*)
   4401     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]'
   4402     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
   4403     ;;
   4404   *)
   4405     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
   4406     lt_cv_file_magic_test_file=/usr/lib/libc.sl
   4407     ;;
   4408   esac
   4409   ;;
   4410 
   4411 interix[3-9]*)
   4412   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
   4413   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
   4414   ;;
   4415 
   4416 irix5* | irix6* | nonstopux*)
   4417   case $LD in
   4418   *-32|*"-32 ") libmagic=32-bit;;
   4419   *-n32|*"-n32 ") libmagic=N32;;
   4420   *-64|*"-64 ") libmagic=64-bit;;
   4421   *) libmagic=never-match;;
   4422   esac
   4423   lt_cv_deplibs_check_method=pass_all
   4424   ;;
   4425 
   4426 # This must be Linux ELF.
   4427 linux* | k*bsd*-gnu)
   4428   lt_cv_deplibs_check_method=pass_all
   4429   ;;
   4430 
   4431 netbsd*)
   4432   if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
   4433     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   4434   else
   4435     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
   4436   fi
   4437   ;;
   4438 
   4439 newos6*)
   4440   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
   4441   lt_cv_file_magic_cmd=/usr/bin/file
   4442   lt_cv_file_magic_test_file=/usr/lib/libnls.so
   4443   ;;
   4444 
   4445 nto-qnx*)
   4446   lt_cv_deplibs_check_method=unknown
   4447   ;;
   4448 
   4449 openbsd*)
   4450   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   4451     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
   4452   else
   4453     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   4454   fi
   4455   ;;
   4456 
   4457 osf3* | osf4* | osf5*)
   4458   lt_cv_deplibs_check_method=pass_all
   4459   ;;
   4460 
   4461 rdos*)
   4462   lt_cv_deplibs_check_method=pass_all
   4463   ;;
   4464 
   4465 solaris*)
   4466   lt_cv_deplibs_check_method=pass_all
   4467   ;;
   4468 
   4469 sysv4 | sysv4.3*)
   4470   case $host_vendor in
   4471   motorola)
   4472     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]'
   4473     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
   4474     ;;
   4475   ncr)
   4476     lt_cv_deplibs_check_method=pass_all
   4477     ;;
   4478   sequent)
   4479     lt_cv_file_magic_cmd='/bin/file'
   4480     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
   4481     ;;
   4482   sni)
   4483     lt_cv_file_magic_cmd='/bin/file'
   4484     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
   4485     lt_cv_file_magic_test_file=/lib/libc.so
   4486     ;;
   4487   siemens)
   4488     lt_cv_deplibs_check_method=pass_all
   4489     ;;
   4490   pc)
   4491     lt_cv_deplibs_check_method=pass_all
   4492     ;;
   4493   esac
   4494   ;;
   4495 
   4496 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   4497   lt_cv_deplibs_check_method=pass_all
   4498   ;;
   4499 esac
   4500 
   4501 fi
   4502 { $as_echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
   4503 $as_echo "$lt_cv_deplibs_check_method" >&6; }
   4504 file_magic_cmd=$lt_cv_file_magic_cmd
   4505 deplibs_check_method=$lt_cv_deplibs_check_method
   4506 test -z "$deplibs_check_method" && deplibs_check_method=unknown
   4507 
   4508 
   4509 
   4510 
   4511 # If no C compiler was specified, use CC.
   4512 LTCC=${LTCC-"$CC"}
   4513 
   4514 # If no C compiler flags were specified, use CFLAGS.
   4515 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   4516 
   4517 # Allow CC to be a program name with arguments.
   4518 compiler=$CC
   4519 
   4520 
   4521 # Check whether --enable-libtool-lock was given.
   4522 if test "${enable_libtool_lock+set}" = set; then
   4523   enableval=$enable_libtool_lock;
   4524 fi
   4525 
   4526 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
   4527 
   4528 # Some flags need to be propagated to the compiler or linker for good
   4529 # libtool support.
   4530 case $host in
   4531 ia64-*-hpux*)
   4532   # Find out which ABI we are using.
   4533   echo 'int i;' > conftest.$ac_ext
   4534   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   4535   (eval $ac_compile) 2>&5
   4536   ac_status=$?
   4537   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4538   (exit $ac_status); }; then
   4539     case `/usr/bin/file conftest.$ac_objext` in
   4540     *ELF-32*)
   4541       HPUX_IA64_MODE="32"
   4542       ;;
   4543     *ELF-64*)
   4544       HPUX_IA64_MODE="64"
   4545       ;;
   4546     esac
   4547   fi
   4548   rm -rf conftest*
   4549   ;;
   4550 *-*-irix6*)
   4551   # Find out which ABI we are using.
   4552   echo '#line 4552 "configure"' > conftest.$ac_ext
   4553   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   4554   (eval $ac_compile) 2>&5
   4555   ac_status=$?
   4556   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4557   (exit $ac_status); }; then
   4558    if test "$lt_cv_prog_gnu_ld" = yes; then
   4559     case `/usr/bin/file conftest.$ac_objext` in
   4560     *32-bit*)
   4561       LD="${LD-ld} -melf32bsmip"
   4562       ;;
   4563     *N32*)
   4564       LD="${LD-ld} -melf32bmipn32"
   4565       ;;
   4566     *64-bit*)
   4567       LD="${LD-ld} -melf64bmip"
   4568       ;;
   4569     esac
   4570    else
   4571     case `/usr/bin/file conftest.$ac_objext` in
   4572     *32-bit*)
   4573       LD="${LD-ld} -32"
   4574       ;;
   4575     *N32*)
   4576       LD="${LD-ld} -n32"
   4577       ;;
   4578     *64-bit*)
   4579       LD="${LD-ld} -64"
   4580       ;;
   4581     esac
   4582    fi
   4583   fi
   4584   rm -rf conftest*
   4585   ;;
   4586 
   4587 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
   4588 s390*-*linux*|sparc*-*linux*)
   4589   # Find out which ABI we are using.
   4590   echo 'int i;' > conftest.$ac_ext
   4591   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   4592   (eval $ac_compile) 2>&5
   4593   ac_status=$?
   4594   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4595   (exit $ac_status); }; then
   4596     case `/usr/bin/file conftest.o` in
   4597     *32-bit*)
   4598       case $host in
   4599         x86_64-*kfreebsd*-gnu)
   4600           LD="${LD-ld} -m elf_i386_fbsd"
   4601           ;;
   4602         x86_64-*linux*)
   4603           LD="${LD-ld} -m elf_i386"
   4604           ;;
   4605         ppc64-*linux*|powerpc64-*linux*)
   4606           LD="${LD-ld} -m elf32ppclinux"
   4607           ;;
   4608         s390x-*linux*)
   4609           LD="${LD-ld} -m elf_s390"
   4610           ;;
   4611         sparc64-*linux*)
   4612           LD="${LD-ld} -m elf32_sparc"
   4613           ;;
   4614       esac
   4615       ;;
   4616     *64-bit*)
   4617       case $host in
   4618         x86_64-*kfreebsd*-gnu)
   4619           LD="${LD-ld} -m elf_x86_64_fbsd"
   4620           ;;
   4621         x86_64-*linux*)
   4622           LD="${LD-ld} -m elf_x86_64"
   4623           ;;
   4624         ppc*-*linux*|powerpc*-*linux*)
   4625           LD="${LD-ld} -m elf64ppc"
   4626           ;;
   4627         s390*-*linux*)
   4628           LD="${LD-ld} -m elf64_s390"
   4629           ;;
   4630         sparc*-*linux*)
   4631           LD="${LD-ld} -m elf64_sparc"
   4632           ;;
   4633       esac
   4634       ;;
   4635     esac
   4636   fi
   4637   rm -rf conftest*
   4638   ;;
   4639 
   4640 *-*-sco3.2v5*)
   4641   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
   4642   SAVE_CFLAGS="$CFLAGS"
   4643   CFLAGS="$CFLAGS -belf"
   4644   { $as_echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
   4645 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
   4646 if test "${lt_cv_cc_needs_belf+set}" = set; then
   4647   $as_echo_n "(cached) " >&6
   4648 else
   4649   ac_ext=c
   4650 ac_cpp='$CPP $CPPFLAGS'
   4651 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4652 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4653 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4654 
   4655      cat >conftest.$ac_ext <<_ACEOF
   4656 /* confdefs.h.  */
   4657 _ACEOF
   4658 cat confdefs.h >>conftest.$ac_ext
   4659 cat >>conftest.$ac_ext <<_ACEOF
   4660 /* end confdefs.h.  */
   4661 
   4662 int
   4663 main ()
   4664 {
   4665 
   4666   ;
   4667   return 0;
   4668 }
   4669 _ACEOF
   4670 rm -f conftest.$ac_objext conftest$ac_exeext
   4671 if { (ac_try="$ac_link"
   4672 case "(($ac_try" in
   4673   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4674   *) ac_try_echo=$ac_try;;
   4675 esac
   4676 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   4677 $as_echo "$ac_try_echo") >&5
   4678   (eval "$ac_link") 2>conftest.er1
   4679   ac_status=$?
   4680   grep -v '^ *+' conftest.er1 >conftest.err
   4681   rm -f conftest.er1
   4682   cat conftest.err >&5
   4683   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4684   (exit $ac_status); } && {
   4685 	 test -z "$ac_c_werror_flag" ||
   4686 	 test ! -s conftest.err
   4687        } && test -s conftest$ac_exeext && {
   4688 	 test "$cross_compiling" = yes ||
   4689 	 $as_test_x conftest$ac_exeext
   4690        }; then
   4691   lt_cv_cc_needs_belf=yes
   4692 else
   4693   $as_echo "$as_me: failed program was:" >&5
   4694 sed 's/^/| /' conftest.$ac_ext >&5
   4695 
   4696 	lt_cv_cc_needs_belf=no
   4697 fi
   4698 
   4699 rm -rf conftest.dSYM
   4700 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   4701       conftest$ac_exeext conftest.$ac_ext
   4702      ac_ext=c
   4703 ac_cpp='$CPP $CPPFLAGS'
   4704 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4705 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4706 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4707 
   4708 fi
   4709 { $as_echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
   4710 $as_echo "$lt_cv_cc_needs_belf" >&6; }
   4711   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
   4712     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
   4713     CFLAGS="$SAVE_CFLAGS"
   4714   fi
   4715   ;;
   4716 sparc*-*solaris*)
   4717   # Find out which ABI we are using.
   4718   echo 'int i;' > conftest.$ac_ext
   4719   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   4720   (eval $ac_compile) 2>&5
   4721   ac_status=$?
   4722   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4723   (exit $ac_status); }; then
   4724     case `/usr/bin/file conftest.o` in
   4725     *64-bit*)
   4726       case $lt_cv_prog_gnu_ld in
   4727       yes*) LD="${LD-ld} -m elf64_sparc" ;;
   4728       *)
   4729         if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
   4730 	  LD="${LD-ld} -64"
   4731 	fi
   4732 	;;
   4733       esac
   4734       ;;
   4735     esac
   4736   fi
   4737   rm -rf conftest*
   4738   ;;
   4739 
   4740 
   4741 esac
   4742 
   4743 need_locks="$enable_libtool_lock"
   4744 
   4745 
   4746 ac_ext=c
   4747 ac_cpp='$CPP $CPPFLAGS'
   4748 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4749 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4750 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4751 { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
   4752 $as_echo_n "checking how to run the C preprocessor... " >&6; }
   4753 # On Suns, sometimes $CPP names a directory.
   4754 if test -n "$CPP" && test -d "$CPP"; then
   4755   CPP=
   4756 fi
   4757 if test -z "$CPP"; then
   4758   if test "${ac_cv_prog_CPP+set}" = set; then
   4759   $as_echo_n "(cached) " >&6
   4760 else
   4761       # Double quotes because CPP needs to be expanded
   4762     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
   4763     do
   4764       ac_preproc_ok=false
   4765 for ac_c_preproc_warn_flag in '' yes
   4766 do
   4767   # Use a header file that comes with gcc, so configuring glibc
   4768   # with a fresh cross-compiler works.
   4769   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   4770   # <limits.h> exists even on freestanding compilers.
   4771   # On the NeXT, cc -E runs the code through the compiler's parser,
   4772   # not just through cpp. "Syntax error" is here to catch this case.
   4773   cat >conftest.$ac_ext <<_ACEOF
   4774 /* confdefs.h.  */
   4775 _ACEOF
   4776 cat confdefs.h >>conftest.$ac_ext
   4777 cat >>conftest.$ac_ext <<_ACEOF
   4778 /* end confdefs.h.  */
   4779 #ifdef __STDC__
   4780 # include <limits.h>
   4781 #else
   4782 # include <assert.h>
   4783 #endif
   4784 		     Syntax error
   4785 _ACEOF
   4786 if { (ac_try="$ac_cpp conftest.$ac_ext"
   4787 case "(($ac_try" in
   4788   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4789   *) ac_try_echo=$ac_try;;
   4790 esac
   4791 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   4792 $as_echo "$ac_try_echo") >&5
   4793   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   4794   ac_status=$?
   4795   grep -v '^ *+' conftest.er1 >conftest.err
   4796   rm -f conftest.er1
   4797   cat conftest.err >&5
   4798   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4799   (exit $ac_status); } >/dev/null && {
   4800 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   4801 	 test ! -s conftest.err
   4802        }; then
   4803   :
   4804 else
   4805   $as_echo "$as_me: failed program was:" >&5
   4806 sed 's/^/| /' conftest.$ac_ext >&5
   4807 
   4808   # Broken: fails on valid input.
   4809 continue
   4810 fi
   4811 
   4812 rm -f conftest.err conftest.$ac_ext
   4813 
   4814   # OK, works on sane cases.  Now check whether nonexistent headers
   4815   # can be detected and how.
   4816   cat >conftest.$ac_ext <<_ACEOF
   4817 /* confdefs.h.  */
   4818 _ACEOF
   4819 cat confdefs.h >>conftest.$ac_ext
   4820 cat >>conftest.$ac_ext <<_ACEOF
   4821 /* end confdefs.h.  */
   4822 #include <ac_nonexistent.h>
   4823 _ACEOF
   4824 if { (ac_try="$ac_cpp conftest.$ac_ext"
   4825 case "(($ac_try" in
   4826   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4827   *) ac_try_echo=$ac_try;;
   4828 esac
   4829 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   4830 $as_echo "$ac_try_echo") >&5
   4831   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   4832   ac_status=$?
   4833   grep -v '^ *+' conftest.er1 >conftest.err
   4834   rm -f conftest.er1
   4835   cat conftest.err >&5
   4836   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4837   (exit $ac_status); } >/dev/null && {
   4838 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   4839 	 test ! -s conftest.err
   4840        }; then
   4841   # Broken: success on invalid input.
   4842 continue
   4843 else
   4844   $as_echo "$as_me: failed program was:" >&5
   4845 sed 's/^/| /' conftest.$ac_ext >&5
   4846 
   4847   # Passes both tests.
   4848 ac_preproc_ok=:
   4849 break
   4850 fi
   4851 
   4852 rm -f conftest.err conftest.$ac_ext
   4853 
   4854 done
   4855 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   4856 rm -f conftest.err conftest.$ac_ext
   4857 if $ac_preproc_ok; then
   4858   break
   4859 fi
   4860 
   4861     done
   4862     ac_cv_prog_CPP=$CPP
   4863 
   4864 fi
   4865   CPP=$ac_cv_prog_CPP
   4866 else
   4867   ac_cv_prog_CPP=$CPP
   4868 fi
   4869 { $as_echo "$as_me:$LINENO: result: $CPP" >&5
   4870 $as_echo "$CPP" >&6; }
   4871 ac_preproc_ok=false
   4872 for ac_c_preproc_warn_flag in '' yes
   4873 do
   4874   # Use a header file that comes with gcc, so configuring glibc
   4875   # with a fresh cross-compiler works.
   4876   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   4877   # <limits.h> exists even on freestanding compilers.
   4878   # On the NeXT, cc -E runs the code through the compiler's parser,
   4879   # not just through cpp. "Syntax error" is here to catch this case.
   4880   cat >conftest.$ac_ext <<_ACEOF
   4881 /* confdefs.h.  */
   4882 _ACEOF
   4883 cat confdefs.h >>conftest.$ac_ext
   4884 cat >>conftest.$ac_ext <<_ACEOF
   4885 /* end confdefs.h.  */
   4886 #ifdef __STDC__
   4887 # include <limits.h>
   4888 #else
   4889 # include <assert.h>
   4890 #endif
   4891 		     Syntax error
   4892 _ACEOF
   4893 if { (ac_try="$ac_cpp conftest.$ac_ext"
   4894 case "(($ac_try" in
   4895   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4896   *) ac_try_echo=$ac_try;;
   4897 esac
   4898 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   4899 $as_echo "$ac_try_echo") >&5
   4900   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   4901   ac_status=$?
   4902   grep -v '^ *+' conftest.er1 >conftest.err
   4903   rm -f conftest.er1
   4904   cat conftest.err >&5
   4905   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4906   (exit $ac_status); } >/dev/null && {
   4907 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   4908 	 test ! -s conftest.err
   4909        }; then
   4910   :
   4911 else
   4912   $as_echo "$as_me: failed program was:" >&5
   4913 sed 's/^/| /' conftest.$ac_ext >&5
   4914 
   4915   # Broken: fails on valid input.
   4916 continue
   4917 fi
   4918 
   4919 rm -f conftest.err conftest.$ac_ext
   4920 
   4921   # OK, works on sane cases.  Now check whether nonexistent headers
   4922   # can be detected and how.
   4923   cat >conftest.$ac_ext <<_ACEOF
   4924 /* confdefs.h.  */
   4925 _ACEOF
   4926 cat confdefs.h >>conftest.$ac_ext
   4927 cat >>conftest.$ac_ext <<_ACEOF
   4928 /* end confdefs.h.  */
   4929 #include <ac_nonexistent.h>
   4930 _ACEOF
   4931 if { (ac_try="$ac_cpp conftest.$ac_ext"
   4932 case "(($ac_try" in
   4933   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4934   *) ac_try_echo=$ac_try;;
   4935 esac
   4936 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   4937 $as_echo "$ac_try_echo") >&5
   4938   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   4939   ac_status=$?
   4940   grep -v '^ *+' conftest.er1 >conftest.err
   4941   rm -f conftest.er1
   4942   cat conftest.err >&5
   4943   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4944   (exit $ac_status); } >/dev/null && {
   4945 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   4946 	 test ! -s conftest.err
   4947        }; then
   4948   # Broken: success on invalid input.
   4949 continue
   4950 else
   4951   $as_echo "$as_me: failed program was:" >&5
   4952 sed 's/^/| /' conftest.$ac_ext >&5
   4953 
   4954   # Passes both tests.
   4955 ac_preproc_ok=:
   4956 break
   4957 fi
   4958 
   4959 rm -f conftest.err conftest.$ac_ext
   4960 
   4961 done
   4962 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   4963 rm -f conftest.err conftest.$ac_ext
   4964 if $ac_preproc_ok; then
   4965   :
   4966 else
   4967   { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   4968 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   4969 { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
   4970 See \`config.log' for more details." >&5
   4971 $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
   4972 See \`config.log' for more details." >&2;}
   4973    { (exit 1); exit 1; }; }; }
   4974 fi
   4975 
   4976 ac_ext=c
   4977 ac_cpp='$CPP $CPPFLAGS'
   4978 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4979 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4980 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4981 
   4982 
   4983 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
   4984 $as_echo_n "checking for ANSI C header files... " >&6; }
   4985 if test "${ac_cv_header_stdc+set}" = set; then
   4986   $as_echo_n "(cached) " >&6
   4987 else
   4988   cat >conftest.$ac_ext <<_ACEOF
   4989 /* confdefs.h.  */
   4990 _ACEOF
   4991 cat confdefs.h >>conftest.$ac_ext
   4992 cat >>conftest.$ac_ext <<_ACEOF
   4993 /* end confdefs.h.  */
   4994 #include <stdlib.h>
   4995 #include <stdarg.h>
   4996 #include <string.h>
   4997 #include <float.h>
   4998 
   4999 int
   5000 main ()
   5001 {
   5002 
   5003   ;
   5004   return 0;
   5005 }
   5006 _ACEOF
   5007 rm -f conftest.$ac_objext
   5008 if { (ac_try="$ac_compile"
   5009 case "(($ac_try" in
   5010   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5011   *) ac_try_echo=$ac_try;;
   5012 esac
   5013 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5014 $as_echo "$ac_try_echo") >&5
   5015   (eval "$ac_compile") 2>conftest.er1
   5016   ac_status=$?
   5017   grep -v '^ *+' conftest.er1 >conftest.err
   5018   rm -f conftest.er1
   5019   cat conftest.err >&5
   5020   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5021   (exit $ac_status); } && {
   5022 	 test -z "$ac_c_werror_flag" ||
   5023 	 test ! -s conftest.err
   5024        } && test -s conftest.$ac_objext; then
   5025   ac_cv_header_stdc=yes
   5026 else
   5027   $as_echo "$as_me: failed program was:" >&5
   5028 sed 's/^/| /' conftest.$ac_ext >&5
   5029 
   5030 	ac_cv_header_stdc=no
   5031 fi
   5032 
   5033 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5034 
   5035 if test $ac_cv_header_stdc = yes; then
   5036   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   5037   cat >conftest.$ac_ext <<_ACEOF
   5038 /* confdefs.h.  */
   5039 _ACEOF
   5040 cat confdefs.h >>conftest.$ac_ext
   5041 cat >>conftest.$ac_ext <<_ACEOF
   5042 /* end confdefs.h.  */
   5043 #include <string.h>
   5044 
   5045 _ACEOF
   5046 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   5047   $EGREP "memchr" >/dev/null 2>&1; then
   5048   :
   5049 else
   5050   ac_cv_header_stdc=no
   5051 fi
   5052 rm -f conftest*
   5053 
   5054 fi
   5055 
   5056 if test $ac_cv_header_stdc = yes; then
   5057   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   5058   cat >conftest.$ac_ext <<_ACEOF
   5059 /* confdefs.h.  */
   5060 _ACEOF
   5061 cat confdefs.h >>conftest.$ac_ext
   5062 cat >>conftest.$ac_ext <<_ACEOF
   5063 /* end confdefs.h.  */
   5064 #include <stdlib.h>
   5065 
   5066 _ACEOF
   5067 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   5068   $EGREP "free" >/dev/null 2>&1; then
   5069   :
   5070 else
   5071   ac_cv_header_stdc=no
   5072 fi
   5073 rm -f conftest*
   5074 
   5075 fi
   5076 
   5077 if test $ac_cv_header_stdc = yes; then
   5078   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   5079   if test "$cross_compiling" = yes; then
   5080   :
   5081 else
   5082   cat >conftest.$ac_ext <<_ACEOF
   5083 /* confdefs.h.  */
   5084 _ACEOF
   5085 cat confdefs.h >>conftest.$ac_ext
   5086 cat >>conftest.$ac_ext <<_ACEOF
   5087 /* end confdefs.h.  */
   5088 #include <ctype.h>
   5089 #include <stdlib.h>
   5090 #if ((' ' & 0x0FF) == 0x020)
   5091 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   5092 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   5093 #else
   5094 # define ISLOWER(c) \
   5095 		   (('a' <= (c) && (c) <= 'i') \
   5096 		     || ('j' <= (c) && (c) <= 'r') \
   5097 		     || ('s' <= (c) && (c) <= 'z'))
   5098 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   5099 #endif
   5100 
   5101 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   5102 int
   5103 main ()
   5104 {
   5105   int i;
   5106   for (i = 0; i < 256; i++)
   5107     if (XOR (islower (i), ISLOWER (i))
   5108 	|| toupper (i) != TOUPPER (i))
   5109       return 2;
   5110   return 0;
   5111 }
   5112 _ACEOF
   5113 rm -f conftest$ac_exeext
   5114 if { (ac_try="$ac_link"
   5115 case "(($ac_try" in
   5116   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5117   *) ac_try_echo=$ac_try;;
   5118 esac
   5119 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5120 $as_echo "$ac_try_echo") >&5
   5121   (eval "$ac_link") 2>&5
   5122   ac_status=$?
   5123   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5124   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
   5125   { (case "(($ac_try" in
   5126   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5127   *) ac_try_echo=$ac_try;;
   5128 esac
   5129 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5130 $as_echo "$ac_try_echo") >&5
   5131   (eval "$ac_try") 2>&5
   5132   ac_status=$?
   5133   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5134   (exit $ac_status); }; }; then
   5135   :
   5136 else
   5137   $as_echo "$as_me: program exited with status $ac_status" >&5
   5138 $as_echo "$as_me: failed program was:" >&5
   5139 sed 's/^/| /' conftest.$ac_ext >&5
   5140 
   5141 ( exit $ac_status )
   5142 ac_cv_header_stdc=no
   5143 fi
   5144 rm -rf conftest.dSYM
   5145 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
   5146 fi
   5147 
   5148 
   5149 fi
   5150 fi
   5151 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
   5152 $as_echo "$ac_cv_header_stdc" >&6; }
   5153 if test $ac_cv_header_stdc = yes; then
   5154 
   5155 cat >>confdefs.h <<\_ACEOF
   5156 #define STDC_HEADERS 1
   5157 _ACEOF
   5158 
   5159 fi
   5160 
   5161 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
   5162 
   5163 
   5164 
   5165 
   5166 
   5167 
   5168 
   5169 
   5170 
   5171 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
   5172 		  inttypes.h stdint.h unistd.h
   5173 do
   5174 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   5175 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
   5176 $as_echo_n "checking for $ac_header... " >&6; }
   5177 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   5178   $as_echo_n "(cached) " >&6
   5179 else
   5180   cat >conftest.$ac_ext <<_ACEOF
   5181 /* confdefs.h.  */
   5182 _ACEOF
   5183 cat confdefs.h >>conftest.$ac_ext
   5184 cat >>conftest.$ac_ext <<_ACEOF
   5185 /* end confdefs.h.  */
   5186 $ac_includes_default
   5187 
   5188 #include <$ac_header>
   5189 _ACEOF
   5190 rm -f conftest.$ac_objext
   5191 if { (ac_try="$ac_compile"
   5192 case "(($ac_try" in
   5193   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5194   *) ac_try_echo=$ac_try;;
   5195 esac
   5196 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5197 $as_echo "$ac_try_echo") >&5
   5198   (eval "$ac_compile") 2>conftest.er1
   5199   ac_status=$?
   5200   grep -v '^ *+' conftest.er1 >conftest.err
   5201   rm -f conftest.er1
   5202   cat conftest.err >&5
   5203   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5204   (exit $ac_status); } && {
   5205 	 test -z "$ac_c_werror_flag" ||
   5206 	 test ! -s conftest.err
   5207        } && test -s conftest.$ac_objext; then
   5208   eval "$as_ac_Header=yes"
   5209 else
   5210   $as_echo "$as_me: failed program was:" >&5
   5211 sed 's/^/| /' conftest.$ac_ext >&5
   5212 
   5213 	eval "$as_ac_Header=no"
   5214 fi
   5215 
   5216 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5217 fi
   5218 ac_res=`eval 'as_val=${'$as_ac_Header'}
   5219 		 $as_echo "$as_val"'`
   5220 	       { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
   5221 $as_echo "$ac_res" >&6; }
   5222 as_val=`eval 'as_val=${'$as_ac_Header'}
   5223 		 $as_echo "$as_val"'`
   5224    if test "x$as_val" = x""yes; then
   5225   cat >>confdefs.h <<_ACEOF
   5226 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   5227 _ACEOF
   5228 
   5229 fi
   5230 
   5231 done
   5232 
   5233 
   5234 
   5235 for ac_header in dlfcn.h
   5236 do
   5237 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   5238 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   5239   { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
   5240 $as_echo_n "checking for $ac_header... " >&6; }
   5241 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   5242   $as_echo_n "(cached) " >&6
   5243 fi
   5244 ac_res=`eval 'as_val=${'$as_ac_Header'}
   5245 		 $as_echo "$as_val"'`
   5246 	       { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
   5247 $as_echo "$ac_res" >&6; }
   5248 else
   5249   # Is the header compilable?
   5250 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
   5251 $as_echo_n "checking $ac_header usability... " >&6; }
   5252 cat >conftest.$ac_ext <<_ACEOF
   5253 /* confdefs.h.  */
   5254 _ACEOF
   5255 cat confdefs.h >>conftest.$ac_ext
   5256 cat >>conftest.$ac_ext <<_ACEOF
   5257 /* end confdefs.h.  */
   5258 $ac_includes_default
   5259 #include <$ac_header>
   5260 _ACEOF
   5261 rm -f conftest.$ac_objext
   5262 if { (ac_try="$ac_compile"
   5263 case "(($ac_try" in
   5264   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5265   *) ac_try_echo=$ac_try;;
   5266 esac
   5267 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5268 $as_echo "$ac_try_echo") >&5
   5269   (eval "$ac_compile") 2>conftest.er1
   5270   ac_status=$?
   5271   grep -v '^ *+' conftest.er1 >conftest.err
   5272   rm -f conftest.er1
   5273   cat conftest.err >&5
   5274   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5275   (exit $ac_status); } && {
   5276 	 test -z "$ac_c_werror_flag" ||
   5277 	 test ! -s conftest.err
   5278        } && test -s conftest.$ac_objext; then
   5279   ac_header_compiler=yes
   5280 else
   5281   $as_echo "$as_me: failed program was:" >&5
   5282 sed 's/^/| /' conftest.$ac_ext >&5
   5283 
   5284 	ac_header_compiler=no
   5285 fi
   5286 
   5287 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5288 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
   5289 $as_echo "$ac_header_compiler" >&6; }
   5290 
   5291 # Is the header present?
   5292 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
   5293 $as_echo_n "checking $ac_header presence... " >&6; }
   5294 cat >conftest.$ac_ext <<_ACEOF
   5295 /* confdefs.h.  */
   5296 _ACEOF
   5297 cat confdefs.h >>conftest.$ac_ext
   5298 cat >>conftest.$ac_ext <<_ACEOF
   5299 /* end confdefs.h.  */
   5300 #include <$ac_header>
   5301 _ACEOF
   5302 if { (ac_try="$ac_cpp conftest.$ac_ext"
   5303 case "(($ac_try" in
   5304   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5305   *) ac_try_echo=$ac_try;;
   5306 esac
   5307 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5308 $as_echo "$ac_try_echo") >&5
   5309   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   5310   ac_status=$?
   5311   grep -v '^ *+' conftest.er1 >conftest.err
   5312   rm -f conftest.er1
   5313   cat conftest.err >&5
   5314   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5315   (exit $ac_status); } >/dev/null && {
   5316 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   5317 	 test ! -s conftest.err
   5318        }; then
   5319   ac_header_preproc=yes
   5320 else
   5321   $as_echo "$as_me: failed program was:" >&5
   5322 sed 's/^/| /' conftest.$ac_ext >&5
   5323 
   5324   ac_header_preproc=no
   5325 fi
   5326 
   5327 rm -f conftest.err conftest.$ac_ext
   5328 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
   5329 $as_echo "$ac_header_preproc" >&6; }
   5330 
   5331 # So?  What about this header?
   5332 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
   5333   yes:no: )
   5334     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
   5335 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
   5336     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
   5337 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
   5338     ac_header_preproc=yes
   5339     ;;
   5340   no:yes:* )
   5341     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
   5342 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
   5343     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
   5344 $as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
   5345     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
   5346 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
   5347     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
   5348 $as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
   5349     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
   5350 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
   5351     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
   5352 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
   5353     ( cat <<\_ASBOX
   5354 ## ---------------------------------------------------------------------- ##
   5355 ## Report this to https://bugs.freedesktop.org/enter_bug.cgi?product=xorg ##
   5356 ## ---------------------------------------------------------------------- ##
   5357 _ASBOX
   5358      ) | sed "s/^/$as_me: WARNING:     /" >&2
   5359     ;;
   5360 esac
   5361 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
   5362 $as_echo_n "checking for $ac_header... " >&6; }
   5363 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   5364   $as_echo_n "(cached) " >&6
   5365 else
   5366   eval "$as_ac_Header=\$ac_header_preproc"
   5367 fi
   5368 ac_res=`eval 'as_val=${'$as_ac_Header'}
   5369 		 $as_echo "$as_val"'`
   5370 	       { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
   5371 $as_echo "$ac_res" >&6; }
   5372 
   5373 fi
   5374 as_val=`eval 'as_val=${'$as_ac_Header'}
   5375 		 $as_echo "$as_val"'`
   5376    if test "x$as_val" = x""yes; then
   5377   cat >>confdefs.h <<_ACEOF
   5378 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   5379 _ACEOF
   5380 
   5381 fi
   5382 
   5383 done
   5384 
   5385 ac_ext=cpp
   5386 ac_cpp='$CXXCPP $CPPFLAGS'
   5387 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5388 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5389 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   5390 if test -z "$CXX"; then
   5391   if test -n "$CCC"; then
   5392     CXX=$CCC
   5393   else
   5394     if test -n "$ac_tool_prefix"; then
   5395   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
   5396   do
   5397     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   5398 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   5399 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   5400 $as_echo_n "checking for $ac_word... " >&6; }
   5401 if test "${ac_cv_prog_CXX+set}" = set; then
   5402   $as_echo_n "(cached) " >&6
   5403 else
   5404   if test -n "$CXX"; then
   5405   ac_cv_prog_CXX="$CXX" # Let the user override the test.
   5406 else
   5407 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5408 for as_dir in $PATH
   5409 do
   5410   IFS=$as_save_IFS
   5411   test -z "$as_dir" && as_dir=.
   5412   for ac_exec_ext in '' $ac_executable_extensions; do
   5413   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5414     ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
   5415     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   5416     break 2
   5417   fi
   5418 done
   5419 done
   5420 IFS=$as_save_IFS
   5421 
   5422 fi
   5423 fi
   5424 CXX=$ac_cv_prog_CXX
   5425 if test -n "$CXX"; then
   5426   { $as_echo "$as_me:$LINENO: result: $CXX" >&5
   5427 $as_echo "$CXX" >&6; }
   5428 else
   5429   { $as_echo "$as_me:$LINENO: result: no" >&5
   5430 $as_echo "no" >&6; }
   5431 fi
   5432 
   5433 
   5434     test -n "$CXX" && break
   5435   done
   5436 fi
   5437 if test -z "$CXX"; then
   5438   ac_ct_CXX=$CXX
   5439   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
   5440 do
   5441   # Extract the first word of "$ac_prog", so it can be a program name with args.
   5442 set dummy $ac_prog; ac_word=$2
   5443 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   5444 $as_echo_n "checking for $ac_word... " >&6; }
   5445 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
   5446   $as_echo_n "(cached) " >&6
   5447 else
   5448   if test -n "$ac_ct_CXX"; then
   5449   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
   5450 else
   5451 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5452 for as_dir in $PATH
   5453 do
   5454   IFS=$as_save_IFS
   5455   test -z "$as_dir" && as_dir=.
   5456   for ac_exec_ext in '' $ac_executable_extensions; do
   5457   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5458     ac_cv_prog_ac_ct_CXX="$ac_prog"
   5459     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   5460     break 2
   5461   fi
   5462 done
   5463 done
   5464 IFS=$as_save_IFS
   5465 
   5466 fi
   5467 fi
   5468 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
   5469 if test -n "$ac_ct_CXX"; then
   5470   { $as_echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
   5471 $as_echo "$ac_ct_CXX" >&6; }
   5472 else
   5473   { $as_echo "$as_me:$LINENO: result: no" >&5
   5474 $as_echo "no" >&6; }
   5475 fi
   5476 
   5477 
   5478   test -n "$ac_ct_CXX" && break
   5479 done
   5480 
   5481   if test "x$ac_ct_CXX" = x; then
   5482     CXX="g++"
   5483   else
   5484     case $cross_compiling:$ac_tool_warned in
   5485 yes:)
   5486 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   5487 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5488 ac_tool_warned=yes ;;
   5489 esac
   5490     CXX=$ac_ct_CXX
   5491   fi
   5492 fi
   5493 
   5494   fi
   5495 fi
   5496 # Provide some information about the compiler.
   5497 $as_echo "$as_me:$LINENO: checking for C++ compiler version" >&5
   5498 set X $ac_compile
   5499 ac_compiler=$2
   5500 { (ac_try="$ac_compiler --version >&5"
   5501 case "(($ac_try" in
   5502   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5503   *) ac_try_echo=$ac_try;;
   5504 esac
   5505 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5506 $as_echo "$ac_try_echo") >&5
   5507   (eval "$ac_compiler --version >&5") 2>&5
   5508   ac_status=$?
   5509   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5510   (exit $ac_status); }
   5511 { (ac_try="$ac_compiler -v >&5"
   5512 case "(($ac_try" in
   5513   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5514   *) ac_try_echo=$ac_try;;
   5515 esac
   5516 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5517 $as_echo "$ac_try_echo") >&5
   5518   (eval "$ac_compiler -v >&5") 2>&5
   5519   ac_status=$?
   5520   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5521   (exit $ac_status); }
   5522 { (ac_try="$ac_compiler -V >&5"
   5523 case "(($ac_try" in
   5524   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5525   *) ac_try_echo=$ac_try;;
   5526 esac
   5527 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5528 $as_echo "$ac_try_echo") >&5
   5529   (eval "$ac_compiler -V >&5") 2>&5
   5530   ac_status=$?
   5531   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5532   (exit $ac_status); }
   5533 
   5534 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
   5535 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
   5536 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
   5537   $as_echo_n "(cached) " >&6
   5538 else
   5539   cat >conftest.$ac_ext <<_ACEOF
   5540 /* confdefs.h.  */
   5541 _ACEOF
   5542 cat confdefs.h >>conftest.$ac_ext
   5543 cat >>conftest.$ac_ext <<_ACEOF
   5544 /* end confdefs.h.  */
   5545 
   5546 int
   5547 main ()
   5548 {
   5549 #ifndef __GNUC__
   5550        choke me
   5551 #endif
   5552 
   5553   ;
   5554   return 0;
   5555 }
   5556 _ACEOF
   5557 rm -f conftest.$ac_objext
   5558 if { (ac_try="$ac_compile"
   5559 case "(($ac_try" in
   5560   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5561   *) ac_try_echo=$ac_try;;
   5562 esac
   5563 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5564 $as_echo "$ac_try_echo") >&5
   5565   (eval "$ac_compile") 2>conftest.er1
   5566   ac_status=$?
   5567   grep -v '^ *+' conftest.er1 >conftest.err
   5568   rm -f conftest.er1
   5569   cat conftest.err >&5
   5570   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5571   (exit $ac_status); } && {
   5572 	 test -z "$ac_cxx_werror_flag" ||
   5573 	 test ! -s conftest.err
   5574        } && test -s conftest.$ac_objext; then
   5575   ac_compiler_gnu=yes
   5576 else
   5577   $as_echo "$as_me: failed program was:" >&5
   5578 sed 's/^/| /' conftest.$ac_ext >&5
   5579 
   5580 	ac_compiler_gnu=no
   5581 fi
   5582 
   5583 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5584 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
   5585 
   5586 fi
   5587 { $as_echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
   5588 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
   5589 if test $ac_compiler_gnu = yes; then
   5590   GXX=yes
   5591 else
   5592   GXX=
   5593 fi
   5594 ac_test_CXXFLAGS=${CXXFLAGS+set}
   5595 ac_save_CXXFLAGS=$CXXFLAGS
   5596 { $as_echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
   5597 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
   5598 if test "${ac_cv_prog_cxx_g+set}" = set; then
   5599   $as_echo_n "(cached) " >&6
   5600 else
   5601   ac_save_cxx_werror_flag=$ac_cxx_werror_flag
   5602    ac_cxx_werror_flag=yes
   5603    ac_cv_prog_cxx_g=no
   5604    CXXFLAGS="-g"
   5605    cat >conftest.$ac_ext <<_ACEOF
   5606 /* confdefs.h.  */
   5607 _ACEOF
   5608 cat confdefs.h >>conftest.$ac_ext
   5609 cat >>conftest.$ac_ext <<_ACEOF
   5610 /* end confdefs.h.  */
   5611 
   5612 int
   5613 main ()
   5614 {
   5615 
   5616   ;
   5617   return 0;
   5618 }
   5619 _ACEOF
   5620 rm -f conftest.$ac_objext
   5621 if { (ac_try="$ac_compile"
   5622 case "(($ac_try" in
   5623   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5624   *) ac_try_echo=$ac_try;;
   5625 esac
   5626 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5627 $as_echo "$ac_try_echo") >&5
   5628   (eval "$ac_compile") 2>conftest.er1
   5629   ac_status=$?
   5630   grep -v '^ *+' conftest.er1 >conftest.err
   5631   rm -f conftest.er1
   5632   cat conftest.err >&5
   5633   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5634   (exit $ac_status); } && {
   5635 	 test -z "$ac_cxx_werror_flag" ||
   5636 	 test ! -s conftest.err
   5637        } && test -s conftest.$ac_objext; then
   5638   ac_cv_prog_cxx_g=yes
   5639 else
   5640   $as_echo "$as_me: failed program was:" >&5
   5641 sed 's/^/| /' conftest.$ac_ext >&5
   5642 
   5643 	CXXFLAGS=""
   5644       cat >conftest.$ac_ext <<_ACEOF
   5645 /* confdefs.h.  */
   5646 _ACEOF
   5647 cat confdefs.h >>conftest.$ac_ext
   5648 cat >>conftest.$ac_ext <<_ACEOF
   5649 /* end confdefs.h.  */
   5650 
   5651 int
   5652 main ()
   5653 {
   5654 
   5655   ;
   5656   return 0;
   5657 }
   5658 _ACEOF
   5659 rm -f conftest.$ac_objext
   5660 if { (ac_try="$ac_compile"
   5661 case "(($ac_try" in
   5662   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5663   *) ac_try_echo=$ac_try;;
   5664 esac
   5665 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5666 $as_echo "$ac_try_echo") >&5
   5667   (eval "$ac_compile") 2>conftest.er1
   5668   ac_status=$?
   5669   grep -v '^ *+' conftest.er1 >conftest.err
   5670   rm -f conftest.er1
   5671   cat conftest.err >&5
   5672   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5673   (exit $ac_status); } && {
   5674 	 test -z "$ac_cxx_werror_flag" ||
   5675 	 test ! -s conftest.err
   5676        } && test -s conftest.$ac_objext; then
   5677   :
   5678 else
   5679   $as_echo "$as_me: failed program was:" >&5
   5680 sed 's/^/| /' conftest.$ac_ext >&5
   5681 
   5682 	ac_cxx_werror_flag=$ac_save_cxx_werror_flag
   5683 	 CXXFLAGS="-g"
   5684 	 cat >conftest.$ac_ext <<_ACEOF
   5685 /* confdefs.h.  */
   5686 _ACEOF
   5687 cat confdefs.h >>conftest.$ac_ext
   5688 cat >>conftest.$ac_ext <<_ACEOF
   5689 /* end confdefs.h.  */
   5690 
   5691 int
   5692 main ()
   5693 {
   5694 
   5695   ;
   5696   return 0;
   5697 }
   5698 _ACEOF
   5699 rm -f conftest.$ac_objext
   5700 if { (ac_try="$ac_compile"
   5701 case "(($ac_try" in
   5702   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5703   *) ac_try_echo=$ac_try;;
   5704 esac
   5705 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5706 $as_echo "$ac_try_echo") >&5
   5707   (eval "$ac_compile") 2>conftest.er1
   5708   ac_status=$?
   5709   grep -v '^ *+' conftest.er1 >conftest.err
   5710   rm -f conftest.er1
   5711   cat conftest.err >&5
   5712   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5713   (exit $ac_status); } && {
   5714 	 test -z "$ac_cxx_werror_flag" ||
   5715 	 test ! -s conftest.err
   5716        } && test -s conftest.$ac_objext; then
   5717   ac_cv_prog_cxx_g=yes
   5718 else
   5719   $as_echo "$as_me: failed program was:" >&5
   5720 sed 's/^/| /' conftest.$ac_ext >&5
   5721 
   5722 
   5723 fi
   5724 
   5725 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5726 fi
   5727 
   5728 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5729 fi
   5730 
   5731 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5732    ac_cxx_werror_flag=$ac_save_cxx_werror_flag
   5733 fi
   5734 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
   5735 $as_echo "$ac_cv_prog_cxx_g" >&6; }
   5736 if test "$ac_test_CXXFLAGS" = set; then
   5737   CXXFLAGS=$ac_save_CXXFLAGS
   5738 elif test $ac_cv_prog_cxx_g = yes; then
   5739   if test "$GXX" = yes; then
   5740     CXXFLAGS="-g -O2"
   5741   else
   5742     CXXFLAGS="-g"
   5743   fi
   5744 else
   5745   if test "$GXX" = yes; then
   5746     CXXFLAGS="-O2"
   5747   else
   5748     CXXFLAGS=
   5749   fi
   5750 fi
   5751 ac_ext=cpp
   5752 ac_cpp='$CXXCPP $CPPFLAGS'
   5753 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5754 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5755 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   5756 
   5757 depcc="$CXX"  am_compiler_list=
   5758 
   5759 { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
   5760 $as_echo_n "checking dependency style of $depcc... " >&6; }
   5761 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
   5762   $as_echo_n "(cached) " >&6
   5763 else
   5764   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   5765   # We make a subdir and do the tests there.  Otherwise we can end up
   5766   # making bogus files that we don't know about and never remove.  For
   5767   # instance it was reported that on HP-UX the gcc test will end up
   5768   # making a dummy file named `D' -- because `-MD' means `put the output
   5769   # in D'.
   5770   mkdir conftest.dir
   5771   # Copy depcomp to subdir because otherwise we won't find it if we're
   5772   # using a relative directory.
   5773   cp "$am_depcomp" conftest.dir
   5774   cd conftest.dir
   5775   # We will build objects and dependencies in a subdirectory because
   5776   # it helps to detect inapplicable dependency modes.  For instance
   5777   # both Tru64's cc and ICC support -MD to output dependencies as a
   5778   # side effect of compilation, but ICC will put the dependencies in
   5779   # the current directory while Tru64 will put them in the object
   5780   # directory.
   5781   mkdir sub
   5782 
   5783   am_cv_CXX_dependencies_compiler_type=none
   5784   if test "$am_compiler_list" = ""; then
   5785      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   5786   fi
   5787   am__universal=false
   5788   case " $depcc " in #(
   5789      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   5790      esac
   5791 
   5792   for depmode in $am_compiler_list; do
   5793     # Setup a source with many dependencies, because some compilers
   5794     # like to wrap large dependency lists on column 80 (with \), and
   5795     # we should not choose a depcomp mode which is confused by this.
   5796     #
   5797     # We need to recreate these files for each test, as the compiler may
   5798     # overwrite some of them when testing with obscure command lines.
   5799     # This happens at least with the AIX C compiler.
   5800     : > sub/conftest.c
   5801     for i in 1 2 3 4 5 6; do
   5802       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   5803       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
   5804       # Solaris 8's {/usr,}/bin/sh.
   5805       touch sub/conftst$i.h
   5806     done
   5807     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   5808 
   5809     # We check with `-c' and `-o' for the sake of the "dashmstdout"
   5810     # mode.  It turns out that the SunPro C++ compiler does not properly
   5811     # handle `-M -o', and we need to detect this.  Also, some Intel
   5812     # versions had trouble with output in subdirs
   5813     am__obj=sub/conftest.${OBJEXT-o}
   5814     am__minus_obj="-o $am__obj"
   5815     case $depmode in
   5816     gcc)
   5817       # This depmode causes a compiler race in universal mode.
   5818       test "$am__universal" = false || continue
   5819       ;;
   5820     nosideeffect)
   5821       # after this tag, mechanisms are not by side-effect, so they'll
   5822       # only be used when explicitly requested
   5823       if test "x$enable_dependency_tracking" = xyes; then
   5824 	continue
   5825       else
   5826 	break
   5827       fi
   5828       ;;
   5829     msvisualcpp | msvcmsys)
   5830       # This compiler won't grok `-c -o', but also, the minuso test has
   5831       # not run yet.  These depmodes are late enough in the game, and
   5832       # so weak that their functioning should not be impacted.
   5833       am__obj=conftest.${OBJEXT-o}
   5834       am__minus_obj=
   5835       ;;
   5836     none) break ;;
   5837     esac
   5838     if depmode=$depmode \
   5839        source=sub/conftest.c object=$am__obj \
   5840        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   5841        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   5842          >/dev/null 2>conftest.err &&
   5843        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   5844        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   5845        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   5846        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   5847       # icc doesn't choke on unknown options, it will just issue warnings
   5848       # or remarks (even with -Werror).  So we grep stderr for any message
   5849       # that says an option was ignored or not supported.
   5850       # When given -MP, icc 7.0 and 7.1 complain thusly:
   5851       #   icc: Command line warning: ignoring option '-M'; no argument required
   5852       # The diagnosis changed in icc 8.0:
   5853       #   icc: Command line remark: option '-MP' not supported
   5854       if (grep 'ignoring option' conftest.err ||
   5855           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   5856         am_cv_CXX_dependencies_compiler_type=$depmode
   5857         break
   5858       fi
   5859     fi
   5860   done
   5861 
   5862   cd ..
   5863   rm -rf conftest.dir
   5864 else
   5865   am_cv_CXX_dependencies_compiler_type=none
   5866 fi
   5867 
   5868 fi
   5869 { $as_echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
   5870 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
   5871 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
   5872 
   5873  if
   5874   test "x$enable_dependency_tracking" != xno \
   5875   && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
   5876   am__fastdepCXX_TRUE=
   5877   am__fastdepCXX_FALSE='#'
   5878 else
   5879   am__fastdepCXX_TRUE='#'
   5880   am__fastdepCXX_FALSE=
   5881 fi
   5882 
   5883 
   5884 
   5885 
   5886 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
   5887     ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
   5888     (test "X$CXX" != "Xg++"))) ; then
   5889   ac_ext=cpp
   5890 ac_cpp='$CXXCPP $CPPFLAGS'
   5891 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5892 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5893 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   5894 { $as_echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
   5895 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
   5896 if test -z "$CXXCPP"; then
   5897   if test "${ac_cv_prog_CXXCPP+set}" = set; then
   5898   $as_echo_n "(cached) " >&6
   5899 else
   5900       # Double quotes because CXXCPP needs to be expanded
   5901     for CXXCPP in "$CXX -E" "/lib/cpp"
   5902     do
   5903       ac_preproc_ok=false
   5904 for ac_cxx_preproc_warn_flag in '' yes
   5905 do
   5906   # Use a header file that comes with gcc, so configuring glibc
   5907   # with a fresh cross-compiler works.
   5908   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   5909   # <limits.h> exists even on freestanding compilers.
   5910   # On the NeXT, cc -E runs the code through the compiler's parser,
   5911   # not just through cpp. "Syntax error" is here to catch this case.
   5912   cat >conftest.$ac_ext <<_ACEOF
   5913 /* confdefs.h.  */
   5914 _ACEOF
   5915 cat confdefs.h >>conftest.$ac_ext
   5916 cat >>conftest.$ac_ext <<_ACEOF
   5917 /* end confdefs.h.  */
   5918 #ifdef __STDC__
   5919 # include <limits.h>
   5920 #else
   5921 # include <assert.h>
   5922 #endif
   5923 		     Syntax error
   5924 _ACEOF
   5925 if { (ac_try="$ac_cpp conftest.$ac_ext"
   5926 case "(($ac_try" in
   5927   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5928   *) ac_try_echo=$ac_try;;
   5929 esac
   5930 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5931 $as_echo "$ac_try_echo") >&5
   5932   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   5933   ac_status=$?
   5934   grep -v '^ *+' conftest.er1 >conftest.err
   5935   rm -f conftest.er1
   5936   cat conftest.err >&5
   5937   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5938   (exit $ac_status); } >/dev/null && {
   5939 	 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
   5940 	 test ! -s conftest.err
   5941        }; then
   5942   :
   5943 else
   5944   $as_echo "$as_me: failed program was:" >&5
   5945 sed 's/^/| /' conftest.$ac_ext >&5
   5946 
   5947   # Broken: fails on valid input.
   5948 continue
   5949 fi
   5950 
   5951 rm -f conftest.err conftest.$ac_ext
   5952 
   5953   # OK, works on sane cases.  Now check whether nonexistent headers
   5954   # can be detected and how.
   5955   cat >conftest.$ac_ext <<_ACEOF
   5956 /* confdefs.h.  */
   5957 _ACEOF
   5958 cat confdefs.h >>conftest.$ac_ext
   5959 cat >>conftest.$ac_ext <<_ACEOF
   5960 /* end confdefs.h.  */
   5961 #include <ac_nonexistent.h>
   5962 _ACEOF
   5963 if { (ac_try="$ac_cpp conftest.$ac_ext"
   5964 case "(($ac_try" in
   5965   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5966   *) ac_try_echo=$ac_try;;
   5967 esac
   5968 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5969 $as_echo "$ac_try_echo") >&5
   5970   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   5971   ac_status=$?
   5972   grep -v '^ *+' conftest.er1 >conftest.err
   5973   rm -f conftest.er1
   5974   cat conftest.err >&5
   5975   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5976   (exit $ac_status); } >/dev/null && {
   5977 	 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
   5978 	 test ! -s conftest.err
   5979        }; then
   5980   # Broken: success on invalid input.
   5981 continue
   5982 else
   5983   $as_echo "$as_me: failed program was:" >&5
   5984 sed 's/^/| /' conftest.$ac_ext >&5
   5985 
   5986   # Passes both tests.
   5987 ac_preproc_ok=:
   5988 break
   5989 fi
   5990 
   5991 rm -f conftest.err conftest.$ac_ext
   5992 
   5993 done
   5994 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   5995 rm -f conftest.err conftest.$ac_ext
   5996 if $ac_preproc_ok; then
   5997   break
   5998 fi
   5999 
   6000     done
   6001     ac_cv_prog_CXXCPP=$CXXCPP
   6002 
   6003 fi
   6004   CXXCPP=$ac_cv_prog_CXXCPP
   6005 else
   6006   ac_cv_prog_CXXCPP=$CXXCPP
   6007 fi
   6008 { $as_echo "$as_me:$LINENO: result: $CXXCPP" >&5
   6009 $as_echo "$CXXCPP" >&6; }
   6010 ac_preproc_ok=false
   6011 for ac_cxx_preproc_warn_flag in '' yes
   6012 do
   6013   # Use a header file that comes with gcc, so configuring glibc
   6014   # with a fresh cross-compiler works.
   6015   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   6016   # <limits.h> exists even on freestanding compilers.
   6017   # On the NeXT, cc -E runs the code through the compiler's parser,
   6018   # not just through cpp. "Syntax error" is here to catch this case.
   6019   cat >conftest.$ac_ext <<_ACEOF
   6020 /* confdefs.h.  */
   6021 _ACEOF
   6022 cat confdefs.h >>conftest.$ac_ext
   6023 cat >>conftest.$ac_ext <<_ACEOF
   6024 /* end confdefs.h.  */
   6025 #ifdef __STDC__
   6026 # include <limits.h>
   6027 #else
   6028 # include <assert.h>
   6029 #endif
   6030 		     Syntax error
   6031 _ACEOF
   6032 if { (ac_try="$ac_cpp conftest.$ac_ext"
   6033 case "(($ac_try" in
   6034   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6035   *) ac_try_echo=$ac_try;;
   6036 esac
   6037 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   6038 $as_echo "$ac_try_echo") >&5
   6039   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   6040   ac_status=$?
   6041   grep -v '^ *+' conftest.er1 >conftest.err
   6042   rm -f conftest.er1
   6043   cat conftest.err >&5
   6044   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6045   (exit $ac_status); } >/dev/null && {
   6046 	 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
   6047 	 test ! -s conftest.err
   6048        }; then
   6049   :
   6050 else
   6051   $as_echo "$as_me: failed program was:" >&5
   6052 sed 's/^/| /' conftest.$ac_ext >&5
   6053 
   6054   # Broken: fails on valid input.
   6055 continue
   6056 fi
   6057 
   6058 rm -f conftest.err conftest.$ac_ext
   6059 
   6060   # OK, works on sane cases.  Now check whether nonexistent headers
   6061   # can be detected and how.
   6062   cat >conftest.$ac_ext <<_ACEOF
   6063 /* confdefs.h.  */
   6064 _ACEOF
   6065 cat confdefs.h >>conftest.$ac_ext
   6066 cat >>conftest.$ac_ext <<_ACEOF
   6067 /* end confdefs.h.  */
   6068 #include <ac_nonexistent.h>
   6069 _ACEOF
   6070 if { (ac_try="$ac_cpp conftest.$ac_ext"
   6071 case "(($ac_try" in
   6072   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6073   *) ac_try_echo=$ac_try;;
   6074 esac
   6075 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   6076 $as_echo "$ac_try_echo") >&5
   6077   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   6078   ac_status=$?
   6079   grep -v '^ *+' conftest.er1 >conftest.err
   6080   rm -f conftest.er1
   6081   cat conftest.err >&5
   6082   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6083   (exit $ac_status); } >/dev/null && {
   6084 	 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
   6085 	 test ! -s conftest.err
   6086        }; then
   6087   # Broken: success on invalid input.
   6088 continue
   6089 else
   6090   $as_echo "$as_me: failed program was:" >&5
   6091 sed 's/^/| /' conftest.$ac_ext >&5
   6092 
   6093   # Passes both tests.
   6094 ac_preproc_ok=:
   6095 break
   6096 fi
   6097 
   6098 rm -f conftest.err conftest.$ac_ext
   6099 
   6100 done
   6101 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   6102 rm -f conftest.err conftest.$ac_ext
   6103 if $ac_preproc_ok; then
   6104   :
   6105 else
   6106   { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   6107 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   6108 { { $as_echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
   6109 See \`config.log' for more details." >&5
   6110 $as_echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
   6111 See \`config.log' for more details." >&2;}
   6112    { (exit 1); exit 1; }; }; }
   6113 fi
   6114 
   6115 ac_ext=cpp
   6116 ac_cpp='$CXXCPP $CPPFLAGS'
   6117 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   6118 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   6119 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   6120 
   6121 fi
   6122 
   6123 
   6124 ac_ext=f
   6125 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
   6126 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   6127 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
   6128 if test -n "$ac_tool_prefix"; then
   6129   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
   6130   do
   6131     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   6132 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   6133 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   6134 $as_echo_n "checking for $ac_word... " >&6; }
   6135 if test "${ac_cv_prog_F77+set}" = set; then
   6136   $as_echo_n "(cached) " >&6
   6137 else
   6138   if test -n "$F77"; then
   6139   ac_cv_prog_F77="$F77" # Let the user override the test.
   6140 else
   6141 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6142 for as_dir in $PATH
   6143 do
   6144   IFS=$as_save_IFS
   6145   test -z "$as_dir" && as_dir=.
   6146   for ac_exec_ext in '' $ac_executable_extensions; do
   6147   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6148     ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
   6149     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6150     break 2
   6151   fi
   6152 done
   6153 done
   6154 IFS=$as_save_IFS
   6155 
   6156 fi
   6157 fi
   6158 F77=$ac_cv_prog_F77
   6159 if test -n "$F77"; then
   6160   { $as_echo "$as_me:$LINENO: result: $F77" >&5
   6161 $as_echo "$F77" >&6; }
   6162 else
   6163   { $as_echo "$as_me:$LINENO: result: no" >&5
   6164 $as_echo "no" >&6; }
   6165 fi
   6166 
   6167 
   6168     test -n "$F77" && break
   6169   done
   6170 fi
   6171 if test -z "$F77"; then
   6172   ac_ct_F77=$F77
   6173   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
   6174 do
   6175   # Extract the first word of "$ac_prog", so it can be a program name with args.
   6176 set dummy $ac_prog; ac_word=$2
   6177 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   6178 $as_echo_n "checking for $ac_word... " >&6; }
   6179 if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
   6180   $as_echo_n "(cached) " >&6
   6181 else
   6182   if test -n "$ac_ct_F77"; then
   6183   ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test.
   6184 else
   6185 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6186 for as_dir in $PATH
   6187 do
   6188   IFS=$as_save_IFS
   6189   test -z "$as_dir" && as_dir=.
   6190   for ac_exec_ext in '' $ac_executable_extensions; do
   6191   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6192     ac_cv_prog_ac_ct_F77="$ac_prog"
   6193     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6194     break 2
   6195   fi
   6196 done
   6197 done
   6198 IFS=$as_save_IFS
   6199 
   6200 fi
   6201 fi
   6202 ac_ct_F77=$ac_cv_prog_ac_ct_F77
   6203 if test -n "$ac_ct_F77"; then
   6204   { $as_echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
   6205 $as_echo "$ac_ct_F77" >&6; }
   6206 else
   6207   { $as_echo "$as_me:$LINENO: result: no" >&5
   6208 $as_echo "no" >&6; }
   6209 fi
   6210 
   6211 
   6212   test -n "$ac_ct_F77" && break
   6213 done
   6214 
   6215   if test "x$ac_ct_F77" = x; then
   6216     F77=""
   6217   else
   6218     case $cross_compiling:$ac_tool_warned in
   6219 yes:)
   6220 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   6221 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6222 ac_tool_warned=yes ;;
   6223 esac
   6224     F77=$ac_ct_F77
   6225   fi
   6226 fi
   6227 
   6228 
   6229 # Provide some information about the compiler.
   6230 $as_echo "$as_me:$LINENO: checking for Fortran 77 compiler version" >&5
   6231 set X $ac_compile
   6232 ac_compiler=$2
   6233 { (ac_try="$ac_compiler --version >&5"
   6234 case "(($ac_try" in
   6235   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6236   *) ac_try_echo=$ac_try;;
   6237 esac
   6238 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   6239 $as_echo "$ac_try_echo") >&5
   6240   (eval "$ac_compiler --version >&5") 2>&5
   6241   ac_status=$?
   6242   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6243   (exit $ac_status); }
   6244 { (ac_try="$ac_compiler -v >&5"
   6245 case "(($ac_try" in
   6246   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6247   *) ac_try_echo=$ac_try;;
   6248 esac
   6249 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   6250 $as_echo "$ac_try_echo") >&5
   6251   (eval "$ac_compiler -v >&5") 2>&5
   6252   ac_status=$?
   6253   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6254   (exit $ac_status); }
   6255 { (ac_try="$ac_compiler -V >&5"
   6256 case "(($ac_try" in
   6257   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6258   *) ac_try_echo=$ac_try;;
   6259 esac
   6260 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   6261 $as_echo "$ac_try_echo") >&5
   6262   (eval "$ac_compiler -V >&5") 2>&5
   6263   ac_status=$?
   6264   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6265   (exit $ac_status); }
   6266 rm -f a.out
   6267 
   6268 # If we don't use `.F' as extension, the preprocessor is not run on the
   6269 # input file.  (Note that this only needs to work for GNU compilers.)
   6270 ac_save_ext=$ac_ext
   6271 ac_ext=F
   6272 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
   6273 $as_echo_n "checking whether we are using the GNU Fortran 77 compiler... " >&6; }
   6274 if test "${ac_cv_f77_compiler_gnu+set}" = set; then
   6275   $as_echo_n "(cached) " >&6
   6276 else
   6277   cat >conftest.$ac_ext <<_ACEOF
   6278       program main
   6279 #ifndef __GNUC__
   6280        choke me
   6281 #endif
   6282 
   6283       end
   6284 _ACEOF
   6285 rm -f conftest.$ac_objext
   6286 if { (ac_try="$ac_compile"
   6287 case "(($ac_try" in
   6288   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6289   *) ac_try_echo=$ac_try;;
   6290 esac
   6291 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   6292 $as_echo "$ac_try_echo") >&5
   6293   (eval "$ac_compile") 2>conftest.er1
   6294   ac_status=$?
   6295   grep -v '^ *+' conftest.er1 >conftest.err
   6296   rm -f conftest.er1
   6297   cat conftest.err >&5
   6298   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6299   (exit $ac_status); } && {
   6300 	 test -z "$ac_f77_werror_flag" ||
   6301 	 test ! -s conftest.err
   6302        } && test -s conftest.$ac_objext; then
   6303   ac_compiler_gnu=yes
   6304 else
   6305   $as_echo "$as_me: failed program was:" >&5
   6306 sed 's/^/| /' conftest.$ac_ext >&5
   6307 
   6308 	ac_compiler_gnu=no
   6309 fi
   6310 
   6311 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6312 ac_cv_f77_compiler_gnu=$ac_compiler_gnu
   6313 
   6314 fi
   6315 { $as_echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
   6316 $as_echo "$ac_cv_f77_compiler_gnu" >&6; }
   6317 ac_ext=$ac_save_ext
   6318 ac_test_FFLAGS=${FFLAGS+set}
   6319 ac_save_FFLAGS=$FFLAGS
   6320 FFLAGS=
   6321 { $as_echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
   6322 $as_echo_n "checking whether $F77 accepts -g... " >&6; }
   6323 if test "${ac_cv_prog_f77_g+set}" = set; then
   6324   $as_echo_n "(cached) " >&6
   6325 else
   6326   FFLAGS=-g
   6327 cat >conftest.$ac_ext <<_ACEOF
   6328       program main
   6329 
   6330       end
   6331 _ACEOF
   6332 rm -f conftest.$ac_objext
   6333 if { (ac_try="$ac_compile"
   6334 case "(($ac_try" in
   6335   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6336   *) ac_try_echo=$ac_try;;
   6337 esac
   6338 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   6339 $as_echo "$ac_try_echo") >&5
   6340   (eval "$ac_compile") 2>conftest.er1
   6341   ac_status=$?
   6342   grep -v '^ *+' conftest.er1 >conftest.err
   6343   rm -f conftest.er1
   6344   cat conftest.err >&5
   6345   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6346   (exit $ac_status); } && {
   6347 	 test -z "$ac_f77_werror_flag" ||
   6348 	 test ! -s conftest.err
   6349        } && test -s conftest.$ac_objext; then
   6350   ac_cv_prog_f77_g=yes
   6351 else
   6352   $as_echo "$as_me: failed program was:" >&5
   6353 sed 's/^/| /' conftest.$ac_ext >&5
   6354 
   6355 	ac_cv_prog_f77_g=no
   6356 fi
   6357 
   6358 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6359 
   6360 fi
   6361 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
   6362 $as_echo "$ac_cv_prog_f77_g" >&6; }
   6363 if test "$ac_test_FFLAGS" = set; then
   6364   FFLAGS=$ac_save_FFLAGS
   6365 elif test $ac_cv_prog_f77_g = yes; then
   6366   if test "x$ac_cv_f77_compiler_gnu" = xyes; then
   6367     FFLAGS="-g -O2"
   6368   else
   6369     FFLAGS="-g"
   6370   fi
   6371 else
   6372   if test "x$ac_cv_f77_compiler_gnu" = xyes; then
   6373     FFLAGS="-O2"
   6374   else
   6375     FFLAGS=
   6376   fi
   6377 fi
   6378 
   6379 if test $ac_compiler_gnu = yes; then
   6380   G77=yes
   6381 else
   6382   G77=
   6383 fi
   6384 ac_ext=c
   6385 ac_cpp='$CPP $CPPFLAGS'
   6386 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   6387 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   6388 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   6389 
   6390 
   6391 
   6392 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
   6393 # find the maximum length of command line arguments
   6394 { $as_echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
   6395 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
   6396 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
   6397   $as_echo_n "(cached) " >&6
   6398 else
   6399     i=0
   6400   teststring="ABCD"
   6401 
   6402   case $build_os in
   6403   msdosdjgpp*)
   6404     # On DJGPP, this test can blow up pretty badly due to problems in libc
   6405     # (any single argument exceeding 2000 bytes causes a buffer overrun
   6406     # during glob expansion).  Even if it were fixed, the result of this
   6407     # check would be larger than it should be.
   6408     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
   6409     ;;
   6410 
   6411   gnu*)
   6412     # Under GNU Hurd, this test is not required because there is
   6413     # no limit to the length of command line arguments.
   6414     # Libtool will interpret -1 as no limit whatsoever
   6415     lt_cv_sys_max_cmd_len=-1;
   6416     ;;
   6417 
   6418   cygwin* | mingw*)
   6419     # On Win9x/ME, this test blows up -- it succeeds, but takes
   6420     # about 5 minutes as the teststring grows exponentially.
   6421     # Worse, since 9x/ME are not pre-emptively multitasking,
   6422     # you end up with a "frozen" computer, even though with patience
   6423     # the test eventually succeeds (with a max line length of 256k).
   6424     # Instead, let's just punt: use the minimum linelength reported by
   6425     # all of the supported platforms: 8192 (on NT/2K/XP).
   6426     lt_cv_sys_max_cmd_len=8192;
   6427     ;;
   6428 
   6429   amigaos*)
   6430     # On AmigaOS with pdksh, this test takes hours, literally.
   6431     # So we just punt and use a minimum line length of 8192.
   6432     lt_cv_sys_max_cmd_len=8192;
   6433     ;;
   6434 
   6435   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
   6436     # This has been around since 386BSD, at least.  Likely further.
   6437     if test -x /sbin/sysctl; then
   6438       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
   6439     elif test -x /usr/sbin/sysctl; then
   6440       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
   6441     else
   6442       lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
   6443     fi
   6444     # And add a safety zone
   6445     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   6446     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   6447     ;;
   6448 
   6449   interix*)
   6450     # We know the value 262144 and hardcode it with a safety zone (like BSD)
   6451     lt_cv_sys_max_cmd_len=196608
   6452     ;;
   6453 
   6454   osf*)
   6455     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
   6456     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
   6457     # nice to cause kernel panics so lets avoid the loop below.
   6458     # First set a reasonable default.
   6459     lt_cv_sys_max_cmd_len=16384
   6460     #
   6461     if test -x /sbin/sysconfig; then
   6462       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
   6463         *1*) lt_cv_sys_max_cmd_len=-1 ;;
   6464       esac
   6465     fi
   6466     ;;
   6467   sco3.2v5*)
   6468     lt_cv_sys_max_cmd_len=102400
   6469     ;;
   6470   sysv5* | sco5v6* | sysv4.2uw2*)
   6471     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
   6472     if test -n "$kargmax"; then
   6473       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ 	]//'`
   6474     else
   6475       lt_cv_sys_max_cmd_len=32768
   6476     fi
   6477     ;;
   6478   *)
   6479     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
   6480     if test -n "$lt_cv_sys_max_cmd_len"; then
   6481       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   6482       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   6483     else
   6484       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
   6485       while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
   6486 	       = "XX$teststring") >/dev/null 2>&1 &&
   6487 	      new_result=`expr "X$teststring" : ".*" 2>&1` &&
   6488 	      lt_cv_sys_max_cmd_len=$new_result &&
   6489 	      test $i != 17 # 1/2 MB should be enough
   6490       do
   6491         i=`expr $i + 1`
   6492         teststring=$teststring$teststring
   6493       done
   6494       teststring=
   6495       # Add a significant safety factor because C++ compilers can tack on massive
   6496       # amounts of additional arguments before passing them to the linker.
   6497       # It appears as though 1/2 is a usable value.
   6498       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
   6499     fi
   6500     ;;
   6501   esac
   6502 
   6503 fi
   6504 
   6505 if test -n $lt_cv_sys_max_cmd_len ; then
   6506   { $as_echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
   6507 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
   6508 else
   6509   { $as_echo "$as_me:$LINENO: result: none" >&5
   6510 $as_echo "none" >&6; }
   6511 fi
   6512 
   6513 
   6514 
   6515 
   6516 
   6517 # Check for command to grab the raw symbol name followed by C symbol from nm.
   6518 { $as_echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
   6519 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
   6520 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
   6521   $as_echo_n "(cached) " >&6
   6522 else
   6523 
   6524 # These are sane defaults that work on at least a few old systems.
   6525 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
   6526 
   6527 # Character class describing NM global symbol codes.
   6528 symcode='[BCDEGRST]'
   6529 
   6530 # Regexp to match symbols that can be accessed directly from C.
   6531 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
   6532 
   6533 # Transform an extracted symbol line into a proper C declaration
   6534 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
   6535 
   6536 # Transform an extracted symbol line into symbol name and symbol address
   6537 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'"
   6538 
   6539 # Define system-specific variables.
   6540 case $host_os in
   6541 aix*)
   6542   symcode='[BCDT]'
   6543   ;;
   6544 cygwin* | mingw* | pw32*)
   6545   symcode='[ABCDGISTW]'
   6546   ;;
   6547 hpux*) # Its linker distinguishes data from code symbols
   6548   if test "$host_cpu" = ia64; then
   6549     symcode='[ABCDEGRST]'
   6550   fi
   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   ;;
   6554 linux* | k*bsd*-gnu)
   6555   if test "$host_cpu" = ia64; then
   6556     symcode='[ABCDGIRSTW]'
   6557     lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
   6558     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'"
   6559   fi
   6560   ;;
   6561 irix* | nonstopux*)
   6562   symcode='[BCDEGRST]'
   6563   ;;
   6564 osf*)
   6565   symcode='[BCDEGQRST]'
   6566   ;;
   6567 solaris*)
   6568   symcode='[BDRT]'
   6569   ;;
   6570 sco3.2v5*)
   6571   symcode='[DT]'
   6572   ;;
   6573 sysv4.2uw2*)
   6574   symcode='[DT]'
   6575   ;;
   6576 sysv5* | sco5v6* | unixware* | OpenUNIX*)
   6577   symcode='[ABDT]'
   6578   ;;
   6579 sysv4)
   6580   symcode='[DFNSTU]'
   6581   ;;
   6582 esac
   6583 
   6584 # Handle CRLF in mingw tool chain
   6585 opt_cr=
   6586 case $build_os in
   6587 mingw*)
   6588   opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
   6589   ;;
   6590 esac
   6591 
   6592 # If we're using GNU nm, then use its standard symbol codes.
   6593 case `$NM -V 2>&1` in
   6594 *GNU* | *'with BFD'*)
   6595   symcode='[ABCDGIRSTW]' ;;
   6596 esac
   6597 
   6598 # Try without a prefix undercore, then with it.
   6599 for ac_symprfx in "" "_"; do
   6600 
   6601   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
   6602   symxfrm="\\1 $ac_symprfx\\2 \\2"
   6603 
   6604   # Write the raw and C identifiers.
   6605   lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ 	]\($symcode$symcode*\)[ 	][ 	]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
   6606 
   6607   # Check to see that the pipe works correctly.
   6608   pipe_works=no
   6609 
   6610   rm -f conftest*
   6611   cat > conftest.$ac_ext <<EOF
   6612 #ifdef __cplusplus
   6613 extern "C" {
   6614 #endif
   6615 char nm_test_var;
   6616 void nm_test_func(){}
   6617 #ifdef __cplusplus
   6618 }
   6619 #endif
   6620 int main(){nm_test_var='a';nm_test_func();return(0);}
   6621 EOF
   6622 
   6623   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   6624   (eval $ac_compile) 2>&5
   6625   ac_status=$?
   6626   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6627   (exit $ac_status); }; then
   6628     # Now try to grab the symbols.
   6629     nlist=conftest.nm
   6630     if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
   6631   (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
   6632   ac_status=$?
   6633   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6634   (exit $ac_status); } && test -s "$nlist"; then
   6635       # Try sorting and uniquifying the output.
   6636       if sort "$nlist" | uniq > "$nlist"T; then
   6637 	mv -f "$nlist"T "$nlist"
   6638       else
   6639 	rm -f "$nlist"T
   6640       fi
   6641 
   6642       # Make sure that we snagged all the symbols we need.
   6643       if grep ' nm_test_var$' "$nlist" >/dev/null; then
   6644 	if grep ' nm_test_func$' "$nlist" >/dev/null; then
   6645 	  cat <<EOF > conftest.$ac_ext
   6646 #ifdef __cplusplus
   6647 extern "C" {
   6648 #endif
   6649 
   6650 EOF
   6651 	  # Now generate the symbol file.
   6652 	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
   6653 
   6654 	  cat <<EOF >> conftest.$ac_ext
   6655 #if defined (__STDC__) && __STDC__
   6656 # define lt_ptr_t void *
   6657 #else
   6658 # define lt_ptr_t char *
   6659 # define const
   6660 #endif
   6661 
   6662 /* The mapping between symbol names and symbols. */
   6663 const struct {
   6664   const char *name;
   6665   lt_ptr_t address;
   6666 }
   6667 lt_preloaded_symbols[] =
   6668 {
   6669 EOF
   6670 	  $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext
   6671 	  cat <<\EOF >> conftest.$ac_ext
   6672   {0, (lt_ptr_t) 0}
   6673 };
   6674 
   6675 #ifdef __cplusplus
   6676 }
   6677 #endif
   6678 EOF
   6679 	  # Now try linking the two files.
   6680 	  mv conftest.$ac_objext conftstm.$ac_objext
   6681 	  lt_save_LIBS="$LIBS"
   6682 	  lt_save_CFLAGS="$CFLAGS"
   6683 	  LIBS="conftstm.$ac_objext"
   6684 	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
   6685 	  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   6686   (eval $ac_link) 2>&5
   6687   ac_status=$?
   6688   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6689   (exit $ac_status); } && test -s conftest${ac_exeext}; then
   6690 	    pipe_works=yes
   6691 	  fi
   6692 	  LIBS="$lt_save_LIBS"
   6693 	  CFLAGS="$lt_save_CFLAGS"
   6694 	else
   6695 	  echo "cannot find nm_test_func in $nlist" >&5
   6696 	fi
   6697       else
   6698 	echo "cannot find nm_test_var in $nlist" >&5
   6699       fi
   6700     else
   6701       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
   6702     fi
   6703   else
   6704     echo "$progname: failed program was:" >&5
   6705     cat conftest.$ac_ext >&5
   6706   fi
   6707   rm -rf conftest* conftst*
   6708 
   6709   # Do not use the global_symbol_pipe unless it works.
   6710   if test "$pipe_works" = yes; then
   6711     break
   6712   else
   6713     lt_cv_sys_global_symbol_pipe=
   6714   fi
   6715 done
   6716 
   6717 fi
   6718 
   6719 if test -z "$lt_cv_sys_global_symbol_pipe"; then
   6720   lt_cv_sys_global_symbol_to_cdecl=
   6721 fi
   6722 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
   6723   { $as_echo "$as_me:$LINENO: result: failed" >&5
   6724 $as_echo "failed" >&6; }
   6725 else
   6726   { $as_echo "$as_me:$LINENO: result: ok" >&5
   6727 $as_echo "ok" >&6; }
   6728 fi
   6729 
   6730 { $as_echo "$as_me:$LINENO: checking for objdir" >&5
   6731 $as_echo_n "checking for objdir... " >&6; }
   6732 if test "${lt_cv_objdir+set}" = set; then
   6733   $as_echo_n "(cached) " >&6
   6734 else
   6735   rm -f .libs 2>/dev/null
   6736 mkdir .libs 2>/dev/null
   6737 if test -d .libs; then
   6738   lt_cv_objdir=.libs
   6739 else
   6740   # MS-DOS does not allow filenames that begin with a dot.
   6741   lt_cv_objdir=_libs
   6742 fi
   6743 rmdir .libs 2>/dev/null
   6744 fi
   6745 { $as_echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
   6746 $as_echo "$lt_cv_objdir" >&6; }
   6747 objdir=$lt_cv_objdir
   6748 
   6749 
   6750 
   6751 
   6752 
   6753 case $host_os in
   6754 aix3*)
   6755   # AIX sometimes has problems with the GCC collect2 program.  For some
   6756   # reason, if we set the COLLECT_NAMES environment variable, the problems
   6757   # vanish in a puff of smoke.
   6758   if test "X${COLLECT_NAMES+set}" != Xset; then
   6759     COLLECT_NAMES=
   6760     export COLLECT_NAMES
   6761   fi
   6762   ;;
   6763 esac
   6764 
   6765 # Sed substitution that helps us do robust quoting.  It backslashifies
   6766 # metacharacters that are still active within double-quoted strings.
   6767 Xsed='sed -e 1s/^X//'
   6768 sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g'
   6769 
   6770 # Same as above, but do not quote variable references.
   6771 double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g'
   6772 
   6773 # Sed substitution to delay expansion of an escaped shell variable in a
   6774 # double_quote_subst'ed string.
   6775 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
   6776 
   6777 # Sed substitution to avoid accidental globbing in evaled expressions
   6778 no_glob_subst='s/\*/\\\*/g'
   6779 
   6780 # Constants:
   6781 rm="rm -f"
   6782 
   6783 # Global variables:
   6784 default_ofile=libtool
   6785 can_build_shared=yes
   6786 
   6787 # All known linkers require a `.a' archive for static linking (except MSVC,
   6788 # which needs '.lib').
   6789 libext=a
   6790 ltmain="$ac_aux_dir/ltmain.sh"
   6791 ofile="$default_ofile"
   6792 with_gnu_ld="$lt_cv_prog_gnu_ld"
   6793 
   6794 if test -n "$ac_tool_prefix"; then
   6795   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
   6796 set dummy ${ac_tool_prefix}ar; ac_word=$2
   6797 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   6798 $as_echo_n "checking for $ac_word... " >&6; }
   6799 if test "${ac_cv_prog_AR+set}" = set; then
   6800   $as_echo_n "(cached) " >&6
   6801 else
   6802   if test -n "$AR"; then
   6803   ac_cv_prog_AR="$AR" # Let the user override the test.
   6804 else
   6805 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6806 for as_dir in $PATH
   6807 do
   6808   IFS=$as_save_IFS
   6809   test -z "$as_dir" && as_dir=.
   6810   for ac_exec_ext in '' $ac_executable_extensions; do
   6811   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6812     ac_cv_prog_AR="${ac_tool_prefix}ar"
   6813     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6814     break 2
   6815   fi
   6816 done
   6817 done
   6818 IFS=$as_save_IFS
   6819 
   6820 fi
   6821 fi
   6822 AR=$ac_cv_prog_AR
   6823 if test -n "$AR"; then
   6824   { $as_echo "$as_me:$LINENO: result: $AR" >&5
   6825 $as_echo "$AR" >&6; }
   6826 else
   6827   { $as_echo "$as_me:$LINENO: result: no" >&5
   6828 $as_echo "no" >&6; }
   6829 fi
   6830 
   6831 
   6832 fi
   6833 if test -z "$ac_cv_prog_AR"; then
   6834   ac_ct_AR=$AR
   6835   # Extract the first word of "ar", so it can be a program name with args.
   6836 set dummy ar; ac_word=$2
   6837 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   6838 $as_echo_n "checking for $ac_word... " >&6; }
   6839 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
   6840   $as_echo_n "(cached) " >&6
   6841 else
   6842   if test -n "$ac_ct_AR"; then
   6843   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
   6844 else
   6845 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6846 for as_dir in $PATH
   6847 do
   6848   IFS=$as_save_IFS
   6849   test -z "$as_dir" && as_dir=.
   6850   for ac_exec_ext in '' $ac_executable_extensions; do
   6851   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6852     ac_cv_prog_ac_ct_AR="ar"
   6853     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6854     break 2
   6855   fi
   6856 done
   6857 done
   6858 IFS=$as_save_IFS
   6859 
   6860 fi
   6861 fi
   6862 ac_ct_AR=$ac_cv_prog_ac_ct_AR
   6863 if test -n "$ac_ct_AR"; then
   6864   { $as_echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
   6865 $as_echo "$ac_ct_AR" >&6; }
   6866 else
   6867   { $as_echo "$as_me:$LINENO: result: no" >&5
   6868 $as_echo "no" >&6; }
   6869 fi
   6870 
   6871   if test "x$ac_ct_AR" = x; then
   6872     AR="false"
   6873   else
   6874     case $cross_compiling:$ac_tool_warned in
   6875 yes:)
   6876 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   6877 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6878 ac_tool_warned=yes ;;
   6879 esac
   6880     AR=$ac_ct_AR
   6881   fi
   6882 else
   6883   AR="$ac_cv_prog_AR"
   6884 fi
   6885 
   6886 if test -n "$ac_tool_prefix"; then
   6887   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
   6888 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
   6889 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   6890 $as_echo_n "checking for $ac_word... " >&6; }
   6891 if test "${ac_cv_prog_RANLIB+set}" = set; then
   6892   $as_echo_n "(cached) " >&6
   6893 else
   6894   if test -n "$RANLIB"; then
   6895   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
   6896 else
   6897 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6898 for as_dir in $PATH
   6899 do
   6900   IFS=$as_save_IFS
   6901   test -z "$as_dir" && as_dir=.
   6902   for ac_exec_ext in '' $ac_executable_extensions; do
   6903   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6904     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
   6905     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6906     break 2
   6907   fi
   6908 done
   6909 done
   6910 IFS=$as_save_IFS
   6911 
   6912 fi
   6913 fi
   6914 RANLIB=$ac_cv_prog_RANLIB
   6915 if test -n "$RANLIB"; then
   6916   { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
   6917 $as_echo "$RANLIB" >&6; }
   6918 else
   6919   { $as_echo "$as_me:$LINENO: result: no" >&5
   6920 $as_echo "no" >&6; }
   6921 fi
   6922 
   6923 
   6924 fi
   6925 if test -z "$ac_cv_prog_RANLIB"; then
   6926   ac_ct_RANLIB=$RANLIB
   6927   # Extract the first word of "ranlib", so it can be a program name with args.
   6928 set dummy ranlib; ac_word=$2
   6929 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   6930 $as_echo_n "checking for $ac_word... " >&6; }
   6931 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
   6932   $as_echo_n "(cached) " >&6
   6933 else
   6934   if test -n "$ac_ct_RANLIB"; then
   6935   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
   6936 else
   6937 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6938 for as_dir in $PATH
   6939 do
   6940   IFS=$as_save_IFS
   6941   test -z "$as_dir" && as_dir=.
   6942   for ac_exec_ext in '' $ac_executable_extensions; do
   6943   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6944     ac_cv_prog_ac_ct_RANLIB="ranlib"
   6945     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6946     break 2
   6947   fi
   6948 done
   6949 done
   6950 IFS=$as_save_IFS
   6951 
   6952 fi
   6953 fi
   6954 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
   6955 if test -n "$ac_ct_RANLIB"; then
   6956   { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
   6957 $as_echo "$ac_ct_RANLIB" >&6; }
   6958 else
   6959   { $as_echo "$as_me:$LINENO: result: no" >&5
   6960 $as_echo "no" >&6; }
   6961 fi
   6962 
   6963   if test "x$ac_ct_RANLIB" = x; then
   6964     RANLIB=":"
   6965   else
   6966     case $cross_compiling:$ac_tool_warned in
   6967 yes:)
   6968 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   6969 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6970 ac_tool_warned=yes ;;
   6971 esac
   6972     RANLIB=$ac_ct_RANLIB
   6973   fi
   6974 else
   6975   RANLIB="$ac_cv_prog_RANLIB"
   6976 fi
   6977 
   6978 if test -n "$ac_tool_prefix"; then
   6979   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   6980 set dummy ${ac_tool_prefix}strip; ac_word=$2
   6981 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   6982 $as_echo_n "checking for $ac_word... " >&6; }
   6983 if test "${ac_cv_prog_STRIP+set}" = set; then
   6984   $as_echo_n "(cached) " >&6
   6985 else
   6986   if test -n "$STRIP"; then
   6987   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   6988 else
   6989 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6990 for as_dir in $PATH
   6991 do
   6992   IFS=$as_save_IFS
   6993   test -z "$as_dir" && as_dir=.
   6994   for ac_exec_ext in '' $ac_executable_extensions; do
   6995   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6996     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   6997     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6998     break 2
   6999   fi
   7000 done
   7001 done
   7002 IFS=$as_save_IFS
   7003 
   7004 fi
   7005 fi
   7006 STRIP=$ac_cv_prog_STRIP
   7007 if test -n "$STRIP"; then
   7008   { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
   7009 $as_echo "$STRIP" >&6; }
   7010 else
   7011   { $as_echo "$as_me:$LINENO: result: no" >&5
   7012 $as_echo "no" >&6; }
   7013 fi
   7014 
   7015 
   7016 fi
   7017 if test -z "$ac_cv_prog_STRIP"; then
   7018   ac_ct_STRIP=$STRIP
   7019   # Extract the first word of "strip", so it can be a program name with args.
   7020 set dummy strip; ac_word=$2
   7021 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   7022 $as_echo_n "checking for $ac_word... " >&6; }
   7023 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
   7024   $as_echo_n "(cached) " >&6
   7025 else
   7026   if test -n "$ac_ct_STRIP"; then
   7027   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   7028 else
   7029 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7030 for as_dir in $PATH
   7031 do
   7032   IFS=$as_save_IFS
   7033   test -z "$as_dir" && as_dir=.
   7034   for ac_exec_ext in '' $ac_executable_extensions; do
   7035   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7036     ac_cv_prog_ac_ct_STRIP="strip"
   7037     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   7038     break 2
   7039   fi
   7040 done
   7041 done
   7042 IFS=$as_save_IFS
   7043 
   7044 fi
   7045 fi
   7046 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   7047 if test -n "$ac_ct_STRIP"; then
   7048   { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
   7049 $as_echo "$ac_ct_STRIP" >&6; }
   7050 else
   7051   { $as_echo "$as_me:$LINENO: result: no" >&5
   7052 $as_echo "no" >&6; }
   7053 fi
   7054 
   7055   if test "x$ac_ct_STRIP" = x; then
   7056     STRIP=":"
   7057   else
   7058     case $cross_compiling:$ac_tool_warned in
   7059 yes:)
   7060 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   7061 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7062 ac_tool_warned=yes ;;
   7063 esac
   7064     STRIP=$ac_ct_STRIP
   7065   fi
   7066 else
   7067   STRIP="$ac_cv_prog_STRIP"
   7068 fi
   7069 
   7070 
   7071 old_CC="$CC"
   7072 old_CFLAGS="$CFLAGS"
   7073 
   7074 # Set sane defaults for various variables
   7075 test -z "$AR" && AR=ar
   7076 test -z "$AR_FLAGS" && AR_FLAGS=cru
   7077 test -z "$AS" && AS=as
   7078 test -z "$CC" && CC=cc
   7079 test -z "$LTCC" && LTCC=$CC
   7080 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
   7081 test -z "$DLLTOOL" && DLLTOOL=dlltool
   7082 test -z "$LD" && LD=ld
   7083 test -z "$LN_S" && LN_S="ln -s"
   7084 test -z "$MAGIC_CMD" && MAGIC_CMD=file
   7085 test -z "$NM" && NM=nm
   7086 test -z "$SED" && SED=sed
   7087 test -z "$OBJDUMP" && OBJDUMP=objdump
   7088 test -z "$RANLIB" && RANLIB=:
   7089 test -z "$STRIP" && STRIP=:
   7090 test -z "$ac_objext" && ac_objext=o
   7091 
   7092 # Determine commands to create old-style static archives.
   7093 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
   7094 old_postinstall_cmds='chmod 644 $oldlib'
   7095 old_postuninstall_cmds=
   7096 
   7097 if test -n "$RANLIB"; then
   7098   case $host_os in
   7099   openbsd*)
   7100     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
   7101     ;;
   7102   *)
   7103     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
   7104     ;;
   7105   esac
   7106   old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
   7107 fi
   7108 
   7109 for cc_temp in $compiler""; do
   7110   case $cc_temp in
   7111     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   7112     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   7113     \-*) ;;
   7114     *) break;;
   7115   esac
   7116 done
   7117 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   7118 
   7119 
   7120 # Only perform the check for file, if the check method requires it
   7121 case $deplibs_check_method in
   7122 file_magic*)
   7123   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
   7124     { $as_echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
   7125 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
   7126 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
   7127   $as_echo_n "(cached) " >&6
   7128 else
   7129   case $MAGIC_CMD in
   7130 [\\/*] |  ?:[\\/]*)
   7131   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   7132   ;;
   7133 *)
   7134   lt_save_MAGIC_CMD="$MAGIC_CMD"
   7135   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   7136   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   7137   for ac_dir in $ac_dummy; do
   7138     IFS="$lt_save_ifs"
   7139     test -z "$ac_dir" && ac_dir=.
   7140     if test -f $ac_dir/${ac_tool_prefix}file; then
   7141       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
   7142       if test -n "$file_magic_test_file"; then
   7143 	case $deplibs_check_method in
   7144 	"file_magic "*)
   7145 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   7146 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7147 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   7148 	    $EGREP "$file_magic_regex" > /dev/null; then
   7149 	    :
   7150 	  else
   7151 	    cat <<EOF 1>&2
   7152 
   7153 *** Warning: the command libtool uses to detect shared libraries,
   7154 *** $file_magic_cmd, produces output that libtool cannot recognize.
   7155 *** The result is that libtool may fail to recognize shared libraries
   7156 *** as such.  This will affect the creation of libtool libraries that
   7157 *** depend on shared libraries, but programs linked with such libtool
   7158 *** libraries will work regardless of this problem.  Nevertheless, you
   7159 *** may want to report the problem to your system manager and/or to
   7160 *** bug-libtool@gnu.org
   7161 
   7162 EOF
   7163 	  fi ;;
   7164 	esac
   7165       fi
   7166       break
   7167     fi
   7168   done
   7169   IFS="$lt_save_ifs"
   7170   MAGIC_CMD="$lt_save_MAGIC_CMD"
   7171   ;;
   7172 esac
   7173 fi
   7174 
   7175 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7176 if test -n "$MAGIC_CMD"; then
   7177   { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
   7178 $as_echo "$MAGIC_CMD" >&6; }
   7179 else
   7180   { $as_echo "$as_me:$LINENO: result: no" >&5
   7181 $as_echo "no" >&6; }
   7182 fi
   7183 
   7184 if test -z "$lt_cv_path_MAGIC_CMD"; then
   7185   if test -n "$ac_tool_prefix"; then
   7186     { $as_echo "$as_me:$LINENO: checking for file" >&5
   7187 $as_echo_n "checking for file... " >&6; }
   7188 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
   7189   $as_echo_n "(cached) " >&6
   7190 else
   7191   case $MAGIC_CMD in
   7192 [\\/*] |  ?:[\\/]*)
   7193   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   7194   ;;
   7195 *)
   7196   lt_save_MAGIC_CMD="$MAGIC_CMD"
   7197   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   7198   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   7199   for ac_dir in $ac_dummy; do
   7200     IFS="$lt_save_ifs"
   7201     test -z "$ac_dir" && ac_dir=.
   7202     if test -f $ac_dir/file; then
   7203       lt_cv_path_MAGIC_CMD="$ac_dir/file"
   7204       if test -n "$file_magic_test_file"; then
   7205 	case $deplibs_check_method in
   7206 	"file_magic "*)
   7207 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   7208 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7209 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   7210 	    $EGREP "$file_magic_regex" > /dev/null; then
   7211 	    :
   7212 	  else
   7213 	    cat <<EOF 1>&2
   7214 
   7215 *** Warning: the command libtool uses to detect shared libraries,
   7216 *** $file_magic_cmd, produces output that libtool cannot recognize.
   7217 *** The result is that libtool may fail to recognize shared libraries
   7218 *** as such.  This will affect the creation of libtool libraries that
   7219 *** depend on shared libraries, but programs linked with such libtool
   7220 *** libraries will work regardless of this problem.  Nevertheless, you
   7221 *** may want to report the problem to your system manager and/or to
   7222 *** bug-libtool@gnu.org
   7223 
   7224 EOF
   7225 	  fi ;;
   7226 	esac
   7227       fi
   7228       break
   7229     fi
   7230   done
   7231   IFS="$lt_save_ifs"
   7232   MAGIC_CMD="$lt_save_MAGIC_CMD"
   7233   ;;
   7234 esac
   7235 fi
   7236 
   7237 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7238 if test -n "$MAGIC_CMD"; then
   7239   { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
   7240 $as_echo "$MAGIC_CMD" >&6; }
   7241 else
   7242   { $as_echo "$as_me:$LINENO: result: no" >&5
   7243 $as_echo "no" >&6; }
   7244 fi
   7245 
   7246   else
   7247     MAGIC_CMD=:
   7248   fi
   7249 fi
   7250 
   7251   fi
   7252   ;;
   7253 esac
   7254 
   7255 
   7256   case $host_os in
   7257     rhapsody* | darwin*)
   7258     if test -n "$ac_tool_prefix"; then
   7259   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
   7260 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
   7261 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   7262 $as_echo_n "checking for $ac_word... " >&6; }
   7263 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then
   7264   $as_echo_n "(cached) " >&6
   7265 else
   7266   if test -n "$DSYMUTIL"; then
   7267   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
   7268 else
   7269 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7270 for as_dir in $PATH
   7271 do
   7272   IFS=$as_save_IFS
   7273   test -z "$as_dir" && as_dir=.
   7274   for ac_exec_ext in '' $ac_executable_extensions; do
   7275   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7276     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
   7277     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   7278     break 2
   7279   fi
   7280 done
   7281 done
   7282 IFS=$as_save_IFS
   7283 
   7284 fi
   7285 fi
   7286 DSYMUTIL=$ac_cv_prog_DSYMUTIL
   7287 if test -n "$DSYMUTIL"; then
   7288   { $as_echo "$as_me:$LINENO: result: $DSYMUTIL" >&5
   7289 $as_echo "$DSYMUTIL" >&6; }
   7290 else
   7291   { $as_echo "$as_me:$LINENO: result: no" >&5
   7292 $as_echo "no" >&6; }
   7293 fi
   7294 
   7295 
   7296 fi
   7297 if test -z "$ac_cv_prog_DSYMUTIL"; then
   7298   ac_ct_DSYMUTIL=$DSYMUTIL
   7299   # Extract the first word of "dsymutil", so it can be a program name with args.
   7300 set dummy dsymutil; ac_word=$2
   7301 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   7302 $as_echo_n "checking for $ac_word... " >&6; }
   7303 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then
   7304   $as_echo_n "(cached) " >&6
   7305 else
   7306   if test -n "$ac_ct_DSYMUTIL"; then
   7307   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
   7308 else
   7309 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7310 for as_dir in $PATH
   7311 do
   7312   IFS=$as_save_IFS
   7313   test -z "$as_dir" && as_dir=.
   7314   for ac_exec_ext in '' $ac_executable_extensions; do
   7315   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7316     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
   7317     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   7318     break 2
   7319   fi
   7320 done
   7321 done
   7322 IFS=$as_save_IFS
   7323 
   7324 fi
   7325 fi
   7326 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
   7327 if test -n "$ac_ct_DSYMUTIL"; then
   7328   { $as_echo "$as_me:$LINENO: result: $ac_ct_DSYMUTIL" >&5
   7329 $as_echo "$ac_ct_DSYMUTIL" >&6; }
   7330 else
   7331   { $as_echo "$as_me:$LINENO: result: no" >&5
   7332 $as_echo "no" >&6; }
   7333 fi
   7334 
   7335   if test "x$ac_ct_DSYMUTIL" = x; then
   7336     DSYMUTIL=":"
   7337   else
   7338     case $cross_compiling:$ac_tool_warned in
   7339 yes:)
   7340 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   7341 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7342 ac_tool_warned=yes ;;
   7343 esac
   7344     DSYMUTIL=$ac_ct_DSYMUTIL
   7345   fi
   7346 else
   7347   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
   7348 fi
   7349 
   7350     if test -n "$ac_tool_prefix"; then
   7351   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
   7352 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
   7353 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   7354 $as_echo_n "checking for $ac_word... " >&6; }
   7355 if test "${ac_cv_prog_NMEDIT+set}" = set; then
   7356   $as_echo_n "(cached) " >&6
   7357 else
   7358   if test -n "$NMEDIT"; then
   7359   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
   7360 else
   7361 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7362 for as_dir in $PATH
   7363 do
   7364   IFS=$as_save_IFS
   7365   test -z "$as_dir" && as_dir=.
   7366   for ac_exec_ext in '' $ac_executable_extensions; do
   7367   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7368     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
   7369     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   7370     break 2
   7371   fi
   7372 done
   7373 done
   7374 IFS=$as_save_IFS
   7375 
   7376 fi
   7377 fi
   7378 NMEDIT=$ac_cv_prog_NMEDIT
   7379 if test -n "$NMEDIT"; then
   7380   { $as_echo "$as_me:$LINENO: result: $NMEDIT" >&5
   7381 $as_echo "$NMEDIT" >&6; }
   7382 else
   7383   { $as_echo "$as_me:$LINENO: result: no" >&5
   7384 $as_echo "no" >&6; }
   7385 fi
   7386 
   7387 
   7388 fi
   7389 if test -z "$ac_cv_prog_NMEDIT"; then
   7390   ac_ct_NMEDIT=$NMEDIT
   7391   # Extract the first word of "nmedit", so it can be a program name with args.
   7392 set dummy nmedit; ac_word=$2
   7393 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   7394 $as_echo_n "checking for $ac_word... " >&6; }
   7395 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then
   7396   $as_echo_n "(cached) " >&6
   7397 else
   7398   if test -n "$ac_ct_NMEDIT"; then
   7399   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
   7400 else
   7401 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7402 for as_dir in $PATH
   7403 do
   7404   IFS=$as_save_IFS
   7405   test -z "$as_dir" && as_dir=.
   7406   for ac_exec_ext in '' $ac_executable_extensions; do
   7407   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7408     ac_cv_prog_ac_ct_NMEDIT="nmedit"
   7409     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   7410     break 2
   7411   fi
   7412 done
   7413 done
   7414 IFS=$as_save_IFS
   7415 
   7416 fi
   7417 fi
   7418 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
   7419 if test -n "$ac_ct_NMEDIT"; then
   7420   { $as_echo "$as_me:$LINENO: result: $ac_ct_NMEDIT" >&5
   7421 $as_echo "$ac_ct_NMEDIT" >&6; }
   7422 else
   7423   { $as_echo "$as_me:$LINENO: result: no" >&5
   7424 $as_echo "no" >&6; }
   7425 fi
   7426 
   7427   if test "x$ac_ct_NMEDIT" = x; then
   7428     NMEDIT=":"
   7429   else
   7430     case $cross_compiling:$ac_tool_warned in
   7431 yes:)
   7432 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   7433 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7434 ac_tool_warned=yes ;;
   7435 esac
   7436     NMEDIT=$ac_ct_NMEDIT
   7437   fi
   7438 else
   7439   NMEDIT="$ac_cv_prog_NMEDIT"
   7440 fi
   7441 
   7442 
   7443     { $as_echo "$as_me:$LINENO: checking for -single_module linker flag" >&5
   7444 $as_echo_n "checking for -single_module linker flag... " >&6; }
   7445 if test "${lt_cv_apple_cc_single_mod+set}" = set; then
   7446   $as_echo_n "(cached) " >&6
   7447 else
   7448   lt_cv_apple_cc_single_mod=no
   7449       if test -z "${LT_MULTI_MODULE}"; then
   7450    # By default we will add the -single_module flag. You can override
   7451    # by either setting the environment variable LT_MULTI_MODULE
   7452    # non-empty at configure time, or by adding -multi_module to the
   7453    # link flags.
   7454    echo "int foo(void){return 1;}" > conftest.c
   7455    $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   7456      -dynamiclib ${wl}-single_module conftest.c
   7457    if test -f libconftest.dylib; then
   7458      lt_cv_apple_cc_single_mod=yes
   7459      rm -rf libconftest.dylib*
   7460    fi
   7461    rm conftest.c
   7462       fi
   7463 fi
   7464 { $as_echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5
   7465 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
   7466     { $as_echo "$as_me:$LINENO: checking for -exported_symbols_list linker flag" >&5
   7467 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
   7468 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then
   7469   $as_echo_n "(cached) " >&6
   7470 else
   7471   lt_cv_ld_exported_symbols_list=no
   7472       save_LDFLAGS=$LDFLAGS
   7473       echo "_main" > conftest.sym
   7474       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
   7475       cat >conftest.$ac_ext <<_ACEOF
   7476 /* confdefs.h.  */
   7477 _ACEOF
   7478 cat confdefs.h >>conftest.$ac_ext
   7479 cat >>conftest.$ac_ext <<_ACEOF
   7480 /* end confdefs.h.  */
   7481 
   7482 int
   7483 main ()
   7484 {
   7485 
   7486   ;
   7487   return 0;
   7488 }
   7489 _ACEOF
   7490 rm -f conftest.$ac_objext conftest$ac_exeext
   7491 if { (ac_try="$ac_link"
   7492 case "(($ac_try" in
   7493   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   7494   *) ac_try_echo=$ac_try;;
   7495 esac
   7496 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   7497 $as_echo "$ac_try_echo") >&5
   7498   (eval "$ac_link") 2>conftest.er1
   7499   ac_status=$?
   7500   grep -v '^ *+' conftest.er1 >conftest.err
   7501   rm -f conftest.er1
   7502   cat conftest.err >&5
   7503   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7504   (exit $ac_status); } && {
   7505 	 test -z "$ac_c_werror_flag" ||
   7506 	 test ! -s conftest.err
   7507        } && test -s conftest$ac_exeext && {
   7508 	 test "$cross_compiling" = yes ||
   7509 	 $as_test_x conftest$ac_exeext
   7510        }; then
   7511   lt_cv_ld_exported_symbols_list=yes
   7512 else
   7513   $as_echo "$as_me: failed program was:" >&5
   7514 sed 's/^/| /' conftest.$ac_ext >&5
   7515 
   7516 	lt_cv_ld_exported_symbols_list=no
   7517 fi
   7518 
   7519 rm -rf conftest.dSYM
   7520 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   7521       conftest$ac_exeext conftest.$ac_ext
   7522    LDFLAGS="$save_LDFLAGS"
   7523 
   7524 fi
   7525 { $as_echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5
   7526 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
   7527     case $host_os in
   7528     rhapsody* | darwin1.[0123])
   7529       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
   7530     darwin1.*)
   7531      _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
   7532     darwin*)
   7533       # if running on 10.5 or later, the deployment target defaults
   7534       # to the OS version, if on x86, and 10.4, the deployment
   7535       # target defaults to 10.4. Don't you love it?
   7536       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
   7537    10.0,*86*-darwin8*|10.0,*-darwin[91]*)
   7538      _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
   7539    10.[012]*)
   7540      _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
   7541    10.*)
   7542      _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
   7543       esac
   7544     ;;
   7545   esac
   7546     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
   7547       _lt_dar_single_mod='$single_module'
   7548     fi
   7549     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
   7550       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
   7551     else
   7552       _lt_dar_export_syms="~$NMEDIT -s \$output_objdir/\${libname}-symbols.expsym \${lib}"
   7553     fi
   7554     if test "$DSYMUTIL" != ":"; then
   7555       _lt_dsymutil="~$DSYMUTIL \$lib || :"
   7556     else
   7557       _lt_dsymutil=
   7558     fi
   7559     ;;
   7560   esac
   7561 
   7562 
   7563 enable_dlopen=no
   7564 enable_win32_dll=no
   7565 
   7566 # Check whether --enable-libtool-lock was given.
   7567 if test "${enable_libtool_lock+set}" = set; then
   7568   enableval=$enable_libtool_lock;
   7569 fi
   7570 
   7571 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
   7572 
   7573 
   7574 # Check whether --with-pic was given.
   7575 if test "${with_pic+set}" = set; then
   7576   withval=$with_pic; pic_mode="$withval"
   7577 else
   7578   pic_mode=default
   7579 fi
   7580 
   7581 test -z "$pic_mode" && pic_mode=default
   7582 
   7583 # Use C for the default configuration in the libtool script
   7584 tagname=
   7585 lt_save_CC="$CC"
   7586 ac_ext=c
   7587 ac_cpp='$CPP $CPPFLAGS'
   7588 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7589 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7590 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7591 
   7592 
   7593 # Source file extension for C test sources.
   7594 ac_ext=c
   7595 
   7596 # Object file extension for compiled C test sources.
   7597 objext=o
   7598 objext=$objext
   7599 
   7600 # Code to be used in simple compile tests
   7601 lt_simple_compile_test_code="int some_variable = 0;"
   7602 
   7603 # Code to be used in simple link tests
   7604 lt_simple_link_test_code='int main(){return(0);}'
   7605 
   7606 
   7607 # If no C compiler was specified, use CC.
   7608 LTCC=${LTCC-"$CC"}
   7609 
   7610 # If no C compiler flags were specified, use CFLAGS.
   7611 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   7612 
   7613 # Allow CC to be a program name with arguments.
   7614 compiler=$CC
   7615 
   7616 
   7617 # save warnings/boilerplate of simple test code
   7618 ac_outfile=conftest.$ac_objext
   7619 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   7620 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   7621 _lt_compiler_boilerplate=`cat conftest.err`
   7622 $rm conftest*
   7623 
   7624 ac_outfile=conftest.$ac_objext
   7625 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   7626 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   7627 _lt_linker_boilerplate=`cat conftest.err`
   7628 $rm -r conftest*
   7629 
   7630 
   7631 
   7632 lt_prog_compiler_no_builtin_flag=
   7633 
   7634 if test "$GCC" = yes; then
   7635   lt_prog_compiler_no_builtin_flag=' -fno-builtin'
   7636 
   7637 
   7638 { $as_echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
   7639 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
   7640 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
   7641   $as_echo_n "(cached) " >&6
   7642 else
   7643   lt_cv_prog_compiler_rtti_exceptions=no
   7644   ac_outfile=conftest.$ac_objext
   7645    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   7646    lt_compiler_flag="-fno-rtti -fno-exceptions"
   7647    # Insert the option either (1) after the last *FLAGS variable, or
   7648    # (2) before a word containing "conftest.", or (3) at the end.
   7649    # Note that $ac_compile itself does not contain backslashes and begins
   7650    # with a dollar sign (not a hyphen), so the echo should work correctly.
   7651    # The option is referenced via a variable to avoid confusing sed.
   7652    lt_compile=`echo "$ac_compile" | $SED \
   7653    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   7654    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   7655    -e 's:$: $lt_compiler_flag:'`
   7656    (eval echo "\"\$as_me:7656: $lt_compile\"" >&5)
   7657    (eval "$lt_compile" 2>conftest.err)
   7658    ac_status=$?
   7659    cat conftest.err >&5
   7660    echo "$as_me:7660: \$? = $ac_status" >&5
   7661    if (exit $ac_status) && test -s "$ac_outfile"; then
   7662      # The compiler can only warn and ignore the option if not recognized
   7663      # So say no if there are warnings other than the usual output.
   7664      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   7665      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   7666      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   7667        lt_cv_prog_compiler_rtti_exceptions=yes
   7668      fi
   7669    fi
   7670    $rm conftest*
   7671 
   7672 fi
   7673 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
   7674 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
   7675 
   7676 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
   7677     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
   7678 else
   7679     :
   7680 fi
   7681 
   7682 fi
   7683 
   7684 lt_prog_compiler_wl=
   7685 lt_prog_compiler_pic=
   7686 lt_prog_compiler_static=
   7687 
   7688 { $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
   7689 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
   7690 
   7691   if test "$GCC" = yes; then
   7692     lt_prog_compiler_wl='-Wl,'
   7693     lt_prog_compiler_static='-static'
   7694 
   7695     case $host_os in
   7696       aix*)
   7697       # All AIX code is PIC.
   7698       if test "$host_cpu" = ia64; then
   7699 	# AIX 5 now supports IA64 processor
   7700 	lt_prog_compiler_static='-Bstatic'
   7701       fi
   7702       ;;
   7703 
   7704     amigaos*)
   7705       # FIXME: we need at least 68020 code to build shared libraries, but
   7706       # adding the `-m68020' flag to GCC prevents building anything better,
   7707       # like `-m68040'.
   7708       lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
   7709       ;;
   7710 
   7711     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   7712       # PIC is the default for these OSes.
   7713       ;;
   7714 
   7715     mingw* | cygwin* | pw32* | os2*)
   7716       # This hack is so that the source file can tell whether it is being
   7717       # built for inclusion in a dll (and should export symbols for example).
   7718       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   7719       # (--disable-auto-import) libraries
   7720       lt_prog_compiler_pic='-DDLL_EXPORT'
   7721       ;;
   7722 
   7723     darwin* | rhapsody*)
   7724       # PIC is the default on this platform
   7725       # Common symbols not allowed in MH_DYLIB files
   7726       lt_prog_compiler_pic='-fno-common'
   7727       ;;
   7728 
   7729     interix[3-9]*)
   7730       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   7731       # Instead, we relocate shared libraries at runtime.
   7732       ;;
   7733 
   7734     msdosdjgpp*)
   7735       # Just because we use GCC doesn't mean we suddenly get shared libraries
   7736       # on systems that don't support them.
   7737       lt_prog_compiler_can_build_shared=no
   7738       enable_shared=no
   7739       ;;
   7740 
   7741     sysv4*MP*)
   7742       if test -d /usr/nec; then
   7743 	lt_prog_compiler_pic=-Kconform_pic
   7744       fi
   7745       ;;
   7746 
   7747     hpux*)
   7748       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   7749       # not for PA HP-UX.
   7750       case $host_cpu in
   7751       hppa*64*|ia64*)
   7752 	# +Z the default
   7753 	;;
   7754       *)
   7755 	lt_prog_compiler_pic='-fPIC'
   7756 	;;
   7757       esac
   7758       ;;
   7759 
   7760     *)
   7761       lt_prog_compiler_pic='-fPIC'
   7762       ;;
   7763     esac
   7764   else
   7765     # PORTME Check for flag to pass linker flags through the system compiler.
   7766     case $host_os in
   7767     aix*)
   7768       lt_prog_compiler_wl='-Wl,'
   7769       if test "$host_cpu" = ia64; then
   7770 	# AIX 5 now supports IA64 processor
   7771 	lt_prog_compiler_static='-Bstatic'
   7772       else
   7773 	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
   7774       fi
   7775       ;;
   7776       darwin*)
   7777         # PIC is the default on this platform
   7778         # Common symbols not allowed in MH_DYLIB files
   7779        case $cc_basename in
   7780          xlc*)
   7781          lt_prog_compiler_pic='-qnocommon'
   7782          lt_prog_compiler_wl='-Wl,'
   7783          ;;
   7784        esac
   7785        ;;
   7786 
   7787     mingw* | cygwin* | pw32* | os2*)
   7788       # This hack is so that the source file can tell whether it is being
   7789       # built for inclusion in a dll (and should export symbols for example).
   7790       lt_prog_compiler_pic='-DDLL_EXPORT'
   7791       ;;
   7792 
   7793     hpux9* | hpux10* | hpux11*)
   7794       lt_prog_compiler_wl='-Wl,'
   7795       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   7796       # not for PA HP-UX.
   7797       case $host_cpu in
   7798       hppa*64*|ia64*)
   7799 	# +Z the default
   7800 	;;
   7801       *)
   7802 	lt_prog_compiler_pic='+Z'
   7803 	;;
   7804       esac
   7805       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   7806       lt_prog_compiler_static='${wl}-a ${wl}archive'
   7807       ;;
   7808 
   7809     irix5* | irix6* | nonstopux*)
   7810       lt_prog_compiler_wl='-Wl,'
   7811       # PIC (with -KPIC) is the default.
   7812       lt_prog_compiler_static='-non_shared'
   7813       ;;
   7814 
   7815     newsos6)
   7816       lt_prog_compiler_pic='-KPIC'
   7817       lt_prog_compiler_static='-Bstatic'
   7818       ;;
   7819 
   7820     linux* | k*bsd*-gnu)
   7821       case $cc_basename in
   7822       icc* | ecc*)
   7823 	lt_prog_compiler_wl='-Wl,'
   7824 	lt_prog_compiler_pic='-KPIC'
   7825 	lt_prog_compiler_static='-static'
   7826         ;;
   7827       pgcc* | pgf77* | pgf90* | pgf95*)
   7828         # Portland Group compilers (*not* the Pentium gcc compiler,
   7829 	# which looks to be a dead project)
   7830 	lt_prog_compiler_wl='-Wl,'
   7831 	lt_prog_compiler_pic='-fpic'
   7832 	lt_prog_compiler_static='-Bstatic'
   7833         ;;
   7834       ccc*)
   7835         lt_prog_compiler_wl='-Wl,'
   7836         # All Alpha code is PIC.
   7837         lt_prog_compiler_static='-non_shared'
   7838         ;;
   7839       *)
   7840         case `$CC -V 2>&1 | sed 5q` in
   7841 	*Sun\ C*)
   7842 	  # Sun C 5.9
   7843 	  lt_prog_compiler_pic='-KPIC'
   7844 	  lt_prog_compiler_static='-Bstatic'
   7845 	  lt_prog_compiler_wl='-Wl,'
   7846 	  ;;
   7847 	*Sun\ F*)
   7848 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   7849 	  lt_prog_compiler_pic='-KPIC'
   7850 	  lt_prog_compiler_static='-Bstatic'
   7851 	  lt_prog_compiler_wl=''
   7852 	  ;;
   7853 	esac
   7854 	;;
   7855       esac
   7856       ;;
   7857 
   7858     osf3* | osf4* | osf5*)
   7859       lt_prog_compiler_wl='-Wl,'
   7860       # All OSF/1 code is PIC.
   7861       lt_prog_compiler_static='-non_shared'
   7862       ;;
   7863 
   7864     rdos*)
   7865       lt_prog_compiler_static='-non_shared'
   7866       ;;
   7867 
   7868     solaris*)
   7869       lt_prog_compiler_pic='-KPIC'
   7870       lt_prog_compiler_static='-Bstatic'
   7871       case $cc_basename in
   7872       f77* | f90* | f95*)
   7873 	lt_prog_compiler_wl='-Qoption ld ';;
   7874       *)
   7875 	lt_prog_compiler_wl='-Wl,';;
   7876       esac
   7877       ;;
   7878 
   7879     sunos4*)
   7880       lt_prog_compiler_wl='-Qoption ld '
   7881       lt_prog_compiler_pic='-PIC'
   7882       lt_prog_compiler_static='-Bstatic'
   7883       ;;
   7884 
   7885     sysv4 | sysv4.2uw2* | sysv4.3*)
   7886       lt_prog_compiler_wl='-Wl,'
   7887       lt_prog_compiler_pic='-KPIC'
   7888       lt_prog_compiler_static='-Bstatic'
   7889       ;;
   7890 
   7891     sysv4*MP*)
   7892       if test -d /usr/nec ;then
   7893 	lt_prog_compiler_pic='-Kconform_pic'
   7894 	lt_prog_compiler_static='-Bstatic'
   7895       fi
   7896       ;;
   7897 
   7898     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   7899       lt_prog_compiler_wl='-Wl,'
   7900       lt_prog_compiler_pic='-KPIC'
   7901       lt_prog_compiler_static='-Bstatic'
   7902       ;;
   7903 
   7904     unicos*)
   7905       lt_prog_compiler_wl='-Wl,'
   7906       lt_prog_compiler_can_build_shared=no
   7907       ;;
   7908 
   7909     uts4*)
   7910       lt_prog_compiler_pic='-pic'
   7911       lt_prog_compiler_static='-Bstatic'
   7912       ;;
   7913 
   7914     *)
   7915       lt_prog_compiler_can_build_shared=no
   7916       ;;
   7917     esac
   7918   fi
   7919 
   7920 { $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
   7921 $as_echo "$lt_prog_compiler_pic" >&6; }
   7922 
   7923 #
   7924 # Check to make sure the PIC flag actually works.
   7925 #
   7926 if test -n "$lt_prog_compiler_pic"; then
   7927 
   7928 { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
   7929 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
   7930 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then
   7931   $as_echo_n "(cached) " >&6
   7932 else
   7933   lt_cv_prog_compiler_pic_works=no
   7934   ac_outfile=conftest.$ac_objext
   7935    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   7936    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
   7937    # Insert the option either (1) after the last *FLAGS variable, or
   7938    # (2) before a word containing "conftest.", or (3) at the end.
   7939    # Note that $ac_compile itself does not contain backslashes and begins
   7940    # with a dollar sign (not a hyphen), so the echo should work correctly.
   7941    # The option is referenced via a variable to avoid confusing sed.
   7942    lt_compile=`echo "$ac_compile" | $SED \
   7943    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   7944    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   7945    -e 's:$: $lt_compiler_flag:'`
   7946    (eval echo "\"\$as_me:7946: $lt_compile\"" >&5)
   7947    (eval "$lt_compile" 2>conftest.err)
   7948    ac_status=$?
   7949    cat conftest.err >&5
   7950    echo "$as_me:7950: \$? = $ac_status" >&5
   7951    if (exit $ac_status) && test -s "$ac_outfile"; then
   7952      # The compiler can only warn and ignore the option if not recognized
   7953      # So say no if there are warnings other than the usual output.
   7954      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   7955      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   7956      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   7957        lt_cv_prog_compiler_pic_works=yes
   7958      fi
   7959    fi
   7960    $rm conftest*
   7961 
   7962 fi
   7963 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5
   7964 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
   7965 
   7966 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
   7967     case $lt_prog_compiler_pic in
   7968      "" | " "*) ;;
   7969      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
   7970      esac
   7971 else
   7972     lt_prog_compiler_pic=
   7973      lt_prog_compiler_can_build_shared=no
   7974 fi
   7975 
   7976 fi
   7977 case $host_os in
   7978   # For platforms which do not support PIC, -DPIC is meaningless:
   7979   *djgpp*)
   7980     lt_prog_compiler_pic=
   7981     ;;
   7982   *)
   7983     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
   7984     ;;
   7985 esac
   7986 
   7987 #
   7988 # Check to make sure the static flag actually works.
   7989 #
   7990 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
   7991 { $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   7992 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   7993 if test "${lt_cv_prog_compiler_static_works+set}" = set; then
   7994   $as_echo_n "(cached) " >&6
   7995 else
   7996   lt_cv_prog_compiler_static_works=no
   7997    save_LDFLAGS="$LDFLAGS"
   7998    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   7999    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   8000    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   8001      # The linker can only warn and ignore the option if not recognized
   8002      # So say no if there are warnings
   8003      if test -s conftest.err; then
   8004        # Append any errors to the config.log.
   8005        cat conftest.err 1>&5
   8006        $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
   8007        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   8008        if diff conftest.exp conftest.er2 >/dev/null; then
   8009          lt_cv_prog_compiler_static_works=yes
   8010        fi
   8011      else
   8012        lt_cv_prog_compiler_static_works=yes
   8013      fi
   8014    fi
   8015    $rm -r conftest*
   8016    LDFLAGS="$save_LDFLAGS"
   8017 
   8018 fi
   8019 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5
   8020 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
   8021 
   8022 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
   8023     :
   8024 else
   8025     lt_prog_compiler_static=
   8026 fi
   8027 
   8028 
   8029 { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
   8030 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   8031 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
   8032   $as_echo_n "(cached) " >&6
   8033 else
   8034   lt_cv_prog_compiler_c_o=no
   8035    $rm -r conftest 2>/dev/null
   8036    mkdir conftest
   8037    cd conftest
   8038    mkdir out
   8039    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8040 
   8041    lt_compiler_flag="-o out/conftest2.$ac_objext"
   8042    # Insert the option either (1) after the last *FLAGS variable, or
   8043    # (2) before a word containing "conftest.", or (3) at the end.
   8044    # Note that $ac_compile itself does not contain backslashes and begins
   8045    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8046    lt_compile=`echo "$ac_compile" | $SED \
   8047    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8048    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8049    -e 's:$: $lt_compiler_flag:'`
   8050    (eval echo "\"\$as_me:8050: $lt_compile\"" >&5)
   8051    (eval "$lt_compile" 2>out/conftest.err)
   8052    ac_status=$?
   8053    cat out/conftest.err >&5
   8054    echo "$as_me:8054: \$? = $ac_status" >&5
   8055    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   8056    then
   8057      # The compiler can only warn and ignore the option if not recognized
   8058      # So say no if there are warnings
   8059      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
   8060      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   8061      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   8062        lt_cv_prog_compiler_c_o=yes
   8063      fi
   8064    fi
   8065    chmod u+w . 2>&5
   8066    $rm conftest*
   8067    # SGI C++ compiler will create directory out/ii_files/ for
   8068    # template instantiation
   8069    test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
   8070    $rm out/* && rmdir out
   8071    cd ..
   8072    rmdir conftest
   8073    $rm conftest*
   8074 
   8075 fi
   8076 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
   8077 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   8078 
   8079 
   8080 hard_links="nottested"
   8081 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
   8082   # do not overwrite the value of need_locks provided by the user
   8083   { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
   8084 $as_echo_n "checking if we can lock with hard links... " >&6; }
   8085   hard_links=yes
   8086   $rm conftest*
   8087   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   8088   touch conftest.a
   8089   ln conftest.a conftest.b 2>&5 || hard_links=no
   8090   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   8091   { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
   8092 $as_echo "$hard_links" >&6; }
   8093   if test "$hard_links" = no; then
   8094     { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   8095 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   8096     need_locks=warn
   8097   fi
   8098 else
   8099   need_locks=no
   8100 fi
   8101 
   8102 { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   8103 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   8104 
   8105   runpath_var=
   8106   allow_undefined_flag=
   8107   enable_shared_with_static_runtimes=no
   8108   archive_cmds=
   8109   archive_expsym_cmds=
   8110   old_archive_From_new_cmds=
   8111   old_archive_from_expsyms_cmds=
   8112   export_dynamic_flag_spec=
   8113   whole_archive_flag_spec=
   8114   thread_safe_flag_spec=
   8115   hardcode_libdir_flag_spec=
   8116   hardcode_libdir_flag_spec_ld=
   8117   hardcode_libdir_separator=
   8118   hardcode_direct=no
   8119   hardcode_minus_L=no
   8120   hardcode_shlibpath_var=unsupported
   8121   link_all_deplibs=unknown
   8122   hardcode_automatic=no
   8123   module_cmds=
   8124   module_expsym_cmds=
   8125   always_export_symbols=no
   8126   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   8127   # include_expsyms should be a list of space-separated symbols to be *always*
   8128   # included in the symbol list
   8129   include_expsyms=
   8130   # exclude_expsyms can be an extended regexp of symbols to exclude
   8131   # it will be wrapped by ` (' and `)$', so one must not match beginning or
   8132   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
   8133   # as well as any symbol that contains `d'.
   8134   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   8135   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   8136   # platforms (ab)use it in PIC code, but their linkers get confused if
   8137   # the symbol is explicitly referenced.  Since portable code cannot
   8138   # rely on this symbol name, it's probably fine to never include it in
   8139   # preloaded symbol tables.
   8140   # Exclude shared library initialization/finalization symbols.
   8141   extract_expsyms_cmds=
   8142   # Just being paranoid about ensuring that cc_basename is set.
   8143   for cc_temp in $compiler""; do
   8144   case $cc_temp in
   8145     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   8146     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   8147     \-*) ;;
   8148     *) break;;
   8149   esac
   8150 done
   8151 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   8152 
   8153   case $host_os in
   8154   cygwin* | mingw* | pw32*)
   8155     # FIXME: the MSVC++ port hasn't been tested in a loooong time
   8156     # When not using gcc, we currently assume that we are using
   8157     # Microsoft Visual C++.
   8158     if test "$GCC" != yes; then
   8159       with_gnu_ld=no
   8160     fi
   8161     ;;
   8162   interix*)
   8163     # we just hope/assume this is gcc and not c89 (= MSVC++)
   8164     with_gnu_ld=yes
   8165     ;;
   8166   openbsd*)
   8167     with_gnu_ld=no
   8168     ;;
   8169   esac
   8170 
   8171   ld_shlibs=yes
   8172   if test "$with_gnu_ld" = yes; then
   8173     # If archive_cmds runs LD, not CC, wlarc should be empty
   8174     wlarc='${wl}'
   8175 
   8176     # Set some defaults for GNU ld with shared library support. These
   8177     # are reset later if shared libraries are not supported. Putting them
   8178     # here allows them to be overridden if necessary.
   8179     runpath_var=LD_RUN_PATH
   8180     hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
   8181     export_dynamic_flag_spec='${wl}--export-dynamic'
   8182     # ancient GNU ld didn't support --whole-archive et. al.
   8183     if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
   8184 	whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   8185       else
   8186   	whole_archive_flag_spec=
   8187     fi
   8188     supports_anon_versioning=no
   8189     case `$LD -v 2>/dev/null` in
   8190       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   8191       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   8192       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   8193       *\ 2.11.*) ;; # other 2.11 versions
   8194       *) supports_anon_versioning=yes ;;
   8195     esac
   8196 
   8197     # See if GNU ld supports shared libraries.
   8198     case $host_os in
   8199     aix[3-9]*)
   8200       # On AIX/PPC, the GNU linker is very broken
   8201       if test "$host_cpu" != ia64; then
   8202 	ld_shlibs=no
   8203 	cat <<EOF 1>&2
   8204 
   8205 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
   8206 *** to be unable to reliably create shared libraries on AIX.
   8207 *** Therefore, libtool is disabling shared libraries support.  If you
   8208 *** really care for shared libraries, you may want to modify your PATH
   8209 *** so that a non-GNU linker is found, and then restart.
   8210 
   8211 EOF
   8212       fi
   8213       ;;
   8214 
   8215     amigaos*)
   8216       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)'
   8217       hardcode_libdir_flag_spec='-L$libdir'
   8218       hardcode_minus_L=yes
   8219 
   8220       # Samuel A. Falvo II <kc5tja (at] dolphin.openprojects.net> reports
   8221       # that the semantics of dynamic libraries on AmigaOS, at least up
   8222       # to version 4, is to share data among multiple programs linked
   8223       # with the same dynamic library.  Since this doesn't match the
   8224       # behavior of shared libraries on other platforms, we can't use
   8225       # them.
   8226       ld_shlibs=no
   8227       ;;
   8228 
   8229     beos*)
   8230       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   8231 	allow_undefined_flag=unsupported
   8232 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   8233 	# support --undefined.  This deserves some investigation.  FIXME
   8234 	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8235       else
   8236 	ld_shlibs=no
   8237       fi
   8238       ;;
   8239 
   8240     cygwin* | mingw* | pw32*)
   8241       # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
   8242       # as there is no search path for DLLs.
   8243       hardcode_libdir_flag_spec='-L$libdir'
   8244       allow_undefined_flag=unsupported
   8245       always_export_symbols=no
   8246       enable_shared_with_static_runtimes=yes
   8247       export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
   8248 
   8249       if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
   8250         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   8251 	# If the export-symbols file already is a .def file (1st line
   8252 	# is EXPORTS), use it as is; otherwise, prepend...
   8253 	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   8254 	  cp $export_symbols $output_objdir/$soname.def;
   8255 	else
   8256 	  echo EXPORTS > $output_objdir/$soname.def;
   8257 	  cat $export_symbols >> $output_objdir/$soname.def;
   8258 	fi~
   8259 	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   8260       else
   8261 	ld_shlibs=no
   8262       fi
   8263       ;;
   8264 
   8265     interix[3-9]*)
   8266       hardcode_direct=no
   8267       hardcode_shlibpath_var=no
   8268       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   8269       export_dynamic_flag_spec='${wl}-E'
   8270       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   8271       # Instead, shared libraries are loaded at an image base (0x10000000 by
   8272       # default) and relocated if they conflict, which is a slow very memory
   8273       # consuming and fragmenting process.  To avoid this, we pick a random,
   8274       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   8275       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   8276       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
   8277       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'
   8278       ;;
   8279 
   8280     gnu* | linux* | k*bsd*-gnu)
   8281       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   8282 	tmp_addflag=
   8283 	case $cc_basename,$host_cpu in
   8284 	pgcc*)				# Portland Group C compiler
   8285 	  whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
   8286 	  tmp_addflag=' $pic_flag'
   8287 	  ;;
   8288 	pgf77* | pgf90* | pgf95*)	# Portland Group f77 and f90 compilers
   8289 	  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'
   8290 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   8291 	ecc*,ia64* | icc*,ia64*)		# Intel C compiler on ia64
   8292 	  tmp_addflag=' -i_dynamic' ;;
   8293 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   8294 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   8295 	ifc* | ifort*)			# Intel Fortran compiler
   8296 	  tmp_addflag=' -nofor_main' ;;
   8297 	esac
   8298 	case `$CC -V 2>&1 | sed 5q` in
   8299 	*Sun\ C*)			# Sun C 5.9
   8300 	  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'
   8301 	  tmp_sharedflag='-G' ;;
   8302 	*Sun\ F*)			# Sun Fortran 8.3
   8303 	  tmp_sharedflag='-G' ;;
   8304 	*)
   8305 	  tmp_sharedflag='-shared' ;;
   8306 	esac
   8307 	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8308 
   8309 	if test $supports_anon_versioning = yes; then
   8310 	  archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~
   8311   cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   8312   $echo "local: *; };" >> $output_objdir/$libname.ver~
   8313 	  $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
   8314 	fi
   8315       else
   8316 	ld_shlibs=no
   8317       fi
   8318       ;;
   8319 
   8320     netbsd*)
   8321       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   8322 	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   8323 	wlarc=
   8324       else
   8325 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8326 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8327       fi
   8328       ;;
   8329 
   8330     solaris*)
   8331       if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
   8332 	ld_shlibs=no
   8333 	cat <<EOF 1>&2
   8334 
   8335 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   8336 *** create shared libraries on Solaris systems.  Therefore, libtool
   8337 *** is disabling shared libraries support.  We urge you to upgrade GNU
   8338 *** binutils to release 2.9.1 or newer.  Another option is to modify
   8339 *** your PATH or compiler configuration so that the native linker is
   8340 *** used, and then restart.
   8341 
   8342 EOF
   8343       elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   8344 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8345 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8346       else
   8347 	ld_shlibs=no
   8348       fi
   8349       ;;
   8350 
   8351     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   8352       case `$LD -v 2>&1` in
   8353         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   8354 	ld_shlibs=no
   8355 	cat <<_LT_EOF 1>&2
   8356 
   8357 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
   8358 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   8359 *** is disabling shared libraries support.  We urge you to upgrade GNU
   8360 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   8361 *** your PATH or compiler configuration so that the native linker is
   8362 *** used, and then restart.
   8363 
   8364 _LT_EOF
   8365 	;;
   8366 	*)
   8367 	  if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   8368 	    hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
   8369 	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
   8370 	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
   8371 	  else
   8372 	    ld_shlibs=no
   8373 	  fi
   8374 	;;
   8375       esac
   8376       ;;
   8377 
   8378     sunos4*)
   8379       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   8380       wlarc=
   8381       hardcode_direct=yes
   8382       hardcode_shlibpath_var=no
   8383       ;;
   8384 
   8385     *)
   8386       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   8387 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8388 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8389       else
   8390 	ld_shlibs=no
   8391       fi
   8392       ;;
   8393     esac
   8394 
   8395     if test "$ld_shlibs" = no; then
   8396       runpath_var=
   8397       hardcode_libdir_flag_spec=
   8398       export_dynamic_flag_spec=
   8399       whole_archive_flag_spec=
   8400     fi
   8401   else
   8402     # PORTME fill in a description of your system's linker (not GNU ld)
   8403     case $host_os in
   8404     aix3*)
   8405       allow_undefined_flag=unsupported
   8406       always_export_symbols=yes
   8407       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'
   8408       # Note: this linker hardcodes the directories in LIBPATH if there
   8409       # are no directories specified by -L.
   8410       hardcode_minus_L=yes
   8411       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
   8412 	# Neither direct hardcoding nor static linking is supported with a
   8413 	# broken collect2.
   8414 	hardcode_direct=unsupported
   8415       fi
   8416       ;;
   8417 
   8418     aix[4-9]*)
   8419       if test "$host_cpu" = ia64; then
   8420 	# On IA64, the linker does run time linking by default, so we don't
   8421 	# have to do anything special.
   8422 	aix_use_runtimelinking=no
   8423 	exp_sym_flag='-Bexport'
   8424 	no_entry_flag=""
   8425       else
   8426 	# If we're using GNU nm, then we don't want the "-C" option.
   8427 	# -C means demangle to AIX nm, but means don't demangle with GNU nm
   8428 	if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
   8429 	  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'
   8430 	else
   8431 	  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'
   8432 	fi
   8433 	aix_use_runtimelinking=no
   8434 
   8435 	# Test if we are trying to use run time linking or normal
   8436 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   8437 	# need to do runtime linking.
   8438 	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   8439 	  for ld_flag in $LDFLAGS; do
   8440   	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
   8441   	    aix_use_runtimelinking=yes
   8442   	    break
   8443   	  fi
   8444 	  done
   8445 	  ;;
   8446 	esac
   8447 
   8448 	exp_sym_flag='-bexport'
   8449 	no_entry_flag='-bnoentry'
   8450       fi
   8451 
   8452       # When large executables or shared objects are built, AIX ld can
   8453       # have problems creating the table of contents.  If linking a library
   8454       # or program results in "error TOC overflow" add -mminimal-toc to
   8455       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   8456       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   8457 
   8458       archive_cmds=''
   8459       hardcode_direct=yes
   8460       hardcode_libdir_separator=':'
   8461       link_all_deplibs=yes
   8462 
   8463       if test "$GCC" = yes; then
   8464 	case $host_os in aix4.[012]|aix4.[012].*)
   8465 	# We only want to do this on AIX 4.2 and lower, the check
   8466 	# below for broken collect2 doesn't work under 4.3+
   8467 	  collect2name=`${CC} -print-prog-name=collect2`
   8468 	  if test -f "$collect2name" && \
   8469   	   strings "$collect2name" | grep resolve_lib_name >/dev/null
   8470 	  then
   8471   	  # We have reworked collect2
   8472   	  :
   8473 	  else
   8474   	  # We have old collect2
   8475   	  hardcode_direct=unsupported
   8476   	  # It fails to find uninstalled libraries when the uninstalled
   8477   	  # path is not listed in the libpath.  Setting hardcode_minus_L
   8478   	  # to unsupported forces relinking
   8479   	  hardcode_minus_L=yes
   8480   	  hardcode_libdir_flag_spec='-L$libdir'
   8481   	  hardcode_libdir_separator=
   8482 	  fi
   8483 	  ;;
   8484 	esac
   8485 	shared_flag='-shared'
   8486 	if test "$aix_use_runtimelinking" = yes; then
   8487 	  shared_flag="$shared_flag "'${wl}-G'
   8488 	fi
   8489       else
   8490 	# not using gcc
   8491 	if test "$host_cpu" = ia64; then
   8492   	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   8493   	# chokes on -Wl,-G. The following line is correct:
   8494 	  shared_flag='-G'
   8495 	else
   8496 	  if test "$aix_use_runtimelinking" = yes; then
   8497 	    shared_flag='${wl}-G'
   8498 	  else
   8499 	    shared_flag='${wl}-bM:SRE'
   8500 	  fi
   8501 	fi
   8502       fi
   8503 
   8504       # It seems that -bexpall does not export symbols beginning with
   8505       # underscore (_), so it is better to generate a list of symbols to export.
   8506       always_export_symbols=yes
   8507       if test "$aix_use_runtimelinking" = yes; then
   8508 	# Warning - without using the other runtime loading flags (-brtl),
   8509 	# -berok will link without error, but may produce a broken library.
   8510 	allow_undefined_flag='-berok'
   8511        # Determine the default libpath from the value encoded in an empty executable.
   8512        cat >conftest.$ac_ext <<_ACEOF
   8513 /* confdefs.h.  */
   8514 _ACEOF
   8515 cat confdefs.h >>conftest.$ac_ext
   8516 cat >>conftest.$ac_ext <<_ACEOF
   8517 /* end confdefs.h.  */
   8518 
   8519 int
   8520 main ()
   8521 {
   8522 
   8523   ;
   8524   return 0;
   8525 }
   8526 _ACEOF
   8527 rm -f conftest.$ac_objext conftest$ac_exeext
   8528 if { (ac_try="$ac_link"
   8529 case "(($ac_try" in
   8530   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   8531   *) ac_try_echo=$ac_try;;
   8532 esac
   8533 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   8534 $as_echo "$ac_try_echo") >&5
   8535   (eval "$ac_link") 2>conftest.er1
   8536   ac_status=$?
   8537   grep -v '^ *+' conftest.er1 >conftest.err
   8538   rm -f conftest.er1
   8539   cat conftest.err >&5
   8540   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8541   (exit $ac_status); } && {
   8542 	 test -z "$ac_c_werror_flag" ||
   8543 	 test ! -s conftest.err
   8544        } && test -s conftest$ac_exeext && {
   8545 	 test "$cross_compiling" = yes ||
   8546 	 $as_test_x conftest$ac_exeext
   8547        }; then
   8548 
   8549 lt_aix_libpath_sed='
   8550     /Import File Strings/,/^$/ {
   8551 	/^0/ {
   8552 	    s/^0  *\(.*\)$/\1/
   8553 	    p
   8554 	}
   8555     }'
   8556 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   8557 # Check for a 64-bit object if we didn't find anything.
   8558 if test -z "$aix_libpath"; then
   8559   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   8560 fi
   8561 else
   8562   $as_echo "$as_me: failed program was:" >&5
   8563 sed 's/^/| /' conftest.$ac_ext >&5
   8564 
   8565 
   8566 fi
   8567 
   8568 rm -rf conftest.dSYM
   8569 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   8570       conftest$ac_exeext conftest.$ac_ext
   8571 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   8572 
   8573        hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   8574 	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"
   8575        else
   8576 	if test "$host_cpu" = ia64; then
   8577 	  hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
   8578 	  allow_undefined_flag="-z nodefs"
   8579 	  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"
   8580 	else
   8581 	 # Determine the default libpath from the value encoded in an empty executable.
   8582 	 cat >conftest.$ac_ext <<_ACEOF
   8583 /* confdefs.h.  */
   8584 _ACEOF
   8585 cat confdefs.h >>conftest.$ac_ext
   8586 cat >>conftest.$ac_ext <<_ACEOF
   8587 /* end confdefs.h.  */
   8588 
   8589 int
   8590 main ()
   8591 {
   8592 
   8593   ;
   8594   return 0;
   8595 }
   8596 _ACEOF
   8597 rm -f conftest.$ac_objext conftest$ac_exeext
   8598 if { (ac_try="$ac_link"
   8599 case "(($ac_try" in
   8600   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   8601   *) ac_try_echo=$ac_try;;
   8602 esac
   8603 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   8604 $as_echo "$ac_try_echo") >&5
   8605   (eval "$ac_link") 2>conftest.er1
   8606   ac_status=$?
   8607   grep -v '^ *+' conftest.er1 >conftest.err
   8608   rm -f conftest.er1
   8609   cat conftest.err >&5
   8610   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8611   (exit $ac_status); } && {
   8612 	 test -z "$ac_c_werror_flag" ||
   8613 	 test ! -s conftest.err
   8614        } && test -s conftest$ac_exeext && {
   8615 	 test "$cross_compiling" = yes ||
   8616 	 $as_test_x conftest$ac_exeext
   8617        }; then
   8618 
   8619 lt_aix_libpath_sed='
   8620     /Import File Strings/,/^$/ {
   8621 	/^0/ {
   8622 	    s/^0  *\(.*\)$/\1/
   8623 	    p
   8624 	}
   8625     }'
   8626 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   8627 # Check for a 64-bit object if we didn't find anything.
   8628 if test -z "$aix_libpath"; then
   8629   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   8630 fi
   8631 else
   8632   $as_echo "$as_me: failed program was:" >&5
   8633 sed 's/^/| /' conftest.$ac_ext >&5
   8634 
   8635 
   8636 fi
   8637 
   8638 rm -rf conftest.dSYM
   8639 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   8640       conftest$ac_exeext conftest.$ac_ext
   8641 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   8642 
   8643 	 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   8644 	  # Warning - without using the other run time loading flags,
   8645 	  # -berok will link without error, but may produce a broken library.
   8646 	  no_undefined_flag=' ${wl}-bernotok'
   8647 	  allow_undefined_flag=' ${wl}-berok'
   8648 	  # Exported symbols can be pulled into shared objects from archives
   8649 	  whole_archive_flag_spec='$convenience'
   8650 	  archive_cmds_need_lc=yes
   8651 	  # This is similar to how AIX traditionally builds its shared libraries.
   8652 	  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'
   8653 	fi
   8654       fi
   8655       ;;
   8656 
   8657     amigaos*)
   8658       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)'
   8659       hardcode_libdir_flag_spec='-L$libdir'
   8660       hardcode_minus_L=yes
   8661       # see comment about different semantics on the GNU ld section
   8662       ld_shlibs=no
   8663       ;;
   8664 
   8665     bsdi[45]*)
   8666       export_dynamic_flag_spec=-rdynamic
   8667       ;;
   8668 
   8669     cygwin* | mingw* | pw32*)
   8670       # When not using gcc, we currently assume that we are using
   8671       # Microsoft Visual C++.
   8672       # hardcode_libdir_flag_spec is actually meaningless, as there is
   8673       # no search path for DLLs.
   8674       hardcode_libdir_flag_spec=' '
   8675       allow_undefined_flag=unsupported
   8676       # Tell ltmain to make .lib files, not .a files.
   8677       libext=lib
   8678       # Tell ltmain to make .dll files, not .so files.
   8679       shrext_cmds=".dll"
   8680       # FIXME: Setting linknames here is a bad hack.
   8681       archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
   8682       # The linker will automatically build a .lib file if we build a DLL.
   8683       old_archive_From_new_cmds='true'
   8684       # FIXME: Should let the user specify the lib program.
   8685       old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
   8686       fix_srcfile_path='`cygpath -w "$srcfile"`'
   8687       enable_shared_with_static_runtimes=yes
   8688       ;;
   8689 
   8690     darwin* | rhapsody*)
   8691       case $host_os in
   8692         rhapsody* | darwin1.[012])
   8693          allow_undefined_flag='${wl}-undefined ${wl}suppress'
   8694          ;;
   8695        *) # Darwin 1.3 on
   8696          if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
   8697            allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   8698          else
   8699            case ${MACOSX_DEPLOYMENT_TARGET} in
   8700              10.[012])
   8701                allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   8702                ;;
   8703              10.*)
   8704                allow_undefined_flag='${wl}-undefined ${wl}dynamic_lookup'
   8705                ;;
   8706            esac
   8707          fi
   8708          ;;
   8709       esac
   8710       archive_cmds_need_lc=no
   8711       hardcode_direct=no
   8712       hardcode_automatic=yes
   8713       hardcode_shlibpath_var=unsupported
   8714       whole_archive_flag_spec=''
   8715       link_all_deplibs=yes
   8716     if test "$GCC" = yes ; then
   8717     	output_verbose_link_cmd='echo'
   8718         archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
   8719         module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
   8720         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}"
   8721         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}"
   8722     else
   8723       case $cc_basename in
   8724         xlc*)
   8725          output_verbose_link_cmd='echo'
   8726          archive_cmds='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
   8727          module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
   8728           # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
   8729          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}'
   8730           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}'
   8731           ;;
   8732        *)
   8733          ld_shlibs=no
   8734           ;;
   8735       esac
   8736     fi
   8737       ;;
   8738 
   8739     dgux*)
   8740       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8741       hardcode_libdir_flag_spec='-L$libdir'
   8742       hardcode_shlibpath_var=no
   8743       ;;
   8744 
   8745     freebsd1*)
   8746       ld_shlibs=no
   8747       ;;
   8748 
   8749     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   8750     # support.  Future versions do this automatically, but an explicit c++rt0.o
   8751     # does not break anything, and helps significantly (at the cost of a little
   8752     # extra space).
   8753     freebsd2.2*)
   8754       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   8755       hardcode_libdir_flag_spec='-R$libdir'
   8756       hardcode_direct=yes
   8757       hardcode_shlibpath_var=no
   8758       ;;
   8759 
   8760     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   8761     freebsd2*)
   8762       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   8763       hardcode_direct=yes
   8764       hardcode_minus_L=yes
   8765       hardcode_shlibpath_var=no
   8766       ;;
   8767 
   8768     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   8769     freebsd* | dragonfly*)
   8770       archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
   8771       hardcode_libdir_flag_spec='-R$libdir'
   8772       hardcode_direct=yes
   8773       hardcode_shlibpath_var=no
   8774       ;;
   8775 
   8776     hpux9*)
   8777       if test "$GCC" = yes; then
   8778 	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'
   8779       else
   8780 	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'
   8781       fi
   8782       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   8783       hardcode_libdir_separator=:
   8784       hardcode_direct=yes
   8785 
   8786       # hardcode_minus_L: Not really in the search PATH,
   8787       # but as the default location of the library.
   8788       hardcode_minus_L=yes
   8789       export_dynamic_flag_spec='${wl}-E'
   8790       ;;
   8791 
   8792     hpux10*)
   8793       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   8794 	archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   8795       else
   8796 	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   8797       fi
   8798       if test "$with_gnu_ld" = no; then
   8799 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   8800 	hardcode_libdir_separator=:
   8801 
   8802 	hardcode_direct=yes
   8803 	export_dynamic_flag_spec='${wl}-E'
   8804 
   8805 	# hardcode_minus_L: Not really in the search PATH,
   8806 	# but as the default location of the library.
   8807 	hardcode_minus_L=yes
   8808       fi
   8809       ;;
   8810 
   8811     hpux11*)
   8812       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   8813 	case $host_cpu in
   8814 	hppa*64*)
   8815 	  archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   8816 	  ;;
   8817 	ia64*)
   8818 	  archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   8819 	  ;;
   8820 	*)
   8821 	  archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   8822 	  ;;
   8823 	esac
   8824       else
   8825 	case $host_cpu in
   8826 	hppa*64*)
   8827 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   8828 	  ;;
   8829 	ia64*)
   8830 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   8831 	  ;;
   8832 	*)
   8833 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   8834 	  ;;
   8835 	esac
   8836       fi
   8837       if test "$with_gnu_ld" = no; then
   8838 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   8839 	hardcode_libdir_separator=:
   8840 
   8841 	case $host_cpu in
   8842 	hppa*64*|ia64*)
   8843 	  hardcode_libdir_flag_spec_ld='+b $libdir'
   8844 	  hardcode_direct=no
   8845 	  hardcode_shlibpath_var=no
   8846 	  ;;
   8847 	*)
   8848 	  hardcode_direct=yes
   8849 	  export_dynamic_flag_spec='${wl}-E'
   8850 
   8851 	  # hardcode_minus_L: Not really in the search PATH,
   8852 	  # but as the default location of the library.
   8853 	  hardcode_minus_L=yes
   8854 	  ;;
   8855 	esac
   8856       fi
   8857       ;;
   8858 
   8859     irix5* | irix6* | nonstopux*)
   8860       if test "$GCC" = yes; then
   8861 	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'
   8862       else
   8863 	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'
   8864 	hardcode_libdir_flag_spec_ld='-rpath $libdir'
   8865       fi
   8866       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8867       hardcode_libdir_separator=:
   8868       link_all_deplibs=yes
   8869       ;;
   8870 
   8871     netbsd*)
   8872       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   8873 	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   8874       else
   8875 	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   8876       fi
   8877       hardcode_libdir_flag_spec='-R$libdir'
   8878       hardcode_direct=yes
   8879       hardcode_shlibpath_var=no
   8880       ;;
   8881 
   8882     newsos6)
   8883       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8884       hardcode_direct=yes
   8885       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8886       hardcode_libdir_separator=:
   8887       hardcode_shlibpath_var=no
   8888       ;;
   8889 
   8890     openbsd*)
   8891       if test -f /usr/libexec/ld.so; then
   8892 	hardcode_direct=yes
   8893 	hardcode_shlibpath_var=no
   8894 	if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   8895 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   8896 	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
   8897 	  hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   8898 	  export_dynamic_flag_spec='${wl}-E'
   8899 	else
   8900 	  case $host_os in
   8901 	   openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
   8902 	     archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   8903 	     hardcode_libdir_flag_spec='-R$libdir'
   8904 	     ;;
   8905 	   *)
   8906 	     archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   8907 	     hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   8908 	     ;;
   8909 	  esac
   8910         fi
   8911       else
   8912 	ld_shlibs=no
   8913       fi
   8914       ;;
   8915 
   8916     os2*)
   8917       hardcode_libdir_flag_spec='-L$libdir'
   8918       hardcode_minus_L=yes
   8919       allow_undefined_flag=unsupported
   8920       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'
   8921       old_archive_From_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
   8922       ;;
   8923 
   8924     osf3*)
   8925       if test "$GCC" = yes; then
   8926 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   8927 	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'
   8928       else
   8929 	allow_undefined_flag=' -expect_unresolved \*'
   8930 	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'
   8931       fi
   8932       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8933       hardcode_libdir_separator=:
   8934       ;;
   8935 
   8936     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   8937       if test "$GCC" = yes; then
   8938 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   8939 	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'
   8940 	hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8941       else
   8942 	allow_undefined_flag=' -expect_unresolved \*'
   8943 	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'
   8944 	archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
   8945 	$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'
   8946 
   8947 	# Both c and cxx compiler support -rpath directly
   8948 	hardcode_libdir_flag_spec='-rpath $libdir'
   8949       fi
   8950       hardcode_libdir_separator=:
   8951       ;;
   8952 
   8953     solaris*)
   8954       no_undefined_flag=' -z text'
   8955       if test "$GCC" = yes; then
   8956 	wlarc='${wl}'
   8957 	archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   8958 	archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   8959 	  $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
   8960       else
   8961 	wlarc=''
   8962 	archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8963 	archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   8964   	$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
   8965       fi
   8966       hardcode_libdir_flag_spec='-R$libdir'
   8967       hardcode_shlibpath_var=no
   8968       case $host_os in
   8969       solaris2.[0-5] | solaris2.[0-5].*) ;;
   8970       *)
   8971 	# The compiler driver will combine and reorder linker options,
   8972 	# but understands `-z linker_flag'.  GCC discards it without `$wl',
   8973 	# but is careful enough not to reorder.
   8974  	# Supported since Solaris 2.6 (maybe 2.5.1?)
   8975 	if test "$GCC" = yes; then
   8976 	  whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
   8977 	else
   8978 	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
   8979 	fi
   8980 	;;
   8981       esac
   8982       link_all_deplibs=yes
   8983       ;;
   8984 
   8985     sunos4*)
   8986       if test "x$host_vendor" = xsequent; then
   8987 	# Use $CC to link under sequent, because it throws in some extra .o
   8988 	# files that make .init and .fini sections work.
   8989 	archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   8990       else
   8991 	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   8992       fi
   8993       hardcode_libdir_flag_spec='-L$libdir'
   8994       hardcode_direct=yes
   8995       hardcode_minus_L=yes
   8996       hardcode_shlibpath_var=no
   8997       ;;
   8998 
   8999     sysv4)
   9000       case $host_vendor in
   9001 	sni)
   9002 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9003 	  hardcode_direct=yes # is this really true???
   9004 	;;
   9005 	siemens)
   9006 	  ## LD is ld it makes a PLAMLIB
   9007 	  ## CC just makes a GrossModule.
   9008 	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   9009 	  reload_cmds='$CC -r -o $output$reload_objs'
   9010 	  hardcode_direct=no
   9011         ;;
   9012 	motorola)
   9013 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9014 	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
   9015 	;;
   9016       esac
   9017       runpath_var='LD_RUN_PATH'
   9018       hardcode_shlibpath_var=no
   9019       ;;
   9020 
   9021     sysv4.3*)
   9022       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9023       hardcode_shlibpath_var=no
   9024       export_dynamic_flag_spec='-Bexport'
   9025       ;;
   9026 
   9027     sysv4*MP*)
   9028       if test -d /usr/nec; then
   9029 	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9030 	hardcode_shlibpath_var=no
   9031 	runpath_var=LD_RUN_PATH
   9032 	hardcode_runpath_var=yes
   9033 	ld_shlibs=yes
   9034       fi
   9035       ;;
   9036 
   9037     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   9038       no_undefined_flag='${wl}-z,text'
   9039       archive_cmds_need_lc=no
   9040       hardcode_shlibpath_var=no
   9041       runpath_var='LD_RUN_PATH'
   9042 
   9043       if test "$GCC" = yes; then
   9044 	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9045 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9046       else
   9047 	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9048 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9049       fi
   9050       ;;
   9051 
   9052     sysv5* | sco3.2v5* | sco5v6*)
   9053       # Note: We can NOT use -z defs as we might desire, because we do not
   9054       # link with -lc, and that would cause any symbols used from libc to
   9055       # always be unresolved, which means just about no library would
   9056       # ever link correctly.  If we're not using GNU ld we use -z text
   9057       # though, which does catch some bad symbols but isn't as heavy-handed
   9058       # as -z defs.
   9059       no_undefined_flag='${wl}-z,text'
   9060       allow_undefined_flag='${wl}-z,nodefs'
   9061       archive_cmds_need_lc=no
   9062       hardcode_shlibpath_var=no
   9063       hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
   9064       hardcode_libdir_separator=':'
   9065       link_all_deplibs=yes
   9066       export_dynamic_flag_spec='${wl}-Bexport'
   9067       runpath_var='LD_RUN_PATH'
   9068 
   9069       if test "$GCC" = yes; then
   9070 	archive_cmds='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   9071 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   9072       else
   9073 	archive_cmds='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   9074 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   9075       fi
   9076       ;;
   9077 
   9078     uts4*)
   9079       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9080       hardcode_libdir_flag_spec='-L$libdir'
   9081       hardcode_shlibpath_var=no
   9082       ;;
   9083 
   9084     *)
   9085       ld_shlibs=no
   9086       ;;
   9087     esac
   9088   fi
   9089 
   9090 { $as_echo "$as_me:$LINENO: result: $ld_shlibs" >&5
   9091 $as_echo "$ld_shlibs" >&6; }
   9092 test "$ld_shlibs" = no && can_build_shared=no
   9093 
   9094 #
   9095 # Do we need to explicitly link libc?
   9096 #
   9097 case "x$archive_cmds_need_lc" in
   9098 x|xyes)
   9099   # Assume -lc should be added
   9100   archive_cmds_need_lc=yes
   9101 
   9102   if test "$enable_shared" = yes && test "$GCC" = yes; then
   9103     case $archive_cmds in
   9104     *'~'*)
   9105       # FIXME: we may have to deal with multi-command sequences.
   9106       ;;
   9107     '$CC '*)
   9108       # Test whether the compiler implicitly links with -lc since on some
   9109       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   9110       # to ld, don't add -lc before -lgcc.
   9111       { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
   9112 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
   9113       $rm conftest*
   9114       echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   9115 
   9116       if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   9117   (eval $ac_compile) 2>&5
   9118   ac_status=$?
   9119   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9120   (exit $ac_status); } 2>conftest.err; then
   9121         soname=conftest
   9122         lib=conftest
   9123         libobjs=conftest.$ac_objext
   9124         deplibs=
   9125         wl=$lt_prog_compiler_wl
   9126 	pic_flag=$lt_prog_compiler_pic
   9127         compiler_flags=-v
   9128         linker_flags=-v
   9129         verstring=
   9130         output_objdir=.
   9131         libname=conftest
   9132         lt_save_allow_undefined_flag=$allow_undefined_flag
   9133         allow_undefined_flag=
   9134         if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
   9135   (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
   9136   ac_status=$?
   9137   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9138   (exit $ac_status); }
   9139         then
   9140 	  archive_cmds_need_lc=no
   9141         else
   9142 	  archive_cmds_need_lc=yes
   9143         fi
   9144         allow_undefined_flag=$lt_save_allow_undefined_flag
   9145       else
   9146         cat conftest.err 1>&5
   9147       fi
   9148       $rm conftest*
   9149       { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
   9150 $as_echo "$archive_cmds_need_lc" >&6; }
   9151       ;;
   9152     esac
   9153   fi
   9154   ;;
   9155 esac
   9156 
   9157 { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
   9158 $as_echo_n "checking dynamic linker characteristics... " >&6; }
   9159 library_names_spec=
   9160 libname_spec='lib$name'
   9161 soname_spec=
   9162 shrext_cmds=".so"
   9163 postinstall_cmds=
   9164 postuninstall_cmds=
   9165 finish_cmds=
   9166 finish_eval=
   9167 shlibpath_var=
   9168 shlibpath_overrides_runpath=unknown
   9169 version_type=none
   9170 dynamic_linker="$host_os ld.so"
   9171 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   9172 
   9173 if test "$GCC" = yes; then
   9174   case $host_os in
   9175     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
   9176     *) lt_awk_arg="/^libraries:/" ;;
   9177   esac
   9178   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   9179   if echo "$lt_search_path_spec" | grep ';' >/dev/null ; then
   9180     # if the path contains ";" then we assume it to be the separator
   9181     # otherwise default to the standard path separator (i.e. ":") - it is
   9182     # assumed that no part of a normal pathname contains ";" but that should
   9183     # okay in the real world where ";" in dirpaths is itself problematic.
   9184     lt_search_path_spec=`echo "$lt_search_path_spec" | $SED -e 's/;/ /g'`
   9185   else
   9186     lt_search_path_spec=`echo "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   9187   fi
   9188   # Ok, now we have the path, separated by spaces, we can step through it
   9189   # and add multilib dir if necessary.
   9190   lt_tmp_lt_search_path_spec=
   9191   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
   9192   for lt_sys_path in $lt_search_path_spec; do
   9193     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
   9194       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
   9195     else
   9196       test -d "$lt_sys_path" && \
   9197 	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
   9198     fi
   9199   done
   9200   lt_search_path_spec=`echo $lt_tmp_lt_search_path_spec | awk '
   9201 BEGIN {RS=" "; FS="/|\n";} {
   9202   lt_foo="";
   9203   lt_count=0;
   9204   for (lt_i = NF; lt_i > 0; lt_i--) {
   9205     if ($lt_i != "" && $lt_i != ".") {
   9206       if ($lt_i == "..") {
   9207         lt_count++;
   9208       } else {
   9209         if (lt_count == 0) {
   9210           lt_foo="/" $lt_i lt_foo;
   9211         } else {
   9212           lt_count--;
   9213         }
   9214       }
   9215     }
   9216   }
   9217   if (lt_foo != "") { lt_freq[lt_foo]++; }
   9218   if (lt_freq[lt_foo] == 1) { print lt_foo; }
   9219 }'`
   9220   sys_lib_search_path_spec=`echo $lt_search_path_spec`
   9221 else
   9222   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   9223 fi
   9224 need_lib_prefix=unknown
   9225 hardcode_into_libs=no
   9226 
   9227 # when you set need_version to no, make sure it does not cause -set_version
   9228 # flags to be left without arguments
   9229 need_version=unknown
   9230 
   9231 case $host_os in
   9232 aix3*)
   9233   version_type=linux
   9234   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   9235   shlibpath_var=LIBPATH
   9236 
   9237   # AIX 3 has no versioning support, so we append a major version to the name.
   9238   soname_spec='${libname}${release}${shared_ext}$major'
   9239   ;;
   9240 
   9241 aix[4-9]*)
   9242   version_type=linux
   9243   need_lib_prefix=no
   9244   need_version=no
   9245   hardcode_into_libs=yes
   9246   if test "$host_cpu" = ia64; then
   9247     # AIX 5 supports IA64
   9248     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
   9249     shlibpath_var=LD_LIBRARY_PATH
   9250   else
   9251     # With GCC up to 2.95.x, collect2 would create an import file
   9252     # for dependence libraries.  The import file would start with
   9253     # the line `#! .'.  This would cause the generated library to
   9254     # depend on `.', always an invalid library.  This was fixed in
   9255     # development snapshots of GCC prior to 3.0.
   9256     case $host_os in
   9257       aix4 | aix4.[01] | aix4.[01].*)
   9258       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   9259 	   echo ' yes '
   9260 	   echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
   9261 	:
   9262       else
   9263 	can_build_shared=no
   9264       fi
   9265       ;;
   9266     esac
   9267     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
   9268     # soname into executable. Probably we can add versioning support to
   9269     # collect2, so additional links can be useful in future.
   9270     if test "$aix_use_runtimelinking" = yes; then
   9271       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   9272       # instead of lib<name>.a to let people know that these are not
   9273       # typical AIX shared libraries.
   9274       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9275     else
   9276       # We preserve .a as extension for shared libraries through AIX4.2
   9277       # and later when we are not doing run time linking.
   9278       library_names_spec='${libname}${release}.a $libname.a'
   9279       soname_spec='${libname}${release}${shared_ext}$major'
   9280     fi
   9281     shlibpath_var=LIBPATH
   9282   fi
   9283   ;;
   9284 
   9285 amigaos*)
   9286   library_names_spec='$libname.ixlibrary $libname.a'
   9287   # Create ${libname}_ixlibrary.a entries in /sys/libs.
   9288   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'
   9289   ;;
   9290 
   9291 beos*)
   9292   library_names_spec='${libname}${shared_ext}'
   9293   dynamic_linker="$host_os ld.so"
   9294   shlibpath_var=LIBRARY_PATH
   9295   ;;
   9296 
   9297 bsdi[45]*)
   9298   version_type=linux
   9299   need_version=no
   9300   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9301   soname_spec='${libname}${release}${shared_ext}$major'
   9302   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   9303   shlibpath_var=LD_LIBRARY_PATH
   9304   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   9305   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   9306   # the default ld.so.conf also contains /usr/contrib/lib and
   9307   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   9308   # libtool to hard-code these into programs
   9309   ;;
   9310 
   9311 cygwin* | mingw* | pw32*)
   9312   version_type=windows
   9313   shrext_cmds=".dll"
   9314   need_version=no
   9315   need_lib_prefix=no
   9316 
   9317   case $GCC,$host_os in
   9318   yes,cygwin* | yes,mingw* | yes,pw32*)
   9319     library_names_spec='$libname.dll.a'
   9320     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   9321     postinstall_cmds='base_file=`basename \${file}`~
   9322       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
   9323       dldir=$destdir/`dirname \$dlpath`~
   9324       test -d \$dldir || mkdir -p \$dldir~
   9325       $install_prog $dir/$dlname \$dldir/$dlname~
   9326       chmod a+x \$dldir/$dlname'
   9327     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   9328       dlpath=$dir/\$dldll~
   9329        $rm \$dlpath'
   9330     shlibpath_overrides_runpath=yes
   9331 
   9332     case $host_os in
   9333     cygwin*)
   9334       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   9335       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   9336       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
   9337       ;;
   9338     mingw*)
   9339       # MinGW DLLs use traditional 'lib' prefix
   9340       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   9341       sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   9342       if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
   9343         # It is most probably a Windows format PATH printed by
   9344         # mingw gcc, but we are running on Cygwin. Gcc prints its search
   9345         # path with ; separators, and with drive letters. We can handle the
   9346         # drive letters (cygwin fileutils understands them), so leave them,
   9347         # especially as we might pass files found there to a mingw objdump,
   9348         # which wouldn't understand a cygwinified path. Ahh.
   9349         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   9350       else
   9351         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   9352       fi
   9353       ;;
   9354     pw32*)
   9355       # pw32 DLLs use 'pw' prefix rather than 'lib'
   9356       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   9357       ;;
   9358     esac
   9359     ;;
   9360 
   9361   *)
   9362     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
   9363     ;;
   9364   esac
   9365   dynamic_linker='Win32 ld.exe'
   9366   # FIXME: first we should search . and the directory the executable is in
   9367   shlibpath_var=PATH
   9368   ;;
   9369 
   9370 darwin* | rhapsody*)
   9371   dynamic_linker="$host_os dyld"
   9372   version_type=darwin
   9373   need_lib_prefix=no
   9374   need_version=no
   9375   library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
   9376   soname_spec='${libname}${release}${major}$shared_ext'
   9377   shlibpath_overrides_runpath=yes
   9378   shlibpath_var=DYLD_LIBRARY_PATH
   9379   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   9380 
   9381   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
   9382   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   9383   ;;
   9384 
   9385 dgux*)
   9386   version_type=linux
   9387   need_lib_prefix=no
   9388   need_version=no
   9389   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
   9390   soname_spec='${libname}${release}${shared_ext}$major'
   9391   shlibpath_var=LD_LIBRARY_PATH
   9392   ;;
   9393 
   9394 freebsd1*)
   9395   dynamic_linker=no
   9396   ;;
   9397 
   9398 freebsd* | dragonfly*)
   9399   # DragonFly does not have aout.  When/if they implement a new
   9400   # versioning mechanism, adjust this.
   9401   if test -x /usr/bin/objformat; then
   9402     objformat=`/usr/bin/objformat`
   9403   else
   9404     case $host_os in
   9405     freebsd[123]*) objformat=aout ;;
   9406     *) objformat=elf ;;
   9407     esac
   9408   fi
   9409   version_type=freebsd-$objformat
   9410   case $version_type in
   9411     freebsd-elf*)
   9412       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   9413       need_version=no
   9414       need_lib_prefix=no
   9415       ;;
   9416     freebsd-*)
   9417       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
   9418       need_version=yes
   9419       ;;
   9420   esac
   9421   shlibpath_var=LD_LIBRARY_PATH
   9422   case $host_os in
   9423   freebsd2*)
   9424     shlibpath_overrides_runpath=yes
   9425     ;;
   9426   freebsd3.[01]* | freebsdelf3.[01]*)
   9427     shlibpath_overrides_runpath=yes
   9428     hardcode_into_libs=yes
   9429     ;;
   9430   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   9431   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   9432     shlibpath_overrides_runpath=no
   9433     hardcode_into_libs=yes
   9434     ;;
   9435   *) # from 4.6 on, and DragonFly
   9436     shlibpath_overrides_runpath=yes
   9437     hardcode_into_libs=yes
   9438     ;;
   9439   esac
   9440   ;;
   9441 
   9442 gnu*)
   9443   version_type=linux
   9444   need_lib_prefix=no
   9445   need_version=no
   9446   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   9447   soname_spec='${libname}${release}${shared_ext}$major'
   9448   shlibpath_var=LD_LIBRARY_PATH
   9449   hardcode_into_libs=yes
   9450   ;;
   9451 
   9452 hpux9* | hpux10* | hpux11*)
   9453   # Give a soname corresponding to the major version so that dld.sl refuses to
   9454   # link against other versions.
   9455   version_type=sunos
   9456   need_lib_prefix=no
   9457   need_version=no
   9458   case $host_cpu in
   9459   ia64*)
   9460     shrext_cmds='.so'
   9461     hardcode_into_libs=yes
   9462     dynamic_linker="$host_os dld.so"
   9463     shlibpath_var=LD_LIBRARY_PATH
   9464     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   9465     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9466     soname_spec='${libname}${release}${shared_ext}$major'
   9467     if test "X$HPUX_IA64_MODE" = X32; then
   9468       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   9469     else
   9470       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   9471     fi
   9472     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   9473     ;;
   9474    hppa*64*)
   9475      shrext_cmds='.sl'
   9476      hardcode_into_libs=yes
   9477      dynamic_linker="$host_os dld.sl"
   9478      shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   9479      shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   9480      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9481      soname_spec='${libname}${release}${shared_ext}$major'
   9482      sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   9483      sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   9484      ;;
   9485    *)
   9486     shrext_cmds='.sl'
   9487     dynamic_linker="$host_os dld.sl"
   9488     shlibpath_var=SHLIB_PATH
   9489     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   9490     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9491     soname_spec='${libname}${release}${shared_ext}$major'
   9492     ;;
   9493   esac
   9494   # HP-UX runs *really* slowly unless shared libraries are mode 555.
   9495   postinstall_cmds='chmod 555 $lib'
   9496   ;;
   9497 
   9498 interix[3-9]*)
   9499   version_type=linux
   9500   need_lib_prefix=no
   9501   need_version=no
   9502   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   9503   soname_spec='${libname}${release}${shared_ext}$major'
   9504   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   9505   shlibpath_var=LD_LIBRARY_PATH
   9506   shlibpath_overrides_runpath=no
   9507   hardcode_into_libs=yes
   9508   ;;
   9509 
   9510 irix5* | irix6* | nonstopux*)
   9511   case $host_os in
   9512     nonstopux*) version_type=nonstopux ;;
   9513     *)
   9514 	if test "$lt_cv_prog_gnu_ld" = yes; then
   9515 		version_type=linux
   9516 	else
   9517 		version_type=irix
   9518 	fi ;;
   9519   esac
   9520   need_lib_prefix=no
   9521   need_version=no
   9522   soname_spec='${libname}${release}${shared_ext}$major'
   9523   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
   9524   case $host_os in
   9525   irix5* | nonstopux*)
   9526     libsuff= shlibsuff=
   9527     ;;
   9528   *)
   9529     case $LD in # libtool.m4 will add one of these switches to LD
   9530     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   9531       libsuff= shlibsuff= libmagic=32-bit;;
   9532     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   9533       libsuff=32 shlibsuff=N32 libmagic=N32;;
   9534     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   9535       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   9536     *) libsuff= shlibsuff= libmagic=never-match;;
   9537     esac
   9538     ;;
   9539   esac
   9540   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   9541   shlibpath_overrides_runpath=no
   9542   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   9543   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   9544   hardcode_into_libs=yes
   9545   ;;
   9546 
   9547 # No shared lib support for Linux oldld, aout, or coff.
   9548 linux*oldld* | linux*aout* | linux*coff*)
   9549   dynamic_linker=no
   9550   ;;
   9551 
   9552 # This must be Linux ELF.
   9553 linux* | k*bsd*-gnu)
   9554   version_type=linux
   9555   need_lib_prefix=no
   9556   need_version=no
   9557   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9558   soname_spec='${libname}${release}${shared_ext}$major'
   9559   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   9560   shlibpath_var=LD_LIBRARY_PATH
   9561   shlibpath_overrides_runpath=no
   9562   # This implies no fast_install, which is unacceptable.
   9563   # Some rework will be needed to allow for fast_install
   9564   # before this can be enabled.
   9565   hardcode_into_libs=yes
   9566 
   9567   # Append ld.so.conf contents to the search path
   9568   if test -f /etc/ld.so.conf; then
   9569     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' ' '`
   9570     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   9571   fi
   9572 
   9573   # We used to test for /lib/ld.so.1 and disable shared libraries on
   9574   # powerpc, because MkLinux only supported shared libraries with the
   9575   # GNU dynamic linker.  Since this was broken with cross compilers,
   9576   # most powerpc-linux boxes support dynamic linking these days and
   9577   # people can always --disable-shared, the test was removed, and we
   9578   # assume the GNU/Linux dynamic linker is in use.
   9579   dynamic_linker='GNU/Linux ld.so'
   9580   ;;
   9581 
   9582 netbsd*)
   9583   version_type=sunos
   9584   need_lib_prefix=no
   9585   need_version=no
   9586   if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   9587     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   9588     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   9589     dynamic_linker='NetBSD (a.out) ld.so'
   9590   else
   9591     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   9592     soname_spec='${libname}${release}${shared_ext}$major'
   9593     dynamic_linker='NetBSD ld.elf_so'
   9594   fi
   9595   shlibpath_var=LD_LIBRARY_PATH
   9596   shlibpath_overrides_runpath=yes
   9597   hardcode_into_libs=yes
   9598   ;;
   9599 
   9600 newsos6)
   9601   version_type=linux
   9602   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9603   shlibpath_var=LD_LIBRARY_PATH
   9604   shlibpath_overrides_runpath=yes
   9605   ;;
   9606 
   9607 nto-qnx*)
   9608   version_type=linux
   9609   need_lib_prefix=no
   9610   need_version=no
   9611   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9612   soname_spec='${libname}${release}${shared_ext}$major'
   9613   shlibpath_var=LD_LIBRARY_PATH
   9614   shlibpath_overrides_runpath=yes
   9615   ;;
   9616 
   9617 openbsd*)
   9618   version_type=sunos
   9619   sys_lib_dlsearch_path_spec="/usr/lib"
   9620   need_lib_prefix=no
   9621   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
   9622   case $host_os in
   9623     openbsd3.3 | openbsd3.3.*) need_version=yes ;;
   9624     *)                         need_version=no  ;;
   9625   esac
   9626   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   9627   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   9628   shlibpath_var=LD_LIBRARY_PATH
   9629   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   9630     case $host_os in
   9631       openbsd2.[89] | openbsd2.[89].*)
   9632 	shlibpath_overrides_runpath=no
   9633 	;;
   9634       *)
   9635 	shlibpath_overrides_runpath=yes
   9636 	;;
   9637       esac
   9638   else
   9639     shlibpath_overrides_runpath=yes
   9640   fi
   9641   ;;
   9642 
   9643 os2*)
   9644   libname_spec='$name'
   9645   shrext_cmds=".dll"
   9646   need_lib_prefix=no
   9647   library_names_spec='$libname${shared_ext} $libname.a'
   9648   dynamic_linker='OS/2 ld.exe'
   9649   shlibpath_var=LIBPATH
   9650   ;;
   9651 
   9652 osf3* | osf4* | osf5*)
   9653   version_type=osf
   9654   need_lib_prefix=no
   9655   need_version=no
   9656   soname_spec='${libname}${release}${shared_ext}$major'
   9657   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9658   shlibpath_var=LD_LIBRARY_PATH
   9659   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   9660   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   9661   ;;
   9662 
   9663 rdos*)
   9664   dynamic_linker=no
   9665   ;;
   9666 
   9667 solaris*)
   9668   version_type=linux
   9669   need_lib_prefix=no
   9670   need_version=no
   9671   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9672   soname_spec='${libname}${release}${shared_ext}$major'
   9673   shlibpath_var=LD_LIBRARY_PATH
   9674   shlibpath_overrides_runpath=yes
   9675   hardcode_into_libs=yes
   9676   # ldd complains unless libraries are executable
   9677   postinstall_cmds='chmod +x $lib'
   9678   ;;
   9679 
   9680 sunos4*)
   9681   version_type=sunos
   9682   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   9683   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   9684   shlibpath_var=LD_LIBRARY_PATH
   9685   shlibpath_overrides_runpath=yes
   9686   if test "$with_gnu_ld" = yes; then
   9687     need_lib_prefix=no
   9688   fi
   9689   need_version=yes
   9690   ;;
   9691 
   9692 sysv4 | sysv4.3*)
   9693   version_type=linux
   9694   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9695   soname_spec='${libname}${release}${shared_ext}$major'
   9696   shlibpath_var=LD_LIBRARY_PATH
   9697   case $host_vendor in
   9698     sni)
   9699       shlibpath_overrides_runpath=no
   9700       need_lib_prefix=no
   9701       export_dynamic_flag_spec='${wl}-Blargedynsym'
   9702       runpath_var=LD_RUN_PATH
   9703       ;;
   9704     siemens)
   9705       need_lib_prefix=no
   9706       ;;
   9707     motorola)
   9708       need_lib_prefix=no
   9709       need_version=no
   9710       shlibpath_overrides_runpath=no
   9711       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   9712       ;;
   9713   esac
   9714   ;;
   9715 
   9716 sysv4*MP*)
   9717   if test -d /usr/nec ;then
   9718     version_type=linux
   9719     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
   9720     soname_spec='$libname${shared_ext}.$major'
   9721     shlibpath_var=LD_LIBRARY_PATH
   9722   fi
   9723   ;;
   9724 
   9725 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   9726   version_type=freebsd-elf
   9727   need_lib_prefix=no
   9728   need_version=no
   9729   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   9730   soname_spec='${libname}${release}${shared_ext}$major'
   9731   shlibpath_var=LD_LIBRARY_PATH
   9732   hardcode_into_libs=yes
   9733   if test "$with_gnu_ld" = yes; then
   9734     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   9735     shlibpath_overrides_runpath=no
   9736   else
   9737     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   9738     shlibpath_overrides_runpath=yes
   9739     case $host_os in
   9740       sco3.2v5*)
   9741         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   9742 	;;
   9743     esac
   9744   fi
   9745   sys_lib_dlsearch_path_spec='/usr/lib'
   9746   ;;
   9747 
   9748 uts4*)
   9749   version_type=linux
   9750   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9751   soname_spec='${libname}${release}${shared_ext}$major'
   9752   shlibpath_var=LD_LIBRARY_PATH
   9753   ;;
   9754 
   9755 *)
   9756   dynamic_linker=no
   9757   ;;
   9758 esac
   9759 { $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
   9760 $as_echo "$dynamic_linker" >&6; }
   9761 test "$dynamic_linker" = no && can_build_shared=no
   9762 
   9763 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
   9764   $as_echo_n "(cached) " >&6
   9765 else
   9766   lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
   9767 fi
   9768 
   9769 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
   9770 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
   9771   $as_echo_n "(cached) " >&6
   9772 else
   9773   lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
   9774 fi
   9775 
   9776 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
   9777 
   9778 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   9779 if test "$GCC" = yes; then
   9780   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   9781 fi
   9782 
   9783 { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
   9784 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
   9785 hardcode_action=
   9786 if test -n "$hardcode_libdir_flag_spec" || \
   9787    test -n "$runpath_var" || \
   9788    test "X$hardcode_automatic" = "Xyes" ; then
   9789 
   9790   # We can hardcode non-existant directories.
   9791   if test "$hardcode_direct" != no &&
   9792      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   9793      # have to relink, otherwise we might link with an installed library
   9794      # when we should be linking with a yet-to-be-installed one
   9795      ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
   9796      test "$hardcode_minus_L" != no; then
   9797     # Linking always hardcodes the temporary library directory.
   9798     hardcode_action=relink
   9799   else
   9800     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   9801     hardcode_action=immediate
   9802   fi
   9803 else
   9804   # We cannot hardcode anything, or else we can only hardcode existing
   9805   # directories.
   9806   hardcode_action=unsupported
   9807 fi
   9808 { $as_echo "$as_me:$LINENO: result: $hardcode_action" >&5
   9809 $as_echo "$hardcode_action" >&6; }
   9810 
   9811 if test "$hardcode_action" = relink; then
   9812   # Fast installation is not supported
   9813   enable_fast_install=no
   9814 elif test "$shlibpath_overrides_runpath" = yes ||
   9815      test "$enable_shared" = no; then
   9816   # Fast installation is not necessary
   9817   enable_fast_install=needless
   9818 fi
   9819 
   9820 striplib=
   9821 old_striplib=
   9822 { $as_echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
   9823 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
   9824 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
   9825   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
   9826   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
   9827   { $as_echo "$as_me:$LINENO: result: yes" >&5
   9828 $as_echo "yes" >&6; }
   9829 else
   9830 # FIXME - insert some real tests, host_os isn't really good enough
   9831   case $host_os in
   9832    darwin*)
   9833        if test -n "$STRIP" ; then
   9834          striplib="$STRIP -x"
   9835          old_striplib="$STRIP -S"
   9836          { $as_echo "$as_me:$LINENO: result: yes" >&5
   9837 $as_echo "yes" >&6; }
   9838        else
   9839   { $as_echo "$as_me:$LINENO: result: no" >&5
   9840 $as_echo "no" >&6; }
   9841 fi
   9842        ;;
   9843    *)
   9844   { $as_echo "$as_me:$LINENO: result: no" >&5
   9845 $as_echo "no" >&6; }
   9846     ;;
   9847   esac
   9848 fi
   9849 
   9850 if test "x$enable_dlopen" != xyes; then
   9851   enable_dlopen=unknown
   9852   enable_dlopen_self=unknown
   9853   enable_dlopen_self_static=unknown
   9854 else
   9855   lt_cv_dlopen=no
   9856   lt_cv_dlopen_libs=
   9857 
   9858   case $host_os in
   9859   beos*)
   9860     lt_cv_dlopen="load_add_on"
   9861     lt_cv_dlopen_libs=
   9862     lt_cv_dlopen_self=yes
   9863     ;;
   9864 
   9865   mingw* | pw32*)
   9866     lt_cv_dlopen="LoadLibrary"
   9867     lt_cv_dlopen_libs=
   9868    ;;
   9869 
   9870   cygwin*)
   9871     lt_cv_dlopen="dlopen"
   9872     lt_cv_dlopen_libs=
   9873    ;;
   9874 
   9875   darwin*)
   9876   # if libdl is installed we need to link against it
   9877     { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
   9878 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   9879 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
   9880   $as_echo_n "(cached) " >&6
   9881 else
   9882   ac_check_lib_save_LIBS=$LIBS
   9883 LIBS="-ldl  $LIBS"
   9884 cat >conftest.$ac_ext <<_ACEOF
   9885 /* confdefs.h.  */
   9886 _ACEOF
   9887 cat confdefs.h >>conftest.$ac_ext
   9888 cat >>conftest.$ac_ext <<_ACEOF
   9889 /* end confdefs.h.  */
   9890 
   9891 /* Override any GCC internal prototype to avoid an error.
   9892    Use char because int might match the return type of a GCC
   9893    builtin and then its argument prototype would still apply.  */
   9894 #ifdef __cplusplus
   9895 extern "C"
   9896 #endif
   9897 char dlopen ();
   9898 int
   9899 main ()
   9900 {
   9901 return dlopen ();
   9902   ;
   9903   return 0;
   9904 }
   9905 _ACEOF
   9906 rm -f conftest.$ac_objext conftest$ac_exeext
   9907 if { (ac_try="$ac_link"
   9908 case "(($ac_try" in
   9909   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   9910   *) ac_try_echo=$ac_try;;
   9911 esac
   9912 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   9913 $as_echo "$ac_try_echo") >&5
   9914   (eval "$ac_link") 2>conftest.er1
   9915   ac_status=$?
   9916   grep -v '^ *+' conftest.er1 >conftest.err
   9917   rm -f conftest.er1
   9918   cat conftest.err >&5
   9919   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9920   (exit $ac_status); } && {
   9921 	 test -z "$ac_c_werror_flag" ||
   9922 	 test ! -s conftest.err
   9923        } && test -s conftest$ac_exeext && {
   9924 	 test "$cross_compiling" = yes ||
   9925 	 $as_test_x conftest$ac_exeext
   9926        }; then
   9927   ac_cv_lib_dl_dlopen=yes
   9928 else
   9929   $as_echo "$as_me: failed program was:" >&5
   9930 sed 's/^/| /' conftest.$ac_ext >&5
   9931 
   9932 	ac_cv_lib_dl_dlopen=no
   9933 fi
   9934 
   9935 rm -rf conftest.dSYM
   9936 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   9937       conftest$ac_exeext conftest.$ac_ext
   9938 LIBS=$ac_check_lib_save_LIBS
   9939 fi
   9940 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
   9941 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   9942 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
   9943   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   9944 else
   9945 
   9946     lt_cv_dlopen="dyld"
   9947     lt_cv_dlopen_libs=
   9948     lt_cv_dlopen_self=yes
   9949 
   9950 fi
   9951 
   9952    ;;
   9953 
   9954   *)
   9955     { $as_echo "$as_me:$LINENO: checking for shl_load" >&5
   9956 $as_echo_n "checking for shl_load... " >&6; }
   9957 if test "${ac_cv_func_shl_load+set}" = set; then
   9958   $as_echo_n "(cached) " >&6
   9959 else
   9960   cat >conftest.$ac_ext <<_ACEOF
   9961 /* confdefs.h.  */
   9962 _ACEOF
   9963 cat confdefs.h >>conftest.$ac_ext
   9964 cat >>conftest.$ac_ext <<_ACEOF
   9965 /* end confdefs.h.  */
   9966 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
   9967    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   9968 #define shl_load innocuous_shl_load
   9969 
   9970 /* System header to define __stub macros and hopefully few prototypes,
   9971     which can conflict with char shl_load (); below.
   9972     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   9973     <limits.h> exists even on freestanding compilers.  */
   9974 
   9975 #ifdef __STDC__
   9976 # include <limits.h>
   9977 #else
   9978 # include <assert.h>
   9979 #endif
   9980 
   9981 #undef shl_load
   9982 
   9983 /* Override any GCC internal prototype to avoid an error.
   9984    Use char because int might match the return type of a GCC
   9985    builtin and then its argument prototype would still apply.  */
   9986 #ifdef __cplusplus
   9987 extern "C"
   9988 #endif
   9989 char shl_load ();
   9990 /* The GNU C library defines this for functions which it implements
   9991     to always fail with ENOSYS.  Some functions are actually named
   9992     something starting with __ and the normal name is an alias.  */
   9993 #if defined __stub_shl_load || defined __stub___shl_load
   9994 choke me
   9995 #endif
   9996 
   9997 int
   9998 main ()
   9999 {
   10000 return shl_load ();
   10001   ;
   10002   return 0;
   10003 }
   10004 _ACEOF
   10005 rm -f conftest.$ac_objext conftest$ac_exeext
   10006 if { (ac_try="$ac_link"
   10007 case "(($ac_try" in
   10008   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   10009   *) ac_try_echo=$ac_try;;
   10010 esac
   10011 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   10012 $as_echo "$ac_try_echo") >&5
   10013   (eval "$ac_link") 2>conftest.er1
   10014   ac_status=$?
   10015   grep -v '^ *+' conftest.er1 >conftest.err
   10016   rm -f conftest.er1
   10017   cat conftest.err >&5
   10018   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10019   (exit $ac_status); } && {
   10020 	 test -z "$ac_c_werror_flag" ||
   10021 	 test ! -s conftest.err
   10022        } && test -s conftest$ac_exeext && {
   10023 	 test "$cross_compiling" = yes ||
   10024 	 $as_test_x conftest$ac_exeext
   10025        }; then
   10026   ac_cv_func_shl_load=yes
   10027 else
   10028   $as_echo "$as_me: failed program was:" >&5
   10029 sed 's/^/| /' conftest.$ac_ext >&5
   10030 
   10031 	ac_cv_func_shl_load=no
   10032 fi
   10033 
   10034 rm -rf conftest.dSYM
   10035 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   10036       conftest$ac_exeext conftest.$ac_ext
   10037 fi
   10038 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
   10039 $as_echo "$ac_cv_func_shl_load" >&6; }
   10040 if test "x$ac_cv_func_shl_load" = x""yes; then
   10041   lt_cv_dlopen="shl_load"
   10042 else
   10043   { $as_echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
   10044 $as_echo_n "checking for shl_load in -ldld... " >&6; }
   10045 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
   10046   $as_echo_n "(cached) " >&6
   10047 else
   10048   ac_check_lib_save_LIBS=$LIBS
   10049 LIBS="-ldld  $LIBS"
   10050 cat >conftest.$ac_ext <<_ACEOF
   10051 /* confdefs.h.  */
   10052 _ACEOF
   10053 cat confdefs.h >>conftest.$ac_ext
   10054 cat >>conftest.$ac_ext <<_ACEOF
   10055 /* end confdefs.h.  */
   10056 
   10057 /* Override any GCC internal prototype to avoid an error.
   10058    Use char because int might match the return type of a GCC
   10059    builtin and then its argument prototype would still apply.  */
   10060 #ifdef __cplusplus
   10061 extern "C"
   10062 #endif
   10063 char shl_load ();
   10064 int
   10065 main ()
   10066 {
   10067 return shl_load ();
   10068   ;
   10069   return 0;
   10070 }
   10071 _ACEOF
   10072 rm -f conftest.$ac_objext conftest$ac_exeext
   10073 if { (ac_try="$ac_link"
   10074 case "(($ac_try" in
   10075   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   10076   *) ac_try_echo=$ac_try;;
   10077 esac
   10078 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   10079 $as_echo "$ac_try_echo") >&5
   10080   (eval "$ac_link") 2>conftest.er1
   10081   ac_status=$?
   10082   grep -v '^ *+' conftest.er1 >conftest.err
   10083   rm -f conftest.er1
   10084   cat conftest.err >&5
   10085   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10086   (exit $ac_status); } && {
   10087 	 test -z "$ac_c_werror_flag" ||
   10088 	 test ! -s conftest.err
   10089        } && test -s conftest$ac_exeext && {
   10090 	 test "$cross_compiling" = yes ||
   10091 	 $as_test_x conftest$ac_exeext
   10092        }; then
   10093   ac_cv_lib_dld_shl_load=yes
   10094 else
   10095   $as_echo "$as_me: failed program was:" >&5
   10096 sed 's/^/| /' conftest.$ac_ext >&5
   10097 
   10098 	ac_cv_lib_dld_shl_load=no
   10099 fi
   10100 
   10101 rm -rf conftest.dSYM
   10102 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   10103       conftest$ac_exeext conftest.$ac_ext
   10104 LIBS=$ac_check_lib_save_LIBS
   10105 fi
   10106 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
   10107 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
   10108 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then
   10109   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
   10110 else
   10111   { $as_echo "$as_me:$LINENO: checking for dlopen" >&5
   10112 $as_echo_n "checking for dlopen... " >&6; }
   10113 if test "${ac_cv_func_dlopen+set}" = set; then
   10114   $as_echo_n "(cached) " >&6
   10115 else
   10116   cat >conftest.$ac_ext <<_ACEOF
   10117 /* confdefs.h.  */
   10118 _ACEOF
   10119 cat confdefs.h >>conftest.$ac_ext
   10120 cat >>conftest.$ac_ext <<_ACEOF
   10121 /* end confdefs.h.  */
   10122 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
   10123    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   10124 #define dlopen innocuous_dlopen
   10125 
   10126 /* System header to define __stub macros and hopefully few prototypes,
   10127     which can conflict with char dlopen (); below.
   10128     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   10129     <limits.h> exists even on freestanding compilers.  */
   10130 
   10131 #ifdef __STDC__
   10132 # include <limits.h>
   10133 #else
   10134 # include <assert.h>
   10135 #endif
   10136 
   10137 #undef dlopen
   10138 
   10139 /* Override any GCC internal prototype to avoid an error.
   10140    Use char because int might match the return type of a GCC
   10141    builtin and then its argument prototype would still apply.  */
   10142 #ifdef __cplusplus
   10143 extern "C"
   10144 #endif
   10145 char dlopen ();
   10146 /* The GNU C library defines this for functions which it implements
   10147     to always fail with ENOSYS.  Some functions are actually named
   10148     something starting with __ and the normal name is an alias.  */
   10149 #if defined __stub_dlopen || defined __stub___dlopen
   10150 choke me
   10151 #endif
   10152 
   10153 int
   10154 main ()
   10155 {
   10156 return dlopen ();
   10157   ;
   10158   return 0;
   10159 }
   10160 _ACEOF
   10161 rm -f conftest.$ac_objext conftest$ac_exeext
   10162 if { (ac_try="$ac_link"
   10163 case "(($ac_try" in
   10164   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   10165   *) ac_try_echo=$ac_try;;
   10166 esac
   10167 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   10168 $as_echo "$ac_try_echo") >&5
   10169   (eval "$ac_link") 2>conftest.er1
   10170   ac_status=$?
   10171   grep -v '^ *+' conftest.er1 >conftest.err
   10172   rm -f conftest.er1
   10173   cat conftest.err >&5
   10174   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10175   (exit $ac_status); } && {
   10176 	 test -z "$ac_c_werror_flag" ||
   10177 	 test ! -s conftest.err
   10178        } && test -s conftest$ac_exeext && {
   10179 	 test "$cross_compiling" = yes ||
   10180 	 $as_test_x conftest$ac_exeext
   10181        }; then
   10182   ac_cv_func_dlopen=yes
   10183 else
   10184   $as_echo "$as_me: failed program was:" >&5
   10185 sed 's/^/| /' conftest.$ac_ext >&5
   10186 
   10187 	ac_cv_func_dlopen=no
   10188 fi
   10189 
   10190 rm -rf conftest.dSYM
   10191 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   10192       conftest$ac_exeext conftest.$ac_ext
   10193 fi
   10194 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
   10195 $as_echo "$ac_cv_func_dlopen" >&6; }
   10196 if test "x$ac_cv_func_dlopen" = x""yes; then
   10197   lt_cv_dlopen="dlopen"
   10198 else
   10199   { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
   10200 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   10201 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
   10202   $as_echo_n "(cached) " >&6
   10203 else
   10204   ac_check_lib_save_LIBS=$LIBS
   10205 LIBS="-ldl  $LIBS"
   10206 cat >conftest.$ac_ext <<_ACEOF
   10207 /* confdefs.h.  */
   10208 _ACEOF
   10209 cat confdefs.h >>conftest.$ac_ext
   10210 cat >>conftest.$ac_ext <<_ACEOF
   10211 /* end confdefs.h.  */
   10212 
   10213 /* Override any GCC internal prototype to avoid an error.
   10214    Use char because int might match the return type of a GCC
   10215    builtin and then its argument prototype would still apply.  */
   10216 #ifdef __cplusplus
   10217 extern "C"
   10218 #endif
   10219 char dlopen ();
   10220 int
   10221 main ()
   10222 {
   10223 return dlopen ();
   10224   ;
   10225   return 0;
   10226 }
   10227 _ACEOF
   10228 rm -f conftest.$ac_objext conftest$ac_exeext
   10229 if { (ac_try="$ac_link"
   10230 case "(($ac_try" in
   10231   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   10232   *) ac_try_echo=$ac_try;;
   10233 esac
   10234 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   10235 $as_echo "$ac_try_echo") >&5
   10236   (eval "$ac_link") 2>conftest.er1
   10237   ac_status=$?
   10238   grep -v '^ *+' conftest.er1 >conftest.err
   10239   rm -f conftest.er1
   10240   cat conftest.err >&5
   10241   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10242   (exit $ac_status); } && {
   10243 	 test -z "$ac_c_werror_flag" ||
   10244 	 test ! -s conftest.err
   10245        } && test -s conftest$ac_exeext && {
   10246 	 test "$cross_compiling" = yes ||
   10247 	 $as_test_x conftest$ac_exeext
   10248        }; then
   10249   ac_cv_lib_dl_dlopen=yes
   10250 else
   10251   $as_echo "$as_me: failed program was:" >&5
   10252 sed 's/^/| /' conftest.$ac_ext >&5
   10253 
   10254 	ac_cv_lib_dl_dlopen=no
   10255 fi
   10256 
   10257 rm -rf conftest.dSYM
   10258 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   10259       conftest$ac_exeext conftest.$ac_ext
   10260 LIBS=$ac_check_lib_save_LIBS
   10261 fi
   10262 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
   10263 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   10264 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
   10265   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   10266 else
   10267   { $as_echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
   10268 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
   10269 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
   10270   $as_echo_n "(cached) " >&6
   10271 else
   10272   ac_check_lib_save_LIBS=$LIBS
   10273 LIBS="-lsvld  $LIBS"
   10274 cat >conftest.$ac_ext <<_ACEOF
   10275 /* confdefs.h.  */
   10276 _ACEOF
   10277 cat confdefs.h >>conftest.$ac_ext
   10278 cat >>conftest.$ac_ext <<_ACEOF
   10279 /* end confdefs.h.  */
   10280 
   10281 /* Override any GCC internal prototype to avoid an error.
   10282    Use char because int might match the return type of a GCC
   10283    builtin and then its argument prototype would still apply.  */
   10284 #ifdef __cplusplus
   10285 extern "C"
   10286 #endif
   10287 char dlopen ();
   10288 int
   10289 main ()
   10290 {
   10291 return dlopen ();
   10292   ;
   10293   return 0;
   10294 }
   10295 _ACEOF
   10296 rm -f conftest.$ac_objext conftest$ac_exeext
   10297 if { (ac_try="$ac_link"
   10298 case "(($ac_try" in
   10299   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   10300   *) ac_try_echo=$ac_try;;
   10301 esac
   10302 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   10303 $as_echo "$ac_try_echo") >&5
   10304   (eval "$ac_link") 2>conftest.er1
   10305   ac_status=$?
   10306   grep -v '^ *+' conftest.er1 >conftest.err
   10307   rm -f conftest.er1
   10308   cat conftest.err >&5
   10309   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10310   (exit $ac_status); } && {
   10311 	 test -z "$ac_c_werror_flag" ||
   10312 	 test ! -s conftest.err
   10313        } && test -s conftest$ac_exeext && {
   10314 	 test "$cross_compiling" = yes ||
   10315 	 $as_test_x conftest$ac_exeext
   10316        }; then
   10317   ac_cv_lib_svld_dlopen=yes
   10318 else
   10319   $as_echo "$as_me: failed program was:" >&5
   10320 sed 's/^/| /' conftest.$ac_ext >&5
   10321 
   10322 	ac_cv_lib_svld_dlopen=no
   10323 fi
   10324 
   10325 rm -rf conftest.dSYM
   10326 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   10327       conftest$ac_exeext conftest.$ac_ext
   10328 LIBS=$ac_check_lib_save_LIBS
   10329 fi
   10330 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
   10331 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
   10332 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then
   10333   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
   10334 else
   10335   { $as_echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
   10336 $as_echo_n "checking for dld_link in -ldld... " >&6; }
   10337 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
   10338   $as_echo_n "(cached) " >&6
   10339 else
   10340   ac_check_lib_save_LIBS=$LIBS
   10341 LIBS="-ldld  $LIBS"
   10342 cat >conftest.$ac_ext <<_ACEOF
   10343 /* confdefs.h.  */
   10344 _ACEOF
   10345 cat confdefs.h >>conftest.$ac_ext
   10346 cat >>conftest.$ac_ext <<_ACEOF
   10347 /* end confdefs.h.  */
   10348 
   10349 /* Override any GCC internal prototype to avoid an error.
   10350    Use char because int might match the return type of a GCC
   10351    builtin and then its argument prototype would still apply.  */
   10352 #ifdef __cplusplus
   10353 extern "C"
   10354 #endif
   10355 char dld_link ();
   10356 int
   10357 main ()
   10358 {
   10359 return dld_link ();
   10360   ;
   10361   return 0;
   10362 }
   10363 _ACEOF
   10364 rm -f conftest.$ac_objext conftest$ac_exeext
   10365 if { (ac_try="$ac_link"
   10366 case "(($ac_try" in
   10367   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   10368   *) ac_try_echo=$ac_try;;
   10369 esac
   10370 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   10371 $as_echo "$ac_try_echo") >&5
   10372   (eval "$ac_link") 2>conftest.er1
   10373   ac_status=$?
   10374   grep -v '^ *+' conftest.er1 >conftest.err
   10375   rm -f conftest.er1
   10376   cat conftest.err >&5
   10377   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10378   (exit $ac_status); } && {
   10379 	 test -z "$ac_c_werror_flag" ||
   10380 	 test ! -s conftest.err
   10381        } && test -s conftest$ac_exeext && {
   10382 	 test "$cross_compiling" = yes ||
   10383 	 $as_test_x conftest$ac_exeext
   10384        }; then
   10385   ac_cv_lib_dld_dld_link=yes
   10386 else
   10387   $as_echo "$as_me: failed program was:" >&5
   10388 sed 's/^/| /' conftest.$ac_ext >&5
   10389 
   10390 	ac_cv_lib_dld_dld_link=no
   10391 fi
   10392 
   10393 rm -rf conftest.dSYM
   10394 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   10395       conftest$ac_exeext conftest.$ac_ext
   10396 LIBS=$ac_check_lib_save_LIBS
   10397 fi
   10398 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
   10399 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
   10400 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then
   10401   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
   10402 fi
   10403 
   10404 
   10405 fi
   10406 
   10407 
   10408 fi
   10409 
   10410 
   10411 fi
   10412 
   10413 
   10414 fi
   10415 
   10416 
   10417 fi
   10418 
   10419     ;;
   10420   esac
   10421 
   10422   if test "x$lt_cv_dlopen" != xno; then
   10423     enable_dlopen=yes
   10424   else
   10425     enable_dlopen=no
   10426   fi
   10427 
   10428   case $lt_cv_dlopen in
   10429   dlopen)
   10430     save_CPPFLAGS="$CPPFLAGS"
   10431     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
   10432 
   10433     save_LDFLAGS="$LDFLAGS"
   10434     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
   10435 
   10436     save_LIBS="$LIBS"
   10437     LIBS="$lt_cv_dlopen_libs $LIBS"
   10438 
   10439     { $as_echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
   10440 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
   10441 if test "${lt_cv_dlopen_self+set}" = set; then
   10442   $as_echo_n "(cached) " >&6
   10443 else
   10444   	  if test "$cross_compiling" = yes; then :
   10445   lt_cv_dlopen_self=cross
   10446 else
   10447   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   10448   lt_status=$lt_dlunknown
   10449   cat > conftest.$ac_ext <<EOF
   10450 #line 10450 "configure"
   10451 #include "confdefs.h"
   10452 
   10453 #if HAVE_DLFCN_H
   10454 #include <dlfcn.h>
   10455 #endif
   10456 
   10457 #include <stdio.h>
   10458 
   10459 #ifdef RTLD_GLOBAL
   10460 #  define LT_DLGLOBAL		RTLD_GLOBAL
   10461 #else
   10462 #  ifdef DL_GLOBAL
   10463 #    define LT_DLGLOBAL		DL_GLOBAL
   10464 #  else
   10465 #    define LT_DLGLOBAL		0
   10466 #  endif
   10467 #endif
   10468 
   10469 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   10470    find out it does not work in some platform. */
   10471 #ifndef LT_DLLAZY_OR_NOW
   10472 #  ifdef RTLD_LAZY
   10473 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   10474 #  else
   10475 #    ifdef DL_LAZY
   10476 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   10477 #    else
   10478 #      ifdef RTLD_NOW
   10479 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   10480 #      else
   10481 #        ifdef DL_NOW
   10482 #          define LT_DLLAZY_OR_NOW	DL_NOW
   10483 #        else
   10484 #          define LT_DLLAZY_OR_NOW	0
   10485 #        endif
   10486 #      endif
   10487 #    endif
   10488 #  endif
   10489 #endif
   10490 
   10491 #ifdef __cplusplus
   10492 extern "C" void exit (int);
   10493 #endif
   10494 
   10495 void fnord() { int i=42;}
   10496 int main ()
   10497 {
   10498   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   10499   int status = $lt_dlunknown;
   10500 
   10501   if (self)
   10502     {
   10503       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   10504       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
   10505       /* dlclose (self); */
   10506     }
   10507   else
   10508     puts (dlerror ());
   10509 
   10510     exit (status);
   10511 }
   10512 EOF
   10513   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   10514   (eval $ac_link) 2>&5
   10515   ac_status=$?
   10516   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10517   (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
   10518     (./conftest; exit; ) >&5 2>/dev/null
   10519     lt_status=$?
   10520     case x$lt_status in
   10521       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
   10522       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
   10523       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
   10524     esac
   10525   else :
   10526     # compilation failed
   10527     lt_cv_dlopen_self=no
   10528   fi
   10529 fi
   10530 rm -fr conftest*
   10531 
   10532 
   10533 fi
   10534 { $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
   10535 $as_echo "$lt_cv_dlopen_self" >&6; }
   10536 
   10537     if test "x$lt_cv_dlopen_self" = xyes; then
   10538       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
   10539       { $as_echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
   10540 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
   10541 if test "${lt_cv_dlopen_self_static+set}" = set; then
   10542   $as_echo_n "(cached) " >&6
   10543 else
   10544   	  if test "$cross_compiling" = yes; then :
   10545   lt_cv_dlopen_self_static=cross
   10546 else
   10547   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   10548   lt_status=$lt_dlunknown
   10549   cat > conftest.$ac_ext <<EOF
   10550 #line 10550 "configure"
   10551 #include "confdefs.h"
   10552 
   10553 #if HAVE_DLFCN_H
   10554 #include <dlfcn.h>
   10555 #endif
   10556 
   10557 #include <stdio.h>
   10558 
   10559 #ifdef RTLD_GLOBAL
   10560 #  define LT_DLGLOBAL		RTLD_GLOBAL
   10561 #else
   10562 #  ifdef DL_GLOBAL
   10563 #    define LT_DLGLOBAL		DL_GLOBAL
   10564 #  else
   10565 #    define LT_DLGLOBAL		0
   10566 #  endif
   10567 #endif
   10568 
   10569 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   10570    find out it does not work in some platform. */
   10571 #ifndef LT_DLLAZY_OR_NOW
   10572 #  ifdef RTLD_LAZY
   10573 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   10574 #  else
   10575 #    ifdef DL_LAZY
   10576 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   10577 #    else
   10578 #      ifdef RTLD_NOW
   10579 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   10580 #      else
   10581 #        ifdef DL_NOW
   10582 #          define LT_DLLAZY_OR_NOW	DL_NOW
   10583 #        else
   10584 #          define LT_DLLAZY_OR_NOW	0
   10585 #        endif
   10586 #      endif
   10587 #    endif
   10588 #  endif
   10589 #endif
   10590 
   10591 #ifdef __cplusplus
   10592 extern "C" void exit (int);
   10593 #endif
   10594 
   10595 void fnord() { int i=42;}
   10596 int main ()
   10597 {
   10598   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   10599   int status = $lt_dlunknown;
   10600 
   10601   if (self)
   10602     {
   10603       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   10604       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
   10605       /* dlclose (self); */
   10606     }
   10607   else
   10608     puts (dlerror ());
   10609 
   10610     exit (status);
   10611 }
   10612 EOF
   10613   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   10614   (eval $ac_link) 2>&5
   10615   ac_status=$?
   10616   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10617   (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
   10618     (./conftest; exit; ) >&5 2>/dev/null
   10619     lt_status=$?
   10620     case x$lt_status in
   10621       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
   10622       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
   10623       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
   10624     esac
   10625   else :
   10626     # compilation failed
   10627     lt_cv_dlopen_self_static=no
   10628   fi
   10629 fi
   10630 rm -fr conftest*
   10631 
   10632 
   10633 fi
   10634 { $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
   10635 $as_echo "$lt_cv_dlopen_self_static" >&6; }
   10636     fi
   10637 
   10638     CPPFLAGS="$save_CPPFLAGS"
   10639     LDFLAGS="$save_LDFLAGS"
   10640     LIBS="$save_LIBS"
   10641     ;;
   10642   esac
   10643 
   10644   case $lt_cv_dlopen_self in
   10645   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
   10646   *) enable_dlopen_self=unknown ;;
   10647   esac
   10648 
   10649   case $lt_cv_dlopen_self_static in
   10650   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
   10651   *) enable_dlopen_self_static=unknown ;;
   10652   esac
   10653 fi
   10654 
   10655 
   10656 # Report which library types will actually be built
   10657 { $as_echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
   10658 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
   10659 { $as_echo "$as_me:$LINENO: result: $can_build_shared" >&5
   10660 $as_echo "$can_build_shared" >&6; }
   10661 
   10662 { $as_echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
   10663 $as_echo_n "checking whether to build shared libraries... " >&6; }
   10664 test "$can_build_shared" = "no" && enable_shared=no
   10665 
   10666 # On AIX, shared libraries and static libraries use the same namespace, and
   10667 # are all built from PIC.
   10668 case $host_os in
   10669 aix3*)
   10670   test "$enable_shared" = yes && enable_static=no
   10671   if test -n "$RANLIB"; then
   10672     archive_cmds="$archive_cmds~\$RANLIB \$lib"
   10673     postinstall_cmds='$RANLIB $lib'
   10674   fi
   10675   ;;
   10676 
   10677 aix[4-9]*)
   10678   if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
   10679     test "$enable_shared" = yes && enable_static=no
   10680   fi
   10681     ;;
   10682 esac
   10683 { $as_echo "$as_me:$LINENO: result: $enable_shared" >&5
   10684 $as_echo "$enable_shared" >&6; }
   10685 
   10686 { $as_echo "$as_me:$LINENO: checking whether to build static libraries" >&5
   10687 $as_echo_n "checking whether to build static libraries... " >&6; }
   10688 # Make sure either enable_shared or enable_static is yes.
   10689 test "$enable_shared" = yes || enable_static=yes
   10690 { $as_echo "$as_me:$LINENO: result: $enable_static" >&5
   10691 $as_echo "$enable_static" >&6; }
   10692 
   10693 # The else clause should only fire when bootstrapping the
   10694 # libtool distribution, otherwise you forgot to ship ltmain.sh
   10695 # with your package, and you will get complaints that there are
   10696 # no rules to generate ltmain.sh.
   10697 if test -f "$ltmain"; then
   10698   # See if we are running on zsh, and set the options which allow our commands through
   10699   # without removal of \ escapes.
   10700   if test -n "${ZSH_VERSION+set}" ; then
   10701     setopt NO_GLOB_SUBST
   10702   fi
   10703   # Now quote all the things that may contain metacharacters while being
   10704   # careful not to overquote the AC_SUBSTed values.  We take copies of the
   10705   # variables and quote the copies for generation of the libtool script.
   10706   for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
   10707     SED SHELL STRIP \
   10708     libname_spec library_names_spec soname_spec extract_expsyms_cmds \
   10709     old_striplib striplib file_magic_cmd finish_cmds finish_eval \
   10710     deplibs_check_method reload_flag reload_cmds need_locks \
   10711     lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
   10712     lt_cv_sys_global_symbol_to_c_name_address \
   10713     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
   10714     old_postinstall_cmds old_postuninstall_cmds \
   10715     compiler \
   10716     CC \
   10717     LD \
   10718     lt_prog_compiler_wl \
   10719     lt_prog_compiler_pic \
   10720     lt_prog_compiler_static \
   10721     lt_prog_compiler_no_builtin_flag \
   10722     export_dynamic_flag_spec \
   10723     thread_safe_flag_spec \
   10724     whole_archive_flag_spec \
   10725     enable_shared_with_static_runtimes \
   10726     old_archive_cmds \
   10727     old_archive_from_new_cmds \
   10728     predep_objects \
   10729     postdep_objects \
   10730     predeps \
   10731     postdeps \
   10732     compiler_lib_search_path \
   10733     compiler_lib_search_dirs \
   10734     archive_cmds \
   10735     archive_expsym_cmds \
   10736     postinstall_cmds \
   10737     postuninstall_cmds \
   10738     old_archive_from_expsyms_cmds \
   10739     allow_undefined_flag \
   10740     no_undefined_flag \
   10741     export_symbols_cmds \
   10742     hardcode_libdir_flag_spec \
   10743     hardcode_libdir_flag_spec_ld \
   10744     hardcode_libdir_separator \
   10745     hardcode_automatic \
   10746     module_cmds \
   10747     module_expsym_cmds \
   10748     lt_cv_prog_compiler_c_o \
   10749     fix_srcfile_path \
   10750     exclude_expsyms \
   10751     include_expsyms; do
   10752 
   10753     case $var in
   10754     old_archive_cmds | \
   10755     old_archive_from_new_cmds | \
   10756     archive_cmds | \
   10757     archive_expsym_cmds | \
   10758     module_cmds | \
   10759     module_expsym_cmds | \
   10760     old_archive_from_expsyms_cmds | \
   10761     export_symbols_cmds | \
   10762     extract_expsyms_cmds | reload_cmds | finish_cmds | \
   10763     postinstall_cmds | postuninstall_cmds | \
   10764     old_postinstall_cmds | old_postuninstall_cmds | \
   10765     sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
   10766       # Double-quote double-evaled strings.
   10767       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
   10768       ;;
   10769     *)
   10770       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
   10771       ;;
   10772     esac
   10773   done
   10774 
   10775   case $lt_echo in
   10776   *'\$0 --fallback-echo"')
   10777     lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
   10778     ;;
   10779   esac
   10780 
   10781 cfgfile="${ofile}T"
   10782   trap "$rm \"$cfgfile\"; exit 1" 1 2 15
   10783   $rm -f "$cfgfile"
   10784   { $as_echo "$as_me:$LINENO: creating $ofile" >&5
   10785 $as_echo "$as_me: creating $ofile" >&6;}
   10786 
   10787   cat <<__EOF__ >> "$cfgfile"
   10788 #! $SHELL
   10789 
   10790 # `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
   10791 # Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
   10792 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
   10793 #
   10794 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008
   10795 # Free Software Foundation, Inc.
   10796 #
   10797 # This file is part of GNU Libtool:
   10798 # Originally by Gordon Matzigkeit <gord (at] gnu.ai.mit.edu>, 1996
   10799 #
   10800 # This program is free software; you can redistribute it and/or modify
   10801 # it under the terms of the GNU General Public License as published by
   10802 # the Free Software Foundation; either version 2 of the License, or
   10803 # (at your option) any later version.
   10804 #
   10805 # This program is distributed in the hope that it will be useful, but
   10806 # WITHOUT ANY WARRANTY; without even the implied warranty of
   10807 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
   10808 # General Public License for more details.
   10809 #
   10810 # You should have received a copy of the GNU General Public License
   10811 # along with this program; if not, write to the Free Software
   10812 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
   10813 #
   10814 # As a special exception to the GNU General Public License, if you
   10815 # distribute this file as part of a program that contains a
   10816 # configuration script generated by Autoconf, you may include it under
   10817 # the same distribution terms that you use for the rest of that program.
   10818 
   10819 # A sed program that does not truncate output.
   10820 SED=$lt_SED
   10821 
   10822 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
   10823 Xsed="$SED -e 1s/^X//"
   10824 
   10825 # The HP-UX ksh and POSIX shell print the target directory to stdout
   10826 # if CDPATH is set.
   10827 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   10828 
   10829 # The names of the tagged configurations supported by this script.
   10830 available_tags=
   10831 
   10832 # ### BEGIN LIBTOOL CONFIG
   10833 
   10834 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   10835 
   10836 # Shell to use when invoking shell scripts.
   10837 SHELL=$lt_SHELL
   10838 
   10839 # Whether or not to build shared libraries.
   10840 build_libtool_libs=$enable_shared
   10841 
   10842 # Whether or not to build static libraries.
   10843 build_old_libs=$enable_static
   10844 
   10845 # Whether or not to add -lc for building shared libraries.
   10846 build_libtool_need_lc=$archive_cmds_need_lc
   10847 
   10848 # Whether or not to disallow shared libs when runtime libs are static
   10849 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
   10850 
   10851 # Whether or not to optimize for fast installation.
   10852 fast_install=$enable_fast_install
   10853 
   10854 # The host system.
   10855 host_alias=$host_alias
   10856 host=$host
   10857 host_os=$host_os
   10858 
   10859 # The build system.
   10860 build_alias=$build_alias
   10861 build=$build
   10862 build_os=$build_os
   10863 
   10864 # An echo program that does not interpret backslashes.
   10865 echo=$lt_echo
   10866 
   10867 # The archiver.
   10868 AR=$lt_AR
   10869 AR_FLAGS=$lt_AR_FLAGS
   10870 
   10871 # A C compiler.
   10872 LTCC=$lt_LTCC
   10873 
   10874 # LTCC compiler flags.
   10875 LTCFLAGS=$lt_LTCFLAGS
   10876 
   10877 # A language-specific compiler.
   10878 CC=$lt_compiler
   10879 
   10880 # Is the compiler the GNU C compiler?
   10881 with_gcc=$GCC
   10882 
   10883 # An ERE matcher.
   10884 EGREP=$lt_EGREP
   10885 
   10886 # The linker used to build libraries.
   10887 LD=$lt_LD
   10888 
   10889 # Whether we need hard or soft links.
   10890 LN_S=$lt_LN_S
   10891 
   10892 # A BSD-compatible nm program.
   10893 NM=$lt_NM
   10894 
   10895 # A symbol stripping program
   10896 STRIP=$lt_STRIP
   10897 
   10898 # Used to examine libraries when file_magic_cmd begins "file"
   10899 MAGIC_CMD=$MAGIC_CMD
   10900 
   10901 # Used on cygwin: DLL creation program.
   10902 DLLTOOL="$DLLTOOL"
   10903 
   10904 # Used on cygwin: object dumper.
   10905 OBJDUMP="$OBJDUMP"
   10906 
   10907 # Used on cygwin: assembler.
   10908 AS="$AS"
   10909 
   10910 # The name of the directory that contains temporary libtool files.
   10911 objdir=$objdir
   10912 
   10913 # How to create reloadable object files.
   10914 reload_flag=$lt_reload_flag
   10915 reload_cmds=$lt_reload_cmds
   10916 
   10917 # How to pass a linker flag through the compiler.
   10918 wl=$lt_lt_prog_compiler_wl
   10919 
   10920 # Object file suffix (normally "o").
   10921 objext="$ac_objext"
   10922 
   10923 # Old archive suffix (normally "a").
   10924 libext="$libext"
   10925 
   10926 # Shared library suffix (normally ".so").
   10927 shrext_cmds='$shrext_cmds'
   10928 
   10929 # Executable file suffix (normally "").
   10930 exeext="$exeext"
   10931 
   10932 # Additional compiler flags for building library objects.
   10933 pic_flag=$lt_lt_prog_compiler_pic
   10934 pic_mode=$pic_mode
   10935 
   10936 # What is the maximum length of a command?
   10937 max_cmd_len=$lt_cv_sys_max_cmd_len
   10938 
   10939 # Does compiler simultaneously support -c and -o options?
   10940 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
   10941 
   10942 # Must we lock files when doing compilation?
   10943 need_locks=$lt_need_locks
   10944 
   10945 # Do we need the lib prefix for modules?
   10946 need_lib_prefix=$need_lib_prefix
   10947 
   10948 # Do we need a version for libraries?
   10949 need_version=$need_version
   10950 
   10951 # Whether dlopen is supported.
   10952 dlopen_support=$enable_dlopen
   10953 
   10954 # Whether dlopen of programs is supported.
   10955 dlopen_self=$enable_dlopen_self
   10956 
   10957 # Whether dlopen of statically linked programs is supported.
   10958 dlopen_self_static=$enable_dlopen_self_static
   10959 
   10960 # Compiler flag to prevent dynamic linking.
   10961 link_static_flag=$lt_lt_prog_compiler_static
   10962 
   10963 # Compiler flag to turn off builtin functions.
   10964 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
   10965 
   10966 # Compiler flag to allow reflexive dlopens.
   10967 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
   10968 
   10969 # Compiler flag to generate shared objects directly from archives.
   10970 whole_archive_flag_spec=$lt_whole_archive_flag_spec
   10971 
   10972 # Compiler flag to generate thread-safe objects.
   10973 thread_safe_flag_spec=$lt_thread_safe_flag_spec
   10974 
   10975 # Library versioning type.
   10976 version_type=$version_type
   10977 
   10978 # Format of library name prefix.
   10979 libname_spec=$lt_libname_spec
   10980 
   10981 # List of archive names.  First name is the real one, the rest are links.
   10982 # The last name is the one that the linker finds with -lNAME.
   10983 library_names_spec=$lt_library_names_spec
   10984 
   10985 # The coded name of the library, if different from the real name.
   10986 soname_spec=$lt_soname_spec
   10987 
   10988 # Commands used to build and install an old-style archive.
   10989 RANLIB=$lt_RANLIB
   10990 old_archive_cmds=$lt_old_archive_cmds
   10991 old_postinstall_cmds=$lt_old_postinstall_cmds
   10992 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   10993 
   10994 # Create an old-style archive from a shared archive.
   10995 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
   10996 
   10997 # Create a temporary old-style archive to link instead of a shared archive.
   10998 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
   10999 
   11000 # Commands used to build and install a shared archive.
   11001 archive_cmds=$lt_archive_cmds
   11002 archive_expsym_cmds=$lt_archive_expsym_cmds
   11003 postinstall_cmds=$lt_postinstall_cmds
   11004 postuninstall_cmds=$lt_postuninstall_cmds
   11005 
   11006 # Commands used to build a loadable module (assumed same as above if empty)
   11007 module_cmds=$lt_module_cmds
   11008 module_expsym_cmds=$lt_module_expsym_cmds
   11009 
   11010 # Commands to strip libraries.
   11011 old_striplib=$lt_old_striplib
   11012 striplib=$lt_striplib
   11013 
   11014 # Dependencies to place before the objects being linked to create a
   11015 # shared library.
   11016 predep_objects=$lt_predep_objects
   11017 
   11018 # Dependencies to place after the objects being linked to create a
   11019 # shared library.
   11020 postdep_objects=$lt_postdep_objects
   11021 
   11022 # Dependencies to place before the objects being linked to create a
   11023 # shared library.
   11024 predeps=$lt_predeps
   11025 
   11026 # Dependencies to place after the objects being linked to create a
   11027 # shared library.
   11028 postdeps=$lt_postdeps
   11029 
   11030 # The directories searched by this compiler when creating a shared
   11031 # library
   11032 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
   11033 
   11034 # The library search path used internally by the compiler when linking
   11035 # a shared library.
   11036 compiler_lib_search_path=$lt_compiler_lib_search_path
   11037 
   11038 # Method to check whether dependent libraries are shared objects.
   11039 deplibs_check_method=$lt_deplibs_check_method
   11040 
   11041 # Command to use when deplibs_check_method == file_magic.
   11042 file_magic_cmd=$lt_file_magic_cmd
   11043 
   11044 # Flag that allows shared libraries with undefined symbols to be built.
   11045 allow_undefined_flag=$lt_allow_undefined_flag
   11046 
   11047 # Flag that forces no undefined symbols.
   11048 no_undefined_flag=$lt_no_undefined_flag
   11049 
   11050 # Commands used to finish a libtool library installation in a directory.
   11051 finish_cmds=$lt_finish_cmds
   11052 
   11053 # Same as above, but a single script fragment to be evaled but not shown.
   11054 finish_eval=$lt_finish_eval
   11055 
   11056 # Take the output of nm and produce a listing of raw symbols and C names.
   11057 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   11058 
   11059 # Transform the output of nm in a proper C declaration
   11060 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   11061 
   11062 # Transform the output of nm in a C name address pair
   11063 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   11064 
   11065 # This is the shared library runtime path variable.
   11066 runpath_var=$runpath_var
   11067 
   11068 # This is the shared library path variable.
   11069 shlibpath_var=$shlibpath_var
   11070 
   11071 # Is shlibpath searched before the hard-coded library search path?
   11072 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   11073 
   11074 # How to hardcode a shared library path into an executable.
   11075 hardcode_action=$hardcode_action
   11076 
   11077 # Whether we should hardcode library paths into libraries.
   11078 hardcode_into_libs=$hardcode_into_libs
   11079 
   11080 # Flag to hardcode \$libdir into a binary during linking.
   11081 # This must work even if \$libdir does not exist.
   11082 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
   11083 
   11084 # If ld is used when linking, flag to hardcode \$libdir into
   11085 # a binary during linking. This must work even if \$libdir does
   11086 # not exist.
   11087 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
   11088 
   11089 # Whether we need a single -rpath flag with a separated argument.
   11090 hardcode_libdir_separator=$lt_hardcode_libdir_separator
   11091 
   11092 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
   11093 # resulting binary.
   11094 hardcode_direct=$hardcode_direct
   11095 
   11096 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
   11097 # resulting binary.
   11098 hardcode_minus_L=$hardcode_minus_L
   11099 
   11100 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
   11101 # the resulting binary.
   11102 hardcode_shlibpath_var=$hardcode_shlibpath_var
   11103 
   11104 # Set to yes if building a shared library automatically hardcodes DIR into the library
   11105 # and all subsequent libraries and executables linked against it.
   11106 hardcode_automatic=$hardcode_automatic
   11107 
   11108 # Variables whose values should be saved in libtool wrapper scripts and
   11109 # restored at relink time.
   11110 variables_saved_for_relink="$variables_saved_for_relink"
   11111 
   11112 # Whether libtool must link a program against all its dependency libraries.
   11113 link_all_deplibs=$link_all_deplibs
   11114 
   11115 # Compile-time system search path for libraries
   11116 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   11117 
   11118 # Run-time system search path for libraries
   11119 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   11120 
   11121 # Fix the shell variable \$srcfile for the compiler.
   11122 fix_srcfile_path=$lt_fix_srcfile_path
   11123 
   11124 # Set to yes if exported symbols are required.
   11125 always_export_symbols=$always_export_symbols
   11126 
   11127 # The commands to list exported symbols.
   11128 export_symbols_cmds=$lt_export_symbols_cmds
   11129 
   11130 # The commands to extract the exported symbol list from a shared archive.
   11131 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   11132 
   11133 # Symbols that should not be listed in the preloaded symbols.
   11134 exclude_expsyms=$lt_exclude_expsyms
   11135 
   11136 # Symbols that must always be exported.
   11137 include_expsyms=$lt_include_expsyms
   11138 
   11139 # ### END LIBTOOL CONFIG
   11140 
   11141 __EOF__
   11142 
   11143 
   11144   case $host_os in
   11145   aix3*)
   11146     cat <<\EOF >> "$cfgfile"
   11147 
   11148 # AIX sometimes has problems with the GCC collect2 program.  For some
   11149 # reason, if we set the COLLECT_NAMES environment variable, the problems
   11150 # vanish in a puff of smoke.
   11151 if test "X${COLLECT_NAMES+set}" != Xset; then
   11152   COLLECT_NAMES=
   11153   export COLLECT_NAMES
   11154 fi
   11155 EOF
   11156     ;;
   11157   esac
   11158 
   11159   # We use sed instead of cat because bash on DJGPP gets confused if
   11160   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
   11161   # text mode, it properly converts lines to CR/LF.  This bash problem
   11162   # is reportedly fixed, but why not run on old versions too?
   11163   sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
   11164 
   11165   mv -f "$cfgfile" "$ofile" || \
   11166     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
   11167   chmod +x "$ofile"
   11168 
   11169 else
   11170   # If there is no Makefile yet, we rely on a make rule to execute
   11171   # `config.status --recheck' to rerun these tests and create the
   11172   # libtool script then.
   11173   ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
   11174   if test -f "$ltmain_in"; then
   11175     test -f Makefile && make "$ltmain"
   11176   fi
   11177 fi
   11178 
   11179 
   11180 ac_ext=c
   11181 ac_cpp='$CPP $CPPFLAGS'
   11182 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   11183 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   11184 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   11185 
   11186 CC="$lt_save_CC"
   11187 
   11188 
   11189 # Check whether --with-tags was given.
   11190 if test "${with_tags+set}" = set; then
   11191   withval=$with_tags; tagnames="$withval"
   11192 fi
   11193 
   11194 
   11195 if test -f "$ltmain" && test -n "$tagnames"; then
   11196   if test ! -f "${ofile}"; then
   11197     { $as_echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist" >&5
   11198 $as_echo "$as_me: WARNING: output file \`$ofile' does not exist" >&2;}
   11199   fi
   11200 
   11201   if test -z "$LTCC"; then
   11202     eval "`$SHELL ${ofile} --config | grep '^LTCC='`"
   11203     if test -z "$LTCC"; then
   11204       { $as_echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
   11205 $as_echo "$as_me: WARNING: output file \`$ofile' does not look like a libtool script" >&2;}
   11206     else
   11207       { $as_echo "$as_me:$LINENO: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&5
   11208 $as_echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;}
   11209     fi
   11210   fi
   11211   if test -z "$LTCFLAGS"; then
   11212     eval "`$SHELL ${ofile} --config | grep '^LTCFLAGS='`"
   11213   fi
   11214 
   11215   # Extract list of available tagged configurations in $ofile.
   11216   # Note that this assumes the entire list is on one line.
   11217   available_tags=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
   11218 
   11219   lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   11220   for tagname in $tagnames; do
   11221     IFS="$lt_save_ifs"
   11222     # Check whether tagname contains only valid characters
   11223     case `$echo "X$tagname" | $Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
   11224     "") ;;
   11225     *)  { { $as_echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
   11226 $as_echo "$as_me: error: invalid tag name: $tagname" >&2;}
   11227    { (exit 1); exit 1; }; }
   11228 	;;
   11229     esac
   11230 
   11231     if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
   11232     then
   11233       { { $as_echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
   11234 $as_echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
   11235    { (exit 1); exit 1; }; }
   11236     fi
   11237 
   11238     # Update the list of available tags.
   11239     if test -n "$tagname"; then
   11240       echo appending configuration tag \"$tagname\" to $ofile
   11241 
   11242       case $tagname in
   11243       CXX)
   11244 	if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
   11245 	    ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
   11246 	    (test "X$CXX" != "Xg++"))) ; then
   11247 	  ac_ext=cpp
   11248 ac_cpp='$CXXCPP $CPPFLAGS'
   11249 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   11250 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   11251 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   11252 
   11253 
   11254 
   11255 
   11256 archive_cmds_need_lc_CXX=no
   11257 allow_undefined_flag_CXX=
   11258 always_export_symbols_CXX=no
   11259 archive_expsym_cmds_CXX=
   11260 export_dynamic_flag_spec_CXX=
   11261 hardcode_direct_CXX=no
   11262 hardcode_libdir_flag_spec_CXX=
   11263 hardcode_libdir_flag_spec_ld_CXX=
   11264 hardcode_libdir_separator_CXX=
   11265 hardcode_minus_L_CXX=no
   11266 hardcode_shlibpath_var_CXX=unsupported
   11267 hardcode_automatic_CXX=no
   11268 module_cmds_CXX=
   11269 module_expsym_cmds_CXX=
   11270 link_all_deplibs_CXX=unknown
   11271 old_archive_cmds_CXX=$old_archive_cmds
   11272 no_undefined_flag_CXX=
   11273 whole_archive_flag_spec_CXX=
   11274 enable_shared_with_static_runtimes_CXX=no
   11275 
   11276 # Dependencies to place before and after the object being linked:
   11277 predep_objects_CXX=
   11278 postdep_objects_CXX=
   11279 predeps_CXX=
   11280 postdeps_CXX=
   11281 compiler_lib_search_path_CXX=
   11282 compiler_lib_search_dirs_CXX=
   11283 
   11284 # Source file extension for C++ test sources.
   11285 ac_ext=cpp
   11286 
   11287 # Object file extension for compiled C++ test sources.
   11288 objext=o
   11289 objext_CXX=$objext
   11290 
   11291 # Code to be used in simple compile tests
   11292 lt_simple_compile_test_code="int some_variable = 0;"
   11293 
   11294 # Code to be used in simple link tests
   11295 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
   11296 
   11297 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
   11298 
   11299 # If no C compiler was specified, use CC.
   11300 LTCC=${LTCC-"$CC"}
   11301 
   11302 # If no C compiler flags were specified, use CFLAGS.
   11303 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   11304 
   11305 # Allow CC to be a program name with arguments.
   11306 compiler=$CC
   11307 
   11308 
   11309 # save warnings/boilerplate of simple test code
   11310 ac_outfile=conftest.$ac_objext
   11311 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   11312 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   11313 _lt_compiler_boilerplate=`cat conftest.err`
   11314 $rm conftest*
   11315 
   11316 ac_outfile=conftest.$ac_objext
   11317 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   11318 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   11319 _lt_linker_boilerplate=`cat conftest.err`
   11320 $rm -r conftest*
   11321 
   11322 
   11323 # Allow CC to be a program name with arguments.
   11324 lt_save_CC=$CC
   11325 lt_save_LD=$LD
   11326 lt_save_GCC=$GCC
   11327 GCC=$GXX
   11328 lt_save_with_gnu_ld=$with_gnu_ld
   11329 lt_save_path_LD=$lt_cv_path_LD
   11330 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
   11331   lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
   11332 else
   11333   $as_unset lt_cv_prog_gnu_ld
   11334 fi
   11335 if test -n "${lt_cv_path_LDCXX+set}"; then
   11336   lt_cv_path_LD=$lt_cv_path_LDCXX
   11337 else
   11338   $as_unset lt_cv_path_LD
   11339 fi
   11340 test -z "${LDCXX+set}" || LD=$LDCXX
   11341 CC=${CXX-"c++"}
   11342 compiler=$CC
   11343 compiler_CXX=$CC
   11344 for cc_temp in $compiler""; do
   11345   case $cc_temp in
   11346     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   11347     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   11348     \-*) ;;
   11349     *) break;;
   11350   esac
   11351 done
   11352 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   11353 
   11354 
   11355 # We don't want -fno-exception wen compiling C++ code, so set the
   11356 # no_builtin_flag separately
   11357 if test "$GXX" = yes; then
   11358   lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
   11359 else
   11360   lt_prog_compiler_no_builtin_flag_CXX=
   11361 fi
   11362 
   11363 if test "$GXX" = yes; then
   11364   # Set up default GNU C++ configuration
   11365 
   11366 
   11367 # Check whether --with-gnu-ld was given.
   11368 if test "${with_gnu_ld+set}" = set; then
   11369   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
   11370 else
   11371   with_gnu_ld=no
   11372 fi
   11373 
   11374 ac_prog=ld
   11375 if test "$GCC" = yes; then
   11376   # Check if gcc -print-prog-name=ld gives a path.
   11377   { $as_echo "$as_me:$LINENO: checking for ld used by $CC" >&5
   11378 $as_echo_n "checking for ld used by $CC... " >&6; }
   11379   case $host in
   11380   *-*-mingw*)
   11381     # gcc leaves a trailing carriage return which upsets mingw
   11382     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   11383   *)
   11384     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   11385   esac
   11386   case $ac_prog in
   11387     # Accept absolute paths.
   11388     [\\/]* | ?:[\\/]*)
   11389       re_direlt='/[^/][^/]*/\.\./'
   11390       # Canonicalize the pathname of ld
   11391       ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
   11392       while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
   11393 	ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
   11394       done
   11395       test -z "$LD" && LD="$ac_prog"
   11396       ;;
   11397   "")
   11398     # If it fails, then pretend we aren't using GCC.
   11399     ac_prog=ld
   11400     ;;
   11401   *)
   11402     # If it is relative, then search for the first ld in PATH.
   11403     with_gnu_ld=unknown
   11404     ;;
   11405   esac
   11406 elif test "$with_gnu_ld" = yes; then
   11407   { $as_echo "$as_me:$LINENO: checking for GNU ld" >&5
   11408 $as_echo_n "checking for GNU ld... " >&6; }
   11409 else
   11410   { $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5
   11411 $as_echo_n "checking for non-GNU ld... " >&6; }
   11412 fi
   11413 if test "${lt_cv_path_LD+set}" = set; then
   11414   $as_echo_n "(cached) " >&6
   11415 else
   11416   if test -z "$LD"; then
   11417   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   11418   for ac_dir in $PATH; do
   11419     IFS="$lt_save_ifs"
   11420     test -z "$ac_dir" && ac_dir=.
   11421     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   11422       lt_cv_path_LD="$ac_dir/$ac_prog"
   11423       # Check to see if the program is GNU ld.  I'd rather use --version,
   11424       # but apparently some variants of GNU ld only accept -v.
   11425       # Break only if it was the GNU/non-GNU ld that we prefer.
   11426       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   11427       *GNU* | *'with BFD'*)
   11428 	test "$with_gnu_ld" != no && break
   11429 	;;
   11430       *)
   11431 	test "$with_gnu_ld" != yes && break
   11432 	;;
   11433       esac
   11434     fi
   11435   done
   11436   IFS="$lt_save_ifs"
   11437 else
   11438   lt_cv_path_LD="$LD" # Let the user override the test with a path.
   11439 fi
   11440 fi
   11441 
   11442 LD="$lt_cv_path_LD"
   11443 if test -n "$LD"; then
   11444   { $as_echo "$as_me:$LINENO: result: $LD" >&5
   11445 $as_echo "$LD" >&6; }
   11446 else
   11447   { $as_echo "$as_me:$LINENO: result: no" >&5
   11448 $as_echo "no" >&6; }
   11449 fi
   11450 test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
   11451 $as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
   11452    { (exit 1); exit 1; }; }
   11453 { $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
   11454 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
   11455 if test "${lt_cv_prog_gnu_ld+set}" = set; then
   11456   $as_echo_n "(cached) " >&6
   11457 else
   11458   # I'd rather use --version here, but apparently some GNU lds only accept -v.
   11459 case `$LD -v 2>&1 </dev/null` in
   11460 *GNU* | *'with BFD'*)
   11461   lt_cv_prog_gnu_ld=yes
   11462   ;;
   11463 *)
   11464   lt_cv_prog_gnu_ld=no
   11465   ;;
   11466 esac
   11467 fi
   11468 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
   11469 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
   11470 with_gnu_ld=$lt_cv_prog_gnu_ld
   11471 
   11472 
   11473 
   11474   # Check if GNU C++ uses GNU ld as the underlying linker, since the
   11475   # archiving commands below assume that GNU ld is being used.
   11476   if test "$with_gnu_ld" = yes; then
   11477     archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
   11478     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'
   11479 
   11480     hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
   11481     export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
   11482 
   11483     # If archive_cmds runs LD, not CC, wlarc should be empty
   11484     # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
   11485     #     investigate it a little bit more. (MM)
   11486     wlarc='${wl}'
   11487 
   11488     # ancient GNU ld didn't support --whole-archive et. al.
   11489     if eval "`$CC -print-prog-name=ld` --help 2>&1" | \
   11490 	grep 'no-whole-archive' > /dev/null; then
   11491       whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   11492     else
   11493       whole_archive_flag_spec_CXX=
   11494     fi
   11495   else
   11496     with_gnu_ld=no
   11497     wlarc=
   11498 
   11499     # A generic and very simple default shared library creation
   11500     # command for GNU C++ for the case where it uses the native
   11501     # linker, instead of GNU ld.  If possible, this setting should
   11502     # overridden to take advantage of the native linker features on
   11503     # the platform it is being used on.
   11504     archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
   11505   fi
   11506 
   11507   # Commands to make compiler produce verbose output that lists
   11508   # what "hidden" libraries, object files and flags are used when
   11509   # linking a shared library.
   11510   output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
   11511 
   11512 else
   11513   GXX=no
   11514   with_gnu_ld=no
   11515   wlarc=
   11516 fi
   11517 
   11518 # PORTME: fill in a description of your system's C++ link characteristics
   11519 { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   11520 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   11521 ld_shlibs_CXX=yes
   11522 case $host_os in
   11523   aix3*)
   11524     # FIXME: insert proper C++ library support
   11525     ld_shlibs_CXX=no
   11526     ;;
   11527   aix[4-9]*)
   11528     if test "$host_cpu" = ia64; then
   11529       # On IA64, the linker does run time linking by default, so we don't
   11530       # have to do anything special.
   11531       aix_use_runtimelinking=no
   11532       exp_sym_flag='-Bexport'
   11533       no_entry_flag=""
   11534     else
   11535       aix_use_runtimelinking=no
   11536 
   11537       # Test if we are trying to use run time linking or normal
   11538       # AIX style linking. If -brtl is somewhere in LDFLAGS, we
   11539       # need to do runtime linking.
   11540       case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   11541 	for ld_flag in $LDFLAGS; do
   11542 	  case $ld_flag in
   11543 	  *-brtl*)
   11544 	    aix_use_runtimelinking=yes
   11545 	    break
   11546 	    ;;
   11547 	  esac
   11548 	done
   11549 	;;
   11550       esac
   11551 
   11552       exp_sym_flag='-bexport'
   11553       no_entry_flag='-bnoentry'
   11554     fi
   11555 
   11556     # When large executables or shared objects are built, AIX ld can
   11557     # have problems creating the table of contents.  If linking a library
   11558     # or program results in "error TOC overflow" add -mminimal-toc to
   11559     # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   11560     # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   11561 
   11562     archive_cmds_CXX=''
   11563     hardcode_direct_CXX=yes
   11564     hardcode_libdir_separator_CXX=':'
   11565     link_all_deplibs_CXX=yes
   11566 
   11567     if test "$GXX" = yes; then
   11568       case $host_os in aix4.[012]|aix4.[012].*)
   11569       # We only want to do this on AIX 4.2 and lower, the check
   11570       # below for broken collect2 doesn't work under 4.3+
   11571 	collect2name=`${CC} -print-prog-name=collect2`
   11572 	if test -f "$collect2name" && \
   11573 	   strings "$collect2name" | grep resolve_lib_name >/dev/null
   11574 	then
   11575 	  # We have reworked collect2
   11576 	  :
   11577 	else
   11578 	  # We have old collect2
   11579 	  hardcode_direct_CXX=unsupported
   11580 	  # It fails to find uninstalled libraries when the uninstalled
   11581 	  # path is not listed in the libpath.  Setting hardcode_minus_L
   11582 	  # to unsupported forces relinking
   11583 	  hardcode_minus_L_CXX=yes
   11584 	  hardcode_libdir_flag_spec_CXX='-L$libdir'
   11585 	  hardcode_libdir_separator_CXX=
   11586 	fi
   11587 	;;
   11588       esac
   11589       shared_flag='-shared'
   11590       if test "$aix_use_runtimelinking" = yes; then
   11591 	shared_flag="$shared_flag "'${wl}-G'
   11592       fi
   11593     else
   11594       # not using gcc
   11595       if test "$host_cpu" = ia64; then
   11596 	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   11597 	# chokes on -Wl,-G. The following line is correct:
   11598 	shared_flag='-G'
   11599       else
   11600 	if test "$aix_use_runtimelinking" = yes; then
   11601 	  shared_flag='${wl}-G'
   11602 	else
   11603 	  shared_flag='${wl}-bM:SRE'
   11604 	fi
   11605       fi
   11606     fi
   11607 
   11608     # It seems that -bexpall does not export symbols beginning with
   11609     # underscore (_), so it is better to generate a list of symbols to export.
   11610     always_export_symbols_CXX=yes
   11611     if test "$aix_use_runtimelinking" = yes; then
   11612       # Warning - without using the other runtime loading flags (-brtl),
   11613       # -berok will link without error, but may produce a broken library.
   11614       allow_undefined_flag_CXX='-berok'
   11615       # Determine the default libpath from the value encoded in an empty executable.
   11616       cat >conftest.$ac_ext <<_ACEOF
   11617 /* confdefs.h.  */
   11618 _ACEOF
   11619 cat confdefs.h >>conftest.$ac_ext
   11620 cat >>conftest.$ac_ext <<_ACEOF
   11621 /* end confdefs.h.  */
   11622 
   11623 int
   11624 main ()
   11625 {
   11626 
   11627   ;
   11628   return 0;
   11629 }
   11630 _ACEOF
   11631 rm -f conftest.$ac_objext conftest$ac_exeext
   11632 if { (ac_try="$ac_link"
   11633 case "(($ac_try" in
   11634   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   11635   *) ac_try_echo=$ac_try;;
   11636 esac
   11637 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   11638 $as_echo "$ac_try_echo") >&5
   11639   (eval "$ac_link") 2>conftest.er1
   11640   ac_status=$?
   11641   grep -v '^ *+' conftest.er1 >conftest.err
   11642   rm -f conftest.er1
   11643   cat conftest.err >&5
   11644   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11645   (exit $ac_status); } && {
   11646 	 test -z "$ac_cxx_werror_flag" ||
   11647 	 test ! -s conftest.err
   11648        } && test -s conftest$ac_exeext && {
   11649 	 test "$cross_compiling" = yes ||
   11650 	 $as_test_x conftest$ac_exeext
   11651        }; then
   11652 
   11653 lt_aix_libpath_sed='
   11654     /Import File Strings/,/^$/ {
   11655 	/^0/ {
   11656 	    s/^0  *\(.*\)$/\1/
   11657 	    p
   11658 	}
   11659     }'
   11660 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   11661 # Check for a 64-bit object if we didn't find anything.
   11662 if test -z "$aix_libpath"; then
   11663   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   11664 fi
   11665 else
   11666   $as_echo "$as_me: failed program was:" >&5
   11667 sed 's/^/| /' conftest.$ac_ext >&5
   11668 
   11669 
   11670 fi
   11671 
   11672 rm -rf conftest.dSYM
   11673 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   11674       conftest$ac_exeext conftest.$ac_ext
   11675 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   11676 
   11677       hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
   11678 
   11679       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"
   11680      else
   11681       if test "$host_cpu" = ia64; then
   11682 	hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
   11683 	allow_undefined_flag_CXX="-z nodefs"
   11684 	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"
   11685       else
   11686 	# Determine the default libpath from the value encoded in an empty executable.
   11687 	cat >conftest.$ac_ext <<_ACEOF
   11688 /* confdefs.h.  */
   11689 _ACEOF
   11690 cat confdefs.h >>conftest.$ac_ext
   11691 cat >>conftest.$ac_ext <<_ACEOF
   11692 /* end confdefs.h.  */
   11693 
   11694 int
   11695 main ()
   11696 {
   11697 
   11698   ;
   11699   return 0;
   11700 }
   11701 _ACEOF
   11702 rm -f conftest.$ac_objext conftest$ac_exeext
   11703 if { (ac_try="$ac_link"
   11704 case "(($ac_try" in
   11705   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   11706   *) ac_try_echo=$ac_try;;
   11707 esac
   11708 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   11709 $as_echo "$ac_try_echo") >&5
   11710   (eval "$ac_link") 2>conftest.er1
   11711   ac_status=$?
   11712   grep -v '^ *+' conftest.er1 >conftest.err
   11713   rm -f conftest.er1
   11714   cat conftest.err >&5
   11715   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11716   (exit $ac_status); } && {
   11717 	 test -z "$ac_cxx_werror_flag" ||
   11718 	 test ! -s conftest.err
   11719        } && test -s conftest$ac_exeext && {
   11720 	 test "$cross_compiling" = yes ||
   11721 	 $as_test_x conftest$ac_exeext
   11722        }; then
   11723 
   11724 lt_aix_libpath_sed='
   11725     /Import File Strings/,/^$/ {
   11726 	/^0/ {
   11727 	    s/^0  *\(.*\)$/\1/
   11728 	    p
   11729 	}
   11730     }'
   11731 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   11732 # Check for a 64-bit object if we didn't find anything.
   11733 if test -z "$aix_libpath"; then
   11734   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   11735 fi
   11736 else
   11737   $as_echo "$as_me: failed program was:" >&5
   11738 sed 's/^/| /' conftest.$ac_ext >&5
   11739 
   11740 
   11741 fi
   11742 
   11743 rm -rf conftest.dSYM
   11744 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   11745       conftest$ac_exeext conftest.$ac_ext
   11746 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   11747 
   11748 	hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
   11749 	# Warning - without using the other run time loading flags,
   11750 	# -berok will link without error, but may produce a broken library.
   11751 	no_undefined_flag_CXX=' ${wl}-bernotok'
   11752 	allow_undefined_flag_CXX=' ${wl}-berok'
   11753 	# Exported symbols can be pulled into shared objects from archives
   11754 	whole_archive_flag_spec_CXX='$convenience'
   11755 	archive_cmds_need_lc_CXX=yes
   11756 	# This is similar to how AIX traditionally builds its shared libraries.
   11757 	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'
   11758       fi
   11759     fi
   11760     ;;
   11761 
   11762   beos*)
   11763     if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   11764       allow_undefined_flag_CXX=unsupported
   11765       # Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   11766       # support --undefined.  This deserves some investigation.  FIXME
   11767       archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   11768     else
   11769       ld_shlibs_CXX=no
   11770     fi
   11771     ;;
   11772 
   11773   chorus*)
   11774     case $cc_basename in
   11775       *)
   11776 	# FIXME: insert proper C++ library support
   11777 	ld_shlibs_CXX=no
   11778 	;;
   11779     esac
   11780     ;;
   11781 
   11782   cygwin* | mingw* | pw32*)
   11783     # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
   11784     # as there is no search path for DLLs.
   11785     hardcode_libdir_flag_spec_CXX='-L$libdir'
   11786     allow_undefined_flag_CXX=unsupported
   11787     always_export_symbols_CXX=no
   11788     enable_shared_with_static_runtimes_CXX=yes
   11789 
   11790     if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
   11791       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'
   11792       # If the export-symbols file already is a .def file (1st line
   11793       # is EXPORTS), use it as is; otherwise, prepend...
   11794       archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   11795 	cp $export_symbols $output_objdir/$soname.def;
   11796       else
   11797 	echo EXPORTS > $output_objdir/$soname.def;
   11798 	cat $export_symbols >> $output_objdir/$soname.def;
   11799       fi~
   11800       $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'
   11801     else
   11802       ld_shlibs_CXX=no
   11803     fi
   11804   ;;
   11805       darwin* | rhapsody*)
   11806       archive_cmds_need_lc_CXX=no
   11807       hardcode_direct_CXX=no
   11808       hardcode_automatic_CXX=yes
   11809       hardcode_shlibpath_var_CXX=unsupported
   11810       whole_archive_flag_spec_CXX=''
   11811       link_all_deplibs_CXX=yes
   11812       allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
   11813       if test "$GXX" = yes ; then
   11814       output_verbose_link_cmd='echo'
   11815       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}"
   11816       module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
   11817       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}"
   11818       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}"
   11819       if test "$lt_cv_apple_cc_single_mod" != "yes"; then
   11820         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}"
   11821         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}"
   11822       fi
   11823       else
   11824       case $cc_basename in
   11825         xlc*)
   11826          output_verbose_link_cmd='echo'
   11827           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'
   11828           module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
   11829           # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
   11830           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}'
   11831           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}'
   11832           ;;
   11833        *)
   11834          ld_shlibs_CXX=no
   11835           ;;
   11836       esac
   11837       fi
   11838         ;;
   11839 
   11840   dgux*)
   11841     case $cc_basename in
   11842       ec++*)
   11843 	# FIXME: insert proper C++ library support
   11844 	ld_shlibs_CXX=no
   11845 	;;
   11846       ghcx*)
   11847 	# Green Hills C++ Compiler
   11848 	# FIXME: insert proper C++ library support
   11849 	ld_shlibs_CXX=no
   11850 	;;
   11851       *)
   11852 	# FIXME: insert proper C++ library support
   11853 	ld_shlibs_CXX=no
   11854 	;;
   11855     esac
   11856     ;;
   11857   freebsd[12]*)
   11858     # C++ shared libraries reported to be fairly broken before switch to ELF
   11859     ld_shlibs_CXX=no
   11860     ;;
   11861   freebsd-elf*)
   11862     archive_cmds_need_lc_CXX=no
   11863     ;;
   11864   freebsd* | dragonfly*)
   11865     # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
   11866     # conventions
   11867     ld_shlibs_CXX=yes
   11868     ;;
   11869   gnu*)
   11870     ;;
   11871   hpux9*)
   11872     hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
   11873     hardcode_libdir_separator_CXX=:
   11874     export_dynamic_flag_spec_CXX='${wl}-E'
   11875     hardcode_direct_CXX=yes
   11876     hardcode_minus_L_CXX=yes # Not in the search PATH,
   11877 				# but as the default
   11878 				# location of the library.
   11879 
   11880     case $cc_basename in
   11881     CC*)
   11882       # FIXME: insert proper C++ library support
   11883       ld_shlibs_CXX=no
   11884       ;;
   11885     aCC*)
   11886       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'
   11887       # Commands to make compiler produce verbose output that lists
   11888       # what "hidden" libraries, object files and flags are used when
   11889       # linking a shared library.
   11890       #
   11891       # There doesn't appear to be a way to prevent this compiler from
   11892       # explicitly linking system object files so we need to strip them
   11893       # from the output so that they don't get included in the library
   11894       # dependencies.
   11895       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'
   11896       ;;
   11897     *)
   11898       if test "$GXX" = yes; then
   11899         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'
   11900       else
   11901         # FIXME: insert proper C++ library support
   11902         ld_shlibs_CXX=no
   11903       fi
   11904       ;;
   11905     esac
   11906     ;;
   11907   hpux10*|hpux11*)
   11908     if test $with_gnu_ld = no; then
   11909       hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
   11910       hardcode_libdir_separator_CXX=:
   11911 
   11912       case $host_cpu in
   11913       hppa*64*|ia64*) ;;
   11914       *)
   11915 	export_dynamic_flag_spec_CXX='${wl}-E'
   11916         ;;
   11917       esac
   11918     fi
   11919     case $host_cpu in
   11920     hppa*64*|ia64*)
   11921       hardcode_direct_CXX=no
   11922       hardcode_shlibpath_var_CXX=no
   11923       ;;
   11924     *)
   11925       hardcode_direct_CXX=yes
   11926       hardcode_minus_L_CXX=yes # Not in the search PATH,
   11927 					      # but as the default
   11928 					      # location of the library.
   11929       ;;
   11930     esac
   11931 
   11932     case $cc_basename in
   11933       CC*)
   11934 	# FIXME: insert proper C++ library support
   11935 	ld_shlibs_CXX=no
   11936 	;;
   11937       aCC*)
   11938 	case $host_cpu in
   11939 	hppa*64*)
   11940 	  archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   11941 	  ;;
   11942 	ia64*)
   11943 	  archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   11944 	  ;;
   11945 	*)
   11946 	  archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   11947 	  ;;
   11948 	esac
   11949 	# Commands to make compiler produce verbose output that lists
   11950 	# what "hidden" libraries, object files and flags are used when
   11951 	# linking a shared library.
   11952 	#
   11953 	# There doesn't appear to be a way to prevent this compiler from
   11954 	# explicitly linking system object files so we need to strip them
   11955 	# from the output so that they don't get included in the library
   11956 	# dependencies.
   11957 	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'
   11958 	;;
   11959       *)
   11960 	if test "$GXX" = yes; then
   11961 	  if test $with_gnu_ld = no; then
   11962 	    case $host_cpu in
   11963 	    hppa*64*)
   11964 	      archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   11965 	      ;;
   11966 	    ia64*)
   11967 	      archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   11968 	      ;;
   11969 	    *)
   11970 	      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'
   11971 	      ;;
   11972 	    esac
   11973 	  fi
   11974 	else
   11975 	  # FIXME: insert proper C++ library support
   11976 	  ld_shlibs_CXX=no
   11977 	fi
   11978 	;;
   11979     esac
   11980     ;;
   11981   interix[3-9]*)
   11982     hardcode_direct_CXX=no
   11983     hardcode_shlibpath_var_CXX=no
   11984     hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
   11985     export_dynamic_flag_spec_CXX='${wl}-E'
   11986     # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   11987     # Instead, shared libraries are loaded at an image base (0x10000000 by
   11988     # default) and relocated if they conflict, which is a slow very memory
   11989     # consuming and fragmenting process.  To avoid this, we pick a random,
   11990     # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   11991     # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   11992     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'
   11993     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'
   11994     ;;
   11995   irix5* | irix6*)
   11996     case $cc_basename in
   11997       CC*)
   11998 	# SGI C++
   11999 	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'
   12000 
   12001 	# Archives containing C++ object files must be created using
   12002 	# "CC -ar", where "CC" is the IRIX C++ compiler.  This is
   12003 	# necessary to make sure instantiated templates are included
   12004 	# in the archive.
   12005 	old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
   12006 	;;
   12007       *)
   12008 	if test "$GXX" = yes; then
   12009 	  if test "$with_gnu_ld" = no; then
   12010 	    archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
   12011 	  else
   12012 	    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'
   12013 	  fi
   12014 	fi
   12015 	link_all_deplibs_CXX=yes
   12016 	;;
   12017     esac
   12018     hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
   12019     hardcode_libdir_separator_CXX=:
   12020     ;;
   12021   linux* | k*bsd*-gnu)
   12022     case $cc_basename in
   12023       KCC*)
   12024 	# Kuck and Associates, Inc. (KAI) C++ Compiler
   12025 
   12026 	# KCC will only create a shared library if the output file
   12027 	# ends with ".so" (or ".sl" for HP-UX), so rename the library
   12028 	# to its proper name (with version) after linking.
   12029 	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'
   12030 	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'
   12031 	# Commands to make compiler produce verbose output that lists
   12032 	# what "hidden" libraries, object files and flags are used when
   12033 	# linking a shared library.
   12034 	#
   12035 	# There doesn't appear to be a way to prevent this compiler from
   12036 	# explicitly linking system object files so we need to strip them
   12037 	# from the output so that they don't get included in the library
   12038 	# dependencies.
   12039 	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'
   12040 
   12041 	hardcode_libdir_flag_spec_CXX='${wl}--rpath,$libdir'
   12042 	export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
   12043 
   12044 	# Archives containing C++ object files must be created using
   12045 	# "CC -Bstatic", where "CC" is the KAI C++ compiler.
   12046 	old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
   12047 	;;
   12048       icpc*)
   12049 	# Intel C++
   12050 	with_gnu_ld=yes
   12051 	# version 8.0 and above of icpc choke on multiply defined symbols
   12052 	# if we add $predep_objects and $postdep_objects, however 7.1 and
   12053 	# earlier do not add the objects themselves.
   12054 	case `$CC -V 2>&1` in
   12055 	*"Version 7."*)
   12056   	  archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
   12057   	  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'
   12058 	  ;;
   12059 	*)  # Version 8.0 or newer
   12060 	  tmp_idyn=
   12061 	  case $host_cpu in
   12062 	    ia64*) tmp_idyn=' -i_dynamic';;
   12063 	  esac
   12064   	  archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   12065 	  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'
   12066 	  ;;
   12067 	esac
   12068 	archive_cmds_need_lc_CXX=no
   12069 	hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
   12070 	export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
   12071 	whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
   12072 	;;
   12073       pgCC* | pgcpp*)
   12074         # Portland Group C++ compiler
   12075 	archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
   12076   	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'
   12077 
   12078 	hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
   12079 	export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
   12080 	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'
   12081         ;;
   12082       cxx*)
   12083 	# Compaq C++
   12084 	archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
   12085 	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'
   12086 
   12087 	runpath_var=LD_RUN_PATH
   12088 	hardcode_libdir_flag_spec_CXX='-rpath $libdir'
   12089 	hardcode_libdir_separator_CXX=:
   12090 
   12091 	# Commands to make compiler produce verbose output that lists
   12092 	# what "hidden" libraries, object files and flags are used when
   12093 	# linking a shared library.
   12094 	#
   12095 	# There doesn't appear to be a way to prevent this compiler from
   12096 	# explicitly linking system object files so we need to strip them
   12097 	# from the output so that they don't get included in the library
   12098 	# dependencies.
   12099 	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'
   12100 	;;
   12101       *)
   12102 	case `$CC -V 2>&1 | sed 5q` in
   12103 	*Sun\ C*)
   12104 	  # Sun C++ 5.9
   12105 	  no_undefined_flag_CXX=' -zdefs'
   12106 	  archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   12107 	  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'
   12108 	  hardcode_libdir_flag_spec_CXX='-R$libdir'
   12109 	  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'
   12110 
   12111 	  # Not sure whether something based on
   12112 	  # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
   12113 	  # would be better.
   12114 	  output_verbose_link_cmd='echo'
   12115 
   12116 	  # Archives containing C++ object files must be created using
   12117 	  # "CC -xar", where "CC" is the Sun C++ compiler.  This is
   12118 	  # necessary to make sure instantiated templates are included
   12119 	  # in the archive.
   12120 	  old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
   12121 	  ;;
   12122 	esac
   12123 	;;
   12124     esac
   12125     ;;
   12126   lynxos*)
   12127     # FIXME: insert proper C++ library support
   12128     ld_shlibs_CXX=no
   12129     ;;
   12130   m88k*)
   12131     # FIXME: insert proper C++ library support
   12132     ld_shlibs_CXX=no
   12133     ;;
   12134   mvs*)
   12135     case $cc_basename in
   12136       cxx*)
   12137 	# FIXME: insert proper C++ library support
   12138 	ld_shlibs_CXX=no
   12139 	;;
   12140       *)
   12141 	# FIXME: insert proper C++ library support
   12142 	ld_shlibs_CXX=no
   12143 	;;
   12144     esac
   12145     ;;
   12146   netbsd*)
   12147     if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   12148       archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
   12149       wlarc=
   12150       hardcode_libdir_flag_spec_CXX='-R$libdir'
   12151       hardcode_direct_CXX=yes
   12152       hardcode_shlibpath_var_CXX=no
   12153     fi
   12154     # Workaround some broken pre-1.5 toolchains
   12155     output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
   12156     ;;
   12157   openbsd2*)
   12158     # C++ shared libraries are fairly broken
   12159     ld_shlibs_CXX=no
   12160     ;;
   12161   openbsd*)
   12162     if test -f /usr/libexec/ld.so; then
   12163       hardcode_direct_CXX=yes
   12164       hardcode_shlibpath_var_CXX=no
   12165       archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
   12166       hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
   12167       if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   12168 	archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
   12169 	export_dynamic_flag_spec_CXX='${wl}-E'
   12170 	whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   12171       fi
   12172       output_verbose_link_cmd='echo'
   12173     else
   12174       ld_shlibs_CXX=no
   12175     fi
   12176     ;;
   12177   osf3*)
   12178     case $cc_basename in
   12179       KCC*)
   12180 	# Kuck and Associates, Inc. (KAI) C++ Compiler
   12181 
   12182 	# KCC will only create a shared library if the output file
   12183 	# ends with ".so" (or ".sl" for HP-UX), so rename the library
   12184 	# to its proper name (with version) after linking.
   12185 	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'
   12186 
   12187 	hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
   12188 	hardcode_libdir_separator_CXX=:
   12189 
   12190 	# Archives containing C++ object files must be created using
   12191 	# "CC -Bstatic", where "CC" is the KAI C++ compiler.
   12192 	old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
   12193 
   12194 	;;
   12195       RCC*)
   12196 	# Rational C++ 2.4.1
   12197 	# FIXME: insert proper C++ library support
   12198 	ld_shlibs_CXX=no
   12199 	;;
   12200       cxx*)
   12201 	allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
   12202 	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'
   12203 
   12204 	hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
   12205 	hardcode_libdir_separator_CXX=:
   12206 
   12207 	# Commands to make compiler produce verbose output that lists
   12208 	# what "hidden" libraries, object files and flags are used when
   12209 	# linking a shared library.
   12210 	#
   12211 	# There doesn't appear to be a way to prevent this compiler from
   12212 	# explicitly linking system object files so we need to strip them
   12213 	# from the output so that they don't get included in the library
   12214 	# dependencies.
   12215 	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'
   12216 	;;
   12217       *)
   12218 	if test "$GXX" = yes && test "$with_gnu_ld" = no; then
   12219 	  allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
   12220 	  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'
   12221 
   12222 	  hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
   12223 	  hardcode_libdir_separator_CXX=:
   12224 
   12225 	  # Commands to make compiler produce verbose output that lists
   12226 	  # what "hidden" libraries, object files and flags are used when
   12227 	  # linking a shared library.
   12228 	  output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
   12229 
   12230 	else
   12231 	  # FIXME: insert proper C++ library support
   12232 	  ld_shlibs_CXX=no
   12233 	fi
   12234 	;;
   12235     esac
   12236     ;;
   12237   osf4* | osf5*)
   12238     case $cc_basename in
   12239       KCC*)
   12240 	# Kuck and Associates, Inc. (KAI) C++ Compiler
   12241 
   12242 	# KCC will only create a shared library if the output file
   12243 	# ends with ".so" (or ".sl" for HP-UX), so rename the library
   12244 	# to its proper name (with version) after linking.
   12245 	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'
   12246 
   12247 	hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
   12248 	hardcode_libdir_separator_CXX=:
   12249 
   12250 	# Archives containing C++ object files must be created using
   12251 	# the KAI C++ compiler.
   12252 	old_archive_cmds_CXX='$CC -o $oldlib $oldobjs'
   12253 	;;
   12254       RCC*)
   12255 	# Rational C++ 2.4.1
   12256 	# FIXME: insert proper C++ library support
   12257 	ld_shlibs_CXX=no
   12258 	;;
   12259       cxx*)
   12260 	allow_undefined_flag_CXX=' -expect_unresolved \*'
   12261 	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'
   12262 	archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
   12263 	  echo "-hidden">> $lib.exp~
   12264 	  $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~
   12265 	  $rm $lib.exp'
   12266 
   12267 	hardcode_libdir_flag_spec_CXX='-rpath $libdir'
   12268 	hardcode_libdir_separator_CXX=:
   12269 
   12270 	# Commands to make compiler produce verbose output that lists
   12271 	# what "hidden" libraries, object files and flags are used when
   12272 	# linking a shared library.
   12273 	#
   12274 	# There doesn't appear to be a way to prevent this compiler from
   12275 	# explicitly linking system object files so we need to strip them
   12276 	# from the output so that they don't get included in the library
   12277 	# dependencies.
   12278 	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'
   12279 	;;
   12280       *)
   12281 	if test "$GXX" = yes && test "$with_gnu_ld" = no; then
   12282 	  allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
   12283 	 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'
   12284 
   12285 	  hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
   12286 	  hardcode_libdir_separator_CXX=:
   12287 
   12288 	  # Commands to make compiler produce verbose output that lists
   12289 	  # what "hidden" libraries, object files and flags are used when
   12290 	  # linking a shared library.
   12291 	  output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
   12292 
   12293 	else
   12294 	  # FIXME: insert proper C++ library support
   12295 	  ld_shlibs_CXX=no
   12296 	fi
   12297 	;;
   12298     esac
   12299     ;;
   12300   psos*)
   12301     # FIXME: insert proper C++ library support
   12302     ld_shlibs_CXX=no
   12303     ;;
   12304   sunos4*)
   12305     case $cc_basename in
   12306       CC*)
   12307 	# Sun C++ 4.x
   12308 	# FIXME: insert proper C++ library support
   12309 	ld_shlibs_CXX=no
   12310 	;;
   12311       lcc*)
   12312 	# Lucid
   12313 	# FIXME: insert proper C++ library support
   12314 	ld_shlibs_CXX=no
   12315 	;;
   12316       *)
   12317 	# FIXME: insert proper C++ library support
   12318 	ld_shlibs_CXX=no
   12319 	;;
   12320     esac
   12321     ;;
   12322   solaris*)
   12323     case $cc_basename in
   12324       CC*)
   12325 	# Sun C++ 4.2, 5.x and Centerline C++
   12326         archive_cmds_need_lc_CXX=yes
   12327 	no_undefined_flag_CXX=' -zdefs'
   12328 	archive_cmds_CXX='$CC -G${allow_undefined_flag}  -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   12329 	archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   12330 	$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'
   12331 
   12332 	hardcode_libdir_flag_spec_CXX='-R$libdir'
   12333 	hardcode_shlibpath_var_CXX=no
   12334 	case $host_os in
   12335 	  solaris2.[0-5] | solaris2.[0-5].*) ;;
   12336 	  *)
   12337 	    # The compiler driver will combine and reorder linker options,
   12338 	    # but understands `-z linker_flag'.
   12339 	    # Supported since Solaris 2.6 (maybe 2.5.1?)
   12340 	    whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
   12341 	    ;;
   12342 	esac
   12343 	link_all_deplibs_CXX=yes
   12344 
   12345 	output_verbose_link_cmd='echo'
   12346 
   12347 	# Archives containing C++ object files must be created using
   12348 	# "CC -xar", where "CC" is the Sun C++ compiler.  This is
   12349 	# necessary to make sure instantiated templates are included
   12350 	# in the archive.
   12351 	old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
   12352 	;;
   12353       gcx*)
   12354 	# Green Hills C++ Compiler
   12355 	archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
   12356 
   12357 	# The C++ compiler must be used to create the archive.
   12358 	old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
   12359 	;;
   12360       *)
   12361 	# GNU C++ compiler with Solaris linker
   12362 	if test "$GXX" = yes && test "$with_gnu_ld" = no; then
   12363 	  no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
   12364 	  if $CC --version | grep -v '^2\.7' > /dev/null; then
   12365 	    archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
   12366 	    archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   12367 		$CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
   12368 
   12369 	    # Commands to make compiler produce verbose output that lists
   12370 	    # what "hidden" libraries, object files and flags are used when
   12371 	    # linking a shared library.
   12372 	    output_verbose_link_cmd="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
   12373 	  else
   12374 	    # g++ 2.7 appears to require `-G' NOT `-shared' on this
   12375 	    # platform.
   12376 	    archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
   12377 	    archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   12378 		$CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
   12379 
   12380 	    # Commands to make compiler produce verbose output that lists
   12381 	    # what "hidden" libraries, object files and flags are used when
   12382 	    # linking a shared library.
   12383 	    output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
   12384 	  fi
   12385 
   12386 	  hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
   12387 	  case $host_os in
   12388 	  solaris2.[0-5] | solaris2.[0-5].*) ;;
   12389 	  *)
   12390 	    whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
   12391 	    ;;
   12392 	  esac
   12393 	fi
   12394 	;;
   12395     esac
   12396     ;;
   12397   sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   12398     no_undefined_flag_CXX='${wl}-z,text'
   12399     archive_cmds_need_lc_CXX=no
   12400     hardcode_shlibpath_var_CXX=no
   12401     runpath_var='LD_RUN_PATH'
   12402 
   12403     case $cc_basename in
   12404       CC*)
   12405 	archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   12406 	archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   12407 	;;
   12408       *)
   12409 	archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   12410 	archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   12411 	;;
   12412     esac
   12413     ;;
   12414   sysv5* | sco3.2v5* | sco5v6*)
   12415     # Note: We can NOT use -z defs as we might desire, because we do not
   12416     # link with -lc, and that would cause any symbols used from libc to
   12417     # always be unresolved, which means just about no library would
   12418     # ever link correctly.  If we're not using GNU ld we use -z text
   12419     # though, which does catch some bad symbols but isn't as heavy-handed
   12420     # as -z defs.
   12421     # For security reasons, it is highly recommended that you always
   12422     # use absolute paths for naming shared libraries, and exclude the
   12423     # DT_RUNPATH tag from executables and libraries.  But doing so
   12424     # requires that you compile everything twice, which is a pain.
   12425     # So that behaviour is only enabled if SCOABSPATH is set to a
   12426     # non-empty value in the environment.  Most likely only useful for
   12427     # creating official distributions of packages.
   12428     # This is a hack until libtool officially supports absolute path
   12429     # names for shared libraries.
   12430     no_undefined_flag_CXX='${wl}-z,text'
   12431     allow_undefined_flag_CXX='${wl}-z,nodefs'
   12432     archive_cmds_need_lc_CXX=no
   12433     hardcode_shlibpath_var_CXX=no
   12434     hardcode_libdir_flag_spec_CXX='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
   12435     hardcode_libdir_separator_CXX=':'
   12436     link_all_deplibs_CXX=yes
   12437     export_dynamic_flag_spec_CXX='${wl}-Bexport'
   12438     runpath_var='LD_RUN_PATH'
   12439 
   12440     case $cc_basename in
   12441       CC*)
   12442 	archive_cmds_CXX='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   12443 	archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   12444 	;;
   12445       *)
   12446 	archive_cmds_CXX='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   12447 	archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   12448 	;;
   12449     esac
   12450     ;;
   12451   tandem*)
   12452     case $cc_basename in
   12453       NCC*)
   12454 	# NonStop-UX NCC 3.20
   12455 	# FIXME: insert proper C++ library support
   12456 	ld_shlibs_CXX=no
   12457 	;;
   12458       *)
   12459 	# FIXME: insert proper C++ library support
   12460 	ld_shlibs_CXX=no
   12461 	;;
   12462     esac
   12463     ;;
   12464   vxworks*)
   12465     # FIXME: insert proper C++ library support
   12466     ld_shlibs_CXX=no
   12467     ;;
   12468   *)
   12469     # FIXME: insert proper C++ library support
   12470     ld_shlibs_CXX=no
   12471     ;;
   12472 esac
   12473 { $as_echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
   12474 $as_echo "$ld_shlibs_CXX" >&6; }
   12475 test "$ld_shlibs_CXX" = no && can_build_shared=no
   12476 
   12477 GCC_CXX="$GXX"
   12478 LD_CXX="$LD"
   12479 
   12480 cat > conftest.$ac_ext <<EOF
   12481 class Foo
   12482 {
   12483 public:
   12484   Foo (void) { a = 0; }
   12485 private:
   12486   int a;
   12487 };
   12488 EOF
   12489 
   12490 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   12491   (eval $ac_compile) 2>&5
   12492   ac_status=$?
   12493   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12494   (exit $ac_status); }; then
   12495   # Parse the compiler output and extract the necessary
   12496   # objects, libraries and library flags.
   12497 
   12498   # Sentinel used to keep track of whether or not we are before
   12499   # the conftest object file.
   12500   pre_test_object_deps_done=no
   12501 
   12502   # The `*' in the case matches for architectures that use `case' in
   12503   # $output_verbose_cmd can trigger glob expansion during the loop
   12504   # eval without this substitution.
   12505   output_verbose_link_cmd=`$echo "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
   12506 
   12507   for p in `eval $output_verbose_link_cmd`; do
   12508     case $p in
   12509 
   12510     -L* | -R* | -l*)
   12511        # Some compilers place space between "-{L,R}" and the path.
   12512        # Remove the space.
   12513        if test $p = "-L" \
   12514 	  || test $p = "-R"; then
   12515 	 prev=$p
   12516 	 continue
   12517        else
   12518 	 prev=
   12519        fi
   12520 
   12521        if test "$pre_test_object_deps_done" = no; then
   12522 	 case $p in
   12523 	 -L* | -R*)
   12524 	   # Internal compiler library paths should come after those
   12525 	   # provided the user.  The postdeps already come after the
   12526 	   # user supplied libs so there is no need to process them.
   12527 	   if test -z "$compiler_lib_search_path_CXX"; then
   12528 	     compiler_lib_search_path_CXX="${prev}${p}"
   12529 	   else
   12530 	     compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
   12531 	   fi
   12532 	   ;;
   12533 	 # The "-l" case would never come before the object being
   12534 	 # linked, so don't bother handling this case.
   12535 	 esac
   12536        else
   12537 	 if test -z "$postdeps_CXX"; then
   12538 	   postdeps_CXX="${prev}${p}"
   12539 	 else
   12540 	   postdeps_CXX="${postdeps_CXX} ${prev}${p}"
   12541 	 fi
   12542        fi
   12543        ;;
   12544 
   12545     *.$objext)
   12546        # This assumes that the test object file only shows up
   12547        # once in the compiler output.
   12548        if test "$p" = "conftest.$objext"; then
   12549 	 pre_test_object_deps_done=yes
   12550 	 continue
   12551        fi
   12552 
   12553        if test "$pre_test_object_deps_done" = no; then
   12554 	 if test -z "$predep_objects_CXX"; then
   12555 	   predep_objects_CXX="$p"
   12556 	 else
   12557 	   predep_objects_CXX="$predep_objects_CXX $p"
   12558 	 fi
   12559        else
   12560 	 if test -z "$postdep_objects_CXX"; then
   12561 	   postdep_objects_CXX="$p"
   12562 	 else
   12563 	   postdep_objects_CXX="$postdep_objects_CXX $p"
   12564 	 fi
   12565        fi
   12566        ;;
   12567 
   12568     *) ;; # Ignore the rest.
   12569 
   12570     esac
   12571   done
   12572 
   12573   # Clean up.
   12574   rm -f a.out a.exe
   12575 else
   12576   echo "libtool.m4: error: problem compiling CXX test program"
   12577 fi
   12578 
   12579 $rm -f confest.$objext
   12580 
   12581 compiler_lib_search_dirs_CXX=
   12582 if test -n "$compiler_lib_search_path_CXX"; then
   12583   compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
   12584 fi
   12585 
   12586 # PORTME: override above test on systems where it is broken
   12587 case $host_os in
   12588 interix[3-9]*)
   12589   # Interix 3.5 installs completely hosed .la files for C++, so rather than
   12590   # hack all around it, let's just trust "g++" to DTRT.
   12591   predep_objects_CXX=
   12592   postdep_objects_CXX=
   12593   postdeps_CXX=
   12594   ;;
   12595 
   12596 linux*)
   12597   case `$CC -V 2>&1 | sed 5q` in
   12598   *Sun\ C*)
   12599     # Sun C++ 5.9
   12600     #
   12601     # The more standards-conforming stlport4 library is
   12602     # incompatible with the Cstd library. Avoid specifying
   12603     # it if it's in CXXFLAGS. Ignore libCrun as
   12604     # -library=stlport4 depends on it.
   12605     case " $CXX $CXXFLAGS " in
   12606     *" -library=stlport4 "*)
   12607       solaris_use_stlport4=yes
   12608       ;;
   12609     esac
   12610     if test "$solaris_use_stlport4" != yes; then
   12611       postdeps_CXX='-library=Cstd -library=Crun'
   12612     fi
   12613     ;;
   12614   esac
   12615   ;;
   12616 
   12617 solaris*)
   12618   case $cc_basename in
   12619   CC*)
   12620     # The more standards-conforming stlport4 library is
   12621     # incompatible with the Cstd library. Avoid specifying
   12622     # it if it's in CXXFLAGS. Ignore libCrun as
   12623     # -library=stlport4 depends on it.
   12624     case " $CXX $CXXFLAGS " in
   12625     *" -library=stlport4 "*)
   12626       solaris_use_stlport4=yes
   12627       ;;
   12628     esac
   12629 
   12630     # Adding this requires a known-good setup of shared libraries for
   12631     # Sun compiler versions before 5.6, else PIC objects from an old
   12632     # archive will be linked into the output, leading to subtle bugs.
   12633     if test "$solaris_use_stlport4" != yes; then
   12634       postdeps_CXX='-library=Cstd -library=Crun'
   12635     fi
   12636     ;;
   12637   esac
   12638   ;;
   12639 esac
   12640 
   12641 case " $postdeps_CXX " in
   12642 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
   12643 esac
   12644 
   12645 lt_prog_compiler_wl_CXX=
   12646 lt_prog_compiler_pic_CXX=
   12647 lt_prog_compiler_static_CXX=
   12648 
   12649 { $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
   12650 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
   12651 
   12652   # C++ specific cases for pic, static, wl, etc.
   12653   if test "$GXX" = yes; then
   12654     lt_prog_compiler_wl_CXX='-Wl,'
   12655     lt_prog_compiler_static_CXX='-static'
   12656 
   12657     case $host_os in
   12658     aix*)
   12659       # All AIX code is PIC.
   12660       if test "$host_cpu" = ia64; then
   12661 	# AIX 5 now supports IA64 processor
   12662 	lt_prog_compiler_static_CXX='-Bstatic'
   12663       fi
   12664       ;;
   12665     amigaos*)
   12666       # FIXME: we need at least 68020 code to build shared libraries, but
   12667       # adding the `-m68020' flag to GCC prevents building anything better,
   12668       # like `-m68040'.
   12669       lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
   12670       ;;
   12671     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   12672       # PIC is the default for these OSes.
   12673       ;;
   12674     mingw* | cygwin* | os2* | pw32*)
   12675       # This hack is so that the source file can tell whether it is being
   12676       # built for inclusion in a dll (and should export symbols for example).
   12677       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   12678       # (--disable-auto-import) libraries
   12679       lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
   12680       ;;
   12681     darwin* | rhapsody*)
   12682       # PIC is the default on this platform
   12683       # Common symbols not allowed in MH_DYLIB files
   12684       lt_prog_compiler_pic_CXX='-fno-common'
   12685       ;;
   12686     *djgpp*)
   12687       # DJGPP does not support shared libraries at all
   12688       lt_prog_compiler_pic_CXX=
   12689       ;;
   12690     interix[3-9]*)
   12691       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   12692       # Instead, we relocate shared libraries at runtime.
   12693       ;;
   12694     sysv4*MP*)
   12695       if test -d /usr/nec; then
   12696 	lt_prog_compiler_pic_CXX=-Kconform_pic
   12697       fi
   12698       ;;
   12699     hpux*)
   12700       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   12701       # not for PA HP-UX.
   12702       case $host_cpu in
   12703       hppa*64*|ia64*)
   12704 	;;
   12705       *)
   12706 	lt_prog_compiler_pic_CXX='-fPIC'
   12707 	;;
   12708       esac
   12709       ;;
   12710     *)
   12711       lt_prog_compiler_pic_CXX='-fPIC'
   12712       ;;
   12713     esac
   12714   else
   12715     case $host_os in
   12716       aix[4-9]*)
   12717 	# All AIX code is PIC.
   12718 	if test "$host_cpu" = ia64; then
   12719 	  # AIX 5 now supports IA64 processor
   12720 	  lt_prog_compiler_static_CXX='-Bstatic'
   12721 	else
   12722 	  lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
   12723 	fi
   12724 	;;
   12725       chorus*)
   12726 	case $cc_basename in
   12727 	cxch68*)
   12728 	  # Green Hills C++ Compiler
   12729 	  # _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"
   12730 	  ;;
   12731 	esac
   12732 	;;
   12733        darwin*)
   12734          # PIC is the default on this platform
   12735          # Common symbols not allowed in MH_DYLIB files
   12736          case $cc_basename in
   12737            xlc*)
   12738            lt_prog_compiler_pic_CXX='-qnocommon'
   12739            lt_prog_compiler_wl_CXX='-Wl,'
   12740            ;;
   12741          esac
   12742        ;;
   12743       dgux*)
   12744 	case $cc_basename in
   12745 	  ec++*)
   12746 	    lt_prog_compiler_pic_CXX='-KPIC'
   12747 	    ;;
   12748 	  ghcx*)
   12749 	    # Green Hills C++ Compiler
   12750 	    lt_prog_compiler_pic_CXX='-pic'
   12751 	    ;;
   12752 	  *)
   12753 	    ;;
   12754 	esac
   12755 	;;
   12756       freebsd* | dragonfly*)
   12757 	# FreeBSD uses GNU C++
   12758 	;;
   12759       hpux9* | hpux10* | hpux11*)
   12760 	case $cc_basename in
   12761 	  CC*)
   12762 	    lt_prog_compiler_wl_CXX='-Wl,'
   12763 	    lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
   12764 	    if test "$host_cpu" != ia64; then
   12765 	      lt_prog_compiler_pic_CXX='+Z'
   12766 	    fi
   12767 	    ;;
   12768 	  aCC*)
   12769 	    lt_prog_compiler_wl_CXX='-Wl,'
   12770 	    lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
   12771 	    case $host_cpu in
   12772 	    hppa*64*|ia64*)
   12773 	      # +Z the default
   12774 	      ;;
   12775 	    *)
   12776 	      lt_prog_compiler_pic_CXX='+Z'
   12777 	      ;;
   12778 	    esac
   12779 	    ;;
   12780 	  *)
   12781 	    ;;
   12782 	esac
   12783 	;;
   12784       interix*)
   12785 	# This is c89, which is MS Visual C++ (no shared libs)
   12786 	# Anyone wants to do a port?
   12787 	;;
   12788       irix5* | irix6* | nonstopux*)
   12789 	case $cc_basename in
   12790 	  CC*)
   12791 	    lt_prog_compiler_wl_CXX='-Wl,'
   12792 	    lt_prog_compiler_static_CXX='-non_shared'
   12793 	    # CC pic flag -KPIC is the default.
   12794 	    ;;
   12795 	  *)
   12796 	    ;;
   12797 	esac
   12798 	;;
   12799       linux* | k*bsd*-gnu)
   12800 	case $cc_basename in
   12801 	  KCC*)
   12802 	    # KAI C++ Compiler
   12803 	    lt_prog_compiler_wl_CXX='--backend -Wl,'
   12804 	    lt_prog_compiler_pic_CXX='-fPIC'
   12805 	    ;;
   12806 	  icpc* | ecpc*)
   12807 	    # Intel C++
   12808 	    lt_prog_compiler_wl_CXX='-Wl,'
   12809 	    lt_prog_compiler_pic_CXX='-KPIC'
   12810 	    lt_prog_compiler_static_CXX='-static'
   12811 	    ;;
   12812 	  pgCC* | pgcpp*)
   12813 	    # Portland Group C++ compiler.
   12814 	    lt_prog_compiler_wl_CXX='-Wl,'
   12815 	    lt_prog_compiler_pic_CXX='-fpic'
   12816 	    lt_prog_compiler_static_CXX='-Bstatic'
   12817 	    ;;
   12818 	  cxx*)
   12819 	    # Compaq C++
   12820 	    # Make sure the PIC flag is empty.  It appears that all Alpha
   12821 	    # Linux and Compaq Tru64 Unix objects are PIC.
   12822 	    lt_prog_compiler_pic_CXX=
   12823 	    lt_prog_compiler_static_CXX='-non_shared'
   12824 	    ;;
   12825 	  *)
   12826 	    case `$CC -V 2>&1 | sed 5q` in
   12827 	    *Sun\ C*)
   12828 	      # Sun C++ 5.9
   12829 	      lt_prog_compiler_pic_CXX='-KPIC'
   12830 	      lt_prog_compiler_static_CXX='-Bstatic'
   12831 	      lt_prog_compiler_wl_CXX='-Qoption ld '
   12832 	      ;;
   12833 	    esac
   12834 	    ;;
   12835 	esac
   12836 	;;
   12837       lynxos*)
   12838 	;;
   12839       m88k*)
   12840 	;;
   12841       mvs*)
   12842 	case $cc_basename in
   12843 	  cxx*)
   12844 	    lt_prog_compiler_pic_CXX='-W c,exportall'
   12845 	    ;;
   12846 	  *)
   12847 	    ;;
   12848 	esac
   12849 	;;
   12850       netbsd*)
   12851 	;;
   12852       osf3* | osf4* | osf5*)
   12853 	case $cc_basename in
   12854 	  KCC*)
   12855 	    lt_prog_compiler_wl_CXX='--backend -Wl,'
   12856 	    ;;
   12857 	  RCC*)
   12858 	    # Rational C++ 2.4.1
   12859 	    lt_prog_compiler_pic_CXX='-pic'
   12860 	    ;;
   12861 	  cxx*)
   12862 	    # Digital/Compaq C++
   12863 	    lt_prog_compiler_wl_CXX='-Wl,'
   12864 	    # Make sure the PIC flag is empty.  It appears that all Alpha
   12865 	    # Linux and Compaq Tru64 Unix objects are PIC.
   12866 	    lt_prog_compiler_pic_CXX=
   12867 	    lt_prog_compiler_static_CXX='-non_shared'
   12868 	    ;;
   12869 	  *)
   12870 	    ;;
   12871 	esac
   12872 	;;
   12873       psos*)
   12874 	;;
   12875       solaris*)
   12876 	case $cc_basename in
   12877 	  CC*)
   12878 	    # Sun C++ 4.2, 5.x and Centerline C++
   12879 	    lt_prog_compiler_pic_CXX='-KPIC'
   12880 	    lt_prog_compiler_static_CXX='-Bstatic'
   12881 	    lt_prog_compiler_wl_CXX='-Qoption ld '
   12882 	    ;;
   12883 	  gcx*)
   12884 	    # Green Hills C++ Compiler
   12885 	    lt_prog_compiler_pic_CXX='-PIC'
   12886 	    ;;
   12887 	  *)
   12888 	    ;;
   12889 	esac
   12890 	;;
   12891       sunos4*)
   12892 	case $cc_basename in
   12893 	  CC*)
   12894 	    # Sun C++ 4.x
   12895 	    lt_prog_compiler_pic_CXX='-pic'
   12896 	    lt_prog_compiler_static_CXX='-Bstatic'
   12897 	    ;;
   12898 	  lcc*)
   12899 	    # Lucid
   12900 	    lt_prog_compiler_pic_CXX='-pic'
   12901 	    ;;
   12902 	  *)
   12903 	    ;;
   12904 	esac
   12905 	;;
   12906       tandem*)
   12907 	case $cc_basename in
   12908 	  NCC*)
   12909 	    # NonStop-UX NCC 3.20
   12910 	    lt_prog_compiler_pic_CXX='-KPIC'
   12911 	    ;;
   12912 	  *)
   12913 	    ;;
   12914 	esac
   12915 	;;
   12916       sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   12917 	case $cc_basename in
   12918 	  CC*)
   12919 	    lt_prog_compiler_wl_CXX='-Wl,'
   12920 	    lt_prog_compiler_pic_CXX='-KPIC'
   12921 	    lt_prog_compiler_static_CXX='-Bstatic'
   12922 	    ;;
   12923 	esac
   12924 	;;
   12925       vxworks*)
   12926 	;;
   12927       *)
   12928 	lt_prog_compiler_can_build_shared_CXX=no
   12929 	;;
   12930     esac
   12931   fi
   12932 
   12933 { $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
   12934 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
   12935 
   12936 #
   12937 # Check to make sure the PIC flag actually works.
   12938 #
   12939 if test -n "$lt_prog_compiler_pic_CXX"; then
   12940 
   12941 { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
   12942 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
   12943 if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then
   12944   $as_echo_n "(cached) " >&6
   12945 else
   12946   lt_cv_prog_compiler_pic_works_CXX=no
   12947   ac_outfile=conftest.$ac_objext
   12948    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   12949    lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
   12950    # Insert the option either (1) after the last *FLAGS variable, or
   12951    # (2) before a word containing "conftest.", or (3) at the end.
   12952    # Note that $ac_compile itself does not contain backslashes and begins
   12953    # with a dollar sign (not a hyphen), so the echo should work correctly.
   12954    # The option is referenced via a variable to avoid confusing sed.
   12955    lt_compile=`echo "$ac_compile" | $SED \
   12956    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   12957    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   12958    -e 's:$: $lt_compiler_flag:'`
   12959    (eval echo "\"\$as_me:12959: $lt_compile\"" >&5)
   12960    (eval "$lt_compile" 2>conftest.err)
   12961    ac_status=$?
   12962    cat conftest.err >&5
   12963    echo "$as_me:12963: \$? = $ac_status" >&5
   12964    if (exit $ac_status) && test -s "$ac_outfile"; then
   12965      # The compiler can only warn and ignore the option if not recognized
   12966      # So say no if there are warnings other than the usual output.
   12967      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   12968      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   12969      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   12970        lt_cv_prog_compiler_pic_works_CXX=yes
   12971      fi
   12972    fi
   12973    $rm conftest*
   12974 
   12975 fi
   12976 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
   12977 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
   12978 
   12979 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
   12980     case $lt_prog_compiler_pic_CXX in
   12981      "" | " "*) ;;
   12982      *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
   12983      esac
   12984 else
   12985     lt_prog_compiler_pic_CXX=
   12986      lt_prog_compiler_can_build_shared_CXX=no
   12987 fi
   12988 
   12989 fi
   12990 case $host_os in
   12991   # For platforms which do not support PIC, -DPIC is meaningless:
   12992   *djgpp*)
   12993     lt_prog_compiler_pic_CXX=
   12994     ;;
   12995   *)
   12996     lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
   12997     ;;
   12998 esac
   12999 
   13000 #
   13001 # Check to make sure the static flag actually works.
   13002 #
   13003 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
   13004 { $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   13005 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   13006 if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then
   13007   $as_echo_n "(cached) " >&6
   13008 else
   13009   lt_cv_prog_compiler_static_works_CXX=no
   13010    save_LDFLAGS="$LDFLAGS"
   13011    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   13012    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   13013    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   13014      # The linker can only warn and ignore the option if not recognized
   13015      # So say no if there are warnings
   13016      if test -s conftest.err; then
   13017        # Append any errors to the config.log.
   13018        cat conftest.err 1>&5
   13019        $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
   13020        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   13021        if diff conftest.exp conftest.er2 >/dev/null; then
   13022          lt_cv_prog_compiler_static_works_CXX=yes
   13023        fi
   13024      else
   13025        lt_cv_prog_compiler_static_works_CXX=yes
   13026      fi
   13027    fi
   13028    $rm -r conftest*
   13029    LDFLAGS="$save_LDFLAGS"
   13030 
   13031 fi
   13032 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_CXX" >&5
   13033 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
   13034 
   13035 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
   13036     :
   13037 else
   13038     lt_prog_compiler_static_CXX=
   13039 fi
   13040 
   13041 
   13042 { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
   13043 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   13044 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
   13045   $as_echo_n "(cached) " >&6
   13046 else
   13047   lt_cv_prog_compiler_c_o_CXX=no
   13048    $rm -r conftest 2>/dev/null
   13049    mkdir conftest
   13050    cd conftest
   13051    mkdir out
   13052    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   13053 
   13054    lt_compiler_flag="-o out/conftest2.$ac_objext"
   13055    # Insert the option either (1) after the last *FLAGS variable, or
   13056    # (2) before a word containing "conftest.", or (3) at the end.
   13057    # Note that $ac_compile itself does not contain backslashes and begins
   13058    # with a dollar sign (not a hyphen), so the echo should work correctly.
   13059    lt_compile=`echo "$ac_compile" | $SED \
   13060    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   13061    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   13062    -e 's:$: $lt_compiler_flag:'`
   13063    (eval echo "\"\$as_me:13063: $lt_compile\"" >&5)
   13064    (eval "$lt_compile" 2>out/conftest.err)
   13065    ac_status=$?
   13066    cat out/conftest.err >&5
   13067    echo "$as_me:13067: \$? = $ac_status" >&5
   13068    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   13069    then
   13070      # The compiler can only warn and ignore the option if not recognized
   13071      # So say no if there are warnings
   13072      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
   13073      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   13074      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   13075        lt_cv_prog_compiler_c_o_CXX=yes
   13076      fi
   13077    fi
   13078    chmod u+w . 2>&5
   13079    $rm conftest*
   13080    # SGI C++ compiler will create directory out/ii_files/ for
   13081    # template instantiation
   13082    test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
   13083    $rm out/* && rmdir out
   13084    cd ..
   13085    rmdir conftest
   13086    $rm conftest*
   13087 
   13088 fi
   13089 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
   13090 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
   13091 
   13092 
   13093 hard_links="nottested"
   13094 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
   13095   # do not overwrite the value of need_locks provided by the user
   13096   { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
   13097 $as_echo_n "checking if we can lock with hard links... " >&6; }
   13098   hard_links=yes
   13099   $rm conftest*
   13100   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   13101   touch conftest.a
   13102   ln conftest.a conftest.b 2>&5 || hard_links=no
   13103   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   13104   { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
   13105 $as_echo "$hard_links" >&6; }
   13106   if test "$hard_links" = no; then
   13107     { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   13108 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   13109     need_locks=warn
   13110   fi
   13111 else
   13112   need_locks=no
   13113 fi
   13114 
   13115 { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   13116 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   13117 
   13118   export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   13119   case $host_os in
   13120   aix[4-9]*)
   13121     # If we're using GNU nm, then we don't want the "-C" option.
   13122     # -C means demangle to AIX nm, but means don't demangle with GNU nm
   13123     if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
   13124       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'
   13125     else
   13126       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'
   13127     fi
   13128     ;;
   13129   pw32*)
   13130     export_symbols_cmds_CXX="$ltdll_cmds"
   13131   ;;
   13132   cygwin* | mingw*)
   13133     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'
   13134   ;;
   13135   *)
   13136     export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   13137   ;;
   13138   esac
   13139   exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   13140 
   13141 { $as_echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
   13142 $as_echo "$ld_shlibs_CXX" >&6; }
   13143 test "$ld_shlibs_CXX" = no && can_build_shared=no
   13144 
   13145 #
   13146 # Do we need to explicitly link libc?
   13147 #
   13148 case "x$archive_cmds_need_lc_CXX" in
   13149 x|xyes)
   13150   # Assume -lc should be added
   13151   archive_cmds_need_lc_CXX=yes
   13152 
   13153   if test "$enable_shared" = yes && test "$GCC" = yes; then
   13154     case $archive_cmds_CXX in
   13155     *'~'*)
   13156       # FIXME: we may have to deal with multi-command sequences.
   13157       ;;
   13158     '$CC '*)
   13159       # Test whether the compiler implicitly links with -lc since on some
   13160       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   13161       # to ld, don't add -lc before -lgcc.
   13162       { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
   13163 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
   13164       $rm conftest*
   13165       echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   13166 
   13167       if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   13168   (eval $ac_compile) 2>&5
   13169   ac_status=$?
   13170   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   13171   (exit $ac_status); } 2>conftest.err; then
   13172         soname=conftest
   13173         lib=conftest
   13174         libobjs=conftest.$ac_objext
   13175         deplibs=
   13176         wl=$lt_prog_compiler_wl_CXX
   13177 	pic_flag=$lt_prog_compiler_pic_CXX
   13178         compiler_flags=-v
   13179         linker_flags=-v
   13180         verstring=
   13181         output_objdir=.
   13182         libname=conftest
   13183         lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
   13184         allow_undefined_flag_CXX=
   13185         if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
   13186   (eval $archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
   13187   ac_status=$?
   13188   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   13189   (exit $ac_status); }
   13190         then
   13191 	  archive_cmds_need_lc_CXX=no
   13192         else
   13193 	  archive_cmds_need_lc_CXX=yes
   13194         fi
   13195         allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
   13196       else
   13197         cat conftest.err 1>&5
   13198       fi
   13199       $rm conftest*
   13200       { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
   13201 $as_echo "$archive_cmds_need_lc_CXX" >&6; }
   13202       ;;
   13203     esac
   13204   fi
   13205   ;;
   13206 esac
   13207 
   13208 { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
   13209 $as_echo_n "checking dynamic linker characteristics... " >&6; }
   13210 library_names_spec=
   13211 libname_spec='lib$name'
   13212 soname_spec=
   13213 shrext_cmds=".so"
   13214 postinstall_cmds=
   13215 postuninstall_cmds=
   13216 finish_cmds=
   13217 finish_eval=
   13218 shlibpath_var=
   13219 shlibpath_overrides_runpath=unknown
   13220 version_type=none
   13221 dynamic_linker="$host_os ld.so"
   13222 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   13223 
   13224 need_lib_prefix=unknown
   13225 hardcode_into_libs=no
   13226 
   13227 # when you set need_version to no, make sure it does not cause -set_version
   13228 # flags to be left without arguments
   13229 need_version=unknown
   13230 
   13231 case $host_os in
   13232 aix3*)
   13233   version_type=linux
   13234   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   13235   shlibpath_var=LIBPATH
   13236 
   13237   # AIX 3 has no versioning support, so we append a major version to the name.
   13238   soname_spec='${libname}${release}${shared_ext}$major'
   13239   ;;
   13240 
   13241 aix[4-9]*)
   13242   version_type=linux
   13243   need_lib_prefix=no
   13244   need_version=no
   13245   hardcode_into_libs=yes
   13246   if test "$host_cpu" = ia64; then
   13247     # AIX 5 supports IA64
   13248     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
   13249     shlibpath_var=LD_LIBRARY_PATH
   13250   else
   13251     # With GCC up to 2.95.x, collect2 would create an import file
   13252     # for dependence libraries.  The import file would start with
   13253     # the line `#! .'.  This would cause the generated library to
   13254     # depend on `.', always an invalid library.  This was fixed in
   13255     # development snapshots of GCC prior to 3.0.
   13256     case $host_os in
   13257       aix4 | aix4.[01] | aix4.[01].*)
   13258       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   13259 	   echo ' yes '
   13260 	   echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
   13261 	:
   13262       else
   13263 	can_build_shared=no
   13264       fi
   13265       ;;
   13266     esac
   13267     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
   13268     # soname into executable. Probably we can add versioning support to
   13269     # collect2, so additional links can be useful in future.
   13270     if test "$aix_use_runtimelinking" = yes; then
   13271       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   13272       # instead of lib<name>.a to let people know that these are not
   13273       # typical AIX shared libraries.
   13274       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13275     else
   13276       # We preserve .a as extension for shared libraries through AIX4.2
   13277       # and later when we are not doing run time linking.
   13278       library_names_spec='${libname}${release}.a $libname.a'
   13279       soname_spec='${libname}${release}${shared_ext}$major'
   13280     fi
   13281     shlibpath_var=LIBPATH
   13282   fi
   13283   ;;
   13284 
   13285 amigaos*)
   13286   library_names_spec='$libname.ixlibrary $libname.a'
   13287   # Create ${libname}_ixlibrary.a entries in /sys/libs.
   13288   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'
   13289   ;;
   13290 
   13291 beos*)
   13292   library_names_spec='${libname}${shared_ext}'
   13293   dynamic_linker="$host_os ld.so"
   13294   shlibpath_var=LIBRARY_PATH
   13295   ;;
   13296 
   13297 bsdi[45]*)
   13298   version_type=linux
   13299   need_version=no
   13300   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13301   soname_spec='${libname}${release}${shared_ext}$major'
   13302   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   13303   shlibpath_var=LD_LIBRARY_PATH
   13304   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   13305   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   13306   # the default ld.so.conf also contains /usr/contrib/lib and
   13307   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   13308   # libtool to hard-code these into programs
   13309   ;;
   13310 
   13311 cygwin* | mingw* | pw32*)
   13312   version_type=windows
   13313   shrext_cmds=".dll"
   13314   need_version=no
   13315   need_lib_prefix=no
   13316 
   13317   case $GCC,$host_os in
   13318   yes,cygwin* | yes,mingw* | yes,pw32*)
   13319     library_names_spec='$libname.dll.a'
   13320     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   13321     postinstall_cmds='base_file=`basename \${file}`~
   13322       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
   13323       dldir=$destdir/`dirname \$dlpath`~
   13324       test -d \$dldir || mkdir -p \$dldir~
   13325       $install_prog $dir/$dlname \$dldir/$dlname~
   13326       chmod a+x \$dldir/$dlname'
   13327     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   13328       dlpath=$dir/\$dldll~
   13329        $rm \$dlpath'
   13330     shlibpath_overrides_runpath=yes
   13331 
   13332     case $host_os in
   13333     cygwin*)
   13334       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   13335       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   13336       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
   13337       ;;
   13338     mingw*)
   13339       # MinGW DLLs use traditional 'lib' prefix
   13340       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   13341       sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   13342       if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
   13343         # It is most probably a Windows format PATH printed by
   13344         # mingw gcc, but we are running on Cygwin. Gcc prints its search
   13345         # path with ; separators, and with drive letters. We can handle the
   13346         # drive letters (cygwin fileutils understands them), so leave them,
   13347         # especially as we might pass files found there to a mingw objdump,
   13348         # which wouldn't understand a cygwinified path. Ahh.
   13349         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   13350       else
   13351         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   13352       fi
   13353       ;;
   13354     pw32*)
   13355       # pw32 DLLs use 'pw' prefix rather than 'lib'
   13356       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   13357       ;;
   13358     esac
   13359     ;;
   13360 
   13361   *)
   13362     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
   13363     ;;
   13364   esac
   13365   dynamic_linker='Win32 ld.exe'
   13366   # FIXME: first we should search . and the directory the executable is in
   13367   shlibpath_var=PATH
   13368   ;;
   13369 
   13370 darwin* | rhapsody*)
   13371   dynamic_linker="$host_os dyld"
   13372   version_type=darwin
   13373   need_lib_prefix=no
   13374   need_version=no
   13375   library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
   13376   soname_spec='${libname}${release}${major}$shared_ext'
   13377   shlibpath_overrides_runpath=yes
   13378   shlibpath_var=DYLD_LIBRARY_PATH
   13379   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   13380 
   13381   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   13382   ;;
   13383 
   13384 dgux*)
   13385   version_type=linux
   13386   need_lib_prefix=no
   13387   need_version=no
   13388   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
   13389   soname_spec='${libname}${release}${shared_ext}$major'
   13390   shlibpath_var=LD_LIBRARY_PATH
   13391   ;;
   13392 
   13393 freebsd1*)
   13394   dynamic_linker=no
   13395   ;;
   13396 
   13397 freebsd* | dragonfly*)
   13398   # DragonFly does not have aout.  When/if they implement a new
   13399   # versioning mechanism, adjust this.
   13400   if test -x /usr/bin/objformat; then
   13401     objformat=`/usr/bin/objformat`
   13402   else
   13403     case $host_os in
   13404     freebsd[123]*) objformat=aout ;;
   13405     *) objformat=elf ;;
   13406     esac
   13407   fi
   13408   version_type=freebsd-$objformat
   13409   case $version_type in
   13410     freebsd-elf*)
   13411       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   13412       need_version=no
   13413       need_lib_prefix=no
   13414       ;;
   13415     freebsd-*)
   13416       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
   13417       need_version=yes
   13418       ;;
   13419   esac
   13420   shlibpath_var=LD_LIBRARY_PATH
   13421   case $host_os in
   13422   freebsd2*)
   13423     shlibpath_overrides_runpath=yes
   13424     ;;
   13425   freebsd3.[01]* | freebsdelf3.[01]*)
   13426     shlibpath_overrides_runpath=yes
   13427     hardcode_into_libs=yes
   13428     ;;
   13429   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   13430   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   13431     shlibpath_overrides_runpath=no
   13432     hardcode_into_libs=yes
   13433     ;;
   13434   *) # from 4.6 on, and DragonFly
   13435     shlibpath_overrides_runpath=yes
   13436     hardcode_into_libs=yes
   13437     ;;
   13438   esac
   13439   ;;
   13440 
   13441 gnu*)
   13442   version_type=linux
   13443   need_lib_prefix=no
   13444   need_version=no
   13445   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   13446   soname_spec='${libname}${release}${shared_ext}$major'
   13447   shlibpath_var=LD_LIBRARY_PATH
   13448   hardcode_into_libs=yes
   13449   ;;
   13450 
   13451 hpux9* | hpux10* | hpux11*)
   13452   # Give a soname corresponding to the major version so that dld.sl refuses to
   13453   # link against other versions.
   13454   version_type=sunos
   13455   need_lib_prefix=no
   13456   need_version=no
   13457   case $host_cpu in
   13458   ia64*)
   13459     shrext_cmds='.so'
   13460     hardcode_into_libs=yes
   13461     dynamic_linker="$host_os dld.so"
   13462     shlibpath_var=LD_LIBRARY_PATH
   13463     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   13464     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13465     soname_spec='${libname}${release}${shared_ext}$major'
   13466     if test "X$HPUX_IA64_MODE" = X32; then
   13467       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   13468     else
   13469       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   13470     fi
   13471     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   13472     ;;
   13473    hppa*64*)
   13474      shrext_cmds='.sl'
   13475      hardcode_into_libs=yes
   13476      dynamic_linker="$host_os dld.sl"
   13477      shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   13478      shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   13479      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13480      soname_spec='${libname}${release}${shared_ext}$major'
   13481      sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   13482      sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   13483      ;;
   13484    *)
   13485     shrext_cmds='.sl'
   13486     dynamic_linker="$host_os dld.sl"
   13487     shlibpath_var=SHLIB_PATH
   13488     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   13489     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13490     soname_spec='${libname}${release}${shared_ext}$major'
   13491     ;;
   13492   esac
   13493   # HP-UX runs *really* slowly unless shared libraries are mode 555.
   13494   postinstall_cmds='chmod 555 $lib'
   13495   ;;
   13496 
   13497 interix[3-9]*)
   13498   version_type=linux
   13499   need_lib_prefix=no
   13500   need_version=no
   13501   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   13502   soname_spec='${libname}${release}${shared_ext}$major'
   13503   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   13504   shlibpath_var=LD_LIBRARY_PATH
   13505   shlibpath_overrides_runpath=no
   13506   hardcode_into_libs=yes
   13507   ;;
   13508 
   13509 irix5* | irix6* | nonstopux*)
   13510   case $host_os in
   13511     nonstopux*) version_type=nonstopux ;;
   13512     *)
   13513 	if test "$lt_cv_prog_gnu_ld" = yes; then
   13514 		version_type=linux
   13515 	else
   13516 		version_type=irix
   13517 	fi ;;
   13518   esac
   13519   need_lib_prefix=no
   13520   need_version=no
   13521   soname_spec='${libname}${release}${shared_ext}$major'
   13522   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
   13523   case $host_os in
   13524   irix5* | nonstopux*)
   13525     libsuff= shlibsuff=
   13526     ;;
   13527   *)
   13528     case $LD in # libtool.m4 will add one of these switches to LD
   13529     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   13530       libsuff= shlibsuff= libmagic=32-bit;;
   13531     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   13532       libsuff=32 shlibsuff=N32 libmagic=N32;;
   13533     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   13534       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   13535     *) libsuff= shlibsuff= libmagic=never-match;;
   13536     esac
   13537     ;;
   13538   esac
   13539   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   13540   shlibpath_overrides_runpath=no
   13541   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   13542   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   13543   hardcode_into_libs=yes
   13544   ;;
   13545 
   13546 # No shared lib support for Linux oldld, aout, or coff.
   13547 linux*oldld* | linux*aout* | linux*coff*)
   13548   dynamic_linker=no
   13549   ;;
   13550 
   13551 # This must be Linux ELF.
   13552 linux* | k*bsd*-gnu)
   13553   version_type=linux
   13554   need_lib_prefix=no
   13555   need_version=no
   13556   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13557   soname_spec='${libname}${release}${shared_ext}$major'
   13558   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   13559   shlibpath_var=LD_LIBRARY_PATH
   13560   shlibpath_overrides_runpath=no
   13561   # This implies no fast_install, which is unacceptable.
   13562   # Some rework will be needed to allow for fast_install
   13563   # before this can be enabled.
   13564   hardcode_into_libs=yes
   13565 
   13566   # Append ld.so.conf contents to the search path
   13567   if test -f /etc/ld.so.conf; then
   13568     lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ 	]*hwcap[ 	]/d;s/[:,	]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
   13569     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   13570   fi
   13571 
   13572   # We used to test for /lib/ld.so.1 and disable shared libraries on
   13573   # powerpc, because MkLinux only supported shared libraries with the
   13574   # GNU dynamic linker.  Since this was broken with cross compilers,
   13575   # most powerpc-linux boxes support dynamic linking these days and
   13576   # people can always --disable-shared, the test was removed, and we
   13577   # assume the GNU/Linux dynamic linker is in use.
   13578   dynamic_linker='GNU/Linux ld.so'
   13579   ;;
   13580 
   13581 netbsd*)
   13582   version_type=sunos
   13583   need_lib_prefix=no
   13584   need_version=no
   13585   if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   13586     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   13587     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   13588     dynamic_linker='NetBSD (a.out) ld.so'
   13589   else
   13590     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   13591     soname_spec='${libname}${release}${shared_ext}$major'
   13592     dynamic_linker='NetBSD ld.elf_so'
   13593   fi
   13594   shlibpath_var=LD_LIBRARY_PATH
   13595   shlibpath_overrides_runpath=yes
   13596   hardcode_into_libs=yes
   13597   ;;
   13598 
   13599 newsos6)
   13600   version_type=linux
   13601   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13602   shlibpath_var=LD_LIBRARY_PATH
   13603   shlibpath_overrides_runpath=yes
   13604   ;;
   13605 
   13606 nto-qnx*)
   13607   version_type=linux
   13608   need_lib_prefix=no
   13609   need_version=no
   13610   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13611   soname_spec='${libname}${release}${shared_ext}$major'
   13612   shlibpath_var=LD_LIBRARY_PATH
   13613   shlibpath_overrides_runpath=yes
   13614   ;;
   13615 
   13616 openbsd*)
   13617   version_type=sunos
   13618   sys_lib_dlsearch_path_spec="/usr/lib"
   13619   need_lib_prefix=no
   13620   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
   13621   case $host_os in
   13622     openbsd3.3 | openbsd3.3.*) need_version=yes ;;
   13623     *)                         need_version=no  ;;
   13624   esac
   13625   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   13626   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   13627   shlibpath_var=LD_LIBRARY_PATH
   13628   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   13629     case $host_os in
   13630       openbsd2.[89] | openbsd2.[89].*)
   13631 	shlibpath_overrides_runpath=no
   13632 	;;
   13633       *)
   13634 	shlibpath_overrides_runpath=yes
   13635 	;;
   13636       esac
   13637   else
   13638     shlibpath_overrides_runpath=yes
   13639   fi
   13640   ;;
   13641 
   13642 os2*)
   13643   libname_spec='$name'
   13644   shrext_cmds=".dll"
   13645   need_lib_prefix=no
   13646   library_names_spec='$libname${shared_ext} $libname.a'
   13647   dynamic_linker='OS/2 ld.exe'
   13648   shlibpath_var=LIBPATH
   13649   ;;
   13650 
   13651 osf3* | osf4* | osf5*)
   13652   version_type=osf
   13653   need_lib_prefix=no
   13654   need_version=no
   13655   soname_spec='${libname}${release}${shared_ext}$major'
   13656   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13657   shlibpath_var=LD_LIBRARY_PATH
   13658   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   13659   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   13660   ;;
   13661 
   13662 rdos*)
   13663   dynamic_linker=no
   13664   ;;
   13665 
   13666 solaris*)
   13667   version_type=linux
   13668   need_lib_prefix=no
   13669   need_version=no
   13670   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13671   soname_spec='${libname}${release}${shared_ext}$major'
   13672   shlibpath_var=LD_LIBRARY_PATH
   13673   shlibpath_overrides_runpath=yes
   13674   hardcode_into_libs=yes
   13675   # ldd complains unless libraries are executable
   13676   postinstall_cmds='chmod +x $lib'
   13677   ;;
   13678 
   13679 sunos4*)
   13680   version_type=sunos
   13681   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   13682   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   13683   shlibpath_var=LD_LIBRARY_PATH
   13684   shlibpath_overrides_runpath=yes
   13685   if test "$with_gnu_ld" = yes; then
   13686     need_lib_prefix=no
   13687   fi
   13688   need_version=yes
   13689   ;;
   13690 
   13691 sysv4 | sysv4.3*)
   13692   version_type=linux
   13693   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13694   soname_spec='${libname}${release}${shared_ext}$major'
   13695   shlibpath_var=LD_LIBRARY_PATH
   13696   case $host_vendor in
   13697     sni)
   13698       shlibpath_overrides_runpath=no
   13699       need_lib_prefix=no
   13700       export_dynamic_flag_spec='${wl}-Blargedynsym'
   13701       runpath_var=LD_RUN_PATH
   13702       ;;
   13703     siemens)
   13704       need_lib_prefix=no
   13705       ;;
   13706     motorola)
   13707       need_lib_prefix=no
   13708       need_version=no
   13709       shlibpath_overrides_runpath=no
   13710       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   13711       ;;
   13712   esac
   13713   ;;
   13714 
   13715 sysv4*MP*)
   13716   if test -d /usr/nec ;then
   13717     version_type=linux
   13718     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
   13719     soname_spec='$libname${shared_ext}.$major'
   13720     shlibpath_var=LD_LIBRARY_PATH
   13721   fi
   13722   ;;
   13723 
   13724 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   13725   version_type=freebsd-elf
   13726   need_lib_prefix=no
   13727   need_version=no
   13728   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   13729   soname_spec='${libname}${release}${shared_ext}$major'
   13730   shlibpath_var=LD_LIBRARY_PATH
   13731   hardcode_into_libs=yes
   13732   if test "$with_gnu_ld" = yes; then
   13733     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   13734     shlibpath_overrides_runpath=no
   13735   else
   13736     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   13737     shlibpath_overrides_runpath=yes
   13738     case $host_os in
   13739       sco3.2v5*)
   13740         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   13741 	;;
   13742     esac
   13743   fi
   13744   sys_lib_dlsearch_path_spec='/usr/lib'
   13745   ;;
   13746 
   13747 uts4*)
   13748   version_type=linux
   13749   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13750   soname_spec='${libname}${release}${shared_ext}$major'
   13751   shlibpath_var=LD_LIBRARY_PATH
   13752   ;;
   13753 
   13754 *)
   13755   dynamic_linker=no
   13756   ;;
   13757 esac
   13758 { $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
   13759 $as_echo "$dynamic_linker" >&6; }
   13760 test "$dynamic_linker" = no && can_build_shared=no
   13761 
   13762 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
   13763   $as_echo_n "(cached) " >&6
   13764 else
   13765   lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
   13766 fi
   13767 
   13768 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
   13769 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
   13770   $as_echo_n "(cached) " >&6
   13771 else
   13772   lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
   13773 fi
   13774 
   13775 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
   13776 
   13777 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   13778 if test "$GCC" = yes; then
   13779   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   13780 fi
   13781 
   13782 { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
   13783 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
   13784 hardcode_action_CXX=
   13785 if test -n "$hardcode_libdir_flag_spec_CXX" || \
   13786    test -n "$runpath_var_CXX" || \
   13787    test "X$hardcode_automatic_CXX" = "Xyes" ; then
   13788 
   13789   # We can hardcode non-existant directories.
   13790   if test "$hardcode_direct_CXX" != no &&
   13791      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   13792      # have to relink, otherwise we might link with an installed library
   13793      # when we should be linking with a yet-to-be-installed one
   13794      ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
   13795      test "$hardcode_minus_L_CXX" != no; then
   13796     # Linking always hardcodes the temporary library directory.
   13797     hardcode_action_CXX=relink
   13798   else
   13799     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   13800     hardcode_action_CXX=immediate
   13801   fi
   13802 else
   13803   # We cannot hardcode anything, or else we can only hardcode existing
   13804   # directories.
   13805   hardcode_action_CXX=unsupported
   13806 fi
   13807 { $as_echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
   13808 $as_echo "$hardcode_action_CXX" >&6; }
   13809 
   13810 if test "$hardcode_action_CXX" = relink; then
   13811   # Fast installation is not supported
   13812   enable_fast_install=no
   13813 elif test "$shlibpath_overrides_runpath" = yes ||
   13814      test "$enable_shared" = no; then
   13815   # Fast installation is not necessary
   13816   enable_fast_install=needless
   13817 fi
   13818 
   13819 
   13820 # The else clause should only fire when bootstrapping the
   13821 # libtool distribution, otherwise you forgot to ship ltmain.sh
   13822 # with your package, and you will get complaints that there are
   13823 # no rules to generate ltmain.sh.
   13824 if test -f "$ltmain"; then
   13825   # See if we are running on zsh, and set the options which allow our commands through
   13826   # without removal of \ escapes.
   13827   if test -n "${ZSH_VERSION+set}" ; then
   13828     setopt NO_GLOB_SUBST
   13829   fi
   13830   # Now quote all the things that may contain metacharacters while being
   13831   # careful not to overquote the AC_SUBSTed values.  We take copies of the
   13832   # variables and quote the copies for generation of the libtool script.
   13833   for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
   13834     SED SHELL STRIP \
   13835     libname_spec library_names_spec soname_spec extract_expsyms_cmds \
   13836     old_striplib striplib file_magic_cmd finish_cmds finish_eval \
   13837     deplibs_check_method reload_flag reload_cmds need_locks \
   13838     lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
   13839     lt_cv_sys_global_symbol_to_c_name_address \
   13840     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
   13841     old_postinstall_cmds old_postuninstall_cmds \
   13842     compiler_CXX \
   13843     CC_CXX \
   13844     LD_CXX \
   13845     lt_prog_compiler_wl_CXX \
   13846     lt_prog_compiler_pic_CXX \
   13847     lt_prog_compiler_static_CXX \
   13848     lt_prog_compiler_no_builtin_flag_CXX \
   13849     export_dynamic_flag_spec_CXX \
   13850     thread_safe_flag_spec_CXX \
   13851     whole_archive_flag_spec_CXX \
   13852     enable_shared_with_static_runtimes_CXX \
   13853     old_archive_cmds_CXX \
   13854     old_archive_from_new_cmds_CXX \
   13855     predep_objects_CXX \
   13856     postdep_objects_CXX \
   13857     predeps_CXX \
   13858     postdeps_CXX \
   13859     compiler_lib_search_path_CXX \
   13860     compiler_lib_search_dirs_CXX \
   13861     archive_cmds_CXX \
   13862     archive_expsym_cmds_CXX \
   13863     postinstall_cmds_CXX \
   13864     postuninstall_cmds_CXX \
   13865     old_archive_from_expsyms_cmds_CXX \
   13866     allow_undefined_flag_CXX \
   13867     no_undefined_flag_CXX \
   13868     export_symbols_cmds_CXX \
   13869     hardcode_libdir_flag_spec_CXX \
   13870     hardcode_libdir_flag_spec_ld_CXX \
   13871     hardcode_libdir_separator_CXX \
   13872     hardcode_automatic_CXX \
   13873     module_cmds_CXX \
   13874     module_expsym_cmds_CXX \
   13875     lt_cv_prog_compiler_c_o_CXX \
   13876     fix_srcfile_path_CXX \
   13877     exclude_expsyms_CXX \
   13878     include_expsyms_CXX; do
   13879 
   13880     case $var in
   13881     old_archive_cmds_CXX | \
   13882     old_archive_from_new_cmds_CXX | \
   13883     archive_cmds_CXX | \
   13884     archive_expsym_cmds_CXX | \
   13885     module_cmds_CXX | \
   13886     module_expsym_cmds_CXX | \
   13887     old_archive_from_expsyms_cmds_CXX | \
   13888     export_symbols_cmds_CXX | \
   13889     extract_expsyms_cmds | reload_cmds | finish_cmds | \
   13890     postinstall_cmds | postuninstall_cmds | \
   13891     old_postinstall_cmds | old_postuninstall_cmds | \
   13892     sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
   13893       # Double-quote double-evaled strings.
   13894       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
   13895       ;;
   13896     *)
   13897       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
   13898       ;;
   13899     esac
   13900   done
   13901 
   13902   case $lt_echo in
   13903   *'\$0 --fallback-echo"')
   13904     lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
   13905     ;;
   13906   esac
   13907 
   13908 cfgfile="$ofile"
   13909 
   13910   cat <<__EOF__ >> "$cfgfile"
   13911 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
   13912 
   13913 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   13914 
   13915 # Shell to use when invoking shell scripts.
   13916 SHELL=$lt_SHELL
   13917 
   13918 # Whether or not to build shared libraries.
   13919 build_libtool_libs=$enable_shared
   13920 
   13921 # Whether or not to build static libraries.
   13922 build_old_libs=$enable_static
   13923 
   13924 # Whether or not to add -lc for building shared libraries.
   13925 build_libtool_need_lc=$archive_cmds_need_lc_CXX
   13926 
   13927 # Whether or not to disallow shared libs when runtime libs are static
   13928 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
   13929 
   13930 # Whether or not to optimize for fast installation.
   13931 fast_install=$enable_fast_install
   13932 
   13933 # The host system.
   13934 host_alias=$host_alias
   13935 host=$host
   13936 host_os=$host_os
   13937 
   13938 # The build system.
   13939 build_alias=$build_alias
   13940 build=$build
   13941 build_os=$build_os
   13942 
   13943 # An echo program that does not interpret backslashes.
   13944 echo=$lt_echo
   13945 
   13946 # The archiver.
   13947 AR=$lt_AR
   13948 AR_FLAGS=$lt_AR_FLAGS
   13949 
   13950 # A C compiler.
   13951 LTCC=$lt_LTCC
   13952 
   13953 # LTCC compiler flags.
   13954 LTCFLAGS=$lt_LTCFLAGS
   13955 
   13956 # A language-specific compiler.
   13957 CC=$lt_compiler_CXX
   13958 
   13959 # Is the compiler the GNU C compiler?
   13960 with_gcc=$GCC_CXX
   13961 
   13962 # An ERE matcher.
   13963 EGREP=$lt_EGREP
   13964 
   13965 # The linker used to build libraries.
   13966 LD=$lt_LD_CXX
   13967 
   13968 # Whether we need hard or soft links.
   13969 LN_S=$lt_LN_S
   13970 
   13971 # A BSD-compatible nm program.
   13972 NM=$lt_NM
   13973 
   13974 # A symbol stripping program
   13975 STRIP=$lt_STRIP
   13976 
   13977 # Used to examine libraries when file_magic_cmd begins "file"
   13978 MAGIC_CMD=$MAGIC_CMD
   13979 
   13980 # Used on cygwin: DLL creation program.
   13981 DLLTOOL="$DLLTOOL"
   13982 
   13983 # Used on cygwin: object dumper.
   13984 OBJDUMP="$OBJDUMP"
   13985 
   13986 # Used on cygwin: assembler.
   13987 AS="$AS"
   13988 
   13989 # The name of the directory that contains temporary libtool files.
   13990 objdir=$objdir
   13991 
   13992 # How to create reloadable object files.
   13993 reload_flag=$lt_reload_flag
   13994 reload_cmds=$lt_reload_cmds
   13995 
   13996 # How to pass a linker flag through the compiler.
   13997 wl=$lt_lt_prog_compiler_wl_CXX
   13998 
   13999 # Object file suffix (normally "o").
   14000 objext="$ac_objext"
   14001 
   14002 # Old archive suffix (normally "a").
   14003 libext="$libext"
   14004 
   14005 # Shared library suffix (normally ".so").
   14006 shrext_cmds='$shrext_cmds'
   14007 
   14008 # Executable file suffix (normally "").
   14009 exeext="$exeext"
   14010 
   14011 # Additional compiler flags for building library objects.
   14012 pic_flag=$lt_lt_prog_compiler_pic_CXX
   14013 pic_mode=$pic_mode
   14014 
   14015 # What is the maximum length of a command?
   14016 max_cmd_len=$lt_cv_sys_max_cmd_len
   14017 
   14018 # Does compiler simultaneously support -c and -o options?
   14019 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
   14020 
   14021 # Must we lock files when doing compilation?
   14022 need_locks=$lt_need_locks
   14023 
   14024 # Do we need the lib prefix for modules?
   14025 need_lib_prefix=$need_lib_prefix
   14026 
   14027 # Do we need a version for libraries?
   14028 need_version=$need_version
   14029 
   14030 # Whether dlopen is supported.
   14031 dlopen_support=$enable_dlopen
   14032 
   14033 # Whether dlopen of programs is supported.
   14034 dlopen_self=$enable_dlopen_self
   14035 
   14036 # Whether dlopen of statically linked programs is supported.
   14037 dlopen_self_static=$enable_dlopen_self_static
   14038 
   14039 # Compiler flag to prevent dynamic linking.
   14040 link_static_flag=$lt_lt_prog_compiler_static_CXX
   14041 
   14042 # Compiler flag to turn off builtin functions.
   14043 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
   14044 
   14045 # Compiler flag to allow reflexive dlopens.
   14046 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
   14047 
   14048 # Compiler flag to generate shared objects directly from archives.
   14049 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
   14050 
   14051 # Compiler flag to generate thread-safe objects.
   14052 thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
   14053 
   14054 # Library versioning type.
   14055 version_type=$version_type
   14056 
   14057 # Format of library name prefix.
   14058 libname_spec=$lt_libname_spec
   14059 
   14060 # List of archive names.  First name is the real one, the rest are links.
   14061 # The last name is the one that the linker finds with -lNAME.
   14062 library_names_spec=$lt_library_names_spec
   14063 
   14064 # The coded name of the library, if different from the real name.
   14065 soname_spec=$lt_soname_spec
   14066 
   14067 # Commands used to build and install an old-style archive.
   14068 RANLIB=$lt_RANLIB
   14069 old_archive_cmds=$lt_old_archive_cmds_CXX
   14070 old_postinstall_cmds=$lt_old_postinstall_cmds
   14071 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   14072 
   14073 # Create an old-style archive from a shared archive.
   14074 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
   14075 
   14076 # Create a temporary old-style archive to link instead of a shared archive.
   14077 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
   14078 
   14079 # Commands used to build and install a shared archive.
   14080 archive_cmds=$lt_archive_cmds_CXX
   14081 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
   14082 postinstall_cmds=$lt_postinstall_cmds
   14083 postuninstall_cmds=$lt_postuninstall_cmds
   14084 
   14085 # Commands used to build a loadable module (assumed same as above if empty)
   14086 module_cmds=$lt_module_cmds_CXX
   14087 module_expsym_cmds=$lt_module_expsym_cmds_CXX
   14088 
   14089 # Commands to strip libraries.
   14090 old_striplib=$lt_old_striplib
   14091 striplib=$lt_striplib
   14092 
   14093 # Dependencies to place before the objects being linked to create a
   14094 # shared library.
   14095 predep_objects=$lt_predep_objects_CXX
   14096 
   14097 # Dependencies to place after the objects being linked to create a
   14098 # shared library.
   14099 postdep_objects=$lt_postdep_objects_CXX
   14100 
   14101 # Dependencies to place before the objects being linked to create a
   14102 # shared library.
   14103 predeps=$lt_predeps_CXX
   14104 
   14105 # Dependencies to place after the objects being linked to create a
   14106 # shared library.
   14107 postdeps=$lt_postdeps_CXX
   14108 
   14109 # The directories searched by this compiler when creating a shared
   14110 # library
   14111 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
   14112 
   14113 # The library search path used internally by the compiler when linking
   14114 # a shared library.
   14115 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
   14116 
   14117 # Method to check whether dependent libraries are shared objects.
   14118 deplibs_check_method=$lt_deplibs_check_method
   14119 
   14120 # Command to use when deplibs_check_method == file_magic.
   14121 file_magic_cmd=$lt_file_magic_cmd
   14122 
   14123 # Flag that allows shared libraries with undefined symbols to be built.
   14124 allow_undefined_flag=$lt_allow_undefined_flag_CXX
   14125 
   14126 # Flag that forces no undefined symbols.
   14127 no_undefined_flag=$lt_no_undefined_flag_CXX
   14128 
   14129 # Commands used to finish a libtool library installation in a directory.
   14130 finish_cmds=$lt_finish_cmds
   14131 
   14132 # Same as above, but a single script fragment to be evaled but not shown.
   14133 finish_eval=$lt_finish_eval
   14134 
   14135 # Take the output of nm and produce a listing of raw symbols and C names.
   14136 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   14137 
   14138 # Transform the output of nm in a proper C declaration
   14139 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   14140 
   14141 # Transform the output of nm in a C name address pair
   14142 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   14143 
   14144 # This is the shared library runtime path variable.
   14145 runpath_var=$runpath_var
   14146 
   14147 # This is the shared library path variable.
   14148 shlibpath_var=$shlibpath_var
   14149 
   14150 # Is shlibpath searched before the hard-coded library search path?
   14151 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   14152 
   14153 # How to hardcode a shared library path into an executable.
   14154 hardcode_action=$hardcode_action_CXX
   14155 
   14156 # Whether we should hardcode library paths into libraries.
   14157 hardcode_into_libs=$hardcode_into_libs
   14158 
   14159 # Flag to hardcode \$libdir into a binary during linking.
   14160 # This must work even if \$libdir does not exist.
   14161 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
   14162 
   14163 # If ld is used when linking, flag to hardcode \$libdir into
   14164 # a binary during linking. This must work even if \$libdir does
   14165 # not exist.
   14166 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
   14167 
   14168 # Whether we need a single -rpath flag with a separated argument.
   14169 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
   14170 
   14171 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
   14172 # resulting binary.
   14173 hardcode_direct=$hardcode_direct_CXX
   14174 
   14175 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
   14176 # resulting binary.
   14177 hardcode_minus_L=$hardcode_minus_L_CXX
   14178 
   14179 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
   14180 # the resulting binary.
   14181 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
   14182 
   14183 # Set to yes if building a shared library automatically hardcodes DIR into the library
   14184 # and all subsequent libraries and executables linked against it.
   14185 hardcode_automatic=$hardcode_automatic_CXX
   14186 
   14187 # Variables whose values should be saved in libtool wrapper scripts and
   14188 # restored at relink time.
   14189 variables_saved_for_relink="$variables_saved_for_relink"
   14190 
   14191 # Whether libtool must link a program against all its dependency libraries.
   14192 link_all_deplibs=$link_all_deplibs_CXX
   14193 
   14194 # Compile-time system search path for libraries
   14195 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   14196 
   14197 # Run-time system search path for libraries
   14198 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   14199 
   14200 # Fix the shell variable \$srcfile for the compiler.
   14201 fix_srcfile_path=$lt_fix_srcfile_path
   14202 
   14203 # Set to yes if exported symbols are required.
   14204 always_export_symbols=$always_export_symbols_CXX
   14205 
   14206 # The commands to list exported symbols.
   14207 export_symbols_cmds=$lt_export_symbols_cmds_CXX
   14208 
   14209 # The commands to extract the exported symbol list from a shared archive.
   14210 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   14211 
   14212 # Symbols that should not be listed in the preloaded symbols.
   14213 exclude_expsyms=$lt_exclude_expsyms_CXX
   14214 
   14215 # Symbols that must always be exported.
   14216 include_expsyms=$lt_include_expsyms_CXX
   14217 
   14218 # ### END LIBTOOL TAG CONFIG: $tagname
   14219 
   14220 __EOF__
   14221 
   14222 
   14223 else
   14224   # If there is no Makefile yet, we rely on a make rule to execute
   14225   # `config.status --recheck' to rerun these tests and create the
   14226   # libtool script then.
   14227   ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
   14228   if test -f "$ltmain_in"; then
   14229     test -f Makefile && make "$ltmain"
   14230   fi
   14231 fi
   14232 
   14233 
   14234 ac_ext=c
   14235 ac_cpp='$CPP $CPPFLAGS'
   14236 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   14237 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   14238 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   14239 
   14240 CC=$lt_save_CC
   14241 LDCXX=$LD
   14242 LD=$lt_save_LD
   14243 GCC=$lt_save_GCC
   14244 with_gnu_ldcxx=$with_gnu_ld
   14245 with_gnu_ld=$lt_save_with_gnu_ld
   14246 lt_cv_path_LDCXX=$lt_cv_path_LD
   14247 lt_cv_path_LD=$lt_save_path_LD
   14248 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
   14249 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
   14250 
   14251 	else
   14252 	  tagname=""
   14253 	fi
   14254 	;;
   14255 
   14256       F77)
   14257 	if test -n "$F77" && test "X$F77" != "Xno"; then
   14258 
   14259 ac_ext=f
   14260 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
   14261 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   14262 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
   14263 
   14264 
   14265 archive_cmds_need_lc_F77=no
   14266 allow_undefined_flag_F77=
   14267 always_export_symbols_F77=no
   14268 archive_expsym_cmds_F77=
   14269 export_dynamic_flag_spec_F77=
   14270 hardcode_direct_F77=no
   14271 hardcode_libdir_flag_spec_F77=
   14272 hardcode_libdir_flag_spec_ld_F77=
   14273 hardcode_libdir_separator_F77=
   14274 hardcode_minus_L_F77=no
   14275 hardcode_automatic_F77=no
   14276 module_cmds_F77=
   14277 module_expsym_cmds_F77=
   14278 link_all_deplibs_F77=unknown
   14279 old_archive_cmds_F77=$old_archive_cmds
   14280 no_undefined_flag_F77=
   14281 whole_archive_flag_spec_F77=
   14282 enable_shared_with_static_runtimes_F77=no
   14283 
   14284 # Source file extension for f77 test sources.
   14285 ac_ext=f
   14286 
   14287 # Object file extension for compiled f77 test sources.
   14288 objext=o
   14289 objext_F77=$objext
   14290 
   14291 # Code to be used in simple compile tests
   14292 lt_simple_compile_test_code="\
   14293       subroutine t
   14294       return
   14295       end
   14296 "
   14297 
   14298 # Code to be used in simple link tests
   14299 lt_simple_link_test_code="\
   14300       program t
   14301       end
   14302 "
   14303 
   14304 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
   14305 
   14306 # If no C compiler was specified, use CC.
   14307 LTCC=${LTCC-"$CC"}
   14308 
   14309 # If no C compiler flags were specified, use CFLAGS.
   14310 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   14311 
   14312 # Allow CC to be a program name with arguments.
   14313 compiler=$CC
   14314 
   14315 
   14316 # save warnings/boilerplate of simple test code
   14317 ac_outfile=conftest.$ac_objext
   14318 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   14319 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   14320 _lt_compiler_boilerplate=`cat conftest.err`
   14321 $rm conftest*
   14322 
   14323 ac_outfile=conftest.$ac_objext
   14324 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   14325 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   14326 _lt_linker_boilerplate=`cat conftest.err`
   14327 $rm -r conftest*
   14328 
   14329 
   14330 # Allow CC to be a program name with arguments.
   14331 lt_save_CC="$CC"
   14332 CC=${F77-"f77"}
   14333 compiler=$CC
   14334 compiler_F77=$CC
   14335 for cc_temp in $compiler""; do
   14336   case $cc_temp in
   14337     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   14338     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   14339     \-*) ;;
   14340     *) break;;
   14341   esac
   14342 done
   14343 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   14344 
   14345 
   14346 { $as_echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
   14347 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
   14348 { $as_echo "$as_me:$LINENO: result: $can_build_shared" >&5
   14349 $as_echo "$can_build_shared" >&6; }
   14350 
   14351 { $as_echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
   14352 $as_echo_n "checking whether to build shared libraries... " >&6; }
   14353 test "$can_build_shared" = "no" && enable_shared=no
   14354 
   14355 # On AIX, shared libraries and static libraries use the same namespace, and
   14356 # are all built from PIC.
   14357 case $host_os in
   14358 aix3*)
   14359   test "$enable_shared" = yes && enable_static=no
   14360   if test -n "$RANLIB"; then
   14361     archive_cmds="$archive_cmds~\$RANLIB \$lib"
   14362     postinstall_cmds='$RANLIB $lib'
   14363   fi
   14364   ;;
   14365 aix[4-9]*)
   14366   if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
   14367     test "$enable_shared" = yes && enable_static=no
   14368   fi
   14369   ;;
   14370 esac
   14371 { $as_echo "$as_me:$LINENO: result: $enable_shared" >&5
   14372 $as_echo "$enable_shared" >&6; }
   14373 
   14374 { $as_echo "$as_me:$LINENO: checking whether to build static libraries" >&5
   14375 $as_echo_n "checking whether to build static libraries... " >&6; }
   14376 # Make sure either enable_shared or enable_static is yes.
   14377 test "$enable_shared" = yes || enable_static=yes
   14378 { $as_echo "$as_me:$LINENO: result: $enable_static" >&5
   14379 $as_echo "$enable_static" >&6; }
   14380 
   14381 GCC_F77="$G77"
   14382 LD_F77="$LD"
   14383 
   14384 lt_prog_compiler_wl_F77=
   14385 lt_prog_compiler_pic_F77=
   14386 lt_prog_compiler_static_F77=
   14387 
   14388 { $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
   14389 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
   14390 
   14391   if test "$GCC" = yes; then
   14392     lt_prog_compiler_wl_F77='-Wl,'
   14393     lt_prog_compiler_static_F77='-static'
   14394 
   14395     case $host_os in
   14396       aix*)
   14397       # All AIX code is PIC.
   14398       if test "$host_cpu" = ia64; then
   14399 	# AIX 5 now supports IA64 processor
   14400 	lt_prog_compiler_static_F77='-Bstatic'
   14401       fi
   14402       ;;
   14403 
   14404     amigaos*)
   14405       # FIXME: we need at least 68020 code to build shared libraries, but
   14406       # adding the `-m68020' flag to GCC prevents building anything better,
   14407       # like `-m68040'.
   14408       lt_prog_compiler_pic_F77='-m68020 -resident32 -malways-restore-a4'
   14409       ;;
   14410 
   14411     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   14412       # PIC is the default for these OSes.
   14413       ;;
   14414 
   14415     mingw* | cygwin* | pw32* | os2*)
   14416       # This hack is so that the source file can tell whether it is being
   14417       # built for inclusion in a dll (and should export symbols for example).
   14418       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   14419       # (--disable-auto-import) libraries
   14420       lt_prog_compiler_pic_F77='-DDLL_EXPORT'
   14421       ;;
   14422 
   14423     darwin* | rhapsody*)
   14424       # PIC is the default on this platform
   14425       # Common symbols not allowed in MH_DYLIB files
   14426       lt_prog_compiler_pic_F77='-fno-common'
   14427       ;;
   14428 
   14429     interix[3-9]*)
   14430       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   14431       # Instead, we relocate shared libraries at runtime.
   14432       ;;
   14433 
   14434     msdosdjgpp*)
   14435       # Just because we use GCC doesn't mean we suddenly get shared libraries
   14436       # on systems that don't support them.
   14437       lt_prog_compiler_can_build_shared_F77=no
   14438       enable_shared=no
   14439       ;;
   14440 
   14441     sysv4*MP*)
   14442       if test -d /usr/nec; then
   14443 	lt_prog_compiler_pic_F77=-Kconform_pic
   14444       fi
   14445       ;;
   14446 
   14447     hpux*)
   14448       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   14449       # not for PA HP-UX.
   14450       case $host_cpu in
   14451       hppa*64*|ia64*)
   14452 	# +Z the default
   14453 	;;
   14454       *)
   14455 	lt_prog_compiler_pic_F77='-fPIC'
   14456 	;;
   14457       esac
   14458       ;;
   14459 
   14460     *)
   14461       lt_prog_compiler_pic_F77='-fPIC'
   14462       ;;
   14463     esac
   14464   else
   14465     # PORTME Check for flag to pass linker flags through the system compiler.
   14466     case $host_os in
   14467     aix*)
   14468       lt_prog_compiler_wl_F77='-Wl,'
   14469       if test "$host_cpu" = ia64; then
   14470 	# AIX 5 now supports IA64 processor
   14471 	lt_prog_compiler_static_F77='-Bstatic'
   14472       else
   14473 	lt_prog_compiler_static_F77='-bnso -bI:/lib/syscalls.exp'
   14474       fi
   14475       ;;
   14476       darwin*)
   14477         # PIC is the default on this platform
   14478         # Common symbols not allowed in MH_DYLIB files
   14479        case $cc_basename in
   14480          xlc*)
   14481          lt_prog_compiler_pic_F77='-qnocommon'
   14482          lt_prog_compiler_wl_F77='-Wl,'
   14483          ;;
   14484        esac
   14485        ;;
   14486 
   14487     mingw* | cygwin* | pw32* | os2*)
   14488       # This hack is so that the source file can tell whether it is being
   14489       # built for inclusion in a dll (and should export symbols for example).
   14490       lt_prog_compiler_pic_F77='-DDLL_EXPORT'
   14491       ;;
   14492 
   14493     hpux9* | hpux10* | hpux11*)
   14494       lt_prog_compiler_wl_F77='-Wl,'
   14495       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   14496       # not for PA HP-UX.
   14497       case $host_cpu in
   14498       hppa*64*|ia64*)
   14499 	# +Z the default
   14500 	;;
   14501       *)
   14502 	lt_prog_compiler_pic_F77='+Z'
   14503 	;;
   14504       esac
   14505       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   14506       lt_prog_compiler_static_F77='${wl}-a ${wl}archive'
   14507       ;;
   14508 
   14509     irix5* | irix6* | nonstopux*)
   14510       lt_prog_compiler_wl_F77='-Wl,'
   14511       # PIC (with -KPIC) is the default.
   14512       lt_prog_compiler_static_F77='-non_shared'
   14513       ;;
   14514 
   14515     newsos6)
   14516       lt_prog_compiler_pic_F77='-KPIC'
   14517       lt_prog_compiler_static_F77='-Bstatic'
   14518       ;;
   14519 
   14520     linux* | k*bsd*-gnu)
   14521       case $cc_basename in
   14522       icc* | ecc*)
   14523 	lt_prog_compiler_wl_F77='-Wl,'
   14524 	lt_prog_compiler_pic_F77='-KPIC'
   14525 	lt_prog_compiler_static_F77='-static'
   14526         ;;
   14527       pgcc* | pgf77* | pgf90* | pgf95*)
   14528         # Portland Group compilers (*not* the Pentium gcc compiler,
   14529 	# which looks to be a dead project)
   14530 	lt_prog_compiler_wl_F77='-Wl,'
   14531 	lt_prog_compiler_pic_F77='-fpic'
   14532 	lt_prog_compiler_static_F77='-Bstatic'
   14533         ;;
   14534       ccc*)
   14535         lt_prog_compiler_wl_F77='-Wl,'
   14536         # All Alpha code is PIC.
   14537         lt_prog_compiler_static_F77='-non_shared'
   14538         ;;
   14539       *)
   14540         case `$CC -V 2>&1 | sed 5q` in
   14541 	*Sun\ C*)
   14542 	  # Sun C 5.9
   14543 	  lt_prog_compiler_pic_F77='-KPIC'
   14544 	  lt_prog_compiler_static_F77='-Bstatic'
   14545 	  lt_prog_compiler_wl_F77='-Wl,'
   14546 	  ;;
   14547 	*Sun\ F*)
   14548 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   14549 	  lt_prog_compiler_pic_F77='-KPIC'
   14550 	  lt_prog_compiler_static_F77='-Bstatic'
   14551 	  lt_prog_compiler_wl_F77=''
   14552 	  ;;
   14553 	esac
   14554 	;;
   14555       esac
   14556       ;;
   14557 
   14558     osf3* | osf4* | osf5*)
   14559       lt_prog_compiler_wl_F77='-Wl,'
   14560       # All OSF/1 code is PIC.
   14561       lt_prog_compiler_static_F77='-non_shared'
   14562       ;;
   14563 
   14564     rdos*)
   14565       lt_prog_compiler_static_F77='-non_shared'
   14566       ;;
   14567 
   14568     solaris*)
   14569       lt_prog_compiler_pic_F77='-KPIC'
   14570       lt_prog_compiler_static_F77='-Bstatic'
   14571       case $cc_basename in
   14572       f77* | f90* | f95*)
   14573 	lt_prog_compiler_wl_F77='-Qoption ld ';;
   14574       *)
   14575 	lt_prog_compiler_wl_F77='-Wl,';;
   14576       esac
   14577       ;;
   14578 
   14579     sunos4*)
   14580       lt_prog_compiler_wl_F77='-Qoption ld '
   14581       lt_prog_compiler_pic_F77='-PIC'
   14582       lt_prog_compiler_static_F77='-Bstatic'
   14583       ;;
   14584 
   14585     sysv4 | sysv4.2uw2* | sysv4.3*)
   14586       lt_prog_compiler_wl_F77='-Wl,'
   14587       lt_prog_compiler_pic_F77='-KPIC'
   14588       lt_prog_compiler_static_F77='-Bstatic'
   14589       ;;
   14590 
   14591     sysv4*MP*)
   14592       if test -d /usr/nec ;then
   14593 	lt_prog_compiler_pic_F77='-Kconform_pic'
   14594 	lt_prog_compiler_static_F77='-Bstatic'
   14595       fi
   14596       ;;
   14597 
   14598     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   14599       lt_prog_compiler_wl_F77='-Wl,'
   14600       lt_prog_compiler_pic_F77='-KPIC'
   14601       lt_prog_compiler_static_F77='-Bstatic'
   14602       ;;
   14603 
   14604     unicos*)
   14605       lt_prog_compiler_wl_F77='-Wl,'
   14606       lt_prog_compiler_can_build_shared_F77=no
   14607       ;;
   14608 
   14609     uts4*)
   14610       lt_prog_compiler_pic_F77='-pic'
   14611       lt_prog_compiler_static_F77='-Bstatic'
   14612       ;;
   14613 
   14614     *)
   14615       lt_prog_compiler_can_build_shared_F77=no
   14616       ;;
   14617     esac
   14618   fi
   14619 
   14620 { $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
   14621 $as_echo "$lt_prog_compiler_pic_F77" >&6; }
   14622 
   14623 #
   14624 # Check to make sure the PIC flag actually works.
   14625 #
   14626 if test -n "$lt_prog_compiler_pic_F77"; then
   14627 
   14628 { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
   14629 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... " >&6; }
   14630 if test "${lt_cv_prog_compiler_pic_works_F77+set}" = set; then
   14631   $as_echo_n "(cached) " >&6
   14632 else
   14633   lt_cv_prog_compiler_pic_works_F77=no
   14634   ac_outfile=conftest.$ac_objext
   14635    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   14636    lt_compiler_flag="$lt_prog_compiler_pic_F77"
   14637    # Insert the option either (1) after the last *FLAGS variable, or
   14638    # (2) before a word containing "conftest.", or (3) at the end.
   14639    # Note that $ac_compile itself does not contain backslashes and begins
   14640    # with a dollar sign (not a hyphen), so the echo should work correctly.
   14641    # The option is referenced via a variable to avoid confusing sed.
   14642    lt_compile=`echo "$ac_compile" | $SED \
   14643    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   14644    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   14645    -e 's:$: $lt_compiler_flag:'`
   14646    (eval echo "\"\$as_me:14646: $lt_compile\"" >&5)
   14647    (eval "$lt_compile" 2>conftest.err)
   14648    ac_status=$?
   14649    cat conftest.err >&5
   14650    echo "$as_me:14650: \$? = $ac_status" >&5
   14651    if (exit $ac_status) && test -s "$ac_outfile"; then
   14652      # The compiler can only warn and ignore the option if not recognized
   14653      # So say no if there are warnings other than the usual output.
   14654      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   14655      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   14656      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   14657        lt_cv_prog_compiler_pic_works_F77=yes
   14658      fi
   14659    fi
   14660    $rm conftest*
   14661 
   14662 fi
   14663 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_F77" >&5
   14664 $as_echo "$lt_cv_prog_compiler_pic_works_F77" >&6; }
   14665 
   14666 if test x"$lt_cv_prog_compiler_pic_works_F77" = xyes; then
   14667     case $lt_prog_compiler_pic_F77 in
   14668      "" | " "*) ;;
   14669      *) lt_prog_compiler_pic_F77=" $lt_prog_compiler_pic_F77" ;;
   14670      esac
   14671 else
   14672     lt_prog_compiler_pic_F77=
   14673      lt_prog_compiler_can_build_shared_F77=no
   14674 fi
   14675 
   14676 fi
   14677 case $host_os in
   14678   # For platforms which do not support PIC, -DPIC is meaningless:
   14679   *djgpp*)
   14680     lt_prog_compiler_pic_F77=
   14681     ;;
   14682   *)
   14683     lt_prog_compiler_pic_F77="$lt_prog_compiler_pic_F77"
   14684     ;;
   14685 esac
   14686 
   14687 #
   14688 # Check to make sure the static flag actually works.
   14689 #
   14690 wl=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag=\"$lt_prog_compiler_static_F77\"
   14691 { $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   14692 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   14693 if test "${lt_cv_prog_compiler_static_works_F77+set}" = set; then
   14694   $as_echo_n "(cached) " >&6
   14695 else
   14696   lt_cv_prog_compiler_static_works_F77=no
   14697    save_LDFLAGS="$LDFLAGS"
   14698    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   14699    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   14700    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   14701      # The linker can only warn and ignore the option if not recognized
   14702      # So say no if there are warnings
   14703      if test -s conftest.err; then
   14704        # Append any errors to the config.log.
   14705        cat conftest.err 1>&5
   14706        $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
   14707        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   14708        if diff conftest.exp conftest.er2 >/dev/null; then
   14709          lt_cv_prog_compiler_static_works_F77=yes
   14710        fi
   14711      else
   14712        lt_cv_prog_compiler_static_works_F77=yes
   14713      fi
   14714    fi
   14715    $rm -r conftest*
   14716    LDFLAGS="$save_LDFLAGS"
   14717 
   14718 fi
   14719 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_F77" >&5
   14720 $as_echo "$lt_cv_prog_compiler_static_works_F77" >&6; }
   14721 
   14722 if test x"$lt_cv_prog_compiler_static_works_F77" = xyes; then
   14723     :
   14724 else
   14725     lt_prog_compiler_static_F77=
   14726 fi
   14727 
   14728 
   14729 { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
   14730 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   14731 if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
   14732   $as_echo_n "(cached) " >&6
   14733 else
   14734   lt_cv_prog_compiler_c_o_F77=no
   14735    $rm -r conftest 2>/dev/null
   14736    mkdir conftest
   14737    cd conftest
   14738    mkdir out
   14739    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   14740 
   14741    lt_compiler_flag="-o out/conftest2.$ac_objext"
   14742    # Insert the option either (1) after the last *FLAGS variable, or
   14743    # (2) before a word containing "conftest.", or (3) at the end.
   14744    # Note that $ac_compile itself does not contain backslashes and begins
   14745    # with a dollar sign (not a hyphen), so the echo should work correctly.
   14746    lt_compile=`echo "$ac_compile" | $SED \
   14747    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   14748    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   14749    -e 's:$: $lt_compiler_flag:'`
   14750    (eval echo "\"\$as_me:14750: $lt_compile\"" >&5)
   14751    (eval "$lt_compile" 2>out/conftest.err)
   14752    ac_status=$?
   14753    cat out/conftest.err >&5
   14754    echo "$as_me:14754: \$? = $ac_status" >&5
   14755    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   14756    then
   14757      # The compiler can only warn and ignore the option if not recognized
   14758      # So say no if there are warnings
   14759      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
   14760      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   14761      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   14762        lt_cv_prog_compiler_c_o_F77=yes
   14763      fi
   14764    fi
   14765    chmod u+w . 2>&5
   14766    $rm conftest*
   14767    # SGI C++ compiler will create directory out/ii_files/ for
   14768    # template instantiation
   14769    test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
   14770    $rm out/* && rmdir out
   14771    cd ..
   14772    rmdir conftest
   14773    $rm conftest*
   14774 
   14775 fi
   14776 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
   14777 $as_echo "$lt_cv_prog_compiler_c_o_F77" >&6; }
   14778 
   14779 
   14780 hard_links="nottested"
   14781 if test "$lt_cv_prog_compiler_c_o_F77" = no && test "$need_locks" != no; then
   14782   # do not overwrite the value of need_locks provided by the user
   14783   { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
   14784 $as_echo_n "checking if we can lock with hard links... " >&6; }
   14785   hard_links=yes
   14786   $rm conftest*
   14787   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   14788   touch conftest.a
   14789   ln conftest.a conftest.b 2>&5 || hard_links=no
   14790   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   14791   { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
   14792 $as_echo "$hard_links" >&6; }
   14793   if test "$hard_links" = no; then
   14794     { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   14795 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   14796     need_locks=warn
   14797   fi
   14798 else
   14799   need_locks=no
   14800 fi
   14801 
   14802 { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   14803 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   14804 
   14805   runpath_var=
   14806   allow_undefined_flag_F77=
   14807   enable_shared_with_static_runtimes_F77=no
   14808   archive_cmds_F77=
   14809   archive_expsym_cmds_F77=
   14810   old_archive_From_new_cmds_F77=
   14811   old_archive_from_expsyms_cmds_F77=
   14812   export_dynamic_flag_spec_F77=
   14813   whole_archive_flag_spec_F77=
   14814   thread_safe_flag_spec_F77=
   14815   hardcode_libdir_flag_spec_F77=
   14816   hardcode_libdir_flag_spec_ld_F77=
   14817   hardcode_libdir_separator_F77=
   14818   hardcode_direct_F77=no
   14819   hardcode_minus_L_F77=no
   14820   hardcode_shlibpath_var_F77=unsupported
   14821   link_all_deplibs_F77=unknown
   14822   hardcode_automatic_F77=no
   14823   module_cmds_F77=
   14824   module_expsym_cmds_F77=
   14825   always_export_symbols_F77=no
   14826   export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   14827   # include_expsyms should be a list of space-separated symbols to be *always*
   14828   # included in the symbol list
   14829   include_expsyms_F77=
   14830   # exclude_expsyms can be an extended regexp of symbols to exclude
   14831   # it will be wrapped by ` (' and `)$', so one must not match beginning or
   14832   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
   14833   # as well as any symbol that contains `d'.
   14834   exclude_expsyms_F77='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   14835   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   14836   # platforms (ab)use it in PIC code, but their linkers get confused if
   14837   # the symbol is explicitly referenced.  Since portable code cannot
   14838   # rely on this symbol name, it's probably fine to never include it in
   14839   # preloaded symbol tables.
   14840   # Exclude shared library initialization/finalization symbols.
   14841   extract_expsyms_cmds=
   14842   # Just being paranoid about ensuring that cc_basename is set.
   14843   for cc_temp in $compiler""; do
   14844   case $cc_temp in
   14845     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   14846     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   14847     \-*) ;;
   14848     *) break;;
   14849   esac
   14850 done
   14851 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   14852 
   14853   case $host_os in
   14854   cygwin* | mingw* | pw32*)
   14855     # FIXME: the MSVC++ port hasn't been tested in a loooong time
   14856     # When not using gcc, we currently assume that we are using
   14857     # Microsoft Visual C++.
   14858     if test "$GCC" != yes; then
   14859       with_gnu_ld=no
   14860     fi
   14861     ;;
   14862   interix*)
   14863     # we just hope/assume this is gcc and not c89 (= MSVC++)
   14864     with_gnu_ld=yes
   14865     ;;
   14866   openbsd*)
   14867     with_gnu_ld=no
   14868     ;;
   14869   esac
   14870 
   14871   ld_shlibs_F77=yes
   14872   if test "$with_gnu_ld" = yes; then
   14873     # If archive_cmds runs LD, not CC, wlarc should be empty
   14874     wlarc='${wl}'
   14875 
   14876     # Set some defaults for GNU ld with shared library support. These
   14877     # are reset later if shared libraries are not supported. Putting them
   14878     # here allows them to be overridden if necessary.
   14879     runpath_var=LD_RUN_PATH
   14880     hardcode_libdir_flag_spec_F77='${wl}--rpath ${wl}$libdir'
   14881     export_dynamic_flag_spec_F77='${wl}--export-dynamic'
   14882     # ancient GNU ld didn't support --whole-archive et. al.
   14883     if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
   14884 	whole_archive_flag_spec_F77="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   14885       else
   14886   	whole_archive_flag_spec_F77=
   14887     fi
   14888     supports_anon_versioning=no
   14889     case `$LD -v 2>/dev/null` in
   14890       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   14891       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   14892       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   14893       *\ 2.11.*) ;; # other 2.11 versions
   14894       *) supports_anon_versioning=yes ;;
   14895     esac
   14896 
   14897     # See if GNU ld supports shared libraries.
   14898     case $host_os in
   14899     aix[3-9]*)
   14900       # On AIX/PPC, the GNU linker is very broken
   14901       if test "$host_cpu" != ia64; then
   14902 	ld_shlibs_F77=no
   14903 	cat <<EOF 1>&2
   14904 
   14905 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
   14906 *** to be unable to reliably create shared libraries on AIX.
   14907 *** Therefore, libtool is disabling shared libraries support.  If you
   14908 *** really care for shared libraries, you may want to modify your PATH
   14909 *** so that a non-GNU linker is found, and then restart.
   14910 
   14911 EOF
   14912       fi
   14913       ;;
   14914 
   14915     amigaos*)
   14916       archive_cmds_F77='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
   14917       hardcode_libdir_flag_spec_F77='-L$libdir'
   14918       hardcode_minus_L_F77=yes
   14919 
   14920       # Samuel A. Falvo II <kc5tja (at] dolphin.openprojects.net> reports
   14921       # that the semantics of dynamic libraries on AmigaOS, at least up
   14922       # to version 4, is to share data among multiple programs linked
   14923       # with the same dynamic library.  Since this doesn't match the
   14924       # behavior of shared libraries on other platforms, we can't use
   14925       # them.
   14926       ld_shlibs_F77=no
   14927       ;;
   14928 
   14929     beos*)
   14930       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   14931 	allow_undefined_flag_F77=unsupported
   14932 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   14933 	# support --undefined.  This deserves some investigation.  FIXME
   14934 	archive_cmds_F77='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   14935       else
   14936 	ld_shlibs_F77=no
   14937       fi
   14938       ;;
   14939 
   14940     cygwin* | mingw* | pw32*)
   14941       # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
   14942       # as there is no search path for DLLs.
   14943       hardcode_libdir_flag_spec_F77='-L$libdir'
   14944       allow_undefined_flag_F77=unsupported
   14945       always_export_symbols_F77=no
   14946       enable_shared_with_static_runtimes_F77=yes
   14947       export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
   14948 
   14949       if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
   14950         archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   14951 	# If the export-symbols file already is a .def file (1st line
   14952 	# is EXPORTS), use it as is; otherwise, prepend...
   14953 	archive_expsym_cmds_F77='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   14954 	  cp $export_symbols $output_objdir/$soname.def;
   14955 	else
   14956 	  echo EXPORTS > $output_objdir/$soname.def;
   14957 	  cat $export_symbols >> $output_objdir/$soname.def;
   14958 	fi~
   14959 	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   14960       else
   14961 	ld_shlibs_F77=no
   14962       fi
   14963       ;;
   14964 
   14965     interix[3-9]*)
   14966       hardcode_direct_F77=no
   14967       hardcode_shlibpath_var_F77=no
   14968       hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
   14969       export_dynamic_flag_spec_F77='${wl}-E'
   14970       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   14971       # Instead, shared libraries are loaded at an image base (0x10000000 by
   14972       # default) and relocated if they conflict, which is a slow very memory
   14973       # consuming and fragmenting process.  To avoid this, we pick a random,
   14974       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   14975       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   14976       archive_cmds_F77='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
   14977       archive_expsym_cmds_F77='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
   14978       ;;
   14979 
   14980     gnu* | linux* | k*bsd*-gnu)
   14981       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   14982 	tmp_addflag=
   14983 	case $cc_basename,$host_cpu in
   14984 	pgcc*)				# Portland Group C compiler
   14985 	  whole_archive_flag_spec_F77='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
   14986 	  tmp_addflag=' $pic_flag'
   14987 	  ;;
   14988 	pgf77* | pgf90* | pgf95*)	# Portland Group f77 and f90 compilers
   14989 	  whole_archive_flag_spec_F77='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
   14990 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   14991 	ecc*,ia64* | icc*,ia64*)		# Intel C compiler on ia64
   14992 	  tmp_addflag=' -i_dynamic' ;;
   14993 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   14994 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   14995 	ifc* | ifort*)			# Intel Fortran compiler
   14996 	  tmp_addflag=' -nofor_main' ;;
   14997 	esac
   14998 	case `$CC -V 2>&1 | sed 5q` in
   14999 	*Sun\ C*)			# Sun C 5.9
   15000 	  whole_archive_flag_spec_F77='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
   15001 	  tmp_sharedflag='-G' ;;
   15002 	*Sun\ F*)			# Sun Fortran 8.3
   15003 	  tmp_sharedflag='-G' ;;
   15004 	*)
   15005 	  tmp_sharedflag='-shared' ;;
   15006 	esac
   15007 	archive_cmds_F77='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   15008 
   15009 	if test $supports_anon_versioning = yes; then
   15010 	  archive_expsym_cmds_F77='$echo "{ global:" > $output_objdir/$libname.ver~
   15011   cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   15012   $echo "local: *; };" >> $output_objdir/$libname.ver~
   15013 	  $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
   15014 	fi
   15015       else
   15016 	ld_shlibs_F77=no
   15017       fi
   15018       ;;
   15019 
   15020     netbsd*)
   15021       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   15022 	archive_cmds_F77='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   15023 	wlarc=
   15024       else
   15025 	archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   15026 	archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   15027       fi
   15028       ;;
   15029 
   15030     solaris*)
   15031       if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
   15032 	ld_shlibs_F77=no
   15033 	cat <<EOF 1>&2
   15034 
   15035 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   15036 *** create shared libraries on Solaris systems.  Therefore, libtool
   15037 *** is disabling shared libraries support.  We urge you to upgrade GNU
   15038 *** binutils to release 2.9.1 or newer.  Another option is to modify
   15039 *** your PATH or compiler configuration so that the native linker is
   15040 *** used, and then restart.
   15041 
   15042 EOF
   15043       elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   15044 	archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   15045 	archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   15046       else
   15047 	ld_shlibs_F77=no
   15048       fi
   15049       ;;
   15050 
   15051     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   15052       case `$LD -v 2>&1` in
   15053         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   15054 	ld_shlibs_F77=no
   15055 	cat <<_LT_EOF 1>&2
   15056 
   15057 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
   15058 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   15059 *** is disabling shared libraries support.  We urge you to upgrade GNU
   15060 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   15061 *** your PATH or compiler configuration so that the native linker is
   15062 *** used, and then restart.
   15063 
   15064 _LT_EOF
   15065 	;;
   15066 	*)
   15067 	  if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   15068 	    hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
   15069 	    archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
   15070 	    archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
   15071 	  else
   15072 	    ld_shlibs_F77=no
   15073 	  fi
   15074 	;;
   15075       esac
   15076       ;;
   15077 
   15078     sunos4*)
   15079       archive_cmds_F77='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   15080       wlarc=
   15081       hardcode_direct_F77=yes
   15082       hardcode_shlibpath_var_F77=no
   15083       ;;
   15084 
   15085     *)
   15086       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   15087 	archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   15088 	archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   15089       else
   15090 	ld_shlibs_F77=no
   15091       fi
   15092       ;;
   15093     esac
   15094 
   15095     if test "$ld_shlibs_F77" = no; then
   15096       runpath_var=
   15097       hardcode_libdir_flag_spec_F77=
   15098       export_dynamic_flag_spec_F77=
   15099       whole_archive_flag_spec_F77=
   15100     fi
   15101   else
   15102     # PORTME fill in a description of your system's linker (not GNU ld)
   15103     case $host_os in
   15104     aix3*)
   15105       allow_undefined_flag_F77=unsupported
   15106       always_export_symbols_F77=yes
   15107       archive_expsym_cmds_F77='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
   15108       # Note: this linker hardcodes the directories in LIBPATH if there
   15109       # are no directories specified by -L.
   15110       hardcode_minus_L_F77=yes
   15111       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
   15112 	# Neither direct hardcoding nor static linking is supported with a
   15113 	# broken collect2.
   15114 	hardcode_direct_F77=unsupported
   15115       fi
   15116       ;;
   15117 
   15118     aix[4-9]*)
   15119       if test "$host_cpu" = ia64; then
   15120 	# On IA64, the linker does run time linking by default, so we don't
   15121 	# have to do anything special.
   15122 	aix_use_runtimelinking=no
   15123 	exp_sym_flag='-Bexport'
   15124 	no_entry_flag=""
   15125       else
   15126 	# If we're using GNU nm, then we don't want the "-C" option.
   15127 	# -C means demangle to AIX nm, but means don't demangle with GNU nm
   15128 	if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
   15129 	  export_symbols_cmds_F77='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
   15130 	else
   15131 	  export_symbols_cmds_F77='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
   15132 	fi
   15133 	aix_use_runtimelinking=no
   15134 
   15135 	# Test if we are trying to use run time linking or normal
   15136 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   15137 	# need to do runtime linking.
   15138 	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   15139 	  for ld_flag in $LDFLAGS; do
   15140   	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
   15141   	    aix_use_runtimelinking=yes
   15142   	    break
   15143   	  fi
   15144 	  done
   15145 	  ;;
   15146 	esac
   15147 
   15148 	exp_sym_flag='-bexport'
   15149 	no_entry_flag='-bnoentry'
   15150       fi
   15151 
   15152       # When large executables or shared objects are built, AIX ld can
   15153       # have problems creating the table of contents.  If linking a library
   15154       # or program results in "error TOC overflow" add -mminimal-toc to
   15155       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   15156       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   15157 
   15158       archive_cmds_F77=''
   15159       hardcode_direct_F77=yes
   15160       hardcode_libdir_separator_F77=':'
   15161       link_all_deplibs_F77=yes
   15162 
   15163       if test "$GCC" = yes; then
   15164 	case $host_os in aix4.[012]|aix4.[012].*)
   15165 	# We only want to do this on AIX 4.2 and lower, the check
   15166 	# below for broken collect2 doesn't work under 4.3+
   15167 	  collect2name=`${CC} -print-prog-name=collect2`
   15168 	  if test -f "$collect2name" && \
   15169   	   strings "$collect2name" | grep resolve_lib_name >/dev/null
   15170 	  then
   15171   	  # We have reworked collect2
   15172   	  :
   15173 	  else
   15174   	  # We have old collect2
   15175   	  hardcode_direct_F77=unsupported
   15176   	  # It fails to find uninstalled libraries when the uninstalled
   15177   	  # path is not listed in the libpath.  Setting hardcode_minus_L
   15178   	  # to unsupported forces relinking
   15179   	  hardcode_minus_L_F77=yes
   15180   	  hardcode_libdir_flag_spec_F77='-L$libdir'
   15181   	  hardcode_libdir_separator_F77=
   15182 	  fi
   15183 	  ;;
   15184 	esac
   15185 	shared_flag='-shared'
   15186 	if test "$aix_use_runtimelinking" = yes; then
   15187 	  shared_flag="$shared_flag "'${wl}-G'
   15188 	fi
   15189       else
   15190 	# not using gcc
   15191 	if test "$host_cpu" = ia64; then
   15192   	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   15193   	# chokes on -Wl,-G. The following line is correct:
   15194 	  shared_flag='-G'
   15195 	else
   15196 	  if test "$aix_use_runtimelinking" = yes; then
   15197 	    shared_flag='${wl}-G'
   15198 	  else
   15199 	    shared_flag='${wl}-bM:SRE'
   15200 	  fi
   15201 	fi
   15202       fi
   15203 
   15204       # It seems that -bexpall does not export symbols beginning with
   15205       # underscore (_), so it is better to generate a list of symbols to export.
   15206       always_export_symbols_F77=yes
   15207       if test "$aix_use_runtimelinking" = yes; then
   15208 	# Warning - without using the other runtime loading flags (-brtl),
   15209 	# -berok will link without error, but may produce a broken library.
   15210 	allow_undefined_flag_F77='-berok'
   15211        # Determine the default libpath from the value encoded in an empty executable.
   15212        cat >conftest.$ac_ext <<_ACEOF
   15213       program main
   15214 
   15215       end
   15216 _ACEOF
   15217 rm -f conftest.$ac_objext conftest$ac_exeext
   15218 if { (ac_try="$ac_link"
   15219 case "(($ac_try" in
   15220   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   15221   *) ac_try_echo=$ac_try;;
   15222 esac
   15223 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   15224 $as_echo "$ac_try_echo") >&5
   15225   (eval "$ac_link") 2>conftest.er1
   15226   ac_status=$?
   15227   grep -v '^ *+' conftest.er1 >conftest.err
   15228   rm -f conftest.er1
   15229   cat conftest.err >&5
   15230   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   15231   (exit $ac_status); } && {
   15232 	 test -z "$ac_f77_werror_flag" ||
   15233 	 test ! -s conftest.err
   15234        } && test -s conftest$ac_exeext && {
   15235 	 test "$cross_compiling" = yes ||
   15236 	 $as_test_x conftest$ac_exeext
   15237        }; then
   15238 
   15239 lt_aix_libpath_sed='
   15240     /Import File Strings/,/^$/ {
   15241 	/^0/ {
   15242 	    s/^0  *\(.*\)$/\1/
   15243 	    p
   15244 	}
   15245     }'
   15246 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   15247 # Check for a 64-bit object if we didn't find anything.
   15248 if test -z "$aix_libpath"; then
   15249   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   15250 fi
   15251 else
   15252   $as_echo "$as_me: failed program was:" >&5
   15253 sed 's/^/| /' conftest.$ac_ext >&5
   15254 
   15255 
   15256 fi
   15257 
   15258 rm -rf conftest.dSYM
   15259 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   15260       conftest$ac_exeext conftest.$ac_ext
   15261 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   15262 
   15263        hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
   15264 	archive_expsym_cmds_F77="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
   15265        else
   15266 	if test "$host_cpu" = ia64; then
   15267 	  hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib'
   15268 	  allow_undefined_flag_F77="-z nodefs"
   15269 	  archive_expsym_cmds_F77="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
   15270 	else
   15271 	 # Determine the default libpath from the value encoded in an empty executable.
   15272 	 cat >conftest.$ac_ext <<_ACEOF
   15273       program main
   15274 
   15275       end
   15276 _ACEOF
   15277 rm -f conftest.$ac_objext conftest$ac_exeext
   15278 if { (ac_try="$ac_link"
   15279 case "(($ac_try" in
   15280   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   15281   *) ac_try_echo=$ac_try;;
   15282 esac
   15283 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   15284 $as_echo "$ac_try_echo") >&5
   15285   (eval "$ac_link") 2>conftest.er1
   15286   ac_status=$?
   15287   grep -v '^ *+' conftest.er1 >conftest.err
   15288   rm -f conftest.er1
   15289   cat conftest.err >&5
   15290   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   15291   (exit $ac_status); } && {
   15292 	 test -z "$ac_f77_werror_flag" ||
   15293 	 test ! -s conftest.err
   15294        } && test -s conftest$ac_exeext && {
   15295 	 test "$cross_compiling" = yes ||
   15296 	 $as_test_x conftest$ac_exeext
   15297        }; then
   15298 
   15299 lt_aix_libpath_sed='
   15300     /Import File Strings/,/^$/ {
   15301 	/^0/ {
   15302 	    s/^0  *\(.*\)$/\1/
   15303 	    p
   15304 	}
   15305     }'
   15306 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   15307 # Check for a 64-bit object if we didn't find anything.
   15308 if test -z "$aix_libpath"; then
   15309   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   15310 fi
   15311 else
   15312   $as_echo "$as_me: failed program was:" >&5
   15313 sed 's/^/| /' conftest.$ac_ext >&5
   15314 
   15315 
   15316 fi
   15317 
   15318 rm -rf conftest.dSYM
   15319 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   15320       conftest$ac_exeext conftest.$ac_ext
   15321 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   15322 
   15323 	 hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
   15324 	  # Warning - without using the other run time loading flags,
   15325 	  # -berok will link without error, but may produce a broken library.
   15326 	  no_undefined_flag_F77=' ${wl}-bernotok'
   15327 	  allow_undefined_flag_F77=' ${wl}-berok'
   15328 	  # Exported symbols can be pulled into shared objects from archives
   15329 	  whole_archive_flag_spec_F77='$convenience'
   15330 	  archive_cmds_need_lc_F77=yes
   15331 	  # This is similar to how AIX traditionally builds its shared libraries.
   15332 	  archive_expsym_cmds_F77="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
   15333 	fi
   15334       fi
   15335       ;;
   15336 
   15337     amigaos*)
   15338       archive_cmds_F77='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
   15339       hardcode_libdir_flag_spec_F77='-L$libdir'
   15340       hardcode_minus_L_F77=yes
   15341       # see comment about different semantics on the GNU ld section
   15342       ld_shlibs_F77=no
   15343       ;;
   15344 
   15345     bsdi[45]*)
   15346       export_dynamic_flag_spec_F77=-rdynamic
   15347       ;;
   15348 
   15349     cygwin* | mingw* | pw32*)
   15350       # When not using gcc, we currently assume that we are using
   15351       # Microsoft Visual C++.
   15352       # hardcode_libdir_flag_spec is actually meaningless, as there is
   15353       # no search path for DLLs.
   15354       hardcode_libdir_flag_spec_F77=' '
   15355       allow_undefined_flag_F77=unsupported
   15356       # Tell ltmain to make .lib files, not .a files.
   15357       libext=lib
   15358       # Tell ltmain to make .dll files, not .so files.
   15359       shrext_cmds=".dll"
   15360       # FIXME: Setting linknames here is a bad hack.
   15361       archive_cmds_F77='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
   15362       # The linker will automatically build a .lib file if we build a DLL.
   15363       old_archive_From_new_cmds_F77='true'
   15364       # FIXME: Should let the user specify the lib program.
   15365       old_archive_cmds_F77='lib -OUT:$oldlib$oldobjs$old_deplibs'
   15366       fix_srcfile_path_F77='`cygpath -w "$srcfile"`'
   15367       enable_shared_with_static_runtimes_F77=yes
   15368       ;;
   15369 
   15370     darwin* | rhapsody*)
   15371       case $host_os in
   15372         rhapsody* | darwin1.[012])
   15373          allow_undefined_flag_F77='${wl}-undefined ${wl}suppress'
   15374          ;;
   15375        *) # Darwin 1.3 on
   15376          if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
   15377            allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   15378          else
   15379            case ${MACOSX_DEPLOYMENT_TARGET} in
   15380              10.[012])
   15381                allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   15382                ;;
   15383              10.*)
   15384                allow_undefined_flag_F77='${wl}-undefined ${wl}dynamic_lookup'
   15385                ;;
   15386            esac
   15387          fi
   15388          ;;
   15389       esac
   15390       archive_cmds_need_lc_F77=no
   15391       hardcode_direct_F77=no
   15392       hardcode_automatic_F77=yes
   15393       hardcode_shlibpath_var_F77=unsupported
   15394       whole_archive_flag_spec_F77=''
   15395       link_all_deplibs_F77=yes
   15396     if test "$GCC" = yes ; then
   15397     	output_verbose_link_cmd='echo'
   15398         archive_cmds_F77="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
   15399         module_cmds_F77="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
   15400         archive_expsym_cmds_F77="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
   15401         module_expsym_cmds_F77="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
   15402     else
   15403       case $cc_basename in
   15404         xlc*)
   15405          output_verbose_link_cmd='echo'
   15406          archive_cmds_F77='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
   15407          module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
   15408           # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
   15409          archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
   15410           module_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
   15411           ;;
   15412        *)
   15413          ld_shlibs_F77=no
   15414           ;;
   15415       esac
   15416     fi
   15417       ;;
   15418 
   15419     dgux*)
   15420       archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15421       hardcode_libdir_flag_spec_F77='-L$libdir'
   15422       hardcode_shlibpath_var_F77=no
   15423       ;;
   15424 
   15425     freebsd1*)
   15426       ld_shlibs_F77=no
   15427       ;;
   15428 
   15429     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   15430     # support.  Future versions do this automatically, but an explicit c++rt0.o
   15431     # does not break anything, and helps significantly (at the cost of a little
   15432     # extra space).
   15433     freebsd2.2*)
   15434       archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   15435       hardcode_libdir_flag_spec_F77='-R$libdir'
   15436       hardcode_direct_F77=yes
   15437       hardcode_shlibpath_var_F77=no
   15438       ;;
   15439 
   15440     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   15441     freebsd2*)
   15442       archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   15443       hardcode_direct_F77=yes
   15444       hardcode_minus_L_F77=yes
   15445       hardcode_shlibpath_var_F77=no
   15446       ;;
   15447 
   15448     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   15449     freebsd* | dragonfly*)
   15450       archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
   15451       hardcode_libdir_flag_spec_F77='-R$libdir'
   15452       hardcode_direct_F77=yes
   15453       hardcode_shlibpath_var_F77=no
   15454       ;;
   15455 
   15456     hpux9*)
   15457       if test "$GCC" = yes; then
   15458 	archive_cmds_F77='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
   15459       else
   15460 	archive_cmds_F77='$rm $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
   15461       fi
   15462       hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
   15463       hardcode_libdir_separator_F77=:
   15464       hardcode_direct_F77=yes
   15465 
   15466       # hardcode_minus_L: Not really in the search PATH,
   15467       # but as the default location of the library.
   15468       hardcode_minus_L_F77=yes
   15469       export_dynamic_flag_spec_F77='${wl}-E'
   15470       ;;
   15471 
   15472     hpux10*)
   15473       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   15474 	archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   15475       else
   15476 	archive_cmds_F77='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   15477       fi
   15478       if test "$with_gnu_ld" = no; then
   15479 	hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
   15480 	hardcode_libdir_separator_F77=:
   15481 
   15482 	hardcode_direct_F77=yes
   15483 	export_dynamic_flag_spec_F77='${wl}-E'
   15484 
   15485 	# hardcode_minus_L: Not really in the search PATH,
   15486 	# but as the default location of the library.
   15487 	hardcode_minus_L_F77=yes
   15488       fi
   15489       ;;
   15490 
   15491     hpux11*)
   15492       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   15493 	case $host_cpu in
   15494 	hppa*64*)
   15495 	  archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   15496 	  ;;
   15497 	ia64*)
   15498 	  archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   15499 	  ;;
   15500 	*)
   15501 	  archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   15502 	  ;;
   15503 	esac
   15504       else
   15505 	case $host_cpu in
   15506 	hppa*64*)
   15507 	  archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   15508 	  ;;
   15509 	ia64*)
   15510 	  archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   15511 	  ;;
   15512 	*)
   15513 	  archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   15514 	  ;;
   15515 	esac
   15516       fi
   15517       if test "$with_gnu_ld" = no; then
   15518 	hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
   15519 	hardcode_libdir_separator_F77=:
   15520 
   15521 	case $host_cpu in
   15522 	hppa*64*|ia64*)
   15523 	  hardcode_libdir_flag_spec_ld_F77='+b $libdir'
   15524 	  hardcode_direct_F77=no
   15525 	  hardcode_shlibpath_var_F77=no
   15526 	  ;;
   15527 	*)
   15528 	  hardcode_direct_F77=yes
   15529 	  export_dynamic_flag_spec_F77='${wl}-E'
   15530 
   15531 	  # hardcode_minus_L: Not really in the search PATH,
   15532 	  # but as the default location of the library.
   15533 	  hardcode_minus_L_F77=yes
   15534 	  ;;
   15535 	esac
   15536       fi
   15537       ;;
   15538 
   15539     irix5* | irix6* | nonstopux*)
   15540       if test "$GCC" = yes; then
   15541 	archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
   15542       else
   15543 	archive_cmds_F77='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
   15544 	hardcode_libdir_flag_spec_ld_F77='-rpath $libdir'
   15545       fi
   15546       hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
   15547       hardcode_libdir_separator_F77=:
   15548       link_all_deplibs_F77=yes
   15549       ;;
   15550 
   15551     netbsd*)
   15552       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   15553 	archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   15554       else
   15555 	archive_cmds_F77='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   15556       fi
   15557       hardcode_libdir_flag_spec_F77='-R$libdir'
   15558       hardcode_direct_F77=yes
   15559       hardcode_shlibpath_var_F77=no
   15560       ;;
   15561 
   15562     newsos6)
   15563       archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15564       hardcode_direct_F77=yes
   15565       hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
   15566       hardcode_libdir_separator_F77=:
   15567       hardcode_shlibpath_var_F77=no
   15568       ;;
   15569 
   15570     openbsd*)
   15571       if test -f /usr/libexec/ld.so; then
   15572 	hardcode_direct_F77=yes
   15573 	hardcode_shlibpath_var_F77=no
   15574 	if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   15575 	  archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   15576 	  archive_expsym_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
   15577 	  hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
   15578 	  export_dynamic_flag_spec_F77='${wl}-E'
   15579 	else
   15580 	  case $host_os in
   15581 	   openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
   15582 	     archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   15583 	     hardcode_libdir_flag_spec_F77='-R$libdir'
   15584 	     ;;
   15585 	   *)
   15586 	     archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   15587 	     hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
   15588 	     ;;
   15589 	  esac
   15590         fi
   15591       else
   15592 	ld_shlibs_F77=no
   15593       fi
   15594       ;;
   15595 
   15596     os2*)
   15597       hardcode_libdir_flag_spec_F77='-L$libdir'
   15598       hardcode_minus_L_F77=yes
   15599       allow_undefined_flag_F77=unsupported
   15600       archive_cmds_F77='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
   15601       old_archive_From_new_cmds_F77='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
   15602       ;;
   15603 
   15604     osf3*)
   15605       if test "$GCC" = yes; then
   15606 	allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
   15607 	archive_cmds_F77='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
   15608       else
   15609 	allow_undefined_flag_F77=' -expect_unresolved \*'
   15610 	archive_cmds_F77='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
   15611       fi
   15612       hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
   15613       hardcode_libdir_separator_F77=:
   15614       ;;
   15615 
   15616     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   15617       if test "$GCC" = yes; then
   15618 	allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
   15619 	archive_cmds_F77='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
   15620 	hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
   15621       else
   15622 	allow_undefined_flag_F77=' -expect_unresolved \*'
   15623 	archive_cmds_F77='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
   15624 	archive_expsym_cmds_F77='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
   15625 	$LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp'
   15626 
   15627 	# Both c and cxx compiler support -rpath directly
   15628 	hardcode_libdir_flag_spec_F77='-rpath $libdir'
   15629       fi
   15630       hardcode_libdir_separator_F77=:
   15631       ;;
   15632 
   15633     solaris*)
   15634       no_undefined_flag_F77=' -z text'
   15635       if test "$GCC" = yes; then
   15636 	wlarc='${wl}'
   15637 	archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   15638 	archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   15639 	  $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
   15640       else
   15641 	wlarc=''
   15642 	archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15643 	archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   15644   	$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
   15645       fi
   15646       hardcode_libdir_flag_spec_F77='-R$libdir'
   15647       hardcode_shlibpath_var_F77=no
   15648       case $host_os in
   15649       solaris2.[0-5] | solaris2.[0-5].*) ;;
   15650       *)
   15651 	# The compiler driver will combine and reorder linker options,
   15652 	# but understands `-z linker_flag'.  GCC discards it without `$wl',
   15653 	# but is careful enough not to reorder.
   15654  	# Supported since Solaris 2.6 (maybe 2.5.1?)
   15655 	if test "$GCC" = yes; then
   15656 	  whole_archive_flag_spec_F77='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
   15657 	else
   15658 	  whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract'
   15659 	fi
   15660 	;;
   15661       esac
   15662       link_all_deplibs_F77=yes
   15663       ;;
   15664 
   15665     sunos4*)
   15666       if test "x$host_vendor" = xsequent; then
   15667 	# Use $CC to link under sequent, because it throws in some extra .o
   15668 	# files that make .init and .fini sections work.
   15669 	archive_cmds_F77='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   15670       else
   15671 	archive_cmds_F77='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   15672       fi
   15673       hardcode_libdir_flag_spec_F77='-L$libdir'
   15674       hardcode_direct_F77=yes
   15675       hardcode_minus_L_F77=yes
   15676       hardcode_shlibpath_var_F77=no
   15677       ;;
   15678 
   15679     sysv4)
   15680       case $host_vendor in
   15681 	sni)
   15682 	  archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15683 	  hardcode_direct_F77=yes # is this really true???
   15684 	;;
   15685 	siemens)
   15686 	  ## LD is ld it makes a PLAMLIB
   15687 	  ## CC just makes a GrossModule.
   15688 	  archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   15689 	  reload_cmds_F77='$CC -r -o $output$reload_objs'
   15690 	  hardcode_direct_F77=no
   15691         ;;
   15692 	motorola)
   15693 	  archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15694 	  hardcode_direct_F77=no #Motorola manual says yes, but my tests say they lie
   15695 	;;
   15696       esac
   15697       runpath_var='LD_RUN_PATH'
   15698       hardcode_shlibpath_var_F77=no
   15699       ;;
   15700 
   15701     sysv4.3*)
   15702       archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15703       hardcode_shlibpath_var_F77=no
   15704       export_dynamic_flag_spec_F77='-Bexport'
   15705       ;;
   15706 
   15707     sysv4*MP*)
   15708       if test -d /usr/nec; then
   15709 	archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15710 	hardcode_shlibpath_var_F77=no
   15711 	runpath_var=LD_RUN_PATH
   15712 	hardcode_runpath_var=yes
   15713 	ld_shlibs_F77=yes
   15714       fi
   15715       ;;
   15716 
   15717     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   15718       no_undefined_flag_F77='${wl}-z,text'
   15719       archive_cmds_need_lc_F77=no
   15720       hardcode_shlibpath_var_F77=no
   15721       runpath_var='LD_RUN_PATH'
   15722 
   15723       if test "$GCC" = yes; then
   15724 	archive_cmds_F77='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   15725 	archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   15726       else
   15727 	archive_cmds_F77='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   15728 	archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   15729       fi
   15730       ;;
   15731 
   15732     sysv5* | sco3.2v5* | sco5v6*)
   15733       # Note: We can NOT use -z defs as we might desire, because we do not
   15734       # link with -lc, and that would cause any symbols used from libc to
   15735       # always be unresolved, which means just about no library would
   15736       # ever link correctly.  If we're not using GNU ld we use -z text
   15737       # though, which does catch some bad symbols but isn't as heavy-handed
   15738       # as -z defs.
   15739       no_undefined_flag_F77='${wl}-z,text'
   15740       allow_undefined_flag_F77='${wl}-z,nodefs'
   15741       archive_cmds_need_lc_F77=no
   15742       hardcode_shlibpath_var_F77=no
   15743       hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
   15744       hardcode_libdir_separator_F77=':'
   15745       link_all_deplibs_F77=yes
   15746       export_dynamic_flag_spec_F77='${wl}-Bexport'
   15747       runpath_var='LD_RUN_PATH'
   15748 
   15749       if test "$GCC" = yes; then
   15750 	archive_cmds_F77='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   15751 	archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   15752       else
   15753 	archive_cmds_F77='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   15754 	archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   15755       fi
   15756       ;;
   15757 
   15758     uts4*)
   15759       archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15760       hardcode_libdir_flag_spec_F77='-L$libdir'
   15761       hardcode_shlibpath_var_F77=no
   15762       ;;
   15763 
   15764     *)
   15765       ld_shlibs_F77=no
   15766       ;;
   15767     esac
   15768   fi
   15769 
   15770 { $as_echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
   15771 $as_echo "$ld_shlibs_F77" >&6; }
   15772 test "$ld_shlibs_F77" = no && can_build_shared=no
   15773 
   15774 #
   15775 # Do we need to explicitly link libc?
   15776 #
   15777 case "x$archive_cmds_need_lc_F77" in
   15778 x|xyes)
   15779   # Assume -lc should be added
   15780   archive_cmds_need_lc_F77=yes
   15781 
   15782   if test "$enable_shared" = yes && test "$GCC" = yes; then
   15783     case $archive_cmds_F77 in
   15784     *'~'*)
   15785       # FIXME: we may have to deal with multi-command sequences.
   15786       ;;
   15787     '$CC '*)
   15788       # Test whether the compiler implicitly links with -lc since on some
   15789       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   15790       # to ld, don't add -lc before -lgcc.
   15791       { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
   15792 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
   15793       $rm conftest*
   15794       echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   15795 
   15796       if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   15797   (eval $ac_compile) 2>&5
   15798   ac_status=$?
   15799   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   15800   (exit $ac_status); } 2>conftest.err; then
   15801         soname=conftest
   15802         lib=conftest
   15803         libobjs=conftest.$ac_objext
   15804         deplibs=
   15805         wl=$lt_prog_compiler_wl_F77
   15806 	pic_flag=$lt_prog_compiler_pic_F77
   15807         compiler_flags=-v
   15808         linker_flags=-v
   15809         verstring=
   15810         output_objdir=.
   15811         libname=conftest
   15812         lt_save_allow_undefined_flag=$allow_undefined_flag_F77
   15813         allow_undefined_flag_F77=
   15814         if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
   15815   (eval $archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
   15816   ac_status=$?
   15817   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   15818   (exit $ac_status); }
   15819         then
   15820 	  archive_cmds_need_lc_F77=no
   15821         else
   15822 	  archive_cmds_need_lc_F77=yes
   15823         fi
   15824         allow_undefined_flag_F77=$lt_save_allow_undefined_flag
   15825       else
   15826         cat conftest.err 1>&5
   15827       fi
   15828       $rm conftest*
   15829       { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
   15830 $as_echo "$archive_cmds_need_lc_F77" >&6; }
   15831       ;;
   15832     esac
   15833   fi
   15834   ;;
   15835 esac
   15836 
   15837 { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
   15838 $as_echo_n "checking dynamic linker characteristics... " >&6; }
   15839 library_names_spec=
   15840 libname_spec='lib$name'
   15841 soname_spec=
   15842 shrext_cmds=".so"
   15843 postinstall_cmds=
   15844 postuninstall_cmds=
   15845 finish_cmds=
   15846 finish_eval=
   15847 shlibpath_var=
   15848 shlibpath_overrides_runpath=unknown
   15849 version_type=none
   15850 dynamic_linker="$host_os ld.so"
   15851 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   15852 
   15853 need_lib_prefix=unknown
   15854 hardcode_into_libs=no
   15855 
   15856 # when you set need_version to no, make sure it does not cause -set_version
   15857 # flags to be left without arguments
   15858 need_version=unknown
   15859 
   15860 case $host_os in
   15861 aix3*)
   15862   version_type=linux
   15863   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   15864   shlibpath_var=LIBPATH
   15865 
   15866   # AIX 3 has no versioning support, so we append a major version to the name.
   15867   soname_spec='${libname}${release}${shared_ext}$major'
   15868   ;;
   15869 
   15870 aix[4-9]*)
   15871   version_type=linux
   15872   need_lib_prefix=no
   15873   need_version=no
   15874   hardcode_into_libs=yes
   15875   if test "$host_cpu" = ia64; then
   15876     # AIX 5 supports IA64
   15877     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
   15878     shlibpath_var=LD_LIBRARY_PATH
   15879   else
   15880     # With GCC up to 2.95.x, collect2 would create an import file
   15881     # for dependence libraries.  The import file would start with
   15882     # the line `#! .'.  This would cause the generated library to
   15883     # depend on `.', always an invalid library.  This was fixed in
   15884     # development snapshots of GCC prior to 3.0.
   15885     case $host_os in
   15886       aix4 | aix4.[01] | aix4.[01].*)
   15887       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   15888 	   echo ' yes '
   15889 	   echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
   15890 	:
   15891       else
   15892 	can_build_shared=no
   15893       fi
   15894       ;;
   15895     esac
   15896     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
   15897     # soname into executable. Probably we can add versioning support to
   15898     # collect2, so additional links can be useful in future.
   15899     if test "$aix_use_runtimelinking" = yes; then
   15900       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   15901       # instead of lib<name>.a to let people know that these are not
   15902       # typical AIX shared libraries.
   15903       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15904     else
   15905       # We preserve .a as extension for shared libraries through AIX4.2
   15906       # and later when we are not doing run time linking.
   15907       library_names_spec='${libname}${release}.a $libname.a'
   15908       soname_spec='${libname}${release}${shared_ext}$major'
   15909     fi
   15910     shlibpath_var=LIBPATH
   15911   fi
   15912   ;;
   15913 
   15914 amigaos*)
   15915   library_names_spec='$libname.ixlibrary $libname.a'
   15916   # Create ${libname}_ixlibrary.a entries in /sys/libs.
   15917   finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
   15918   ;;
   15919 
   15920 beos*)
   15921   library_names_spec='${libname}${shared_ext}'
   15922   dynamic_linker="$host_os ld.so"
   15923   shlibpath_var=LIBRARY_PATH
   15924   ;;
   15925 
   15926 bsdi[45]*)
   15927   version_type=linux
   15928   need_version=no
   15929   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15930   soname_spec='${libname}${release}${shared_ext}$major'
   15931   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   15932   shlibpath_var=LD_LIBRARY_PATH
   15933   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   15934   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   15935   # the default ld.so.conf also contains /usr/contrib/lib and
   15936   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   15937   # libtool to hard-code these into programs
   15938   ;;
   15939 
   15940 cygwin* | mingw* | pw32*)
   15941   version_type=windows
   15942   shrext_cmds=".dll"
   15943   need_version=no
   15944   need_lib_prefix=no
   15945 
   15946   case $GCC,$host_os in
   15947   yes,cygwin* | yes,mingw* | yes,pw32*)
   15948     library_names_spec='$libname.dll.a'
   15949     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   15950     postinstall_cmds='base_file=`basename \${file}`~
   15951       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
   15952       dldir=$destdir/`dirname \$dlpath`~
   15953       test -d \$dldir || mkdir -p \$dldir~
   15954       $install_prog $dir/$dlname \$dldir/$dlname~
   15955       chmod a+x \$dldir/$dlname'
   15956     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   15957       dlpath=$dir/\$dldll~
   15958        $rm \$dlpath'
   15959     shlibpath_overrides_runpath=yes
   15960 
   15961     case $host_os in
   15962     cygwin*)
   15963       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   15964       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   15965       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
   15966       ;;
   15967     mingw*)
   15968       # MinGW DLLs use traditional 'lib' prefix
   15969       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   15970       sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   15971       if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
   15972         # It is most probably a Windows format PATH printed by
   15973         # mingw gcc, but we are running on Cygwin. Gcc prints its search
   15974         # path with ; separators, and with drive letters. We can handle the
   15975         # drive letters (cygwin fileutils understands them), so leave them,
   15976         # especially as we might pass files found there to a mingw objdump,
   15977         # which wouldn't understand a cygwinified path. Ahh.
   15978         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   15979       else
   15980         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   15981       fi
   15982       ;;
   15983     pw32*)
   15984       # pw32 DLLs use 'pw' prefix rather than 'lib'
   15985       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   15986       ;;
   15987     esac
   15988     ;;
   15989 
   15990   *)
   15991     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
   15992     ;;
   15993   esac
   15994   dynamic_linker='Win32 ld.exe'
   15995   # FIXME: first we should search . and the directory the executable is in
   15996   shlibpath_var=PATH
   15997   ;;
   15998 
   15999 darwin* | rhapsody*)
   16000   dynamic_linker="$host_os dyld"
   16001   version_type=darwin
   16002   need_lib_prefix=no
   16003   need_version=no
   16004   library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
   16005   soname_spec='${libname}${release}${major}$shared_ext'
   16006   shlibpath_overrides_runpath=yes
   16007   shlibpath_var=DYLD_LIBRARY_PATH
   16008   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   16009 
   16010   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   16011   ;;
   16012 
   16013 dgux*)
   16014   version_type=linux
   16015   need_lib_prefix=no
   16016   need_version=no
   16017   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
   16018   soname_spec='${libname}${release}${shared_ext}$major'
   16019   shlibpath_var=LD_LIBRARY_PATH
   16020   ;;
   16021 
   16022 freebsd1*)
   16023   dynamic_linker=no
   16024   ;;
   16025 
   16026 freebsd* | dragonfly*)
   16027   # DragonFly does not have aout.  When/if they implement a new
   16028   # versioning mechanism, adjust this.
   16029   if test -x /usr/bin/objformat; then
   16030     objformat=`/usr/bin/objformat`
   16031   else
   16032     case $host_os in
   16033     freebsd[123]*) objformat=aout ;;
   16034     *) objformat=elf ;;
   16035     esac
   16036   fi
   16037   version_type=freebsd-$objformat
   16038   case $version_type in
   16039     freebsd-elf*)
   16040       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   16041       need_version=no
   16042       need_lib_prefix=no
   16043       ;;
   16044     freebsd-*)
   16045       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
   16046       need_version=yes
   16047       ;;
   16048   esac
   16049   shlibpath_var=LD_LIBRARY_PATH
   16050   case $host_os in
   16051   freebsd2*)
   16052     shlibpath_overrides_runpath=yes
   16053     ;;
   16054   freebsd3.[01]* | freebsdelf3.[01]*)
   16055     shlibpath_overrides_runpath=yes
   16056     hardcode_into_libs=yes
   16057     ;;
   16058   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   16059   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   16060     shlibpath_overrides_runpath=no
   16061     hardcode_into_libs=yes
   16062     ;;
   16063   *) # from 4.6 on, and DragonFly
   16064     shlibpath_overrides_runpath=yes
   16065     hardcode_into_libs=yes
   16066     ;;
   16067   esac
   16068   ;;
   16069 
   16070 gnu*)
   16071   version_type=linux
   16072   need_lib_prefix=no
   16073   need_version=no
   16074   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   16075   soname_spec='${libname}${release}${shared_ext}$major'
   16076   shlibpath_var=LD_LIBRARY_PATH
   16077   hardcode_into_libs=yes
   16078   ;;
   16079 
   16080 hpux9* | hpux10* | hpux11*)
   16081   # Give a soname corresponding to the major version so that dld.sl refuses to
   16082   # link against other versions.
   16083   version_type=sunos
   16084   need_lib_prefix=no
   16085   need_version=no
   16086   case $host_cpu in
   16087   ia64*)
   16088     shrext_cmds='.so'
   16089     hardcode_into_libs=yes
   16090     dynamic_linker="$host_os dld.so"
   16091     shlibpath_var=LD_LIBRARY_PATH
   16092     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   16093     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16094     soname_spec='${libname}${release}${shared_ext}$major'
   16095     if test "X$HPUX_IA64_MODE" = X32; then
   16096       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   16097     else
   16098       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   16099     fi
   16100     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   16101     ;;
   16102    hppa*64*)
   16103      shrext_cmds='.sl'
   16104      hardcode_into_libs=yes
   16105      dynamic_linker="$host_os dld.sl"
   16106      shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   16107      shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   16108      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16109      soname_spec='${libname}${release}${shared_ext}$major'
   16110      sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   16111      sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   16112      ;;
   16113    *)
   16114     shrext_cmds='.sl'
   16115     dynamic_linker="$host_os dld.sl"
   16116     shlibpath_var=SHLIB_PATH
   16117     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   16118     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16119     soname_spec='${libname}${release}${shared_ext}$major'
   16120     ;;
   16121   esac
   16122   # HP-UX runs *really* slowly unless shared libraries are mode 555.
   16123   postinstall_cmds='chmod 555 $lib'
   16124   ;;
   16125 
   16126 interix[3-9]*)
   16127   version_type=linux
   16128   need_lib_prefix=no
   16129   need_version=no
   16130   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   16131   soname_spec='${libname}${release}${shared_ext}$major'
   16132   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   16133   shlibpath_var=LD_LIBRARY_PATH
   16134   shlibpath_overrides_runpath=no
   16135   hardcode_into_libs=yes
   16136   ;;
   16137 
   16138 irix5* | irix6* | nonstopux*)
   16139   case $host_os in
   16140     nonstopux*) version_type=nonstopux ;;
   16141     *)
   16142 	if test "$lt_cv_prog_gnu_ld" = yes; then
   16143 		version_type=linux
   16144 	else
   16145 		version_type=irix
   16146 	fi ;;
   16147   esac
   16148   need_lib_prefix=no
   16149   need_version=no
   16150   soname_spec='${libname}${release}${shared_ext}$major'
   16151   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
   16152   case $host_os in
   16153   irix5* | nonstopux*)
   16154     libsuff= shlibsuff=
   16155     ;;
   16156   *)
   16157     case $LD in # libtool.m4 will add one of these switches to LD
   16158     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   16159       libsuff= shlibsuff= libmagic=32-bit;;
   16160     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   16161       libsuff=32 shlibsuff=N32 libmagic=N32;;
   16162     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   16163       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   16164     *) libsuff= shlibsuff= libmagic=never-match;;
   16165     esac
   16166     ;;
   16167   esac
   16168   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   16169   shlibpath_overrides_runpath=no
   16170   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   16171   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   16172   hardcode_into_libs=yes
   16173   ;;
   16174 
   16175 # No shared lib support for Linux oldld, aout, or coff.
   16176 linux*oldld* | linux*aout* | linux*coff*)
   16177   dynamic_linker=no
   16178   ;;
   16179 
   16180 # This must be Linux ELF.
   16181 linux* | k*bsd*-gnu)
   16182   version_type=linux
   16183   need_lib_prefix=no
   16184   need_version=no
   16185   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16186   soname_spec='${libname}${release}${shared_ext}$major'
   16187   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   16188   shlibpath_var=LD_LIBRARY_PATH
   16189   shlibpath_overrides_runpath=no
   16190   # This implies no fast_install, which is unacceptable.
   16191   # Some rework will be needed to allow for fast_install
   16192   # before this can be enabled.
   16193   hardcode_into_libs=yes
   16194 
   16195   # Append ld.so.conf contents to the search path
   16196   if test -f /etc/ld.so.conf; then
   16197     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' ' '`
   16198     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   16199   fi
   16200 
   16201   # We used to test for /lib/ld.so.1 and disable shared libraries on
   16202   # powerpc, because MkLinux only supported shared libraries with the
   16203   # GNU dynamic linker.  Since this was broken with cross compilers,
   16204   # most powerpc-linux boxes support dynamic linking these days and
   16205   # people can always --disable-shared, the test was removed, and we
   16206   # assume the GNU/Linux dynamic linker is in use.
   16207   dynamic_linker='GNU/Linux ld.so'
   16208   ;;
   16209 
   16210 netbsd*)
   16211   version_type=sunos
   16212   need_lib_prefix=no
   16213   need_version=no
   16214   if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   16215     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   16216     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   16217     dynamic_linker='NetBSD (a.out) ld.so'
   16218   else
   16219     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   16220     soname_spec='${libname}${release}${shared_ext}$major'
   16221     dynamic_linker='NetBSD ld.elf_so'
   16222   fi
   16223   shlibpath_var=LD_LIBRARY_PATH
   16224   shlibpath_overrides_runpath=yes
   16225   hardcode_into_libs=yes
   16226   ;;
   16227 
   16228 newsos6)
   16229   version_type=linux
   16230   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16231   shlibpath_var=LD_LIBRARY_PATH
   16232   shlibpath_overrides_runpath=yes
   16233   ;;
   16234 
   16235 nto-qnx*)
   16236   version_type=linux
   16237   need_lib_prefix=no
   16238   need_version=no
   16239   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16240   soname_spec='${libname}${release}${shared_ext}$major'
   16241   shlibpath_var=LD_LIBRARY_PATH
   16242   shlibpath_overrides_runpath=yes
   16243   ;;
   16244 
   16245 openbsd*)
   16246   version_type=sunos
   16247   sys_lib_dlsearch_path_spec="/usr/lib"
   16248   need_lib_prefix=no
   16249   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
   16250   case $host_os in
   16251     openbsd3.3 | openbsd3.3.*) need_version=yes ;;
   16252     *)                         need_version=no  ;;
   16253   esac
   16254   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   16255   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   16256   shlibpath_var=LD_LIBRARY_PATH
   16257   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   16258     case $host_os in
   16259       openbsd2.[89] | openbsd2.[89].*)
   16260 	shlibpath_overrides_runpath=no
   16261 	;;
   16262       *)
   16263 	shlibpath_overrides_runpath=yes
   16264 	;;
   16265       esac
   16266   else
   16267     shlibpath_overrides_runpath=yes
   16268   fi
   16269   ;;
   16270 
   16271 os2*)
   16272   libname_spec='$name'
   16273   shrext_cmds=".dll"
   16274   need_lib_prefix=no
   16275   library_names_spec='$libname${shared_ext} $libname.a'
   16276   dynamic_linker='OS/2 ld.exe'
   16277   shlibpath_var=LIBPATH
   16278   ;;
   16279 
   16280 osf3* | osf4* | osf5*)
   16281   version_type=osf
   16282   need_lib_prefix=no
   16283   need_version=no
   16284   soname_spec='${libname}${release}${shared_ext}$major'
   16285   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16286   shlibpath_var=LD_LIBRARY_PATH
   16287   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   16288   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   16289   ;;
   16290 
   16291 rdos*)
   16292   dynamic_linker=no
   16293   ;;
   16294 
   16295 solaris*)
   16296   version_type=linux
   16297   need_lib_prefix=no
   16298   need_version=no
   16299   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16300   soname_spec='${libname}${release}${shared_ext}$major'
   16301   shlibpath_var=LD_LIBRARY_PATH
   16302   shlibpath_overrides_runpath=yes
   16303   hardcode_into_libs=yes
   16304   # ldd complains unless libraries are executable
   16305   postinstall_cmds='chmod +x $lib'
   16306   ;;
   16307 
   16308 sunos4*)
   16309   version_type=sunos
   16310   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   16311   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   16312   shlibpath_var=LD_LIBRARY_PATH
   16313   shlibpath_overrides_runpath=yes
   16314   if test "$with_gnu_ld" = yes; then
   16315     need_lib_prefix=no
   16316   fi
   16317   need_version=yes
   16318   ;;
   16319 
   16320 sysv4 | sysv4.3*)
   16321   version_type=linux
   16322   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16323   soname_spec='${libname}${release}${shared_ext}$major'
   16324   shlibpath_var=LD_LIBRARY_PATH
   16325   case $host_vendor in
   16326     sni)
   16327       shlibpath_overrides_runpath=no
   16328       need_lib_prefix=no
   16329       export_dynamic_flag_spec='${wl}-Blargedynsym'
   16330       runpath_var=LD_RUN_PATH
   16331       ;;
   16332     siemens)
   16333       need_lib_prefix=no
   16334       ;;
   16335     motorola)
   16336       need_lib_prefix=no
   16337       need_version=no
   16338       shlibpath_overrides_runpath=no
   16339       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   16340       ;;
   16341   esac
   16342   ;;
   16343 
   16344 sysv4*MP*)
   16345   if test -d /usr/nec ;then
   16346     version_type=linux
   16347     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
   16348     soname_spec='$libname${shared_ext}.$major'
   16349     shlibpath_var=LD_LIBRARY_PATH
   16350   fi
   16351   ;;
   16352 
   16353 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   16354   version_type=freebsd-elf
   16355   need_lib_prefix=no
   16356   need_version=no
   16357   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   16358   soname_spec='${libname}${release}${shared_ext}$major'
   16359   shlibpath_var=LD_LIBRARY_PATH
   16360   hardcode_into_libs=yes
   16361   if test "$with_gnu_ld" = yes; then
   16362     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   16363     shlibpath_overrides_runpath=no
   16364   else
   16365     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   16366     shlibpath_overrides_runpath=yes
   16367     case $host_os in
   16368       sco3.2v5*)
   16369         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   16370 	;;
   16371     esac
   16372   fi
   16373   sys_lib_dlsearch_path_spec='/usr/lib'
   16374   ;;
   16375 
   16376 uts4*)
   16377   version_type=linux
   16378   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16379   soname_spec='${libname}${release}${shared_ext}$major'
   16380   shlibpath_var=LD_LIBRARY_PATH
   16381   ;;
   16382 
   16383 *)
   16384   dynamic_linker=no
   16385   ;;
   16386 esac
   16387 { $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
   16388 $as_echo "$dynamic_linker" >&6; }
   16389 test "$dynamic_linker" = no && can_build_shared=no
   16390 
   16391 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
   16392   $as_echo_n "(cached) " >&6
   16393 else
   16394   lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
   16395 fi
   16396 
   16397 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
   16398 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
   16399   $as_echo_n "(cached) " >&6
   16400 else
   16401   lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
   16402 fi
   16403 
   16404 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
   16405 
   16406 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   16407 if test "$GCC" = yes; then
   16408   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   16409 fi
   16410 
   16411 { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
   16412 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
   16413 hardcode_action_F77=
   16414 if test -n "$hardcode_libdir_flag_spec_F77" || \
   16415    test -n "$runpath_var_F77" || \
   16416    test "X$hardcode_automatic_F77" = "Xyes" ; then
   16417 
   16418   # We can hardcode non-existant directories.
   16419   if test "$hardcode_direct_F77" != no &&
   16420      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   16421      # have to relink, otherwise we might link with an installed library
   16422      # when we should be linking with a yet-to-be-installed one
   16423      ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
   16424      test "$hardcode_minus_L_F77" != no; then
   16425     # Linking always hardcodes the temporary library directory.
   16426     hardcode_action_F77=relink
   16427   else
   16428     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   16429     hardcode_action_F77=immediate
   16430   fi
   16431 else
   16432   # We cannot hardcode anything, or else we can only hardcode existing
   16433   # directories.
   16434   hardcode_action_F77=unsupported
   16435 fi
   16436 { $as_echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
   16437 $as_echo "$hardcode_action_F77" >&6; }
   16438 
   16439 if test "$hardcode_action_F77" = relink; then
   16440   # Fast installation is not supported
   16441   enable_fast_install=no
   16442 elif test "$shlibpath_overrides_runpath" = yes ||
   16443      test "$enable_shared" = no; then
   16444   # Fast installation is not necessary
   16445   enable_fast_install=needless
   16446 fi
   16447 
   16448 
   16449 # The else clause should only fire when bootstrapping the
   16450 # libtool distribution, otherwise you forgot to ship ltmain.sh
   16451 # with your package, and you will get complaints that there are
   16452 # no rules to generate ltmain.sh.
   16453 if test -f "$ltmain"; then
   16454   # See if we are running on zsh, and set the options which allow our commands through
   16455   # without removal of \ escapes.
   16456   if test -n "${ZSH_VERSION+set}" ; then
   16457     setopt NO_GLOB_SUBST
   16458   fi
   16459   # Now quote all the things that may contain metacharacters while being
   16460   # careful not to overquote the AC_SUBSTed values.  We take copies of the
   16461   # variables and quote the copies for generation of the libtool script.
   16462   for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
   16463     SED SHELL STRIP \
   16464     libname_spec library_names_spec soname_spec extract_expsyms_cmds \
   16465     old_striplib striplib file_magic_cmd finish_cmds finish_eval \
   16466     deplibs_check_method reload_flag reload_cmds need_locks \
   16467     lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
   16468     lt_cv_sys_global_symbol_to_c_name_address \
   16469     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
   16470     old_postinstall_cmds old_postuninstall_cmds \
   16471     compiler_F77 \
   16472     CC_F77 \
   16473     LD_F77 \
   16474     lt_prog_compiler_wl_F77 \
   16475     lt_prog_compiler_pic_F77 \
   16476     lt_prog_compiler_static_F77 \
   16477     lt_prog_compiler_no_builtin_flag_F77 \
   16478     export_dynamic_flag_spec_F77 \
   16479     thread_safe_flag_spec_F77 \
   16480     whole_archive_flag_spec_F77 \
   16481     enable_shared_with_static_runtimes_F77 \
   16482     old_archive_cmds_F77 \
   16483     old_archive_from_new_cmds_F77 \
   16484     predep_objects_F77 \
   16485     postdep_objects_F77 \
   16486     predeps_F77 \
   16487     postdeps_F77 \
   16488     compiler_lib_search_path_F77 \
   16489     compiler_lib_search_dirs_F77 \
   16490     archive_cmds_F77 \
   16491     archive_expsym_cmds_F77 \
   16492     postinstall_cmds_F77 \
   16493     postuninstall_cmds_F77 \
   16494     old_archive_from_expsyms_cmds_F77 \
   16495     allow_undefined_flag_F77 \
   16496     no_undefined_flag_F77 \
   16497     export_symbols_cmds_F77 \
   16498     hardcode_libdir_flag_spec_F77 \
   16499     hardcode_libdir_flag_spec_ld_F77 \
   16500     hardcode_libdir_separator_F77 \
   16501     hardcode_automatic_F77 \
   16502     module_cmds_F77 \
   16503     module_expsym_cmds_F77 \
   16504     lt_cv_prog_compiler_c_o_F77 \
   16505     fix_srcfile_path_F77 \
   16506     exclude_expsyms_F77 \
   16507     include_expsyms_F77; do
   16508 
   16509     case $var in
   16510     old_archive_cmds_F77 | \
   16511     old_archive_from_new_cmds_F77 | \
   16512     archive_cmds_F77 | \
   16513     archive_expsym_cmds_F77 | \
   16514     module_cmds_F77 | \
   16515     module_expsym_cmds_F77 | \
   16516     old_archive_from_expsyms_cmds_F77 | \
   16517     export_symbols_cmds_F77 | \
   16518     extract_expsyms_cmds | reload_cmds | finish_cmds | \
   16519     postinstall_cmds | postuninstall_cmds | \
   16520     old_postinstall_cmds | old_postuninstall_cmds | \
   16521     sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
   16522       # Double-quote double-evaled strings.
   16523       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
   16524       ;;
   16525     *)
   16526       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
   16527       ;;
   16528     esac
   16529   done
   16530 
   16531   case $lt_echo in
   16532   *'\$0 --fallback-echo"')
   16533     lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
   16534     ;;
   16535   esac
   16536 
   16537 cfgfile="$ofile"
   16538 
   16539   cat <<__EOF__ >> "$cfgfile"
   16540 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
   16541 
   16542 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   16543 
   16544 # Shell to use when invoking shell scripts.
   16545 SHELL=$lt_SHELL
   16546 
   16547 # Whether or not to build shared libraries.
   16548 build_libtool_libs=$enable_shared
   16549 
   16550 # Whether or not to build static libraries.
   16551 build_old_libs=$enable_static
   16552 
   16553 # Whether or not to add -lc for building shared libraries.
   16554 build_libtool_need_lc=$archive_cmds_need_lc_F77
   16555 
   16556 # Whether or not to disallow shared libs when runtime libs are static
   16557 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
   16558 
   16559 # Whether or not to optimize for fast installation.
   16560 fast_install=$enable_fast_install
   16561 
   16562 # The host system.
   16563 host_alias=$host_alias
   16564 host=$host
   16565 host_os=$host_os
   16566 
   16567 # The build system.
   16568 build_alias=$build_alias
   16569 build=$build
   16570 build_os=$build_os
   16571 
   16572 # An echo program that does not interpret backslashes.
   16573 echo=$lt_echo
   16574 
   16575 # The archiver.
   16576 AR=$lt_AR
   16577 AR_FLAGS=$lt_AR_FLAGS
   16578 
   16579 # A C compiler.
   16580 LTCC=$lt_LTCC
   16581 
   16582 # LTCC compiler flags.
   16583 LTCFLAGS=$lt_LTCFLAGS
   16584 
   16585 # A language-specific compiler.
   16586 CC=$lt_compiler_F77
   16587 
   16588 # Is the compiler the GNU C compiler?
   16589 with_gcc=$GCC_F77
   16590 
   16591 # An ERE matcher.
   16592 EGREP=$lt_EGREP
   16593 
   16594 # The linker used to build libraries.
   16595 LD=$lt_LD_F77
   16596 
   16597 # Whether we need hard or soft links.
   16598 LN_S=$lt_LN_S
   16599 
   16600 # A BSD-compatible nm program.
   16601 NM=$lt_NM
   16602 
   16603 # A symbol stripping program
   16604 STRIP=$lt_STRIP
   16605 
   16606 # Used to examine libraries when file_magic_cmd begins "file"
   16607 MAGIC_CMD=$MAGIC_CMD
   16608 
   16609 # Used on cygwin: DLL creation program.
   16610 DLLTOOL="$DLLTOOL"
   16611 
   16612 # Used on cygwin: object dumper.
   16613 OBJDUMP="$OBJDUMP"
   16614 
   16615 # Used on cygwin: assembler.
   16616 AS="$AS"
   16617 
   16618 # The name of the directory that contains temporary libtool files.
   16619 objdir=$objdir
   16620 
   16621 # How to create reloadable object files.
   16622 reload_flag=$lt_reload_flag
   16623 reload_cmds=$lt_reload_cmds
   16624 
   16625 # How to pass a linker flag through the compiler.
   16626 wl=$lt_lt_prog_compiler_wl_F77
   16627 
   16628 # Object file suffix (normally "o").
   16629 objext="$ac_objext"
   16630 
   16631 # Old archive suffix (normally "a").
   16632 libext="$libext"
   16633 
   16634 # Shared library suffix (normally ".so").
   16635 shrext_cmds='$shrext_cmds'
   16636 
   16637 # Executable file suffix (normally "").
   16638 exeext="$exeext"
   16639 
   16640 # Additional compiler flags for building library objects.
   16641 pic_flag=$lt_lt_prog_compiler_pic_F77
   16642 pic_mode=$pic_mode
   16643 
   16644 # What is the maximum length of a command?
   16645 max_cmd_len=$lt_cv_sys_max_cmd_len
   16646 
   16647 # Does compiler simultaneously support -c and -o options?
   16648 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
   16649 
   16650 # Must we lock files when doing compilation?
   16651 need_locks=$lt_need_locks
   16652 
   16653 # Do we need the lib prefix for modules?
   16654 need_lib_prefix=$need_lib_prefix
   16655 
   16656 # Do we need a version for libraries?
   16657 need_version=$need_version
   16658 
   16659 # Whether dlopen is supported.
   16660 dlopen_support=$enable_dlopen
   16661 
   16662 # Whether dlopen of programs is supported.
   16663 dlopen_self=$enable_dlopen_self
   16664 
   16665 # Whether dlopen of statically linked programs is supported.
   16666 dlopen_self_static=$enable_dlopen_self_static
   16667 
   16668 # Compiler flag to prevent dynamic linking.
   16669 link_static_flag=$lt_lt_prog_compiler_static_F77
   16670 
   16671 # Compiler flag to turn off builtin functions.
   16672 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
   16673 
   16674 # Compiler flag to allow reflexive dlopens.
   16675 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
   16676 
   16677 # Compiler flag to generate shared objects directly from archives.
   16678 whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
   16679 
   16680 # Compiler flag to generate thread-safe objects.
   16681 thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
   16682 
   16683 # Library versioning type.
   16684 version_type=$version_type
   16685 
   16686 # Format of library name prefix.
   16687 libname_spec=$lt_libname_spec
   16688 
   16689 # List of archive names.  First name is the real one, the rest are links.
   16690 # The last name is the one that the linker finds with -lNAME.
   16691 library_names_spec=$lt_library_names_spec
   16692 
   16693 # The coded name of the library, if different from the real name.
   16694 soname_spec=$lt_soname_spec
   16695 
   16696 # Commands used to build and install an old-style archive.
   16697 RANLIB=$lt_RANLIB
   16698 old_archive_cmds=$lt_old_archive_cmds_F77
   16699 old_postinstall_cmds=$lt_old_postinstall_cmds
   16700 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   16701 
   16702 # Create an old-style archive from a shared archive.
   16703 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
   16704 
   16705 # Create a temporary old-style archive to link instead of a shared archive.
   16706 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
   16707 
   16708 # Commands used to build and install a shared archive.
   16709 archive_cmds=$lt_archive_cmds_F77
   16710 archive_expsym_cmds=$lt_archive_expsym_cmds_F77
   16711 postinstall_cmds=$lt_postinstall_cmds
   16712 postuninstall_cmds=$lt_postuninstall_cmds
   16713 
   16714 # Commands used to build a loadable module (assumed same as above if empty)
   16715 module_cmds=$lt_module_cmds_F77
   16716 module_expsym_cmds=$lt_module_expsym_cmds_F77
   16717 
   16718 # Commands to strip libraries.
   16719 old_striplib=$lt_old_striplib
   16720 striplib=$lt_striplib
   16721 
   16722 # Dependencies to place before the objects being linked to create a
   16723 # shared library.
   16724 predep_objects=$lt_predep_objects_F77
   16725 
   16726 # Dependencies to place after the objects being linked to create a
   16727 # shared library.
   16728 postdep_objects=$lt_postdep_objects_F77
   16729 
   16730 # Dependencies to place before the objects being linked to create a
   16731 # shared library.
   16732 predeps=$lt_predeps_F77
   16733 
   16734 # Dependencies to place after the objects being linked to create a
   16735 # shared library.
   16736 postdeps=$lt_postdeps_F77
   16737 
   16738 # The directories searched by this compiler when creating a shared
   16739 # library
   16740 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_F77
   16741 
   16742 # The library search path used internally by the compiler when linking
   16743 # a shared library.
   16744 compiler_lib_search_path=$lt_compiler_lib_search_path_F77
   16745 
   16746 # Method to check whether dependent libraries are shared objects.
   16747 deplibs_check_method=$lt_deplibs_check_method
   16748 
   16749 # Command to use when deplibs_check_method == file_magic.
   16750 file_magic_cmd=$lt_file_magic_cmd
   16751 
   16752 # Flag that allows shared libraries with undefined symbols to be built.
   16753 allow_undefined_flag=$lt_allow_undefined_flag_F77
   16754 
   16755 # Flag that forces no undefined symbols.
   16756 no_undefined_flag=$lt_no_undefined_flag_F77
   16757 
   16758 # Commands used to finish a libtool library installation in a directory.
   16759 finish_cmds=$lt_finish_cmds
   16760 
   16761 # Same as above, but a single script fragment to be evaled but not shown.
   16762 finish_eval=$lt_finish_eval
   16763 
   16764 # Take the output of nm and produce a listing of raw symbols and C names.
   16765 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   16766 
   16767 # Transform the output of nm in a proper C declaration
   16768 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   16769 
   16770 # Transform the output of nm in a C name address pair
   16771 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   16772 
   16773 # This is the shared library runtime path variable.
   16774 runpath_var=$runpath_var
   16775 
   16776 # This is the shared library path variable.
   16777 shlibpath_var=$shlibpath_var
   16778 
   16779 # Is shlibpath searched before the hard-coded library search path?
   16780 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   16781 
   16782 # How to hardcode a shared library path into an executable.
   16783 hardcode_action=$hardcode_action_F77
   16784 
   16785 # Whether we should hardcode library paths into libraries.
   16786 hardcode_into_libs=$hardcode_into_libs
   16787 
   16788 # Flag to hardcode \$libdir into a binary during linking.
   16789 # This must work even if \$libdir does not exist.
   16790 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
   16791 
   16792 # If ld is used when linking, flag to hardcode \$libdir into
   16793 # a binary during linking. This must work even if \$libdir does
   16794 # not exist.
   16795 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
   16796 
   16797 # Whether we need a single -rpath flag with a separated argument.
   16798 hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
   16799 
   16800 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
   16801 # resulting binary.
   16802 hardcode_direct=$hardcode_direct_F77
   16803 
   16804 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
   16805 # resulting binary.
   16806 hardcode_minus_L=$hardcode_minus_L_F77
   16807 
   16808 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
   16809 # the resulting binary.
   16810 hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
   16811 
   16812 # Set to yes if building a shared library automatically hardcodes DIR into the library
   16813 # and all subsequent libraries and executables linked against it.
   16814 hardcode_automatic=$hardcode_automatic_F77
   16815 
   16816 # Variables whose values should be saved in libtool wrapper scripts and
   16817 # restored at relink time.
   16818 variables_saved_for_relink="$variables_saved_for_relink"
   16819 
   16820 # Whether libtool must link a program against all its dependency libraries.
   16821 link_all_deplibs=$link_all_deplibs_F77
   16822 
   16823 # Compile-time system search path for libraries
   16824 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   16825 
   16826 # Run-time system search path for libraries
   16827 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   16828 
   16829 # Fix the shell variable \$srcfile for the compiler.
   16830 fix_srcfile_path=$lt_fix_srcfile_path
   16831 
   16832 # Set to yes if exported symbols are required.
   16833 always_export_symbols=$always_export_symbols_F77
   16834 
   16835 # The commands to list exported symbols.
   16836 export_symbols_cmds=$lt_export_symbols_cmds_F77
   16837 
   16838 # The commands to extract the exported symbol list from a shared archive.
   16839 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   16840 
   16841 # Symbols that should not be listed in the preloaded symbols.
   16842 exclude_expsyms=$lt_exclude_expsyms_F77
   16843 
   16844 # Symbols that must always be exported.
   16845 include_expsyms=$lt_include_expsyms_F77
   16846 
   16847 # ### END LIBTOOL TAG CONFIG: $tagname
   16848 
   16849 __EOF__
   16850 
   16851 
   16852 else
   16853   # If there is no Makefile yet, we rely on a make rule to execute
   16854   # `config.status --recheck' to rerun these tests and create the
   16855   # libtool script then.
   16856   ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
   16857   if test -f "$ltmain_in"; then
   16858     test -f Makefile && make "$ltmain"
   16859   fi
   16860 fi
   16861 
   16862 
   16863 ac_ext=c
   16864 ac_cpp='$CPP $CPPFLAGS'
   16865 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   16866 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   16867 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   16868 
   16869 CC="$lt_save_CC"
   16870 
   16871 	else
   16872 	  tagname=""
   16873 	fi
   16874 	;;
   16875 
   16876       GCJ)
   16877 	if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
   16878 
   16879 
   16880 # Source file extension for Java test sources.
   16881 ac_ext=java
   16882 
   16883 # Object file extension for compiled Java test sources.
   16884 objext=o
   16885 objext_GCJ=$objext
   16886 
   16887 # Code to be used in simple compile tests
   16888 lt_simple_compile_test_code="class foo {}"
   16889 
   16890 # Code to be used in simple link tests
   16891 lt_simple_link_test_code='public class conftest { public static void main(String[] argv) {}; }'
   16892 
   16893 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
   16894 
   16895 # If no C compiler was specified, use CC.
   16896 LTCC=${LTCC-"$CC"}
   16897 
   16898 # If no C compiler flags were specified, use CFLAGS.
   16899 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   16900 
   16901 # Allow CC to be a program name with arguments.
   16902 compiler=$CC
   16903 
   16904 
   16905 # save warnings/boilerplate of simple test code
   16906 ac_outfile=conftest.$ac_objext
   16907 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   16908 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   16909 _lt_compiler_boilerplate=`cat conftest.err`
   16910 $rm conftest*
   16911 
   16912 ac_outfile=conftest.$ac_objext
   16913 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   16914 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   16915 _lt_linker_boilerplate=`cat conftest.err`
   16916 $rm -r conftest*
   16917 
   16918 
   16919 # Allow CC to be a program name with arguments.
   16920 lt_save_CC="$CC"
   16921 CC=${GCJ-"gcj"}
   16922 compiler=$CC
   16923 compiler_GCJ=$CC
   16924 for cc_temp in $compiler""; do
   16925   case $cc_temp in
   16926     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   16927     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   16928     \-*) ;;
   16929     *) break;;
   16930   esac
   16931 done
   16932 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   16933 
   16934 
   16935 # GCJ did not exist at the time GCC didn't implicitly link libc in.
   16936 archive_cmds_need_lc_GCJ=no
   16937 
   16938 old_archive_cmds_GCJ=$old_archive_cmds
   16939 
   16940 
   16941 lt_prog_compiler_no_builtin_flag_GCJ=
   16942 
   16943 if test "$GCC" = yes; then
   16944   lt_prog_compiler_no_builtin_flag_GCJ=' -fno-builtin'
   16945 
   16946 
   16947 { $as_echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
   16948 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
   16949 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
   16950   $as_echo_n "(cached) " >&6
   16951 else
   16952   lt_cv_prog_compiler_rtti_exceptions=no
   16953   ac_outfile=conftest.$ac_objext
   16954    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   16955    lt_compiler_flag="-fno-rtti -fno-exceptions"
   16956    # Insert the option either (1) after the last *FLAGS variable, or
   16957    # (2) before a word containing "conftest.", or (3) at the end.
   16958    # Note that $ac_compile itself does not contain backslashes and begins
   16959    # with a dollar sign (not a hyphen), so the echo should work correctly.
   16960    # The option is referenced via a variable to avoid confusing sed.
   16961    lt_compile=`echo "$ac_compile" | $SED \
   16962    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   16963    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   16964    -e 's:$: $lt_compiler_flag:'`
   16965    (eval echo "\"\$as_me:16965: $lt_compile\"" >&5)
   16966    (eval "$lt_compile" 2>conftest.err)
   16967    ac_status=$?
   16968    cat conftest.err >&5
   16969    echo "$as_me:16969: \$? = $ac_status" >&5
   16970    if (exit $ac_status) && test -s "$ac_outfile"; then
   16971      # The compiler can only warn and ignore the option if not recognized
   16972      # So say no if there are warnings other than the usual output.
   16973      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   16974      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   16975      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   16976        lt_cv_prog_compiler_rtti_exceptions=yes
   16977      fi
   16978    fi
   16979    $rm conftest*
   16980 
   16981 fi
   16982 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
   16983 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
   16984 
   16985 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
   16986     lt_prog_compiler_no_builtin_flag_GCJ="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
   16987 else
   16988     :
   16989 fi
   16990 
   16991 fi
   16992 
   16993 lt_prog_compiler_wl_GCJ=
   16994 lt_prog_compiler_pic_GCJ=
   16995 lt_prog_compiler_static_GCJ=
   16996 
   16997 { $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
   16998 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
   16999 
   17000   if test "$GCC" = yes; then
   17001     lt_prog_compiler_wl_GCJ='-Wl,'
   17002     lt_prog_compiler_static_GCJ='-static'
   17003 
   17004     case $host_os in
   17005       aix*)
   17006       # All AIX code is PIC.
   17007       if test "$host_cpu" = ia64; then
   17008 	# AIX 5 now supports IA64 processor
   17009 	lt_prog_compiler_static_GCJ='-Bstatic'
   17010       fi
   17011       ;;
   17012 
   17013     amigaos*)
   17014       # FIXME: we need at least 68020 code to build shared libraries, but
   17015       # adding the `-m68020' flag to GCC prevents building anything better,
   17016       # like `-m68040'.
   17017       lt_prog_compiler_pic_GCJ='-m68020 -resident32 -malways-restore-a4'
   17018       ;;
   17019 
   17020     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   17021       # PIC is the default for these OSes.
   17022       ;;
   17023 
   17024     mingw* | cygwin* | pw32* | os2*)
   17025       # This hack is so that the source file can tell whether it is being
   17026       # built for inclusion in a dll (and should export symbols for example).
   17027       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   17028       # (--disable-auto-import) libraries
   17029 
   17030       ;;
   17031 
   17032     darwin* | rhapsody*)
   17033       # PIC is the default on this platform
   17034       # Common symbols not allowed in MH_DYLIB files
   17035       lt_prog_compiler_pic_GCJ='-fno-common'
   17036       ;;
   17037 
   17038     interix[3-9]*)
   17039       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   17040       # Instead, we relocate shared libraries at runtime.
   17041       ;;
   17042 
   17043     msdosdjgpp*)
   17044       # Just because we use GCC doesn't mean we suddenly get shared libraries
   17045       # on systems that don't support them.
   17046       lt_prog_compiler_can_build_shared_GCJ=no
   17047       enable_shared=no
   17048       ;;
   17049 
   17050     sysv4*MP*)
   17051       if test -d /usr/nec; then
   17052 	lt_prog_compiler_pic_GCJ=-Kconform_pic
   17053       fi
   17054       ;;
   17055 
   17056     hpux*)
   17057       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   17058       # not for PA HP-UX.
   17059       case $host_cpu in
   17060       hppa*64*|ia64*)
   17061 	# +Z the default
   17062 	;;
   17063       *)
   17064 	lt_prog_compiler_pic_GCJ='-fPIC'
   17065 	;;
   17066       esac
   17067       ;;
   17068 
   17069     *)
   17070       lt_prog_compiler_pic_GCJ='-fPIC'
   17071       ;;
   17072     esac
   17073   else
   17074     # PORTME Check for flag to pass linker flags through the system compiler.
   17075     case $host_os in
   17076     aix*)
   17077       lt_prog_compiler_wl_GCJ='-Wl,'
   17078       if test "$host_cpu" = ia64; then
   17079 	# AIX 5 now supports IA64 processor
   17080 	lt_prog_compiler_static_GCJ='-Bstatic'
   17081       else
   17082 	lt_prog_compiler_static_GCJ='-bnso -bI:/lib/syscalls.exp'
   17083       fi
   17084       ;;
   17085       darwin*)
   17086         # PIC is the default on this platform
   17087         # Common symbols not allowed in MH_DYLIB files
   17088        case $cc_basename in
   17089          xlc*)
   17090          lt_prog_compiler_pic_GCJ='-qnocommon'
   17091          lt_prog_compiler_wl_GCJ='-Wl,'
   17092          ;;
   17093        esac
   17094        ;;
   17095 
   17096     mingw* | cygwin* | pw32* | os2*)
   17097       # This hack is so that the source file can tell whether it is being
   17098       # built for inclusion in a dll (and should export symbols for example).
   17099 
   17100       ;;
   17101 
   17102     hpux9* | hpux10* | hpux11*)
   17103       lt_prog_compiler_wl_GCJ='-Wl,'
   17104       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   17105       # not for PA HP-UX.
   17106       case $host_cpu in
   17107       hppa*64*|ia64*)
   17108 	# +Z the default
   17109 	;;
   17110       *)
   17111 	lt_prog_compiler_pic_GCJ='+Z'
   17112 	;;
   17113       esac
   17114       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   17115       lt_prog_compiler_static_GCJ='${wl}-a ${wl}archive'
   17116       ;;
   17117 
   17118     irix5* | irix6* | nonstopux*)
   17119       lt_prog_compiler_wl_GCJ='-Wl,'
   17120       # PIC (with -KPIC) is the default.
   17121       lt_prog_compiler_static_GCJ='-non_shared'
   17122       ;;
   17123 
   17124     newsos6)
   17125       lt_prog_compiler_pic_GCJ='-KPIC'
   17126       lt_prog_compiler_static_GCJ='-Bstatic'
   17127       ;;
   17128 
   17129     linux* | k*bsd*-gnu)
   17130       case $cc_basename in
   17131       icc* | ecc*)
   17132 	lt_prog_compiler_wl_GCJ='-Wl,'
   17133 	lt_prog_compiler_pic_GCJ='-KPIC'
   17134 	lt_prog_compiler_static_GCJ='-static'
   17135         ;;
   17136       pgcc* | pgf77* | pgf90* | pgf95*)
   17137         # Portland Group compilers (*not* the Pentium gcc compiler,
   17138 	# which looks to be a dead project)
   17139 	lt_prog_compiler_wl_GCJ='-Wl,'
   17140 	lt_prog_compiler_pic_GCJ='-fpic'
   17141 	lt_prog_compiler_static_GCJ='-Bstatic'
   17142         ;;
   17143       ccc*)
   17144         lt_prog_compiler_wl_GCJ='-Wl,'
   17145         # All Alpha code is PIC.
   17146         lt_prog_compiler_static_GCJ='-non_shared'
   17147         ;;
   17148       *)
   17149         case `$CC -V 2>&1 | sed 5q` in
   17150 	*Sun\ C*)
   17151 	  # Sun C 5.9
   17152 	  lt_prog_compiler_pic_GCJ='-KPIC'
   17153 	  lt_prog_compiler_static_GCJ='-Bstatic'
   17154 	  lt_prog_compiler_wl_GCJ='-Wl,'
   17155 	  ;;
   17156 	*Sun\ F*)
   17157 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   17158 	  lt_prog_compiler_pic_GCJ='-KPIC'
   17159 	  lt_prog_compiler_static_GCJ='-Bstatic'
   17160 	  lt_prog_compiler_wl_GCJ=''
   17161 	  ;;
   17162 	esac
   17163 	;;
   17164       esac
   17165       ;;
   17166 
   17167     osf3* | osf4* | osf5*)
   17168       lt_prog_compiler_wl_GCJ='-Wl,'
   17169       # All OSF/1 code is PIC.
   17170       lt_prog_compiler_static_GCJ='-non_shared'
   17171       ;;
   17172 
   17173     rdos*)
   17174       lt_prog_compiler_static_GCJ='-non_shared'
   17175       ;;
   17176 
   17177     solaris*)
   17178       lt_prog_compiler_pic_GCJ='-KPIC'
   17179       lt_prog_compiler_static_GCJ='-Bstatic'
   17180       case $cc_basename in
   17181       f77* | f90* | f95*)
   17182 	lt_prog_compiler_wl_GCJ='-Qoption ld ';;
   17183       *)
   17184 	lt_prog_compiler_wl_GCJ='-Wl,';;
   17185       esac
   17186       ;;
   17187 
   17188     sunos4*)
   17189       lt_prog_compiler_wl_GCJ='-Qoption ld '
   17190       lt_prog_compiler_pic_GCJ='-PIC'
   17191       lt_prog_compiler_static_GCJ='-Bstatic'
   17192       ;;
   17193 
   17194     sysv4 | sysv4.2uw2* | sysv4.3*)
   17195       lt_prog_compiler_wl_GCJ='-Wl,'
   17196       lt_prog_compiler_pic_GCJ='-KPIC'
   17197       lt_prog_compiler_static_GCJ='-Bstatic'
   17198       ;;
   17199 
   17200     sysv4*MP*)
   17201       if test -d /usr/nec ;then
   17202 	lt_prog_compiler_pic_GCJ='-Kconform_pic'
   17203 	lt_prog_compiler_static_GCJ='-Bstatic'
   17204       fi
   17205       ;;
   17206 
   17207     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   17208       lt_prog_compiler_wl_GCJ='-Wl,'
   17209       lt_prog_compiler_pic_GCJ='-KPIC'
   17210       lt_prog_compiler_static_GCJ='-Bstatic'
   17211       ;;
   17212 
   17213     unicos*)
   17214       lt_prog_compiler_wl_GCJ='-Wl,'
   17215       lt_prog_compiler_can_build_shared_GCJ=no
   17216       ;;
   17217 
   17218     uts4*)
   17219       lt_prog_compiler_pic_GCJ='-pic'
   17220       lt_prog_compiler_static_GCJ='-Bstatic'
   17221       ;;
   17222 
   17223     *)
   17224       lt_prog_compiler_can_build_shared_GCJ=no
   17225       ;;
   17226     esac
   17227   fi
   17228 
   17229 { $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
   17230 $as_echo "$lt_prog_compiler_pic_GCJ" >&6; }
   17231 
   17232 #
   17233 # Check to make sure the PIC flag actually works.
   17234 #
   17235 if test -n "$lt_prog_compiler_pic_GCJ"; then
   17236 
   17237 { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
   17238 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... " >&6; }
   17239 if test "${lt_cv_prog_compiler_pic_works_GCJ+set}" = set; then
   17240   $as_echo_n "(cached) " >&6
   17241 else
   17242   lt_cv_prog_compiler_pic_works_GCJ=no
   17243   ac_outfile=conftest.$ac_objext
   17244    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   17245    lt_compiler_flag="$lt_prog_compiler_pic_GCJ"
   17246    # Insert the option either (1) after the last *FLAGS variable, or
   17247    # (2) before a word containing "conftest.", or (3) at the end.
   17248    # Note that $ac_compile itself does not contain backslashes and begins
   17249    # with a dollar sign (not a hyphen), so the echo should work correctly.
   17250    # The option is referenced via a variable to avoid confusing sed.
   17251    lt_compile=`echo "$ac_compile" | $SED \
   17252    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   17253    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   17254    -e 's:$: $lt_compiler_flag:'`
   17255    (eval echo "\"\$as_me:17255: $lt_compile\"" >&5)
   17256    (eval "$lt_compile" 2>conftest.err)
   17257    ac_status=$?
   17258    cat conftest.err >&5
   17259    echo "$as_me:17259: \$? = $ac_status" >&5
   17260    if (exit $ac_status) && test -s "$ac_outfile"; then
   17261      # The compiler can only warn and ignore the option if not recognized
   17262      # So say no if there are warnings other than the usual output.
   17263      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   17264      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   17265      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   17266        lt_cv_prog_compiler_pic_works_GCJ=yes
   17267      fi
   17268    fi
   17269    $rm conftest*
   17270 
   17271 fi
   17272 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_GCJ" >&5
   17273 $as_echo "$lt_cv_prog_compiler_pic_works_GCJ" >&6; }
   17274 
   17275 if test x"$lt_cv_prog_compiler_pic_works_GCJ" = xyes; then
   17276     case $lt_prog_compiler_pic_GCJ in
   17277      "" | " "*) ;;
   17278      *) lt_prog_compiler_pic_GCJ=" $lt_prog_compiler_pic_GCJ" ;;
   17279      esac
   17280 else
   17281     lt_prog_compiler_pic_GCJ=
   17282      lt_prog_compiler_can_build_shared_GCJ=no
   17283 fi
   17284 
   17285 fi
   17286 case $host_os in
   17287   # For platforms which do not support PIC, -DPIC is meaningless:
   17288   *djgpp*)
   17289     lt_prog_compiler_pic_GCJ=
   17290     ;;
   17291   *)
   17292     lt_prog_compiler_pic_GCJ="$lt_prog_compiler_pic_GCJ"
   17293     ;;
   17294 esac
   17295 
   17296 #
   17297 # Check to make sure the static flag actually works.
   17298 #
   17299 wl=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag=\"$lt_prog_compiler_static_GCJ\"
   17300 { $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   17301 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   17302 if test "${lt_cv_prog_compiler_static_works_GCJ+set}" = set; then
   17303   $as_echo_n "(cached) " >&6
   17304 else
   17305   lt_cv_prog_compiler_static_works_GCJ=no
   17306    save_LDFLAGS="$LDFLAGS"
   17307    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   17308    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   17309    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   17310      # The linker can only warn and ignore the option if not recognized
   17311      # So say no if there are warnings
   17312      if test -s conftest.err; then
   17313        # Append any errors to the config.log.
   17314        cat conftest.err 1>&5
   17315        $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
   17316        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   17317        if diff conftest.exp conftest.er2 >/dev/null; then
   17318          lt_cv_prog_compiler_static_works_GCJ=yes
   17319        fi
   17320      else
   17321        lt_cv_prog_compiler_static_works_GCJ=yes
   17322      fi
   17323    fi
   17324    $rm -r conftest*
   17325    LDFLAGS="$save_LDFLAGS"
   17326 
   17327 fi
   17328 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_GCJ" >&5
   17329 $as_echo "$lt_cv_prog_compiler_static_works_GCJ" >&6; }
   17330 
   17331 if test x"$lt_cv_prog_compiler_static_works_GCJ" = xyes; then
   17332     :
   17333 else
   17334     lt_prog_compiler_static_GCJ=
   17335 fi
   17336 
   17337 
   17338 { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
   17339 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   17340 if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
   17341   $as_echo_n "(cached) " >&6
   17342 else
   17343   lt_cv_prog_compiler_c_o_GCJ=no
   17344    $rm -r conftest 2>/dev/null
   17345    mkdir conftest
   17346    cd conftest
   17347    mkdir out
   17348    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   17349 
   17350    lt_compiler_flag="-o out/conftest2.$ac_objext"
   17351    # Insert the option either (1) after the last *FLAGS variable, or
   17352    # (2) before a word containing "conftest.", or (3) at the end.
   17353    # Note that $ac_compile itself does not contain backslashes and begins
   17354    # with a dollar sign (not a hyphen), so the echo should work correctly.
   17355    lt_compile=`echo "$ac_compile" | $SED \
   17356    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   17357    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   17358    -e 's:$: $lt_compiler_flag:'`
   17359    (eval echo "\"\$as_me:17359: $lt_compile\"" >&5)
   17360    (eval "$lt_compile" 2>out/conftest.err)
   17361    ac_status=$?
   17362    cat out/conftest.err >&5
   17363    echo "$as_me:17363: \$? = $ac_status" >&5
   17364    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   17365    then
   17366      # The compiler can only warn and ignore the option if not recognized
   17367      # So say no if there are warnings
   17368      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
   17369      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   17370      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   17371        lt_cv_prog_compiler_c_o_GCJ=yes
   17372      fi
   17373    fi
   17374    chmod u+w . 2>&5
   17375    $rm conftest*
   17376    # SGI C++ compiler will create directory out/ii_files/ for
   17377    # template instantiation
   17378    test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
   17379    $rm out/* && rmdir out
   17380    cd ..
   17381    rmdir conftest
   17382    $rm conftest*
   17383 
   17384 fi
   17385 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
   17386 $as_echo "$lt_cv_prog_compiler_c_o_GCJ" >&6; }
   17387 
   17388 
   17389 hard_links="nottested"
   17390 if test "$lt_cv_prog_compiler_c_o_GCJ" = no && test "$need_locks" != no; then
   17391   # do not overwrite the value of need_locks provided by the user
   17392   { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
   17393 $as_echo_n "checking if we can lock with hard links... " >&6; }
   17394   hard_links=yes
   17395   $rm conftest*
   17396   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   17397   touch conftest.a
   17398   ln conftest.a conftest.b 2>&5 || hard_links=no
   17399   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   17400   { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
   17401 $as_echo "$hard_links" >&6; }
   17402   if test "$hard_links" = no; then
   17403     { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   17404 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   17405     need_locks=warn
   17406   fi
   17407 else
   17408   need_locks=no
   17409 fi
   17410 
   17411 { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   17412 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   17413 
   17414   runpath_var=
   17415   allow_undefined_flag_GCJ=
   17416   enable_shared_with_static_runtimes_GCJ=no
   17417   archive_cmds_GCJ=
   17418   archive_expsym_cmds_GCJ=
   17419   old_archive_From_new_cmds_GCJ=
   17420   old_archive_from_expsyms_cmds_GCJ=
   17421   export_dynamic_flag_spec_GCJ=
   17422   whole_archive_flag_spec_GCJ=
   17423   thread_safe_flag_spec_GCJ=
   17424   hardcode_libdir_flag_spec_GCJ=
   17425   hardcode_libdir_flag_spec_ld_GCJ=
   17426   hardcode_libdir_separator_GCJ=
   17427   hardcode_direct_GCJ=no
   17428   hardcode_minus_L_GCJ=no
   17429   hardcode_shlibpath_var_GCJ=unsupported
   17430   link_all_deplibs_GCJ=unknown
   17431   hardcode_automatic_GCJ=no
   17432   module_cmds_GCJ=
   17433   module_expsym_cmds_GCJ=
   17434   always_export_symbols_GCJ=no
   17435   export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   17436   # include_expsyms should be a list of space-separated symbols to be *always*
   17437   # included in the symbol list
   17438   include_expsyms_GCJ=
   17439   # exclude_expsyms can be an extended regexp of symbols to exclude
   17440   # it will be wrapped by ` (' and `)$', so one must not match beginning or
   17441   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
   17442   # as well as any symbol that contains `d'.
   17443   exclude_expsyms_GCJ='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   17444   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   17445   # platforms (ab)use it in PIC code, but their linkers get confused if
   17446   # the symbol is explicitly referenced.  Since portable code cannot
   17447   # rely on this symbol name, it's probably fine to never include it in
   17448   # preloaded symbol tables.
   17449   # Exclude shared library initialization/finalization symbols.
   17450   extract_expsyms_cmds=
   17451   # Just being paranoid about ensuring that cc_basename is set.
   17452   for cc_temp in $compiler""; do
   17453   case $cc_temp in
   17454     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   17455     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   17456     \-*) ;;
   17457     *) break;;
   17458   esac
   17459 done
   17460 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   17461 
   17462   case $host_os in
   17463   cygwin* | mingw* | pw32*)
   17464     # FIXME: the MSVC++ port hasn't been tested in a loooong time
   17465     # When not using gcc, we currently assume that we are using
   17466     # Microsoft Visual C++.
   17467     if test "$GCC" != yes; then
   17468       with_gnu_ld=no
   17469     fi
   17470     ;;
   17471   interix*)
   17472     # we just hope/assume this is gcc and not c89 (= MSVC++)
   17473     with_gnu_ld=yes
   17474     ;;
   17475   openbsd*)
   17476     with_gnu_ld=no
   17477     ;;
   17478   esac
   17479 
   17480   ld_shlibs_GCJ=yes
   17481   if test "$with_gnu_ld" = yes; then
   17482     # If archive_cmds runs LD, not CC, wlarc should be empty
   17483     wlarc='${wl}'
   17484 
   17485     # Set some defaults for GNU ld with shared library support. These
   17486     # are reset later if shared libraries are not supported. Putting them
   17487     # here allows them to be overridden if necessary.
   17488     runpath_var=LD_RUN_PATH
   17489     hardcode_libdir_flag_spec_GCJ='${wl}--rpath ${wl}$libdir'
   17490     export_dynamic_flag_spec_GCJ='${wl}--export-dynamic'
   17491     # ancient GNU ld didn't support --whole-archive et. al.
   17492     if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
   17493 	whole_archive_flag_spec_GCJ="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   17494       else
   17495   	whole_archive_flag_spec_GCJ=
   17496     fi
   17497     supports_anon_versioning=no
   17498     case `$LD -v 2>/dev/null` in
   17499       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   17500       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   17501       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   17502       *\ 2.11.*) ;; # other 2.11 versions
   17503       *) supports_anon_versioning=yes ;;
   17504     esac
   17505 
   17506     # See if GNU ld supports shared libraries.
   17507     case $host_os in
   17508     aix[3-9]*)
   17509       # On AIX/PPC, the GNU linker is very broken
   17510       if test "$host_cpu" != ia64; then
   17511 	ld_shlibs_GCJ=no
   17512 	cat <<EOF 1>&2
   17513 
   17514 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
   17515 *** to be unable to reliably create shared libraries on AIX.
   17516 *** Therefore, libtool is disabling shared libraries support.  If you
   17517 *** really care for shared libraries, you may want to modify your PATH
   17518 *** so that a non-GNU linker is found, and then restart.
   17519 
   17520 EOF
   17521       fi
   17522       ;;
   17523 
   17524     amigaos*)
   17525       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)'
   17526       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   17527       hardcode_minus_L_GCJ=yes
   17528 
   17529       # Samuel A. Falvo II <kc5tja (at] dolphin.openprojects.net> reports
   17530       # that the semantics of dynamic libraries on AmigaOS, at least up
   17531       # to version 4, is to share data among multiple programs linked
   17532       # with the same dynamic library.  Since this doesn't match the
   17533       # behavior of shared libraries on other platforms, we can't use
   17534       # them.
   17535       ld_shlibs_GCJ=no
   17536       ;;
   17537 
   17538     beos*)
   17539       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   17540 	allow_undefined_flag_GCJ=unsupported
   17541 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   17542 	# support --undefined.  This deserves some investigation.  FIXME
   17543 	archive_cmds_GCJ='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   17544       else
   17545 	ld_shlibs_GCJ=no
   17546       fi
   17547       ;;
   17548 
   17549     cygwin* | mingw* | pw32*)
   17550       # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
   17551       # as there is no search path for DLLs.
   17552       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   17553       allow_undefined_flag_GCJ=unsupported
   17554       always_export_symbols_GCJ=no
   17555       enable_shared_with_static_runtimes_GCJ=yes
   17556       export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
   17557 
   17558       if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
   17559         archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   17560 	# If the export-symbols file already is a .def file (1st line
   17561 	# is EXPORTS), use it as is; otherwise, prepend...
   17562 	archive_expsym_cmds_GCJ='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   17563 	  cp $export_symbols $output_objdir/$soname.def;
   17564 	else
   17565 	  echo EXPORTS > $output_objdir/$soname.def;
   17566 	  cat $export_symbols >> $output_objdir/$soname.def;
   17567 	fi~
   17568 	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   17569       else
   17570 	ld_shlibs_GCJ=no
   17571       fi
   17572       ;;
   17573 
   17574     interix[3-9]*)
   17575       hardcode_direct_GCJ=no
   17576       hardcode_shlibpath_var_GCJ=no
   17577       hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
   17578       export_dynamic_flag_spec_GCJ='${wl}-E'
   17579       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   17580       # Instead, shared libraries are loaded at an image base (0x10000000 by
   17581       # default) and relocated if they conflict, which is a slow very memory
   17582       # consuming and fragmenting process.  To avoid this, we pick a random,
   17583       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   17584       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   17585       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'
   17586       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'
   17587       ;;
   17588 
   17589     gnu* | linux* | k*bsd*-gnu)
   17590       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   17591 	tmp_addflag=
   17592 	case $cc_basename,$host_cpu in
   17593 	pgcc*)				# Portland Group C compiler
   17594 	  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'
   17595 	  tmp_addflag=' $pic_flag'
   17596 	  ;;
   17597 	pgf77* | pgf90* | pgf95*)	# Portland Group f77 and f90 compilers
   17598 	  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'
   17599 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   17600 	ecc*,ia64* | icc*,ia64*)		# Intel C compiler on ia64
   17601 	  tmp_addflag=' -i_dynamic' ;;
   17602 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   17603 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   17604 	ifc* | ifort*)			# Intel Fortran compiler
   17605 	  tmp_addflag=' -nofor_main' ;;
   17606 	esac
   17607 	case `$CC -V 2>&1 | sed 5q` in
   17608 	*Sun\ C*)			# Sun C 5.9
   17609 	  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'
   17610 	  tmp_sharedflag='-G' ;;
   17611 	*Sun\ F*)			# Sun Fortran 8.3
   17612 	  tmp_sharedflag='-G' ;;
   17613 	*)
   17614 	  tmp_sharedflag='-shared' ;;
   17615 	esac
   17616 	archive_cmds_GCJ='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   17617 
   17618 	if test $supports_anon_versioning = yes; then
   17619 	  archive_expsym_cmds_GCJ='$echo "{ global:" > $output_objdir/$libname.ver~
   17620   cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   17621   $echo "local: *; };" >> $output_objdir/$libname.ver~
   17622 	  $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
   17623 	fi
   17624       else
   17625 	ld_shlibs_GCJ=no
   17626       fi
   17627       ;;
   17628 
   17629     netbsd*)
   17630       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   17631 	archive_cmds_GCJ='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   17632 	wlarc=
   17633       else
   17634 	archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   17635 	archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   17636       fi
   17637       ;;
   17638 
   17639     solaris*)
   17640       if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
   17641 	ld_shlibs_GCJ=no
   17642 	cat <<EOF 1>&2
   17643 
   17644 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   17645 *** create shared libraries on Solaris systems.  Therefore, libtool
   17646 *** is disabling shared libraries support.  We urge you to upgrade GNU
   17647 *** binutils to release 2.9.1 or newer.  Another option is to modify
   17648 *** your PATH or compiler configuration so that the native linker is
   17649 *** used, and then restart.
   17650 
   17651 EOF
   17652       elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   17653 	archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   17654 	archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   17655       else
   17656 	ld_shlibs_GCJ=no
   17657       fi
   17658       ;;
   17659 
   17660     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   17661       case `$LD -v 2>&1` in
   17662         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   17663 	ld_shlibs_GCJ=no
   17664 	cat <<_LT_EOF 1>&2
   17665 
   17666 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
   17667 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   17668 *** is disabling shared libraries support.  We urge you to upgrade GNU
   17669 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   17670 *** your PATH or compiler configuration so that the native linker is
   17671 *** used, and then restart.
   17672 
   17673 _LT_EOF
   17674 	;;
   17675 	*)
   17676 	  if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   17677 	    hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
   17678 	    archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
   17679 	    archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
   17680 	  else
   17681 	    ld_shlibs_GCJ=no
   17682 	  fi
   17683 	;;
   17684       esac
   17685       ;;
   17686 
   17687     sunos4*)
   17688       archive_cmds_GCJ='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   17689       wlarc=
   17690       hardcode_direct_GCJ=yes
   17691       hardcode_shlibpath_var_GCJ=no
   17692       ;;
   17693 
   17694     *)
   17695       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   17696 	archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   17697 	archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   17698       else
   17699 	ld_shlibs_GCJ=no
   17700       fi
   17701       ;;
   17702     esac
   17703 
   17704     if test "$ld_shlibs_GCJ" = no; then
   17705       runpath_var=
   17706       hardcode_libdir_flag_spec_GCJ=
   17707       export_dynamic_flag_spec_GCJ=
   17708       whole_archive_flag_spec_GCJ=
   17709     fi
   17710   else
   17711     # PORTME fill in a description of your system's linker (not GNU ld)
   17712     case $host_os in
   17713     aix3*)
   17714       allow_undefined_flag_GCJ=unsupported
   17715       always_export_symbols_GCJ=yes
   17716       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'
   17717       # Note: this linker hardcodes the directories in LIBPATH if there
   17718       # are no directories specified by -L.
   17719       hardcode_minus_L_GCJ=yes
   17720       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
   17721 	# Neither direct hardcoding nor static linking is supported with a
   17722 	# broken collect2.
   17723 	hardcode_direct_GCJ=unsupported
   17724       fi
   17725       ;;
   17726 
   17727     aix[4-9]*)
   17728       if test "$host_cpu" = ia64; then
   17729 	# On IA64, the linker does run time linking by default, so we don't
   17730 	# have to do anything special.
   17731 	aix_use_runtimelinking=no
   17732 	exp_sym_flag='-Bexport'
   17733 	no_entry_flag=""
   17734       else
   17735 	# If we're using GNU nm, then we don't want the "-C" option.
   17736 	# -C means demangle to AIX nm, but means don't demangle with GNU nm
   17737 	if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
   17738 	  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'
   17739 	else
   17740 	  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'
   17741 	fi
   17742 	aix_use_runtimelinking=no
   17743 
   17744 	# Test if we are trying to use run time linking or normal
   17745 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   17746 	# need to do runtime linking.
   17747 	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   17748 	  for ld_flag in $LDFLAGS; do
   17749   	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
   17750   	    aix_use_runtimelinking=yes
   17751   	    break
   17752   	  fi
   17753 	  done
   17754 	  ;;
   17755 	esac
   17756 
   17757 	exp_sym_flag='-bexport'
   17758 	no_entry_flag='-bnoentry'
   17759       fi
   17760 
   17761       # When large executables or shared objects are built, AIX ld can
   17762       # have problems creating the table of contents.  If linking a library
   17763       # or program results in "error TOC overflow" add -mminimal-toc to
   17764       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   17765       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   17766 
   17767       archive_cmds_GCJ=''
   17768       hardcode_direct_GCJ=yes
   17769       hardcode_libdir_separator_GCJ=':'
   17770       link_all_deplibs_GCJ=yes
   17771 
   17772       if test "$GCC" = yes; then
   17773 	case $host_os in aix4.[012]|aix4.[012].*)
   17774 	# We only want to do this on AIX 4.2 and lower, the check
   17775 	# below for broken collect2 doesn't work under 4.3+
   17776 	  collect2name=`${CC} -print-prog-name=collect2`
   17777 	  if test -f "$collect2name" && \
   17778   	   strings "$collect2name" | grep resolve_lib_name >/dev/null
   17779 	  then
   17780   	  # We have reworked collect2
   17781   	  :
   17782 	  else
   17783   	  # We have old collect2
   17784   	  hardcode_direct_GCJ=unsupported
   17785   	  # It fails to find uninstalled libraries when the uninstalled
   17786   	  # path is not listed in the libpath.  Setting hardcode_minus_L
   17787   	  # to unsupported forces relinking
   17788   	  hardcode_minus_L_GCJ=yes
   17789   	  hardcode_libdir_flag_spec_GCJ='-L$libdir'
   17790   	  hardcode_libdir_separator_GCJ=
   17791 	  fi
   17792 	  ;;
   17793 	esac
   17794 	shared_flag='-shared'
   17795 	if test "$aix_use_runtimelinking" = yes; then
   17796 	  shared_flag="$shared_flag "'${wl}-G'
   17797 	fi
   17798       else
   17799 	# not using gcc
   17800 	if test "$host_cpu" = ia64; then
   17801   	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   17802   	# chokes on -Wl,-G. The following line is correct:
   17803 	  shared_flag='-G'
   17804 	else
   17805 	  if test "$aix_use_runtimelinking" = yes; then
   17806 	    shared_flag='${wl}-G'
   17807 	  else
   17808 	    shared_flag='${wl}-bM:SRE'
   17809 	  fi
   17810 	fi
   17811       fi
   17812 
   17813       # It seems that -bexpall does not export symbols beginning with
   17814       # underscore (_), so it is better to generate a list of symbols to export.
   17815       always_export_symbols_GCJ=yes
   17816       if test "$aix_use_runtimelinking" = yes; then
   17817 	# Warning - without using the other runtime loading flags (-brtl),
   17818 	# -berok will link without error, but may produce a broken library.
   17819 	allow_undefined_flag_GCJ='-berok'
   17820        # Determine the default libpath from the value encoded in an empty executable.
   17821        cat >conftest.$ac_ext <<_ACEOF
   17822 /* confdefs.h.  */
   17823 _ACEOF
   17824 cat confdefs.h >>conftest.$ac_ext
   17825 cat >>conftest.$ac_ext <<_ACEOF
   17826 /* end confdefs.h.  */
   17827 
   17828 int
   17829 main ()
   17830 {
   17831 
   17832   ;
   17833   return 0;
   17834 }
   17835 _ACEOF
   17836 rm -f conftest.$ac_objext conftest$ac_exeext
   17837 if { (ac_try="$ac_link"
   17838 case "(($ac_try" in
   17839   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   17840   *) ac_try_echo=$ac_try;;
   17841 esac
   17842 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   17843 $as_echo "$ac_try_echo") >&5
   17844   (eval "$ac_link") 2>conftest.er1
   17845   ac_status=$?
   17846   grep -v '^ *+' conftest.er1 >conftest.err
   17847   rm -f conftest.er1
   17848   cat conftest.err >&5
   17849   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   17850   (exit $ac_status); } && {
   17851 	 test -z "$ac_c_werror_flag" ||
   17852 	 test ! -s conftest.err
   17853        } && test -s conftest$ac_exeext && {
   17854 	 test "$cross_compiling" = yes ||
   17855 	 $as_test_x conftest$ac_exeext
   17856        }; then
   17857 
   17858 lt_aix_libpath_sed='
   17859     /Import File Strings/,/^$/ {
   17860 	/^0/ {
   17861 	    s/^0  *\(.*\)$/\1/
   17862 	    p
   17863 	}
   17864     }'
   17865 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   17866 # Check for a 64-bit object if we didn't find anything.
   17867 if test -z "$aix_libpath"; then
   17868   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   17869 fi
   17870 else
   17871   $as_echo "$as_me: failed program was:" >&5
   17872 sed 's/^/| /' conftest.$ac_ext >&5
   17873 
   17874 
   17875 fi
   17876 
   17877 rm -rf conftest.dSYM
   17878 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   17879       conftest$ac_exeext conftest.$ac_ext
   17880 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   17881 
   17882        hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
   17883 	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"
   17884        else
   17885 	if test "$host_cpu" = ia64; then
   17886 	  hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib'
   17887 	  allow_undefined_flag_GCJ="-z nodefs"
   17888 	  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"
   17889 	else
   17890 	 # Determine the default libpath from the value encoded in an empty executable.
   17891 	 cat >conftest.$ac_ext <<_ACEOF
   17892 /* confdefs.h.  */
   17893 _ACEOF
   17894 cat confdefs.h >>conftest.$ac_ext
   17895 cat >>conftest.$ac_ext <<_ACEOF
   17896 /* end confdefs.h.  */
   17897 
   17898 int
   17899 main ()
   17900 {
   17901 
   17902   ;
   17903   return 0;
   17904 }
   17905 _ACEOF
   17906 rm -f conftest.$ac_objext conftest$ac_exeext
   17907 if { (ac_try="$ac_link"
   17908 case "(($ac_try" in
   17909   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   17910   *) ac_try_echo=$ac_try;;
   17911 esac
   17912 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   17913 $as_echo "$ac_try_echo") >&5
   17914   (eval "$ac_link") 2>conftest.er1
   17915   ac_status=$?
   17916   grep -v '^ *+' conftest.er1 >conftest.err
   17917   rm -f conftest.er1
   17918   cat conftest.err >&5
   17919   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   17920   (exit $ac_status); } && {
   17921 	 test -z "$ac_c_werror_flag" ||
   17922 	 test ! -s conftest.err
   17923        } && test -s conftest$ac_exeext && {
   17924 	 test "$cross_compiling" = yes ||
   17925 	 $as_test_x conftest$ac_exeext
   17926        }; then
   17927 
   17928 lt_aix_libpath_sed='
   17929     /Import File Strings/,/^$/ {
   17930 	/^0/ {
   17931 	    s/^0  *\(.*\)$/\1/
   17932 	    p
   17933 	}
   17934     }'
   17935 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   17936 # Check for a 64-bit object if we didn't find anything.
   17937 if test -z "$aix_libpath"; then
   17938   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   17939 fi
   17940 else
   17941   $as_echo "$as_me: failed program was:" >&5
   17942 sed 's/^/| /' conftest.$ac_ext >&5
   17943 
   17944 
   17945 fi
   17946 
   17947 rm -rf conftest.dSYM
   17948 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   17949       conftest$ac_exeext conftest.$ac_ext
   17950 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   17951 
   17952 	 hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
   17953 	  # Warning - without using the other run time loading flags,
   17954 	  # -berok will link without error, but may produce a broken library.
   17955 	  no_undefined_flag_GCJ=' ${wl}-bernotok'
   17956 	  allow_undefined_flag_GCJ=' ${wl}-berok'
   17957 	  # Exported symbols can be pulled into shared objects from archives
   17958 	  whole_archive_flag_spec_GCJ='$convenience'
   17959 	  archive_cmds_need_lc_GCJ=yes
   17960 	  # This is similar to how AIX traditionally builds its shared libraries.
   17961 	  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'
   17962 	fi
   17963       fi
   17964       ;;
   17965 
   17966     amigaos*)
   17967       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)'
   17968       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   17969       hardcode_minus_L_GCJ=yes
   17970       # see comment about different semantics on the GNU ld section
   17971       ld_shlibs_GCJ=no
   17972       ;;
   17973 
   17974     bsdi[45]*)
   17975       export_dynamic_flag_spec_GCJ=-rdynamic
   17976       ;;
   17977 
   17978     cygwin* | mingw* | pw32*)
   17979       # When not using gcc, we currently assume that we are using
   17980       # Microsoft Visual C++.
   17981       # hardcode_libdir_flag_spec is actually meaningless, as there is
   17982       # no search path for DLLs.
   17983       hardcode_libdir_flag_spec_GCJ=' '
   17984       allow_undefined_flag_GCJ=unsupported
   17985       # Tell ltmain to make .lib files, not .a files.
   17986       libext=lib
   17987       # Tell ltmain to make .dll files, not .so files.
   17988       shrext_cmds=".dll"
   17989       # FIXME: Setting linknames here is a bad hack.
   17990       archive_cmds_GCJ='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
   17991       # The linker will automatically build a .lib file if we build a DLL.
   17992       old_archive_From_new_cmds_GCJ='true'
   17993       # FIXME: Should let the user specify the lib program.
   17994       old_archive_cmds_GCJ='lib -OUT:$oldlib$oldobjs$old_deplibs'
   17995       fix_srcfile_path_GCJ='`cygpath -w "$srcfile"`'
   17996       enable_shared_with_static_runtimes_GCJ=yes
   17997       ;;
   17998 
   17999     darwin* | rhapsody*)
   18000       case $host_os in
   18001         rhapsody* | darwin1.[012])
   18002          allow_undefined_flag_GCJ='${wl}-undefined ${wl}suppress'
   18003          ;;
   18004        *) # Darwin 1.3 on
   18005          if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
   18006            allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   18007          else
   18008            case ${MACOSX_DEPLOYMENT_TARGET} in
   18009              10.[012])
   18010                allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   18011                ;;
   18012              10.*)
   18013                allow_undefined_flag_GCJ='${wl}-undefined ${wl}dynamic_lookup'
   18014                ;;
   18015            esac
   18016          fi
   18017          ;;
   18018       esac
   18019       archive_cmds_need_lc_GCJ=no
   18020       hardcode_direct_GCJ=no
   18021       hardcode_automatic_GCJ=yes
   18022       hardcode_shlibpath_var_GCJ=unsupported
   18023       whole_archive_flag_spec_GCJ=''
   18024       link_all_deplibs_GCJ=yes
   18025     if test "$GCC" = yes ; then
   18026     	output_verbose_link_cmd='echo'
   18027         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}"
   18028         module_cmds_GCJ="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
   18029         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}"
   18030         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}"
   18031     else
   18032       case $cc_basename in
   18033         xlc*)
   18034          output_verbose_link_cmd='echo'
   18035          archive_cmds_GCJ='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
   18036          module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
   18037           # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
   18038          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}'
   18039           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}'
   18040           ;;
   18041        *)
   18042          ld_shlibs_GCJ=no
   18043           ;;
   18044       esac
   18045     fi
   18046       ;;
   18047 
   18048     dgux*)
   18049       archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   18050       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   18051       hardcode_shlibpath_var_GCJ=no
   18052       ;;
   18053 
   18054     freebsd1*)
   18055       ld_shlibs_GCJ=no
   18056       ;;
   18057 
   18058     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   18059     # support.  Future versions do this automatically, but an explicit c++rt0.o
   18060     # does not break anything, and helps significantly (at the cost of a little
   18061     # extra space).
   18062     freebsd2.2*)
   18063       archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   18064       hardcode_libdir_flag_spec_GCJ='-R$libdir'
   18065       hardcode_direct_GCJ=yes
   18066       hardcode_shlibpath_var_GCJ=no
   18067       ;;
   18068 
   18069     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   18070     freebsd2*)
   18071       archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   18072       hardcode_direct_GCJ=yes
   18073       hardcode_minus_L_GCJ=yes
   18074       hardcode_shlibpath_var_GCJ=no
   18075       ;;
   18076 
   18077     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   18078     freebsd* | dragonfly*)
   18079       archive_cmds_GCJ='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
   18080       hardcode_libdir_flag_spec_GCJ='-R$libdir'
   18081       hardcode_direct_GCJ=yes
   18082       hardcode_shlibpath_var_GCJ=no
   18083       ;;
   18084 
   18085     hpux9*)
   18086       if test "$GCC" = yes; then
   18087 	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'
   18088       else
   18089 	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'
   18090       fi
   18091       hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
   18092       hardcode_libdir_separator_GCJ=:
   18093       hardcode_direct_GCJ=yes
   18094 
   18095       # hardcode_minus_L: Not really in the search PATH,
   18096       # but as the default location of the library.
   18097       hardcode_minus_L_GCJ=yes
   18098       export_dynamic_flag_spec_GCJ='${wl}-E'
   18099       ;;
   18100 
   18101     hpux10*)
   18102       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   18103 	archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   18104       else
   18105 	archive_cmds_GCJ='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   18106       fi
   18107       if test "$with_gnu_ld" = no; then
   18108 	hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
   18109 	hardcode_libdir_separator_GCJ=:
   18110 
   18111 	hardcode_direct_GCJ=yes
   18112 	export_dynamic_flag_spec_GCJ='${wl}-E'
   18113 
   18114 	# hardcode_minus_L: Not really in the search PATH,
   18115 	# but as the default location of the library.
   18116 	hardcode_minus_L_GCJ=yes
   18117       fi
   18118       ;;
   18119 
   18120     hpux11*)
   18121       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   18122 	case $host_cpu in
   18123 	hppa*64*)
   18124 	  archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   18125 	  ;;
   18126 	ia64*)
   18127 	  archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   18128 	  ;;
   18129 	*)
   18130 	  archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   18131 	  ;;
   18132 	esac
   18133       else
   18134 	case $host_cpu in
   18135 	hppa*64*)
   18136 	  archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   18137 	  ;;
   18138 	ia64*)
   18139 	  archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   18140 	  ;;
   18141 	*)
   18142 	  archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   18143 	  ;;
   18144 	esac
   18145       fi
   18146       if test "$with_gnu_ld" = no; then
   18147 	hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
   18148 	hardcode_libdir_separator_GCJ=:
   18149 
   18150 	case $host_cpu in
   18151 	hppa*64*|ia64*)
   18152 	  hardcode_libdir_flag_spec_ld_GCJ='+b $libdir'
   18153 	  hardcode_direct_GCJ=no
   18154 	  hardcode_shlibpath_var_GCJ=no
   18155 	  ;;
   18156 	*)
   18157 	  hardcode_direct_GCJ=yes
   18158 	  export_dynamic_flag_spec_GCJ='${wl}-E'
   18159 
   18160 	  # hardcode_minus_L: Not really in the search PATH,
   18161 	  # but as the default location of the library.
   18162 	  hardcode_minus_L_GCJ=yes
   18163 	  ;;
   18164 	esac
   18165       fi
   18166       ;;
   18167 
   18168     irix5* | irix6* | nonstopux*)
   18169       if test "$GCC" = yes; then
   18170 	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'
   18171       else
   18172 	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'
   18173 	hardcode_libdir_flag_spec_ld_GCJ='-rpath $libdir'
   18174       fi
   18175       hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
   18176       hardcode_libdir_separator_GCJ=:
   18177       link_all_deplibs_GCJ=yes
   18178       ;;
   18179 
   18180     netbsd*)
   18181       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   18182 	archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   18183       else
   18184 	archive_cmds_GCJ='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   18185       fi
   18186       hardcode_libdir_flag_spec_GCJ='-R$libdir'
   18187       hardcode_direct_GCJ=yes
   18188       hardcode_shlibpath_var_GCJ=no
   18189       ;;
   18190 
   18191     newsos6)
   18192       archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   18193       hardcode_direct_GCJ=yes
   18194       hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
   18195       hardcode_libdir_separator_GCJ=:
   18196       hardcode_shlibpath_var_GCJ=no
   18197       ;;
   18198 
   18199     openbsd*)
   18200       if test -f /usr/libexec/ld.so; then
   18201 	hardcode_direct_GCJ=yes
   18202 	hardcode_shlibpath_var_GCJ=no
   18203 	if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   18204 	  archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   18205 	  archive_expsym_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
   18206 	  hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
   18207 	  export_dynamic_flag_spec_GCJ='${wl}-E'
   18208 	else
   18209 	  case $host_os in
   18210 	   openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
   18211 	     archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   18212 	     hardcode_libdir_flag_spec_GCJ='-R$libdir'
   18213 	     ;;
   18214 	   *)
   18215 	     archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   18216 	     hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
   18217 	     ;;
   18218 	  esac
   18219         fi
   18220       else
   18221 	ld_shlibs_GCJ=no
   18222       fi
   18223       ;;
   18224 
   18225     os2*)
   18226       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   18227       hardcode_minus_L_GCJ=yes
   18228       allow_undefined_flag_GCJ=unsupported
   18229       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'
   18230       old_archive_From_new_cmds_GCJ='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
   18231       ;;
   18232 
   18233     osf3*)
   18234       if test "$GCC" = yes; then
   18235 	allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
   18236 	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'
   18237       else
   18238 	allow_undefined_flag_GCJ=' -expect_unresolved \*'
   18239 	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'
   18240       fi
   18241       hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
   18242       hardcode_libdir_separator_GCJ=:
   18243       ;;
   18244 
   18245     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   18246       if test "$GCC" = yes; then
   18247 	allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
   18248 	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'
   18249 	hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
   18250       else
   18251 	allow_undefined_flag_GCJ=' -expect_unresolved \*'
   18252 	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'
   18253 	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~
   18254 	$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'
   18255 
   18256 	# Both c and cxx compiler support -rpath directly
   18257 	hardcode_libdir_flag_spec_GCJ='-rpath $libdir'
   18258       fi
   18259       hardcode_libdir_separator_GCJ=:
   18260       ;;
   18261 
   18262     solaris*)
   18263       no_undefined_flag_GCJ=' -z text'
   18264       if test "$GCC" = yes; then
   18265 	wlarc='${wl}'
   18266 	archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   18267 	archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   18268 	  $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
   18269       else
   18270 	wlarc=''
   18271 	archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
   18272 	archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   18273   	$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
   18274       fi
   18275       hardcode_libdir_flag_spec_GCJ='-R$libdir'
   18276       hardcode_shlibpath_var_GCJ=no
   18277       case $host_os in
   18278       solaris2.[0-5] | solaris2.[0-5].*) ;;
   18279       *)
   18280 	# The compiler driver will combine and reorder linker options,
   18281 	# but understands `-z linker_flag'.  GCC discards it without `$wl',
   18282 	# but is careful enough not to reorder.
   18283  	# Supported since Solaris 2.6 (maybe 2.5.1?)
   18284 	if test "$GCC" = yes; then
   18285 	  whole_archive_flag_spec_GCJ='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
   18286 	else
   18287 	  whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract'
   18288 	fi
   18289 	;;
   18290       esac
   18291       link_all_deplibs_GCJ=yes
   18292       ;;
   18293 
   18294     sunos4*)
   18295       if test "x$host_vendor" = xsequent; then
   18296 	# Use $CC to link under sequent, because it throws in some extra .o
   18297 	# files that make .init and .fini sections work.
   18298 	archive_cmds_GCJ='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   18299       else
   18300 	archive_cmds_GCJ='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   18301       fi
   18302       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   18303       hardcode_direct_GCJ=yes
   18304       hardcode_minus_L_GCJ=yes
   18305       hardcode_shlibpath_var_GCJ=no
   18306       ;;
   18307 
   18308     sysv4)
   18309       case $host_vendor in
   18310 	sni)
   18311 	  archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   18312 	  hardcode_direct_GCJ=yes # is this really true???
   18313 	;;
   18314 	siemens)
   18315 	  ## LD is ld it makes a PLAMLIB
   18316 	  ## CC just makes a GrossModule.
   18317 	  archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   18318 	  reload_cmds_GCJ='$CC -r -o $output$reload_objs'
   18319 	  hardcode_direct_GCJ=no
   18320         ;;
   18321 	motorola)
   18322 	  archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   18323 	  hardcode_direct_GCJ=no #Motorola manual says yes, but my tests say they lie
   18324 	;;
   18325       esac
   18326       runpath_var='LD_RUN_PATH'
   18327       hardcode_shlibpath_var_GCJ=no
   18328       ;;
   18329 
   18330     sysv4.3*)
   18331       archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   18332       hardcode_shlibpath_var_GCJ=no
   18333       export_dynamic_flag_spec_GCJ='-Bexport'
   18334       ;;
   18335 
   18336     sysv4*MP*)
   18337       if test -d /usr/nec; then
   18338 	archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   18339 	hardcode_shlibpath_var_GCJ=no
   18340 	runpath_var=LD_RUN_PATH
   18341 	hardcode_runpath_var=yes
   18342 	ld_shlibs_GCJ=yes
   18343       fi
   18344       ;;
   18345 
   18346     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   18347       no_undefined_flag_GCJ='${wl}-z,text'
   18348       archive_cmds_need_lc_GCJ=no
   18349       hardcode_shlibpath_var_GCJ=no
   18350       runpath_var='LD_RUN_PATH'
   18351 
   18352       if test "$GCC" = yes; then
   18353 	archive_cmds_GCJ='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   18354 	archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   18355       else
   18356 	archive_cmds_GCJ='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   18357 	archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   18358       fi
   18359       ;;
   18360 
   18361     sysv5* | sco3.2v5* | sco5v6*)
   18362       # Note: We can NOT use -z defs as we might desire, because we do not
   18363       # link with -lc, and that would cause any symbols used from libc to
   18364       # always be unresolved, which means just about no library would
   18365       # ever link correctly.  If we're not using GNU ld we use -z text
   18366       # though, which does catch some bad symbols but isn't as heavy-handed
   18367       # as -z defs.
   18368       no_undefined_flag_GCJ='${wl}-z,text'
   18369       allow_undefined_flag_GCJ='${wl}-z,nodefs'
   18370       archive_cmds_need_lc_GCJ=no
   18371       hardcode_shlibpath_var_GCJ=no
   18372       hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
   18373       hardcode_libdir_separator_GCJ=':'
   18374       link_all_deplibs_GCJ=yes
   18375       export_dynamic_flag_spec_GCJ='${wl}-Bexport'
   18376       runpath_var='LD_RUN_PATH'
   18377 
   18378       if test "$GCC" = yes; then
   18379 	archive_cmds_GCJ='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   18380 	archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   18381       else
   18382 	archive_cmds_GCJ='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   18383 	archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   18384       fi
   18385       ;;
   18386 
   18387     uts4*)
   18388       archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   18389       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   18390       hardcode_shlibpath_var_GCJ=no
   18391       ;;
   18392 
   18393     *)
   18394       ld_shlibs_GCJ=no
   18395       ;;
   18396     esac
   18397   fi
   18398 
   18399 { $as_echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
   18400 $as_echo "$ld_shlibs_GCJ" >&6; }
   18401 test "$ld_shlibs_GCJ" = no && can_build_shared=no
   18402 
   18403 #
   18404 # Do we need to explicitly link libc?
   18405 #
   18406 case "x$archive_cmds_need_lc_GCJ" in
   18407 x|xyes)
   18408   # Assume -lc should be added
   18409   archive_cmds_need_lc_GCJ=yes
   18410 
   18411   if test "$enable_shared" = yes && test "$GCC" = yes; then
   18412     case $archive_cmds_GCJ in
   18413     *'~'*)
   18414       # FIXME: we may have to deal with multi-command sequences.
   18415       ;;
   18416     '$CC '*)
   18417       # Test whether the compiler implicitly links with -lc since on some
   18418       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   18419       # to ld, don't add -lc before -lgcc.
   18420       { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
   18421 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
   18422       $rm conftest*
   18423       echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   18424 
   18425       if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   18426   (eval $ac_compile) 2>&5
   18427   ac_status=$?
   18428   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   18429   (exit $ac_status); } 2>conftest.err; then
   18430         soname=conftest
   18431         lib=conftest
   18432         libobjs=conftest.$ac_objext
   18433         deplibs=
   18434         wl=$lt_prog_compiler_wl_GCJ
   18435 	pic_flag=$lt_prog_compiler_pic_GCJ
   18436         compiler_flags=-v
   18437         linker_flags=-v
   18438         verstring=
   18439         output_objdir=.
   18440         libname=conftest
   18441         lt_save_allow_undefined_flag=$allow_undefined_flag_GCJ
   18442         allow_undefined_flag_GCJ=
   18443         if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
   18444   (eval $archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
   18445   ac_status=$?
   18446   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   18447   (exit $ac_status); }
   18448         then
   18449 	  archive_cmds_need_lc_GCJ=no
   18450         else
   18451 	  archive_cmds_need_lc_GCJ=yes
   18452         fi
   18453         allow_undefined_flag_GCJ=$lt_save_allow_undefined_flag
   18454       else
   18455         cat conftest.err 1>&5
   18456       fi
   18457       $rm conftest*
   18458       { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
   18459 $as_echo "$archive_cmds_need_lc_GCJ" >&6; }
   18460       ;;
   18461     esac
   18462   fi
   18463   ;;
   18464 esac
   18465 
   18466 { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
   18467 $as_echo_n "checking dynamic linker characteristics... " >&6; }
   18468 library_names_spec=
   18469 libname_spec='lib$name'
   18470 soname_spec=
   18471 shrext_cmds=".so"
   18472 postinstall_cmds=
   18473 postuninstall_cmds=
   18474 finish_cmds=
   18475 finish_eval=
   18476 shlibpath_var=
   18477 shlibpath_overrides_runpath=unknown
   18478 version_type=none
   18479 dynamic_linker="$host_os ld.so"
   18480 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   18481 
   18482 need_lib_prefix=unknown
   18483 hardcode_into_libs=no
   18484 
   18485 # when you set need_version to no, make sure it does not cause -set_version
   18486 # flags to be left without arguments
   18487 need_version=unknown
   18488 
   18489 case $host_os in
   18490 aix3*)
   18491   version_type=linux
   18492   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   18493   shlibpath_var=LIBPATH
   18494 
   18495   # AIX 3 has no versioning support, so we append a major version to the name.
   18496   soname_spec='${libname}${release}${shared_ext}$major'
   18497   ;;
   18498 
   18499 aix[4-9]*)
   18500   version_type=linux
   18501   need_lib_prefix=no
   18502   need_version=no
   18503   hardcode_into_libs=yes
   18504   if test "$host_cpu" = ia64; then
   18505     # AIX 5 supports IA64
   18506     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
   18507     shlibpath_var=LD_LIBRARY_PATH
   18508   else
   18509     # With GCC up to 2.95.x, collect2 would create an import file
   18510     # for dependence libraries.  The import file would start with
   18511     # the line `#! .'.  This would cause the generated library to
   18512     # depend on `.', always an invalid library.  This was fixed in
   18513     # development snapshots of GCC prior to 3.0.
   18514     case $host_os in
   18515       aix4 | aix4.[01] | aix4.[01].*)
   18516       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   18517 	   echo ' yes '
   18518 	   echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
   18519 	:
   18520       else
   18521 	can_build_shared=no
   18522       fi
   18523       ;;
   18524     esac
   18525     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
   18526     # soname into executable. Probably we can add versioning support to
   18527     # collect2, so additional links can be useful in future.
   18528     if test "$aix_use_runtimelinking" = yes; then
   18529       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   18530       # instead of lib<name>.a to let people know that these are not
   18531       # typical AIX shared libraries.
   18532       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18533     else
   18534       # We preserve .a as extension for shared libraries through AIX4.2
   18535       # and later when we are not doing run time linking.
   18536       library_names_spec='${libname}${release}.a $libname.a'
   18537       soname_spec='${libname}${release}${shared_ext}$major'
   18538     fi
   18539     shlibpath_var=LIBPATH
   18540   fi
   18541   ;;
   18542 
   18543 amigaos*)
   18544   library_names_spec='$libname.ixlibrary $libname.a'
   18545   # Create ${libname}_ixlibrary.a entries in /sys/libs.
   18546   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'
   18547   ;;
   18548 
   18549 beos*)
   18550   library_names_spec='${libname}${shared_ext}'
   18551   dynamic_linker="$host_os ld.so"
   18552   shlibpath_var=LIBRARY_PATH
   18553   ;;
   18554 
   18555 bsdi[45]*)
   18556   version_type=linux
   18557   need_version=no
   18558   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18559   soname_spec='${libname}${release}${shared_ext}$major'
   18560   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   18561   shlibpath_var=LD_LIBRARY_PATH
   18562   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   18563   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   18564   # the default ld.so.conf also contains /usr/contrib/lib and
   18565   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   18566   # libtool to hard-code these into programs
   18567   ;;
   18568 
   18569 cygwin* | mingw* | pw32*)
   18570   version_type=windows
   18571   shrext_cmds=".dll"
   18572   need_version=no
   18573   need_lib_prefix=no
   18574 
   18575   case $GCC,$host_os in
   18576   yes,cygwin* | yes,mingw* | yes,pw32*)
   18577     library_names_spec='$libname.dll.a'
   18578     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   18579     postinstall_cmds='base_file=`basename \${file}`~
   18580       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
   18581       dldir=$destdir/`dirname \$dlpath`~
   18582       test -d \$dldir || mkdir -p \$dldir~
   18583       $install_prog $dir/$dlname \$dldir/$dlname~
   18584       chmod a+x \$dldir/$dlname'
   18585     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   18586       dlpath=$dir/\$dldll~
   18587        $rm \$dlpath'
   18588     shlibpath_overrides_runpath=yes
   18589 
   18590     case $host_os in
   18591     cygwin*)
   18592       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   18593       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   18594       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
   18595       ;;
   18596     mingw*)
   18597       # MinGW DLLs use traditional 'lib' prefix
   18598       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   18599       sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   18600       if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
   18601         # It is most probably a Windows format PATH printed by
   18602         # mingw gcc, but we are running on Cygwin. Gcc prints its search
   18603         # path with ; separators, and with drive letters. We can handle the
   18604         # drive letters (cygwin fileutils understands them), so leave them,
   18605         # especially as we might pass files found there to a mingw objdump,
   18606         # which wouldn't understand a cygwinified path. Ahh.
   18607         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   18608       else
   18609         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   18610       fi
   18611       ;;
   18612     pw32*)
   18613       # pw32 DLLs use 'pw' prefix rather than 'lib'
   18614       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   18615       ;;
   18616     esac
   18617     ;;
   18618 
   18619   *)
   18620     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
   18621     ;;
   18622   esac
   18623   dynamic_linker='Win32 ld.exe'
   18624   # FIXME: first we should search . and the directory the executable is in
   18625   shlibpath_var=PATH
   18626   ;;
   18627 
   18628 darwin* | rhapsody*)
   18629   dynamic_linker="$host_os dyld"
   18630   version_type=darwin
   18631   need_lib_prefix=no
   18632   need_version=no
   18633   library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
   18634   soname_spec='${libname}${release}${major}$shared_ext'
   18635   shlibpath_overrides_runpath=yes
   18636   shlibpath_var=DYLD_LIBRARY_PATH
   18637   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   18638 
   18639   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   18640   ;;
   18641 
   18642 dgux*)
   18643   version_type=linux
   18644   need_lib_prefix=no
   18645   need_version=no
   18646   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
   18647   soname_spec='${libname}${release}${shared_ext}$major'
   18648   shlibpath_var=LD_LIBRARY_PATH
   18649   ;;
   18650 
   18651 freebsd1*)
   18652   dynamic_linker=no
   18653   ;;
   18654 
   18655 freebsd* | dragonfly*)
   18656   # DragonFly does not have aout.  When/if they implement a new
   18657   # versioning mechanism, adjust this.
   18658   if test -x /usr/bin/objformat; then
   18659     objformat=`/usr/bin/objformat`
   18660   else
   18661     case $host_os in
   18662     freebsd[123]*) objformat=aout ;;
   18663     *) objformat=elf ;;
   18664     esac
   18665   fi
   18666   version_type=freebsd-$objformat
   18667   case $version_type in
   18668     freebsd-elf*)
   18669       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   18670       need_version=no
   18671       need_lib_prefix=no
   18672       ;;
   18673     freebsd-*)
   18674       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
   18675       need_version=yes
   18676       ;;
   18677   esac
   18678   shlibpath_var=LD_LIBRARY_PATH
   18679   case $host_os in
   18680   freebsd2*)
   18681     shlibpath_overrides_runpath=yes
   18682     ;;
   18683   freebsd3.[01]* | freebsdelf3.[01]*)
   18684     shlibpath_overrides_runpath=yes
   18685     hardcode_into_libs=yes
   18686     ;;
   18687   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   18688   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   18689     shlibpath_overrides_runpath=no
   18690     hardcode_into_libs=yes
   18691     ;;
   18692   *) # from 4.6 on, and DragonFly
   18693     shlibpath_overrides_runpath=yes
   18694     hardcode_into_libs=yes
   18695     ;;
   18696   esac
   18697   ;;
   18698 
   18699 gnu*)
   18700   version_type=linux
   18701   need_lib_prefix=no
   18702   need_version=no
   18703   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   18704   soname_spec='${libname}${release}${shared_ext}$major'
   18705   shlibpath_var=LD_LIBRARY_PATH
   18706   hardcode_into_libs=yes
   18707   ;;
   18708 
   18709 hpux9* | hpux10* | hpux11*)
   18710   # Give a soname corresponding to the major version so that dld.sl refuses to
   18711   # link against other versions.
   18712   version_type=sunos
   18713   need_lib_prefix=no
   18714   need_version=no
   18715   case $host_cpu in
   18716   ia64*)
   18717     shrext_cmds='.so'
   18718     hardcode_into_libs=yes
   18719     dynamic_linker="$host_os dld.so"
   18720     shlibpath_var=LD_LIBRARY_PATH
   18721     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   18722     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18723     soname_spec='${libname}${release}${shared_ext}$major'
   18724     if test "X$HPUX_IA64_MODE" = X32; then
   18725       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   18726     else
   18727       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   18728     fi
   18729     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   18730     ;;
   18731    hppa*64*)
   18732      shrext_cmds='.sl'
   18733      hardcode_into_libs=yes
   18734      dynamic_linker="$host_os dld.sl"
   18735      shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   18736      shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   18737      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18738      soname_spec='${libname}${release}${shared_ext}$major'
   18739      sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   18740      sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   18741      ;;
   18742    *)
   18743     shrext_cmds='.sl'
   18744     dynamic_linker="$host_os dld.sl"
   18745     shlibpath_var=SHLIB_PATH
   18746     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   18747     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18748     soname_spec='${libname}${release}${shared_ext}$major'
   18749     ;;
   18750   esac
   18751   # HP-UX runs *really* slowly unless shared libraries are mode 555.
   18752   postinstall_cmds='chmod 555 $lib'
   18753   ;;
   18754 
   18755 interix[3-9]*)
   18756   version_type=linux
   18757   need_lib_prefix=no
   18758   need_version=no
   18759   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   18760   soname_spec='${libname}${release}${shared_ext}$major'
   18761   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   18762   shlibpath_var=LD_LIBRARY_PATH
   18763   shlibpath_overrides_runpath=no
   18764   hardcode_into_libs=yes
   18765   ;;
   18766 
   18767 irix5* | irix6* | nonstopux*)
   18768   case $host_os in
   18769     nonstopux*) version_type=nonstopux ;;
   18770     *)
   18771 	if test "$lt_cv_prog_gnu_ld" = yes; then
   18772 		version_type=linux
   18773 	else
   18774 		version_type=irix
   18775 	fi ;;
   18776   esac
   18777   need_lib_prefix=no
   18778   need_version=no
   18779   soname_spec='${libname}${release}${shared_ext}$major'
   18780   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
   18781   case $host_os in
   18782   irix5* | nonstopux*)
   18783     libsuff= shlibsuff=
   18784     ;;
   18785   *)
   18786     case $LD in # libtool.m4 will add one of these switches to LD
   18787     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   18788       libsuff= shlibsuff= libmagic=32-bit;;
   18789     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   18790       libsuff=32 shlibsuff=N32 libmagic=N32;;
   18791     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   18792       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   18793     *) libsuff= shlibsuff= libmagic=never-match;;
   18794     esac
   18795     ;;
   18796   esac
   18797   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   18798   shlibpath_overrides_runpath=no
   18799   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   18800   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   18801   hardcode_into_libs=yes
   18802   ;;
   18803 
   18804 # No shared lib support for Linux oldld, aout, or coff.
   18805 linux*oldld* | linux*aout* | linux*coff*)
   18806   dynamic_linker=no
   18807   ;;
   18808 
   18809 # This must be Linux ELF.
   18810 linux* | k*bsd*-gnu)
   18811   version_type=linux
   18812   need_lib_prefix=no
   18813   need_version=no
   18814   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18815   soname_spec='${libname}${release}${shared_ext}$major'
   18816   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   18817   shlibpath_var=LD_LIBRARY_PATH
   18818   shlibpath_overrides_runpath=no
   18819   # This implies no fast_install, which is unacceptable.
   18820   # Some rework will be needed to allow for fast_install
   18821   # before this can be enabled.
   18822   hardcode_into_libs=yes
   18823 
   18824   # Append ld.so.conf contents to the search path
   18825   if test -f /etc/ld.so.conf; then
   18826     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' ' '`
   18827     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   18828   fi
   18829 
   18830   # We used to test for /lib/ld.so.1 and disable shared libraries on
   18831   # powerpc, because MkLinux only supported shared libraries with the
   18832   # GNU dynamic linker.  Since this was broken with cross compilers,
   18833   # most powerpc-linux boxes support dynamic linking these days and
   18834   # people can always --disable-shared, the test was removed, and we
   18835   # assume the GNU/Linux dynamic linker is in use.
   18836   dynamic_linker='GNU/Linux ld.so'
   18837   ;;
   18838 
   18839 netbsd*)
   18840   version_type=sunos
   18841   need_lib_prefix=no
   18842   need_version=no
   18843   if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   18844     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   18845     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   18846     dynamic_linker='NetBSD (a.out) ld.so'
   18847   else
   18848     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   18849     soname_spec='${libname}${release}${shared_ext}$major'
   18850     dynamic_linker='NetBSD ld.elf_so'
   18851   fi
   18852   shlibpath_var=LD_LIBRARY_PATH
   18853   shlibpath_overrides_runpath=yes
   18854   hardcode_into_libs=yes
   18855   ;;
   18856 
   18857 newsos6)
   18858   version_type=linux
   18859   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18860   shlibpath_var=LD_LIBRARY_PATH
   18861   shlibpath_overrides_runpath=yes
   18862   ;;
   18863 
   18864 nto-qnx*)
   18865   version_type=linux
   18866   need_lib_prefix=no
   18867   need_version=no
   18868   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18869   soname_spec='${libname}${release}${shared_ext}$major'
   18870   shlibpath_var=LD_LIBRARY_PATH
   18871   shlibpath_overrides_runpath=yes
   18872   ;;
   18873 
   18874 openbsd*)
   18875   version_type=sunos
   18876   sys_lib_dlsearch_path_spec="/usr/lib"
   18877   need_lib_prefix=no
   18878   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
   18879   case $host_os in
   18880     openbsd3.3 | openbsd3.3.*) need_version=yes ;;
   18881     *)                         need_version=no  ;;
   18882   esac
   18883   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   18884   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   18885   shlibpath_var=LD_LIBRARY_PATH
   18886   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   18887     case $host_os in
   18888       openbsd2.[89] | openbsd2.[89].*)
   18889 	shlibpath_overrides_runpath=no
   18890 	;;
   18891       *)
   18892 	shlibpath_overrides_runpath=yes
   18893 	;;
   18894       esac
   18895   else
   18896     shlibpath_overrides_runpath=yes
   18897   fi
   18898   ;;
   18899 
   18900 os2*)
   18901   libname_spec='$name'
   18902   shrext_cmds=".dll"
   18903   need_lib_prefix=no
   18904   library_names_spec='$libname${shared_ext} $libname.a'
   18905   dynamic_linker='OS/2 ld.exe'
   18906   shlibpath_var=LIBPATH
   18907   ;;
   18908 
   18909 osf3* | osf4* | osf5*)
   18910   version_type=osf
   18911   need_lib_prefix=no
   18912   need_version=no
   18913   soname_spec='${libname}${release}${shared_ext}$major'
   18914   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18915   shlibpath_var=LD_LIBRARY_PATH
   18916   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   18917   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   18918   ;;
   18919 
   18920 rdos*)
   18921   dynamic_linker=no
   18922   ;;
   18923 
   18924 solaris*)
   18925   version_type=linux
   18926   need_lib_prefix=no
   18927   need_version=no
   18928   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18929   soname_spec='${libname}${release}${shared_ext}$major'
   18930   shlibpath_var=LD_LIBRARY_PATH
   18931   shlibpath_overrides_runpath=yes
   18932   hardcode_into_libs=yes
   18933   # ldd complains unless libraries are executable
   18934   postinstall_cmds='chmod +x $lib'
   18935   ;;
   18936 
   18937 sunos4*)
   18938   version_type=sunos
   18939   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   18940   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   18941   shlibpath_var=LD_LIBRARY_PATH
   18942   shlibpath_overrides_runpath=yes
   18943   if test "$with_gnu_ld" = yes; then
   18944     need_lib_prefix=no
   18945   fi
   18946   need_version=yes
   18947   ;;
   18948 
   18949 sysv4 | sysv4.3*)
   18950   version_type=linux
   18951   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18952   soname_spec='${libname}${release}${shared_ext}$major'
   18953   shlibpath_var=LD_LIBRARY_PATH
   18954   case $host_vendor in
   18955     sni)
   18956       shlibpath_overrides_runpath=no
   18957       need_lib_prefix=no
   18958       export_dynamic_flag_spec='${wl}-Blargedynsym'
   18959       runpath_var=LD_RUN_PATH
   18960       ;;
   18961     siemens)
   18962       need_lib_prefix=no
   18963       ;;
   18964     motorola)
   18965       need_lib_prefix=no
   18966       need_version=no
   18967       shlibpath_overrides_runpath=no
   18968       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   18969       ;;
   18970   esac
   18971   ;;
   18972 
   18973 sysv4*MP*)
   18974   if test -d /usr/nec ;then
   18975     version_type=linux
   18976     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
   18977     soname_spec='$libname${shared_ext}.$major'
   18978     shlibpath_var=LD_LIBRARY_PATH
   18979   fi
   18980   ;;
   18981 
   18982 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   18983   version_type=freebsd-elf
   18984   need_lib_prefix=no
   18985   need_version=no
   18986   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   18987   soname_spec='${libname}${release}${shared_ext}$major'
   18988   shlibpath_var=LD_LIBRARY_PATH
   18989   hardcode_into_libs=yes
   18990   if test "$with_gnu_ld" = yes; then
   18991     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   18992     shlibpath_overrides_runpath=no
   18993   else
   18994     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   18995     shlibpath_overrides_runpath=yes
   18996     case $host_os in
   18997       sco3.2v5*)
   18998         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   18999 	;;
   19000     esac
   19001   fi
   19002   sys_lib_dlsearch_path_spec='/usr/lib'
   19003   ;;
   19004 
   19005 uts4*)
   19006   version_type=linux
   19007   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   19008   soname_spec='${libname}${release}${shared_ext}$major'
   19009   shlibpath_var=LD_LIBRARY_PATH
   19010   ;;
   19011 
   19012 *)
   19013   dynamic_linker=no
   19014   ;;
   19015 esac
   19016 { $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
   19017 $as_echo "$dynamic_linker" >&6; }
   19018 test "$dynamic_linker" = no && can_build_shared=no
   19019 
   19020 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
   19021   $as_echo_n "(cached) " >&6
   19022 else
   19023   lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
   19024 fi
   19025 
   19026 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
   19027 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
   19028   $as_echo_n "(cached) " >&6
   19029 else
   19030   lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
   19031 fi
   19032 
   19033 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
   19034 
   19035 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   19036 if test "$GCC" = yes; then
   19037   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   19038 fi
   19039 
   19040 { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
   19041 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
   19042 hardcode_action_GCJ=
   19043 if test -n "$hardcode_libdir_flag_spec_GCJ" || \
   19044    test -n "$runpath_var_GCJ" || \
   19045    test "X$hardcode_automatic_GCJ" = "Xyes" ; then
   19046 
   19047   # We can hardcode non-existant directories.
   19048   if test "$hardcode_direct_GCJ" != no &&
   19049      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   19050      # have to relink, otherwise we might link with an installed library
   19051      # when we should be linking with a yet-to-be-installed one
   19052      ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
   19053      test "$hardcode_minus_L_GCJ" != no; then
   19054     # Linking always hardcodes the temporary library directory.
   19055     hardcode_action_GCJ=relink
   19056   else
   19057     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   19058     hardcode_action_GCJ=immediate
   19059   fi
   19060 else
   19061   # We cannot hardcode anything, or else we can only hardcode existing
   19062   # directories.
   19063   hardcode_action_GCJ=unsupported
   19064 fi
   19065 { $as_echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
   19066 $as_echo "$hardcode_action_GCJ" >&6; }
   19067 
   19068 if test "$hardcode_action_GCJ" = relink; then
   19069   # Fast installation is not supported
   19070   enable_fast_install=no
   19071 elif test "$shlibpath_overrides_runpath" = yes ||
   19072      test "$enable_shared" = no; then
   19073   # Fast installation is not necessary
   19074   enable_fast_install=needless
   19075 fi
   19076 
   19077 
   19078 # The else clause should only fire when bootstrapping the
   19079 # libtool distribution, otherwise you forgot to ship ltmain.sh
   19080 # with your package, and you will get complaints that there are
   19081 # no rules to generate ltmain.sh.
   19082 if test -f "$ltmain"; then
   19083   # See if we are running on zsh, and set the options which allow our commands through
   19084   # without removal of \ escapes.
   19085   if test -n "${ZSH_VERSION+set}" ; then
   19086     setopt NO_GLOB_SUBST
   19087   fi
   19088   # Now quote all the things that may contain metacharacters while being
   19089   # careful not to overquote the AC_SUBSTed values.  We take copies of the
   19090   # variables and quote the copies for generation of the libtool script.
   19091   for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
   19092     SED SHELL STRIP \
   19093     libname_spec library_names_spec soname_spec extract_expsyms_cmds \
   19094     old_striplib striplib file_magic_cmd finish_cmds finish_eval \
   19095     deplibs_check_method reload_flag reload_cmds need_locks \
   19096     lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
   19097     lt_cv_sys_global_symbol_to_c_name_address \
   19098     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
   19099     old_postinstall_cmds old_postuninstall_cmds \
   19100     compiler_GCJ \
   19101     CC_GCJ \
   19102     LD_GCJ \
   19103     lt_prog_compiler_wl_GCJ \
   19104     lt_prog_compiler_pic_GCJ \
   19105     lt_prog_compiler_static_GCJ \
   19106     lt_prog_compiler_no_builtin_flag_GCJ \
   19107     export_dynamic_flag_spec_GCJ \
   19108     thread_safe_flag_spec_GCJ \
   19109     whole_archive_flag_spec_GCJ \
   19110     enable_shared_with_static_runtimes_GCJ \
   19111     old_archive_cmds_GCJ \
   19112     old_archive_from_new_cmds_GCJ \
   19113     predep_objects_GCJ \
   19114     postdep_objects_GCJ \
   19115     predeps_GCJ \
   19116     postdeps_GCJ \
   19117     compiler_lib_search_path_GCJ \
   19118     compiler_lib_search_dirs_GCJ \
   19119     archive_cmds_GCJ \
   19120     archive_expsym_cmds_GCJ \
   19121     postinstall_cmds_GCJ \
   19122     postuninstall_cmds_GCJ \
   19123     old_archive_from_expsyms_cmds_GCJ \
   19124     allow_undefined_flag_GCJ \
   19125     no_undefined_flag_GCJ \
   19126     export_symbols_cmds_GCJ \
   19127     hardcode_libdir_flag_spec_GCJ \
   19128     hardcode_libdir_flag_spec_ld_GCJ \
   19129     hardcode_libdir_separator_GCJ \
   19130     hardcode_automatic_GCJ \
   19131     module_cmds_GCJ \
   19132     module_expsym_cmds_GCJ \
   19133     lt_cv_prog_compiler_c_o_GCJ \
   19134     fix_srcfile_path_GCJ \
   19135     exclude_expsyms_GCJ \
   19136     include_expsyms_GCJ; do
   19137 
   19138     case $var in
   19139     old_archive_cmds_GCJ | \
   19140     old_archive_from_new_cmds_GCJ | \
   19141     archive_cmds_GCJ | \
   19142     archive_expsym_cmds_GCJ | \
   19143     module_cmds_GCJ | \
   19144     module_expsym_cmds_GCJ | \
   19145     old_archive_from_expsyms_cmds_GCJ | \
   19146     export_symbols_cmds_GCJ | \
   19147     extract_expsyms_cmds | reload_cmds | finish_cmds | \
   19148     postinstall_cmds | postuninstall_cmds | \
   19149     old_postinstall_cmds | old_postuninstall_cmds | \
   19150     sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
   19151       # Double-quote double-evaled strings.
   19152       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
   19153       ;;
   19154     *)
   19155       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
   19156       ;;
   19157     esac
   19158   done
   19159 
   19160   case $lt_echo in
   19161   *'\$0 --fallback-echo"')
   19162     lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
   19163     ;;
   19164   esac
   19165 
   19166 cfgfile="$ofile"
   19167 
   19168   cat <<__EOF__ >> "$cfgfile"
   19169 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
   19170 
   19171 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   19172 
   19173 # Shell to use when invoking shell scripts.
   19174 SHELL=$lt_SHELL
   19175 
   19176 # Whether or not to build shared libraries.
   19177 build_libtool_libs=$enable_shared
   19178 
   19179 # Whether or not to build static libraries.
   19180 build_old_libs=$enable_static
   19181 
   19182 # Whether or not to add -lc for building shared libraries.
   19183 build_libtool_need_lc=$archive_cmds_need_lc_GCJ
   19184 
   19185 # Whether or not to disallow shared libs when runtime libs are static
   19186 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
   19187 
   19188 # Whether or not to optimize for fast installation.
   19189 fast_install=$enable_fast_install
   19190 
   19191 # The host system.
   19192 host_alias=$host_alias
   19193 host=$host
   19194 host_os=$host_os
   19195 
   19196 # The build system.
   19197 build_alias=$build_alias
   19198 build=$build
   19199 build_os=$build_os
   19200 
   19201 # An echo program that does not interpret backslashes.
   19202 echo=$lt_echo
   19203 
   19204 # The archiver.
   19205 AR=$lt_AR
   19206 AR_FLAGS=$lt_AR_FLAGS
   19207 
   19208 # A C compiler.
   19209 LTCC=$lt_LTCC
   19210 
   19211 # LTCC compiler flags.
   19212 LTCFLAGS=$lt_LTCFLAGS
   19213 
   19214 # A language-specific compiler.
   19215 CC=$lt_compiler_GCJ
   19216 
   19217 # Is the compiler the GNU C compiler?
   19218 with_gcc=$GCC_GCJ
   19219 
   19220 # An ERE matcher.
   19221 EGREP=$lt_EGREP
   19222 
   19223 # The linker used to build libraries.
   19224 LD=$lt_LD_GCJ
   19225 
   19226 # Whether we need hard or soft links.
   19227 LN_S=$lt_LN_S
   19228 
   19229 # A BSD-compatible nm program.
   19230 NM=$lt_NM
   19231 
   19232 # A symbol stripping program
   19233 STRIP=$lt_STRIP
   19234 
   19235 # Used to examine libraries when file_magic_cmd begins "file"
   19236 MAGIC_CMD=$MAGIC_CMD
   19237 
   19238 # Used on cygwin: DLL creation program.
   19239 DLLTOOL="$DLLTOOL"
   19240 
   19241 # Used on cygwin: object dumper.
   19242 OBJDUMP="$OBJDUMP"
   19243 
   19244 # Used on cygwin: assembler.
   19245 AS="$AS"
   19246 
   19247 # The name of the directory that contains temporary libtool files.
   19248 objdir=$objdir
   19249 
   19250 # How to create reloadable object files.
   19251 reload_flag=$lt_reload_flag
   19252 reload_cmds=$lt_reload_cmds
   19253 
   19254 # How to pass a linker flag through the compiler.
   19255 wl=$lt_lt_prog_compiler_wl_GCJ
   19256 
   19257 # Object file suffix (normally "o").
   19258 objext="$ac_objext"
   19259 
   19260 # Old archive suffix (normally "a").
   19261 libext="$libext"
   19262 
   19263 # Shared library suffix (normally ".so").
   19264 shrext_cmds='$shrext_cmds'
   19265 
   19266 # Executable file suffix (normally "").
   19267 exeext="$exeext"
   19268 
   19269 # Additional compiler flags for building library objects.
   19270 pic_flag=$lt_lt_prog_compiler_pic_GCJ
   19271 pic_mode=$pic_mode
   19272 
   19273 # What is the maximum length of a command?
   19274 max_cmd_len=$lt_cv_sys_max_cmd_len
   19275 
   19276 # Does compiler simultaneously support -c and -o options?
   19277 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
   19278 
   19279 # Must we lock files when doing compilation?
   19280 need_locks=$lt_need_locks
   19281 
   19282 # Do we need the lib prefix for modules?
   19283 need_lib_prefix=$need_lib_prefix
   19284 
   19285 # Do we need a version for libraries?
   19286 need_version=$need_version
   19287 
   19288 # Whether dlopen is supported.
   19289 dlopen_support=$enable_dlopen
   19290 
   19291 # Whether dlopen of programs is supported.
   19292 dlopen_self=$enable_dlopen_self
   19293 
   19294 # Whether dlopen of statically linked programs is supported.
   19295 dlopen_self_static=$enable_dlopen_self_static
   19296 
   19297 # Compiler flag to prevent dynamic linking.
   19298 link_static_flag=$lt_lt_prog_compiler_static_GCJ
   19299 
   19300 # Compiler flag to turn off builtin functions.
   19301 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
   19302 
   19303 # Compiler flag to allow reflexive dlopens.
   19304 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
   19305 
   19306 # Compiler flag to generate shared objects directly from archives.
   19307 whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
   19308 
   19309 # Compiler flag to generate thread-safe objects.
   19310 thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
   19311 
   19312 # Library versioning type.
   19313 version_type=$version_type
   19314 
   19315 # Format of library name prefix.
   19316 libname_spec=$lt_libname_spec
   19317 
   19318 # List of archive names.  First name is the real one, the rest are links.
   19319 # The last name is the one that the linker finds with -lNAME.
   19320 library_names_spec=$lt_library_names_spec
   19321 
   19322 # The coded name of the library, if different from the real name.
   19323 soname_spec=$lt_soname_spec
   19324 
   19325 # Commands used to build and install an old-style archive.
   19326 RANLIB=$lt_RANLIB
   19327 old_archive_cmds=$lt_old_archive_cmds_GCJ
   19328 old_postinstall_cmds=$lt_old_postinstall_cmds
   19329 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   19330 
   19331 # Create an old-style archive from a shared archive.
   19332 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
   19333 
   19334 # Create a temporary old-style archive to link instead of a shared archive.
   19335 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
   19336 
   19337 # Commands used to build and install a shared archive.
   19338 archive_cmds=$lt_archive_cmds_GCJ
   19339 archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
   19340 postinstall_cmds=$lt_postinstall_cmds
   19341 postuninstall_cmds=$lt_postuninstall_cmds
   19342 
   19343 # Commands used to build a loadable module (assumed same as above if empty)
   19344 module_cmds=$lt_module_cmds_GCJ
   19345 module_expsym_cmds=$lt_module_expsym_cmds_GCJ
   19346 
   19347 # Commands to strip libraries.
   19348 old_striplib=$lt_old_striplib
   19349 striplib=$lt_striplib
   19350 
   19351 # Dependencies to place before the objects being linked to create a
   19352 # shared library.
   19353 predep_objects=$lt_predep_objects_GCJ
   19354 
   19355 # Dependencies to place after the objects being linked to create a
   19356 # shared library.
   19357 postdep_objects=$lt_postdep_objects_GCJ
   19358 
   19359 # Dependencies to place before the objects being linked to create a
   19360 # shared library.
   19361 predeps=$lt_predeps_GCJ
   19362 
   19363 # Dependencies to place after the objects being linked to create a
   19364 # shared library.
   19365 postdeps=$lt_postdeps_GCJ
   19366 
   19367 # The directories searched by this compiler when creating a shared
   19368 # library
   19369 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_GCJ
   19370 
   19371 # The library search path used internally by the compiler when linking
   19372 # a shared library.
   19373 compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
   19374 
   19375 # Method to check whether dependent libraries are shared objects.
   19376 deplibs_check_method=$lt_deplibs_check_method
   19377 
   19378 # Command to use when deplibs_check_method == file_magic.
   19379 file_magic_cmd=$lt_file_magic_cmd
   19380 
   19381 # Flag that allows shared libraries with undefined symbols to be built.
   19382 allow_undefined_flag=$lt_allow_undefined_flag_GCJ
   19383 
   19384 # Flag that forces no undefined symbols.
   19385 no_undefined_flag=$lt_no_undefined_flag_GCJ
   19386 
   19387 # Commands used to finish a libtool library installation in a directory.
   19388 finish_cmds=$lt_finish_cmds
   19389 
   19390 # Same as above, but a single script fragment to be evaled but not shown.
   19391 finish_eval=$lt_finish_eval
   19392 
   19393 # Take the output of nm and produce a listing of raw symbols and C names.
   19394 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   19395 
   19396 # Transform the output of nm in a proper C declaration
   19397 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   19398 
   19399 # Transform the output of nm in a C name address pair
   19400 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   19401 
   19402 # This is the shared library runtime path variable.
   19403 runpath_var=$runpath_var
   19404 
   19405 # This is the shared library path variable.
   19406 shlibpath_var=$shlibpath_var
   19407 
   19408 # Is shlibpath searched before the hard-coded library search path?
   19409 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   19410 
   19411 # How to hardcode a shared library path into an executable.
   19412 hardcode_action=$hardcode_action_GCJ
   19413 
   19414 # Whether we should hardcode library paths into libraries.
   19415 hardcode_into_libs=$hardcode_into_libs
   19416 
   19417 # Flag to hardcode \$libdir into a binary during linking.
   19418 # This must work even if \$libdir does not exist.
   19419 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
   19420 
   19421 # If ld is used when linking, flag to hardcode \$libdir into
   19422 # a binary during linking. This must work even if \$libdir does
   19423 # not exist.
   19424 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
   19425 
   19426 # Whether we need a single -rpath flag with a separated argument.
   19427 hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
   19428 
   19429 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
   19430 # resulting binary.
   19431 hardcode_direct=$hardcode_direct_GCJ
   19432 
   19433 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
   19434 # resulting binary.
   19435 hardcode_minus_L=$hardcode_minus_L_GCJ
   19436 
   19437 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
   19438 # the resulting binary.
   19439 hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
   19440 
   19441 # Set to yes if building a shared library automatically hardcodes DIR into the library
   19442 # and all subsequent libraries and executables linked against it.
   19443 hardcode_automatic=$hardcode_automatic_GCJ
   19444 
   19445 # Variables whose values should be saved in libtool wrapper scripts and
   19446 # restored at relink time.
   19447 variables_saved_for_relink="$variables_saved_for_relink"
   19448 
   19449 # Whether libtool must link a program against all its dependency libraries.
   19450 link_all_deplibs=$link_all_deplibs_GCJ
   19451 
   19452 # Compile-time system search path for libraries
   19453 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   19454 
   19455 # Run-time system search path for libraries
   19456 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   19457 
   19458 # Fix the shell variable \$srcfile for the compiler.
   19459 fix_srcfile_path=$lt_fix_srcfile_path
   19460 
   19461 # Set to yes if exported symbols are required.
   19462 always_export_symbols=$always_export_symbols_GCJ
   19463 
   19464 # The commands to list exported symbols.
   19465 export_symbols_cmds=$lt_export_symbols_cmds_GCJ
   19466 
   19467 # The commands to extract the exported symbol list from a shared archive.
   19468 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   19469 
   19470 # Symbols that should not be listed in the preloaded symbols.
   19471 exclude_expsyms=$lt_exclude_expsyms_GCJ
   19472 
   19473 # Symbols that must always be exported.
   19474 include_expsyms=$lt_include_expsyms_GCJ
   19475 
   19476 # ### END LIBTOOL TAG CONFIG: $tagname
   19477 
   19478 __EOF__
   19479 
   19480 
   19481 else
   19482   # If there is no Makefile yet, we rely on a make rule to execute
   19483   # `config.status --recheck' to rerun these tests and create the
   19484   # libtool script then.
   19485   ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
   19486   if test -f "$ltmain_in"; then
   19487     test -f Makefile && make "$ltmain"
   19488   fi
   19489 fi
   19490 
   19491 
   19492 ac_ext=c
   19493 ac_cpp='$CPP $CPPFLAGS'
   19494 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   19495 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   19496 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   19497 
   19498 CC="$lt_save_CC"
   19499 
   19500 	else
   19501 	  tagname=""
   19502 	fi
   19503 	;;
   19504 
   19505       RC)
   19506 
   19507 
   19508 # Source file extension for RC test sources.
   19509 ac_ext=rc
   19510 
   19511 # Object file extension for compiled RC test sources.
   19512 objext=o
   19513 objext_RC=$objext
   19514 
   19515 # Code to be used in simple compile tests
   19516 lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }'
   19517 
   19518 # Code to be used in simple link tests
   19519 lt_simple_link_test_code="$lt_simple_compile_test_code"
   19520 
   19521 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
   19522 
   19523 # If no C compiler was specified, use CC.
   19524 LTCC=${LTCC-"$CC"}
   19525 
   19526 # If no C compiler flags were specified, use CFLAGS.
   19527 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   19528 
   19529 # Allow CC to be a program name with arguments.
   19530 compiler=$CC
   19531 
   19532 
   19533 # save warnings/boilerplate of simple test code
   19534 ac_outfile=conftest.$ac_objext
   19535 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   19536 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   19537 _lt_compiler_boilerplate=`cat conftest.err`
   19538 $rm conftest*
   19539 
   19540 ac_outfile=conftest.$ac_objext
   19541 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   19542 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   19543 _lt_linker_boilerplate=`cat conftest.err`
   19544 $rm -r conftest*
   19545 
   19546 
   19547 # Allow CC to be a program name with arguments.
   19548 lt_save_CC="$CC"
   19549 CC=${RC-"windres"}
   19550 compiler=$CC
   19551 compiler_RC=$CC
   19552 for cc_temp in $compiler""; do
   19553   case $cc_temp in
   19554     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   19555     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   19556     \-*) ;;
   19557     *) break;;
   19558   esac
   19559 done
   19560 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   19561 
   19562 lt_cv_prog_compiler_c_o_RC=yes
   19563 
   19564 # The else clause should only fire when bootstrapping the
   19565 # libtool distribution, otherwise you forgot to ship ltmain.sh
   19566 # with your package, and you will get complaints that there are
   19567 # no rules to generate ltmain.sh.
   19568 if test -f "$ltmain"; then
   19569   # See if we are running on zsh, and set the options which allow our commands through
   19570   # without removal of \ escapes.
   19571   if test -n "${ZSH_VERSION+set}" ; then
   19572     setopt NO_GLOB_SUBST
   19573   fi
   19574   # Now quote all the things that may contain metacharacters while being
   19575   # careful not to overquote the AC_SUBSTed values.  We take copies of the
   19576   # variables and quote the copies for generation of the libtool script.
   19577   for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
   19578     SED SHELL STRIP \
   19579     libname_spec library_names_spec soname_spec extract_expsyms_cmds \
   19580     old_striplib striplib file_magic_cmd finish_cmds finish_eval \
   19581     deplibs_check_method reload_flag reload_cmds need_locks \
   19582     lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
   19583     lt_cv_sys_global_symbol_to_c_name_address \
   19584     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
   19585     old_postinstall_cmds old_postuninstall_cmds \
   19586     compiler_RC \
   19587     CC_RC \
   19588     LD_RC \
   19589     lt_prog_compiler_wl_RC \
   19590     lt_prog_compiler_pic_RC \
   19591     lt_prog_compiler_static_RC \
   19592     lt_prog_compiler_no_builtin_flag_RC \
   19593     export_dynamic_flag_spec_RC \
   19594     thread_safe_flag_spec_RC \
   19595     whole_archive_flag_spec_RC \
   19596     enable_shared_with_static_runtimes_RC \
   19597     old_archive_cmds_RC \
   19598     old_archive_from_new_cmds_RC \
   19599     predep_objects_RC \
   19600     postdep_objects_RC \
   19601     predeps_RC \
   19602     postdeps_RC \
   19603     compiler_lib_search_path_RC \
   19604     compiler_lib_search_dirs_RC \
   19605     archive_cmds_RC \
   19606     archive_expsym_cmds_RC \
   19607     postinstall_cmds_RC \
   19608     postuninstall_cmds_RC \
   19609     old_archive_from_expsyms_cmds_RC \
   19610     allow_undefined_flag_RC \
   19611     no_undefined_flag_RC \
   19612     export_symbols_cmds_RC \
   19613     hardcode_libdir_flag_spec_RC \
   19614     hardcode_libdir_flag_spec_ld_RC \
   19615     hardcode_libdir_separator_RC \
   19616     hardcode_automatic_RC \
   19617     module_cmds_RC \
   19618     module_expsym_cmds_RC \
   19619     lt_cv_prog_compiler_c_o_RC \
   19620     fix_srcfile_path_RC \
   19621     exclude_expsyms_RC \
   19622     include_expsyms_RC; do
   19623 
   19624     case $var in
   19625     old_archive_cmds_RC | \
   19626     old_archive_from_new_cmds_RC | \
   19627     archive_cmds_RC | \
   19628     archive_expsym_cmds_RC | \
   19629     module_cmds_RC | \
   19630     module_expsym_cmds_RC | \
   19631     old_archive_from_expsyms_cmds_RC | \
   19632     export_symbols_cmds_RC | \
   19633     extract_expsyms_cmds | reload_cmds | finish_cmds | \
   19634     postinstall_cmds | postuninstall_cmds | \
   19635     old_postinstall_cmds | old_postuninstall_cmds | \
   19636     sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
   19637       # Double-quote double-evaled strings.
   19638       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
   19639       ;;
   19640     *)
   19641       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
   19642       ;;
   19643     esac
   19644   done
   19645 
   19646   case $lt_echo in
   19647   *'\$0 --fallback-echo"')
   19648     lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
   19649     ;;
   19650   esac
   19651 
   19652 cfgfile="$ofile"
   19653 
   19654   cat <<__EOF__ >> "$cfgfile"
   19655 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
   19656 
   19657 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   19658 
   19659 # Shell to use when invoking shell scripts.
   19660 SHELL=$lt_SHELL
   19661 
   19662 # Whether or not to build shared libraries.
   19663 build_libtool_libs=$enable_shared
   19664 
   19665 # Whether or not to build static libraries.
   19666 build_old_libs=$enable_static
   19667 
   19668 # Whether or not to add -lc for building shared libraries.
   19669 build_libtool_need_lc=$archive_cmds_need_lc_RC
   19670 
   19671 # Whether or not to disallow shared libs when runtime libs are static
   19672 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
   19673 
   19674 # Whether or not to optimize for fast installation.
   19675 fast_install=$enable_fast_install
   19676 
   19677 # The host system.
   19678 host_alias=$host_alias
   19679 host=$host
   19680 host_os=$host_os
   19681 
   19682 # The build system.
   19683 build_alias=$build_alias
   19684 build=$build
   19685 build_os=$build_os
   19686 
   19687 # An echo program that does not interpret backslashes.
   19688 echo=$lt_echo
   19689 
   19690 # The archiver.
   19691 AR=$lt_AR
   19692 AR_FLAGS=$lt_AR_FLAGS
   19693 
   19694 # A C compiler.
   19695 LTCC=$lt_LTCC
   19696 
   19697 # LTCC compiler flags.
   19698 LTCFLAGS=$lt_LTCFLAGS
   19699 
   19700 # A language-specific compiler.
   19701 CC=$lt_compiler_RC
   19702 
   19703 # Is the compiler the GNU C compiler?
   19704 with_gcc=$GCC_RC
   19705 
   19706 # An ERE matcher.
   19707 EGREP=$lt_EGREP
   19708 
   19709 # The linker used to build libraries.
   19710 LD=$lt_LD_RC
   19711 
   19712 # Whether we need hard or soft links.
   19713 LN_S=$lt_LN_S
   19714 
   19715 # A BSD-compatible nm program.
   19716 NM=$lt_NM
   19717 
   19718 # A symbol stripping program
   19719 STRIP=$lt_STRIP
   19720 
   19721 # Used to examine libraries when file_magic_cmd begins "file"
   19722 MAGIC_CMD=$MAGIC_CMD
   19723 
   19724 # Used on cygwin: DLL creation program.
   19725 DLLTOOL="$DLLTOOL"
   19726 
   19727 # Used on cygwin: object dumper.
   19728 OBJDUMP="$OBJDUMP"
   19729 
   19730 # Used on cygwin: assembler.
   19731 AS="$AS"
   19732 
   19733 # The name of the directory that contains temporary libtool files.
   19734 objdir=$objdir
   19735 
   19736 # How to create reloadable object files.
   19737 reload_flag=$lt_reload_flag
   19738 reload_cmds=$lt_reload_cmds
   19739 
   19740 # How to pass a linker flag through the compiler.
   19741 wl=$lt_lt_prog_compiler_wl_RC
   19742 
   19743 # Object file suffix (normally "o").
   19744 objext="$ac_objext"
   19745 
   19746 # Old archive suffix (normally "a").
   19747 libext="$libext"
   19748 
   19749 # Shared library suffix (normally ".so").
   19750 shrext_cmds='$shrext_cmds'
   19751 
   19752 # Executable file suffix (normally "").
   19753 exeext="$exeext"
   19754 
   19755 # Additional compiler flags for building library objects.
   19756 pic_flag=$lt_lt_prog_compiler_pic_RC
   19757 pic_mode=$pic_mode
   19758 
   19759 # What is the maximum length of a command?
   19760 max_cmd_len=$lt_cv_sys_max_cmd_len
   19761 
   19762 # Does compiler simultaneously support -c and -o options?
   19763 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
   19764 
   19765 # Must we lock files when doing compilation?
   19766 need_locks=$lt_need_locks
   19767 
   19768 # Do we need the lib prefix for modules?
   19769 need_lib_prefix=$need_lib_prefix
   19770 
   19771 # Do we need a version for libraries?
   19772 need_version=$need_version
   19773 
   19774 # Whether dlopen is supported.
   19775 dlopen_support=$enable_dlopen
   19776 
   19777 # Whether dlopen of programs is supported.
   19778 dlopen_self=$enable_dlopen_self
   19779 
   19780 # Whether dlopen of statically linked programs is supported.
   19781 dlopen_self_static=$enable_dlopen_self_static
   19782 
   19783 # Compiler flag to prevent dynamic linking.
   19784 link_static_flag=$lt_lt_prog_compiler_static_RC
   19785 
   19786 # Compiler flag to turn off builtin functions.
   19787 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
   19788 
   19789 # Compiler flag to allow reflexive dlopens.
   19790 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
   19791 
   19792 # Compiler flag to generate shared objects directly from archives.
   19793 whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
   19794 
   19795 # Compiler flag to generate thread-safe objects.
   19796 thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
   19797 
   19798 # Library versioning type.
   19799 version_type=$version_type
   19800 
   19801 # Format of library name prefix.
   19802 libname_spec=$lt_libname_spec
   19803 
   19804 # List of archive names.  First name is the real one, the rest are links.
   19805 # The last name is the one that the linker finds with -lNAME.
   19806 library_names_spec=$lt_library_names_spec
   19807 
   19808 # The coded name of the library, if different from the real name.
   19809 soname_spec=$lt_soname_spec
   19810 
   19811 # Commands used to build and install an old-style archive.
   19812 RANLIB=$lt_RANLIB
   19813 old_archive_cmds=$lt_old_archive_cmds_RC
   19814 old_postinstall_cmds=$lt_old_postinstall_cmds
   19815 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   19816 
   19817 # Create an old-style archive from a shared archive.
   19818 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
   19819 
   19820 # Create a temporary old-style archive to link instead of a shared archive.
   19821 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
   19822 
   19823 # Commands used to build and install a shared archive.
   19824 archive_cmds=$lt_archive_cmds_RC
   19825 archive_expsym_cmds=$lt_archive_expsym_cmds_RC
   19826 postinstall_cmds=$lt_postinstall_cmds
   19827 postuninstall_cmds=$lt_postuninstall_cmds
   19828 
   19829 # Commands used to build a loadable module (assumed same as above if empty)
   19830 module_cmds=$lt_module_cmds_RC
   19831 module_expsym_cmds=$lt_module_expsym_cmds_RC
   19832 
   19833 # Commands to strip libraries.
   19834 old_striplib=$lt_old_striplib
   19835 striplib=$lt_striplib
   19836 
   19837 # Dependencies to place before the objects being linked to create a
   19838 # shared library.
   19839 predep_objects=$lt_predep_objects_RC
   19840 
   19841 # Dependencies to place after the objects being linked to create a
   19842 # shared library.
   19843 postdep_objects=$lt_postdep_objects_RC
   19844 
   19845 # Dependencies to place before the objects being linked to create a
   19846 # shared library.
   19847 predeps=$lt_predeps_RC
   19848 
   19849 # Dependencies to place after the objects being linked to create a
   19850 # shared library.
   19851 postdeps=$lt_postdeps_RC
   19852 
   19853 # The directories searched by this compiler when creating a shared
   19854 # library
   19855 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_RC
   19856 
   19857 # The library search path used internally by the compiler when linking
   19858 # a shared library.
   19859 compiler_lib_search_path=$lt_compiler_lib_search_path_RC
   19860 
   19861 # Method to check whether dependent libraries are shared objects.
   19862 deplibs_check_method=$lt_deplibs_check_method
   19863 
   19864 # Command to use when deplibs_check_method == file_magic.
   19865 file_magic_cmd=$lt_file_magic_cmd
   19866 
   19867 # Flag that allows shared libraries with undefined symbols to be built.
   19868 allow_undefined_flag=$lt_allow_undefined_flag_RC
   19869 
   19870 # Flag that forces no undefined symbols.
   19871 no_undefined_flag=$lt_no_undefined_flag_RC
   19872 
   19873 # Commands used to finish a libtool library installation in a directory.
   19874 finish_cmds=$lt_finish_cmds
   19875 
   19876 # Same as above, but a single script fragment to be evaled but not shown.
   19877 finish_eval=$lt_finish_eval
   19878 
   19879 # Take the output of nm and produce a listing of raw symbols and C names.
   19880 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   19881 
   19882 # Transform the output of nm in a proper C declaration
   19883 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   19884 
   19885 # Transform the output of nm in a C name address pair
   19886 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   19887 
   19888 # This is the shared library runtime path variable.
   19889 runpath_var=$runpath_var
   19890 
   19891 # This is the shared library path variable.
   19892 shlibpath_var=$shlibpath_var
   19893 
   19894 # Is shlibpath searched before the hard-coded library search path?
   19895 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   19896 
   19897 # How to hardcode a shared library path into an executable.
   19898 hardcode_action=$hardcode_action_RC
   19899 
   19900 # Whether we should hardcode library paths into libraries.
   19901 hardcode_into_libs=$hardcode_into_libs
   19902 
   19903 # Flag to hardcode \$libdir into a binary during linking.
   19904 # This must work even if \$libdir does not exist.
   19905 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
   19906 
   19907 # If ld is used when linking, flag to hardcode \$libdir into
   19908 # a binary during linking. This must work even if \$libdir does
   19909 # not exist.
   19910 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
   19911 
   19912 # Whether we need a single -rpath flag with a separated argument.
   19913 hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
   19914 
   19915 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
   19916 # resulting binary.
   19917 hardcode_direct=$hardcode_direct_RC
   19918 
   19919 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
   19920 # resulting binary.
   19921 hardcode_minus_L=$hardcode_minus_L_RC
   19922 
   19923 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
   19924 # the resulting binary.
   19925 hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
   19926 
   19927 # Set to yes if building a shared library automatically hardcodes DIR into the library
   19928 # and all subsequent libraries and executables linked against it.
   19929 hardcode_automatic=$hardcode_automatic_RC
   19930 
   19931 # Variables whose values should be saved in libtool wrapper scripts and
   19932 # restored at relink time.
   19933 variables_saved_for_relink="$variables_saved_for_relink"
   19934 
   19935 # Whether libtool must link a program against all its dependency libraries.
   19936 link_all_deplibs=$link_all_deplibs_RC
   19937 
   19938 # Compile-time system search path for libraries
   19939 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   19940 
   19941 # Run-time system search path for libraries
   19942 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   19943 
   19944 # Fix the shell variable \$srcfile for the compiler.
   19945 fix_srcfile_path=$lt_fix_srcfile_path
   19946 
   19947 # Set to yes if exported symbols are required.
   19948 always_export_symbols=$always_export_symbols_RC
   19949 
   19950 # The commands to list exported symbols.
   19951 export_symbols_cmds=$lt_export_symbols_cmds_RC
   19952 
   19953 # The commands to extract the exported symbol list from a shared archive.
   19954 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   19955 
   19956 # Symbols that should not be listed in the preloaded symbols.
   19957 exclude_expsyms=$lt_exclude_expsyms_RC
   19958 
   19959 # Symbols that must always be exported.
   19960 include_expsyms=$lt_include_expsyms_RC
   19961 
   19962 # ### END LIBTOOL TAG CONFIG: $tagname
   19963 
   19964 __EOF__
   19965 
   19966 
   19967 else
   19968   # If there is no Makefile yet, we rely on a make rule to execute
   19969   # `config.status --recheck' to rerun these tests and create the
   19970   # libtool script then.
   19971   ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
   19972   if test -f "$ltmain_in"; then
   19973     test -f Makefile && make "$ltmain"
   19974   fi
   19975 fi
   19976 
   19977 
   19978 ac_ext=c
   19979 ac_cpp='$CPP $CPPFLAGS'
   19980 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   19981 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   19982 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   19983 
   19984 CC="$lt_save_CC"
   19985 
   19986 	;;
   19987 
   19988       *)
   19989 	{ { $as_echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
   19990 $as_echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
   19991    { (exit 1); exit 1; }; }
   19992 	;;
   19993       esac
   19994 
   19995       # Append the new tag name to the list of available tags.
   19996       if test -n "$tagname" ; then
   19997       available_tags="$available_tags $tagname"
   19998     fi
   19999     fi
   20000   done
   20001   IFS="$lt_save_ifs"
   20002 
   20003   # Now substitute the updated list of available tags.
   20004   if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
   20005     mv "${ofile}T" "$ofile"
   20006     chmod +x "$ofile"
   20007   else
   20008     rm -f "${ofile}T"
   20009     { { $as_echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
   20010 $as_echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
   20011    { (exit 1); exit 1; }; }
   20012   fi
   20013 fi
   20014 
   20015 
   20016 
   20017 # This can be used to rebuild libtool when needed
   20018 LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
   20019 
   20020 # Always use our own libtool.
   20021 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
   20022 
   20023 # Prevent multiple expansion
   20024 
   20025 
   20026 
   20027 
   20028 
   20029 
   20030 
   20031 
   20032 
   20033 
   20034 
   20035 
   20036 
   20037 
   20038 
   20039 
   20040 
   20041 
   20042 
   20043 
   20044 
   20045    { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C99" >&5
   20046 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
   20047 if test "${ac_cv_prog_cc_c99+set}" = set; then
   20048   $as_echo_n "(cached) " >&6
   20049 else
   20050   ac_cv_prog_cc_c99=no
   20051 ac_save_CC=$CC
   20052 cat >conftest.$ac_ext <<_ACEOF
   20053 /* confdefs.h.  */
   20054 _ACEOF
   20055 cat confdefs.h >>conftest.$ac_ext
   20056 cat >>conftest.$ac_ext <<_ACEOF
   20057 /* end confdefs.h.  */
   20058 #include <stdarg.h>
   20059 #include <stdbool.h>
   20060 #include <stdlib.h>
   20061 #include <wchar.h>
   20062 #include <stdio.h>
   20063 
   20064 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
   20065 #define debug(...) fprintf (stderr, __VA_ARGS__)
   20066 #define showlist(...) puts (#__VA_ARGS__)
   20067 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
   20068 static void
   20069 test_varargs_macros (void)
   20070 {
   20071   int x = 1234;
   20072   int y = 5678;
   20073   debug ("Flag");
   20074   debug ("X = %d\n", x);
   20075   showlist (The first, second, and third items.);
   20076   report (x>y, "x is %d but y is %d", x, y);
   20077 }
   20078 
   20079 // Check long long types.
   20080 #define BIG64 18446744073709551615ull
   20081 #define BIG32 4294967295ul
   20082 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
   20083 #if !BIG_OK
   20084   your preprocessor is broken;
   20085 #endif
   20086 #if BIG_OK
   20087 #else
   20088   your preprocessor is broken;
   20089 #endif
   20090 static long long int bignum = -9223372036854775807LL;
   20091 static unsigned long long int ubignum = BIG64;
   20092 
   20093 struct incomplete_array
   20094 {
   20095   int datasize;
   20096   double data[];
   20097 };
   20098 
   20099 struct named_init {
   20100   int number;
   20101   const wchar_t *name;
   20102   double average;
   20103 };
   20104 
   20105 typedef const char *ccp;
   20106 
   20107 static inline int
   20108 test_restrict (ccp restrict text)
   20109 {
   20110   // See if C++-style comments work.
   20111   // Iterate through items via the restricted pointer.
   20112   // Also check for declarations in for loops.
   20113   for (unsigned int i = 0; *(text+i) != '\0'; ++i)
   20114     continue;
   20115   return 0;
   20116 }
   20117 
   20118 // Check varargs and va_copy.
   20119 static void
   20120 test_varargs (const char *format, ...)
   20121 {
   20122   va_list args;
   20123   va_start (args, format);
   20124   va_list args_copy;
   20125   va_copy (args_copy, args);
   20126 
   20127   const char *str;
   20128   int number;
   20129   float fnumber;
   20130 
   20131   while (*format)
   20132     {
   20133       switch (*format++)
   20134 	{
   20135 	case 's': // string
   20136 	  str = va_arg (args_copy, const char *);
   20137 	  break;
   20138 	case 'd': // int
   20139 	  number = va_arg (args_copy, int);
   20140 	  break;
   20141 	case 'f': // float
   20142 	  fnumber = va_arg (args_copy, double);
   20143 	  break;
   20144 	default:
   20145 	  break;
   20146 	}
   20147     }
   20148   va_end (args_copy);
   20149   va_end (args);
   20150 }
   20151 
   20152 int
   20153 main ()
   20154 {
   20155 
   20156   // Check bool.
   20157   _Bool success = false;
   20158 
   20159   // Check restrict.
   20160   if (test_restrict ("String literal") == 0)
   20161     success = true;
   20162   char *restrict newvar = "Another string";
   20163 
   20164   // Check varargs.
   20165   test_varargs ("s, d' f .", "string", 65, 34.234);
   20166   test_varargs_macros ();
   20167 
   20168   // Check flexible array members.
   20169   struct incomplete_array *ia =
   20170     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
   20171   ia->datasize = 10;
   20172   for (int i = 0; i < ia->datasize; ++i)
   20173     ia->data[i] = i * 1.234;
   20174 
   20175   // Check named initializers.
   20176   struct named_init ni = {
   20177     .number = 34,
   20178     .name = L"Test wide string",
   20179     .average = 543.34343,
   20180   };
   20181 
   20182   ni.number = 58;
   20183 
   20184   int dynamic_array[ni.number];
   20185   dynamic_array[ni.number - 1] = 543;
   20186 
   20187   // work around unused variable warnings
   20188   return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
   20189 	  || dynamic_array[ni.number - 1] != 543);
   20190 
   20191   ;
   20192   return 0;
   20193 }
   20194 _ACEOF
   20195 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99
   20196 do
   20197   CC="$ac_save_CC $ac_arg"
   20198   rm -f conftest.$ac_objext
   20199 if { (ac_try="$ac_compile"
   20200 case "(($ac_try" in
   20201   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20202   *) ac_try_echo=$ac_try;;
   20203 esac
   20204 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   20205 $as_echo "$ac_try_echo") >&5
   20206   (eval "$ac_compile") 2>conftest.er1
   20207   ac_status=$?
   20208   grep -v '^ *+' conftest.er1 >conftest.err
   20209   rm -f conftest.er1
   20210   cat conftest.err >&5
   20211   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20212   (exit $ac_status); } && {
   20213 	 test -z "$ac_c_werror_flag" ||
   20214 	 test ! -s conftest.err
   20215        } && test -s conftest.$ac_objext; then
   20216   ac_cv_prog_cc_c99=$ac_arg
   20217 else
   20218   $as_echo "$as_me: failed program was:" >&5
   20219 sed 's/^/| /' conftest.$ac_ext >&5
   20220 
   20221 
   20222 fi
   20223 
   20224 rm -f core conftest.err conftest.$ac_objext
   20225   test "x$ac_cv_prog_cc_c99" != "xno" && break
   20226 done
   20227 rm -f conftest.$ac_ext
   20228 CC=$ac_save_CC
   20229 
   20230 fi
   20231 # AC_CACHE_VAL
   20232 case "x$ac_cv_prog_cc_c99" in
   20233   x)
   20234     { $as_echo "$as_me:$LINENO: result: none needed" >&5
   20235 $as_echo "none needed" >&6; } ;;
   20236   xno)
   20237     { $as_echo "$as_me:$LINENO: result: unsupported" >&5
   20238 $as_echo "unsupported" >&6; } ;;
   20239   *)
   20240     CC="$CC $ac_cv_prog_cc_c99"
   20241     { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c99" >&5
   20242 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
   20243 esac
   20244 
   20245 
   20246 
   20247 
   20248 
   20249 
   20250 if  test "x$GCC" = xyes ; then
   20251     CWARNFLAGS="-Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes \
   20252 -Wmissing-declarations -Wnested-externs -fno-strict-aliasing \
   20253 -Wbad-function-cast"
   20254     case `$CC -dumpversion` in
   20255     3.4.* | 4.*)
   20256 	CWARNFLAGS="$CWARNFLAGS -Wold-style-definition -Wdeclaration-after-statement"
   20257 	;;
   20258     esac
   20259 else
   20260     { $as_echo "$as_me:$LINENO: checking whether __SUNPRO_C is declared" >&5
   20261 $as_echo_n "checking whether __SUNPRO_C is declared... " >&6; }
   20262 if test "${ac_cv_have_decl___SUNPRO_C+set}" = set; then
   20263   $as_echo_n "(cached) " >&6
   20264 else
   20265   cat >conftest.$ac_ext <<_ACEOF
   20266 /* confdefs.h.  */
   20267 _ACEOF
   20268 cat confdefs.h >>conftest.$ac_ext
   20269 cat >>conftest.$ac_ext <<_ACEOF
   20270 /* end confdefs.h.  */
   20271 $ac_includes_default
   20272 int
   20273 main ()
   20274 {
   20275 #ifndef __SUNPRO_C
   20276   (void) __SUNPRO_C;
   20277 #endif
   20278 
   20279   ;
   20280   return 0;
   20281 }
   20282 _ACEOF
   20283 rm -f conftest.$ac_objext
   20284 if { (ac_try="$ac_compile"
   20285 case "(($ac_try" in
   20286   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20287   *) ac_try_echo=$ac_try;;
   20288 esac
   20289 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   20290 $as_echo "$ac_try_echo") >&5
   20291   (eval "$ac_compile") 2>conftest.er1
   20292   ac_status=$?
   20293   grep -v '^ *+' conftest.er1 >conftest.err
   20294   rm -f conftest.er1
   20295   cat conftest.err >&5
   20296   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20297   (exit $ac_status); } && {
   20298 	 test -z "$ac_c_werror_flag" ||
   20299 	 test ! -s conftest.err
   20300        } && test -s conftest.$ac_objext; then
   20301   ac_cv_have_decl___SUNPRO_C=yes
   20302 else
   20303   $as_echo "$as_me: failed program was:" >&5
   20304 sed 's/^/| /' conftest.$ac_ext >&5
   20305 
   20306 	ac_cv_have_decl___SUNPRO_C=no
   20307 fi
   20308 
   20309 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   20310 fi
   20311 { $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl___SUNPRO_C" >&5
   20312 $as_echo "$ac_cv_have_decl___SUNPRO_C" >&6; }
   20313 if test "x$ac_cv_have_decl___SUNPRO_C" = x""yes; then
   20314   SUNCC="yes"
   20315 else
   20316   SUNCC="no"
   20317 fi
   20318 
   20319     if test "x$SUNCC" = "xyes"; then
   20320 	CWARNFLAGS="-v"
   20321     fi
   20322 fi
   20323 
   20324 # Check whether --enable-silent-rules was given.
   20325 if test "${enable_silent_rules+set}" = set; then
   20326   enableval=$enable_silent_rules;
   20327 fi
   20328 
   20329 case $enable_silent_rules in
   20330 yes) AM_DEFAULT_VERBOSITY=0;;
   20331 no)  AM_DEFAULT_VERBOSITY=1;;
   20332 *)   AM_DEFAULT_VERBOSITY=0;;
   20333 esac
   20334 AM_BACKSLASH='\'
   20335 
   20336 
   20337 
   20338 
   20339 
   20340 
   20341 
   20342 # Check whether --enable-strict-compilation was given.
   20343 if test "${enable_strict_compilation+set}" = set; then
   20344   enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
   20345 else
   20346   STRICT_COMPILE=no
   20347 fi
   20348 
   20349 if test "x$STRICT_COMPILE" = "xyes"; then
   20350 	{ $as_echo "$as_me:$LINENO: checking whether __SUNPRO_C is declared" >&5
   20351 $as_echo_n "checking whether __SUNPRO_C is declared... " >&6; }
   20352 if test "${ac_cv_have_decl___SUNPRO_C+set}" = set; then
   20353   $as_echo_n "(cached) " >&6
   20354 else
   20355   cat >conftest.$ac_ext <<_ACEOF
   20356 /* confdefs.h.  */
   20357 _ACEOF
   20358 cat confdefs.h >>conftest.$ac_ext
   20359 cat >>conftest.$ac_ext <<_ACEOF
   20360 /* end confdefs.h.  */
   20361 $ac_includes_default
   20362 int
   20363 main ()
   20364 {
   20365 #ifndef __SUNPRO_C
   20366   (void) __SUNPRO_C;
   20367 #endif
   20368 
   20369   ;
   20370   return 0;
   20371 }
   20372 _ACEOF
   20373 rm -f conftest.$ac_objext
   20374 if { (ac_try="$ac_compile"
   20375 case "(($ac_try" in
   20376   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20377   *) ac_try_echo=$ac_try;;
   20378 esac
   20379 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   20380 $as_echo "$ac_try_echo") >&5
   20381   (eval "$ac_compile") 2>conftest.er1
   20382   ac_status=$?
   20383   grep -v '^ *+' conftest.er1 >conftest.err
   20384   rm -f conftest.er1
   20385   cat conftest.err >&5
   20386   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20387   (exit $ac_status); } && {
   20388 	 test -z "$ac_c_werror_flag" ||
   20389 	 test ! -s conftest.err
   20390        } && test -s conftest.$ac_objext; then
   20391   ac_cv_have_decl___SUNPRO_C=yes
   20392 else
   20393   $as_echo "$as_me: failed program was:" >&5
   20394 sed 's/^/| /' conftest.$ac_ext >&5
   20395 
   20396 	ac_cv_have_decl___SUNPRO_C=no
   20397 fi
   20398 
   20399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   20400 fi
   20401 { $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl___SUNPRO_C" >&5
   20402 $as_echo "$ac_cv_have_decl___SUNPRO_C" >&6; }
   20403 if test "x$ac_cv_have_decl___SUNPRO_C" = x""yes; then
   20404   SUNCC="yes"
   20405 else
   20406   SUNCC="no"
   20407 fi
   20408 
   20409 	{ $as_echo "$as_me:$LINENO: checking whether __INTEL_COMPILER is declared" >&5
   20410 $as_echo_n "checking whether __INTEL_COMPILER is declared... " >&6; }
   20411 if test "${ac_cv_have_decl___INTEL_COMPILER+set}" = set; then
   20412   $as_echo_n "(cached) " >&6
   20413 else
   20414   cat >conftest.$ac_ext <<_ACEOF
   20415 /* confdefs.h.  */
   20416 _ACEOF
   20417 cat confdefs.h >>conftest.$ac_ext
   20418 cat >>conftest.$ac_ext <<_ACEOF
   20419 /* end confdefs.h.  */
   20420 $ac_includes_default
   20421 int
   20422 main ()
   20423 {
   20424 #ifndef __INTEL_COMPILER
   20425   (void) __INTEL_COMPILER;
   20426 #endif
   20427 
   20428   ;
   20429   return 0;
   20430 }
   20431 _ACEOF
   20432 rm -f conftest.$ac_objext
   20433 if { (ac_try="$ac_compile"
   20434 case "(($ac_try" in
   20435   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20436   *) ac_try_echo=$ac_try;;
   20437 esac
   20438 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   20439 $as_echo "$ac_try_echo") >&5
   20440   (eval "$ac_compile") 2>conftest.er1
   20441   ac_status=$?
   20442   grep -v '^ *+' conftest.er1 >conftest.err
   20443   rm -f conftest.er1
   20444   cat conftest.err >&5
   20445   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20446   (exit $ac_status); } && {
   20447 	 test -z "$ac_c_werror_flag" ||
   20448 	 test ! -s conftest.err
   20449        } && test -s conftest.$ac_objext; then
   20450   ac_cv_have_decl___INTEL_COMPILER=yes
   20451 else
   20452   $as_echo "$as_me: failed program was:" >&5
   20453 sed 's/^/| /' conftest.$ac_ext >&5
   20454 
   20455 	ac_cv_have_decl___INTEL_COMPILER=no
   20456 fi
   20457 
   20458 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   20459 fi
   20460 { $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl___INTEL_COMPILER" >&5
   20461 $as_echo "$ac_cv_have_decl___INTEL_COMPILER" >&6; }
   20462 if test "x$ac_cv_have_decl___INTEL_COMPILER" = x""yes; then
   20463   INTELCC="yes"
   20464 else
   20465   INTELCC="no"
   20466 fi
   20467 
   20468 	if test "x$GCC" = xyes ; then
   20469 		STRICT_CFLAGS="-pedantic -Werror"
   20470 	elif test "x$SUNCC" = "xyes"; then
   20471 		STRICT_CFLAGS="-errwarn"
   20472     elif test "x$INTELCC" = "xyes"; then
   20473 		STRICT_CFLAGS="-Werror"
   20474 	fi
   20475 fi
   20476 CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
   20477 
   20478 
   20479 
   20480 
   20481 # Check whether --with-release-version was given.
   20482 if test "${with_release_version+set}" = set; then
   20483   withval=$with_release_version; RELEASE_VERSION="$withval"
   20484 else
   20485   RELEASE_VERSION=""
   20486 fi
   20487 
   20488 	if test "x$RELEASE_VERSION" != "x"; then
   20489 		PACKAGE="$PACKAGE-$RELEASE_VERSION"
   20490 		PACKAGE_TARNAME="$PACKAGE_TARNAME-$RELEASE_VERSION"
   20491 		{ $as_echo "$as_me:$LINENO: Building with package name set to $PACKAGE" >&5
   20492 $as_echo "$as_me: Building with package name set to $PACKAGE" >&6;}
   20493 	fi
   20494 
   20495 cat >>confdefs.h <<_ACEOF
   20496 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   20497 _ACEOF
   20498 
   20499 	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
   20500 	if test "x$PVM" = "x"; then
   20501 		PVM="0"
   20502 	fi
   20503 
   20504 cat >>confdefs.h <<_ACEOF
   20505 #define PACKAGE_VERSION_MINOR $PVM
   20506 _ACEOF
   20507 
   20508 	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
   20509 	if test "x$PVP" = "x"; then
   20510 		PVP="0"
   20511 	fi
   20512 
   20513 cat >>confdefs.h <<_ACEOF
   20514 #define PACKAGE_VERSION_PATCHLEVEL $PVP
   20515 _ACEOF
   20516 
   20517 
   20518 
   20519 CHANGELOG_CMD="(GIT_DIR=\$(top_srcdir)/.git git log > .changelog.tmp && \
   20520 mv .changelog.tmp ChangeLog) || (rm -f .changelog.tmp; touch ChangeLog; \
   20521 echo 'git directory not found: installing possibly empty changelog.' >&2)"
   20522 
   20523 distcleancheck_listfiles='find . -type f ! -name ChangeLog -print'
   20524 
   20525 
   20526 
   20527 
   20528 
   20529 if test x$APP_MAN_SUFFIX = x    ; then
   20530     APP_MAN_SUFFIX=1
   20531 fi
   20532 if test x$APP_MAN_DIR = x    ; then
   20533     APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
   20534 fi
   20535 
   20536 if test x$LIB_MAN_SUFFIX = x    ; then
   20537     LIB_MAN_SUFFIX=3
   20538 fi
   20539 if test x$LIB_MAN_DIR = x    ; then
   20540     LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
   20541 fi
   20542 
   20543 if test x$FILE_MAN_SUFFIX = x    ; then
   20544     case $host_os in
   20545 	solaris*)	FILE_MAN_SUFFIX=4  ;;
   20546 	*)		FILE_MAN_SUFFIX=5  ;;
   20547     esac
   20548 fi
   20549 if test x$FILE_MAN_DIR = x    ; then
   20550     FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
   20551 fi
   20552 
   20553 if test x$MISC_MAN_SUFFIX = x    ; then
   20554     case $host_os in
   20555 	solaris*)	MISC_MAN_SUFFIX=5  ;;
   20556 	*)		MISC_MAN_SUFFIX=7  ;;
   20557     esac
   20558 fi
   20559 if test x$MISC_MAN_DIR = x    ; then
   20560     MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
   20561 fi
   20562 
   20563 if test x$DRIVER_MAN_SUFFIX = x    ; then
   20564     case $host_os in
   20565 	solaris*)	DRIVER_MAN_SUFFIX=7  ;;
   20566 	*)		DRIVER_MAN_SUFFIX=4  ;;
   20567     esac
   20568 fi
   20569 if test x$DRIVER_MAN_DIR = x    ; then
   20570     DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
   20571 fi
   20572 
   20573 if test x$ADMIN_MAN_SUFFIX = x    ; then
   20574     case $host_os in
   20575 	solaris*)	ADMIN_MAN_SUFFIX=1m ;;
   20576 	*)		ADMIN_MAN_SUFFIX=8  ;;
   20577     esac
   20578 fi
   20579 if test x$ADMIN_MAN_DIR = x    ; then
   20580     ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
   20581 fi
   20582 
   20583 
   20584 
   20585 
   20586 
   20587 
   20588 
   20589 
   20590 
   20591 
   20592 
   20593 
   20594 
   20595 
   20596 
   20597 
   20598 
   20599 # Checks for pkg-config packages
   20600 
   20601 
   20602 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   20603 	if test -n "$ac_tool_prefix"; then
   20604   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   20605 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   20606 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   20607 $as_echo_n "checking for $ac_word... " >&6; }
   20608 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
   20609   $as_echo_n "(cached) " >&6
   20610 else
   20611   case $PKG_CONFIG in
   20612   [\\/]* | ?:[\\/]*)
   20613   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   20614   ;;
   20615   *)
   20616   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   20617 for as_dir in $PATH
   20618 do
   20619   IFS=$as_save_IFS
   20620   test -z "$as_dir" && as_dir=.
   20621   for ac_exec_ext in '' $ac_executable_extensions; do
   20622   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   20623     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   20624     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   20625     break 2
   20626   fi
   20627 done
   20628 done
   20629 IFS=$as_save_IFS
   20630 
   20631   ;;
   20632 esac
   20633 fi
   20634 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   20635 if test -n "$PKG_CONFIG"; then
   20636   { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
   20637 $as_echo "$PKG_CONFIG" >&6; }
   20638 else
   20639   { $as_echo "$as_me:$LINENO: result: no" >&5
   20640 $as_echo "no" >&6; }
   20641 fi
   20642 
   20643 
   20644 fi
   20645 if test -z "$ac_cv_path_PKG_CONFIG"; then
   20646   ac_pt_PKG_CONFIG=$PKG_CONFIG
   20647   # Extract the first word of "pkg-config", so it can be a program name with args.
   20648 set dummy pkg-config; ac_word=$2
   20649 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   20650 $as_echo_n "checking for $ac_word... " >&6; }
   20651 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
   20652   $as_echo_n "(cached) " >&6
   20653 else
   20654   case $ac_pt_PKG_CONFIG in
   20655   [\\/]* | ?:[\\/]*)
   20656   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   20657   ;;
   20658   *)
   20659   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   20660 for as_dir in $PATH
   20661 do
   20662   IFS=$as_save_IFS
   20663   test -z "$as_dir" && as_dir=.
   20664   for ac_exec_ext in '' $ac_executable_extensions; do
   20665   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   20666     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   20667     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   20668     break 2
   20669   fi
   20670 done
   20671 done
   20672 IFS=$as_save_IFS
   20673 
   20674   ;;
   20675 esac
   20676 fi
   20677 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   20678 if test -n "$ac_pt_PKG_CONFIG"; then
   20679   { $as_echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
   20680 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
   20681 else
   20682   { $as_echo "$as_me:$LINENO: result: no" >&5
   20683 $as_echo "no" >&6; }
   20684 fi
   20685 
   20686   if test "x$ac_pt_PKG_CONFIG" = x; then
   20687     PKG_CONFIG=""
   20688   else
   20689     case $cross_compiling:$ac_tool_warned in
   20690 yes:)
   20691 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   20692 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   20693 ac_tool_warned=yes ;;
   20694 esac
   20695     PKG_CONFIG=$ac_pt_PKG_CONFIG
   20696   fi
   20697 else
   20698   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   20699 fi
   20700 
   20701 fi
   20702 if test -n "$PKG_CONFIG"; then
   20703 	_pkg_min_version=0.9.0
   20704 	{ $as_echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
   20705 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   20706 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   20707 		{ $as_echo "$as_me:$LINENO: result: yes" >&5
   20708 $as_echo "yes" >&6; }
   20709 	else
   20710 		{ $as_echo "$as_me:$LINENO: result: no" >&5
   20711 $as_echo "no" >&6; }
   20712 		PKG_CONFIG=""
   20713 	fi
   20714 
   20715 fi
   20716 
   20717 pkg_failed=no
   20718 { $as_echo "$as_me:$LINENO: checking for XXF86MISC" >&5
   20719 $as_echo_n "checking for XXF86MISC... " >&6; }
   20720 
   20721 if test -n "$XXF86MISC_CFLAGS"; then
   20722     pkg_cv_XXF86MISC_CFLAGS="$XXF86MISC_CFLAGS"
   20723  elif test -n "$PKG_CONFIG"; then
   20724     if test -n "$PKG_CONFIG" && \
   20725     { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xproto x11 xextproto xext xf86miscproto\"") >&5
   20726   ($PKG_CONFIG --exists --print-errors "xproto x11 xextproto xext xf86miscproto") 2>&5
   20727   ac_status=$?
   20728   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20729   (exit $ac_status); }; then
   20730   pkg_cv_XXF86MISC_CFLAGS=`$PKG_CONFIG --cflags "xproto x11 xextproto xext xf86miscproto" 2>/dev/null`
   20731 else
   20732   pkg_failed=yes
   20733 fi
   20734  else
   20735     pkg_failed=untried
   20736 fi
   20737 if test -n "$XXF86MISC_LIBS"; then
   20738     pkg_cv_XXF86MISC_LIBS="$XXF86MISC_LIBS"
   20739  elif test -n "$PKG_CONFIG"; then
   20740     if test -n "$PKG_CONFIG" && \
   20741     { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xproto x11 xextproto xext xf86miscproto\"") >&5
   20742   ($PKG_CONFIG --exists --print-errors "xproto x11 xextproto xext xf86miscproto") 2>&5
   20743   ac_status=$?
   20744   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20745   (exit $ac_status); }; then
   20746   pkg_cv_XXF86MISC_LIBS=`$PKG_CONFIG --libs "xproto x11 xextproto xext xf86miscproto" 2>/dev/null`
   20747 else
   20748   pkg_failed=yes
   20749 fi
   20750  else
   20751     pkg_failed=untried
   20752 fi
   20753 
   20754 
   20755 
   20756 if test $pkg_failed = yes; then
   20757 
   20758 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   20759         _pkg_short_errors_supported=yes
   20760 else
   20761         _pkg_short_errors_supported=no
   20762 fi
   20763         if test $_pkg_short_errors_supported = yes; then
   20764 	        XXF86MISC_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "xproto x11 xextproto xext xf86miscproto" 2>&1`
   20765         else
   20766 	        XXF86MISC_PKG_ERRORS=`$PKG_CONFIG --print-errors "xproto x11 xextproto xext xf86miscproto" 2>&1`
   20767         fi
   20768 	# Put the nasty error message in config.log where it belongs
   20769 	echo "$XXF86MISC_PKG_ERRORS" >&5
   20770 
   20771 	{ { $as_echo "$as_me:$LINENO: error: Package requirements (xproto x11 xextproto xext xf86miscproto) were not met:
   20772 
   20773 $XXF86MISC_PKG_ERRORS
   20774 
   20775 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   20776 installed software in a non-standard prefix.
   20777 
   20778 Alternatively, you may set the environment variables XXF86MISC_CFLAGS
   20779 and XXF86MISC_LIBS to avoid the need to call pkg-config.
   20780 See the pkg-config man page for more details.
   20781 " >&5
   20782 $as_echo "$as_me: error: Package requirements (xproto x11 xextproto xext xf86miscproto) were not met:
   20783 
   20784 $XXF86MISC_PKG_ERRORS
   20785 
   20786 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   20787 installed software in a non-standard prefix.
   20788 
   20789 Alternatively, you may set the environment variables XXF86MISC_CFLAGS
   20790 and XXF86MISC_LIBS to avoid the need to call pkg-config.
   20791 See the pkg-config man page for more details.
   20792 " >&2;}
   20793    { (exit 1); exit 1; }; }
   20794 elif test $pkg_failed = untried; then
   20795 	{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   20796 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   20797 { { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
   20798 is in your PATH or set the PKG_CONFIG environment variable to the full
   20799 path to pkg-config.
   20800 
   20801 Alternatively, you may set the environment variables XXF86MISC_CFLAGS
   20802 and XXF86MISC_LIBS to avoid the need to call pkg-config.
   20803 See the pkg-config man page for more details.
   20804 
   20805 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   20806 See \`config.log' for more details." >&5
   20807 $as_echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
   20808 is in your PATH or set the PKG_CONFIG environment variable to the full
   20809 path to pkg-config.
   20810 
   20811 Alternatively, you may set the environment variables XXF86MISC_CFLAGS
   20812 and XXF86MISC_LIBS to avoid the need to call pkg-config.
   20813 See the pkg-config man page for more details.
   20814 
   20815 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   20816 See \`config.log' for more details." >&2;}
   20817    { (exit 1); exit 1; }; }; }
   20818 else
   20819 	XXF86MISC_CFLAGS=$pkg_cv_XXF86MISC_CFLAGS
   20820 	XXF86MISC_LIBS=$pkg_cv_XXF86MISC_LIBS
   20821         { $as_echo "$as_me:$LINENO: result: yes" >&5
   20822 $as_echo "yes" >&6; }
   20823 	:
   20824 fi
   20825 
   20826 
   20827 # Check whether --enable-malloc0returnsnull was given.
   20828 if test "${enable_malloc0returnsnull+set}" = set; then
   20829   enableval=$enable_malloc0returnsnull; MALLOC_ZERO_RETURNS_NULL=$enableval
   20830 else
   20831   MALLOC_ZERO_RETURNS_NULL=auto
   20832 fi
   20833 
   20834 
   20835 { $as_echo "$as_me:$LINENO: checking whether malloc(0) returns NULL" >&5
   20836 $as_echo_n "checking whether malloc(0) returns NULL... " >&6; }
   20837 if test "x$MALLOC_ZERO_RETURNS_NULL" = xauto; then
   20838 	if test "$cross_compiling" = yes; then
   20839   { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   20840 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   20841 { { $as_echo "$as_me:$LINENO: error: cannot run test program while cross compiling
   20842 See \`config.log' for more details." >&5
   20843 $as_echo "$as_me: error: cannot run test program while cross compiling
   20844 See \`config.log' for more details." >&2;}
   20845    { (exit 1); exit 1; }; }; }
   20846 else
   20847   cat >conftest.$ac_ext <<_ACEOF
   20848 
   20849 char *malloc();
   20850 char *realloc();
   20851 char *calloc();
   20852 main() {
   20853     char *m0, *r0, *c0, *p;
   20854     m0 = malloc(0);
   20855     p = malloc(10);
   20856     r0 = realloc(p,0);
   20857     c0 = calloc(0);
   20858     exit(m0 == 0 || r0 == 0 || c0 == 0 ? 0 : 1);
   20859 }
   20860 _ACEOF
   20861 rm -f conftest$ac_exeext
   20862 if { (ac_try="$ac_link"
   20863 case "(($ac_try" in
   20864   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20865   *) ac_try_echo=$ac_try;;
   20866 esac
   20867 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   20868 $as_echo "$ac_try_echo") >&5
   20869   (eval "$ac_link") 2>&5
   20870   ac_status=$?
   20871   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20872   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
   20873   { (case "(($ac_try" in
   20874   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20875   *) ac_try_echo=$ac_try;;
   20876 esac
   20877 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   20878 $as_echo "$ac_try_echo") >&5
   20879   (eval "$ac_try") 2>&5
   20880   ac_status=$?
   20881   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20882   (exit $ac_status); }; }; then
   20883   MALLOC_ZERO_RETURNS_NULL=yes
   20884 else
   20885   $as_echo "$as_me: program exited with status $ac_status" >&5
   20886 $as_echo "$as_me: failed program was:" >&5
   20887 sed 's/^/| /' conftest.$ac_ext >&5
   20888 
   20889 ( exit $ac_status )
   20890 MALLOC_ZERO_RETURNS_NULL=no
   20891 fi
   20892 rm -rf conftest.dSYM
   20893 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
   20894 fi
   20895 
   20896 
   20897 fi
   20898 { $as_echo "$as_me:$LINENO: result: $MALLOC_ZERO_RETURNS_NULL" >&5
   20899 $as_echo "$MALLOC_ZERO_RETURNS_NULL" >&6; }
   20900 
   20901 if test "x$MALLOC_ZERO_RETURNS_NULL" = xyes; then
   20902 	MALLOC_ZERO_CFLAGS="-DMALLOC_0_RETURNS_NULL"
   20903 	XMALLOC_ZERO_CFLAGS=$MALLOC_ZERO_CFLAGS
   20904 	XTMALLOC_ZERO_CFLAGS="$MALLOC_ZERO_CFLAGS -DXTMALLOC_BC"
   20905 else
   20906 	MALLOC_ZERO_CFLAGS=""
   20907 	XMALLOC_ZERO_CFLAGS=""
   20908 	XTMALLOC_ZERO_CFLAGS=""
   20909 fi
   20910 
   20911 
   20912 
   20913 
   20914 
   20915 
   20916 ac_config_files="$ac_config_files Makefile src/Makefile man/Makefile xxf86misc.pc"
   20917 
   20918 cat >confcache <<\_ACEOF
   20919 # This file is a shell script that caches the results of configure
   20920 # tests run on this system so they can be shared between configure
   20921 # scripts and configure runs, see configure's option --config-cache.
   20922 # It is not useful on other systems.  If it contains results you don't
   20923 # want to keep, you may remove or edit it.
   20924 #
   20925 # config.status only pays attention to the cache file if you give it
   20926 # the --recheck option to rerun configure.
   20927 #
   20928 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   20929 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   20930 # following values.
   20931 
   20932 _ACEOF
   20933 
   20934 # The following way of writing the cache mishandles newlines in values,
   20935 # but we know of no workaround that is simple, portable, and efficient.
   20936 # So, we kill variables containing newlines.
   20937 # Ultrix sh set writes to stderr and can't be redirected directly,
   20938 # and sets the high bit in the cache file unless we assign to the vars.
   20939 (
   20940   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   20941     eval ac_val=\$$ac_var
   20942     case $ac_val in #(
   20943     *${as_nl}*)
   20944       case $ac_var in #(
   20945       *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
   20946 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   20947       esac
   20948       case $ac_var in #(
   20949       _ | IFS | as_nl) ;; #(
   20950       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   20951       *) $as_unset $ac_var ;;
   20952       esac ;;
   20953     esac
   20954   done
   20955 
   20956   (set) 2>&1 |
   20957     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   20958     *${as_nl}ac_space=\ *)
   20959       # `set' does not quote correctly, so add quotes (double-quote
   20960       # substitution turns \\\\ into \\, and sed turns \\ into \).
   20961       sed -n \
   20962 	"s/'/'\\\\''/g;
   20963 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   20964       ;; #(
   20965     *)
   20966       # `set' quotes correctly as required by POSIX, so do not add quotes.
   20967       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   20968       ;;
   20969     esac |
   20970     sort
   20971 ) |
   20972   sed '
   20973      /^ac_cv_env_/b end
   20974      t clear
   20975      :clear
   20976      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
   20977      t end
   20978      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   20979      :end' >>confcache
   20980 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   20981   if test -w "$cache_file"; then
   20982     test "x$cache_file" != "x/dev/null" &&
   20983       { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
   20984 $as_echo "$as_me: updating cache $cache_file" >&6;}
   20985     cat confcache >$cache_file
   20986   else
   20987     { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
   20988 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
   20989   fi
   20990 fi
   20991 rm -f confcache
   20992 
   20993 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   20994 # Let make expand exec_prefix.
   20995 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   20996 
   20997 DEFS=-DHAVE_CONFIG_H
   20998 
   20999 ac_libobjs=
   21000 ac_ltlibobjs=
   21001 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   21002   # 1. Remove the extension, and $U if already installed.
   21003   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   21004   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
   21005   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   21006   #    will be set to the directory where LIBOBJS objects are built.
   21007   ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   21008   ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
   21009 done
   21010 LIBOBJS=$ac_libobjs
   21011 
   21012 LTLIBOBJS=$ac_ltlibobjs
   21013 
   21014 
   21015  if test -n "$EXEEXT"; then
   21016   am__EXEEXT_TRUE=
   21017   am__EXEEXT_FALSE='#'
   21018 else
   21019   am__EXEEXT_TRUE='#'
   21020   am__EXEEXT_FALSE=
   21021 fi
   21022 
   21023 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
   21024   { { $as_echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
   21025 Usually this means the macro was only invoked conditionally." >&5
   21026 $as_echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
   21027 Usually this means the macro was only invoked conditionally." >&2;}
   21028    { (exit 1); exit 1; }; }
   21029 fi
   21030 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   21031   { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
   21032 Usually this means the macro was only invoked conditionally." >&5
   21033 $as_echo "$as_me: error: conditional \"AMDEP\" was never defined.
   21034 Usually this means the macro was only invoked conditionally." >&2;}
   21035    { (exit 1); exit 1; }; }
   21036 fi
   21037 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   21038   { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
   21039 Usually this means the macro was only invoked conditionally." >&5
   21040 $as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
   21041 Usually this means the macro was only invoked conditionally." >&2;}
   21042    { (exit 1); exit 1; }; }
   21043 fi
   21044 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
   21045   { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
   21046 Usually this means the macro was only invoked conditionally." >&5
   21047 $as_echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
   21048 Usually this means the macro was only invoked conditionally." >&2;}
   21049    { (exit 1); exit 1; }; }
   21050 fi
   21051 
   21052 : ${CONFIG_STATUS=./config.status}
   21053 ac_write_fail=0
   21054 ac_clean_files_save=$ac_clean_files
   21055 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   21056 { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
   21057 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
   21058 cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   21059 #! $SHELL
   21060 # Generated by $as_me.
   21061 # Run this file to recreate the current configuration.
   21062 # Compiler output produced by configure, useful for debugging
   21063 # configure, is in config.log if it exists.
   21064 
   21065 debug=false
   21066 ac_cs_recheck=false
   21067 ac_cs_silent=false
   21068 SHELL=\${CONFIG_SHELL-$SHELL}
   21069 _ACEOF
   21070 
   21071 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   21072 ## --------------------- ##
   21073 ## M4sh Initialization.  ##
   21074 ## --------------------- ##
   21075 
   21076 # Be more Bourne compatible
   21077 DUALCASE=1; export DUALCASE # for MKS sh
   21078 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
   21079   emulate sh
   21080   NULLCMD=:
   21081   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   21082   # is contrary to our usage.  Disable this feature.
   21083   alias -g '${1+"$@"}'='"$@"'
   21084   setopt NO_GLOB_SUBST
   21085 else
   21086   case `(set -o) 2>/dev/null` in
   21087   *posix*) set -o posix ;;
   21088 esac
   21089 
   21090 fi
   21091 
   21092 
   21093 
   21094 
   21095 # PATH needs CR
   21096 # Avoid depending upon Character Ranges.
   21097 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   21098 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   21099 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   21100 as_cr_digits='0123456789'
   21101 as_cr_alnum=$as_cr_Letters$as_cr_digits
   21102 
   21103 as_nl='
   21104 '
   21105 export as_nl
   21106 # Printing a long string crashes Solaris 7 /usr/bin/printf.
   21107 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   21108 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
   21109 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
   21110 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
   21111   as_echo='printf %s\n'
   21112   as_echo_n='printf %s'
   21113 else
   21114   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
   21115     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
   21116     as_echo_n='/usr/ucb/echo -n'
   21117   else
   21118     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
   21119     as_echo_n_body='eval
   21120       arg=$1;
   21121       case $arg in
   21122       *"$as_nl"*)
   21123 	expr "X$arg" : "X\\(.*\\)$as_nl";
   21124 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
   21125       esac;
   21126       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
   21127     '
   21128     export as_echo_n_body
   21129     as_echo_n='sh -c $as_echo_n_body as_echo'
   21130   fi
   21131   export as_echo_body
   21132   as_echo='sh -c $as_echo_body as_echo'
   21133 fi
   21134 
   21135 # The user is always right.
   21136 if test "${PATH_SEPARATOR+set}" != set; then
   21137   PATH_SEPARATOR=:
   21138   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   21139     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   21140       PATH_SEPARATOR=';'
   21141   }
   21142 fi
   21143 
   21144 # Support unset when possible.
   21145 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   21146   as_unset=unset
   21147 else
   21148   as_unset=false
   21149 fi
   21150 
   21151 
   21152 # IFS
   21153 # We need space, tab and new line, in precisely that order.  Quoting is
   21154 # there to prevent editors from complaining about space-tab.
   21155 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
   21156 # splitting by setting IFS to empty value.)
   21157 IFS=" ""	$as_nl"
   21158 
   21159 # Find who we are.  Look in the path if we contain no directory separator.
   21160 case $0 in
   21161   *[\\/]* ) as_myself=$0 ;;
   21162   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   21163 for as_dir in $PATH
   21164 do
   21165   IFS=$as_save_IFS
   21166   test -z "$as_dir" && as_dir=.
   21167   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   21168 done
   21169 IFS=$as_save_IFS
   21170 
   21171      ;;
   21172 esac
   21173 # We did not find ourselves, most probably we were run as `sh COMMAND'
   21174 # in which case we are not to be found in the path.
   21175 if test "x$as_myself" = x; then
   21176   as_myself=$0
   21177 fi
   21178 if test ! -f "$as_myself"; then
   21179   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   21180   { (exit 1); exit 1; }
   21181 fi
   21182 
   21183 # Work around bugs in pre-3.0 UWIN ksh.
   21184 for as_var in ENV MAIL MAILPATH
   21185 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
   21186 done
   21187 PS1='$ '
   21188 PS2='> '
   21189 PS4='+ '
   21190 
   21191 # NLS nuisances.
   21192 LC_ALL=C
   21193 export LC_ALL
   21194 LANGUAGE=C
   21195 export LANGUAGE
   21196 
   21197 # Required to use basename.
   21198 if expr a : '\(a\)' >/dev/null 2>&1 &&
   21199    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   21200   as_expr=expr
   21201 else
   21202   as_expr=false
   21203 fi
   21204 
   21205 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   21206   as_basename=basename
   21207 else
   21208   as_basename=false
   21209 fi
   21210 
   21211 
   21212 # Name of the executable.
   21213 as_me=`$as_basename -- "$0" ||
   21214 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   21215 	 X"$0" : 'X\(//\)$' \| \
   21216 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   21217 $as_echo X/"$0" |
   21218     sed '/^.*\/\([^/][^/]*\)\/*$/{
   21219 	    s//\1/
   21220 	    q
   21221 	  }
   21222 	  /^X\/\(\/\/\)$/{
   21223 	    s//\1/
   21224 	    q
   21225 	  }
   21226 	  /^X\/\(\/\).*/{
   21227 	    s//\1/
   21228 	    q
   21229 	  }
   21230 	  s/.*/./; q'`
   21231 
   21232 # CDPATH.
   21233 $as_unset CDPATH
   21234 
   21235 
   21236 
   21237   as_lineno_1=$LINENO
   21238   as_lineno_2=$LINENO
   21239   test "x$as_lineno_1" != "x$as_lineno_2" &&
   21240   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
   21241 
   21242   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
   21243   # uniformly replaced by the line number.  The first 'sed' inserts a
   21244   # line-number line after each line using $LINENO; the second 'sed'
   21245   # does the real work.  The second script uses 'N' to pair each
   21246   # line-number line with the line containing $LINENO, and appends
   21247   # trailing '-' during substitution so that $LINENO is not a special
   21248   # case at line end.
   21249   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
   21250   # scripts with optimization help from Paolo Bonzini.  Blame Lee
   21251   # E. McMahon (1931-1989) for sed's syntax.  :-)
   21252   sed -n '
   21253     p
   21254     /[$]LINENO/=
   21255   ' <$as_myself |
   21256     sed '
   21257       s/[$]LINENO.*/&-/
   21258       t lineno
   21259       b
   21260       :lineno
   21261       N
   21262       :loop
   21263       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
   21264       t loop
   21265       s/-\n.*//
   21266     ' >$as_me.lineno &&
   21267   chmod +x "$as_me.lineno" ||
   21268     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
   21269    { (exit 1); exit 1; }; }
   21270 
   21271   # Don't try to exec as it changes $[0], causing all sort of problems
   21272   # (the dirname of $[0] is not the place where we might find the
   21273   # original and so on.  Autoconf is especially sensitive to this).
   21274   . "./$as_me.lineno"
   21275   # Exit status is that of the last command.
   21276   exit
   21277 }
   21278 
   21279 
   21280 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   21281   as_dirname=dirname
   21282 else
   21283   as_dirname=false
   21284 fi
   21285 
   21286 ECHO_C= ECHO_N= ECHO_T=
   21287 case `echo -n x` in
   21288 -n*)
   21289   case `echo 'x\c'` in
   21290   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   21291   *)   ECHO_C='\c';;
   21292   esac;;
   21293 *)
   21294   ECHO_N='-n';;
   21295 esac
   21296 if expr a : '\(a\)' >/dev/null 2>&1 &&
   21297    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   21298   as_expr=expr
   21299 else
   21300   as_expr=false
   21301 fi
   21302 
   21303 rm -f conf$$ conf$$.exe conf$$.file
   21304 if test -d conf$$.dir; then
   21305   rm -f conf$$.dir/conf$$.file
   21306 else
   21307   rm -f conf$$.dir
   21308   mkdir conf$$.dir 2>/dev/null
   21309 fi
   21310 if (echo >conf$$.file) 2>/dev/null; then
   21311   if ln -s conf$$.file conf$$ 2>/dev/null; then
   21312     as_ln_s='ln -s'
   21313     # ... but there are two gotchas:
   21314     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   21315     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   21316     # In both cases, we have to default to `cp -p'.
   21317     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   21318       as_ln_s='cp -p'
   21319   elif ln conf$$.file conf$$ 2>/dev/null; then
   21320     as_ln_s=ln
   21321   else
   21322     as_ln_s='cp -p'
   21323   fi
   21324 else
   21325   as_ln_s='cp -p'
   21326 fi
   21327 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   21328 rmdir conf$$.dir 2>/dev/null
   21329 
   21330 if mkdir -p . 2>/dev/null; then
   21331   as_mkdir_p=:
   21332 else
   21333   test -d ./-p && rmdir ./-p
   21334   as_mkdir_p=false
   21335 fi
   21336 
   21337 if test -x / >/dev/null 2>&1; then
   21338   as_test_x='test -x'
   21339 else
   21340   if ls -dL / >/dev/null 2>&1; then
   21341     as_ls_L_option=L
   21342   else
   21343     as_ls_L_option=
   21344   fi
   21345   as_test_x='
   21346     eval sh -c '\''
   21347       if test -d "$1"; then
   21348 	test -d "$1/.";
   21349       else
   21350 	case $1 in
   21351 	-*)set "./$1";;
   21352 	esac;
   21353 	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
   21354 	???[sx]*):;;*)false;;esac;fi
   21355     '\'' sh
   21356   '
   21357 fi
   21358 as_executable_p=$as_test_x
   21359 
   21360 # Sed expression to map a string onto a valid CPP name.
   21361 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   21362 
   21363 # Sed expression to map a string onto a valid variable name.
   21364 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   21365 
   21366 
   21367 exec 6>&1
   21368 
   21369 # Save the log message, to keep $[0] and so on meaningful, and to
   21370 # report actual input values of CONFIG_FILES etc. instead of their
   21371 # values after options handling.
   21372 ac_log="
   21373 This file was extended by libXxf86misc $as_me 1.0.2, which was
   21374 generated by GNU Autoconf 2.63.  Invocation command line was
   21375 
   21376   CONFIG_FILES    = $CONFIG_FILES
   21377   CONFIG_HEADERS  = $CONFIG_HEADERS
   21378   CONFIG_LINKS    = $CONFIG_LINKS
   21379   CONFIG_COMMANDS = $CONFIG_COMMANDS
   21380   $ $0 $@
   21381 
   21382 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   21383 "
   21384 
   21385 _ACEOF
   21386 
   21387 case $ac_config_files in *"
   21388 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   21389 esac
   21390 
   21391 case $ac_config_headers in *"
   21392 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   21393 esac
   21394 
   21395 
   21396 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   21397 # Files that config.status was made for.
   21398 config_files="$ac_config_files"
   21399 config_headers="$ac_config_headers"
   21400 config_commands="$ac_config_commands"
   21401 
   21402 _ACEOF
   21403 
   21404 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   21405 ac_cs_usage="\
   21406 \`$as_me' instantiates files from templates according to the
   21407 current configuration.
   21408 
   21409 Usage: $0 [OPTION]... [FILE]...
   21410 
   21411   -h, --help       print this help, then exit
   21412   -V, --version    print version number and configuration settings, then exit
   21413   -q, --quiet, --silent
   21414                    do not print progress messages
   21415   -d, --debug      don't remove temporary files
   21416       --recheck    update $as_me by reconfiguring in the same conditions
   21417       --file=FILE[:TEMPLATE]
   21418                    instantiate the configuration file FILE
   21419       --header=FILE[:TEMPLATE]
   21420                    instantiate the configuration header FILE
   21421 
   21422 Configuration files:
   21423 $config_files
   21424 
   21425 Configuration headers:
   21426 $config_headers
   21427 
   21428 Configuration commands:
   21429 $config_commands
   21430 
   21431 Report bugs to <bug-autoconf (at] gnu.org>."
   21432 
   21433 _ACEOF
   21434 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   21435 ac_cs_version="\\
   21436 libXxf86misc config.status 1.0.2
   21437 configured by $0, generated by GNU Autoconf 2.63,
   21438   with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
   21439 
   21440 Copyright (C) 2008 Free Software Foundation, Inc.
   21441 This config.status script is free software; the Free Software Foundation
   21442 gives unlimited permission to copy, distribute and modify it."
   21443 
   21444 ac_pwd='$ac_pwd'
   21445 srcdir='$srcdir'
   21446 INSTALL='$INSTALL'
   21447 MKDIR_P='$MKDIR_P'
   21448 AWK='$AWK'
   21449 test -n "\$AWK" || AWK=awk
   21450 _ACEOF
   21451 
   21452 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   21453 # The default lists apply if the user does not specify any file.
   21454 ac_need_defaults=:
   21455 while test $# != 0
   21456 do
   21457   case $1 in
   21458   --*=*)
   21459     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   21460     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   21461     ac_shift=:
   21462     ;;
   21463   *)
   21464     ac_option=$1
   21465     ac_optarg=$2
   21466     ac_shift=shift
   21467     ;;
   21468   esac
   21469 
   21470   case $ac_option in
   21471   # Handling of the options.
   21472   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   21473     ac_cs_recheck=: ;;
   21474   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   21475     $as_echo "$ac_cs_version"; exit ;;
   21476   --debug | --debu | --deb | --de | --d | -d )
   21477     debug=: ;;
   21478   --file | --fil | --fi | --f )
   21479     $ac_shift
   21480     case $ac_optarg in
   21481     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   21482     esac
   21483     CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
   21484     ac_need_defaults=false;;
   21485   --header | --heade | --head | --hea )
   21486     $ac_shift
   21487     case $ac_optarg in
   21488     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   21489     esac
   21490     CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'"
   21491     ac_need_defaults=false;;
   21492   --he | --h)
   21493     # Conflict between --help and --header
   21494     { $as_echo "$as_me: error: ambiguous option: $1
   21495 Try \`$0 --help' for more information." >&2
   21496    { (exit 1); exit 1; }; };;
   21497   --help | --hel | -h )
   21498     $as_echo "$ac_cs_usage"; exit ;;
   21499   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   21500   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   21501     ac_cs_silent=: ;;
   21502 
   21503   # This is an error.
   21504   -*) { $as_echo "$as_me: error: unrecognized option: $1
   21505 Try \`$0 --help' for more information." >&2
   21506    { (exit 1); exit 1; }; } ;;
   21507 
   21508   *) ac_config_targets="$ac_config_targets $1"
   21509      ac_need_defaults=false ;;
   21510 
   21511   esac
   21512   shift
   21513 done
   21514 
   21515 ac_configure_extra_args=
   21516 
   21517 if $ac_cs_silent; then
   21518   exec 6>/dev/null
   21519   ac_configure_extra_args="$ac_configure_extra_args --silent"
   21520 fi
   21521 
   21522 _ACEOF
   21523 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   21524 if \$ac_cs_recheck; then
   21525   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   21526   shift
   21527   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
   21528   CONFIG_SHELL='$SHELL'
   21529   export CONFIG_SHELL
   21530   exec "\$@"
   21531 fi
   21532 
   21533 _ACEOF
   21534 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   21535 exec 5>>config.log
   21536 {
   21537   echo
   21538   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   21539 ## Running $as_me. ##
   21540 _ASBOX
   21541   $as_echo "$ac_log"
   21542 } >&5
   21543 
   21544 _ACEOF
   21545 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   21546 #
   21547 # INIT-COMMANDS
   21548 #
   21549 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
   21550 
   21551 _ACEOF
   21552 
   21553 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   21554 
   21555 # Handling of arguments.
   21556 for ac_config_target in $ac_config_targets
   21557 do
   21558   case $ac_config_target in
   21559     "src/config.h") CONFIG_HEADERS="$CONFIG_HEADERS src/config.h" ;;
   21560     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   21561     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   21562     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
   21563     "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
   21564     "xxf86misc.pc") CONFIG_FILES="$CONFIG_FILES xxf86misc.pc" ;;
   21565 
   21566   *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
   21567 $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
   21568    { (exit 1); exit 1; }; };;
   21569   esac
   21570 done
   21571 
   21572 
   21573 # If the user did not use the arguments to specify the items to instantiate,
   21574 # then the envvar interface is used.  Set only those that are not.
   21575 # We use the long form for the default assignment because of an extremely
   21576 # bizarre bug on SunOS 4.1.3.
   21577 if $ac_need_defaults; then
   21578   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
   21579   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
   21580   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
   21581 fi
   21582 
   21583 # Have a temporary directory for convenience.  Make it in the build tree
   21584 # simply because there is no reason against having it here, and in addition,
   21585 # creating and moving files from /tmp can sometimes cause problems.
   21586 # Hook for its removal unless debugging.
   21587 # Note that there is a small window in which the directory will not be cleaned:
   21588 # after its creation but before its name has been assigned to `$tmp'.
   21589 $debug ||
   21590 {
   21591   tmp=
   21592   trap 'exit_status=$?
   21593   { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
   21594 ' 0
   21595   trap '{ (exit 1); exit 1; }' 1 2 13 15
   21596 }
   21597 # Create a (secure) tmp directory for tmp files.
   21598 
   21599 {
   21600   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   21601   test -n "$tmp" && test -d "$tmp"
   21602 }  ||
   21603 {
   21604   tmp=./conf$$-$RANDOM
   21605   (umask 077 && mkdir "$tmp")
   21606 } ||
   21607 {
   21608    $as_echo "$as_me: cannot create a temporary directory in ." >&2
   21609    { (exit 1); exit 1; }
   21610 }
   21611 
   21612 # Set up the scripts for CONFIG_FILES section.
   21613 # No need to generate them if there are no CONFIG_FILES.
   21614 # This happens for instance with `./config.status config.h'.
   21615 if test -n "$CONFIG_FILES"; then
   21616 
   21617 
   21618 ac_cr='
'
   21620 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   21621 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   21622   ac_cs_awk_cr='\\r'
   21623 else
   21624   ac_cs_awk_cr=$ac_cr
   21625 fi
   21626 
   21627 echo 'BEGIN {' >"$tmp/subs1.awk" &&
   21628 _ACEOF
   21629 
   21630 
   21631 {
   21632   echo "cat >conf$$subs.awk <<_ACEOF" &&
   21633   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   21634   echo "_ACEOF"
   21635 } >conf$$subs.sh ||
   21636   { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
   21637 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
   21638    { (exit 1); exit 1; }; }
   21639 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
   21640 ac_delim='%!_!# '
   21641 for ac_last_try in false false false false false :; do
   21642   . ./conf$$subs.sh ||
   21643     { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
   21644 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
   21645    { (exit 1); exit 1; }; }
   21646 
   21647   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   21648   if test $ac_delim_n = $ac_delim_num; then
   21649     break
   21650   elif $ac_last_try; then
   21651     { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
   21652 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
   21653    { (exit 1); exit 1; }; }
   21654   else
   21655     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   21656   fi
   21657 done
   21658 rm -f conf$$subs.sh
   21659 
   21660 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   21661 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
   21662 _ACEOF
   21663 sed -n '
   21664 h
   21665 s/^/S["/; s/!.*/"]=/
   21666 p
   21667 g
   21668 s/^[^!]*!//
   21669 :repl
   21670 t repl
   21671 s/'"$ac_delim"'$//
   21672 t delim
   21673 :nl
   21674 h
   21675 s/\(.\{148\}\).*/\1/
   21676 t more1
   21677 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   21678 p
   21679 n
   21680 b repl
   21681 :more1
   21682 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   21683 p
   21684 g
   21685 s/.\{148\}//
   21686 t nl
   21687 :delim
   21688 h
   21689 s/\(.\{148\}\).*/\1/
   21690 t more2
   21691 s/["\\]/\\&/g; s/^/"/; s/$/"/
   21692 p
   21693 b
   21694 :more2
   21695 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   21696 p
   21697 g
   21698 s/.\{148\}//
   21699 t delim
   21700 ' <conf$$subs.awk | sed '
   21701 /^[^""]/{
   21702   N
   21703   s/\n//
   21704 }
   21705 ' >>$CONFIG_STATUS || ac_write_fail=1
   21706 rm -f conf$$subs.awk
   21707 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   21708 _ACAWK
   21709 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
   21710   for (key in S) S_is_set[key] = 1
   21711   FS = ""
   21712 
   21713 }
   21714 {
   21715   line = $ 0
   21716   nfields = split(line, field, "@")
   21717   substed = 0
   21718   len = length(field[1])
   21719   for (i = 2; i < nfields; i++) {
   21720     key = field[i]
   21721     keylen = length(key)
   21722     if (S_is_set[key]) {
   21723       value = S[key]
   21724       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   21725       len += length(value) + length(field[++i])
   21726       substed = 1
   21727     } else
   21728       len += 1 + keylen
   21729   }
   21730 
   21731   print line
   21732 }
   21733 
   21734 _ACAWK
   21735 _ACEOF
   21736 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   21737 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   21738   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   21739 else
   21740   cat
   21741 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
   21742   || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
   21743 $as_echo "$as_me: error: could not setup config files machinery" >&2;}
   21744    { (exit 1); exit 1; }; }
   21745 _ACEOF
   21746 
   21747 # VPATH may cause trouble with some makes, so we remove $(srcdir),
   21748 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
   21749 # trailing colons and then remove the whole line if VPATH becomes empty
   21750 # (actually we leave an empty line to preserve line numbers).
   21751 if test "x$srcdir" = x.; then
   21752   ac_vpsub='/^[	 ]*VPATH[	 ]*=/{
   21753 s/:*\$(srcdir):*/:/
   21754 s/:*\${srcdir}:*/:/
   21755 s/:*@srcdir@:*/:/
   21756 s/^\([^=]*=[	 ]*\):*/\1/
   21757 s/:*$//
   21758 s/^[^=]*=[	 ]*$//
   21759 }'
   21760 fi
   21761 
   21762 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   21763 fi # test -n "$CONFIG_FILES"
   21764 
   21765 # Set up the scripts for CONFIG_HEADERS section.
   21766 # No need to generate them if there are no CONFIG_HEADERS.
   21767 # This happens for instance with `./config.status Makefile'.
   21768 if test -n "$CONFIG_HEADERS"; then
   21769 cat >"$tmp/defines.awk" <<\_ACAWK ||
   21770 BEGIN {
   21771 _ACEOF
   21772 
   21773 # Transform confdefs.h into an awk script `defines.awk', embedded as
   21774 # here-document in config.status, that substitutes the proper values into
   21775 # config.h.in to produce config.h.
   21776 
   21777 # Create a delimiter string that does not exist in confdefs.h, to ease
   21778 # handling of long lines.
   21779 ac_delim='%!_!# '
   21780 for ac_last_try in false false :; do
   21781   ac_t=`sed -n "/$ac_delim/p" confdefs.h`
   21782   if test -z "$ac_t"; then
   21783     break
   21784   elif $ac_last_try; then
   21785     { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5
   21786 $as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;}
   21787    { (exit 1); exit 1; }; }
   21788   else
   21789     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   21790   fi
   21791 done
   21792 
   21793 # For the awk script, D is an array of macro values keyed by name,
   21794 # likewise P contains macro parameters if any.  Preserve backslash
   21795 # newline sequences.
   21796 
   21797 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   21798 sed -n '
   21799 s/.\{148\}/&'"$ac_delim"'/g
   21800 t rset
   21801 :rset
   21802 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   21803 t def
   21804 d
   21805 :def
   21806 s/\\$//
   21807 t bsnl
   21808 s/["\\]/\\&/g
   21809 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   21810 D["\1"]=" \3"/p
   21811 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   21812 d
   21813 :bsnl
   21814 s/["\\]/\\&/g
   21815 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   21816 D["\1"]=" \3\\\\\\n"\\/p
   21817 t cont
   21818 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   21819 t cont
   21820 d
   21821 :cont
   21822 n
   21823 s/.\{148\}/&'"$ac_delim"'/g
   21824 t clear
   21825 :clear
   21826 s/\\$//
   21827 t bsnlc
   21828 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   21829 d
   21830 :bsnlc
   21831 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   21832 b cont
   21833 ' <confdefs.h | sed '
   21834 s/'"$ac_delim"'/"\\\
   21835 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   21836 
   21837 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   21838   for (key in D) D_is_set[key] = 1
   21839   FS = ""
   21840 }
   21841 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   21842   line = \$ 0
   21843   split(line, arg, " ")
   21844   if (arg[1] == "#") {
   21845     defundef = arg[2]
   21846     mac1 = arg[3]
   21847   } else {
   21848     defundef = substr(arg[1], 2)
   21849     mac1 = arg[2]
   21850   }
   21851   split(mac1, mac2, "(") #)
   21852   macro = mac2[1]
   21853   prefix = substr(line, 1, index(line, defundef) - 1)
   21854   if (D_is_set[macro]) {
   21855     # Preserve the white space surrounding the "#".
   21856     print prefix "define", macro P[macro] D[macro]
   21857     next
   21858   } else {
   21859     # Replace #undef with comments.  This is necessary, for example,
   21860     # in the case of _POSIX_SOURCE, which is predefined and required
   21861     # on some systems where configure will not decide to define it.
   21862     if (defundef == "undef") {
   21863       print "/*", prefix defundef, macro, "*/"
   21864       next
   21865     }
   21866   }
   21867 }
   21868 { print }
   21869 _ACAWK
   21870 _ACEOF
   21871 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   21872   { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
   21873 $as_echo "$as_me: error: could not setup config headers machinery" >&2;}
   21874    { (exit 1); exit 1; }; }
   21875 fi # test -n "$CONFIG_HEADERS"
   21876 
   21877 
   21878 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   21879 shift
   21880 for ac_tag
   21881 do
   21882   case $ac_tag in
   21883   :[FHLC]) ac_mode=$ac_tag; continue;;
   21884   esac
   21885   case $ac_mode$ac_tag in
   21886   :[FHL]*:*);;
   21887   :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
   21888 $as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
   21889    { (exit 1); exit 1; }; };;
   21890   :[FH]-) ac_tag=-:-;;
   21891   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   21892   esac
   21893   ac_save_IFS=$IFS
   21894   IFS=:
   21895   set x $ac_tag
   21896   IFS=$ac_save_IFS
   21897   shift
   21898   ac_file=$1
   21899   shift
   21900 
   21901   case $ac_mode in
   21902   :L) ac_source=$1;;
   21903   :[FH])
   21904     ac_file_inputs=
   21905     for ac_f
   21906     do
   21907       case $ac_f in
   21908       -) ac_f="$tmp/stdin";;
   21909       *) # Look for the file first in the build tree, then in the source tree
   21910 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   21911 	 # because $ac_f cannot contain `:'.
   21912 	 test -f "$ac_f" ||
   21913 	   case $ac_f in
   21914 	   [\\/$]*) false;;
   21915 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   21916 	   esac ||
   21917 	   { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
   21918 $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
   21919    { (exit 1); exit 1; }; };;
   21920       esac
   21921       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   21922       ac_file_inputs="$ac_file_inputs '$ac_f'"
   21923     done
   21924 
   21925     # Let's still pretend it is `configure' which instantiates (i.e., don't
   21926     # use $as_me), people would be surprised to read:
   21927     #    /* config.h.  Generated by config.status.  */
   21928     configure_input='Generated from '`
   21929 	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   21930 	`' by configure.'
   21931     if test x"$ac_file" != x-; then
   21932       configure_input="$ac_file.  $configure_input"
   21933       { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
   21934 $as_echo "$as_me: creating $ac_file" >&6;}
   21935     fi
   21936     # Neutralize special characters interpreted by sed in replacement strings.
   21937     case $configure_input in #(
   21938     *\&* | *\|* | *\\* )
   21939        ac_sed_conf_input=`$as_echo "$configure_input" |
   21940        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   21941     *) ac_sed_conf_input=$configure_input;;
   21942     esac
   21943 
   21944     case $ac_tag in
   21945     *:-:* | *:-) cat >"$tmp/stdin" \
   21946       || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
   21947 $as_echo "$as_me: error: could not create $ac_file" >&2;}
   21948    { (exit 1); exit 1; }; } ;;
   21949     esac
   21950     ;;
   21951   esac
   21952 
   21953   ac_dir=`$as_dirname -- "$ac_file" ||
   21954 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   21955 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   21956 	 X"$ac_file" : 'X\(//\)$' \| \
   21957 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   21958 $as_echo X"$ac_file" |
   21959     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   21960 	    s//\1/
   21961 	    q
   21962 	  }
   21963 	  /^X\(\/\/\)[^/].*/{
   21964 	    s//\1/
   21965 	    q
   21966 	  }
   21967 	  /^X\(\/\/\)$/{
   21968 	    s//\1/
   21969 	    q
   21970 	  }
   21971 	  /^X\(\/\).*/{
   21972 	    s//\1/
   21973 	    q
   21974 	  }
   21975 	  s/.*/./; q'`
   21976   { as_dir="$ac_dir"
   21977   case $as_dir in #(
   21978   -*) as_dir=./$as_dir;;
   21979   esac
   21980   test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
   21981     as_dirs=
   21982     while :; do
   21983       case $as_dir in #(
   21984       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   21985       *) as_qdir=$as_dir;;
   21986       esac
   21987       as_dirs="'$as_qdir' $as_dirs"
   21988       as_dir=`$as_dirname -- "$as_dir" ||
   21989 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   21990 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   21991 	 X"$as_dir" : 'X\(//\)$' \| \
   21992 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   21993 $as_echo X"$as_dir" |
   21994     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   21995 	    s//\1/
   21996 	    q
   21997 	  }
   21998 	  /^X\(\/\/\)[^/].*/{
   21999 	    s//\1/
   22000 	    q
   22001 	  }
   22002 	  /^X\(\/\/\)$/{
   22003 	    s//\1/
   22004 	    q
   22005 	  }
   22006 	  /^X\(\/\).*/{
   22007 	    s//\1/
   22008 	    q
   22009 	  }
   22010 	  s/.*/./; q'`
   22011       test -d "$as_dir" && break
   22012     done
   22013     test -z "$as_dirs" || eval "mkdir $as_dirs"
   22014   } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
   22015 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
   22016    { (exit 1); exit 1; }; }; }
   22017   ac_builddir=.
   22018 
   22019 case "$ac_dir" in
   22020 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   22021 *)
   22022   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   22023   # A ".." for each directory in $ac_dir_suffix.
   22024   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   22025   case $ac_top_builddir_sub in
   22026   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   22027   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   22028   esac ;;
   22029 esac
   22030 ac_abs_top_builddir=$ac_pwd
   22031 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   22032 # for backward compatibility:
   22033 ac_top_builddir=$ac_top_build_prefix
   22034 
   22035 case $srcdir in
   22036   .)  # We are building in place.
   22037     ac_srcdir=.
   22038     ac_top_srcdir=$ac_top_builddir_sub
   22039     ac_abs_top_srcdir=$ac_pwd ;;
   22040   [\\/]* | ?:[\\/]* )  # Absolute name.
   22041     ac_srcdir=$srcdir$ac_dir_suffix;
   22042     ac_top_srcdir=$srcdir
   22043     ac_abs_top_srcdir=$srcdir ;;
   22044   *) # Relative name.
   22045     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   22046     ac_top_srcdir=$ac_top_build_prefix$srcdir
   22047     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   22048 esac
   22049 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   22050 
   22051 
   22052   case $ac_mode in
   22053   :F)
   22054   #
   22055   # CONFIG_FILE
   22056   #
   22057 
   22058   case $INSTALL in
   22059   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   22060   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   22061   esac
   22062   ac_MKDIR_P=$MKDIR_P
   22063   case $MKDIR_P in
   22064   [\\/$]* | ?:[\\/]* ) ;;
   22065   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   22066   esac
   22067 _ACEOF
   22068 
   22069 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   22070 # If the template does not know about datarootdir, expand it.
   22071 # FIXME: This hack should be removed a few years after 2.60.
   22072 ac_datarootdir_hack=; ac_datarootdir_seen=
   22073 
   22074 ac_sed_dataroot='
   22075 /datarootdir/ {
   22076   p
   22077   q
   22078 }
   22079 /@datadir@/p
   22080 /@docdir@/p
   22081 /@infodir@/p
   22082 /@localedir@/p
   22083 /@mandir@/p
   22084 '
   22085 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   22086 *datarootdir*) ac_datarootdir_seen=yes;;
   22087 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   22088   { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   22089 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   22090 _ACEOF
   22091 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   22092   ac_datarootdir_hack='
   22093   s&@datadir@&$datadir&g
   22094   s&@docdir@&$docdir&g
   22095   s&@infodir@&$infodir&g
   22096   s&@localedir@&$localedir&g
   22097   s&@mandir@&$mandir&g
   22098     s&\\\${datarootdir}&$datarootdir&g' ;;
   22099 esac
   22100 _ACEOF
   22101 
   22102 # Neutralize VPATH when `$srcdir' = `.'.
   22103 # Shell code in configure.ac might set extrasub.
   22104 # FIXME: do we really want to maintain this feature?
   22105 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   22106 ac_sed_extra="$ac_vpsub
   22107 $extrasub
   22108 _ACEOF
   22109 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   22110 :t
   22111 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   22112 s|@configure_input@|$ac_sed_conf_input|;t t
   22113 s&@top_builddir@&$ac_top_builddir_sub&;t t
   22114 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   22115 s&@srcdir@&$ac_srcdir&;t t
   22116 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   22117 s&@top_srcdir@&$ac_top_srcdir&;t t
   22118 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   22119 s&@builddir@&$ac_builddir&;t t
   22120 s&@abs_builddir@&$ac_abs_builddir&;t t
   22121 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   22122 s&@INSTALL@&$ac_INSTALL&;t t
   22123 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   22124 $ac_datarootdir_hack
   22125 "
   22126 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
   22127   || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
   22128 $as_echo "$as_me: error: could not create $ac_file" >&2;}
   22129    { (exit 1); exit 1; }; }
   22130 
   22131 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   22132   { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
   22133   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
   22134   { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   22135 which seems to be undefined.  Please make sure it is defined." >&5
   22136 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   22137 which seems to be undefined.  Please make sure it is defined." >&2;}
   22138 
   22139   rm -f "$tmp/stdin"
   22140   case $ac_file in
   22141   -) cat "$tmp/out" && rm -f "$tmp/out";;
   22142   *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
   22143   esac \
   22144   || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
   22145 $as_echo "$as_me: error: could not create $ac_file" >&2;}
   22146    { (exit 1); exit 1; }; }
   22147  ;;
   22148   :H)
   22149   #
   22150   # CONFIG_HEADER
   22151   #
   22152   if test x"$ac_file" != x-; then
   22153     {
   22154       $as_echo "/* $configure_input  */" \
   22155       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
   22156     } >"$tmp/config.h" \
   22157       || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
   22158 $as_echo "$as_me: error: could not create $ac_file" >&2;}
   22159    { (exit 1); exit 1; }; }
   22160     if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
   22161       { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
   22162 $as_echo "$as_me: $ac_file is unchanged" >&6;}
   22163     else
   22164       rm -f "$ac_file"
   22165       mv "$tmp/config.h" "$ac_file" \
   22166 	|| { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
   22167 $as_echo "$as_me: error: could not create $ac_file" >&2;}
   22168    { (exit 1); exit 1; }; }
   22169     fi
   22170   else
   22171     $as_echo "/* $configure_input  */" \
   22172       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
   22173       || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
   22174 $as_echo "$as_me: error: could not create -" >&2;}
   22175    { (exit 1); exit 1; }; }
   22176   fi
   22177 # Compute "$ac_file"'s index in $config_headers.
   22178 _am_arg="$ac_file"
   22179 _am_stamp_count=1
   22180 for _am_header in $config_headers :; do
   22181   case $_am_header in
   22182     $_am_arg | $_am_arg:* )
   22183       break ;;
   22184     * )
   22185       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   22186   esac
   22187 done
   22188 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   22189 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   22190 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   22191 	 X"$_am_arg" : 'X\(//\)$' \| \
   22192 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   22193 $as_echo X"$_am_arg" |
   22194     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   22195 	    s//\1/
   22196 	    q
   22197 	  }
   22198 	  /^X\(\/\/\)[^/].*/{
   22199 	    s//\1/
   22200 	    q
   22201 	  }
   22202 	  /^X\(\/\/\)$/{
   22203 	    s//\1/
   22204 	    q
   22205 	  }
   22206 	  /^X\(\/\).*/{
   22207 	    s//\1/
   22208 	    q
   22209 	  }
   22210 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   22211  ;;
   22212 
   22213   :C)  { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
   22214 $as_echo "$as_me: executing $ac_file commands" >&6;}
   22215  ;;
   22216   esac
   22217 
   22218 
   22219   case $ac_file$ac_mode in
   22220     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   22221   # Autoconf 2.62 quotes --file arguments for eval, but not when files
   22222   # are listed without --file.  Let's play safe and only enable the eval
   22223   # if we detect the quoting.
   22224   case $CONFIG_FILES in
   22225   *\'*) eval set x "$CONFIG_FILES" ;;
   22226   *)   set x $CONFIG_FILES ;;
   22227   esac
   22228   shift
   22229   for mf
   22230   do
   22231     # Strip MF so we end up with the name of the file.
   22232     mf=`echo "$mf" | sed -e 's/:.*$//'`
   22233     # Check whether this is an Automake generated Makefile or not.
   22234     # We used to match only the files named `Makefile.in', but
   22235     # some people rename them; so instead we look at the file content.
   22236     # Grep'ing the first line is not enough: some people post-process
   22237     # each Makefile.in and add a new line on top of each file to say so.
   22238     # Grep'ing the whole file is not good either: AIX grep has a line
   22239     # limit of 2048, but all sed's we know have understand at least 4000.
   22240     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
   22241       dirpart=`$as_dirname -- "$mf" ||
   22242 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   22243 	 X"$mf" : 'X\(//\)[^/]' \| \
   22244 	 X"$mf" : 'X\(//\)$' \| \
   22245 	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
   22246 $as_echo X"$mf" |
   22247     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   22248 	    s//\1/
   22249 	    q
   22250 	  }
   22251 	  /^X\(\/\/\)[^/].*/{
   22252 	    s//\1/
   22253 	    q
   22254 	  }
   22255 	  /^X\(\/\/\)$/{
   22256 	    s//\1/
   22257 	    q
   22258 	  }
   22259 	  /^X\(\/\).*/{
   22260 	    s//\1/
   22261 	    q
   22262 	  }
   22263 	  s/.*/./; q'`
   22264     else
   22265       continue
   22266     fi
   22267     # Extract the definition of DEPDIR, am__include, and am__quote
   22268     # from the Makefile without running `make'.
   22269     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
   22270     test -z "$DEPDIR" && continue
   22271     am__include=`sed -n 's/^am__include = //p' < "$mf"`
   22272     test -z "am__include" && continue
   22273     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
   22274     # When using ansi2knr, U may be empty or an underscore; expand it
   22275     U=`sed -n 's/^U = //p' < "$mf"`
   22276     # Find all dependency output files, they are included files with
   22277     # $(DEPDIR) in their names.  We invoke sed twice because it is the
   22278     # simplest approach to changing $(DEPDIR) to its actual value in the
   22279     # expansion.
   22280     for file in `sed -n "
   22281       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
   22282 	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
   22283       # Make sure the directory exists.
   22284       test -f "$dirpart/$file" && continue
   22285       fdir=`$as_dirname -- "$file" ||
   22286 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   22287 	 X"$file" : 'X\(//\)[^/]' \| \
   22288 	 X"$file" : 'X\(//\)$' \| \
   22289 	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
   22290 $as_echo X"$file" |
   22291     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   22292 	    s//\1/
   22293 	    q
   22294 	  }
   22295 	  /^X\(\/\/\)[^/].*/{
   22296 	    s//\1/
   22297 	    q
   22298 	  }
   22299 	  /^X\(\/\/\)$/{
   22300 	    s//\1/
   22301 	    q
   22302 	  }
   22303 	  /^X\(\/\).*/{
   22304 	    s//\1/
   22305 	    q
   22306 	  }
   22307 	  s/.*/./; q'`
   22308       { as_dir=$dirpart/$fdir
   22309   case $as_dir in #(
   22310   -*) as_dir=./$as_dir;;
   22311   esac
   22312   test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
   22313     as_dirs=
   22314     while :; do
   22315       case $as_dir in #(
   22316       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   22317       *) as_qdir=$as_dir;;
   22318       esac
   22319       as_dirs="'$as_qdir' $as_dirs"
   22320       as_dir=`$as_dirname -- "$as_dir" ||
   22321 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   22322 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   22323 	 X"$as_dir" : 'X\(//\)$' \| \
   22324 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   22325 $as_echo X"$as_dir" |
   22326     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   22327 	    s//\1/
   22328 	    q
   22329 	  }
   22330 	  /^X\(\/\/\)[^/].*/{
   22331 	    s//\1/
   22332 	    q
   22333 	  }
   22334 	  /^X\(\/\/\)$/{
   22335 	    s//\1/
   22336 	    q
   22337 	  }
   22338 	  /^X\(\/\).*/{
   22339 	    s//\1/
   22340 	    q
   22341 	  }
   22342 	  s/.*/./; q'`
   22343       test -d "$as_dir" && break
   22344     done
   22345     test -z "$as_dirs" || eval "mkdir $as_dirs"
   22346   } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
   22347 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
   22348    { (exit 1); exit 1; }; }; }
   22349       # echo "creating $dirpart/$file"
   22350       echo '# dummy' > "$dirpart/$file"
   22351     done
   22352   done
   22353 }
   22354  ;;
   22355 
   22356   esac
   22357 done # for ac_tag
   22358 
   22359 
   22360 { (exit 0); exit 0; }
   22361 _ACEOF
   22362 chmod +x $CONFIG_STATUS
   22363 ac_clean_files=$ac_clean_files_save
   22364 
   22365 test $ac_write_fail = 0 ||
   22366   { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
   22367 $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
   22368    { (exit 1); exit 1; }; }
   22369 
   22370 
   22371 # configure is writing to config.log, and then calls config.status.
   22372 # config.status does its own redirection, appending to config.log.
   22373 # Unfortunately, on DOS this fails, as config.log is still kept open
   22374 # by configure, so config.status won't be able to write to it; its
   22375 # output is simply discarded.  So we exec the FD to /dev/null,
   22376 # effectively closing config.log, so it can be properly (re)opened and
   22377 # appended to by config.status.  When coming back to configure, we
   22378 # need to make the FD available again.
   22379 if test "$no_create" != yes; then
   22380   ac_cs_success=:
   22381   ac_config_status_args=
   22382   test "$silent" = yes &&
   22383     ac_config_status_args="$ac_config_status_args --quiet"
   22384   exec 5>/dev/null
   22385   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   22386   exec 5>>config.log
   22387   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   22388   # would make configure fail if this is the last instruction.
   22389   $ac_cs_success || { (exit 1); exit 1; }
   22390 fi
   22391 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   22392   { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   22393 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   22394 fi
   22395 
   22396