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 libXft 2.1.14.
      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='libXft'
    752 PACKAGE_TARNAME='libXft'
    753 PACKAGE_VERSION='2.1.14'
    754 PACKAGE_STRING='libXft 2.1.14'
    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 FONTCONFIG_LIBS
    798 FONTCONFIG_CFLAGS
    799 ft_config
    800 FREETYPE_LIBS
    801 FREETYPE_CFLAGS
    802 XMKMF
    803 XRENDER_LIBS
    804 XRENDER_CFLAGS
    805 PKG_CONFIG
    806 ADMIN_MAN_DIR
    807 DRIVER_MAN_DIR
    808 MISC_MAN_DIR
    809 FILE_MAN_DIR
    810 LIB_MAN_DIR
    811 APP_MAN_DIR
    812 ADMIN_MAN_SUFFIX
    813 DRIVER_MAN_SUFFIX
    814 MISC_MAN_SUFFIX
    815 FILE_MAN_SUFFIX
    816 LIB_MAN_SUFFIX
    817 APP_MAN_SUFFIX
    818 distcleancheck_listfiles
    819 CHANGELOG_CMD
    820 AM_BACKSLASH
    821 AM_DEFAULT_VERBOSITY
    822 CWARNFLAGS
    823 LIBTOOL
    824 ac_ct_F77
    825 FFLAGS
    826 F77
    827 CXXCPP
    828 am__fastdepCXX_FALSE
    829 am__fastdepCXX_TRUE
    830 CXXDEPMODE
    831 ac_ct_CXX
    832 CXXFLAGS
    833 CXX
    834 CPP
    835 NMEDIT
    836 DSYMUTIL
    837 RANLIB
    838 AR
    839 ECHO
    840 LN_S
    841 EGREP
    842 GREP
    843 SED
    844 host_os
    845 host_vendor
    846 host_cpu
    847 host
    848 build_os
    849 build_vendor
    850 build_cpu
    851 build
    852 am__fastdepCC_FALSE
    853 am__fastdepCC_TRUE
    854 CCDEPMODE
    855 AMDEPBACKSLASH
    856 AMDEP_FALSE
    857 AMDEP_TRUE
    858 am__quote
    859 am__include
    860 DEPDIR
    861 OBJEXT
    862 EXEEXT
    863 ac_ct_CC
    864 CPPFLAGS
    865 LDFLAGS
    866 CFLAGS
    867 CC
    868 MAINT
    869 MAINTAINER_MODE_FALSE
    870 MAINTAINER_MODE_TRUE
    871 am__untar
    872 am__tar
    873 AMTAR
    874 am__leading_dot
    875 SET_MAKE
    876 AWK
    877 mkdir_p
    878 MKDIR_P
    879 INSTALL_STRIP_PROGRAM
    880 STRIP
    881 install_sh
    882 MAKEINFO
    883 AUTOHEADER
    884 AUTOMAKE
    885 AUTOCONF
    886 ACLOCAL
    887 VERSION
    888 PACKAGE
    889 CYGPATH_W
    890 am__isrc
    891 INSTALL_DATA
    892 INSTALL_SCRIPT
    893 INSTALL_PROGRAM
    894 target_alias
    895 host_alias
    896 build_alias
    897 LIBS
    898 ECHO_T
    899 ECHO_N
    900 ECHO_C
    901 DEFS
    902 mandir
    903 localedir
    904 libdir
    905 psdir
    906 pdfdir
    907 dvidir
    908 htmldir
    909 infodir
    910 docdir
    911 oldincludedir
    912 includedir
    913 localstatedir
    914 sharedstatedir
    915 sysconfdir
    916 datadir
    917 datarootdir
    918 libexecdir
    919 sbindir
    920 bindir
    921 program_transform_name
    922 prefix
    923 exec_prefix
    924 PACKAGE_BUGREPORT
    925 PACKAGE_STRING
    926 PACKAGE_VERSION
    927 PACKAGE_TARNAME
    928 PACKAGE_NAME
    929 PATH_SEPARATOR
    930 SHELL'
    931 ac_subst_files=''
    932 ac_user_opts='
    933 enable_option_checking
    934 enable_maintainer_mode
    935 enable_dependency_tracking
    936 enable_shared
    937 enable_static
    938 enable_fast_install
    939 with_gnu_ld
    940 enable_libtool_lock
    941 with_pic
    942 with_tags
    943 enable_silent_rules
    944 enable_strict_compilation
    945 with_release_version
    946 with_x
    947 with_freetype_config
    948 '
    949       ac_precious_vars='build_alias
    950 host_alias
    951 target_alias
    952 CC
    953 CFLAGS
    954 LDFLAGS
    955 LIBS
    956 CPPFLAGS
    957 CPP
    958 CXX
    959 CXXFLAGS
    960 CCC
    961 CXXCPP
    962 F77
    963 FFLAGS
    964 PKG_CONFIG
    965 XRENDER_CFLAGS
    966 XRENDER_LIBS
    967 XMKMF
    968 FREETYPE_CFLAGS
    969 FREETYPE_LIBS
    970 FONTCONFIG_CFLAGS
    971 FONTCONFIG_LIBS'
    972 
    973 
    974 # Initialize some variables set by options.
    975 ac_init_help=
    976 ac_init_version=false
    977 ac_unrecognized_opts=
    978 ac_unrecognized_sep=
    979 # The variables have the same names as the options, with
    980 # dashes changed to underlines.
    981 cache_file=/dev/null
    982 exec_prefix=NONE
    983 no_create=
    984 no_recursion=
    985 prefix=NONE
    986 program_prefix=NONE
    987 program_suffix=NONE
    988 program_transform_name=s,x,x,
    989 silent=
    990 site=
    991 srcdir=
    992 verbose=
    993 x_includes=NONE
    994 x_libraries=NONE
    995 
    996 # Installation directory options.
    997 # These are left unexpanded so users can "make install exec_prefix=/foo"
    998 # and all the variables that are supposed to be based on exec_prefix
    999 # by default will actually change.
   1000 # Use braces instead of parens because sh, perl, etc. also accept them.
   1001 # (The list follows the same order as the GNU Coding Standards.)
   1002 bindir='${exec_prefix}/bin'
   1003 sbindir='${exec_prefix}/sbin'
   1004 libexecdir='${exec_prefix}/libexec'
   1005 datarootdir='${prefix}/share'
   1006 datadir='${datarootdir}'
   1007 sysconfdir='${prefix}/etc'
   1008 sharedstatedir='${prefix}/com'
   1009 localstatedir='${prefix}/var'
   1010 includedir='${prefix}/include'
   1011 oldincludedir='/usr/include'
   1012 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
   1013 infodir='${datarootdir}/info'
   1014 htmldir='${docdir}'
   1015 dvidir='${docdir}'
   1016 pdfdir='${docdir}'
   1017 psdir='${docdir}'
   1018 libdir='${exec_prefix}/lib'
   1019 localedir='${datarootdir}/locale'
   1020 mandir='${datarootdir}/man'
   1021 
   1022 ac_prev=
   1023 ac_dashdash=
   1024 for ac_option
   1025 do
   1026   # If the previous option needs an argument, assign it.
   1027   if test -n "$ac_prev"; then
   1028     eval $ac_prev=\$ac_option
   1029     ac_prev=
   1030     continue
   1031   fi
   1032 
   1033   case $ac_option in
   1034   *=*)	ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
   1035   *)	ac_optarg=yes ;;
   1036   esac
   1037 
   1038   # Accept the important Cygnus configure options, so we can diagnose typos.
   1039 
   1040   case $ac_dashdash$ac_option in
   1041   --)
   1042     ac_dashdash=yes ;;
   1043 
   1044   -bindir | --bindir | --bindi | --bind | --bin | --bi)
   1045     ac_prev=bindir ;;
   1046   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
   1047     bindir=$ac_optarg ;;
   1048 
   1049   -build | --build | --buil | --bui | --bu)
   1050     ac_prev=build_alias ;;
   1051   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
   1052     build_alias=$ac_optarg ;;
   1053 
   1054   -cache-file | --cache-file | --cache-fil | --cache-fi \
   1055   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
   1056     ac_prev=cache_file ;;
   1057   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
   1058   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
   1059     cache_file=$ac_optarg ;;
   1060 
   1061   --config-cache | -C)
   1062     cache_file=config.cache ;;
   1063 
   1064   -datadir | --datadir | --datadi | --datad)
   1065     ac_prev=datadir ;;
   1066   -datadir=* | --datadir=* | --datadi=* | --datad=*)
   1067     datadir=$ac_optarg ;;
   1068 
   1069   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
   1070   | --dataroo | --dataro | --datar)
   1071     ac_prev=datarootdir ;;
   1072   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
   1073   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
   1074     datarootdir=$ac_optarg ;;
   1075 
   1076   -disable-* | --disable-*)
   1077     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
   1078     # Reject names that are not valid shell variable names.
   1079     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1080       { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
   1081    { (exit 1); exit 1; }; }
   1082     ac_useropt_orig=$ac_useropt
   1083     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1084     case $ac_user_opts in
   1085       *"
   1086 "enable_$ac_useropt"
   1087 "*) ;;
   1088       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
   1089 	 ac_unrecognized_sep=', ';;
   1090     esac
   1091     eval enable_$ac_useropt=no ;;
   1092 
   1093   -docdir | --docdir | --docdi | --doc | --do)
   1094     ac_prev=docdir ;;
   1095   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
   1096     docdir=$ac_optarg ;;
   1097 
   1098   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
   1099     ac_prev=dvidir ;;
   1100   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
   1101     dvidir=$ac_optarg ;;
   1102 
   1103   -enable-* | --enable-*)
   1104     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
   1105     # Reject names that are not valid shell variable names.
   1106     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1107       { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
   1108    { (exit 1); exit 1; }; }
   1109     ac_useropt_orig=$ac_useropt
   1110     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1111     case $ac_user_opts in
   1112       *"
   1113 "enable_$ac_useropt"
   1114 "*) ;;
   1115       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
   1116 	 ac_unrecognized_sep=', ';;
   1117     esac
   1118     eval enable_$ac_useropt=\$ac_optarg ;;
   1119 
   1120   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
   1121   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
   1122   | --exec | --exe | --ex)
   1123     ac_prev=exec_prefix ;;
   1124   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
   1125   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
   1126   | --exec=* | --exe=* | --ex=*)
   1127     exec_prefix=$ac_optarg ;;
   1128 
   1129   -gas | --gas | --ga | --g)
   1130     # Obsolete; use --with-gas.
   1131     with_gas=yes ;;
   1132 
   1133   -help | --help | --hel | --he | -h)
   1134     ac_init_help=long ;;
   1135   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
   1136     ac_init_help=recursive ;;
   1137   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
   1138     ac_init_help=short ;;
   1139 
   1140   -host | --host | --hos | --ho)
   1141     ac_prev=host_alias ;;
   1142   -host=* | --host=* | --hos=* | --ho=*)
   1143     host_alias=$ac_optarg ;;
   1144 
   1145   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
   1146     ac_prev=htmldir ;;
   1147   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
   1148   | --ht=*)
   1149     htmldir=$ac_optarg ;;
   1150 
   1151   -includedir | --includedir | --includedi | --included | --include \
   1152   | --includ | --inclu | --incl | --inc)
   1153     ac_prev=includedir ;;
   1154   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
   1155   | --includ=* | --inclu=* | --incl=* | --inc=*)
   1156     includedir=$ac_optarg ;;
   1157 
   1158   -infodir | --infodir | --infodi | --infod | --info | --inf)
   1159     ac_prev=infodir ;;
   1160   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
   1161     infodir=$ac_optarg ;;
   1162 
   1163   -libdir | --libdir | --libdi | --libd)
   1164     ac_prev=libdir ;;
   1165   -libdir=* | --libdir=* | --libdi=* | --libd=*)
   1166     libdir=$ac_optarg ;;
   1167 
   1168   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
   1169   | --libexe | --libex | --libe)
   1170     ac_prev=libexecdir ;;
   1171   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
   1172   | --libexe=* | --libex=* | --libe=*)
   1173     libexecdir=$ac_optarg ;;
   1174 
   1175   -localedir | --localedir | --localedi | --localed | --locale)
   1176     ac_prev=localedir ;;
   1177   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
   1178     localedir=$ac_optarg ;;
   1179 
   1180   -localstatedir | --localstatedir | --localstatedi | --localstated \
   1181   | --localstate | --localstat | --localsta | --localst | --locals)
   1182     ac_prev=localstatedir ;;
   1183   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   1184   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   1185     localstatedir=$ac_optarg ;;
   1186 
   1187   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1188     ac_prev=mandir ;;
   1189   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1190     mandir=$ac_optarg ;;
   1191 
   1192   -nfp | --nfp | --nf)
   1193     # Obsolete; use --without-fp.
   1194     with_fp=no ;;
   1195 
   1196   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1197   | --no-cr | --no-c | -n)
   1198     no_create=yes ;;
   1199 
   1200   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1201   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1202     no_recursion=yes ;;
   1203 
   1204   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1205   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1206   | --oldin | --oldi | --old | --ol | --o)
   1207     ac_prev=oldincludedir ;;
   1208   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1209   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1210   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1211     oldincludedir=$ac_optarg ;;
   1212 
   1213   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1214     ac_prev=prefix ;;
   1215   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1216     prefix=$ac_optarg ;;
   1217 
   1218   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1219   | --program-pre | --program-pr | --program-p)
   1220     ac_prev=program_prefix ;;
   1221   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1222   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1223     program_prefix=$ac_optarg ;;
   1224 
   1225   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1226   | --program-suf | --program-su | --program-s)
   1227     ac_prev=program_suffix ;;
   1228   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1229   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1230     program_suffix=$ac_optarg ;;
   1231 
   1232   -program-transform-name | --program-transform-name \
   1233   | --program-transform-nam | --program-transform-na \
   1234   | --program-transform-n | --program-transform- \
   1235   | --program-transform | --program-transfor \
   1236   | --program-transfo | --program-transf \
   1237   | --program-trans | --program-tran \
   1238   | --progr-tra | --program-tr | --program-t)
   1239     ac_prev=program_transform_name ;;
   1240   -program-transform-name=* | --program-transform-name=* \
   1241   | --program-transform-nam=* | --program-transform-na=* \
   1242   | --program-transform-n=* | --program-transform-=* \
   1243   | --program-transform=* | --program-transfor=* \
   1244   | --program-transfo=* | --program-transf=* \
   1245   | --program-trans=* | --program-tran=* \
   1246   | --progr-tra=* | --program-tr=* | --program-t=*)
   1247     program_transform_name=$ac_optarg ;;
   1248 
   1249   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1250     ac_prev=pdfdir ;;
   1251   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1252     pdfdir=$ac_optarg ;;
   1253 
   1254   -psdir | --psdir | --psdi | --psd | --ps)
   1255     ac_prev=psdir ;;
   1256   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1257     psdir=$ac_optarg ;;
   1258 
   1259   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1260   | -silent | --silent | --silen | --sile | --sil)
   1261     silent=yes ;;
   1262 
   1263   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1264     ac_prev=sbindir ;;
   1265   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1266   | --sbi=* | --sb=*)
   1267     sbindir=$ac_optarg ;;
   1268 
   1269   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1270   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1271   | --sharedst | --shareds | --shared | --share | --shar \
   1272   | --sha | --sh)
   1273     ac_prev=sharedstatedir ;;
   1274   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1275   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1276   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1277   | --sha=* | --sh=*)
   1278     sharedstatedir=$ac_optarg ;;
   1279 
   1280   -site | --site | --sit)
   1281     ac_prev=site ;;
   1282   -site=* | --site=* | --sit=*)
   1283     site=$ac_optarg ;;
   1284 
   1285   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1286     ac_prev=srcdir ;;
   1287   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1288     srcdir=$ac_optarg ;;
   1289 
   1290   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1291   | --syscon | --sysco | --sysc | --sys | --sy)
   1292     ac_prev=sysconfdir ;;
   1293   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1294   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1295     sysconfdir=$ac_optarg ;;
   1296 
   1297   -target | --target | --targe | --targ | --tar | --ta | --t)
   1298     ac_prev=target_alias ;;
   1299   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1300     target_alias=$ac_optarg ;;
   1301 
   1302   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1303     verbose=yes ;;
   1304 
   1305   -version | --version | --versio | --versi | --vers | -V)
   1306     ac_init_version=: ;;
   1307 
   1308   -with-* | --with-*)
   1309     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1310     # Reject names that are not valid shell variable names.
   1311     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1312       { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
   1313    { (exit 1); exit 1; }; }
   1314     ac_useropt_orig=$ac_useropt
   1315     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1316     case $ac_user_opts in
   1317       *"
   1318 "with_$ac_useropt"
   1319 "*) ;;
   1320       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1321 	 ac_unrecognized_sep=', ';;
   1322     esac
   1323     eval with_$ac_useropt=\$ac_optarg ;;
   1324 
   1325   -without-* | --without-*)
   1326     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1327     # Reject names that are not valid shell variable names.
   1328     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1329       { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
   1330    { (exit 1); exit 1; }; }
   1331     ac_useropt_orig=$ac_useropt
   1332     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1333     case $ac_user_opts in
   1334       *"
   1335 "with_$ac_useropt"
   1336 "*) ;;
   1337       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1338 	 ac_unrecognized_sep=', ';;
   1339     esac
   1340     eval with_$ac_useropt=no ;;
   1341 
   1342   --x)
   1343     # Obsolete; use --with-x.
   1344     with_x=yes ;;
   1345 
   1346   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1347   | --x-incl | --x-inc | --x-in | --x-i)
   1348     ac_prev=x_includes ;;
   1349   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1350   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1351     x_includes=$ac_optarg ;;
   1352 
   1353   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1354   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1355     ac_prev=x_libraries ;;
   1356   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1357   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1358     x_libraries=$ac_optarg ;;
   1359 
   1360   -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
   1361 Try \`$0 --help' for more information." >&2
   1362    { (exit 1); exit 1; }; }
   1363     ;;
   1364 
   1365   *=*)
   1366     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1367     # Reject names that are not valid shell variable names.
   1368     expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
   1369       { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
   1370    { (exit 1); exit 1; }; }
   1371     eval $ac_envvar=\$ac_optarg
   1372     export $ac_envvar ;;
   1373 
   1374   *)
   1375     # FIXME: should be removed in autoconf 3.0.
   1376     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
   1377     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1378       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
   1379     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
   1380     ;;
   1381 
   1382   esac
   1383 done
   1384 
   1385 if test -n "$ac_prev"; then
   1386   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1387   { $as_echo "$as_me: error: missing argument to $ac_option" >&2
   1388    { (exit 1); exit 1; }; }
   1389 fi
   1390 
   1391 if test -n "$ac_unrecognized_opts"; then
   1392   case $enable_option_checking in
   1393     no) ;;
   1394     fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
   1395    { (exit 1); exit 1; }; } ;;
   1396     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1397   esac
   1398 fi
   1399 
   1400 # Check all directory arguments for consistency.
   1401 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1402 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1403 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1404 		libdir localedir mandir
   1405 do
   1406   eval ac_val=\$$ac_var
   1407   # Remove trailing slashes.
   1408   case $ac_val in
   1409     */ )
   1410       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1411       eval $ac_var=\$ac_val;;
   1412   esac
   1413   # Be sure to have absolute directory names.
   1414   case $ac_val in
   1415     [\\/$]* | ?:[\\/]* )  continue;;
   1416     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1417   esac
   1418   { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
   1419    { (exit 1); exit 1; }; }
   1420 done
   1421 
   1422 # There might be people who depend on the old broken behavior: `$host'
   1423 # used to hold the argument of --host etc.
   1424 # FIXME: To remove some day.
   1425 build=$build_alias
   1426 host=$host_alias
   1427 target=$target_alias
   1428 
   1429 # FIXME: To remove some day.
   1430 if test "x$host_alias" != x; then
   1431   if test "x$build_alias" = x; then
   1432     cross_compiling=maybe
   1433     $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
   1434     If a cross compiler is detected then cross compile mode will be used." >&2
   1435   elif test "x$build_alias" != "x$host_alias"; then
   1436     cross_compiling=yes
   1437   fi
   1438 fi
   1439 
   1440 ac_tool_prefix=
   1441 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1442 
   1443 test "$silent" = yes && exec 6>/dev/null
   1444 
   1445 
   1446 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1447 ac_ls_di=`ls -di .` &&
   1448 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1449   { $as_echo "$as_me: error: working directory cannot be determined" >&2
   1450    { (exit 1); exit 1; }; }
   1451 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1452   { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
   1453    { (exit 1); exit 1; }; }
   1454 
   1455 
   1456 # Find the source files, if location was not specified.
   1457 if test -z "$srcdir"; then
   1458   ac_srcdir_defaulted=yes
   1459   # Try the directory containing this script, then the parent directory.
   1460   ac_confdir=`$as_dirname -- "$as_myself" ||
   1461 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1462 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1463 	 X"$as_myself" : 'X\(//\)$' \| \
   1464 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1465 $as_echo X"$as_myself" |
   1466     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1467 	    s//\1/
   1468 	    q
   1469 	  }
   1470 	  /^X\(\/\/\)[^/].*/{
   1471 	    s//\1/
   1472 	    q
   1473 	  }
   1474 	  /^X\(\/\/\)$/{
   1475 	    s//\1/
   1476 	    q
   1477 	  }
   1478 	  /^X\(\/\).*/{
   1479 	    s//\1/
   1480 	    q
   1481 	  }
   1482 	  s/.*/./; q'`
   1483   srcdir=$ac_confdir
   1484   if test ! -r "$srcdir/$ac_unique_file"; then
   1485     srcdir=..
   1486   fi
   1487 else
   1488   ac_srcdir_defaulted=no
   1489 fi
   1490 if test ! -r "$srcdir/$ac_unique_file"; then
   1491   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1492   { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
   1493    { (exit 1); exit 1; }; }
   1494 fi
   1495 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1496 ac_abs_confdir=`(
   1497 	cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
   1498    { (exit 1); exit 1; }; }
   1499 	pwd)`
   1500 # When building in place, set srcdir=.
   1501 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1502   srcdir=.
   1503 fi
   1504 # Remove unnecessary trailing slashes from srcdir.
   1505 # Double slashes in file names in object file debugging info
   1506 # mess up M-x gdb in Emacs.
   1507 case $srcdir in
   1508 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1509 esac
   1510 for ac_var in $ac_precious_vars; do
   1511   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1512   eval ac_env_${ac_var}_value=\$${ac_var}
   1513   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1514   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1515 done
   1516 
   1517 #
   1518 # Report the --help message.
   1519 #
   1520 if test "$ac_init_help" = "long"; then
   1521   # Omit some internal or obsolete options to make the list less imposing.
   1522   # This message is too long to be a string in the A/UX 3.1 sh.
   1523   cat <<_ACEOF
   1524 \`configure' configures libXft 2.1.14 to adapt to many kinds of systems.
   1525 
   1526 Usage: $0 [OPTION]... [VAR=VALUE]...
   1527 
   1528 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1529 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1530 
   1531 Defaults for the options are specified in brackets.
   1532 
   1533 Configuration:
   1534   -h, --help              display this help and exit
   1535       --help=short        display options specific to this package
   1536       --help=recursive    display the short help of all the included packages
   1537   -V, --version           display version information and exit
   1538   -q, --quiet, --silent   do not print \`checking...' messages
   1539       --cache-file=FILE   cache test results in FILE [disabled]
   1540   -C, --config-cache      alias for \`--cache-file=config.cache'
   1541   -n, --no-create         do not create output files
   1542       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1543 
   1544 Installation directories:
   1545   --prefix=PREFIX         install architecture-independent files in PREFIX
   1546                           [$ac_default_prefix]
   1547   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1548                           [PREFIX]
   1549 
   1550 By default, \`make install' will install all the files in
   1551 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1552 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1553 for instance \`--prefix=\$HOME'.
   1554 
   1555 For better control, use the options below.
   1556 
   1557 Fine tuning of the installation directories:
   1558   --bindir=DIR            user executables [EPREFIX/bin]
   1559   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1560   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1561   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1562   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1563   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1564   --libdir=DIR            object code libraries [EPREFIX/lib]
   1565   --includedir=DIR        C header files [PREFIX/include]
   1566   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1567   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1568   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1569   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1570   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1571   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1572   --docdir=DIR            documentation root [DATAROOTDIR/doc/libXft]
   1573   --htmldir=DIR           html documentation [DOCDIR]
   1574   --dvidir=DIR            dvi documentation [DOCDIR]
   1575   --pdfdir=DIR            pdf documentation [DOCDIR]
   1576   --psdir=DIR             ps documentation [DOCDIR]
   1577 _ACEOF
   1578 
   1579   cat <<\_ACEOF
   1580 
   1581 Program names:
   1582   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1583   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1584   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1585 
   1586 X features:
   1587   --x-includes=DIR    X include files are in DIR
   1588   --x-libraries=DIR   X library files are in DIR
   1589 
   1590 System types:
   1591   --build=BUILD     configure for building on BUILD [guessed]
   1592   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1593 _ACEOF
   1594 fi
   1595 
   1596 if test -n "$ac_init_help"; then
   1597   case $ac_init_help in
   1598      short | recursive ) echo "Configuration of libXft 2.1.14:";;
   1599    esac
   1600   cat <<\_ACEOF
   1601 
   1602 Optional Features:
   1603   --disable-option-checking  ignore unrecognized --enable/--with options
   1604   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1605   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1606   --enable-maintainer-mode  enable make rules and dependencies not useful
   1607 			  (and sometimes confusing) to the casual installer
   1608   --disable-dependency-tracking  speeds up one-time build
   1609   --enable-dependency-tracking   do not reject slow dependency extractors
   1610   --enable-shared[=PKGS]  build shared libraries [default=yes]
   1611   --enable-static[=PKGS]  build static libraries [default=yes]
   1612   --enable-fast-install[=PKGS]
   1613                           optimize for fast installation [default=yes]
   1614   --disable-libtool-lock  avoid locking (might break parallel builds)
   1615   --enable-silent-rules          less verbose build output (undo: `make V=1')
   1616   --disable-silent-rules         verbose build output (undo: `make V=0')
   1617   --enable-strict-compilation
   1618                           Enable all warnings from compiler and make them
   1619                           errors (default: disabled)
   1620 
   1621 Optional Packages:
   1622   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1623   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1624   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
   1625   --with-pic              try to use only PIC/non-PIC objects [default=use
   1626                           both]
   1627   --with-tags[=TAGS]      include additional configurations [automatic]
   1628   --with-release-version=STRING
   1629                           Use release version string in package name
   1630   --with-x                use the X Window System
   1631   --with-freetype-config=PROG   Use FreeType configuration program PROG
   1632 
   1633 Some influential environment variables:
   1634   CC          C compiler command
   1635   CFLAGS      C compiler flags
   1636   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1637               nonstandard directory <lib dir>
   1638   LIBS        libraries to pass to the linker, e.g. -l<library>
   1639   CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
   1640               you have headers in a nonstandard directory <include dir>
   1641   CPP         C preprocessor
   1642   CXX         C++ compiler command
   1643   CXXFLAGS    C++ compiler flags
   1644   CXXCPP      C++ preprocessor
   1645   F77         Fortran 77 compiler command
   1646   FFLAGS      Fortran 77 compiler flags
   1647   PKG_CONFIG  path to pkg-config utility
   1648   XRENDER_CFLAGS
   1649               C compiler flags for XRENDER, overriding pkg-config
   1650   XRENDER_LIBS
   1651               linker flags for XRENDER, overriding pkg-config
   1652   XMKMF       Path to xmkmf, Makefile generator for X Window System
   1653   FREETYPE_CFLAGS
   1654               C compiler flags for FREETYPE, overriding pkg-config
   1655   FREETYPE_LIBS
   1656               linker flags for FREETYPE, overriding pkg-config
   1657   FONTCONFIG_CFLAGS
   1658               C compiler flags for FONTCONFIG, overriding pkg-config
   1659   FONTCONFIG_LIBS
   1660               linker flags for FONTCONFIG, overriding pkg-config
   1661 
   1662 Use these variables to override the choices made by `configure' or to help
   1663 it to find libraries and programs with nonstandard names/locations.
   1664 
   1665 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
   1666 _ACEOF
   1667 ac_status=$?
   1668 fi
   1669 
   1670 if test "$ac_init_help" = "recursive"; then
   1671   # If there are subdirs, report their specific --help.
   1672   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1673     test -d "$ac_dir" ||
   1674       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1675       continue
   1676     ac_builddir=.
   1677 
   1678 case "$ac_dir" in
   1679 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1680 *)
   1681   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   1682   # A ".." for each directory in $ac_dir_suffix.
   1683   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1684   case $ac_top_builddir_sub in
   1685   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1686   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1687   esac ;;
   1688 esac
   1689 ac_abs_top_builddir=$ac_pwd
   1690 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1691 # for backward compatibility:
   1692 ac_top_builddir=$ac_top_build_prefix
   1693 
   1694 case $srcdir in
   1695   .)  # We are building in place.
   1696     ac_srcdir=.
   1697     ac_top_srcdir=$ac_top_builddir_sub
   1698     ac_abs_top_srcdir=$ac_pwd ;;
   1699   [\\/]* | ?:[\\/]* )  # Absolute name.
   1700     ac_srcdir=$srcdir$ac_dir_suffix;
   1701     ac_top_srcdir=$srcdir
   1702     ac_abs_top_srcdir=$srcdir ;;
   1703   *) # Relative name.
   1704     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1705     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1706     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1707 esac
   1708 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1709 
   1710     cd "$ac_dir" || { ac_status=$?; continue; }
   1711     # Check for guested configure.
   1712     if test -f "$ac_srcdir/configure.gnu"; then
   1713       echo &&
   1714       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1715     elif test -f "$ac_srcdir/configure"; then
   1716       echo &&
   1717       $SHELL "$ac_srcdir/configure" --help=recursive
   1718     else
   1719       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1720     fi || ac_status=$?
   1721     cd "$ac_pwd" || { ac_status=$?; break; }
   1722   done
   1723 fi
   1724 
   1725 test -n "$ac_init_help" && exit $ac_status
   1726 if $ac_init_version; then
   1727   cat <<\_ACEOF
   1728 libXft configure 2.1.14
   1729 generated by GNU Autoconf 2.63
   1730 
   1731 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
   1732 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
   1733 This configure script is free software; the Free Software Foundation
   1734 gives unlimited permission to copy, distribute and modify it.
   1735 _ACEOF
   1736   exit
   1737 fi
   1738 cat >config.log <<_ACEOF
   1739 This file contains any messages produced by compilers while
   1740 running configure, to aid debugging if configure makes a mistake.
   1741 
   1742 It was created by libXft $as_me 2.1.14, which was
   1743 generated by GNU Autoconf 2.63.  Invocation command line was
   1744 
   1745   $ $0 $@
   1746 
   1747 _ACEOF
   1748 exec 5>>config.log
   1749 {
   1750 cat <<_ASUNAME
   1751 ## --------- ##
   1752 ## Platform. ##
   1753 ## --------- ##
   1754 
   1755 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   1756 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   1757 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   1758 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   1759 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   1760 
   1761 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   1762 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   1763 
   1764 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   1765 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   1766 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   1767 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   1768 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   1769 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   1770 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   1771 
   1772 _ASUNAME
   1773 
   1774 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1775 for as_dir in $PATH
   1776 do
   1777   IFS=$as_save_IFS
   1778   test -z "$as_dir" && as_dir=.
   1779   $as_echo "PATH: $as_dir"
   1780 done
   1781 IFS=$as_save_IFS
   1782 
   1783 } >&5
   1784 
   1785 cat >&5 <<_ACEOF
   1786 
   1787 
   1788 ## ----------- ##
   1789 ## Core tests. ##
   1790 ## ----------- ##
   1791 
   1792 _ACEOF
   1793 
   1794 
   1795 # Keep a trace of the command line.
   1796 # Strip out --no-create and --no-recursion so they do not pile up.
   1797 # Strip out --silent because we don't want to record it for future runs.
   1798 # Also quote any args containing shell meta-characters.
   1799 # Make two passes to allow for proper duplicate-argument suppression.
   1800 ac_configure_args=
   1801 ac_configure_args0=
   1802 ac_configure_args1=
   1803 ac_must_keep_next=false
   1804 for ac_pass in 1 2
   1805 do
   1806   for ac_arg
   1807   do
   1808     case $ac_arg in
   1809     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   1810     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1811     | -silent | --silent | --silen | --sile | --sil)
   1812       continue ;;
   1813     *\'*)
   1814       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1815     esac
   1816     case $ac_pass in
   1817     1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
   1818     2)
   1819       ac_configure_args1="$ac_configure_args1 '$ac_arg'"
   1820       if test $ac_must_keep_next = true; then
   1821 	ac_must_keep_next=false # Got value, back to normal.
   1822       else
   1823 	case $ac_arg in
   1824 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   1825 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   1826 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   1827 	  | -with-* | --with-* | -without-* | --without-* | --x)
   1828 	    case "$ac_configure_args0 " in
   1829 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   1830 	    esac
   1831 	    ;;
   1832 	  -* ) ac_must_keep_next=true ;;
   1833 	esac
   1834       fi
   1835       ac_configure_args="$ac_configure_args '$ac_arg'"
   1836       ;;
   1837     esac
   1838   done
   1839 done
   1840 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
   1841 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
   1842 
   1843 # When interrupted or exit'd, cleanup temporary files, and complete
   1844 # config.log.  We remove comments because anyway the quotes in there
   1845 # would cause problems or look ugly.
   1846 # WARNING: Use '\'' to represent an apostrophe within the trap.
   1847 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   1848 trap 'exit_status=$?
   1849   # Save into config.log some information that might help in debugging.
   1850   {
   1851     echo
   1852 
   1853     cat <<\_ASBOX
   1854 ## ---------------- ##
   1855 ## Cache variables. ##
   1856 ## ---------------- ##
   1857 _ASBOX
   1858     echo
   1859     # The following way of writing the cache mishandles newlines in values,
   1860 (
   1861   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   1862     eval ac_val=\$$ac_var
   1863     case $ac_val in #(
   1864     *${as_nl}*)
   1865       case $ac_var in #(
   1866       *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
   1867 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   1868       esac
   1869       case $ac_var in #(
   1870       _ | IFS | as_nl) ;; #(
   1871       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   1872       *) $as_unset $ac_var ;;
   1873       esac ;;
   1874     esac
   1875   done
   1876   (set) 2>&1 |
   1877     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   1878     *${as_nl}ac_space=\ *)
   1879       sed -n \
   1880 	"s/'\''/'\''\\\\'\'''\''/g;
   1881 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   1882       ;; #(
   1883     *)
   1884       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   1885       ;;
   1886     esac |
   1887     sort
   1888 )
   1889     echo
   1890 
   1891     cat <<\_ASBOX
   1892 ## ----------------- ##
   1893 ## Output variables. ##
   1894 ## ----------------- ##
   1895 _ASBOX
   1896     echo
   1897     for ac_var in $ac_subst_vars
   1898     do
   1899       eval ac_val=\$$ac_var
   1900       case $ac_val in
   1901       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   1902       esac
   1903       $as_echo "$ac_var='\''$ac_val'\''"
   1904     done | sort
   1905     echo
   1906 
   1907     if test -n "$ac_subst_files"; then
   1908       cat <<\_ASBOX
   1909 ## ------------------- ##
   1910 ## File substitutions. ##
   1911 ## ------------------- ##
   1912 _ASBOX
   1913       echo
   1914       for ac_var in $ac_subst_files
   1915       do
   1916 	eval ac_val=\$$ac_var
   1917 	case $ac_val in
   1918 	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   1919 	esac
   1920 	$as_echo "$ac_var='\''$ac_val'\''"
   1921       done | sort
   1922       echo
   1923     fi
   1924 
   1925     if test -s confdefs.h; then
   1926       cat <<\_ASBOX
   1927 ## ----------- ##
   1928 ## confdefs.h. ##
   1929 ## ----------- ##
   1930 _ASBOX
   1931       echo
   1932       cat confdefs.h
   1933       echo
   1934     fi
   1935     test "$ac_signal" != 0 &&
   1936       $as_echo "$as_me: caught signal $ac_signal"
   1937     $as_echo "$as_me: exit $exit_status"
   1938   } >&5
   1939   rm -f core *.core core.conftest.* &&
   1940     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   1941     exit $exit_status
   1942 ' 0
   1943 for ac_signal in 1 2 13 15; do
   1944   trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
   1945 done
   1946 ac_signal=0
   1947 
   1948 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   1949 rm -f -r conftest* confdefs.h
   1950 
   1951 # Predefined preprocessor variables.
   1952 
   1953 cat >>confdefs.h <<_ACEOF
   1954 #define PACKAGE_NAME "$PACKAGE_NAME"
   1955 _ACEOF
   1956 
   1957 
   1958 cat >>confdefs.h <<_ACEOF
   1959 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
   1960 _ACEOF
   1961 
   1962 
   1963 cat >>confdefs.h <<_ACEOF
   1964 #define PACKAGE_VERSION "$PACKAGE_VERSION"
   1965 _ACEOF
   1966 
   1967 
   1968 cat >>confdefs.h <<_ACEOF
   1969 #define PACKAGE_STRING "$PACKAGE_STRING"
   1970 _ACEOF
   1971 
   1972 
   1973 cat >>confdefs.h <<_ACEOF
   1974 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
   1975 _ACEOF
   1976 
   1977 
   1978 # Let the site file select an alternate cache file if it wants to.
   1979 # Prefer an explicitly selected file to automatically selected ones.
   1980 ac_site_file1=NONE
   1981 ac_site_file2=NONE
   1982 if test -n "$CONFIG_SITE"; then
   1983   ac_site_file1=$CONFIG_SITE
   1984 elif test "x$prefix" != xNONE; then
   1985   ac_site_file1=$prefix/share/config.site
   1986   ac_site_file2=$prefix/etc/config.site
   1987 else
   1988   ac_site_file1=$ac_default_prefix/share/config.site
   1989   ac_site_file2=$ac_default_prefix/etc/config.site
   1990 fi
   1991 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
   1992 do
   1993   test "x$ac_site_file" = xNONE && continue
   1994   if test -r "$ac_site_file"; then
   1995     { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
   1996 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
   1997     sed 's/^/| /' "$ac_site_file" >&5
   1998     . "$ac_site_file"
   1999   fi
   2000 done
   2001 
   2002 if test -r "$cache_file"; then
   2003   # Some versions of bash will fail to source /dev/null (special
   2004   # files actually), so we avoid doing that.
   2005   if test -f "$cache_file"; then
   2006     { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
   2007 $as_echo "$as_me: loading cache $cache_file" >&6;}
   2008     case $cache_file in
   2009       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2010       *)                      . "./$cache_file";;
   2011     esac
   2012   fi
   2013 else
   2014   { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
   2015 $as_echo "$as_me: creating cache $cache_file" >&6;}
   2016   >$cache_file
   2017 fi
   2018 
   2019 # Check that the precious variables saved in the cache have kept the same
   2020 # value.
   2021 ac_cache_corrupted=false
   2022 for ac_var in $ac_precious_vars; do
   2023   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2024   eval ac_new_set=\$ac_env_${ac_var}_set
   2025   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2026   eval ac_new_val=\$ac_env_${ac_var}_value
   2027   case $ac_old_set,$ac_new_set in
   2028     set,)
   2029       { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   2030 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   2031       ac_cache_corrupted=: ;;
   2032     ,set)
   2033       { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
   2034 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   2035       ac_cache_corrupted=: ;;
   2036     ,);;
   2037     *)
   2038       if test "x$ac_old_val" != "x$ac_new_val"; then
   2039 	# differences in whitespace do not lead to failure.
   2040 	ac_old_val_w=`echo x $ac_old_val`
   2041 	ac_new_val_w=`echo x $ac_new_val`
   2042 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2043 	  { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
   2044 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   2045 	  ac_cache_corrupted=:
   2046 	else
   2047 	  { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
   2048 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
   2049 	  eval $ac_var=\$ac_old_val
   2050 	fi
   2051 	{ $as_echo "$as_me:$LINENO:   former value:  \`$ac_old_val'" >&5
   2052 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
   2053 	{ $as_echo "$as_me:$LINENO:   current value: \`$ac_new_val'" >&5
   2054 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
   2055       fi;;
   2056   esac
   2057   # Pass precious variables to config.status.
   2058   if test "$ac_new_set" = set; then
   2059     case $ac_new_val in
   2060     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2061     *) ac_arg=$ac_var=$ac_new_val ;;
   2062     esac
   2063     case " $ac_configure_args " in
   2064       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2065       *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
   2066     esac
   2067   fi
   2068 done
   2069 if $ac_cache_corrupted; then
   2070   { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   2071 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2072   { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
   2073 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
   2074   { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
   2075 $as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
   2076    { (exit 1); exit 1; }; }
   2077 fi
   2078 
   2079 
   2080 
   2081 
   2082 
   2083 
   2084 
   2085 
   2086 
   2087 
   2088 
   2089 
   2090 
   2091 
   2092 
   2093 
   2094 
   2095 
   2096 
   2097 
   2098 
   2099 
   2100 
   2101 
   2102 
   2103 ac_ext=c
   2104 ac_cpp='$CPP $CPPFLAGS'
   2105 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2106 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2107 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2108 
   2109 
   2110 ac_aux_dir=
   2111 for ac_dir in . "$srcdir"/.; do
   2112   if test -f "$ac_dir/install-sh"; then
   2113     ac_aux_dir=$ac_dir
   2114     ac_install_sh="$ac_aux_dir/install-sh -c"
   2115     break
   2116   elif test -f "$ac_dir/install.sh"; then
   2117     ac_aux_dir=$ac_dir
   2118     ac_install_sh="$ac_aux_dir/install.sh -c"
   2119     break
   2120   elif test -f "$ac_dir/shtool"; then
   2121     ac_aux_dir=$ac_dir
   2122     ac_install_sh="$ac_aux_dir/shtool install -c"
   2123     break
   2124   fi
   2125 done
   2126 if test -z "$ac_aux_dir"; then
   2127   { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in . \"$srcdir\"/." >&5
   2128 $as_echo "$as_me: error: cannot find install-sh or install.sh in . \"$srcdir\"/." >&2;}
   2129    { (exit 1); exit 1; }; }
   2130 fi
   2131 
   2132 # These three variables are undocumented and unsupported,
   2133 # and are intended to be withdrawn in a future Autoconf release.
   2134 # They can cause serious problems if a builder's source tree is in a directory
   2135 # whose full name contains unusual characters.
   2136 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
   2137 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
   2138 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
   2139 
   2140 
   2141 
   2142 am__api_version='1.11'
   2143 
   2144 # Find a good install program.  We prefer a C program (faster),
   2145 # so one script is as good as another.  But avoid the broken or
   2146 # incompatible versions:
   2147 # SysV /etc/install, /usr/sbin/install
   2148 # SunOS /usr/etc/install
   2149 # IRIX /sbin/install
   2150 # AIX /bin/install
   2151 # AmigaOS /C/install, which installs bootblocks on floppy discs
   2152 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   2153 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   2154 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   2155 # OS/2's system install, which has a completely different semantic
   2156 # ./install, which can be erroneously created by make from ./install.sh.
   2157 # Reject install programs that cannot install multiple files.
   2158 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
   2159 $as_echo_n "checking for a BSD-compatible install... " >&6; }
   2160 if test -z "$INSTALL"; then
   2161 if test "${ac_cv_path_install+set}" = set; then
   2162   $as_echo_n "(cached) " >&6
   2163 else
   2164   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2165 for as_dir in $PATH
   2166 do
   2167   IFS=$as_save_IFS
   2168   test -z "$as_dir" && as_dir=.
   2169   # Account for people who put trailing slashes in PATH elements.
   2170 case $as_dir/ in
   2171   ./ | .// | /cC/* | \
   2172   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   2173   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
   2174   /usr/ucb/* ) ;;
   2175   *)
   2176     # OSF1 and SCO ODT 3.0 have their own names for install.
   2177     # Don't use installbsd from OSF since it installs stuff as root
   2178     # by default.
   2179     for ac_prog in ginstall scoinst install; do
   2180       for ac_exec_ext in '' $ac_executable_extensions; do
   2181 	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
   2182 	  if test $ac_prog = install &&
   2183 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2184 	    # AIX install.  It has an incompatible calling convention.
   2185 	    :
   2186 	  elif test $ac_prog = install &&
   2187 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2188 	    # program-specific install script used by HP pwplus--don't use.
   2189 	    :
   2190 	  else
   2191 	    rm -rf conftest.one conftest.two conftest.dir
   2192 	    echo one > conftest.one
   2193 	    echo two > conftest.two
   2194 	    mkdir conftest.dir
   2195 	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
   2196 	      test -s conftest.one && test -s conftest.two &&
   2197 	      test -s conftest.dir/conftest.one &&
   2198 	      test -s conftest.dir/conftest.two
   2199 	    then
   2200 	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
   2201 	      break 3
   2202 	    fi
   2203 	  fi
   2204 	fi
   2205       done
   2206     done
   2207     ;;
   2208 esac
   2209 
   2210 done
   2211 IFS=$as_save_IFS
   2212 
   2213 rm -rf conftest.one conftest.two conftest.dir
   2214 
   2215 fi
   2216   if test "${ac_cv_path_install+set}" = set; then
   2217     INSTALL=$ac_cv_path_install
   2218   else
   2219     # As a last resort, use the slow shell script.  Don't cache a
   2220     # value for INSTALL within a source directory, because that will
   2221     # break other packages using the cache if that directory is
   2222     # removed, or if the value is a relative name.
   2223     INSTALL=$ac_install_sh
   2224   fi
   2225 fi
   2226 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
   2227 $as_echo "$INSTALL" >&6; }
   2228 
   2229 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   2230 # It thinks the first close brace ends the variable substitution.
   2231 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   2232 
   2233 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   2234 
   2235 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   2236 
   2237 { $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5
   2238 $as_echo_n "checking whether build environment is sane... " >&6; }
   2239 # Just in case
   2240 sleep 1
   2241 echo timestamp > conftest.file
   2242 # Reject unsafe characters in $srcdir or the absolute working directory
   2243 # name.  Accept space and tab only in the latter.
   2244 am_lf='
   2245 '
   2246 case `pwd` in
   2247   *[\\\"\#\$\&\'\`$am_lf]*)
   2248     { { $as_echo "$as_me:$LINENO: error: unsafe absolute working directory name" >&5
   2249 $as_echo "$as_me: error: unsafe absolute working directory name" >&2;}
   2250    { (exit 1); exit 1; }; };;
   2251 esac
   2252 case $srcdir in
   2253   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   2254     { { $as_echo "$as_me:$LINENO: error: unsafe srcdir value: \`$srcdir'" >&5
   2255 $as_echo "$as_me: error: unsafe srcdir value: \`$srcdir'" >&2;}
   2256    { (exit 1); exit 1; }; };;
   2257 esac
   2258 
   2259 # Do `set' in a subshell so we don't clobber the current shell's
   2260 # arguments.  Must try -L first in case configure is actually a
   2261 # symlink; some systems play weird games with the mod time of symlinks
   2262 # (eg FreeBSD returns the mod time of the symlink's containing
   2263 # directory).
   2264 if (
   2265    set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   2266    if test "$*" = "X"; then
   2267       # -L didn't work.
   2268       set X `ls -t "$srcdir/configure" conftest.file`
   2269    fi
   2270    rm -f conftest.file
   2271    if test "$*" != "X $srcdir/configure conftest.file" \
   2272       && test "$*" != "X conftest.file $srcdir/configure"; then
   2273 
   2274       # If neither matched, then we have a broken ls.  This can happen
   2275       # if, for instance, CONFIG_SHELL is bash and it inherits a
   2276       # broken ls alias from the environment.  This has actually
   2277       # happened.  Such a system could not be considered "sane".
   2278       { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
   2279 alias in your environment" >&5
   2280 $as_echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
   2281 alias in your environment" >&2;}
   2282    { (exit 1); exit 1; }; }
   2283    fi
   2284 
   2285    test "$2" = conftest.file
   2286    )
   2287 then
   2288    # Ok.
   2289    :
   2290 else
   2291    { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files!
   2292 Check your system clock" >&5
   2293 $as_echo "$as_me: error: newly created file is older than distributed files!
   2294 Check your system clock" >&2;}
   2295    { (exit 1); exit 1; }; }
   2296 fi
   2297 { $as_echo "$as_me:$LINENO: result: yes" >&5
   2298 $as_echo "yes" >&6; }
   2299 test "$program_prefix" != NONE &&
   2300   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   2301 # Use a double $ so make ignores it.
   2302 test "$program_suffix" != NONE &&
   2303   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   2304 # Double any \ or $.
   2305 # By default was `s,x,x', remove it if useless.
   2306 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   2307 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
   2308 
   2309 # expand $ac_aux_dir to an absolute path
   2310 am_aux_dir=`cd $ac_aux_dir && pwd`
   2311 
   2312 if test x"${MISSING+set}" != xset; then
   2313   case $am_aux_dir in
   2314   *\ * | *\	*)
   2315     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
   2316   *)
   2317     MISSING="\${SHELL} $am_aux_dir/missing" ;;
   2318   esac
   2319 fi
   2320 # Use eval to expand $SHELL
   2321 if eval "$MISSING --run true"; then
   2322   am_missing_run="$MISSING --run "
   2323 else
   2324   am_missing_run=
   2325   { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
   2326 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
   2327 fi
   2328 
   2329 if test x"${install_sh}" != xset; then
   2330   case $am_aux_dir in
   2331   *\ * | *\	*)
   2332     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   2333   *)
   2334     install_sh="\${SHELL} $am_aux_dir/install-sh"
   2335   esac
   2336 fi
   2337 
   2338 # Installed binaries are usually stripped using `strip' when the user
   2339 # run `make install-strip'.  However `strip' might not be the right
   2340 # tool to use in cross-compilation environments, therefore Automake
   2341 # will honor the `STRIP' environment variable to overrule this program.
   2342 if test "$cross_compiling" != no; then
   2343   if test -n "$ac_tool_prefix"; then
   2344   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   2345 set dummy ${ac_tool_prefix}strip; ac_word=$2
   2346 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   2347 $as_echo_n "checking for $ac_word... " >&6; }
   2348 if test "${ac_cv_prog_STRIP+set}" = set; then
   2349   $as_echo_n "(cached) " >&6
   2350 else
   2351   if test -n "$STRIP"; then
   2352   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   2353 else
   2354 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2355 for as_dir in $PATH
   2356 do
   2357   IFS=$as_save_IFS
   2358   test -z "$as_dir" && as_dir=.
   2359   for ac_exec_ext in '' $ac_executable_extensions; do
   2360   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2361     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   2362     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2363     break 2
   2364   fi
   2365 done
   2366 done
   2367 IFS=$as_save_IFS
   2368 
   2369 fi
   2370 fi
   2371 STRIP=$ac_cv_prog_STRIP
   2372 if test -n "$STRIP"; then
   2373   { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
   2374 $as_echo "$STRIP" >&6; }
   2375 else
   2376   { $as_echo "$as_me:$LINENO: result: no" >&5
   2377 $as_echo "no" >&6; }
   2378 fi
   2379 
   2380 
   2381 fi
   2382 if test -z "$ac_cv_prog_STRIP"; then
   2383   ac_ct_STRIP=$STRIP
   2384   # Extract the first word of "strip", so it can be a program name with args.
   2385 set dummy strip; ac_word=$2
   2386 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   2387 $as_echo_n "checking for $ac_word... " >&6; }
   2388 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
   2389   $as_echo_n "(cached) " >&6
   2390 else
   2391   if test -n "$ac_ct_STRIP"; then
   2392   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   2393 else
   2394 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2395 for as_dir in $PATH
   2396 do
   2397   IFS=$as_save_IFS
   2398   test -z "$as_dir" && as_dir=.
   2399   for ac_exec_ext in '' $ac_executable_extensions; do
   2400   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2401     ac_cv_prog_ac_ct_STRIP="strip"
   2402     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2403     break 2
   2404   fi
   2405 done
   2406 done
   2407 IFS=$as_save_IFS
   2408 
   2409 fi
   2410 fi
   2411 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   2412 if test -n "$ac_ct_STRIP"; then
   2413   { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
   2414 $as_echo "$ac_ct_STRIP" >&6; }
   2415 else
   2416   { $as_echo "$as_me:$LINENO: result: no" >&5
   2417 $as_echo "no" >&6; }
   2418 fi
   2419 
   2420   if test "x$ac_ct_STRIP" = x; then
   2421     STRIP=":"
   2422   else
   2423     case $cross_compiling:$ac_tool_warned in
   2424 yes:)
   2425 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   2426 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2427 ac_tool_warned=yes ;;
   2428 esac
   2429     STRIP=$ac_ct_STRIP
   2430   fi
   2431 else
   2432   STRIP="$ac_cv_prog_STRIP"
   2433 fi
   2434 
   2435 fi
   2436 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   2437 
   2438 { $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
   2439 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
   2440 if test -z "$MKDIR_P"; then
   2441   if test "${ac_cv_path_mkdir+set}" = set; then
   2442   $as_echo_n "(cached) " >&6
   2443 else
   2444   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2445 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   2446 do
   2447   IFS=$as_save_IFS
   2448   test -z "$as_dir" && as_dir=.
   2449   for ac_prog in mkdir gmkdir; do
   2450 	 for ac_exec_ext in '' $ac_executable_extensions; do
   2451 	   { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
   2452 	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
   2453 	     'mkdir (GNU coreutils) '* | \
   2454 	     'mkdir (coreutils) '* | \
   2455 	     'mkdir (fileutils) '4.1*)
   2456 	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
   2457 	       break 3;;
   2458 	   esac
   2459 	 done
   2460        done
   2461 done
   2462 IFS=$as_save_IFS
   2463 
   2464 fi
   2465 
   2466   if test "${ac_cv_path_mkdir+set}" = set; then
   2467     MKDIR_P="$ac_cv_path_mkdir -p"
   2468   else
   2469     # As a last resort, use the slow shell script.  Don't cache a
   2470     # value for MKDIR_P within a source directory, because that will
   2471     # break other packages using the cache if that directory is
   2472     # removed, or if the value is a relative name.
   2473     test -d ./--version && rmdir ./--version
   2474     MKDIR_P="$ac_install_sh -d"
   2475   fi
   2476 fi
   2477 { $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5
   2478 $as_echo "$MKDIR_P" >&6; }
   2479 
   2480 mkdir_p="$MKDIR_P"
   2481 case $mkdir_p in
   2482   [\\/$]* | ?:[\\/]*) ;;
   2483   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
   2484 esac
   2485 
   2486 for ac_prog in gawk mawk nawk awk
   2487 do
   2488   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2489 set dummy $ac_prog; ac_word=$2
   2490 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   2491 $as_echo_n "checking for $ac_word... " >&6; }
   2492 if test "${ac_cv_prog_AWK+set}" = set; then
   2493   $as_echo_n "(cached) " >&6
   2494 else
   2495   if test -n "$AWK"; then
   2496   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   2497 else
   2498 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2499 for as_dir in $PATH
   2500 do
   2501   IFS=$as_save_IFS
   2502   test -z "$as_dir" && as_dir=.
   2503   for ac_exec_ext in '' $ac_executable_extensions; do
   2504   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2505     ac_cv_prog_AWK="$ac_prog"
   2506     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2507     break 2
   2508   fi
   2509 done
   2510 done
   2511 IFS=$as_save_IFS
   2512 
   2513 fi
   2514 fi
   2515 AWK=$ac_cv_prog_AWK
   2516 if test -n "$AWK"; then
   2517   { $as_echo "$as_me:$LINENO: result: $AWK" >&5
   2518 $as_echo "$AWK" >&6; }
   2519 else
   2520   { $as_echo "$as_me:$LINENO: result: no" >&5
   2521 $as_echo "no" >&6; }
   2522 fi
   2523 
   2524 
   2525   test -n "$AWK" && break
   2526 done
   2527 
   2528 { $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   2529 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   2530 set x ${MAKE-make}
   2531 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   2532 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
   2533   $as_echo_n "(cached) " >&6
   2534 else
   2535   cat >conftest.make <<\_ACEOF
   2536 SHELL = /bin/sh
   2537 all:
   2538 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   2539 _ACEOF
   2540 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
   2541 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   2542   *@@@%%%=?*=@@@%%%*)
   2543     eval ac_cv_prog_make_${ac_make}_set=yes;;
   2544   *)
   2545     eval ac_cv_prog_make_${ac_make}_set=no;;
   2546 esac
   2547 rm -f conftest.make
   2548 fi
   2549 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   2550   { $as_echo "$as_me:$LINENO: result: yes" >&5
   2551 $as_echo "yes" >&6; }
   2552   SET_MAKE=
   2553 else
   2554   { $as_echo "$as_me:$LINENO: result: no" >&5
   2555 $as_echo "no" >&6; }
   2556   SET_MAKE="MAKE=${MAKE-make}"
   2557 fi
   2558 
   2559 rm -rf .tst 2>/dev/null
   2560 mkdir .tst 2>/dev/null
   2561 if test -d .tst; then
   2562   am__leading_dot=.
   2563 else
   2564   am__leading_dot=_
   2565 fi
   2566 rmdir .tst 2>/dev/null
   2567 
   2568 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   2569   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   2570   # is not polluted with repeated "-I."
   2571   am__isrc=' -I$(srcdir)'
   2572   # test to see if srcdir already configured
   2573   if test -f $srcdir/config.status; then
   2574     { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
   2575 $as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
   2576    { (exit 1); exit 1; }; }
   2577   fi
   2578 fi
   2579 
   2580 # test whether we have cygpath
   2581 if test -z "$CYGPATH_W"; then
   2582   if (cygpath --version) >/dev/null 2>/dev/null; then
   2583     CYGPATH_W='cygpath -w'
   2584   else
   2585     CYGPATH_W=echo
   2586   fi
   2587 fi
   2588 
   2589 
   2590 # Define the identity of the package.
   2591  PACKAGE='libXft'
   2592  VERSION='2.1.14'
   2593 
   2594 
   2595 cat >>confdefs.h <<_ACEOF
   2596 #define PACKAGE "$PACKAGE"
   2597 _ACEOF
   2598 
   2599 
   2600 cat >>confdefs.h <<_ACEOF
   2601 #define VERSION "$VERSION"
   2602 _ACEOF
   2603 
   2604 # Some tools Automake needs.
   2605 
   2606 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   2607 
   2608 
   2609 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   2610 
   2611 
   2612 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   2613 
   2614 
   2615 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   2616 
   2617 
   2618 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   2619 
   2620 # We need awk for the "check" target.  The system "awk" is bad on
   2621 # some platforms.
   2622 # Always define AMTAR for backward compatibility.
   2623 
   2624 AMTAR=${AMTAR-"${am_missing_run}tar"}
   2625 
   2626 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
   2627 
   2628 
   2629 
   2630 
   2631 
   2632 
   2633 { $as_echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
   2634 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
   2635     # Check whether --enable-maintainer-mode was given.
   2636 if test "${enable_maintainer_mode+set}" = set; then
   2637   enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
   2638 else
   2639   USE_MAINTAINER_MODE=no
   2640 fi
   2641 
   2642   { $as_echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
   2643 $as_echo "$USE_MAINTAINER_MODE" >&6; }
   2644    if test $USE_MAINTAINER_MODE = yes; then
   2645   MAINTAINER_MODE_TRUE=
   2646   MAINTAINER_MODE_FALSE='#'
   2647 else
   2648   MAINTAINER_MODE_TRUE='#'
   2649   MAINTAINER_MODE_FALSE=
   2650 fi
   2651 
   2652   MAINT=$MAINTAINER_MODE_TRUE
   2653 
   2654 
   2655 
   2656 # Require xorg-macros: XORG_DEFAULT_OPTIONS
   2657 
   2658 
   2659 
   2660 
   2661 
   2662 
   2663 
   2664 
   2665 
   2666 
   2667 
   2668 ac_config_headers="$ac_config_headers config.h"
   2669 
   2670 
   2671 # checks for progs
   2672 ac_ext=c
   2673 ac_cpp='$CPP $CPPFLAGS'
   2674 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2675 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2676 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2677 if test -n "$ac_tool_prefix"; then
   2678   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   2679 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   2680 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   2681 $as_echo_n "checking for $ac_word... " >&6; }
   2682 if test "${ac_cv_prog_CC+set}" = set; then
   2683   $as_echo_n "(cached) " >&6
   2684 else
   2685   if test -n "$CC"; then
   2686   ac_cv_prog_CC="$CC" # Let the user override the test.
   2687 else
   2688 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2689 for as_dir in $PATH
   2690 do
   2691   IFS=$as_save_IFS
   2692   test -z "$as_dir" && as_dir=.
   2693   for ac_exec_ext in '' $ac_executable_extensions; do
   2694   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2695     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   2696     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2697     break 2
   2698   fi
   2699 done
   2700 done
   2701 IFS=$as_save_IFS
   2702 
   2703 fi
   2704 fi
   2705 CC=$ac_cv_prog_CC
   2706 if test -n "$CC"; then
   2707   { $as_echo "$as_me:$LINENO: result: $CC" >&5
   2708 $as_echo "$CC" >&6; }
   2709 else
   2710   { $as_echo "$as_me:$LINENO: result: no" >&5
   2711 $as_echo "no" >&6; }
   2712 fi
   2713 
   2714 
   2715 fi
   2716 if test -z "$ac_cv_prog_CC"; then
   2717   ac_ct_CC=$CC
   2718   # Extract the first word of "gcc", so it can be a program name with args.
   2719 set dummy gcc; ac_word=$2
   2720 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   2721 $as_echo_n "checking for $ac_word... " >&6; }
   2722 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
   2723   $as_echo_n "(cached) " >&6
   2724 else
   2725   if test -n "$ac_ct_CC"; then
   2726   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   2727 else
   2728 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2729 for as_dir in $PATH
   2730 do
   2731   IFS=$as_save_IFS
   2732   test -z "$as_dir" && as_dir=.
   2733   for ac_exec_ext in '' $ac_executable_extensions; do
   2734   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2735     ac_cv_prog_ac_ct_CC="gcc"
   2736     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2737     break 2
   2738   fi
   2739 done
   2740 done
   2741 IFS=$as_save_IFS
   2742 
   2743 fi
   2744 fi
   2745 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   2746 if test -n "$ac_ct_CC"; then
   2747   { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
   2748 $as_echo "$ac_ct_CC" >&6; }
   2749 else
   2750   { $as_echo "$as_me:$LINENO: result: no" >&5
   2751 $as_echo "no" >&6; }
   2752 fi
   2753 
   2754   if test "x$ac_ct_CC" = x; then
   2755     CC=""
   2756   else
   2757     case $cross_compiling:$ac_tool_warned in
   2758 yes:)
   2759 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   2760 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2761 ac_tool_warned=yes ;;
   2762 esac
   2763     CC=$ac_ct_CC
   2764   fi
   2765 else
   2766   CC="$ac_cv_prog_CC"
   2767 fi
   2768 
   2769 if test -z "$CC"; then
   2770           if test -n "$ac_tool_prefix"; then
   2771     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   2772 set dummy ${ac_tool_prefix}cc; ac_word=$2
   2773 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   2774 $as_echo_n "checking for $ac_word... " >&6; }
   2775 if test "${ac_cv_prog_CC+set}" = set; then
   2776   $as_echo_n "(cached) " >&6
   2777 else
   2778   if test -n "$CC"; then
   2779   ac_cv_prog_CC="$CC" # Let the user override the test.
   2780 else
   2781 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2782 for as_dir in $PATH
   2783 do
   2784   IFS=$as_save_IFS
   2785   test -z "$as_dir" && as_dir=.
   2786   for ac_exec_ext in '' $ac_executable_extensions; do
   2787   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2788     ac_cv_prog_CC="${ac_tool_prefix}cc"
   2789     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2790     break 2
   2791   fi
   2792 done
   2793 done
   2794 IFS=$as_save_IFS
   2795 
   2796 fi
   2797 fi
   2798 CC=$ac_cv_prog_CC
   2799 if test -n "$CC"; then
   2800   { $as_echo "$as_me:$LINENO: result: $CC" >&5
   2801 $as_echo "$CC" >&6; }
   2802 else
   2803   { $as_echo "$as_me:$LINENO: result: no" >&5
   2804 $as_echo "no" >&6; }
   2805 fi
   2806 
   2807 
   2808   fi
   2809 fi
   2810 if test -z "$CC"; then
   2811   # Extract the first word of "cc", so it can be a program name with args.
   2812 set dummy cc; ac_word=$2
   2813 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   2814 $as_echo_n "checking for $ac_word... " >&6; }
   2815 if test "${ac_cv_prog_CC+set}" = set; then
   2816   $as_echo_n "(cached) " >&6
   2817 else
   2818   if test -n "$CC"; then
   2819   ac_cv_prog_CC="$CC" # Let the user override the test.
   2820 else
   2821   ac_prog_rejected=no
   2822 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2823 for as_dir in $PATH
   2824 do
   2825   IFS=$as_save_IFS
   2826   test -z "$as_dir" && as_dir=.
   2827   for ac_exec_ext in '' $ac_executable_extensions; do
   2828   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2829     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   2830        ac_prog_rejected=yes
   2831        continue
   2832      fi
   2833     ac_cv_prog_CC="cc"
   2834     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2835     break 2
   2836   fi
   2837 done
   2838 done
   2839 IFS=$as_save_IFS
   2840 
   2841 if test $ac_prog_rejected = yes; then
   2842   # We found a bogon in the path, so make sure we never use it.
   2843   set dummy $ac_cv_prog_CC
   2844   shift
   2845   if test $# != 0; then
   2846     # We chose a different compiler from the bogus one.
   2847     # However, it has the same basename, so the bogon will be chosen
   2848     # first if we set CC to just the basename; use the full file name.
   2849     shift
   2850     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   2851   fi
   2852 fi
   2853 fi
   2854 fi
   2855 CC=$ac_cv_prog_CC
   2856 if test -n "$CC"; then
   2857   { $as_echo "$as_me:$LINENO: result: $CC" >&5
   2858 $as_echo "$CC" >&6; }
   2859 else
   2860   { $as_echo "$as_me:$LINENO: result: no" >&5
   2861 $as_echo "no" >&6; }
   2862 fi
   2863 
   2864 
   2865 fi
   2866 if test -z "$CC"; then
   2867   if test -n "$ac_tool_prefix"; then
   2868   for ac_prog in cl.exe
   2869   do
   2870     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   2871 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   2872 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   2873 $as_echo_n "checking for $ac_word... " >&6; }
   2874 if test "${ac_cv_prog_CC+set}" = set; then
   2875   $as_echo_n "(cached) " >&6
   2876 else
   2877   if test -n "$CC"; then
   2878   ac_cv_prog_CC="$CC" # Let the user override the test.
   2879 else
   2880 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2881 for as_dir in $PATH
   2882 do
   2883   IFS=$as_save_IFS
   2884   test -z "$as_dir" && as_dir=.
   2885   for ac_exec_ext in '' $ac_executable_extensions; do
   2886   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2887     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   2888     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2889     break 2
   2890   fi
   2891 done
   2892 done
   2893 IFS=$as_save_IFS
   2894 
   2895 fi
   2896 fi
   2897 CC=$ac_cv_prog_CC
   2898 if test -n "$CC"; then
   2899   { $as_echo "$as_me:$LINENO: result: $CC" >&5
   2900 $as_echo "$CC" >&6; }
   2901 else
   2902   { $as_echo "$as_me:$LINENO: result: no" >&5
   2903 $as_echo "no" >&6; }
   2904 fi
   2905 
   2906 
   2907     test -n "$CC" && break
   2908   done
   2909 fi
   2910 if test -z "$CC"; then
   2911   ac_ct_CC=$CC
   2912   for ac_prog in cl.exe
   2913 do
   2914   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2915 set dummy $ac_prog; ac_word=$2
   2916 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   2917 $as_echo_n "checking for $ac_word... " >&6; }
   2918 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
   2919   $as_echo_n "(cached) " >&6
   2920 else
   2921   if test -n "$ac_ct_CC"; then
   2922   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   2923 else
   2924 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2925 for as_dir in $PATH
   2926 do
   2927   IFS=$as_save_IFS
   2928   test -z "$as_dir" && as_dir=.
   2929   for ac_exec_ext in '' $ac_executable_extensions; do
   2930   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2931     ac_cv_prog_ac_ct_CC="$ac_prog"
   2932     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2933     break 2
   2934   fi
   2935 done
   2936 done
   2937 IFS=$as_save_IFS
   2938 
   2939 fi
   2940 fi
   2941 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   2942 if test -n "$ac_ct_CC"; then
   2943   { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
   2944 $as_echo "$ac_ct_CC" >&6; }
   2945 else
   2946   { $as_echo "$as_me:$LINENO: result: no" >&5
   2947 $as_echo "no" >&6; }
   2948 fi
   2949 
   2950 
   2951   test -n "$ac_ct_CC" && break
   2952 done
   2953 
   2954   if test "x$ac_ct_CC" = x; then
   2955     CC=""
   2956   else
   2957     case $cross_compiling:$ac_tool_warned in
   2958 yes:)
   2959 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   2960 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2961 ac_tool_warned=yes ;;
   2962 esac
   2963     CC=$ac_ct_CC
   2964   fi
   2965 fi
   2966 
   2967 fi
   2968 
   2969 
   2970 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   2971 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2972 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
   2973 See \`config.log' for more details." >&5
   2974 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
   2975 See \`config.log' for more details." >&2;}
   2976    { (exit 1); exit 1; }; }; }
   2977 
   2978 # Provide some information about the compiler.
   2979 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
   2980 set X $ac_compile
   2981 ac_compiler=$2
   2982 { (ac_try="$ac_compiler --version >&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 --version >&5") 2>&5
   2990   ac_status=$?
   2991   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2992   (exit $ac_status); }
   2993 { (ac_try="$ac_compiler -v >&5"
   2994 case "(($ac_try" in
   2995   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2996   *) ac_try_echo=$ac_try;;
   2997 esac
   2998 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   2999 $as_echo "$ac_try_echo") >&5
   3000   (eval "$ac_compiler -v >&5") 2>&5
   3001   ac_status=$?
   3002   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3003   (exit $ac_status); }
   3004 { (ac_try="$ac_compiler -V >&5"
   3005 case "(($ac_try" in
   3006   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3007   *) ac_try_echo=$ac_try;;
   3008 esac
   3009 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3010 $as_echo "$ac_try_echo") >&5
   3011   (eval "$ac_compiler -V >&5") 2>&5
   3012   ac_status=$?
   3013   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3014   (exit $ac_status); }
   3015 
   3016 cat >conftest.$ac_ext <<_ACEOF
   3017 /* confdefs.h.  */
   3018 _ACEOF
   3019 cat confdefs.h >>conftest.$ac_ext
   3020 cat >>conftest.$ac_ext <<_ACEOF
   3021 /* end confdefs.h.  */
   3022 
   3023 int
   3024 main ()
   3025 {
   3026 
   3027   ;
   3028   return 0;
   3029 }
   3030 _ACEOF
   3031 ac_clean_files_save=$ac_clean_files
   3032 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   3033 # Try to create an executable without -o first, disregard a.out.
   3034 # It will help us diagnose broken compilers, and finding out an intuition
   3035 # of exeext.
   3036 { $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
   3037 $as_echo_n "checking for C compiler default output file name... " >&6; }
   3038 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   3039 
   3040 # The possible output files:
   3041 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   3042 
   3043 ac_rmfiles=
   3044 for ac_file in $ac_files
   3045 do
   3046   case $ac_file in
   3047     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3048     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   3049   esac
   3050 done
   3051 rm -f $ac_rmfiles
   3052 
   3053 if { (ac_try="$ac_link_default"
   3054 case "(($ac_try" in
   3055   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3056   *) ac_try_echo=$ac_try;;
   3057 esac
   3058 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3059 $as_echo "$ac_try_echo") >&5
   3060   (eval "$ac_link_default") 2>&5
   3061   ac_status=$?
   3062   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3063   (exit $ac_status); }; then
   3064   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   3065 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   3066 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   3067 # so that the user can short-circuit this test for compilers unknown to
   3068 # Autoconf.
   3069 for ac_file in $ac_files ''
   3070 do
   3071   test -f "$ac_file" || continue
   3072   case $ac_file in
   3073     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   3074 	;;
   3075     [ab].out )
   3076 	# We found the default executable, but exeext='' is most
   3077 	# certainly right.
   3078 	break;;
   3079     *.* )
   3080         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
   3081 	then :; else
   3082 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3083 	fi
   3084 	# We set ac_cv_exeext here because the later test for it is not
   3085 	# safe: cross compilers may not add the suffix if given an `-o'
   3086 	# argument, so we may need to know it at that point already.
   3087 	# Even if this section looks crufty: it has the advantage of
   3088 	# actually working.
   3089 	break;;
   3090     * )
   3091 	break;;
   3092   esac
   3093 done
   3094 test "$ac_cv_exeext" = no && ac_cv_exeext=
   3095 
   3096 else
   3097   ac_file=''
   3098 fi
   3099 
   3100 { $as_echo "$as_me:$LINENO: result: $ac_file" >&5
   3101 $as_echo "$ac_file" >&6; }
   3102 if test -z "$ac_file"; then
   3103   $as_echo "$as_me: failed program was:" >&5
   3104 sed 's/^/| /' conftest.$ac_ext >&5
   3105 
   3106 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   3107 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3108 { { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
   3109 See \`config.log' for more details." >&5
   3110 $as_echo "$as_me: error: C compiler cannot create executables
   3111 See \`config.log' for more details." >&2;}
   3112    { (exit 77); exit 77; }; }; }
   3113 fi
   3114 
   3115 ac_exeext=$ac_cv_exeext
   3116 
   3117 # Check that the compiler produces executables we can run.  If not, either
   3118 # the compiler is broken, or we cross compile.
   3119 { $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
   3120 $as_echo_n "checking whether the C compiler works... " >&6; }
   3121 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
   3122 # If not cross compiling, check that we can run a simple program.
   3123 if test "$cross_compiling" != yes; then
   3124   if { ac_try='./$ac_file'
   3125   { (case "(($ac_try" in
   3126   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3127   *) ac_try_echo=$ac_try;;
   3128 esac
   3129 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3130 $as_echo "$ac_try_echo") >&5
   3131   (eval "$ac_try") 2>&5
   3132   ac_status=$?
   3133   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3134   (exit $ac_status); }; }; then
   3135     cross_compiling=no
   3136   else
   3137     if test "$cross_compiling" = maybe; then
   3138 	cross_compiling=yes
   3139     else
   3140 	{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   3141 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3142 { { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
   3143 If you meant to cross compile, use \`--host'.
   3144 See \`config.log' for more details." >&5
   3145 $as_echo "$as_me: error: cannot run C compiled programs.
   3146 If you meant to cross compile, use \`--host'.
   3147 See \`config.log' for more details." >&2;}
   3148    { (exit 1); exit 1; }; }; }
   3149     fi
   3150   fi
   3151 fi
   3152 { $as_echo "$as_me:$LINENO: result: yes" >&5
   3153 $as_echo "yes" >&6; }
   3154 
   3155 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   3156 ac_clean_files=$ac_clean_files_save
   3157 # Check that the compiler produces executables we can run.  If not, either
   3158 # the compiler is broken, or we cross compile.
   3159 { $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
   3160 $as_echo_n "checking whether we are cross compiling... " >&6; }
   3161 { $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
   3162 $as_echo "$cross_compiling" >&6; }
   3163 
   3164 { $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
   3165 $as_echo_n "checking for suffix of executables... " >&6; }
   3166 if { (ac_try="$ac_link"
   3167 case "(($ac_try" in
   3168   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3169   *) ac_try_echo=$ac_try;;
   3170 esac
   3171 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3172 $as_echo "$ac_try_echo") >&5
   3173   (eval "$ac_link") 2>&5
   3174   ac_status=$?
   3175   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3176   (exit $ac_status); }; then
   3177   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   3178 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   3179 # work properly (i.e., refer to `conftest.exe'), while it won't with
   3180 # `rm'.
   3181 for ac_file in conftest.exe conftest conftest.*; do
   3182   test -f "$ac_file" || continue
   3183   case $ac_file in
   3184     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3185     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3186 	  break;;
   3187     * ) break;;
   3188   esac
   3189 done
   3190 else
   3191   { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   3192 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3193 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
   3194 See \`config.log' for more details." >&5
   3195 $as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
   3196 See \`config.log' for more details." >&2;}
   3197    { (exit 1); exit 1; }; }; }
   3198 fi
   3199 
   3200 rm -f conftest$ac_cv_exeext
   3201 { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
   3202 $as_echo "$ac_cv_exeext" >&6; }
   3203 
   3204 rm -f conftest.$ac_ext
   3205 EXEEXT=$ac_cv_exeext
   3206 ac_exeext=$EXEEXT
   3207 { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
   3208 $as_echo_n "checking for suffix of object files... " >&6; }
   3209 if test "${ac_cv_objext+set}" = set; then
   3210   $as_echo_n "(cached) " >&6
   3211 else
   3212   cat >conftest.$ac_ext <<_ACEOF
   3213 /* confdefs.h.  */
   3214 _ACEOF
   3215 cat confdefs.h >>conftest.$ac_ext
   3216 cat >>conftest.$ac_ext <<_ACEOF
   3217 /* end confdefs.h.  */
   3218 
   3219 int
   3220 main ()
   3221 {
   3222 
   3223   ;
   3224   return 0;
   3225 }
   3226 _ACEOF
   3227 rm -f conftest.o conftest.obj
   3228 if { (ac_try="$ac_compile"
   3229 case "(($ac_try" in
   3230   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3231   *) ac_try_echo=$ac_try;;
   3232 esac
   3233 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3234 $as_echo "$ac_try_echo") >&5
   3235   (eval "$ac_compile") 2>&5
   3236   ac_status=$?
   3237   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3238   (exit $ac_status); }; then
   3239   for ac_file in conftest.o conftest.obj conftest.*; do
   3240   test -f "$ac_file" || continue;
   3241   case $ac_file in
   3242     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   3243     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   3244        break;;
   3245   esac
   3246 done
   3247 else
   3248   $as_echo "$as_me: failed program was:" >&5
   3249 sed 's/^/| /' conftest.$ac_ext >&5
   3250 
   3251 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   3252 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3253 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
   3254 See \`config.log' for more details." >&5
   3255 $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
   3256 See \`config.log' for more details." >&2;}
   3257    { (exit 1); exit 1; }; }; }
   3258 fi
   3259 
   3260 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   3261 fi
   3262 { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
   3263 $as_echo "$ac_cv_objext" >&6; }
   3264 OBJEXT=$ac_cv_objext
   3265 ac_objext=$OBJEXT
   3266 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
   3267 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
   3268 if test "${ac_cv_c_compiler_gnu+set}" = set; then
   3269   $as_echo_n "(cached) " >&6
   3270 else
   3271   cat >conftest.$ac_ext <<_ACEOF
   3272 /* confdefs.h.  */
   3273 _ACEOF
   3274 cat confdefs.h >>conftest.$ac_ext
   3275 cat >>conftest.$ac_ext <<_ACEOF
   3276 /* end confdefs.h.  */
   3277 
   3278 int
   3279 main ()
   3280 {
   3281 #ifndef __GNUC__
   3282        choke me
   3283 #endif
   3284 
   3285   ;
   3286   return 0;
   3287 }
   3288 _ACEOF
   3289 rm -f conftest.$ac_objext
   3290 if { (ac_try="$ac_compile"
   3291 case "(($ac_try" in
   3292   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3293   *) ac_try_echo=$ac_try;;
   3294 esac
   3295 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3296 $as_echo "$ac_try_echo") >&5
   3297   (eval "$ac_compile") 2>conftest.er1
   3298   ac_status=$?
   3299   grep -v '^ *+' conftest.er1 >conftest.err
   3300   rm -f conftest.er1
   3301   cat conftest.err >&5
   3302   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3303   (exit $ac_status); } && {
   3304 	 test -z "$ac_c_werror_flag" ||
   3305 	 test ! -s conftest.err
   3306        } && test -s conftest.$ac_objext; then
   3307   ac_compiler_gnu=yes
   3308 else
   3309   $as_echo "$as_me: failed program was:" >&5
   3310 sed 's/^/| /' conftest.$ac_ext >&5
   3311 
   3312 	ac_compiler_gnu=no
   3313 fi
   3314 
   3315 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3316 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   3317 
   3318 fi
   3319 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
   3320 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
   3321 if test $ac_compiler_gnu = yes; then
   3322   GCC=yes
   3323 else
   3324   GCC=
   3325 fi
   3326 ac_test_CFLAGS=${CFLAGS+set}
   3327 ac_save_CFLAGS=$CFLAGS
   3328 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
   3329 $as_echo_n "checking whether $CC accepts -g... " >&6; }
   3330 if test "${ac_cv_prog_cc_g+set}" = set; then
   3331   $as_echo_n "(cached) " >&6
   3332 else
   3333   ac_save_c_werror_flag=$ac_c_werror_flag
   3334    ac_c_werror_flag=yes
   3335    ac_cv_prog_cc_g=no
   3336    CFLAGS="-g"
   3337    cat >conftest.$ac_ext <<_ACEOF
   3338 /* confdefs.h.  */
   3339 _ACEOF
   3340 cat confdefs.h >>conftest.$ac_ext
   3341 cat >>conftest.$ac_ext <<_ACEOF
   3342 /* end confdefs.h.  */
   3343 
   3344 int
   3345 main ()
   3346 {
   3347 
   3348   ;
   3349   return 0;
   3350 }
   3351 _ACEOF
   3352 rm -f conftest.$ac_objext
   3353 if { (ac_try="$ac_compile"
   3354 case "(($ac_try" in
   3355   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3356   *) ac_try_echo=$ac_try;;
   3357 esac
   3358 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3359 $as_echo "$ac_try_echo") >&5
   3360   (eval "$ac_compile") 2>conftest.er1
   3361   ac_status=$?
   3362   grep -v '^ *+' conftest.er1 >conftest.err
   3363   rm -f conftest.er1
   3364   cat conftest.err >&5
   3365   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3366   (exit $ac_status); } && {
   3367 	 test -z "$ac_c_werror_flag" ||
   3368 	 test ! -s conftest.err
   3369        } && test -s conftest.$ac_objext; then
   3370   ac_cv_prog_cc_g=yes
   3371 else
   3372   $as_echo "$as_me: failed program was:" >&5
   3373 sed 's/^/| /' conftest.$ac_ext >&5
   3374 
   3375 	CFLAGS=""
   3376       cat >conftest.$ac_ext <<_ACEOF
   3377 /* confdefs.h.  */
   3378 _ACEOF
   3379 cat confdefs.h >>conftest.$ac_ext
   3380 cat >>conftest.$ac_ext <<_ACEOF
   3381 /* end confdefs.h.  */
   3382 
   3383 int
   3384 main ()
   3385 {
   3386 
   3387   ;
   3388   return 0;
   3389 }
   3390 _ACEOF
   3391 rm -f conftest.$ac_objext
   3392 if { (ac_try="$ac_compile"
   3393 case "(($ac_try" in
   3394   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3395   *) ac_try_echo=$ac_try;;
   3396 esac
   3397 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3398 $as_echo "$ac_try_echo") >&5
   3399   (eval "$ac_compile") 2>conftest.er1
   3400   ac_status=$?
   3401   grep -v '^ *+' conftest.er1 >conftest.err
   3402   rm -f conftest.er1
   3403   cat conftest.err >&5
   3404   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3405   (exit $ac_status); } && {
   3406 	 test -z "$ac_c_werror_flag" ||
   3407 	 test ! -s conftest.err
   3408        } && test -s conftest.$ac_objext; then
   3409   :
   3410 else
   3411   $as_echo "$as_me: failed program was:" >&5
   3412 sed 's/^/| /' conftest.$ac_ext >&5
   3413 
   3414 	ac_c_werror_flag=$ac_save_c_werror_flag
   3415 	 CFLAGS="-g"
   3416 	 cat >conftest.$ac_ext <<_ACEOF
   3417 /* confdefs.h.  */
   3418 _ACEOF
   3419 cat confdefs.h >>conftest.$ac_ext
   3420 cat >>conftest.$ac_ext <<_ACEOF
   3421 /* end confdefs.h.  */
   3422 
   3423 int
   3424 main ()
   3425 {
   3426 
   3427   ;
   3428   return 0;
   3429 }
   3430 _ACEOF
   3431 rm -f conftest.$ac_objext
   3432 if { (ac_try="$ac_compile"
   3433 case "(($ac_try" in
   3434   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3435   *) ac_try_echo=$ac_try;;
   3436 esac
   3437 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3438 $as_echo "$ac_try_echo") >&5
   3439   (eval "$ac_compile") 2>conftest.er1
   3440   ac_status=$?
   3441   grep -v '^ *+' conftest.er1 >conftest.err
   3442   rm -f conftest.er1
   3443   cat conftest.err >&5
   3444   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3445   (exit $ac_status); } && {
   3446 	 test -z "$ac_c_werror_flag" ||
   3447 	 test ! -s conftest.err
   3448        } && test -s conftest.$ac_objext; then
   3449   ac_cv_prog_cc_g=yes
   3450 else
   3451   $as_echo "$as_me: failed program was:" >&5
   3452 sed 's/^/| /' conftest.$ac_ext >&5
   3453 
   3454 
   3455 fi
   3456 
   3457 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3458 fi
   3459 
   3460 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3461 fi
   3462 
   3463 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3464    ac_c_werror_flag=$ac_save_c_werror_flag
   3465 fi
   3466 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
   3467 $as_echo "$ac_cv_prog_cc_g" >&6; }
   3468 if test "$ac_test_CFLAGS" = set; then
   3469   CFLAGS=$ac_save_CFLAGS
   3470 elif test $ac_cv_prog_cc_g = yes; then
   3471   if test "$GCC" = yes; then
   3472     CFLAGS="-g -O2"
   3473   else
   3474     CFLAGS="-g"
   3475   fi
   3476 else
   3477   if test "$GCC" = yes; then
   3478     CFLAGS="-O2"
   3479   else
   3480     CFLAGS=
   3481   fi
   3482 fi
   3483 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
   3484 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
   3485 if test "${ac_cv_prog_cc_c89+set}" = set; then
   3486   $as_echo_n "(cached) " >&6
   3487 else
   3488   ac_cv_prog_cc_c89=no
   3489 ac_save_CC=$CC
   3490 cat >conftest.$ac_ext <<_ACEOF
   3491 /* confdefs.h.  */
   3492 _ACEOF
   3493 cat confdefs.h >>conftest.$ac_ext
   3494 cat >>conftest.$ac_ext <<_ACEOF
   3495 /* end confdefs.h.  */
   3496 #include <stdarg.h>
   3497 #include <stdio.h>
   3498 #include <sys/types.h>
   3499 #include <sys/stat.h>
   3500 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   3501 struct buf { int x; };
   3502 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   3503 static char *e (p, i)
   3504      char **p;
   3505      int i;
   3506 {
   3507   return p[i];
   3508 }
   3509 static char *f (char * (*g) (char **, int), char **p, ...)
   3510 {
   3511   char *s;
   3512   va_list v;
   3513   va_start (v,p);
   3514   s = g (p, va_arg (v,int));
   3515   va_end (v);
   3516   return s;
   3517 }
   3518 
   3519 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   3520    function prototypes and stuff, but not '\xHH' hex character constants.
   3521    These don't provoke an error unfortunately, instead are silently treated
   3522    as 'x'.  The following induces an error, until -std is added to get
   3523    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   3524    array size at least.  It's necessary to write '\x00'==0 to get something
   3525    that's true only with -std.  */
   3526 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   3527 
   3528 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   3529    inside strings and character constants.  */
   3530 #define FOO(x) 'x'
   3531 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   3532 
   3533 int test (int i, double x);
   3534 struct s1 {int (*f) (int a);};
   3535 struct s2 {int (*f) (double a);};
   3536 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   3537 int argc;
   3538 char **argv;
   3539 int
   3540 main ()
   3541 {
   3542 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   3543   ;
   3544   return 0;
   3545 }
   3546 _ACEOF
   3547 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   3548 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   3549 do
   3550   CC="$ac_save_CC $ac_arg"
   3551   rm -f conftest.$ac_objext
   3552 if { (ac_try="$ac_compile"
   3553 case "(($ac_try" in
   3554   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3555   *) ac_try_echo=$ac_try;;
   3556 esac
   3557 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3558 $as_echo "$ac_try_echo") >&5
   3559   (eval "$ac_compile") 2>conftest.er1
   3560   ac_status=$?
   3561   grep -v '^ *+' conftest.er1 >conftest.err
   3562   rm -f conftest.er1
   3563   cat conftest.err >&5
   3564   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3565   (exit $ac_status); } && {
   3566 	 test -z "$ac_c_werror_flag" ||
   3567 	 test ! -s conftest.err
   3568        } && test -s conftest.$ac_objext; then
   3569   ac_cv_prog_cc_c89=$ac_arg
   3570 else
   3571   $as_echo "$as_me: failed program was:" >&5
   3572 sed 's/^/| /' conftest.$ac_ext >&5
   3573 
   3574 
   3575 fi
   3576 
   3577 rm -f core conftest.err conftest.$ac_objext
   3578   test "x$ac_cv_prog_cc_c89" != "xno" && break
   3579 done
   3580 rm -f conftest.$ac_ext
   3581 CC=$ac_save_CC
   3582 
   3583 fi
   3584 # AC_CACHE_VAL
   3585 case "x$ac_cv_prog_cc_c89" in
   3586   x)
   3587     { $as_echo "$as_me:$LINENO: result: none needed" >&5
   3588 $as_echo "none needed" >&6; } ;;
   3589   xno)
   3590     { $as_echo "$as_me:$LINENO: result: unsupported" >&5
   3591 $as_echo "unsupported" >&6; } ;;
   3592   *)
   3593     CC="$CC $ac_cv_prog_cc_c89"
   3594     { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
   3595 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
   3596 esac
   3597 
   3598 
   3599 ac_ext=c
   3600 ac_cpp='$CPP $CPPFLAGS'
   3601 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3602 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3603 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3604 DEPDIR="${am__leading_dot}deps"
   3605 
   3606 ac_config_commands="$ac_config_commands depfiles"
   3607 
   3608 
   3609 am_make=${MAKE-make}
   3610 cat > confinc << 'END'
   3611 am__doit:
   3612 	@echo this is the am__doit target
   3613 .PHONY: am__doit
   3614 END
   3615 # If we don't find an include directive, just comment out the code.
   3616 { $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
   3617 $as_echo_n "checking for style of include used by $am_make... " >&6; }
   3618 am__include="#"
   3619 am__quote=
   3620 _am_result=none
   3621 # First try GNU make style include.
   3622 echo "include confinc" > confmf
   3623 # Ignore all kinds of additional output from `make'.
   3624 case `$am_make -s -f confmf 2> /dev/null` in #(
   3625 *the\ am__doit\ target*)
   3626   am__include=include
   3627   am__quote=
   3628   _am_result=GNU
   3629   ;;
   3630 esac
   3631 # Now try BSD make style include.
   3632 if test "$am__include" = "#"; then
   3633    echo '.include "confinc"' > confmf
   3634    case `$am_make -s -f confmf 2> /dev/null` in #(
   3635    *the\ am__doit\ target*)
   3636      am__include=.include
   3637      am__quote="\""
   3638      _am_result=BSD
   3639      ;;
   3640    esac
   3641 fi
   3642 
   3643 
   3644 { $as_echo "$as_me:$LINENO: result: $_am_result" >&5
   3645 $as_echo "$_am_result" >&6; }
   3646 rm -f confinc confmf
   3647 
   3648 # Check whether --enable-dependency-tracking was given.
   3649 if test "${enable_dependency_tracking+set}" = set; then
   3650   enableval=$enable_dependency_tracking;
   3651 fi
   3652 
   3653 if test "x$enable_dependency_tracking" != xno; then
   3654   am_depcomp="$ac_aux_dir/depcomp"
   3655   AMDEPBACKSLASH='\'
   3656 fi
   3657  if test "x$enable_dependency_tracking" != xno; then
   3658   AMDEP_TRUE=
   3659   AMDEP_FALSE='#'
   3660 else
   3661   AMDEP_TRUE='#'
   3662   AMDEP_FALSE=
   3663 fi
   3664 
   3665 
   3666 
   3667 depcc="$CC"   am_compiler_list=
   3668 
   3669 { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
   3670 $as_echo_n "checking dependency style of $depcc... " >&6; }
   3671 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
   3672   $as_echo_n "(cached) " >&6
   3673 else
   3674   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   3675   # We make a subdir and do the tests there.  Otherwise we can end up
   3676   # making bogus files that we don't know about and never remove.  For
   3677   # instance it was reported that on HP-UX the gcc test will end up
   3678   # making a dummy file named `D' -- because `-MD' means `put the output
   3679   # in D'.
   3680   mkdir conftest.dir
   3681   # Copy depcomp to subdir because otherwise we won't find it if we're
   3682   # using a relative directory.
   3683   cp "$am_depcomp" conftest.dir
   3684   cd conftest.dir
   3685   # We will build objects and dependencies in a subdirectory because
   3686   # it helps to detect inapplicable dependency modes.  For instance
   3687   # both Tru64's cc and ICC support -MD to output dependencies as a
   3688   # side effect of compilation, but ICC will put the dependencies in
   3689   # the current directory while Tru64 will put them in the object
   3690   # directory.
   3691   mkdir sub
   3692 
   3693   am_cv_CC_dependencies_compiler_type=none
   3694   if test "$am_compiler_list" = ""; then
   3695      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   3696   fi
   3697   am__universal=false
   3698   case " $depcc " in #(
   3699      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   3700      esac
   3701 
   3702   for depmode in $am_compiler_list; do
   3703     # Setup a source with many dependencies, because some compilers
   3704     # like to wrap large dependency lists on column 80 (with \), and
   3705     # we should not choose a depcomp mode which is confused by this.
   3706     #
   3707     # We need to recreate these files for each test, as the compiler may
   3708     # overwrite some of them when testing with obscure command lines.
   3709     # This happens at least with the AIX C compiler.
   3710     : > sub/conftest.c
   3711     for i in 1 2 3 4 5 6; do
   3712       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   3713       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
   3714       # Solaris 8's {/usr,}/bin/sh.
   3715       touch sub/conftst$i.h
   3716     done
   3717     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   3718 
   3719     # We check with `-c' and `-o' for the sake of the "dashmstdout"
   3720     # mode.  It turns out that the SunPro C++ compiler does not properly
   3721     # handle `-M -o', and we need to detect this.  Also, some Intel
   3722     # versions had trouble with output in subdirs
   3723     am__obj=sub/conftest.${OBJEXT-o}
   3724     am__minus_obj="-o $am__obj"
   3725     case $depmode in
   3726     gcc)
   3727       # This depmode causes a compiler race in universal mode.
   3728       test "$am__universal" = false || continue
   3729       ;;
   3730     nosideeffect)
   3731       # after this tag, mechanisms are not by side-effect, so they'll
   3732       # only be used when explicitly requested
   3733       if test "x$enable_dependency_tracking" = xyes; then
   3734 	continue
   3735       else
   3736 	break
   3737       fi
   3738       ;;
   3739     msvisualcpp | msvcmsys)
   3740       # This compiler won't grok `-c -o', but also, the minuso test has
   3741       # not run yet.  These depmodes are late enough in the game, and
   3742       # so weak that their functioning should not be impacted.
   3743       am__obj=conftest.${OBJEXT-o}
   3744       am__minus_obj=
   3745       ;;
   3746     none) break ;;
   3747     esac
   3748     if depmode=$depmode \
   3749        source=sub/conftest.c object=$am__obj \
   3750        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   3751        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   3752          >/dev/null 2>conftest.err &&
   3753        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   3754        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   3755        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   3756        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   3757       # icc doesn't choke on unknown options, it will just issue warnings
   3758       # or remarks (even with -Werror).  So we grep stderr for any message
   3759       # that says an option was ignored or not supported.
   3760       # When given -MP, icc 7.0 and 7.1 complain thusly:
   3761       #   icc: Command line warning: ignoring option '-M'; no argument required
   3762       # The diagnosis changed in icc 8.0:
   3763       #   icc: Command line remark: option '-MP' not supported
   3764       if (grep 'ignoring option' conftest.err ||
   3765           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   3766         am_cv_CC_dependencies_compiler_type=$depmode
   3767         break
   3768       fi
   3769     fi
   3770   done
   3771 
   3772   cd ..
   3773   rm -rf conftest.dir
   3774 else
   3775   am_cv_CC_dependencies_compiler_type=none
   3776 fi
   3777 
   3778 fi
   3779 { $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
   3780 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
   3781 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   3782 
   3783  if
   3784   test "x$enable_dependency_tracking" != xno \
   3785   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   3786   am__fastdepCC_TRUE=
   3787   am__fastdepCC_FALSE='#'
   3788 else
   3789   am__fastdepCC_TRUE='#'
   3790   am__fastdepCC_FALSE=
   3791 fi
   3792 
   3793 
   3794 # Check whether --enable-shared was given.
   3795 if test "${enable_shared+set}" = set; then
   3796   enableval=$enable_shared; p=${PACKAGE-default}
   3797     case $enableval in
   3798     yes) enable_shared=yes ;;
   3799     no) enable_shared=no ;;
   3800     *)
   3801       enable_shared=no
   3802       # Look at the argument we got.  We use all the common list separators.
   3803       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   3804       for pkg in $enableval; do
   3805 	IFS="$lt_save_ifs"
   3806 	if test "X$pkg" = "X$p"; then
   3807 	  enable_shared=yes
   3808 	fi
   3809       done
   3810       IFS="$lt_save_ifs"
   3811       ;;
   3812     esac
   3813 else
   3814   enable_shared=yes
   3815 fi
   3816 
   3817 
   3818 # Check whether --enable-static was given.
   3819 if test "${enable_static+set}" = set; then
   3820   enableval=$enable_static; p=${PACKAGE-default}
   3821     case $enableval in
   3822     yes) enable_static=yes ;;
   3823     no) enable_static=no ;;
   3824     *)
   3825      enable_static=no
   3826       # Look at the argument we got.  We use all the common list separators.
   3827       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   3828       for pkg in $enableval; do
   3829 	IFS="$lt_save_ifs"
   3830 	if test "X$pkg" = "X$p"; then
   3831 	  enable_static=yes
   3832 	fi
   3833       done
   3834       IFS="$lt_save_ifs"
   3835       ;;
   3836     esac
   3837 else
   3838   enable_static=yes
   3839 fi
   3840 
   3841 
   3842 # Check whether --enable-fast-install was given.
   3843 if test "${enable_fast_install+set}" = set; then
   3844   enableval=$enable_fast_install; p=${PACKAGE-default}
   3845     case $enableval in
   3846     yes) enable_fast_install=yes ;;
   3847     no) enable_fast_install=no ;;
   3848     *)
   3849       enable_fast_install=no
   3850       # Look at the argument we got.  We use all the common list separators.
   3851       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   3852       for pkg in $enableval; do
   3853 	IFS="$lt_save_ifs"
   3854 	if test "X$pkg" = "X$p"; then
   3855 	  enable_fast_install=yes
   3856 	fi
   3857       done
   3858       IFS="$lt_save_ifs"
   3859       ;;
   3860     esac
   3861 else
   3862   enable_fast_install=yes
   3863 fi
   3864 
   3865 
   3866 # Make sure we can run config.sub.
   3867 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
   3868   { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
   3869 $as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
   3870    { (exit 1); exit 1; }; }
   3871 
   3872 { $as_echo "$as_me:$LINENO: checking build system type" >&5
   3873 $as_echo_n "checking build system type... " >&6; }
   3874 if test "${ac_cv_build+set}" = set; then
   3875   $as_echo_n "(cached) " >&6
   3876 else
   3877   ac_build_alias=$build_alias
   3878 test "x$ac_build_alias" = x &&
   3879   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
   3880 test "x$ac_build_alias" = x &&
   3881   { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
   3882 $as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
   3883    { (exit 1); exit 1; }; }
   3884 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
   3885   { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
   3886 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
   3887    { (exit 1); exit 1; }; }
   3888 
   3889 fi
   3890 { $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
   3891 $as_echo "$ac_cv_build" >&6; }
   3892 case $ac_cv_build in
   3893 *-*-*) ;;
   3894 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
   3895 $as_echo "$as_me: error: invalid value of canonical build" >&2;}
   3896    { (exit 1); exit 1; }; };;
   3897 esac
   3898 build=$ac_cv_build
   3899 ac_save_IFS=$IFS; IFS='-'
   3900 set x $ac_cv_build
   3901 shift
   3902 build_cpu=$1
   3903 build_vendor=$2
   3904 shift; shift
   3905 # Remember, the first character of IFS is used to create $*,
   3906 # except with old shells:
   3907 build_os=$*
   3908 IFS=$ac_save_IFS
   3909 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   3910 
   3911 
   3912 { $as_echo "$as_me:$LINENO: checking host system type" >&5
   3913 $as_echo_n "checking host system type... " >&6; }
   3914 if test "${ac_cv_host+set}" = set; then
   3915   $as_echo_n "(cached) " >&6
   3916 else
   3917   if test "x$host_alias" = x; then
   3918   ac_cv_host=$ac_cv_build
   3919 else
   3920   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
   3921     { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
   3922 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
   3923    { (exit 1); exit 1; }; }
   3924 fi
   3925 
   3926 fi
   3927 { $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
   3928 $as_echo "$ac_cv_host" >&6; }
   3929 case $ac_cv_host in
   3930 *-*-*) ;;
   3931 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
   3932 $as_echo "$as_me: error: invalid value of canonical host" >&2;}
   3933    { (exit 1); exit 1; }; };;
   3934 esac
   3935 host=$ac_cv_host
   3936 ac_save_IFS=$IFS; IFS='-'
   3937 set x $ac_cv_host
   3938 shift
   3939 host_cpu=$1
   3940 host_vendor=$2
   3941 shift; shift
   3942 # Remember, the first character of IFS is used to create $*,
   3943 # except with old shells:
   3944 host_os=$*
   3945 IFS=$ac_save_IFS
   3946 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   3947 
   3948 
   3949 { $as_echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
   3950 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
   3951 if test "${lt_cv_path_SED+set}" = set; then
   3952   $as_echo_n "(cached) " >&6
   3953 else
   3954   # Loop through the user's path and test for sed and gsed.
   3955 # Then use that list of sed's as ones to test for truncation.
   3956 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3957 for as_dir in $PATH
   3958 do
   3959   IFS=$as_save_IFS
   3960   test -z "$as_dir" && as_dir=.
   3961   for lt_ac_prog in sed gsed; do
   3962     for ac_exec_ext in '' $ac_executable_extensions; do
   3963       if { test -f "$as_dir/$lt_ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$lt_ac_prog$ac_exec_ext"; }; then
   3964         lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
   3965       fi
   3966     done
   3967   done
   3968 done
   3969 IFS=$as_save_IFS
   3970 lt_ac_max=0
   3971 lt_ac_count=0
   3972 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
   3973 # along with /bin/sed that truncates output.
   3974 for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
   3975   test ! -f $lt_ac_sed && continue
   3976   cat /dev/null > conftest.in
   3977   lt_ac_count=0
   3978   echo $ECHO_N "0123456789$ECHO_C" >conftest.in
   3979   # Check for GNU sed and select it if it is found.
   3980   if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
   3981     lt_cv_path_SED=$lt_ac_sed
   3982     break
   3983   fi
   3984   while true; do
   3985     cat conftest.in conftest.in >conftest.tmp
   3986     mv conftest.tmp conftest.in
   3987     cp conftest.in conftest.nl
   3988     echo >>conftest.nl
   3989     $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
   3990     cmp -s conftest.out conftest.nl || break
   3991     # 10000 chars as input seems more than enough
   3992     test $lt_ac_count -gt 10 && break
   3993     lt_ac_count=`expr $lt_ac_count + 1`
   3994     if test $lt_ac_count -gt $lt_ac_max; then
   3995       lt_ac_max=$lt_ac_count
   3996       lt_cv_path_SED=$lt_ac_sed
   3997     fi
   3998   done
   3999 done
   4000 
   4001 fi
   4002 
   4003 SED=$lt_cv_path_SED
   4004 
   4005 { $as_echo "$as_me:$LINENO: result: $SED" >&5
   4006 $as_echo "$SED" >&6; }
   4007 
   4008 { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
   4009 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
   4010 if test "${ac_cv_path_GREP+set}" = set; then
   4011   $as_echo_n "(cached) " >&6
   4012 else
   4013   if test -z "$GREP"; then
   4014   ac_path_GREP_found=false
   4015   # Loop through the user's path and test for each of PROGNAME-LIST
   4016   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4017 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4018 do
   4019   IFS=$as_save_IFS
   4020   test -z "$as_dir" && as_dir=.
   4021   for ac_prog in grep ggrep; do
   4022     for ac_exec_ext in '' $ac_executable_extensions; do
   4023       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
   4024       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
   4025 # Check for GNU ac_path_GREP and select it if it is found.
   4026   # Check for GNU $ac_path_GREP
   4027 case `"$ac_path_GREP" --version 2>&1` in
   4028 *GNU*)
   4029   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   4030 *)
   4031   ac_count=0
   4032   $as_echo_n 0123456789 >"conftest.in"
   4033   while :
   4034   do
   4035     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4036     mv "conftest.tmp" "conftest.in"
   4037     cp "conftest.in" "conftest.nl"
   4038     $as_echo 'GREP' >> "conftest.nl"
   4039     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4040     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4041     ac_count=`expr $ac_count + 1`
   4042     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   4043       # Best one so far, save it but keep looking for a better one
   4044       ac_cv_path_GREP="$ac_path_GREP"
   4045       ac_path_GREP_max=$ac_count
   4046     fi
   4047     # 10*(2^10) chars as input seems more than enough
   4048     test $ac_count -gt 10 && break
   4049   done
   4050   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4051 esac
   4052 
   4053       $ac_path_GREP_found && break 3
   4054     done
   4055   done
   4056 done
   4057 IFS=$as_save_IFS
   4058   if test -z "$ac_cv_path_GREP"; then
   4059     { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
   4060 $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
   4061    { (exit 1); exit 1; }; }
   4062   fi
   4063 else
   4064   ac_cv_path_GREP=$GREP
   4065 fi
   4066 
   4067 fi
   4068 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
   4069 $as_echo "$ac_cv_path_GREP" >&6; }
   4070  GREP="$ac_cv_path_GREP"
   4071 
   4072 
   4073 { $as_echo "$as_me:$LINENO: checking for egrep" >&5
   4074 $as_echo_n "checking for egrep... " >&6; }
   4075 if test "${ac_cv_path_EGREP+set}" = set; then
   4076   $as_echo_n "(cached) " >&6
   4077 else
   4078   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   4079    then ac_cv_path_EGREP="$GREP -E"
   4080    else
   4081      if test -z "$EGREP"; then
   4082   ac_path_EGREP_found=false
   4083   # Loop through the user's path and test for each of PROGNAME-LIST
   4084   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4085 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4086 do
   4087   IFS=$as_save_IFS
   4088   test -z "$as_dir" && as_dir=.
   4089   for ac_prog in egrep; do
   4090     for ac_exec_ext in '' $ac_executable_extensions; do
   4091       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
   4092       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
   4093 # Check for GNU ac_path_EGREP and select it if it is found.
   4094   # Check for GNU $ac_path_EGREP
   4095 case `"$ac_path_EGREP" --version 2>&1` in
   4096 *GNU*)
   4097   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   4098 *)
   4099   ac_count=0
   4100   $as_echo_n 0123456789 >"conftest.in"
   4101   while :
   4102   do
   4103     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4104     mv "conftest.tmp" "conftest.in"
   4105     cp "conftest.in" "conftest.nl"
   4106     $as_echo 'EGREP' >> "conftest.nl"
   4107     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4108     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4109     ac_count=`expr $ac_count + 1`
   4110     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   4111       # Best one so far, save it but keep looking for a better one
   4112       ac_cv_path_EGREP="$ac_path_EGREP"
   4113       ac_path_EGREP_max=$ac_count
   4114     fi
   4115     # 10*(2^10) chars as input seems more than enough
   4116     test $ac_count -gt 10 && break
   4117   done
   4118   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4119 esac
   4120 
   4121       $ac_path_EGREP_found && break 3
   4122     done
   4123   done
   4124 done
   4125 IFS=$as_save_IFS
   4126   if test -z "$ac_cv_path_EGREP"; then
   4127     { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
   4128 $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
   4129    { (exit 1); exit 1; }; }
   4130   fi
   4131 else
   4132   ac_cv_path_EGREP=$EGREP
   4133 fi
   4134 
   4135    fi
   4136 fi
   4137 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
   4138 $as_echo "$ac_cv_path_EGREP" >&6; }
   4139  EGREP="$ac_cv_path_EGREP"
   4140 
   4141 
   4142 
   4143 # Check whether --with-gnu-ld was given.
   4144 if test "${with_gnu_ld+set}" = set; then
   4145   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
   4146 else
   4147   with_gnu_ld=no
   4148 fi
   4149 
   4150 ac_prog=ld
   4151 if test "$GCC" = yes; then
   4152   # Check if gcc -print-prog-name=ld gives a path.
   4153   { $as_echo "$as_me:$LINENO: checking for ld used by $CC" >&5
   4154 $as_echo_n "checking for ld used by $CC... " >&6; }
   4155   case $host in
   4156   *-*-mingw*)
   4157     # gcc leaves a trailing carriage return which upsets mingw
   4158     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   4159   *)
   4160     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   4161   esac
   4162   case $ac_prog in
   4163     # Accept absolute paths.
   4164     [\\/]* | ?:[\\/]*)
   4165       re_direlt='/[^/][^/]*/\.\./'
   4166       # Canonicalize the pathname of ld
   4167       ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
   4168       while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
   4169 	ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
   4170       done
   4171       test -z "$LD" && LD="$ac_prog"
   4172       ;;
   4173   "")
   4174     # If it fails, then pretend we aren't using GCC.
   4175     ac_prog=ld
   4176     ;;
   4177   *)
   4178     # If it is relative, then search for the first ld in PATH.
   4179     with_gnu_ld=unknown
   4180     ;;
   4181   esac
   4182 elif test "$with_gnu_ld" = yes; then
   4183   { $as_echo "$as_me:$LINENO: checking for GNU ld" >&5
   4184 $as_echo_n "checking for GNU ld... " >&6; }
   4185 else
   4186   { $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5
   4187 $as_echo_n "checking for non-GNU ld... " >&6; }
   4188 fi
   4189 if test "${lt_cv_path_LD+set}" = set; then
   4190   $as_echo_n "(cached) " >&6
   4191 else
   4192   if test -z "$LD"; then
   4193   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   4194   for ac_dir in $PATH; do
   4195     IFS="$lt_save_ifs"
   4196     test -z "$ac_dir" && ac_dir=.
   4197     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   4198       lt_cv_path_LD="$ac_dir/$ac_prog"
   4199       # Check to see if the program is GNU ld.  I'd rather use --version,
   4200       # but apparently some variants of GNU ld only accept -v.
   4201       # Break only if it was the GNU/non-GNU ld that we prefer.
   4202       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   4203       *GNU* | *'with BFD'*)
   4204 	test "$with_gnu_ld" != no && break
   4205 	;;
   4206       *)
   4207 	test "$with_gnu_ld" != yes && break
   4208 	;;
   4209       esac
   4210     fi
   4211   done
   4212   IFS="$lt_save_ifs"
   4213 else
   4214   lt_cv_path_LD="$LD" # Let the user override the test with a path.
   4215 fi
   4216 fi
   4217 
   4218 LD="$lt_cv_path_LD"
   4219 if test -n "$LD"; then
   4220   { $as_echo "$as_me:$LINENO: result: $LD" >&5
   4221 $as_echo "$LD" >&6; }
   4222 else
   4223   { $as_echo "$as_me:$LINENO: result: no" >&5
   4224 $as_echo "no" >&6; }
   4225 fi
   4226 test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
   4227 $as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
   4228    { (exit 1); exit 1; }; }
   4229 { $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
   4230 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
   4231 if test "${lt_cv_prog_gnu_ld+set}" = set; then
   4232   $as_echo_n "(cached) " >&6
   4233 else
   4234   # I'd rather use --version here, but apparently some GNU lds only accept -v.
   4235 case `$LD -v 2>&1 </dev/null` in
   4236 *GNU* | *'with BFD'*)
   4237   lt_cv_prog_gnu_ld=yes
   4238   ;;
   4239 *)
   4240   lt_cv_prog_gnu_ld=no
   4241   ;;
   4242 esac
   4243 fi
   4244 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
   4245 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
   4246 with_gnu_ld=$lt_cv_prog_gnu_ld
   4247 
   4248 
   4249 { $as_echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
   4250 $as_echo_n "checking for $LD option to reload object files... " >&6; }
   4251 if test "${lt_cv_ld_reload_flag+set}" = set; then
   4252   $as_echo_n "(cached) " >&6
   4253 else
   4254   lt_cv_ld_reload_flag='-r'
   4255 fi
   4256 { $as_echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
   4257 $as_echo "$lt_cv_ld_reload_flag" >&6; }
   4258 reload_flag=$lt_cv_ld_reload_flag
   4259 case $reload_flag in
   4260 "" | " "*) ;;
   4261 *) reload_flag=" $reload_flag" ;;
   4262 esac
   4263 reload_cmds='$LD$reload_flag -o $output$reload_objs'
   4264 case $host_os in
   4265   darwin*)
   4266     if test "$GCC" = yes; then
   4267       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
   4268     else
   4269       reload_cmds='$LD$reload_flag -o $output$reload_objs'
   4270     fi
   4271     ;;
   4272 esac
   4273 
   4274 { $as_echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
   4275 $as_echo_n "checking for BSD-compatible nm... " >&6; }
   4276 if test "${lt_cv_path_NM+set}" = set; then
   4277   $as_echo_n "(cached) " >&6
   4278 else
   4279   if test -n "$NM"; then
   4280   # Let the user override the test.
   4281   lt_cv_path_NM="$NM"
   4282 else
   4283   lt_nm_to_check="${ac_tool_prefix}nm"
   4284   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
   4285     lt_nm_to_check="$lt_nm_to_check nm"
   4286   fi
   4287   for lt_tmp_nm in $lt_nm_to_check; do
   4288     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   4289     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
   4290       IFS="$lt_save_ifs"
   4291       test -z "$ac_dir" && ac_dir=.
   4292       tmp_nm="$ac_dir/$lt_tmp_nm"
   4293       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
   4294 	# Check to see if the nm accepts a BSD-compat flag.
   4295 	# Adding the `sed 1q' prevents false positives on HP-UX, which says:
   4296 	#   nm: unknown option "B" ignored
   4297 	# Tru64's nm complains that /dev/null is an invalid object file
   4298 	case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
   4299 	*/dev/null* | *'Invalid file or object type'*)
   4300 	  lt_cv_path_NM="$tmp_nm -B"
   4301 	  break
   4302 	  ;;
   4303 	*)
   4304 	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
   4305 	  */dev/null*)
   4306 	    lt_cv_path_NM="$tmp_nm -p"
   4307 	    break
   4308 	    ;;
   4309 	  *)
   4310 	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
   4311 	    continue # so that we can try to find one that supports BSD flags
   4312 	    ;;
   4313 	  esac
   4314 	  ;;
   4315 	esac
   4316       fi
   4317     done
   4318     IFS="$lt_save_ifs"
   4319   done
   4320   test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
   4321 fi
   4322 fi
   4323 { $as_echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
   4324 $as_echo "$lt_cv_path_NM" >&6; }
   4325 NM="$lt_cv_path_NM"
   4326 
   4327 { $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5
   4328 $as_echo_n "checking whether ln -s works... " >&6; }
   4329 LN_S=$as_ln_s
   4330 if test "$LN_S" = "ln -s"; then
   4331   { $as_echo "$as_me:$LINENO: result: yes" >&5
   4332 $as_echo "yes" >&6; }
   4333 else
   4334   { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5
   4335 $as_echo "no, using $LN_S" >&6; }
   4336 fi
   4337 
   4338 { $as_echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
   4339 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
   4340 if test "${lt_cv_deplibs_check_method+set}" = set; then
   4341   $as_echo_n "(cached) " >&6
   4342 else
   4343   lt_cv_file_magic_cmd='$MAGIC_CMD'
   4344 lt_cv_file_magic_test_file=
   4345 lt_cv_deplibs_check_method='unknown'
   4346 # Need to set the preceding variable on all platforms that support
   4347 # interlibrary dependencies.
   4348 # 'none' -- dependencies not supported.
   4349 # `unknown' -- same as none, but documents that we really don't know.
   4350 # 'pass_all' -- all dependencies passed with no checks.
   4351 # 'test_compile' -- check by making test program.
   4352 # 'file_magic [[regex]]' -- check by looking for files in library path
   4353 # which responds to the $file_magic_cmd with a given extended regex.
   4354 # If you have `file' or equivalent on your system and you're not sure
   4355 # whether `pass_all' will *always* work, you probably want this one.
   4356 
   4357 case $host_os in
   4358 aix[4-9]*)
   4359   lt_cv_deplibs_check_method=pass_all
   4360   ;;
   4361 
   4362 beos*)
   4363   lt_cv_deplibs_check_method=pass_all
   4364   ;;
   4365 
   4366 bsdi[45]*)
   4367   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
   4368   lt_cv_file_magic_cmd='/usr/bin/file -L'
   4369   lt_cv_file_magic_test_file=/shlib/libc.so
   4370   ;;
   4371 
   4372 cygwin*)
   4373   # func_win32_libid is a shell function defined in ltmain.sh
   4374   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   4375   lt_cv_file_magic_cmd='func_win32_libid'
   4376   ;;
   4377 
   4378 mingw* | pw32*)
   4379   # Base MSYS/MinGW do not provide the 'file' command needed by
   4380   # func_win32_libid shell function, so use a weaker test based on 'objdump',
   4381   # unless we find 'file', for example because we are cross-compiling.
   4382   if ( file / ) >/dev/null 2>&1; then
   4383     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   4384     lt_cv_file_magic_cmd='func_win32_libid'
   4385   else
   4386     lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
   4387     lt_cv_file_magic_cmd='$OBJDUMP -f'
   4388   fi
   4389   ;;
   4390 
   4391 darwin* | rhapsody*)
   4392   lt_cv_deplibs_check_method=pass_all
   4393   ;;
   4394 
   4395 freebsd* | dragonfly*)
   4396   if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
   4397     case $host_cpu in
   4398     i*86 )
   4399       # Not sure whether the presence of OpenBSD here was a mistake.
   4400       # Let's accept both of them until this is cleared up.
   4401       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
   4402       lt_cv_file_magic_cmd=/usr/bin/file
   4403       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
   4404       ;;
   4405     esac
   4406   else
   4407     lt_cv_deplibs_check_method=pass_all
   4408   fi
   4409   ;;
   4410 
   4411 gnu*)
   4412   lt_cv_deplibs_check_method=pass_all
   4413   ;;
   4414 
   4415 hpux10.20* | hpux11*)
   4416   lt_cv_file_magic_cmd=/usr/bin/file
   4417   case $host_cpu in
   4418   ia64*)
   4419     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
   4420     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
   4421     ;;
   4422   hppa*64*)
   4423     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]'
   4424     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
   4425     ;;
   4426   *)
   4427     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
   4428     lt_cv_file_magic_test_file=/usr/lib/libc.sl
   4429     ;;
   4430   esac
   4431   ;;
   4432 
   4433 interix[3-9]*)
   4434   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
   4435   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
   4436   ;;
   4437 
   4438 irix5* | irix6* | nonstopux*)
   4439   case $LD in
   4440   *-32|*"-32 ") libmagic=32-bit;;
   4441   *-n32|*"-n32 ") libmagic=N32;;
   4442   *-64|*"-64 ") libmagic=64-bit;;
   4443   *) libmagic=never-match;;
   4444   esac
   4445   lt_cv_deplibs_check_method=pass_all
   4446   ;;
   4447 
   4448 # This must be Linux ELF.
   4449 linux* | k*bsd*-gnu)
   4450   lt_cv_deplibs_check_method=pass_all
   4451   ;;
   4452 
   4453 netbsd*)
   4454   if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
   4455     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   4456   else
   4457     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
   4458   fi
   4459   ;;
   4460 
   4461 newos6*)
   4462   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
   4463   lt_cv_file_magic_cmd=/usr/bin/file
   4464   lt_cv_file_magic_test_file=/usr/lib/libnls.so
   4465   ;;
   4466 
   4467 nto-qnx*)
   4468   lt_cv_deplibs_check_method=unknown
   4469   ;;
   4470 
   4471 openbsd*)
   4472   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   4473     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
   4474   else
   4475     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   4476   fi
   4477   ;;
   4478 
   4479 osf3* | osf4* | osf5*)
   4480   lt_cv_deplibs_check_method=pass_all
   4481   ;;
   4482 
   4483 rdos*)
   4484   lt_cv_deplibs_check_method=pass_all
   4485   ;;
   4486 
   4487 solaris*)
   4488   lt_cv_deplibs_check_method=pass_all
   4489   ;;
   4490 
   4491 sysv4 | sysv4.3*)
   4492   case $host_vendor in
   4493   motorola)
   4494     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]'
   4495     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
   4496     ;;
   4497   ncr)
   4498     lt_cv_deplibs_check_method=pass_all
   4499     ;;
   4500   sequent)
   4501     lt_cv_file_magic_cmd='/bin/file'
   4502     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
   4503     ;;
   4504   sni)
   4505     lt_cv_file_magic_cmd='/bin/file'
   4506     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
   4507     lt_cv_file_magic_test_file=/lib/libc.so
   4508     ;;
   4509   siemens)
   4510     lt_cv_deplibs_check_method=pass_all
   4511     ;;
   4512   pc)
   4513     lt_cv_deplibs_check_method=pass_all
   4514     ;;
   4515   esac
   4516   ;;
   4517 
   4518 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   4519   lt_cv_deplibs_check_method=pass_all
   4520   ;;
   4521 esac
   4522 
   4523 fi
   4524 { $as_echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
   4525 $as_echo "$lt_cv_deplibs_check_method" >&6; }
   4526 file_magic_cmd=$lt_cv_file_magic_cmd
   4527 deplibs_check_method=$lt_cv_deplibs_check_method
   4528 test -z "$deplibs_check_method" && deplibs_check_method=unknown
   4529 
   4530 
   4531 
   4532 
   4533 # If no C compiler was specified, use CC.
   4534 LTCC=${LTCC-"$CC"}
   4535 
   4536 # If no C compiler flags were specified, use CFLAGS.
   4537 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   4538 
   4539 # Allow CC to be a program name with arguments.
   4540 compiler=$CC
   4541 
   4542 
   4543 # Check whether --enable-libtool-lock was given.
   4544 if test "${enable_libtool_lock+set}" = set; then
   4545   enableval=$enable_libtool_lock;
   4546 fi
   4547 
   4548 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
   4549 
   4550 # Some flags need to be propagated to the compiler or linker for good
   4551 # libtool support.
   4552 case $host in
   4553 ia64-*-hpux*)
   4554   # Find out which ABI we are using.
   4555   echo 'int i;' > conftest.$ac_ext
   4556   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   4557   (eval $ac_compile) 2>&5
   4558   ac_status=$?
   4559   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4560   (exit $ac_status); }; then
   4561     case `/usr/bin/file conftest.$ac_objext` in
   4562     *ELF-32*)
   4563       HPUX_IA64_MODE="32"
   4564       ;;
   4565     *ELF-64*)
   4566       HPUX_IA64_MODE="64"
   4567       ;;
   4568     esac
   4569   fi
   4570   rm -rf conftest*
   4571   ;;
   4572 *-*-irix6*)
   4573   # Find out which ABI we are using.
   4574   echo '#line 4574 "configure"' > conftest.$ac_ext
   4575   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   4576   (eval $ac_compile) 2>&5
   4577   ac_status=$?
   4578   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4579   (exit $ac_status); }; then
   4580    if test "$lt_cv_prog_gnu_ld" = yes; then
   4581     case `/usr/bin/file conftest.$ac_objext` in
   4582     *32-bit*)
   4583       LD="${LD-ld} -melf32bsmip"
   4584       ;;
   4585     *N32*)
   4586       LD="${LD-ld} -melf32bmipn32"
   4587       ;;
   4588     *64-bit*)
   4589       LD="${LD-ld} -melf64bmip"
   4590       ;;
   4591     esac
   4592    else
   4593     case `/usr/bin/file conftest.$ac_objext` in
   4594     *32-bit*)
   4595       LD="${LD-ld} -32"
   4596       ;;
   4597     *N32*)
   4598       LD="${LD-ld} -n32"
   4599       ;;
   4600     *64-bit*)
   4601       LD="${LD-ld} -64"
   4602       ;;
   4603     esac
   4604    fi
   4605   fi
   4606   rm -rf conftest*
   4607   ;;
   4608 
   4609 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
   4610 s390*-*linux*|sparc*-*linux*)
   4611   # Find out which ABI we are using.
   4612   echo 'int i;' > conftest.$ac_ext
   4613   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   4614   (eval $ac_compile) 2>&5
   4615   ac_status=$?
   4616   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4617   (exit $ac_status); }; then
   4618     case `/usr/bin/file conftest.o` in
   4619     *32-bit*)
   4620       case $host in
   4621         x86_64-*kfreebsd*-gnu)
   4622           LD="${LD-ld} -m elf_i386_fbsd"
   4623           ;;
   4624         x86_64-*linux*)
   4625           LD="${LD-ld} -m elf_i386"
   4626           ;;
   4627         ppc64-*linux*|powerpc64-*linux*)
   4628           LD="${LD-ld} -m elf32ppclinux"
   4629           ;;
   4630         s390x-*linux*)
   4631           LD="${LD-ld} -m elf_s390"
   4632           ;;
   4633         sparc64-*linux*)
   4634           LD="${LD-ld} -m elf32_sparc"
   4635           ;;
   4636       esac
   4637       ;;
   4638     *64-bit*)
   4639       case $host in
   4640         x86_64-*kfreebsd*-gnu)
   4641           LD="${LD-ld} -m elf_x86_64_fbsd"
   4642           ;;
   4643         x86_64-*linux*)
   4644           LD="${LD-ld} -m elf_x86_64"
   4645           ;;
   4646         ppc*-*linux*|powerpc*-*linux*)
   4647           LD="${LD-ld} -m elf64ppc"
   4648           ;;
   4649         s390*-*linux*)
   4650           LD="${LD-ld} -m elf64_s390"
   4651           ;;
   4652         sparc*-*linux*)
   4653           LD="${LD-ld} -m elf64_sparc"
   4654           ;;
   4655       esac
   4656       ;;
   4657     esac
   4658   fi
   4659   rm -rf conftest*
   4660   ;;
   4661 
   4662 *-*-sco3.2v5*)
   4663   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
   4664   SAVE_CFLAGS="$CFLAGS"
   4665   CFLAGS="$CFLAGS -belf"
   4666   { $as_echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
   4667 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
   4668 if test "${lt_cv_cc_needs_belf+set}" = set; then
   4669   $as_echo_n "(cached) " >&6
   4670 else
   4671   ac_ext=c
   4672 ac_cpp='$CPP $CPPFLAGS'
   4673 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4674 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4675 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4676 
   4677      cat >conftest.$ac_ext <<_ACEOF
   4678 /* confdefs.h.  */
   4679 _ACEOF
   4680 cat confdefs.h >>conftest.$ac_ext
   4681 cat >>conftest.$ac_ext <<_ACEOF
   4682 /* end confdefs.h.  */
   4683 
   4684 int
   4685 main ()
   4686 {
   4687 
   4688   ;
   4689   return 0;
   4690 }
   4691 _ACEOF
   4692 rm -f conftest.$ac_objext conftest$ac_exeext
   4693 if { (ac_try="$ac_link"
   4694 case "(($ac_try" in
   4695   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4696   *) ac_try_echo=$ac_try;;
   4697 esac
   4698 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   4699 $as_echo "$ac_try_echo") >&5
   4700   (eval "$ac_link") 2>conftest.er1
   4701   ac_status=$?
   4702   grep -v '^ *+' conftest.er1 >conftest.err
   4703   rm -f conftest.er1
   4704   cat conftest.err >&5
   4705   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4706   (exit $ac_status); } && {
   4707 	 test -z "$ac_c_werror_flag" ||
   4708 	 test ! -s conftest.err
   4709        } && test -s conftest$ac_exeext && {
   4710 	 test "$cross_compiling" = yes ||
   4711 	 $as_test_x conftest$ac_exeext
   4712        }; then
   4713   lt_cv_cc_needs_belf=yes
   4714 else
   4715   $as_echo "$as_me: failed program was:" >&5
   4716 sed 's/^/| /' conftest.$ac_ext >&5
   4717 
   4718 	lt_cv_cc_needs_belf=no
   4719 fi
   4720 
   4721 rm -rf conftest.dSYM
   4722 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   4723       conftest$ac_exeext conftest.$ac_ext
   4724      ac_ext=c
   4725 ac_cpp='$CPP $CPPFLAGS'
   4726 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4727 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4728 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4729 
   4730 fi
   4731 { $as_echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
   4732 $as_echo "$lt_cv_cc_needs_belf" >&6; }
   4733   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
   4734     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
   4735     CFLAGS="$SAVE_CFLAGS"
   4736   fi
   4737   ;;
   4738 sparc*-*solaris*)
   4739   # Find out which ABI we are using.
   4740   echo 'int i;' > conftest.$ac_ext
   4741   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   4742   (eval $ac_compile) 2>&5
   4743   ac_status=$?
   4744   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4745   (exit $ac_status); }; then
   4746     case `/usr/bin/file conftest.o` in
   4747     *64-bit*)
   4748       case $lt_cv_prog_gnu_ld in
   4749       yes*) LD="${LD-ld} -m elf64_sparc" ;;
   4750       *)
   4751         if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
   4752 	  LD="${LD-ld} -64"
   4753 	fi
   4754 	;;
   4755       esac
   4756       ;;
   4757     esac
   4758   fi
   4759   rm -rf conftest*
   4760   ;;
   4761 
   4762 
   4763 esac
   4764 
   4765 need_locks="$enable_libtool_lock"
   4766 
   4767 
   4768 ac_ext=c
   4769 ac_cpp='$CPP $CPPFLAGS'
   4770 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4771 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4772 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4773 { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
   4774 $as_echo_n "checking how to run the C preprocessor... " >&6; }
   4775 # On Suns, sometimes $CPP names a directory.
   4776 if test -n "$CPP" && test -d "$CPP"; then
   4777   CPP=
   4778 fi
   4779 if test -z "$CPP"; then
   4780   if test "${ac_cv_prog_CPP+set}" = set; then
   4781   $as_echo_n "(cached) " >&6
   4782 else
   4783       # Double quotes because CPP needs to be expanded
   4784     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
   4785     do
   4786       ac_preproc_ok=false
   4787 for ac_c_preproc_warn_flag in '' yes
   4788 do
   4789   # Use a header file that comes with gcc, so configuring glibc
   4790   # with a fresh cross-compiler works.
   4791   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   4792   # <limits.h> exists even on freestanding compilers.
   4793   # On the NeXT, cc -E runs the code through the compiler's parser,
   4794   # not just through cpp. "Syntax error" is here to catch this case.
   4795   cat >conftest.$ac_ext <<_ACEOF
   4796 /* confdefs.h.  */
   4797 _ACEOF
   4798 cat confdefs.h >>conftest.$ac_ext
   4799 cat >>conftest.$ac_ext <<_ACEOF
   4800 /* end confdefs.h.  */
   4801 #ifdef __STDC__
   4802 # include <limits.h>
   4803 #else
   4804 # include <assert.h>
   4805 #endif
   4806 		     Syntax error
   4807 _ACEOF
   4808 if { (ac_try="$ac_cpp conftest.$ac_ext"
   4809 case "(($ac_try" in
   4810   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4811   *) ac_try_echo=$ac_try;;
   4812 esac
   4813 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   4814 $as_echo "$ac_try_echo") >&5
   4815   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   4816   ac_status=$?
   4817   grep -v '^ *+' conftest.er1 >conftest.err
   4818   rm -f conftest.er1
   4819   cat conftest.err >&5
   4820   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4821   (exit $ac_status); } >/dev/null && {
   4822 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   4823 	 test ! -s conftest.err
   4824        }; then
   4825   :
   4826 else
   4827   $as_echo "$as_me: failed program was:" >&5
   4828 sed 's/^/| /' conftest.$ac_ext >&5
   4829 
   4830   # Broken: fails on valid input.
   4831 continue
   4832 fi
   4833 
   4834 rm -f conftest.err conftest.$ac_ext
   4835 
   4836   # OK, works on sane cases.  Now check whether nonexistent headers
   4837   # can be detected and how.
   4838   cat >conftest.$ac_ext <<_ACEOF
   4839 /* confdefs.h.  */
   4840 _ACEOF
   4841 cat confdefs.h >>conftest.$ac_ext
   4842 cat >>conftest.$ac_ext <<_ACEOF
   4843 /* end confdefs.h.  */
   4844 #include <ac_nonexistent.h>
   4845 _ACEOF
   4846 if { (ac_try="$ac_cpp conftest.$ac_ext"
   4847 case "(($ac_try" in
   4848   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4849   *) ac_try_echo=$ac_try;;
   4850 esac
   4851 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   4852 $as_echo "$ac_try_echo") >&5
   4853   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   4854   ac_status=$?
   4855   grep -v '^ *+' conftest.er1 >conftest.err
   4856   rm -f conftest.er1
   4857   cat conftest.err >&5
   4858   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4859   (exit $ac_status); } >/dev/null && {
   4860 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   4861 	 test ! -s conftest.err
   4862        }; then
   4863   # Broken: success on invalid input.
   4864 continue
   4865 else
   4866   $as_echo "$as_me: failed program was:" >&5
   4867 sed 's/^/| /' conftest.$ac_ext >&5
   4868 
   4869   # Passes both tests.
   4870 ac_preproc_ok=:
   4871 break
   4872 fi
   4873 
   4874 rm -f conftest.err conftest.$ac_ext
   4875 
   4876 done
   4877 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   4878 rm -f conftest.err conftest.$ac_ext
   4879 if $ac_preproc_ok; then
   4880   break
   4881 fi
   4882 
   4883     done
   4884     ac_cv_prog_CPP=$CPP
   4885 
   4886 fi
   4887   CPP=$ac_cv_prog_CPP
   4888 else
   4889   ac_cv_prog_CPP=$CPP
   4890 fi
   4891 { $as_echo "$as_me:$LINENO: result: $CPP" >&5
   4892 $as_echo "$CPP" >&6; }
   4893 ac_preproc_ok=false
   4894 for ac_c_preproc_warn_flag in '' yes
   4895 do
   4896   # Use a header file that comes with gcc, so configuring glibc
   4897   # with a fresh cross-compiler works.
   4898   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   4899   # <limits.h> exists even on freestanding compilers.
   4900   # On the NeXT, cc -E runs the code through the compiler's parser,
   4901   # not just through cpp. "Syntax error" is here to catch this case.
   4902   cat >conftest.$ac_ext <<_ACEOF
   4903 /* confdefs.h.  */
   4904 _ACEOF
   4905 cat confdefs.h >>conftest.$ac_ext
   4906 cat >>conftest.$ac_ext <<_ACEOF
   4907 /* end confdefs.h.  */
   4908 #ifdef __STDC__
   4909 # include <limits.h>
   4910 #else
   4911 # include <assert.h>
   4912 #endif
   4913 		     Syntax error
   4914 _ACEOF
   4915 if { (ac_try="$ac_cpp conftest.$ac_ext"
   4916 case "(($ac_try" in
   4917   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4918   *) ac_try_echo=$ac_try;;
   4919 esac
   4920 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   4921 $as_echo "$ac_try_echo") >&5
   4922   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   4923   ac_status=$?
   4924   grep -v '^ *+' conftest.er1 >conftest.err
   4925   rm -f conftest.er1
   4926   cat conftest.err >&5
   4927   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4928   (exit $ac_status); } >/dev/null && {
   4929 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   4930 	 test ! -s conftest.err
   4931        }; then
   4932   :
   4933 else
   4934   $as_echo "$as_me: failed program was:" >&5
   4935 sed 's/^/| /' conftest.$ac_ext >&5
   4936 
   4937   # Broken: fails on valid input.
   4938 continue
   4939 fi
   4940 
   4941 rm -f conftest.err conftest.$ac_ext
   4942 
   4943   # OK, works on sane cases.  Now check whether nonexistent headers
   4944   # can be detected and how.
   4945   cat >conftest.$ac_ext <<_ACEOF
   4946 /* confdefs.h.  */
   4947 _ACEOF
   4948 cat confdefs.h >>conftest.$ac_ext
   4949 cat >>conftest.$ac_ext <<_ACEOF
   4950 /* end confdefs.h.  */
   4951 #include <ac_nonexistent.h>
   4952 _ACEOF
   4953 if { (ac_try="$ac_cpp conftest.$ac_ext"
   4954 case "(($ac_try" in
   4955   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4956   *) ac_try_echo=$ac_try;;
   4957 esac
   4958 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   4959 $as_echo "$ac_try_echo") >&5
   4960   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   4961   ac_status=$?
   4962   grep -v '^ *+' conftest.er1 >conftest.err
   4963   rm -f conftest.er1
   4964   cat conftest.err >&5
   4965   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4966   (exit $ac_status); } >/dev/null && {
   4967 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   4968 	 test ! -s conftest.err
   4969        }; then
   4970   # Broken: success on invalid input.
   4971 continue
   4972 else
   4973   $as_echo "$as_me: failed program was:" >&5
   4974 sed 's/^/| /' conftest.$ac_ext >&5
   4975 
   4976   # Passes both tests.
   4977 ac_preproc_ok=:
   4978 break
   4979 fi
   4980 
   4981 rm -f conftest.err conftest.$ac_ext
   4982 
   4983 done
   4984 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   4985 rm -f conftest.err conftest.$ac_ext
   4986 if $ac_preproc_ok; then
   4987   :
   4988 else
   4989   { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   4990 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   4991 { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
   4992 See \`config.log' for more details." >&5
   4993 $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
   4994 See \`config.log' for more details." >&2;}
   4995    { (exit 1); exit 1; }; }; }
   4996 fi
   4997 
   4998 ac_ext=c
   4999 ac_cpp='$CPP $CPPFLAGS'
   5000 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5001 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5002 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   5003 
   5004 
   5005 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
   5006 $as_echo_n "checking for ANSI C header files... " >&6; }
   5007 if test "${ac_cv_header_stdc+set}" = set; then
   5008   $as_echo_n "(cached) " >&6
   5009 else
   5010   cat >conftest.$ac_ext <<_ACEOF
   5011 /* confdefs.h.  */
   5012 _ACEOF
   5013 cat confdefs.h >>conftest.$ac_ext
   5014 cat >>conftest.$ac_ext <<_ACEOF
   5015 /* end confdefs.h.  */
   5016 #include <stdlib.h>
   5017 #include <stdarg.h>
   5018 #include <string.h>
   5019 #include <float.h>
   5020 
   5021 int
   5022 main ()
   5023 {
   5024 
   5025   ;
   5026   return 0;
   5027 }
   5028 _ACEOF
   5029 rm -f conftest.$ac_objext
   5030 if { (ac_try="$ac_compile"
   5031 case "(($ac_try" in
   5032   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5033   *) ac_try_echo=$ac_try;;
   5034 esac
   5035 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5036 $as_echo "$ac_try_echo") >&5
   5037   (eval "$ac_compile") 2>conftest.er1
   5038   ac_status=$?
   5039   grep -v '^ *+' conftest.er1 >conftest.err
   5040   rm -f conftest.er1
   5041   cat conftest.err >&5
   5042   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5043   (exit $ac_status); } && {
   5044 	 test -z "$ac_c_werror_flag" ||
   5045 	 test ! -s conftest.err
   5046        } && test -s conftest.$ac_objext; then
   5047   ac_cv_header_stdc=yes
   5048 else
   5049   $as_echo "$as_me: failed program was:" >&5
   5050 sed 's/^/| /' conftest.$ac_ext >&5
   5051 
   5052 	ac_cv_header_stdc=no
   5053 fi
   5054 
   5055 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5056 
   5057 if test $ac_cv_header_stdc = yes; then
   5058   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   5059   cat >conftest.$ac_ext <<_ACEOF
   5060 /* confdefs.h.  */
   5061 _ACEOF
   5062 cat confdefs.h >>conftest.$ac_ext
   5063 cat >>conftest.$ac_ext <<_ACEOF
   5064 /* end confdefs.h.  */
   5065 #include <string.h>
   5066 
   5067 _ACEOF
   5068 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   5069   $EGREP "memchr" >/dev/null 2>&1; then
   5070   :
   5071 else
   5072   ac_cv_header_stdc=no
   5073 fi
   5074 rm -f conftest*
   5075 
   5076 fi
   5077 
   5078 if test $ac_cv_header_stdc = yes; then
   5079   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   5080   cat >conftest.$ac_ext <<_ACEOF
   5081 /* confdefs.h.  */
   5082 _ACEOF
   5083 cat confdefs.h >>conftest.$ac_ext
   5084 cat >>conftest.$ac_ext <<_ACEOF
   5085 /* end confdefs.h.  */
   5086 #include <stdlib.h>
   5087 
   5088 _ACEOF
   5089 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   5090   $EGREP "free" >/dev/null 2>&1; then
   5091   :
   5092 else
   5093   ac_cv_header_stdc=no
   5094 fi
   5095 rm -f conftest*
   5096 
   5097 fi
   5098 
   5099 if test $ac_cv_header_stdc = yes; then
   5100   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   5101   if test "$cross_compiling" = yes; then
   5102   :
   5103 else
   5104   cat >conftest.$ac_ext <<_ACEOF
   5105 /* confdefs.h.  */
   5106 _ACEOF
   5107 cat confdefs.h >>conftest.$ac_ext
   5108 cat >>conftest.$ac_ext <<_ACEOF
   5109 /* end confdefs.h.  */
   5110 #include <ctype.h>
   5111 #include <stdlib.h>
   5112 #if ((' ' & 0x0FF) == 0x020)
   5113 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   5114 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   5115 #else
   5116 # define ISLOWER(c) \
   5117 		   (('a' <= (c) && (c) <= 'i') \
   5118 		     || ('j' <= (c) && (c) <= 'r') \
   5119 		     || ('s' <= (c) && (c) <= 'z'))
   5120 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   5121 #endif
   5122 
   5123 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   5124 int
   5125 main ()
   5126 {
   5127   int i;
   5128   for (i = 0; i < 256; i++)
   5129     if (XOR (islower (i), ISLOWER (i))
   5130 	|| toupper (i) != TOUPPER (i))
   5131       return 2;
   5132   return 0;
   5133 }
   5134 _ACEOF
   5135 rm -f conftest$ac_exeext
   5136 if { (ac_try="$ac_link"
   5137 case "(($ac_try" in
   5138   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5139   *) ac_try_echo=$ac_try;;
   5140 esac
   5141 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5142 $as_echo "$ac_try_echo") >&5
   5143   (eval "$ac_link") 2>&5
   5144   ac_status=$?
   5145   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5146   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
   5147   { (case "(($ac_try" in
   5148   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5149   *) ac_try_echo=$ac_try;;
   5150 esac
   5151 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5152 $as_echo "$ac_try_echo") >&5
   5153   (eval "$ac_try") 2>&5
   5154   ac_status=$?
   5155   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5156   (exit $ac_status); }; }; then
   5157   :
   5158 else
   5159   $as_echo "$as_me: program exited with status $ac_status" >&5
   5160 $as_echo "$as_me: failed program was:" >&5
   5161 sed 's/^/| /' conftest.$ac_ext >&5
   5162 
   5163 ( exit $ac_status )
   5164 ac_cv_header_stdc=no
   5165 fi
   5166 rm -rf conftest.dSYM
   5167 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
   5168 fi
   5169 
   5170 
   5171 fi
   5172 fi
   5173 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
   5174 $as_echo "$ac_cv_header_stdc" >&6; }
   5175 if test $ac_cv_header_stdc = yes; then
   5176 
   5177 cat >>confdefs.h <<\_ACEOF
   5178 #define STDC_HEADERS 1
   5179 _ACEOF
   5180 
   5181 fi
   5182 
   5183 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
   5184 
   5185 
   5186 
   5187 
   5188 
   5189 
   5190 
   5191 
   5192 
   5193 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
   5194 		  inttypes.h stdint.h unistd.h
   5195 do
   5196 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   5197 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
   5198 $as_echo_n "checking for $ac_header... " >&6; }
   5199 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   5200   $as_echo_n "(cached) " >&6
   5201 else
   5202   cat >conftest.$ac_ext <<_ACEOF
   5203 /* confdefs.h.  */
   5204 _ACEOF
   5205 cat confdefs.h >>conftest.$ac_ext
   5206 cat >>conftest.$ac_ext <<_ACEOF
   5207 /* end confdefs.h.  */
   5208 $ac_includes_default
   5209 
   5210 #include <$ac_header>
   5211 _ACEOF
   5212 rm -f conftest.$ac_objext
   5213 if { (ac_try="$ac_compile"
   5214 case "(($ac_try" in
   5215   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5216   *) ac_try_echo=$ac_try;;
   5217 esac
   5218 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5219 $as_echo "$ac_try_echo") >&5
   5220   (eval "$ac_compile") 2>conftest.er1
   5221   ac_status=$?
   5222   grep -v '^ *+' conftest.er1 >conftest.err
   5223   rm -f conftest.er1
   5224   cat conftest.err >&5
   5225   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5226   (exit $ac_status); } && {
   5227 	 test -z "$ac_c_werror_flag" ||
   5228 	 test ! -s conftest.err
   5229        } && test -s conftest.$ac_objext; then
   5230   eval "$as_ac_Header=yes"
   5231 else
   5232   $as_echo "$as_me: failed program was:" >&5
   5233 sed 's/^/| /' conftest.$ac_ext >&5
   5234 
   5235 	eval "$as_ac_Header=no"
   5236 fi
   5237 
   5238 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5239 fi
   5240 ac_res=`eval 'as_val=${'$as_ac_Header'}
   5241 		 $as_echo "$as_val"'`
   5242 	       { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
   5243 $as_echo "$ac_res" >&6; }
   5244 as_val=`eval 'as_val=${'$as_ac_Header'}
   5245 		 $as_echo "$as_val"'`
   5246    if test "x$as_val" = x""yes; then
   5247   cat >>confdefs.h <<_ACEOF
   5248 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   5249 _ACEOF
   5250 
   5251 fi
   5252 
   5253 done
   5254 
   5255 
   5256 
   5257 for ac_header in dlfcn.h
   5258 do
   5259 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   5260 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   5261   { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
   5262 $as_echo_n "checking for $ac_header... " >&6; }
   5263 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   5264   $as_echo_n "(cached) " >&6
   5265 fi
   5266 ac_res=`eval 'as_val=${'$as_ac_Header'}
   5267 		 $as_echo "$as_val"'`
   5268 	       { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
   5269 $as_echo "$ac_res" >&6; }
   5270 else
   5271   # Is the header compilable?
   5272 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
   5273 $as_echo_n "checking $ac_header usability... " >&6; }
   5274 cat >conftest.$ac_ext <<_ACEOF
   5275 /* confdefs.h.  */
   5276 _ACEOF
   5277 cat confdefs.h >>conftest.$ac_ext
   5278 cat >>conftest.$ac_ext <<_ACEOF
   5279 /* end confdefs.h.  */
   5280 $ac_includes_default
   5281 #include <$ac_header>
   5282 _ACEOF
   5283 rm -f conftest.$ac_objext
   5284 if { (ac_try="$ac_compile"
   5285 case "(($ac_try" in
   5286   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5287   *) ac_try_echo=$ac_try;;
   5288 esac
   5289 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5290 $as_echo "$ac_try_echo") >&5
   5291   (eval "$ac_compile") 2>conftest.er1
   5292   ac_status=$?
   5293   grep -v '^ *+' conftest.er1 >conftest.err
   5294   rm -f conftest.er1
   5295   cat conftest.err >&5
   5296   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5297   (exit $ac_status); } && {
   5298 	 test -z "$ac_c_werror_flag" ||
   5299 	 test ! -s conftest.err
   5300        } && test -s conftest.$ac_objext; then
   5301   ac_header_compiler=yes
   5302 else
   5303   $as_echo "$as_me: failed program was:" >&5
   5304 sed 's/^/| /' conftest.$ac_ext >&5
   5305 
   5306 	ac_header_compiler=no
   5307 fi
   5308 
   5309 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5310 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
   5311 $as_echo "$ac_header_compiler" >&6; }
   5312 
   5313 # Is the header present?
   5314 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
   5315 $as_echo_n "checking $ac_header presence... " >&6; }
   5316 cat >conftest.$ac_ext <<_ACEOF
   5317 /* confdefs.h.  */
   5318 _ACEOF
   5319 cat confdefs.h >>conftest.$ac_ext
   5320 cat >>conftest.$ac_ext <<_ACEOF
   5321 /* end confdefs.h.  */
   5322 #include <$ac_header>
   5323 _ACEOF
   5324 if { (ac_try="$ac_cpp conftest.$ac_ext"
   5325 case "(($ac_try" in
   5326   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5327   *) ac_try_echo=$ac_try;;
   5328 esac
   5329 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5330 $as_echo "$ac_try_echo") >&5
   5331   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   5332   ac_status=$?
   5333   grep -v '^ *+' conftest.er1 >conftest.err
   5334   rm -f conftest.er1
   5335   cat conftest.err >&5
   5336   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5337   (exit $ac_status); } >/dev/null && {
   5338 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   5339 	 test ! -s conftest.err
   5340        }; then
   5341   ac_header_preproc=yes
   5342 else
   5343   $as_echo "$as_me: failed program was:" >&5
   5344 sed 's/^/| /' conftest.$ac_ext >&5
   5345 
   5346   ac_header_preproc=no
   5347 fi
   5348 
   5349 rm -f conftest.err conftest.$ac_ext
   5350 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
   5351 $as_echo "$ac_header_preproc" >&6; }
   5352 
   5353 # So?  What about this header?
   5354 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
   5355   yes:no: )
   5356     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
   5357 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
   5358     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
   5359 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
   5360     ac_header_preproc=yes
   5361     ;;
   5362   no:yes:* )
   5363     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
   5364 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
   5365     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
   5366 $as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
   5367     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
   5368 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
   5369     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
   5370 $as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
   5371     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
   5372 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
   5373     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
   5374 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
   5375     ( cat <<\_ASBOX
   5376 ## ---------------------------------------------------------------------- ##
   5377 ## Report this to https://bugs.freedesktop.org/enter_bug.cgi?product=xorg ##
   5378 ## ---------------------------------------------------------------------- ##
   5379 _ASBOX
   5380      ) | sed "s/^/$as_me: WARNING:     /" >&2
   5381     ;;
   5382 esac
   5383 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
   5384 $as_echo_n "checking for $ac_header... " >&6; }
   5385 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   5386   $as_echo_n "(cached) " >&6
   5387 else
   5388   eval "$as_ac_Header=\$ac_header_preproc"
   5389 fi
   5390 ac_res=`eval 'as_val=${'$as_ac_Header'}
   5391 		 $as_echo "$as_val"'`
   5392 	       { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
   5393 $as_echo "$ac_res" >&6; }
   5394 
   5395 fi
   5396 as_val=`eval 'as_val=${'$as_ac_Header'}
   5397 		 $as_echo "$as_val"'`
   5398    if test "x$as_val" = x""yes; then
   5399   cat >>confdefs.h <<_ACEOF
   5400 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   5401 _ACEOF
   5402 
   5403 fi
   5404 
   5405 done
   5406 
   5407 ac_ext=cpp
   5408 ac_cpp='$CXXCPP $CPPFLAGS'
   5409 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5410 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5411 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   5412 if test -z "$CXX"; then
   5413   if test -n "$CCC"; then
   5414     CXX=$CCC
   5415   else
   5416     if test -n "$ac_tool_prefix"; then
   5417   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
   5418   do
   5419     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   5420 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   5421 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   5422 $as_echo_n "checking for $ac_word... " >&6; }
   5423 if test "${ac_cv_prog_CXX+set}" = set; then
   5424   $as_echo_n "(cached) " >&6
   5425 else
   5426   if test -n "$CXX"; then
   5427   ac_cv_prog_CXX="$CXX" # Let the user override the test.
   5428 else
   5429 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5430 for as_dir in $PATH
   5431 do
   5432   IFS=$as_save_IFS
   5433   test -z "$as_dir" && as_dir=.
   5434   for ac_exec_ext in '' $ac_executable_extensions; do
   5435   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5436     ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
   5437     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   5438     break 2
   5439   fi
   5440 done
   5441 done
   5442 IFS=$as_save_IFS
   5443 
   5444 fi
   5445 fi
   5446 CXX=$ac_cv_prog_CXX
   5447 if test -n "$CXX"; then
   5448   { $as_echo "$as_me:$LINENO: result: $CXX" >&5
   5449 $as_echo "$CXX" >&6; }
   5450 else
   5451   { $as_echo "$as_me:$LINENO: result: no" >&5
   5452 $as_echo "no" >&6; }
   5453 fi
   5454 
   5455 
   5456     test -n "$CXX" && break
   5457   done
   5458 fi
   5459 if test -z "$CXX"; then
   5460   ac_ct_CXX=$CXX
   5461   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
   5462 do
   5463   # Extract the first word of "$ac_prog", so it can be a program name with args.
   5464 set dummy $ac_prog; ac_word=$2
   5465 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   5466 $as_echo_n "checking for $ac_word... " >&6; }
   5467 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
   5468   $as_echo_n "(cached) " >&6
   5469 else
   5470   if test -n "$ac_ct_CXX"; then
   5471   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
   5472 else
   5473 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5474 for as_dir in $PATH
   5475 do
   5476   IFS=$as_save_IFS
   5477   test -z "$as_dir" && as_dir=.
   5478   for ac_exec_ext in '' $ac_executable_extensions; do
   5479   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5480     ac_cv_prog_ac_ct_CXX="$ac_prog"
   5481     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   5482     break 2
   5483   fi
   5484 done
   5485 done
   5486 IFS=$as_save_IFS
   5487 
   5488 fi
   5489 fi
   5490 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
   5491 if test -n "$ac_ct_CXX"; then
   5492   { $as_echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
   5493 $as_echo "$ac_ct_CXX" >&6; }
   5494 else
   5495   { $as_echo "$as_me:$LINENO: result: no" >&5
   5496 $as_echo "no" >&6; }
   5497 fi
   5498 
   5499 
   5500   test -n "$ac_ct_CXX" && break
   5501 done
   5502 
   5503   if test "x$ac_ct_CXX" = x; then
   5504     CXX="g++"
   5505   else
   5506     case $cross_compiling:$ac_tool_warned in
   5507 yes:)
   5508 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   5509 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5510 ac_tool_warned=yes ;;
   5511 esac
   5512     CXX=$ac_ct_CXX
   5513   fi
   5514 fi
   5515 
   5516   fi
   5517 fi
   5518 # Provide some information about the compiler.
   5519 $as_echo "$as_me:$LINENO: checking for C++ compiler version" >&5
   5520 set X $ac_compile
   5521 ac_compiler=$2
   5522 { (ac_try="$ac_compiler --version >&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 --version >&5") 2>&5
   5530   ac_status=$?
   5531   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5532   (exit $ac_status); }
   5533 { (ac_try="$ac_compiler -v >&5"
   5534 case "(($ac_try" in
   5535   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5536   *) ac_try_echo=$ac_try;;
   5537 esac
   5538 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5539 $as_echo "$ac_try_echo") >&5
   5540   (eval "$ac_compiler -v >&5") 2>&5
   5541   ac_status=$?
   5542   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5543   (exit $ac_status); }
   5544 { (ac_try="$ac_compiler -V >&5"
   5545 case "(($ac_try" in
   5546   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5547   *) ac_try_echo=$ac_try;;
   5548 esac
   5549 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5550 $as_echo "$ac_try_echo") >&5
   5551   (eval "$ac_compiler -V >&5") 2>&5
   5552   ac_status=$?
   5553   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5554   (exit $ac_status); }
   5555 
   5556 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
   5557 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
   5558 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
   5559   $as_echo_n "(cached) " >&6
   5560 else
   5561   cat >conftest.$ac_ext <<_ACEOF
   5562 /* confdefs.h.  */
   5563 _ACEOF
   5564 cat confdefs.h >>conftest.$ac_ext
   5565 cat >>conftest.$ac_ext <<_ACEOF
   5566 /* end confdefs.h.  */
   5567 
   5568 int
   5569 main ()
   5570 {
   5571 #ifndef __GNUC__
   5572        choke me
   5573 #endif
   5574 
   5575   ;
   5576   return 0;
   5577 }
   5578 _ACEOF
   5579 rm -f conftest.$ac_objext
   5580 if { (ac_try="$ac_compile"
   5581 case "(($ac_try" in
   5582   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5583   *) ac_try_echo=$ac_try;;
   5584 esac
   5585 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5586 $as_echo "$ac_try_echo") >&5
   5587   (eval "$ac_compile") 2>conftest.er1
   5588   ac_status=$?
   5589   grep -v '^ *+' conftest.er1 >conftest.err
   5590   rm -f conftest.er1
   5591   cat conftest.err >&5
   5592   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5593   (exit $ac_status); } && {
   5594 	 test -z "$ac_cxx_werror_flag" ||
   5595 	 test ! -s conftest.err
   5596        } && test -s conftest.$ac_objext; then
   5597   ac_compiler_gnu=yes
   5598 else
   5599   $as_echo "$as_me: failed program was:" >&5
   5600 sed 's/^/| /' conftest.$ac_ext >&5
   5601 
   5602 	ac_compiler_gnu=no
   5603 fi
   5604 
   5605 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5606 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
   5607 
   5608 fi
   5609 { $as_echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
   5610 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
   5611 if test $ac_compiler_gnu = yes; then
   5612   GXX=yes
   5613 else
   5614   GXX=
   5615 fi
   5616 ac_test_CXXFLAGS=${CXXFLAGS+set}
   5617 ac_save_CXXFLAGS=$CXXFLAGS
   5618 { $as_echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
   5619 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
   5620 if test "${ac_cv_prog_cxx_g+set}" = set; then
   5621   $as_echo_n "(cached) " >&6
   5622 else
   5623   ac_save_cxx_werror_flag=$ac_cxx_werror_flag
   5624    ac_cxx_werror_flag=yes
   5625    ac_cv_prog_cxx_g=no
   5626    CXXFLAGS="-g"
   5627    cat >conftest.$ac_ext <<_ACEOF
   5628 /* confdefs.h.  */
   5629 _ACEOF
   5630 cat confdefs.h >>conftest.$ac_ext
   5631 cat >>conftest.$ac_ext <<_ACEOF
   5632 /* end confdefs.h.  */
   5633 
   5634 int
   5635 main ()
   5636 {
   5637 
   5638   ;
   5639   return 0;
   5640 }
   5641 _ACEOF
   5642 rm -f conftest.$ac_objext
   5643 if { (ac_try="$ac_compile"
   5644 case "(($ac_try" in
   5645   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5646   *) ac_try_echo=$ac_try;;
   5647 esac
   5648 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5649 $as_echo "$ac_try_echo") >&5
   5650   (eval "$ac_compile") 2>conftest.er1
   5651   ac_status=$?
   5652   grep -v '^ *+' conftest.er1 >conftest.err
   5653   rm -f conftest.er1
   5654   cat conftest.err >&5
   5655   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5656   (exit $ac_status); } && {
   5657 	 test -z "$ac_cxx_werror_flag" ||
   5658 	 test ! -s conftest.err
   5659        } && test -s conftest.$ac_objext; then
   5660   ac_cv_prog_cxx_g=yes
   5661 else
   5662   $as_echo "$as_me: failed program was:" >&5
   5663 sed 's/^/| /' conftest.$ac_ext >&5
   5664 
   5665 	CXXFLAGS=""
   5666       cat >conftest.$ac_ext <<_ACEOF
   5667 /* confdefs.h.  */
   5668 _ACEOF
   5669 cat confdefs.h >>conftest.$ac_ext
   5670 cat >>conftest.$ac_ext <<_ACEOF
   5671 /* end confdefs.h.  */
   5672 
   5673 int
   5674 main ()
   5675 {
   5676 
   5677   ;
   5678   return 0;
   5679 }
   5680 _ACEOF
   5681 rm -f conftest.$ac_objext
   5682 if { (ac_try="$ac_compile"
   5683 case "(($ac_try" in
   5684   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5685   *) ac_try_echo=$ac_try;;
   5686 esac
   5687 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5688 $as_echo "$ac_try_echo") >&5
   5689   (eval "$ac_compile") 2>conftest.er1
   5690   ac_status=$?
   5691   grep -v '^ *+' conftest.er1 >conftest.err
   5692   rm -f conftest.er1
   5693   cat conftest.err >&5
   5694   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5695   (exit $ac_status); } && {
   5696 	 test -z "$ac_cxx_werror_flag" ||
   5697 	 test ! -s conftest.err
   5698        } && test -s conftest.$ac_objext; then
   5699   :
   5700 else
   5701   $as_echo "$as_me: failed program was:" >&5
   5702 sed 's/^/| /' conftest.$ac_ext >&5
   5703 
   5704 	ac_cxx_werror_flag=$ac_save_cxx_werror_flag
   5705 	 CXXFLAGS="-g"
   5706 	 cat >conftest.$ac_ext <<_ACEOF
   5707 /* confdefs.h.  */
   5708 _ACEOF
   5709 cat confdefs.h >>conftest.$ac_ext
   5710 cat >>conftest.$ac_ext <<_ACEOF
   5711 /* end confdefs.h.  */
   5712 
   5713 int
   5714 main ()
   5715 {
   5716 
   5717   ;
   5718   return 0;
   5719 }
   5720 _ACEOF
   5721 rm -f conftest.$ac_objext
   5722 if { (ac_try="$ac_compile"
   5723 case "(($ac_try" in
   5724   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5725   *) ac_try_echo=$ac_try;;
   5726 esac
   5727 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5728 $as_echo "$ac_try_echo") >&5
   5729   (eval "$ac_compile") 2>conftest.er1
   5730   ac_status=$?
   5731   grep -v '^ *+' conftest.er1 >conftest.err
   5732   rm -f conftest.er1
   5733   cat conftest.err >&5
   5734   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5735   (exit $ac_status); } && {
   5736 	 test -z "$ac_cxx_werror_flag" ||
   5737 	 test ! -s conftest.err
   5738        } && test -s conftest.$ac_objext; then
   5739   ac_cv_prog_cxx_g=yes
   5740 else
   5741   $as_echo "$as_me: failed program was:" >&5
   5742 sed 's/^/| /' conftest.$ac_ext >&5
   5743 
   5744 
   5745 fi
   5746 
   5747 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5748 fi
   5749 
   5750 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5751 fi
   5752 
   5753 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5754    ac_cxx_werror_flag=$ac_save_cxx_werror_flag
   5755 fi
   5756 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
   5757 $as_echo "$ac_cv_prog_cxx_g" >&6; }
   5758 if test "$ac_test_CXXFLAGS" = set; then
   5759   CXXFLAGS=$ac_save_CXXFLAGS
   5760 elif test $ac_cv_prog_cxx_g = yes; then
   5761   if test "$GXX" = yes; then
   5762     CXXFLAGS="-g -O2"
   5763   else
   5764     CXXFLAGS="-g"
   5765   fi
   5766 else
   5767   if test "$GXX" = yes; then
   5768     CXXFLAGS="-O2"
   5769   else
   5770     CXXFLAGS=
   5771   fi
   5772 fi
   5773 ac_ext=cpp
   5774 ac_cpp='$CXXCPP $CPPFLAGS'
   5775 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5776 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5777 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   5778 
   5779 depcc="$CXX"  am_compiler_list=
   5780 
   5781 { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
   5782 $as_echo_n "checking dependency style of $depcc... " >&6; }
   5783 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
   5784   $as_echo_n "(cached) " >&6
   5785 else
   5786   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   5787   # We make a subdir and do the tests there.  Otherwise we can end up
   5788   # making bogus files that we don't know about and never remove.  For
   5789   # instance it was reported that on HP-UX the gcc test will end up
   5790   # making a dummy file named `D' -- because `-MD' means `put the output
   5791   # in D'.
   5792   mkdir conftest.dir
   5793   # Copy depcomp to subdir because otherwise we won't find it if we're
   5794   # using a relative directory.
   5795   cp "$am_depcomp" conftest.dir
   5796   cd conftest.dir
   5797   # We will build objects and dependencies in a subdirectory because
   5798   # it helps to detect inapplicable dependency modes.  For instance
   5799   # both Tru64's cc and ICC support -MD to output dependencies as a
   5800   # side effect of compilation, but ICC will put the dependencies in
   5801   # the current directory while Tru64 will put them in the object
   5802   # directory.
   5803   mkdir sub
   5804 
   5805   am_cv_CXX_dependencies_compiler_type=none
   5806   if test "$am_compiler_list" = ""; then
   5807      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   5808   fi
   5809   am__universal=false
   5810   case " $depcc " in #(
   5811      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   5812      esac
   5813 
   5814   for depmode in $am_compiler_list; do
   5815     # Setup a source with many dependencies, because some compilers
   5816     # like to wrap large dependency lists on column 80 (with \), and
   5817     # we should not choose a depcomp mode which is confused by this.
   5818     #
   5819     # We need to recreate these files for each test, as the compiler may
   5820     # overwrite some of them when testing with obscure command lines.
   5821     # This happens at least with the AIX C compiler.
   5822     : > sub/conftest.c
   5823     for i in 1 2 3 4 5 6; do
   5824       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   5825       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
   5826       # Solaris 8's {/usr,}/bin/sh.
   5827       touch sub/conftst$i.h
   5828     done
   5829     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   5830 
   5831     # We check with `-c' and `-o' for the sake of the "dashmstdout"
   5832     # mode.  It turns out that the SunPro C++ compiler does not properly
   5833     # handle `-M -o', and we need to detect this.  Also, some Intel
   5834     # versions had trouble with output in subdirs
   5835     am__obj=sub/conftest.${OBJEXT-o}
   5836     am__minus_obj="-o $am__obj"
   5837     case $depmode in
   5838     gcc)
   5839       # This depmode causes a compiler race in universal mode.
   5840       test "$am__universal" = false || continue
   5841       ;;
   5842     nosideeffect)
   5843       # after this tag, mechanisms are not by side-effect, so they'll
   5844       # only be used when explicitly requested
   5845       if test "x$enable_dependency_tracking" = xyes; then
   5846 	continue
   5847       else
   5848 	break
   5849       fi
   5850       ;;
   5851     msvisualcpp | msvcmsys)
   5852       # This compiler won't grok `-c -o', but also, the minuso test has
   5853       # not run yet.  These depmodes are late enough in the game, and
   5854       # so weak that their functioning should not be impacted.
   5855       am__obj=conftest.${OBJEXT-o}
   5856       am__minus_obj=
   5857       ;;
   5858     none) break ;;
   5859     esac
   5860     if depmode=$depmode \
   5861        source=sub/conftest.c object=$am__obj \
   5862        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   5863        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   5864          >/dev/null 2>conftest.err &&
   5865        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   5866        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   5867        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   5868        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   5869       # icc doesn't choke on unknown options, it will just issue warnings
   5870       # or remarks (even with -Werror).  So we grep stderr for any message
   5871       # that says an option was ignored or not supported.
   5872       # When given -MP, icc 7.0 and 7.1 complain thusly:
   5873       #   icc: Command line warning: ignoring option '-M'; no argument required
   5874       # The diagnosis changed in icc 8.0:
   5875       #   icc: Command line remark: option '-MP' not supported
   5876       if (grep 'ignoring option' conftest.err ||
   5877           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   5878         am_cv_CXX_dependencies_compiler_type=$depmode
   5879         break
   5880       fi
   5881     fi
   5882   done
   5883 
   5884   cd ..
   5885   rm -rf conftest.dir
   5886 else
   5887   am_cv_CXX_dependencies_compiler_type=none
   5888 fi
   5889 
   5890 fi
   5891 { $as_echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
   5892 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
   5893 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
   5894 
   5895  if
   5896   test "x$enable_dependency_tracking" != xno \
   5897   && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
   5898   am__fastdepCXX_TRUE=
   5899   am__fastdepCXX_FALSE='#'
   5900 else
   5901   am__fastdepCXX_TRUE='#'
   5902   am__fastdepCXX_FALSE=
   5903 fi
   5904 
   5905 
   5906 
   5907 
   5908 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
   5909     ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
   5910     (test "X$CXX" != "Xg++"))) ; then
   5911   ac_ext=cpp
   5912 ac_cpp='$CXXCPP $CPPFLAGS'
   5913 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5914 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5915 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   5916 { $as_echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
   5917 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
   5918 if test -z "$CXXCPP"; then
   5919   if test "${ac_cv_prog_CXXCPP+set}" = set; then
   5920   $as_echo_n "(cached) " >&6
   5921 else
   5922       # Double quotes because CXXCPP needs to be expanded
   5923     for CXXCPP in "$CXX -E" "/lib/cpp"
   5924     do
   5925       ac_preproc_ok=false
   5926 for ac_cxx_preproc_warn_flag in '' yes
   5927 do
   5928   # Use a header file that comes with gcc, so configuring glibc
   5929   # with a fresh cross-compiler works.
   5930   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   5931   # <limits.h> exists even on freestanding compilers.
   5932   # On the NeXT, cc -E runs the code through the compiler's parser,
   5933   # not just through cpp. "Syntax error" is here to catch this case.
   5934   cat >conftest.$ac_ext <<_ACEOF
   5935 /* confdefs.h.  */
   5936 _ACEOF
   5937 cat confdefs.h >>conftest.$ac_ext
   5938 cat >>conftest.$ac_ext <<_ACEOF
   5939 /* end confdefs.h.  */
   5940 #ifdef __STDC__
   5941 # include <limits.h>
   5942 #else
   5943 # include <assert.h>
   5944 #endif
   5945 		     Syntax error
   5946 _ACEOF
   5947 if { (ac_try="$ac_cpp conftest.$ac_ext"
   5948 case "(($ac_try" in
   5949   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5950   *) ac_try_echo=$ac_try;;
   5951 esac
   5952 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5953 $as_echo "$ac_try_echo") >&5
   5954   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   5955   ac_status=$?
   5956   grep -v '^ *+' conftest.er1 >conftest.err
   5957   rm -f conftest.er1
   5958   cat conftest.err >&5
   5959   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5960   (exit $ac_status); } >/dev/null && {
   5961 	 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
   5962 	 test ! -s conftest.err
   5963        }; then
   5964   :
   5965 else
   5966   $as_echo "$as_me: failed program was:" >&5
   5967 sed 's/^/| /' conftest.$ac_ext >&5
   5968 
   5969   # Broken: fails on valid input.
   5970 continue
   5971 fi
   5972 
   5973 rm -f conftest.err conftest.$ac_ext
   5974 
   5975   # OK, works on sane cases.  Now check whether nonexistent headers
   5976   # can be detected and how.
   5977   cat >conftest.$ac_ext <<_ACEOF
   5978 /* confdefs.h.  */
   5979 _ACEOF
   5980 cat confdefs.h >>conftest.$ac_ext
   5981 cat >>conftest.$ac_ext <<_ACEOF
   5982 /* end confdefs.h.  */
   5983 #include <ac_nonexistent.h>
   5984 _ACEOF
   5985 if { (ac_try="$ac_cpp conftest.$ac_ext"
   5986 case "(($ac_try" in
   5987   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5988   *) ac_try_echo=$ac_try;;
   5989 esac
   5990 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5991 $as_echo "$ac_try_echo") >&5
   5992   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   5993   ac_status=$?
   5994   grep -v '^ *+' conftest.er1 >conftest.err
   5995   rm -f conftest.er1
   5996   cat conftest.err >&5
   5997   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5998   (exit $ac_status); } >/dev/null && {
   5999 	 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
   6000 	 test ! -s conftest.err
   6001        }; then
   6002   # Broken: success on invalid input.
   6003 continue
   6004 else
   6005   $as_echo "$as_me: failed program was:" >&5
   6006 sed 's/^/| /' conftest.$ac_ext >&5
   6007 
   6008   # Passes both tests.
   6009 ac_preproc_ok=:
   6010 break
   6011 fi
   6012 
   6013 rm -f conftest.err conftest.$ac_ext
   6014 
   6015 done
   6016 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   6017 rm -f conftest.err conftest.$ac_ext
   6018 if $ac_preproc_ok; then
   6019   break
   6020 fi
   6021 
   6022     done
   6023     ac_cv_prog_CXXCPP=$CXXCPP
   6024 
   6025 fi
   6026   CXXCPP=$ac_cv_prog_CXXCPP
   6027 else
   6028   ac_cv_prog_CXXCPP=$CXXCPP
   6029 fi
   6030 { $as_echo "$as_me:$LINENO: result: $CXXCPP" >&5
   6031 $as_echo "$CXXCPP" >&6; }
   6032 ac_preproc_ok=false
   6033 for ac_cxx_preproc_warn_flag in '' yes
   6034 do
   6035   # Use a header file that comes with gcc, so configuring glibc
   6036   # with a fresh cross-compiler works.
   6037   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   6038   # <limits.h> exists even on freestanding compilers.
   6039   # On the NeXT, cc -E runs the code through the compiler's parser,
   6040   # not just through cpp. "Syntax error" is here to catch this case.
   6041   cat >conftest.$ac_ext <<_ACEOF
   6042 /* confdefs.h.  */
   6043 _ACEOF
   6044 cat confdefs.h >>conftest.$ac_ext
   6045 cat >>conftest.$ac_ext <<_ACEOF
   6046 /* end confdefs.h.  */
   6047 #ifdef __STDC__
   6048 # include <limits.h>
   6049 #else
   6050 # include <assert.h>
   6051 #endif
   6052 		     Syntax error
   6053 _ACEOF
   6054 if { (ac_try="$ac_cpp conftest.$ac_ext"
   6055 case "(($ac_try" in
   6056   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6057   *) ac_try_echo=$ac_try;;
   6058 esac
   6059 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   6060 $as_echo "$ac_try_echo") >&5
   6061   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   6062   ac_status=$?
   6063   grep -v '^ *+' conftest.er1 >conftest.err
   6064   rm -f conftest.er1
   6065   cat conftest.err >&5
   6066   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6067   (exit $ac_status); } >/dev/null && {
   6068 	 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
   6069 	 test ! -s conftest.err
   6070        }; then
   6071   :
   6072 else
   6073   $as_echo "$as_me: failed program was:" >&5
   6074 sed 's/^/| /' conftest.$ac_ext >&5
   6075 
   6076   # Broken: fails on valid input.
   6077 continue
   6078 fi
   6079 
   6080 rm -f conftest.err conftest.$ac_ext
   6081 
   6082   # OK, works on sane cases.  Now check whether nonexistent headers
   6083   # can be detected and how.
   6084   cat >conftest.$ac_ext <<_ACEOF
   6085 /* confdefs.h.  */
   6086 _ACEOF
   6087 cat confdefs.h >>conftest.$ac_ext
   6088 cat >>conftest.$ac_ext <<_ACEOF
   6089 /* end confdefs.h.  */
   6090 #include <ac_nonexistent.h>
   6091 _ACEOF
   6092 if { (ac_try="$ac_cpp conftest.$ac_ext"
   6093 case "(($ac_try" in
   6094   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6095   *) ac_try_echo=$ac_try;;
   6096 esac
   6097 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   6098 $as_echo "$ac_try_echo") >&5
   6099   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   6100   ac_status=$?
   6101   grep -v '^ *+' conftest.er1 >conftest.err
   6102   rm -f conftest.er1
   6103   cat conftest.err >&5
   6104   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6105   (exit $ac_status); } >/dev/null && {
   6106 	 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
   6107 	 test ! -s conftest.err
   6108        }; then
   6109   # Broken: success on invalid input.
   6110 continue
   6111 else
   6112   $as_echo "$as_me: failed program was:" >&5
   6113 sed 's/^/| /' conftest.$ac_ext >&5
   6114 
   6115   # Passes both tests.
   6116 ac_preproc_ok=:
   6117 break
   6118 fi
   6119 
   6120 rm -f conftest.err conftest.$ac_ext
   6121 
   6122 done
   6123 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   6124 rm -f conftest.err conftest.$ac_ext
   6125 if $ac_preproc_ok; then
   6126   :
   6127 else
   6128   { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   6129 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   6130 { { $as_echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
   6131 See \`config.log' for more details." >&5
   6132 $as_echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
   6133 See \`config.log' for more details." >&2;}
   6134    { (exit 1); exit 1; }; }; }
   6135 fi
   6136 
   6137 ac_ext=cpp
   6138 ac_cpp='$CXXCPP $CPPFLAGS'
   6139 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   6140 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   6141 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   6142 
   6143 fi
   6144 
   6145 
   6146 ac_ext=f
   6147 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
   6148 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   6149 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
   6150 if test -n "$ac_tool_prefix"; then
   6151   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
   6152   do
   6153     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   6154 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   6155 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   6156 $as_echo_n "checking for $ac_word... " >&6; }
   6157 if test "${ac_cv_prog_F77+set}" = set; then
   6158   $as_echo_n "(cached) " >&6
   6159 else
   6160   if test -n "$F77"; then
   6161   ac_cv_prog_F77="$F77" # Let the user override the test.
   6162 else
   6163 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6164 for as_dir in $PATH
   6165 do
   6166   IFS=$as_save_IFS
   6167   test -z "$as_dir" && as_dir=.
   6168   for ac_exec_ext in '' $ac_executable_extensions; do
   6169   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6170     ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
   6171     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6172     break 2
   6173   fi
   6174 done
   6175 done
   6176 IFS=$as_save_IFS
   6177 
   6178 fi
   6179 fi
   6180 F77=$ac_cv_prog_F77
   6181 if test -n "$F77"; then
   6182   { $as_echo "$as_me:$LINENO: result: $F77" >&5
   6183 $as_echo "$F77" >&6; }
   6184 else
   6185   { $as_echo "$as_me:$LINENO: result: no" >&5
   6186 $as_echo "no" >&6; }
   6187 fi
   6188 
   6189 
   6190     test -n "$F77" && break
   6191   done
   6192 fi
   6193 if test -z "$F77"; then
   6194   ac_ct_F77=$F77
   6195   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
   6196 do
   6197   # Extract the first word of "$ac_prog", so it can be a program name with args.
   6198 set dummy $ac_prog; ac_word=$2
   6199 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   6200 $as_echo_n "checking for $ac_word... " >&6; }
   6201 if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
   6202   $as_echo_n "(cached) " >&6
   6203 else
   6204   if test -n "$ac_ct_F77"; then
   6205   ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test.
   6206 else
   6207 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6208 for as_dir in $PATH
   6209 do
   6210   IFS=$as_save_IFS
   6211   test -z "$as_dir" && as_dir=.
   6212   for ac_exec_ext in '' $ac_executable_extensions; do
   6213   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6214     ac_cv_prog_ac_ct_F77="$ac_prog"
   6215     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6216     break 2
   6217   fi
   6218 done
   6219 done
   6220 IFS=$as_save_IFS
   6221 
   6222 fi
   6223 fi
   6224 ac_ct_F77=$ac_cv_prog_ac_ct_F77
   6225 if test -n "$ac_ct_F77"; then
   6226   { $as_echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
   6227 $as_echo "$ac_ct_F77" >&6; }
   6228 else
   6229   { $as_echo "$as_me:$LINENO: result: no" >&5
   6230 $as_echo "no" >&6; }
   6231 fi
   6232 
   6233 
   6234   test -n "$ac_ct_F77" && break
   6235 done
   6236 
   6237   if test "x$ac_ct_F77" = x; then
   6238     F77=""
   6239   else
   6240     case $cross_compiling:$ac_tool_warned in
   6241 yes:)
   6242 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   6243 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6244 ac_tool_warned=yes ;;
   6245 esac
   6246     F77=$ac_ct_F77
   6247   fi
   6248 fi
   6249 
   6250 
   6251 # Provide some information about the compiler.
   6252 $as_echo "$as_me:$LINENO: checking for Fortran 77 compiler version" >&5
   6253 set X $ac_compile
   6254 ac_compiler=$2
   6255 { (ac_try="$ac_compiler --version >&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 --version >&5") 2>&5
   6263   ac_status=$?
   6264   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6265   (exit $ac_status); }
   6266 { (ac_try="$ac_compiler -v >&5"
   6267 case "(($ac_try" in
   6268   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6269   *) ac_try_echo=$ac_try;;
   6270 esac
   6271 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   6272 $as_echo "$ac_try_echo") >&5
   6273   (eval "$ac_compiler -v >&5") 2>&5
   6274   ac_status=$?
   6275   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6276   (exit $ac_status); }
   6277 { (ac_try="$ac_compiler -V >&5"
   6278 case "(($ac_try" in
   6279   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6280   *) ac_try_echo=$ac_try;;
   6281 esac
   6282 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   6283 $as_echo "$ac_try_echo") >&5
   6284   (eval "$ac_compiler -V >&5") 2>&5
   6285   ac_status=$?
   6286   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6287   (exit $ac_status); }
   6288 rm -f a.out
   6289 
   6290 # If we don't use `.F' as extension, the preprocessor is not run on the
   6291 # input file.  (Note that this only needs to work for GNU compilers.)
   6292 ac_save_ext=$ac_ext
   6293 ac_ext=F
   6294 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
   6295 $as_echo_n "checking whether we are using the GNU Fortran 77 compiler... " >&6; }
   6296 if test "${ac_cv_f77_compiler_gnu+set}" = set; then
   6297   $as_echo_n "(cached) " >&6
   6298 else
   6299   cat >conftest.$ac_ext <<_ACEOF
   6300       program main
   6301 #ifndef __GNUC__
   6302        choke me
   6303 #endif
   6304 
   6305       end
   6306 _ACEOF
   6307 rm -f conftest.$ac_objext
   6308 if { (ac_try="$ac_compile"
   6309 case "(($ac_try" in
   6310   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6311   *) ac_try_echo=$ac_try;;
   6312 esac
   6313 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   6314 $as_echo "$ac_try_echo") >&5
   6315   (eval "$ac_compile") 2>conftest.er1
   6316   ac_status=$?
   6317   grep -v '^ *+' conftest.er1 >conftest.err
   6318   rm -f conftest.er1
   6319   cat conftest.err >&5
   6320   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6321   (exit $ac_status); } && {
   6322 	 test -z "$ac_f77_werror_flag" ||
   6323 	 test ! -s conftest.err
   6324        } && test -s conftest.$ac_objext; then
   6325   ac_compiler_gnu=yes
   6326 else
   6327   $as_echo "$as_me: failed program was:" >&5
   6328 sed 's/^/| /' conftest.$ac_ext >&5
   6329 
   6330 	ac_compiler_gnu=no
   6331 fi
   6332 
   6333 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6334 ac_cv_f77_compiler_gnu=$ac_compiler_gnu
   6335 
   6336 fi
   6337 { $as_echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
   6338 $as_echo "$ac_cv_f77_compiler_gnu" >&6; }
   6339 ac_ext=$ac_save_ext
   6340 ac_test_FFLAGS=${FFLAGS+set}
   6341 ac_save_FFLAGS=$FFLAGS
   6342 FFLAGS=
   6343 { $as_echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
   6344 $as_echo_n "checking whether $F77 accepts -g... " >&6; }
   6345 if test "${ac_cv_prog_f77_g+set}" = set; then
   6346   $as_echo_n "(cached) " >&6
   6347 else
   6348   FFLAGS=-g
   6349 cat >conftest.$ac_ext <<_ACEOF
   6350       program main
   6351 
   6352       end
   6353 _ACEOF
   6354 rm -f conftest.$ac_objext
   6355 if { (ac_try="$ac_compile"
   6356 case "(($ac_try" in
   6357   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6358   *) ac_try_echo=$ac_try;;
   6359 esac
   6360 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   6361 $as_echo "$ac_try_echo") >&5
   6362   (eval "$ac_compile") 2>conftest.er1
   6363   ac_status=$?
   6364   grep -v '^ *+' conftest.er1 >conftest.err
   6365   rm -f conftest.er1
   6366   cat conftest.err >&5
   6367   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6368   (exit $ac_status); } && {
   6369 	 test -z "$ac_f77_werror_flag" ||
   6370 	 test ! -s conftest.err
   6371        } && test -s conftest.$ac_objext; then
   6372   ac_cv_prog_f77_g=yes
   6373 else
   6374   $as_echo "$as_me: failed program was:" >&5
   6375 sed 's/^/| /' conftest.$ac_ext >&5
   6376 
   6377 	ac_cv_prog_f77_g=no
   6378 fi
   6379 
   6380 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6381 
   6382 fi
   6383 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
   6384 $as_echo "$ac_cv_prog_f77_g" >&6; }
   6385 if test "$ac_test_FFLAGS" = set; then
   6386   FFLAGS=$ac_save_FFLAGS
   6387 elif test $ac_cv_prog_f77_g = yes; then
   6388   if test "x$ac_cv_f77_compiler_gnu" = xyes; then
   6389     FFLAGS="-g -O2"
   6390   else
   6391     FFLAGS="-g"
   6392   fi
   6393 else
   6394   if test "x$ac_cv_f77_compiler_gnu" = xyes; then
   6395     FFLAGS="-O2"
   6396   else
   6397     FFLAGS=
   6398   fi
   6399 fi
   6400 
   6401 if test $ac_compiler_gnu = yes; then
   6402   G77=yes
   6403 else
   6404   G77=
   6405 fi
   6406 ac_ext=c
   6407 ac_cpp='$CPP $CPPFLAGS'
   6408 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   6409 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   6410 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   6411 
   6412 
   6413 
   6414 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
   6415 # find the maximum length of command line arguments
   6416 { $as_echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
   6417 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
   6418 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
   6419   $as_echo_n "(cached) " >&6
   6420 else
   6421     i=0
   6422   teststring="ABCD"
   6423 
   6424   case $build_os in
   6425   msdosdjgpp*)
   6426     # On DJGPP, this test can blow up pretty badly due to problems in libc
   6427     # (any single argument exceeding 2000 bytes causes a buffer overrun
   6428     # during glob expansion).  Even if it were fixed, the result of this
   6429     # check would be larger than it should be.
   6430     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
   6431     ;;
   6432 
   6433   gnu*)
   6434     # Under GNU Hurd, this test is not required because there is
   6435     # no limit to the length of command line arguments.
   6436     # Libtool will interpret -1 as no limit whatsoever
   6437     lt_cv_sys_max_cmd_len=-1;
   6438     ;;
   6439 
   6440   cygwin* | mingw*)
   6441     # On Win9x/ME, this test blows up -- it succeeds, but takes
   6442     # about 5 minutes as the teststring grows exponentially.
   6443     # Worse, since 9x/ME are not pre-emptively multitasking,
   6444     # you end up with a "frozen" computer, even though with patience
   6445     # the test eventually succeeds (with a max line length of 256k).
   6446     # Instead, let's just punt: use the minimum linelength reported by
   6447     # all of the supported platforms: 8192 (on NT/2K/XP).
   6448     lt_cv_sys_max_cmd_len=8192;
   6449     ;;
   6450 
   6451   amigaos*)
   6452     # On AmigaOS with pdksh, this test takes hours, literally.
   6453     # So we just punt and use a minimum line length of 8192.
   6454     lt_cv_sys_max_cmd_len=8192;
   6455     ;;
   6456 
   6457   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
   6458     # This has been around since 386BSD, at least.  Likely further.
   6459     if test -x /sbin/sysctl; then
   6460       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
   6461     elif test -x /usr/sbin/sysctl; then
   6462       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
   6463     else
   6464       lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
   6465     fi
   6466     # And add a safety zone
   6467     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   6468     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   6469     ;;
   6470 
   6471   interix*)
   6472     # We know the value 262144 and hardcode it with a safety zone (like BSD)
   6473     lt_cv_sys_max_cmd_len=196608
   6474     ;;
   6475 
   6476   osf*)
   6477     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
   6478     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
   6479     # nice to cause kernel panics so lets avoid the loop below.
   6480     # First set a reasonable default.
   6481     lt_cv_sys_max_cmd_len=16384
   6482     #
   6483     if test -x /sbin/sysconfig; then
   6484       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
   6485         *1*) lt_cv_sys_max_cmd_len=-1 ;;
   6486       esac
   6487     fi
   6488     ;;
   6489   sco3.2v5*)
   6490     lt_cv_sys_max_cmd_len=102400
   6491     ;;
   6492   sysv5* | sco5v6* | sysv4.2uw2*)
   6493     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
   6494     if test -n "$kargmax"; then
   6495       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ 	]//'`
   6496     else
   6497       lt_cv_sys_max_cmd_len=32768
   6498     fi
   6499     ;;
   6500   *)
   6501     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
   6502     if test -n "$lt_cv_sys_max_cmd_len"; then
   6503       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   6504       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   6505     else
   6506       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
   6507       while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
   6508 	       = "XX$teststring") >/dev/null 2>&1 &&
   6509 	      new_result=`expr "X$teststring" : ".*" 2>&1` &&
   6510 	      lt_cv_sys_max_cmd_len=$new_result &&
   6511 	      test $i != 17 # 1/2 MB should be enough
   6512       do
   6513         i=`expr $i + 1`
   6514         teststring=$teststring$teststring
   6515       done
   6516       teststring=
   6517       # Add a significant safety factor because C++ compilers can tack on massive
   6518       # amounts of additional arguments before passing them to the linker.
   6519       # It appears as though 1/2 is a usable value.
   6520       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
   6521     fi
   6522     ;;
   6523   esac
   6524 
   6525 fi
   6526 
   6527 if test -n $lt_cv_sys_max_cmd_len ; then
   6528   { $as_echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
   6529 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
   6530 else
   6531   { $as_echo "$as_me:$LINENO: result: none" >&5
   6532 $as_echo "none" >&6; }
   6533 fi
   6534 
   6535 
   6536 
   6537 
   6538 
   6539 # Check for command to grab the raw symbol name followed by C symbol from nm.
   6540 { $as_echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
   6541 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
   6542 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
   6543   $as_echo_n "(cached) " >&6
   6544 else
   6545 
   6546 # These are sane defaults that work on at least a few old systems.
   6547 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
   6548 
   6549 # Character class describing NM global symbol codes.
   6550 symcode='[BCDEGRST]'
   6551 
   6552 # Regexp to match symbols that can be accessed directly from C.
   6553 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
   6554 
   6555 # Transform an extracted symbol line into a proper C declaration
   6556 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
   6557 
   6558 # Transform an extracted symbol line into symbol name and symbol address
   6559 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'"
   6560 
   6561 # Define system-specific variables.
   6562 case $host_os in
   6563 aix*)
   6564   symcode='[BCDT]'
   6565   ;;
   6566 cygwin* | mingw* | pw32*)
   6567   symcode='[ABCDGISTW]'
   6568   ;;
   6569 hpux*) # Its linker distinguishes data from code symbols
   6570   if test "$host_cpu" = ia64; then
   6571     symcode='[ABCDEGRST]'
   6572   fi
   6573   lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
   6574   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'"
   6575   ;;
   6576 linux* | k*bsd*-gnu)
   6577   if test "$host_cpu" = ia64; then
   6578     symcode='[ABCDGIRSTW]'
   6579     lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
   6580     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'"
   6581   fi
   6582   ;;
   6583 irix* | nonstopux*)
   6584   symcode='[BCDEGRST]'
   6585   ;;
   6586 osf*)
   6587   symcode='[BCDEGQRST]'
   6588   ;;
   6589 solaris*)
   6590   symcode='[BDRT]'
   6591   ;;
   6592 sco3.2v5*)
   6593   symcode='[DT]'
   6594   ;;
   6595 sysv4.2uw2*)
   6596   symcode='[DT]'
   6597   ;;
   6598 sysv5* | sco5v6* | unixware* | OpenUNIX*)
   6599   symcode='[ABDT]'
   6600   ;;
   6601 sysv4)
   6602   symcode='[DFNSTU]'
   6603   ;;
   6604 esac
   6605 
   6606 # Handle CRLF in mingw tool chain
   6607 opt_cr=
   6608 case $build_os in
   6609 mingw*)
   6610   opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
   6611   ;;
   6612 esac
   6613 
   6614 # If we're using GNU nm, then use its standard symbol codes.
   6615 case `$NM -V 2>&1` in
   6616 *GNU* | *'with BFD'*)
   6617   symcode='[ABCDGIRSTW]' ;;
   6618 esac
   6619 
   6620 # Try without a prefix undercore, then with it.
   6621 for ac_symprfx in "" "_"; do
   6622 
   6623   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
   6624   symxfrm="\\1 $ac_symprfx\\2 \\2"
   6625 
   6626   # Write the raw and C identifiers.
   6627   lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ 	]\($symcode$symcode*\)[ 	][ 	]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
   6628 
   6629   # Check to see that the pipe works correctly.
   6630   pipe_works=no
   6631 
   6632   rm -f conftest*
   6633   cat > conftest.$ac_ext <<EOF
   6634 #ifdef __cplusplus
   6635 extern "C" {
   6636 #endif
   6637 char nm_test_var;
   6638 void nm_test_func(){}
   6639 #ifdef __cplusplus
   6640 }
   6641 #endif
   6642 int main(){nm_test_var='a';nm_test_func();return(0);}
   6643 EOF
   6644 
   6645   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   6646   (eval $ac_compile) 2>&5
   6647   ac_status=$?
   6648   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6649   (exit $ac_status); }; then
   6650     # Now try to grab the symbols.
   6651     nlist=conftest.nm
   6652     if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
   6653   (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
   6654   ac_status=$?
   6655   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6656   (exit $ac_status); } && test -s "$nlist"; then
   6657       # Try sorting and uniquifying the output.
   6658       if sort "$nlist" | uniq > "$nlist"T; then
   6659 	mv -f "$nlist"T "$nlist"
   6660       else
   6661 	rm -f "$nlist"T
   6662       fi
   6663 
   6664       # Make sure that we snagged all the symbols we need.
   6665       if grep ' nm_test_var$' "$nlist" >/dev/null; then
   6666 	if grep ' nm_test_func$' "$nlist" >/dev/null; then
   6667 	  cat <<EOF > conftest.$ac_ext
   6668 #ifdef __cplusplus
   6669 extern "C" {
   6670 #endif
   6671 
   6672 EOF
   6673 	  # Now generate the symbol file.
   6674 	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
   6675 
   6676 	  cat <<EOF >> conftest.$ac_ext
   6677 #if defined (__STDC__) && __STDC__
   6678 # define lt_ptr_t void *
   6679 #else
   6680 # define lt_ptr_t char *
   6681 # define const
   6682 #endif
   6683 
   6684 /* The mapping between symbol names and symbols. */
   6685 const struct {
   6686   const char *name;
   6687   lt_ptr_t address;
   6688 }
   6689 lt_preloaded_symbols[] =
   6690 {
   6691 EOF
   6692 	  $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext
   6693 	  cat <<\EOF >> conftest.$ac_ext
   6694   {0, (lt_ptr_t) 0}
   6695 };
   6696 
   6697 #ifdef __cplusplus
   6698 }
   6699 #endif
   6700 EOF
   6701 	  # Now try linking the two files.
   6702 	  mv conftest.$ac_objext conftstm.$ac_objext
   6703 	  lt_save_LIBS="$LIBS"
   6704 	  lt_save_CFLAGS="$CFLAGS"
   6705 	  LIBS="conftstm.$ac_objext"
   6706 	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
   6707 	  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   6708   (eval $ac_link) 2>&5
   6709   ac_status=$?
   6710   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6711   (exit $ac_status); } && test -s conftest${ac_exeext}; then
   6712 	    pipe_works=yes
   6713 	  fi
   6714 	  LIBS="$lt_save_LIBS"
   6715 	  CFLAGS="$lt_save_CFLAGS"
   6716 	else
   6717 	  echo "cannot find nm_test_func in $nlist" >&5
   6718 	fi
   6719       else
   6720 	echo "cannot find nm_test_var in $nlist" >&5
   6721       fi
   6722     else
   6723       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
   6724     fi
   6725   else
   6726     echo "$progname: failed program was:" >&5
   6727     cat conftest.$ac_ext >&5
   6728   fi
   6729   rm -rf conftest* conftst*
   6730 
   6731   # Do not use the global_symbol_pipe unless it works.
   6732   if test "$pipe_works" = yes; then
   6733     break
   6734   else
   6735     lt_cv_sys_global_symbol_pipe=
   6736   fi
   6737 done
   6738 
   6739 fi
   6740 
   6741 if test -z "$lt_cv_sys_global_symbol_pipe"; then
   6742   lt_cv_sys_global_symbol_to_cdecl=
   6743 fi
   6744 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
   6745   { $as_echo "$as_me:$LINENO: result: failed" >&5
   6746 $as_echo "failed" >&6; }
   6747 else
   6748   { $as_echo "$as_me:$LINENO: result: ok" >&5
   6749 $as_echo "ok" >&6; }
   6750 fi
   6751 
   6752 { $as_echo "$as_me:$LINENO: checking for objdir" >&5
   6753 $as_echo_n "checking for objdir... " >&6; }
   6754 if test "${lt_cv_objdir+set}" = set; then
   6755   $as_echo_n "(cached) " >&6
   6756 else
   6757   rm -f .libs 2>/dev/null
   6758 mkdir .libs 2>/dev/null
   6759 if test -d .libs; then
   6760   lt_cv_objdir=.libs
   6761 else
   6762   # MS-DOS does not allow filenames that begin with a dot.
   6763   lt_cv_objdir=_libs
   6764 fi
   6765 rmdir .libs 2>/dev/null
   6766 fi
   6767 { $as_echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
   6768 $as_echo "$lt_cv_objdir" >&6; }
   6769 objdir=$lt_cv_objdir
   6770 
   6771 
   6772 
   6773 
   6774 
   6775 case $host_os in
   6776 aix3*)
   6777   # AIX sometimes has problems with the GCC collect2 program.  For some
   6778   # reason, if we set the COLLECT_NAMES environment variable, the problems
   6779   # vanish in a puff of smoke.
   6780   if test "X${COLLECT_NAMES+set}" != Xset; then
   6781     COLLECT_NAMES=
   6782     export COLLECT_NAMES
   6783   fi
   6784   ;;
   6785 esac
   6786 
   6787 # Sed substitution that helps us do robust quoting.  It backslashifies
   6788 # metacharacters that are still active within double-quoted strings.
   6789 Xsed='sed -e 1s/^X//'
   6790 sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g'
   6791 
   6792 # Same as above, but do not quote variable references.
   6793 double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g'
   6794 
   6795 # Sed substitution to delay expansion of an escaped shell variable in a
   6796 # double_quote_subst'ed string.
   6797 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
   6798 
   6799 # Sed substitution to avoid accidental globbing in evaled expressions
   6800 no_glob_subst='s/\*/\\\*/g'
   6801 
   6802 # Constants:
   6803 rm="rm -f"
   6804 
   6805 # Global variables:
   6806 default_ofile=libtool
   6807 can_build_shared=yes
   6808 
   6809 # All known linkers require a `.a' archive for static linking (except MSVC,
   6810 # which needs '.lib').
   6811 libext=a
   6812 ltmain="$ac_aux_dir/ltmain.sh"
   6813 ofile="$default_ofile"
   6814 with_gnu_ld="$lt_cv_prog_gnu_ld"
   6815 
   6816 if test -n "$ac_tool_prefix"; then
   6817   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
   6818 set dummy ${ac_tool_prefix}ar; ac_word=$2
   6819 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   6820 $as_echo_n "checking for $ac_word... " >&6; }
   6821 if test "${ac_cv_prog_AR+set}" = set; then
   6822   $as_echo_n "(cached) " >&6
   6823 else
   6824   if test -n "$AR"; then
   6825   ac_cv_prog_AR="$AR" # Let the user override the test.
   6826 else
   6827 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6828 for as_dir in $PATH
   6829 do
   6830   IFS=$as_save_IFS
   6831   test -z "$as_dir" && as_dir=.
   6832   for ac_exec_ext in '' $ac_executable_extensions; do
   6833   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6834     ac_cv_prog_AR="${ac_tool_prefix}ar"
   6835     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6836     break 2
   6837   fi
   6838 done
   6839 done
   6840 IFS=$as_save_IFS
   6841 
   6842 fi
   6843 fi
   6844 AR=$ac_cv_prog_AR
   6845 if test -n "$AR"; then
   6846   { $as_echo "$as_me:$LINENO: result: $AR" >&5
   6847 $as_echo "$AR" >&6; }
   6848 else
   6849   { $as_echo "$as_me:$LINENO: result: no" >&5
   6850 $as_echo "no" >&6; }
   6851 fi
   6852 
   6853 
   6854 fi
   6855 if test -z "$ac_cv_prog_AR"; then
   6856   ac_ct_AR=$AR
   6857   # Extract the first word of "ar", so it can be a program name with args.
   6858 set dummy ar; ac_word=$2
   6859 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   6860 $as_echo_n "checking for $ac_word... " >&6; }
   6861 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
   6862   $as_echo_n "(cached) " >&6
   6863 else
   6864   if test -n "$ac_ct_AR"; then
   6865   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
   6866 else
   6867 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6868 for as_dir in $PATH
   6869 do
   6870   IFS=$as_save_IFS
   6871   test -z "$as_dir" && as_dir=.
   6872   for ac_exec_ext in '' $ac_executable_extensions; do
   6873   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6874     ac_cv_prog_ac_ct_AR="ar"
   6875     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6876     break 2
   6877   fi
   6878 done
   6879 done
   6880 IFS=$as_save_IFS
   6881 
   6882 fi
   6883 fi
   6884 ac_ct_AR=$ac_cv_prog_ac_ct_AR
   6885 if test -n "$ac_ct_AR"; then
   6886   { $as_echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
   6887 $as_echo "$ac_ct_AR" >&6; }
   6888 else
   6889   { $as_echo "$as_me:$LINENO: result: no" >&5
   6890 $as_echo "no" >&6; }
   6891 fi
   6892 
   6893   if test "x$ac_ct_AR" = x; then
   6894     AR="false"
   6895   else
   6896     case $cross_compiling:$ac_tool_warned in
   6897 yes:)
   6898 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   6899 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6900 ac_tool_warned=yes ;;
   6901 esac
   6902     AR=$ac_ct_AR
   6903   fi
   6904 else
   6905   AR="$ac_cv_prog_AR"
   6906 fi
   6907 
   6908 if test -n "$ac_tool_prefix"; then
   6909   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
   6910 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
   6911 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   6912 $as_echo_n "checking for $ac_word... " >&6; }
   6913 if test "${ac_cv_prog_RANLIB+set}" = set; then
   6914   $as_echo_n "(cached) " >&6
   6915 else
   6916   if test -n "$RANLIB"; then
   6917   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
   6918 else
   6919 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6920 for as_dir in $PATH
   6921 do
   6922   IFS=$as_save_IFS
   6923   test -z "$as_dir" && as_dir=.
   6924   for ac_exec_ext in '' $ac_executable_extensions; do
   6925   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6926     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
   6927     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6928     break 2
   6929   fi
   6930 done
   6931 done
   6932 IFS=$as_save_IFS
   6933 
   6934 fi
   6935 fi
   6936 RANLIB=$ac_cv_prog_RANLIB
   6937 if test -n "$RANLIB"; then
   6938   { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
   6939 $as_echo "$RANLIB" >&6; }
   6940 else
   6941   { $as_echo "$as_me:$LINENO: result: no" >&5
   6942 $as_echo "no" >&6; }
   6943 fi
   6944 
   6945 
   6946 fi
   6947 if test -z "$ac_cv_prog_RANLIB"; then
   6948   ac_ct_RANLIB=$RANLIB
   6949   # Extract the first word of "ranlib", so it can be a program name with args.
   6950 set dummy ranlib; ac_word=$2
   6951 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   6952 $as_echo_n "checking for $ac_word... " >&6; }
   6953 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
   6954   $as_echo_n "(cached) " >&6
   6955 else
   6956   if test -n "$ac_ct_RANLIB"; then
   6957   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
   6958 else
   6959 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6960 for as_dir in $PATH
   6961 do
   6962   IFS=$as_save_IFS
   6963   test -z "$as_dir" && as_dir=.
   6964   for ac_exec_ext in '' $ac_executable_extensions; do
   6965   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6966     ac_cv_prog_ac_ct_RANLIB="ranlib"
   6967     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6968     break 2
   6969   fi
   6970 done
   6971 done
   6972 IFS=$as_save_IFS
   6973 
   6974 fi
   6975 fi
   6976 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
   6977 if test -n "$ac_ct_RANLIB"; then
   6978   { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
   6979 $as_echo "$ac_ct_RANLIB" >&6; }
   6980 else
   6981   { $as_echo "$as_me:$LINENO: result: no" >&5
   6982 $as_echo "no" >&6; }
   6983 fi
   6984 
   6985   if test "x$ac_ct_RANLIB" = x; then
   6986     RANLIB=":"
   6987   else
   6988     case $cross_compiling:$ac_tool_warned in
   6989 yes:)
   6990 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   6991 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6992 ac_tool_warned=yes ;;
   6993 esac
   6994     RANLIB=$ac_ct_RANLIB
   6995   fi
   6996 else
   6997   RANLIB="$ac_cv_prog_RANLIB"
   6998 fi
   6999 
   7000 if test -n "$ac_tool_prefix"; then
   7001   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   7002 set dummy ${ac_tool_prefix}strip; ac_word=$2
   7003 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   7004 $as_echo_n "checking for $ac_word... " >&6; }
   7005 if test "${ac_cv_prog_STRIP+set}" = set; then
   7006   $as_echo_n "(cached) " >&6
   7007 else
   7008   if test -n "$STRIP"; then
   7009   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   7010 else
   7011 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7012 for as_dir in $PATH
   7013 do
   7014   IFS=$as_save_IFS
   7015   test -z "$as_dir" && as_dir=.
   7016   for ac_exec_ext in '' $ac_executable_extensions; do
   7017   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7018     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   7019     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   7020     break 2
   7021   fi
   7022 done
   7023 done
   7024 IFS=$as_save_IFS
   7025 
   7026 fi
   7027 fi
   7028 STRIP=$ac_cv_prog_STRIP
   7029 if test -n "$STRIP"; then
   7030   { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
   7031 $as_echo "$STRIP" >&6; }
   7032 else
   7033   { $as_echo "$as_me:$LINENO: result: no" >&5
   7034 $as_echo "no" >&6; }
   7035 fi
   7036 
   7037 
   7038 fi
   7039 if test -z "$ac_cv_prog_STRIP"; then
   7040   ac_ct_STRIP=$STRIP
   7041   # Extract the first word of "strip", so it can be a program name with args.
   7042 set dummy strip; ac_word=$2
   7043 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   7044 $as_echo_n "checking for $ac_word... " >&6; }
   7045 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
   7046   $as_echo_n "(cached) " >&6
   7047 else
   7048   if test -n "$ac_ct_STRIP"; then
   7049   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   7050 else
   7051 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7052 for as_dir in $PATH
   7053 do
   7054   IFS=$as_save_IFS
   7055   test -z "$as_dir" && as_dir=.
   7056   for ac_exec_ext in '' $ac_executable_extensions; do
   7057   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7058     ac_cv_prog_ac_ct_STRIP="strip"
   7059     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   7060     break 2
   7061   fi
   7062 done
   7063 done
   7064 IFS=$as_save_IFS
   7065 
   7066 fi
   7067 fi
   7068 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   7069 if test -n "$ac_ct_STRIP"; then
   7070   { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
   7071 $as_echo "$ac_ct_STRIP" >&6; }
   7072 else
   7073   { $as_echo "$as_me:$LINENO: result: no" >&5
   7074 $as_echo "no" >&6; }
   7075 fi
   7076 
   7077   if test "x$ac_ct_STRIP" = x; then
   7078     STRIP=":"
   7079   else
   7080     case $cross_compiling:$ac_tool_warned in
   7081 yes:)
   7082 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   7083 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7084 ac_tool_warned=yes ;;
   7085 esac
   7086     STRIP=$ac_ct_STRIP
   7087   fi
   7088 else
   7089   STRIP="$ac_cv_prog_STRIP"
   7090 fi
   7091 
   7092 
   7093 old_CC="$CC"
   7094 old_CFLAGS="$CFLAGS"
   7095 
   7096 # Set sane defaults for various variables
   7097 test -z "$AR" && AR=ar
   7098 test -z "$AR_FLAGS" && AR_FLAGS=cru
   7099 test -z "$AS" && AS=as
   7100 test -z "$CC" && CC=cc
   7101 test -z "$LTCC" && LTCC=$CC
   7102 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
   7103 test -z "$DLLTOOL" && DLLTOOL=dlltool
   7104 test -z "$LD" && LD=ld
   7105 test -z "$LN_S" && LN_S="ln -s"
   7106 test -z "$MAGIC_CMD" && MAGIC_CMD=file
   7107 test -z "$NM" && NM=nm
   7108 test -z "$SED" && SED=sed
   7109 test -z "$OBJDUMP" && OBJDUMP=objdump
   7110 test -z "$RANLIB" && RANLIB=:
   7111 test -z "$STRIP" && STRIP=:
   7112 test -z "$ac_objext" && ac_objext=o
   7113 
   7114 # Determine commands to create old-style static archives.
   7115 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
   7116 old_postinstall_cmds='chmod 644 $oldlib'
   7117 old_postuninstall_cmds=
   7118 
   7119 if test -n "$RANLIB"; then
   7120   case $host_os in
   7121   openbsd*)
   7122     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
   7123     ;;
   7124   *)
   7125     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
   7126     ;;
   7127   esac
   7128   old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
   7129 fi
   7130 
   7131 for cc_temp in $compiler""; do
   7132   case $cc_temp in
   7133     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   7134     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   7135     \-*) ;;
   7136     *) break;;
   7137   esac
   7138 done
   7139 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   7140 
   7141 
   7142 # Only perform the check for file, if the check method requires it
   7143 case $deplibs_check_method in
   7144 file_magic*)
   7145   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
   7146     { $as_echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
   7147 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
   7148 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
   7149   $as_echo_n "(cached) " >&6
   7150 else
   7151   case $MAGIC_CMD in
   7152 [\\/*] |  ?:[\\/]*)
   7153   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   7154   ;;
   7155 *)
   7156   lt_save_MAGIC_CMD="$MAGIC_CMD"
   7157   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   7158   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   7159   for ac_dir in $ac_dummy; do
   7160     IFS="$lt_save_ifs"
   7161     test -z "$ac_dir" && ac_dir=.
   7162     if test -f $ac_dir/${ac_tool_prefix}file; then
   7163       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
   7164       if test -n "$file_magic_test_file"; then
   7165 	case $deplibs_check_method in
   7166 	"file_magic "*)
   7167 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   7168 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7169 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   7170 	    $EGREP "$file_magic_regex" > /dev/null; then
   7171 	    :
   7172 	  else
   7173 	    cat <<EOF 1>&2
   7174 
   7175 *** Warning: the command libtool uses to detect shared libraries,
   7176 *** $file_magic_cmd, produces output that libtool cannot recognize.
   7177 *** The result is that libtool may fail to recognize shared libraries
   7178 *** as such.  This will affect the creation of libtool libraries that
   7179 *** depend on shared libraries, but programs linked with such libtool
   7180 *** libraries will work regardless of this problem.  Nevertheless, you
   7181 *** may want to report the problem to your system manager and/or to
   7182 *** bug-libtool@gnu.org
   7183 
   7184 EOF
   7185 	  fi ;;
   7186 	esac
   7187       fi
   7188       break
   7189     fi
   7190   done
   7191   IFS="$lt_save_ifs"
   7192   MAGIC_CMD="$lt_save_MAGIC_CMD"
   7193   ;;
   7194 esac
   7195 fi
   7196 
   7197 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7198 if test -n "$MAGIC_CMD"; then
   7199   { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
   7200 $as_echo "$MAGIC_CMD" >&6; }
   7201 else
   7202   { $as_echo "$as_me:$LINENO: result: no" >&5
   7203 $as_echo "no" >&6; }
   7204 fi
   7205 
   7206 if test -z "$lt_cv_path_MAGIC_CMD"; then
   7207   if test -n "$ac_tool_prefix"; then
   7208     { $as_echo "$as_me:$LINENO: checking for file" >&5
   7209 $as_echo_n "checking for file... " >&6; }
   7210 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
   7211   $as_echo_n "(cached) " >&6
   7212 else
   7213   case $MAGIC_CMD in
   7214 [\\/*] |  ?:[\\/]*)
   7215   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   7216   ;;
   7217 *)
   7218   lt_save_MAGIC_CMD="$MAGIC_CMD"
   7219   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   7220   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   7221   for ac_dir in $ac_dummy; do
   7222     IFS="$lt_save_ifs"
   7223     test -z "$ac_dir" && ac_dir=.
   7224     if test -f $ac_dir/file; then
   7225       lt_cv_path_MAGIC_CMD="$ac_dir/file"
   7226       if test -n "$file_magic_test_file"; then
   7227 	case $deplibs_check_method in
   7228 	"file_magic "*)
   7229 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   7230 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7231 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   7232 	    $EGREP "$file_magic_regex" > /dev/null; then
   7233 	    :
   7234 	  else
   7235 	    cat <<EOF 1>&2
   7236 
   7237 *** Warning: the command libtool uses to detect shared libraries,
   7238 *** $file_magic_cmd, produces output that libtool cannot recognize.
   7239 *** The result is that libtool may fail to recognize shared libraries
   7240 *** as such.  This will affect the creation of libtool libraries that
   7241 *** depend on shared libraries, but programs linked with such libtool
   7242 *** libraries will work regardless of this problem.  Nevertheless, you
   7243 *** may want to report the problem to your system manager and/or to
   7244 *** bug-libtool@gnu.org
   7245 
   7246 EOF
   7247 	  fi ;;
   7248 	esac
   7249       fi
   7250       break
   7251     fi
   7252   done
   7253   IFS="$lt_save_ifs"
   7254   MAGIC_CMD="$lt_save_MAGIC_CMD"
   7255   ;;
   7256 esac
   7257 fi
   7258 
   7259 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7260 if test -n "$MAGIC_CMD"; then
   7261   { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
   7262 $as_echo "$MAGIC_CMD" >&6; }
   7263 else
   7264   { $as_echo "$as_me:$LINENO: result: no" >&5
   7265 $as_echo "no" >&6; }
   7266 fi
   7267 
   7268   else
   7269     MAGIC_CMD=:
   7270   fi
   7271 fi
   7272 
   7273   fi
   7274   ;;
   7275 esac
   7276 
   7277 
   7278   case $host_os in
   7279     rhapsody* | darwin*)
   7280     if test -n "$ac_tool_prefix"; then
   7281   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
   7282 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
   7283 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   7284 $as_echo_n "checking for $ac_word... " >&6; }
   7285 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then
   7286   $as_echo_n "(cached) " >&6
   7287 else
   7288   if test -n "$DSYMUTIL"; then
   7289   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
   7290 else
   7291 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7292 for as_dir in $PATH
   7293 do
   7294   IFS=$as_save_IFS
   7295   test -z "$as_dir" && as_dir=.
   7296   for ac_exec_ext in '' $ac_executable_extensions; do
   7297   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7298     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
   7299     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   7300     break 2
   7301   fi
   7302 done
   7303 done
   7304 IFS=$as_save_IFS
   7305 
   7306 fi
   7307 fi
   7308 DSYMUTIL=$ac_cv_prog_DSYMUTIL
   7309 if test -n "$DSYMUTIL"; then
   7310   { $as_echo "$as_me:$LINENO: result: $DSYMUTIL" >&5
   7311 $as_echo "$DSYMUTIL" >&6; }
   7312 else
   7313   { $as_echo "$as_me:$LINENO: result: no" >&5
   7314 $as_echo "no" >&6; }
   7315 fi
   7316 
   7317 
   7318 fi
   7319 if test -z "$ac_cv_prog_DSYMUTIL"; then
   7320   ac_ct_DSYMUTIL=$DSYMUTIL
   7321   # Extract the first word of "dsymutil", so it can be a program name with args.
   7322 set dummy dsymutil; ac_word=$2
   7323 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   7324 $as_echo_n "checking for $ac_word... " >&6; }
   7325 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then
   7326   $as_echo_n "(cached) " >&6
   7327 else
   7328   if test -n "$ac_ct_DSYMUTIL"; then
   7329   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
   7330 else
   7331 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7332 for as_dir in $PATH
   7333 do
   7334   IFS=$as_save_IFS
   7335   test -z "$as_dir" && as_dir=.
   7336   for ac_exec_ext in '' $ac_executable_extensions; do
   7337   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7338     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
   7339     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   7340     break 2
   7341   fi
   7342 done
   7343 done
   7344 IFS=$as_save_IFS
   7345 
   7346 fi
   7347 fi
   7348 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
   7349 if test -n "$ac_ct_DSYMUTIL"; then
   7350   { $as_echo "$as_me:$LINENO: result: $ac_ct_DSYMUTIL" >&5
   7351 $as_echo "$ac_ct_DSYMUTIL" >&6; }
   7352 else
   7353   { $as_echo "$as_me:$LINENO: result: no" >&5
   7354 $as_echo "no" >&6; }
   7355 fi
   7356 
   7357   if test "x$ac_ct_DSYMUTIL" = x; then
   7358     DSYMUTIL=":"
   7359   else
   7360     case $cross_compiling:$ac_tool_warned in
   7361 yes:)
   7362 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   7363 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7364 ac_tool_warned=yes ;;
   7365 esac
   7366     DSYMUTIL=$ac_ct_DSYMUTIL
   7367   fi
   7368 else
   7369   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
   7370 fi
   7371 
   7372     if test -n "$ac_tool_prefix"; then
   7373   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
   7374 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
   7375 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   7376 $as_echo_n "checking for $ac_word... " >&6; }
   7377 if test "${ac_cv_prog_NMEDIT+set}" = set; then
   7378   $as_echo_n "(cached) " >&6
   7379 else
   7380   if test -n "$NMEDIT"; then
   7381   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
   7382 else
   7383 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7384 for as_dir in $PATH
   7385 do
   7386   IFS=$as_save_IFS
   7387   test -z "$as_dir" && as_dir=.
   7388   for ac_exec_ext in '' $ac_executable_extensions; do
   7389   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7390     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
   7391     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   7392     break 2
   7393   fi
   7394 done
   7395 done
   7396 IFS=$as_save_IFS
   7397 
   7398 fi
   7399 fi
   7400 NMEDIT=$ac_cv_prog_NMEDIT
   7401 if test -n "$NMEDIT"; then
   7402   { $as_echo "$as_me:$LINENO: result: $NMEDIT" >&5
   7403 $as_echo "$NMEDIT" >&6; }
   7404 else
   7405   { $as_echo "$as_me:$LINENO: result: no" >&5
   7406 $as_echo "no" >&6; }
   7407 fi
   7408 
   7409 
   7410 fi
   7411 if test -z "$ac_cv_prog_NMEDIT"; then
   7412   ac_ct_NMEDIT=$NMEDIT
   7413   # Extract the first word of "nmedit", so it can be a program name with args.
   7414 set dummy nmedit; ac_word=$2
   7415 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   7416 $as_echo_n "checking for $ac_word... " >&6; }
   7417 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then
   7418   $as_echo_n "(cached) " >&6
   7419 else
   7420   if test -n "$ac_ct_NMEDIT"; then
   7421   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
   7422 else
   7423 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7424 for as_dir in $PATH
   7425 do
   7426   IFS=$as_save_IFS
   7427   test -z "$as_dir" && as_dir=.
   7428   for ac_exec_ext in '' $ac_executable_extensions; do
   7429   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7430     ac_cv_prog_ac_ct_NMEDIT="nmedit"
   7431     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   7432     break 2
   7433   fi
   7434 done
   7435 done
   7436 IFS=$as_save_IFS
   7437 
   7438 fi
   7439 fi
   7440 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
   7441 if test -n "$ac_ct_NMEDIT"; then
   7442   { $as_echo "$as_me:$LINENO: result: $ac_ct_NMEDIT" >&5
   7443 $as_echo "$ac_ct_NMEDIT" >&6; }
   7444 else
   7445   { $as_echo "$as_me:$LINENO: result: no" >&5
   7446 $as_echo "no" >&6; }
   7447 fi
   7448 
   7449   if test "x$ac_ct_NMEDIT" = x; then
   7450     NMEDIT=":"
   7451   else
   7452     case $cross_compiling:$ac_tool_warned in
   7453 yes:)
   7454 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   7455 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7456 ac_tool_warned=yes ;;
   7457 esac
   7458     NMEDIT=$ac_ct_NMEDIT
   7459   fi
   7460 else
   7461   NMEDIT="$ac_cv_prog_NMEDIT"
   7462 fi
   7463 
   7464 
   7465     { $as_echo "$as_me:$LINENO: checking for -single_module linker flag" >&5
   7466 $as_echo_n "checking for -single_module linker flag... " >&6; }
   7467 if test "${lt_cv_apple_cc_single_mod+set}" = set; then
   7468   $as_echo_n "(cached) " >&6
   7469 else
   7470   lt_cv_apple_cc_single_mod=no
   7471       if test -z "${LT_MULTI_MODULE}"; then
   7472    # By default we will add the -single_module flag. You can override
   7473    # by either setting the environment variable LT_MULTI_MODULE
   7474    # non-empty at configure time, or by adding -multi_module to the
   7475    # link flags.
   7476    echo "int foo(void){return 1;}" > conftest.c
   7477    $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   7478      -dynamiclib ${wl}-single_module conftest.c
   7479    if test -f libconftest.dylib; then
   7480      lt_cv_apple_cc_single_mod=yes
   7481      rm -rf libconftest.dylib*
   7482    fi
   7483    rm conftest.c
   7484       fi
   7485 fi
   7486 { $as_echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5
   7487 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
   7488     { $as_echo "$as_me:$LINENO: checking for -exported_symbols_list linker flag" >&5
   7489 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
   7490 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then
   7491   $as_echo_n "(cached) " >&6
   7492 else
   7493   lt_cv_ld_exported_symbols_list=no
   7494       save_LDFLAGS=$LDFLAGS
   7495       echo "_main" > conftest.sym
   7496       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
   7497       cat >conftest.$ac_ext <<_ACEOF
   7498 /* confdefs.h.  */
   7499 _ACEOF
   7500 cat confdefs.h >>conftest.$ac_ext
   7501 cat >>conftest.$ac_ext <<_ACEOF
   7502 /* end confdefs.h.  */
   7503 
   7504 int
   7505 main ()
   7506 {
   7507 
   7508   ;
   7509   return 0;
   7510 }
   7511 _ACEOF
   7512 rm -f conftest.$ac_objext conftest$ac_exeext
   7513 if { (ac_try="$ac_link"
   7514 case "(($ac_try" in
   7515   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   7516   *) ac_try_echo=$ac_try;;
   7517 esac
   7518 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   7519 $as_echo "$ac_try_echo") >&5
   7520   (eval "$ac_link") 2>conftest.er1
   7521   ac_status=$?
   7522   grep -v '^ *+' conftest.er1 >conftest.err
   7523   rm -f conftest.er1
   7524   cat conftest.err >&5
   7525   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7526   (exit $ac_status); } && {
   7527 	 test -z "$ac_c_werror_flag" ||
   7528 	 test ! -s conftest.err
   7529        } && test -s conftest$ac_exeext && {
   7530 	 test "$cross_compiling" = yes ||
   7531 	 $as_test_x conftest$ac_exeext
   7532        }; then
   7533   lt_cv_ld_exported_symbols_list=yes
   7534 else
   7535   $as_echo "$as_me: failed program was:" >&5
   7536 sed 's/^/| /' conftest.$ac_ext >&5
   7537 
   7538 	lt_cv_ld_exported_symbols_list=no
   7539 fi
   7540 
   7541 rm -rf conftest.dSYM
   7542 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   7543       conftest$ac_exeext conftest.$ac_ext
   7544    LDFLAGS="$save_LDFLAGS"
   7545 
   7546 fi
   7547 { $as_echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5
   7548 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
   7549     case $host_os in
   7550     rhapsody* | darwin1.[0123])
   7551       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
   7552     darwin1.*)
   7553      _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
   7554     darwin*)
   7555       # if running on 10.5 or later, the deployment target defaults
   7556       # to the OS version, if on x86, and 10.4, the deployment
   7557       # target defaults to 10.4. Don't you love it?
   7558       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
   7559    10.0,*86*-darwin8*|10.0,*-darwin[91]*)
   7560      _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
   7561    10.[012]*)
   7562      _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
   7563    10.*)
   7564      _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
   7565       esac
   7566     ;;
   7567   esac
   7568     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
   7569       _lt_dar_single_mod='$single_module'
   7570     fi
   7571     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
   7572       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
   7573     else
   7574       _lt_dar_export_syms="~$NMEDIT -s \$output_objdir/\${libname}-symbols.expsym \${lib}"
   7575     fi
   7576     if test "$DSYMUTIL" != ":"; then
   7577       _lt_dsymutil="~$DSYMUTIL \$lib || :"
   7578     else
   7579       _lt_dsymutil=
   7580     fi
   7581     ;;
   7582   esac
   7583 
   7584 
   7585 enable_dlopen=no
   7586 enable_win32_dll=no
   7587 
   7588 # Check whether --enable-libtool-lock was given.
   7589 if test "${enable_libtool_lock+set}" = set; then
   7590   enableval=$enable_libtool_lock;
   7591 fi
   7592 
   7593 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
   7594 
   7595 
   7596 # Check whether --with-pic was given.
   7597 if test "${with_pic+set}" = set; then
   7598   withval=$with_pic; pic_mode="$withval"
   7599 else
   7600   pic_mode=default
   7601 fi
   7602 
   7603 test -z "$pic_mode" && pic_mode=default
   7604 
   7605 # Use C for the default configuration in the libtool script
   7606 tagname=
   7607 lt_save_CC="$CC"
   7608 ac_ext=c
   7609 ac_cpp='$CPP $CPPFLAGS'
   7610 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7611 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7612 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7613 
   7614 
   7615 # Source file extension for C test sources.
   7616 ac_ext=c
   7617 
   7618 # Object file extension for compiled C test sources.
   7619 objext=o
   7620 objext=$objext
   7621 
   7622 # Code to be used in simple compile tests
   7623 lt_simple_compile_test_code="int some_variable = 0;"
   7624 
   7625 # Code to be used in simple link tests
   7626 lt_simple_link_test_code='int main(){return(0);}'
   7627 
   7628 
   7629 # If no C compiler was specified, use CC.
   7630 LTCC=${LTCC-"$CC"}
   7631 
   7632 # If no C compiler flags were specified, use CFLAGS.
   7633 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   7634 
   7635 # Allow CC to be a program name with arguments.
   7636 compiler=$CC
   7637 
   7638 
   7639 # save warnings/boilerplate of simple test code
   7640 ac_outfile=conftest.$ac_objext
   7641 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   7642 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   7643 _lt_compiler_boilerplate=`cat conftest.err`
   7644 $rm conftest*
   7645 
   7646 ac_outfile=conftest.$ac_objext
   7647 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   7648 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   7649 _lt_linker_boilerplate=`cat conftest.err`
   7650 $rm -r conftest*
   7651 
   7652 
   7653 
   7654 lt_prog_compiler_no_builtin_flag=
   7655 
   7656 if test "$GCC" = yes; then
   7657   lt_prog_compiler_no_builtin_flag=' -fno-builtin'
   7658 
   7659 
   7660 { $as_echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
   7661 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
   7662 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
   7663   $as_echo_n "(cached) " >&6
   7664 else
   7665   lt_cv_prog_compiler_rtti_exceptions=no
   7666   ac_outfile=conftest.$ac_objext
   7667    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   7668    lt_compiler_flag="-fno-rtti -fno-exceptions"
   7669    # Insert the option either (1) after the last *FLAGS variable, or
   7670    # (2) before a word containing "conftest.", or (3) at the end.
   7671    # Note that $ac_compile itself does not contain backslashes and begins
   7672    # with a dollar sign (not a hyphen), so the echo should work correctly.
   7673    # The option is referenced via a variable to avoid confusing sed.
   7674    lt_compile=`echo "$ac_compile" | $SED \
   7675    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   7676    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   7677    -e 's:$: $lt_compiler_flag:'`
   7678    (eval echo "\"\$as_me:7678: $lt_compile\"" >&5)
   7679    (eval "$lt_compile" 2>conftest.err)
   7680    ac_status=$?
   7681    cat conftest.err >&5
   7682    echo "$as_me:7682: \$? = $ac_status" >&5
   7683    if (exit $ac_status) && test -s "$ac_outfile"; then
   7684      # The compiler can only warn and ignore the option if not recognized
   7685      # So say no if there are warnings other than the usual output.
   7686      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   7687      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   7688      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   7689        lt_cv_prog_compiler_rtti_exceptions=yes
   7690      fi
   7691    fi
   7692    $rm conftest*
   7693 
   7694 fi
   7695 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
   7696 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
   7697 
   7698 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
   7699     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
   7700 else
   7701     :
   7702 fi
   7703 
   7704 fi
   7705 
   7706 lt_prog_compiler_wl=
   7707 lt_prog_compiler_pic=
   7708 lt_prog_compiler_static=
   7709 
   7710 { $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
   7711 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
   7712 
   7713   if test "$GCC" = yes; then
   7714     lt_prog_compiler_wl='-Wl,'
   7715     lt_prog_compiler_static='-static'
   7716 
   7717     case $host_os in
   7718       aix*)
   7719       # All AIX code is PIC.
   7720       if test "$host_cpu" = ia64; then
   7721 	# AIX 5 now supports IA64 processor
   7722 	lt_prog_compiler_static='-Bstatic'
   7723       fi
   7724       ;;
   7725 
   7726     amigaos*)
   7727       # FIXME: we need at least 68020 code to build shared libraries, but
   7728       # adding the `-m68020' flag to GCC prevents building anything better,
   7729       # like `-m68040'.
   7730       lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
   7731       ;;
   7732 
   7733     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   7734       # PIC is the default for these OSes.
   7735       ;;
   7736 
   7737     mingw* | cygwin* | pw32* | os2*)
   7738       # This hack is so that the source file can tell whether it is being
   7739       # built for inclusion in a dll (and should export symbols for example).
   7740       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   7741       # (--disable-auto-import) libraries
   7742       lt_prog_compiler_pic='-DDLL_EXPORT'
   7743       ;;
   7744 
   7745     darwin* | rhapsody*)
   7746       # PIC is the default on this platform
   7747       # Common symbols not allowed in MH_DYLIB files
   7748       lt_prog_compiler_pic='-fno-common'
   7749       ;;
   7750 
   7751     interix[3-9]*)
   7752       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   7753       # Instead, we relocate shared libraries at runtime.
   7754       ;;
   7755 
   7756     msdosdjgpp*)
   7757       # Just because we use GCC doesn't mean we suddenly get shared libraries
   7758       # on systems that don't support them.
   7759       lt_prog_compiler_can_build_shared=no
   7760       enable_shared=no
   7761       ;;
   7762 
   7763     sysv4*MP*)
   7764       if test -d /usr/nec; then
   7765 	lt_prog_compiler_pic=-Kconform_pic
   7766       fi
   7767       ;;
   7768 
   7769     hpux*)
   7770       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   7771       # not for PA HP-UX.
   7772       case $host_cpu in
   7773       hppa*64*|ia64*)
   7774 	# +Z the default
   7775 	;;
   7776       *)
   7777 	lt_prog_compiler_pic='-fPIC'
   7778 	;;
   7779       esac
   7780       ;;
   7781 
   7782     *)
   7783       lt_prog_compiler_pic='-fPIC'
   7784       ;;
   7785     esac
   7786   else
   7787     # PORTME Check for flag to pass linker flags through the system compiler.
   7788     case $host_os in
   7789     aix*)
   7790       lt_prog_compiler_wl='-Wl,'
   7791       if test "$host_cpu" = ia64; then
   7792 	# AIX 5 now supports IA64 processor
   7793 	lt_prog_compiler_static='-Bstatic'
   7794       else
   7795 	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
   7796       fi
   7797       ;;
   7798       darwin*)
   7799         # PIC is the default on this platform
   7800         # Common symbols not allowed in MH_DYLIB files
   7801        case $cc_basename in
   7802          xlc*)
   7803          lt_prog_compiler_pic='-qnocommon'
   7804          lt_prog_compiler_wl='-Wl,'
   7805          ;;
   7806        esac
   7807        ;;
   7808 
   7809     mingw* | cygwin* | pw32* | os2*)
   7810       # This hack is so that the source file can tell whether it is being
   7811       # built for inclusion in a dll (and should export symbols for example).
   7812       lt_prog_compiler_pic='-DDLL_EXPORT'
   7813       ;;
   7814 
   7815     hpux9* | hpux10* | hpux11*)
   7816       lt_prog_compiler_wl='-Wl,'
   7817       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   7818       # not for PA HP-UX.
   7819       case $host_cpu in
   7820       hppa*64*|ia64*)
   7821 	# +Z the default
   7822 	;;
   7823       *)
   7824 	lt_prog_compiler_pic='+Z'
   7825 	;;
   7826       esac
   7827       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   7828       lt_prog_compiler_static='${wl}-a ${wl}archive'
   7829       ;;
   7830 
   7831     irix5* | irix6* | nonstopux*)
   7832       lt_prog_compiler_wl='-Wl,'
   7833       # PIC (with -KPIC) is the default.
   7834       lt_prog_compiler_static='-non_shared'
   7835       ;;
   7836 
   7837     newsos6)
   7838       lt_prog_compiler_pic='-KPIC'
   7839       lt_prog_compiler_static='-Bstatic'
   7840       ;;
   7841 
   7842     linux* | k*bsd*-gnu)
   7843       case $cc_basename in
   7844       icc* | ecc*)
   7845 	lt_prog_compiler_wl='-Wl,'
   7846 	lt_prog_compiler_pic='-KPIC'
   7847 	lt_prog_compiler_static='-static'
   7848         ;;
   7849       pgcc* | pgf77* | pgf90* | pgf95*)
   7850         # Portland Group compilers (*not* the Pentium gcc compiler,
   7851 	# which looks to be a dead project)
   7852 	lt_prog_compiler_wl='-Wl,'
   7853 	lt_prog_compiler_pic='-fpic'
   7854 	lt_prog_compiler_static='-Bstatic'
   7855         ;;
   7856       ccc*)
   7857         lt_prog_compiler_wl='-Wl,'
   7858         # All Alpha code is PIC.
   7859         lt_prog_compiler_static='-non_shared'
   7860         ;;
   7861       *)
   7862         case `$CC -V 2>&1 | sed 5q` in
   7863 	*Sun\ C*)
   7864 	  # Sun C 5.9
   7865 	  lt_prog_compiler_pic='-KPIC'
   7866 	  lt_prog_compiler_static='-Bstatic'
   7867 	  lt_prog_compiler_wl='-Wl,'
   7868 	  ;;
   7869 	*Sun\ F*)
   7870 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   7871 	  lt_prog_compiler_pic='-KPIC'
   7872 	  lt_prog_compiler_static='-Bstatic'
   7873 	  lt_prog_compiler_wl=''
   7874 	  ;;
   7875 	esac
   7876 	;;
   7877       esac
   7878       ;;
   7879 
   7880     osf3* | osf4* | osf5*)
   7881       lt_prog_compiler_wl='-Wl,'
   7882       # All OSF/1 code is PIC.
   7883       lt_prog_compiler_static='-non_shared'
   7884       ;;
   7885 
   7886     rdos*)
   7887       lt_prog_compiler_static='-non_shared'
   7888       ;;
   7889 
   7890     solaris*)
   7891       lt_prog_compiler_pic='-KPIC'
   7892       lt_prog_compiler_static='-Bstatic'
   7893       case $cc_basename in
   7894       f77* | f90* | f95*)
   7895 	lt_prog_compiler_wl='-Qoption ld ';;
   7896       *)
   7897 	lt_prog_compiler_wl='-Wl,';;
   7898       esac
   7899       ;;
   7900 
   7901     sunos4*)
   7902       lt_prog_compiler_wl='-Qoption ld '
   7903       lt_prog_compiler_pic='-PIC'
   7904       lt_prog_compiler_static='-Bstatic'
   7905       ;;
   7906 
   7907     sysv4 | sysv4.2uw2* | sysv4.3*)
   7908       lt_prog_compiler_wl='-Wl,'
   7909       lt_prog_compiler_pic='-KPIC'
   7910       lt_prog_compiler_static='-Bstatic'
   7911       ;;
   7912 
   7913     sysv4*MP*)
   7914       if test -d /usr/nec ;then
   7915 	lt_prog_compiler_pic='-Kconform_pic'
   7916 	lt_prog_compiler_static='-Bstatic'
   7917       fi
   7918       ;;
   7919 
   7920     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   7921       lt_prog_compiler_wl='-Wl,'
   7922       lt_prog_compiler_pic='-KPIC'
   7923       lt_prog_compiler_static='-Bstatic'
   7924       ;;
   7925 
   7926     unicos*)
   7927       lt_prog_compiler_wl='-Wl,'
   7928       lt_prog_compiler_can_build_shared=no
   7929       ;;
   7930 
   7931     uts4*)
   7932       lt_prog_compiler_pic='-pic'
   7933       lt_prog_compiler_static='-Bstatic'
   7934       ;;
   7935 
   7936     *)
   7937       lt_prog_compiler_can_build_shared=no
   7938       ;;
   7939     esac
   7940   fi
   7941 
   7942 { $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
   7943 $as_echo "$lt_prog_compiler_pic" >&6; }
   7944 
   7945 #
   7946 # Check to make sure the PIC flag actually works.
   7947 #
   7948 if test -n "$lt_prog_compiler_pic"; then
   7949 
   7950 { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
   7951 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
   7952 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then
   7953   $as_echo_n "(cached) " >&6
   7954 else
   7955   lt_cv_prog_compiler_pic_works=no
   7956   ac_outfile=conftest.$ac_objext
   7957    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   7958    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
   7959    # Insert the option either (1) after the last *FLAGS variable, or
   7960    # (2) before a word containing "conftest.", or (3) at the end.
   7961    # Note that $ac_compile itself does not contain backslashes and begins
   7962    # with a dollar sign (not a hyphen), so the echo should work correctly.
   7963    # The option is referenced via a variable to avoid confusing sed.
   7964    lt_compile=`echo "$ac_compile" | $SED \
   7965    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   7966    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   7967    -e 's:$: $lt_compiler_flag:'`
   7968    (eval echo "\"\$as_me:7968: $lt_compile\"" >&5)
   7969    (eval "$lt_compile" 2>conftest.err)
   7970    ac_status=$?
   7971    cat conftest.err >&5
   7972    echo "$as_me:7972: \$? = $ac_status" >&5
   7973    if (exit $ac_status) && test -s "$ac_outfile"; then
   7974      # The compiler can only warn and ignore the option if not recognized
   7975      # So say no if there are warnings other than the usual output.
   7976      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   7977      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   7978      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   7979        lt_cv_prog_compiler_pic_works=yes
   7980      fi
   7981    fi
   7982    $rm conftest*
   7983 
   7984 fi
   7985 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5
   7986 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
   7987 
   7988 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
   7989     case $lt_prog_compiler_pic in
   7990      "" | " "*) ;;
   7991      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
   7992      esac
   7993 else
   7994     lt_prog_compiler_pic=
   7995      lt_prog_compiler_can_build_shared=no
   7996 fi
   7997 
   7998 fi
   7999 case $host_os in
   8000   # For platforms which do not support PIC, -DPIC is meaningless:
   8001   *djgpp*)
   8002     lt_prog_compiler_pic=
   8003     ;;
   8004   *)
   8005     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
   8006     ;;
   8007 esac
   8008 
   8009 #
   8010 # Check to make sure the static flag actually works.
   8011 #
   8012 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
   8013 { $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   8014 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   8015 if test "${lt_cv_prog_compiler_static_works+set}" = set; then
   8016   $as_echo_n "(cached) " >&6
   8017 else
   8018   lt_cv_prog_compiler_static_works=no
   8019    save_LDFLAGS="$LDFLAGS"
   8020    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   8021    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   8022    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   8023      # The linker can only warn and ignore the option if not recognized
   8024      # So say no if there are warnings
   8025      if test -s conftest.err; then
   8026        # Append any errors to the config.log.
   8027        cat conftest.err 1>&5
   8028        $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
   8029        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   8030        if diff conftest.exp conftest.er2 >/dev/null; then
   8031          lt_cv_prog_compiler_static_works=yes
   8032        fi
   8033      else
   8034        lt_cv_prog_compiler_static_works=yes
   8035      fi
   8036    fi
   8037    $rm -r conftest*
   8038    LDFLAGS="$save_LDFLAGS"
   8039 
   8040 fi
   8041 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5
   8042 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
   8043 
   8044 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
   8045     :
   8046 else
   8047     lt_prog_compiler_static=
   8048 fi
   8049 
   8050 
   8051 { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
   8052 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   8053 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
   8054   $as_echo_n "(cached) " >&6
   8055 else
   8056   lt_cv_prog_compiler_c_o=no
   8057    $rm -r conftest 2>/dev/null
   8058    mkdir conftest
   8059    cd conftest
   8060    mkdir out
   8061    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8062 
   8063    lt_compiler_flag="-o out/conftest2.$ac_objext"
   8064    # Insert the option either (1) after the last *FLAGS variable, or
   8065    # (2) before a word containing "conftest.", or (3) at the end.
   8066    # Note that $ac_compile itself does not contain backslashes and begins
   8067    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8068    lt_compile=`echo "$ac_compile" | $SED \
   8069    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8070    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8071    -e 's:$: $lt_compiler_flag:'`
   8072    (eval echo "\"\$as_me:8072: $lt_compile\"" >&5)
   8073    (eval "$lt_compile" 2>out/conftest.err)
   8074    ac_status=$?
   8075    cat out/conftest.err >&5
   8076    echo "$as_me:8076: \$? = $ac_status" >&5
   8077    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   8078    then
   8079      # The compiler can only warn and ignore the option if not recognized
   8080      # So say no if there are warnings
   8081      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
   8082      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   8083      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   8084        lt_cv_prog_compiler_c_o=yes
   8085      fi
   8086    fi
   8087    chmod u+w . 2>&5
   8088    $rm conftest*
   8089    # SGI C++ compiler will create directory out/ii_files/ for
   8090    # template instantiation
   8091    test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
   8092    $rm out/* && rmdir out
   8093    cd ..
   8094    rmdir conftest
   8095    $rm conftest*
   8096 
   8097 fi
   8098 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
   8099 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   8100 
   8101 
   8102 hard_links="nottested"
   8103 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
   8104   # do not overwrite the value of need_locks provided by the user
   8105   { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
   8106 $as_echo_n "checking if we can lock with hard links... " >&6; }
   8107   hard_links=yes
   8108   $rm conftest*
   8109   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   8110   touch conftest.a
   8111   ln conftest.a conftest.b 2>&5 || hard_links=no
   8112   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   8113   { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
   8114 $as_echo "$hard_links" >&6; }
   8115   if test "$hard_links" = no; then
   8116     { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   8117 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   8118     need_locks=warn
   8119   fi
   8120 else
   8121   need_locks=no
   8122 fi
   8123 
   8124 { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   8125 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   8126 
   8127   runpath_var=
   8128   allow_undefined_flag=
   8129   enable_shared_with_static_runtimes=no
   8130   archive_cmds=
   8131   archive_expsym_cmds=
   8132   old_archive_From_new_cmds=
   8133   old_archive_from_expsyms_cmds=
   8134   export_dynamic_flag_spec=
   8135   whole_archive_flag_spec=
   8136   thread_safe_flag_spec=
   8137   hardcode_libdir_flag_spec=
   8138   hardcode_libdir_flag_spec_ld=
   8139   hardcode_libdir_separator=
   8140   hardcode_direct=no
   8141   hardcode_minus_L=no
   8142   hardcode_shlibpath_var=unsupported
   8143   link_all_deplibs=unknown
   8144   hardcode_automatic=no
   8145   module_cmds=
   8146   module_expsym_cmds=
   8147   always_export_symbols=no
   8148   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   8149   # include_expsyms should be a list of space-separated symbols to be *always*
   8150   # included in the symbol list
   8151   include_expsyms=
   8152   # exclude_expsyms can be an extended regexp of symbols to exclude
   8153   # it will be wrapped by ` (' and `)$', so one must not match beginning or
   8154   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
   8155   # as well as any symbol that contains `d'.
   8156   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   8157   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   8158   # platforms (ab)use it in PIC code, but their linkers get confused if
   8159   # the symbol is explicitly referenced.  Since portable code cannot
   8160   # rely on this symbol name, it's probably fine to never include it in
   8161   # preloaded symbol tables.
   8162   # Exclude shared library initialization/finalization symbols.
   8163   extract_expsyms_cmds=
   8164   # Just being paranoid about ensuring that cc_basename is set.
   8165   for cc_temp in $compiler""; do
   8166   case $cc_temp in
   8167     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   8168     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   8169     \-*) ;;
   8170     *) break;;
   8171   esac
   8172 done
   8173 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   8174 
   8175   case $host_os in
   8176   cygwin* | mingw* | pw32*)
   8177     # FIXME: the MSVC++ port hasn't been tested in a loooong time
   8178     # When not using gcc, we currently assume that we are using
   8179     # Microsoft Visual C++.
   8180     if test "$GCC" != yes; then
   8181       with_gnu_ld=no
   8182     fi
   8183     ;;
   8184   interix*)
   8185     # we just hope/assume this is gcc and not c89 (= MSVC++)
   8186     with_gnu_ld=yes
   8187     ;;
   8188   openbsd*)
   8189     with_gnu_ld=no
   8190     ;;
   8191   esac
   8192 
   8193   ld_shlibs=yes
   8194   if test "$with_gnu_ld" = yes; then
   8195     # If archive_cmds runs LD, not CC, wlarc should be empty
   8196     wlarc='${wl}'
   8197 
   8198     # Set some defaults for GNU ld with shared library support. These
   8199     # are reset later if shared libraries are not supported. Putting them
   8200     # here allows them to be overridden if necessary.
   8201     runpath_var=LD_RUN_PATH
   8202     hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
   8203     export_dynamic_flag_spec='${wl}--export-dynamic'
   8204     # ancient GNU ld didn't support --whole-archive et. al.
   8205     if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
   8206 	whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   8207       else
   8208   	whole_archive_flag_spec=
   8209     fi
   8210     supports_anon_versioning=no
   8211     case `$LD -v 2>/dev/null` in
   8212       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   8213       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   8214       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   8215       *\ 2.11.*) ;; # other 2.11 versions
   8216       *) supports_anon_versioning=yes ;;
   8217     esac
   8218 
   8219     # See if GNU ld supports shared libraries.
   8220     case $host_os in
   8221     aix[3-9]*)
   8222       # On AIX/PPC, the GNU linker is very broken
   8223       if test "$host_cpu" != ia64; then
   8224 	ld_shlibs=no
   8225 	cat <<EOF 1>&2
   8226 
   8227 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
   8228 *** to be unable to reliably create shared libraries on AIX.
   8229 *** Therefore, libtool is disabling shared libraries support.  If you
   8230 *** really care for shared libraries, you may want to modify your PATH
   8231 *** so that a non-GNU linker is found, and then restart.
   8232 
   8233 EOF
   8234       fi
   8235       ;;
   8236 
   8237     amigaos*)
   8238       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)'
   8239       hardcode_libdir_flag_spec='-L$libdir'
   8240       hardcode_minus_L=yes
   8241 
   8242       # Samuel A. Falvo II <kc5tja (at] dolphin.openprojects.net> reports
   8243       # that the semantics of dynamic libraries on AmigaOS, at least up
   8244       # to version 4, is to share data among multiple programs linked
   8245       # with the same dynamic library.  Since this doesn't match the
   8246       # behavior of shared libraries on other platforms, we can't use
   8247       # them.
   8248       ld_shlibs=no
   8249       ;;
   8250 
   8251     beos*)
   8252       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   8253 	allow_undefined_flag=unsupported
   8254 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   8255 	# support --undefined.  This deserves some investigation.  FIXME
   8256 	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8257       else
   8258 	ld_shlibs=no
   8259       fi
   8260       ;;
   8261 
   8262     cygwin* | mingw* | pw32*)
   8263       # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
   8264       # as there is no search path for DLLs.
   8265       hardcode_libdir_flag_spec='-L$libdir'
   8266       allow_undefined_flag=unsupported
   8267       always_export_symbols=no
   8268       enable_shared_with_static_runtimes=yes
   8269       export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
   8270 
   8271       if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
   8272         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   8273 	# If the export-symbols file already is a .def file (1st line
   8274 	# is EXPORTS), use it as is; otherwise, prepend...
   8275 	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   8276 	  cp $export_symbols $output_objdir/$soname.def;
   8277 	else
   8278 	  echo EXPORTS > $output_objdir/$soname.def;
   8279 	  cat $export_symbols >> $output_objdir/$soname.def;
   8280 	fi~
   8281 	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   8282       else
   8283 	ld_shlibs=no
   8284       fi
   8285       ;;
   8286 
   8287     interix[3-9]*)
   8288       hardcode_direct=no
   8289       hardcode_shlibpath_var=no
   8290       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   8291       export_dynamic_flag_spec='${wl}-E'
   8292       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   8293       # Instead, shared libraries are loaded at an image base (0x10000000 by
   8294       # default) and relocated if they conflict, which is a slow very memory
   8295       # consuming and fragmenting process.  To avoid this, we pick a random,
   8296       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   8297       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   8298       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
   8299       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'
   8300       ;;
   8301 
   8302     gnu* | linux* | k*bsd*-gnu)
   8303       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   8304 	tmp_addflag=
   8305 	case $cc_basename,$host_cpu in
   8306 	pgcc*)				# Portland Group C compiler
   8307 	  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'
   8308 	  tmp_addflag=' $pic_flag'
   8309 	  ;;
   8310 	pgf77* | pgf90* | pgf95*)	# Portland Group f77 and f90 compilers
   8311 	  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'
   8312 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   8313 	ecc*,ia64* | icc*,ia64*)		# Intel C compiler on ia64
   8314 	  tmp_addflag=' -i_dynamic' ;;
   8315 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   8316 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   8317 	ifc* | ifort*)			# Intel Fortran compiler
   8318 	  tmp_addflag=' -nofor_main' ;;
   8319 	esac
   8320 	case `$CC -V 2>&1 | sed 5q` in
   8321 	*Sun\ C*)			# Sun C 5.9
   8322 	  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'
   8323 	  tmp_sharedflag='-G' ;;
   8324 	*Sun\ F*)			# Sun Fortran 8.3
   8325 	  tmp_sharedflag='-G' ;;
   8326 	*)
   8327 	  tmp_sharedflag='-shared' ;;
   8328 	esac
   8329 	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8330 
   8331 	if test $supports_anon_versioning = yes; then
   8332 	  archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~
   8333   cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   8334   $echo "local: *; };" >> $output_objdir/$libname.ver~
   8335 	  $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
   8336 	fi
   8337       else
   8338 	ld_shlibs=no
   8339       fi
   8340       ;;
   8341 
   8342     netbsd*)
   8343       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   8344 	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   8345 	wlarc=
   8346       else
   8347 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8348 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8349       fi
   8350       ;;
   8351 
   8352     solaris*)
   8353       if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
   8354 	ld_shlibs=no
   8355 	cat <<EOF 1>&2
   8356 
   8357 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   8358 *** create shared libraries on Solaris systems.  Therefore, libtool
   8359 *** is disabling shared libraries support.  We urge you to upgrade GNU
   8360 *** binutils to release 2.9.1 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 EOF
   8365       elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   8366 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8367 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8368       else
   8369 	ld_shlibs=no
   8370       fi
   8371       ;;
   8372 
   8373     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   8374       case `$LD -v 2>&1` in
   8375         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   8376 	ld_shlibs=no
   8377 	cat <<_LT_EOF 1>&2
   8378 
   8379 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
   8380 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   8381 *** is disabling shared libraries support.  We urge you to upgrade GNU
   8382 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   8383 *** your PATH or compiler configuration so that the native linker is
   8384 *** used, and then restart.
   8385 
   8386 _LT_EOF
   8387 	;;
   8388 	*)
   8389 	  if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   8390 	    hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
   8391 	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
   8392 	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
   8393 	  else
   8394 	    ld_shlibs=no
   8395 	  fi
   8396 	;;
   8397       esac
   8398       ;;
   8399 
   8400     sunos4*)
   8401       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   8402       wlarc=
   8403       hardcode_direct=yes
   8404       hardcode_shlibpath_var=no
   8405       ;;
   8406 
   8407     *)
   8408       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   8409 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8410 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8411       else
   8412 	ld_shlibs=no
   8413       fi
   8414       ;;
   8415     esac
   8416 
   8417     if test "$ld_shlibs" = no; then
   8418       runpath_var=
   8419       hardcode_libdir_flag_spec=
   8420       export_dynamic_flag_spec=
   8421       whole_archive_flag_spec=
   8422     fi
   8423   else
   8424     # PORTME fill in a description of your system's linker (not GNU ld)
   8425     case $host_os in
   8426     aix3*)
   8427       allow_undefined_flag=unsupported
   8428       always_export_symbols=yes
   8429       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'
   8430       # Note: this linker hardcodes the directories in LIBPATH if there
   8431       # are no directories specified by -L.
   8432       hardcode_minus_L=yes
   8433       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
   8434 	# Neither direct hardcoding nor static linking is supported with a
   8435 	# broken collect2.
   8436 	hardcode_direct=unsupported
   8437       fi
   8438       ;;
   8439 
   8440     aix[4-9]*)
   8441       if test "$host_cpu" = ia64; then
   8442 	# On IA64, the linker does run time linking by default, so we don't
   8443 	# have to do anything special.
   8444 	aix_use_runtimelinking=no
   8445 	exp_sym_flag='-Bexport'
   8446 	no_entry_flag=""
   8447       else
   8448 	# If we're using GNU nm, then we don't want the "-C" option.
   8449 	# -C means demangle to AIX nm, but means don't demangle with GNU nm
   8450 	if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
   8451 	  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'
   8452 	else
   8453 	  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'
   8454 	fi
   8455 	aix_use_runtimelinking=no
   8456 
   8457 	# Test if we are trying to use run time linking or normal
   8458 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   8459 	# need to do runtime linking.
   8460 	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   8461 	  for ld_flag in $LDFLAGS; do
   8462   	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
   8463   	    aix_use_runtimelinking=yes
   8464   	    break
   8465   	  fi
   8466 	  done
   8467 	  ;;
   8468 	esac
   8469 
   8470 	exp_sym_flag='-bexport'
   8471 	no_entry_flag='-bnoentry'
   8472       fi
   8473 
   8474       # When large executables or shared objects are built, AIX ld can
   8475       # have problems creating the table of contents.  If linking a library
   8476       # or program results in "error TOC overflow" add -mminimal-toc to
   8477       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   8478       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   8479 
   8480       archive_cmds=''
   8481       hardcode_direct=yes
   8482       hardcode_libdir_separator=':'
   8483       link_all_deplibs=yes
   8484 
   8485       if test "$GCC" = yes; then
   8486 	case $host_os in aix4.[012]|aix4.[012].*)
   8487 	# We only want to do this on AIX 4.2 and lower, the check
   8488 	# below for broken collect2 doesn't work under 4.3+
   8489 	  collect2name=`${CC} -print-prog-name=collect2`
   8490 	  if test -f "$collect2name" && \
   8491   	   strings "$collect2name" | grep resolve_lib_name >/dev/null
   8492 	  then
   8493   	  # We have reworked collect2
   8494   	  :
   8495 	  else
   8496   	  # We have old collect2
   8497   	  hardcode_direct=unsupported
   8498   	  # It fails to find uninstalled libraries when the uninstalled
   8499   	  # path is not listed in the libpath.  Setting hardcode_minus_L
   8500   	  # to unsupported forces relinking
   8501   	  hardcode_minus_L=yes
   8502   	  hardcode_libdir_flag_spec='-L$libdir'
   8503   	  hardcode_libdir_separator=
   8504 	  fi
   8505 	  ;;
   8506 	esac
   8507 	shared_flag='-shared'
   8508 	if test "$aix_use_runtimelinking" = yes; then
   8509 	  shared_flag="$shared_flag "'${wl}-G'
   8510 	fi
   8511       else
   8512 	# not using gcc
   8513 	if test "$host_cpu" = ia64; then
   8514   	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   8515   	# chokes on -Wl,-G. The following line is correct:
   8516 	  shared_flag='-G'
   8517 	else
   8518 	  if test "$aix_use_runtimelinking" = yes; then
   8519 	    shared_flag='${wl}-G'
   8520 	  else
   8521 	    shared_flag='${wl}-bM:SRE'
   8522 	  fi
   8523 	fi
   8524       fi
   8525 
   8526       # It seems that -bexpall does not export symbols beginning with
   8527       # underscore (_), so it is better to generate a list of symbols to export.
   8528       always_export_symbols=yes
   8529       if test "$aix_use_runtimelinking" = yes; then
   8530 	# Warning - without using the other runtime loading flags (-brtl),
   8531 	# -berok will link without error, but may produce a broken library.
   8532 	allow_undefined_flag='-berok'
   8533        # Determine the default libpath from the value encoded in an empty executable.
   8534        cat >conftest.$ac_ext <<_ACEOF
   8535 /* confdefs.h.  */
   8536 _ACEOF
   8537 cat confdefs.h >>conftest.$ac_ext
   8538 cat >>conftest.$ac_ext <<_ACEOF
   8539 /* end confdefs.h.  */
   8540 
   8541 int
   8542 main ()
   8543 {
   8544 
   8545   ;
   8546   return 0;
   8547 }
   8548 _ACEOF
   8549 rm -f conftest.$ac_objext conftest$ac_exeext
   8550 if { (ac_try="$ac_link"
   8551 case "(($ac_try" in
   8552   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   8553   *) ac_try_echo=$ac_try;;
   8554 esac
   8555 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   8556 $as_echo "$ac_try_echo") >&5
   8557   (eval "$ac_link") 2>conftest.er1
   8558   ac_status=$?
   8559   grep -v '^ *+' conftest.er1 >conftest.err
   8560   rm -f conftest.er1
   8561   cat conftest.err >&5
   8562   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8563   (exit $ac_status); } && {
   8564 	 test -z "$ac_c_werror_flag" ||
   8565 	 test ! -s conftest.err
   8566        } && test -s conftest$ac_exeext && {
   8567 	 test "$cross_compiling" = yes ||
   8568 	 $as_test_x conftest$ac_exeext
   8569        }; then
   8570 
   8571 lt_aix_libpath_sed='
   8572     /Import File Strings/,/^$/ {
   8573 	/^0/ {
   8574 	    s/^0  *\(.*\)$/\1/
   8575 	    p
   8576 	}
   8577     }'
   8578 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   8579 # Check for a 64-bit object if we didn't find anything.
   8580 if test -z "$aix_libpath"; then
   8581   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   8582 fi
   8583 else
   8584   $as_echo "$as_me: failed program was:" >&5
   8585 sed 's/^/| /' conftest.$ac_ext >&5
   8586 
   8587 
   8588 fi
   8589 
   8590 rm -rf conftest.dSYM
   8591 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   8592       conftest$ac_exeext conftest.$ac_ext
   8593 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   8594 
   8595        hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   8596 	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"
   8597        else
   8598 	if test "$host_cpu" = ia64; then
   8599 	  hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
   8600 	  allow_undefined_flag="-z nodefs"
   8601 	  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"
   8602 	else
   8603 	 # Determine the default libpath from the value encoded in an empty executable.
   8604 	 cat >conftest.$ac_ext <<_ACEOF
   8605 /* confdefs.h.  */
   8606 _ACEOF
   8607 cat confdefs.h >>conftest.$ac_ext
   8608 cat >>conftest.$ac_ext <<_ACEOF
   8609 /* end confdefs.h.  */
   8610 
   8611 int
   8612 main ()
   8613 {
   8614 
   8615   ;
   8616   return 0;
   8617 }
   8618 _ACEOF
   8619 rm -f conftest.$ac_objext conftest$ac_exeext
   8620 if { (ac_try="$ac_link"
   8621 case "(($ac_try" in
   8622   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   8623   *) ac_try_echo=$ac_try;;
   8624 esac
   8625 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   8626 $as_echo "$ac_try_echo") >&5
   8627   (eval "$ac_link") 2>conftest.er1
   8628   ac_status=$?
   8629   grep -v '^ *+' conftest.er1 >conftest.err
   8630   rm -f conftest.er1
   8631   cat conftest.err >&5
   8632   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8633   (exit $ac_status); } && {
   8634 	 test -z "$ac_c_werror_flag" ||
   8635 	 test ! -s conftest.err
   8636        } && test -s conftest$ac_exeext && {
   8637 	 test "$cross_compiling" = yes ||
   8638 	 $as_test_x conftest$ac_exeext
   8639        }; then
   8640 
   8641 lt_aix_libpath_sed='
   8642     /Import File Strings/,/^$/ {
   8643 	/^0/ {
   8644 	    s/^0  *\(.*\)$/\1/
   8645 	    p
   8646 	}
   8647     }'
   8648 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   8649 # Check for a 64-bit object if we didn't find anything.
   8650 if test -z "$aix_libpath"; then
   8651   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   8652 fi
   8653 else
   8654   $as_echo "$as_me: failed program was:" >&5
   8655 sed 's/^/| /' conftest.$ac_ext >&5
   8656 
   8657 
   8658 fi
   8659 
   8660 rm -rf conftest.dSYM
   8661 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   8662       conftest$ac_exeext conftest.$ac_ext
   8663 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   8664 
   8665 	 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   8666 	  # Warning - without using the other run time loading flags,
   8667 	  # -berok will link without error, but may produce a broken library.
   8668 	  no_undefined_flag=' ${wl}-bernotok'
   8669 	  allow_undefined_flag=' ${wl}-berok'
   8670 	  # Exported symbols can be pulled into shared objects from archives
   8671 	  whole_archive_flag_spec='$convenience'
   8672 	  archive_cmds_need_lc=yes
   8673 	  # This is similar to how AIX traditionally builds its shared libraries.
   8674 	  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'
   8675 	fi
   8676       fi
   8677       ;;
   8678 
   8679     amigaos*)
   8680       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)'
   8681       hardcode_libdir_flag_spec='-L$libdir'
   8682       hardcode_minus_L=yes
   8683       # see comment about different semantics on the GNU ld section
   8684       ld_shlibs=no
   8685       ;;
   8686 
   8687     bsdi[45]*)
   8688       export_dynamic_flag_spec=-rdynamic
   8689       ;;
   8690 
   8691     cygwin* | mingw* | pw32*)
   8692       # When not using gcc, we currently assume that we are using
   8693       # Microsoft Visual C++.
   8694       # hardcode_libdir_flag_spec is actually meaningless, as there is
   8695       # no search path for DLLs.
   8696       hardcode_libdir_flag_spec=' '
   8697       allow_undefined_flag=unsupported
   8698       # Tell ltmain to make .lib files, not .a files.
   8699       libext=lib
   8700       # Tell ltmain to make .dll files, not .so files.
   8701       shrext_cmds=".dll"
   8702       # FIXME: Setting linknames here is a bad hack.
   8703       archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
   8704       # The linker will automatically build a .lib file if we build a DLL.
   8705       old_archive_From_new_cmds='true'
   8706       # FIXME: Should let the user specify the lib program.
   8707       old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
   8708       fix_srcfile_path='`cygpath -w "$srcfile"`'
   8709       enable_shared_with_static_runtimes=yes
   8710       ;;
   8711 
   8712     darwin* | rhapsody*)
   8713       case $host_os in
   8714         rhapsody* | darwin1.[012])
   8715          allow_undefined_flag='${wl}-undefined ${wl}suppress'
   8716          ;;
   8717        *) # Darwin 1.3 on
   8718          if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
   8719            allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   8720          else
   8721            case ${MACOSX_DEPLOYMENT_TARGET} in
   8722              10.[012])
   8723                allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   8724                ;;
   8725              10.*)
   8726                allow_undefined_flag='${wl}-undefined ${wl}dynamic_lookup'
   8727                ;;
   8728            esac
   8729          fi
   8730          ;;
   8731       esac
   8732       archive_cmds_need_lc=no
   8733       hardcode_direct=no
   8734       hardcode_automatic=yes
   8735       hardcode_shlibpath_var=unsupported
   8736       whole_archive_flag_spec=''
   8737       link_all_deplibs=yes
   8738     if test "$GCC" = yes ; then
   8739     	output_verbose_link_cmd='echo'
   8740         archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
   8741         module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
   8742         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}"
   8743         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}"
   8744     else
   8745       case $cc_basename in
   8746         xlc*)
   8747          output_verbose_link_cmd='echo'
   8748          archive_cmds='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
   8749          module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
   8750           # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
   8751          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}'
   8752           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}'
   8753           ;;
   8754        *)
   8755          ld_shlibs=no
   8756           ;;
   8757       esac
   8758     fi
   8759       ;;
   8760 
   8761     dgux*)
   8762       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8763       hardcode_libdir_flag_spec='-L$libdir'
   8764       hardcode_shlibpath_var=no
   8765       ;;
   8766 
   8767     freebsd1*)
   8768       ld_shlibs=no
   8769       ;;
   8770 
   8771     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   8772     # support.  Future versions do this automatically, but an explicit c++rt0.o
   8773     # does not break anything, and helps significantly (at the cost of a little
   8774     # extra space).
   8775     freebsd2.2*)
   8776       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   8777       hardcode_libdir_flag_spec='-R$libdir'
   8778       hardcode_direct=yes
   8779       hardcode_shlibpath_var=no
   8780       ;;
   8781 
   8782     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   8783     freebsd2*)
   8784       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   8785       hardcode_direct=yes
   8786       hardcode_minus_L=yes
   8787       hardcode_shlibpath_var=no
   8788       ;;
   8789 
   8790     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   8791     freebsd* | dragonfly*)
   8792       archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
   8793       hardcode_libdir_flag_spec='-R$libdir'
   8794       hardcode_direct=yes
   8795       hardcode_shlibpath_var=no
   8796       ;;
   8797 
   8798     hpux9*)
   8799       if test "$GCC" = yes; then
   8800 	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'
   8801       else
   8802 	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'
   8803       fi
   8804       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   8805       hardcode_libdir_separator=:
   8806       hardcode_direct=yes
   8807 
   8808       # hardcode_minus_L: Not really in the search PATH,
   8809       # but as the default location of the library.
   8810       hardcode_minus_L=yes
   8811       export_dynamic_flag_spec='${wl}-E'
   8812       ;;
   8813 
   8814     hpux10*)
   8815       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   8816 	archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   8817       else
   8818 	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   8819       fi
   8820       if test "$with_gnu_ld" = no; then
   8821 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   8822 	hardcode_libdir_separator=:
   8823 
   8824 	hardcode_direct=yes
   8825 	export_dynamic_flag_spec='${wl}-E'
   8826 
   8827 	# hardcode_minus_L: Not really in the search PATH,
   8828 	# but as the default location of the library.
   8829 	hardcode_minus_L=yes
   8830       fi
   8831       ;;
   8832 
   8833     hpux11*)
   8834       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   8835 	case $host_cpu in
   8836 	hppa*64*)
   8837 	  archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   8838 	  ;;
   8839 	ia64*)
   8840 	  archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   8841 	  ;;
   8842 	*)
   8843 	  archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   8844 	  ;;
   8845 	esac
   8846       else
   8847 	case $host_cpu in
   8848 	hppa*64*)
   8849 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   8850 	  ;;
   8851 	ia64*)
   8852 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   8853 	  ;;
   8854 	*)
   8855 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   8856 	  ;;
   8857 	esac
   8858       fi
   8859       if test "$with_gnu_ld" = no; then
   8860 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   8861 	hardcode_libdir_separator=:
   8862 
   8863 	case $host_cpu in
   8864 	hppa*64*|ia64*)
   8865 	  hardcode_libdir_flag_spec_ld='+b $libdir'
   8866 	  hardcode_direct=no
   8867 	  hardcode_shlibpath_var=no
   8868 	  ;;
   8869 	*)
   8870 	  hardcode_direct=yes
   8871 	  export_dynamic_flag_spec='${wl}-E'
   8872 
   8873 	  # hardcode_minus_L: Not really in the search PATH,
   8874 	  # but as the default location of the library.
   8875 	  hardcode_minus_L=yes
   8876 	  ;;
   8877 	esac
   8878       fi
   8879       ;;
   8880 
   8881     irix5* | irix6* | nonstopux*)
   8882       if test "$GCC" = yes; then
   8883 	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'
   8884       else
   8885 	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'
   8886 	hardcode_libdir_flag_spec_ld='-rpath $libdir'
   8887       fi
   8888       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8889       hardcode_libdir_separator=:
   8890       link_all_deplibs=yes
   8891       ;;
   8892 
   8893     netbsd*)
   8894       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   8895 	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   8896       else
   8897 	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   8898       fi
   8899       hardcode_libdir_flag_spec='-R$libdir'
   8900       hardcode_direct=yes
   8901       hardcode_shlibpath_var=no
   8902       ;;
   8903 
   8904     newsos6)
   8905       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8906       hardcode_direct=yes
   8907       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8908       hardcode_libdir_separator=:
   8909       hardcode_shlibpath_var=no
   8910       ;;
   8911 
   8912     openbsd*)
   8913       if test -f /usr/libexec/ld.so; then
   8914 	hardcode_direct=yes
   8915 	hardcode_shlibpath_var=no
   8916 	if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   8917 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   8918 	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
   8919 	  hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   8920 	  export_dynamic_flag_spec='${wl}-E'
   8921 	else
   8922 	  case $host_os in
   8923 	   openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
   8924 	     archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   8925 	     hardcode_libdir_flag_spec='-R$libdir'
   8926 	     ;;
   8927 	   *)
   8928 	     archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   8929 	     hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   8930 	     ;;
   8931 	  esac
   8932         fi
   8933       else
   8934 	ld_shlibs=no
   8935       fi
   8936       ;;
   8937 
   8938     os2*)
   8939       hardcode_libdir_flag_spec='-L$libdir'
   8940       hardcode_minus_L=yes
   8941       allow_undefined_flag=unsupported
   8942       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'
   8943       old_archive_From_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
   8944       ;;
   8945 
   8946     osf3*)
   8947       if test "$GCC" = yes; then
   8948 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   8949 	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'
   8950       else
   8951 	allow_undefined_flag=' -expect_unresolved \*'
   8952 	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'
   8953       fi
   8954       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8955       hardcode_libdir_separator=:
   8956       ;;
   8957 
   8958     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   8959       if test "$GCC" = yes; then
   8960 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   8961 	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'
   8962 	hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8963       else
   8964 	allow_undefined_flag=' -expect_unresolved \*'
   8965 	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'
   8966 	archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
   8967 	$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'
   8968 
   8969 	# Both c and cxx compiler support -rpath directly
   8970 	hardcode_libdir_flag_spec='-rpath $libdir'
   8971       fi
   8972       hardcode_libdir_separator=:
   8973       ;;
   8974 
   8975     solaris*)
   8976       no_undefined_flag=' -z text'
   8977       if test "$GCC" = yes; then
   8978 	wlarc='${wl}'
   8979 	archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   8980 	archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   8981 	  $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
   8982       else
   8983 	wlarc=''
   8984 	archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8985 	archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   8986   	$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
   8987       fi
   8988       hardcode_libdir_flag_spec='-R$libdir'
   8989       hardcode_shlibpath_var=no
   8990       case $host_os in
   8991       solaris2.[0-5] | solaris2.[0-5].*) ;;
   8992       *)
   8993 	# The compiler driver will combine and reorder linker options,
   8994 	# but understands `-z linker_flag'.  GCC discards it without `$wl',
   8995 	# but is careful enough not to reorder.
   8996  	# Supported since Solaris 2.6 (maybe 2.5.1?)
   8997 	if test "$GCC" = yes; then
   8998 	  whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
   8999 	else
   9000 	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
   9001 	fi
   9002 	;;
   9003       esac
   9004       link_all_deplibs=yes
   9005       ;;
   9006 
   9007     sunos4*)
   9008       if test "x$host_vendor" = xsequent; then
   9009 	# Use $CC to link under sequent, because it throws in some extra .o
   9010 	# files that make .init and .fini sections work.
   9011 	archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   9012       else
   9013 	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   9014       fi
   9015       hardcode_libdir_flag_spec='-L$libdir'
   9016       hardcode_direct=yes
   9017       hardcode_minus_L=yes
   9018       hardcode_shlibpath_var=no
   9019       ;;
   9020 
   9021     sysv4)
   9022       case $host_vendor in
   9023 	sni)
   9024 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9025 	  hardcode_direct=yes # is this really true???
   9026 	;;
   9027 	siemens)
   9028 	  ## LD is ld it makes a PLAMLIB
   9029 	  ## CC just makes a GrossModule.
   9030 	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   9031 	  reload_cmds='$CC -r -o $output$reload_objs'
   9032 	  hardcode_direct=no
   9033         ;;
   9034 	motorola)
   9035 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9036 	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
   9037 	;;
   9038       esac
   9039       runpath_var='LD_RUN_PATH'
   9040       hardcode_shlibpath_var=no
   9041       ;;
   9042 
   9043     sysv4.3*)
   9044       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9045       hardcode_shlibpath_var=no
   9046       export_dynamic_flag_spec='-Bexport'
   9047       ;;
   9048 
   9049     sysv4*MP*)
   9050       if test -d /usr/nec; then
   9051 	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9052 	hardcode_shlibpath_var=no
   9053 	runpath_var=LD_RUN_PATH
   9054 	hardcode_runpath_var=yes
   9055 	ld_shlibs=yes
   9056       fi
   9057       ;;
   9058 
   9059     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   9060       no_undefined_flag='${wl}-z,text'
   9061       archive_cmds_need_lc=no
   9062       hardcode_shlibpath_var=no
   9063       runpath_var='LD_RUN_PATH'
   9064 
   9065       if test "$GCC" = yes; then
   9066 	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9067 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9068       else
   9069 	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9070 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9071       fi
   9072       ;;
   9073 
   9074     sysv5* | sco3.2v5* | sco5v6*)
   9075       # Note: We can NOT use -z defs as we might desire, because we do not
   9076       # link with -lc, and that would cause any symbols used from libc to
   9077       # always be unresolved, which means just about no library would
   9078       # ever link correctly.  If we're not using GNU ld we use -z text
   9079       # though, which does catch some bad symbols but isn't as heavy-handed
   9080       # as -z defs.
   9081       no_undefined_flag='${wl}-z,text'
   9082       allow_undefined_flag='${wl}-z,nodefs'
   9083       archive_cmds_need_lc=no
   9084       hardcode_shlibpath_var=no
   9085       hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
   9086       hardcode_libdir_separator=':'
   9087       link_all_deplibs=yes
   9088       export_dynamic_flag_spec='${wl}-Bexport'
   9089       runpath_var='LD_RUN_PATH'
   9090 
   9091       if test "$GCC" = yes; then
   9092 	archive_cmds='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   9093 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   9094       else
   9095 	archive_cmds='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   9096 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   9097       fi
   9098       ;;
   9099 
   9100     uts4*)
   9101       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9102       hardcode_libdir_flag_spec='-L$libdir'
   9103       hardcode_shlibpath_var=no
   9104       ;;
   9105 
   9106     *)
   9107       ld_shlibs=no
   9108       ;;
   9109     esac
   9110   fi
   9111 
   9112 { $as_echo "$as_me:$LINENO: result: $ld_shlibs" >&5
   9113 $as_echo "$ld_shlibs" >&6; }
   9114 test "$ld_shlibs" = no && can_build_shared=no
   9115 
   9116 #
   9117 # Do we need to explicitly link libc?
   9118 #
   9119 case "x$archive_cmds_need_lc" in
   9120 x|xyes)
   9121   # Assume -lc should be added
   9122   archive_cmds_need_lc=yes
   9123 
   9124   if test "$enable_shared" = yes && test "$GCC" = yes; then
   9125     case $archive_cmds in
   9126     *'~'*)
   9127       # FIXME: we may have to deal with multi-command sequences.
   9128       ;;
   9129     '$CC '*)
   9130       # Test whether the compiler implicitly links with -lc since on some
   9131       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   9132       # to ld, don't add -lc before -lgcc.
   9133       { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
   9134 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
   9135       $rm conftest*
   9136       echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   9137 
   9138       if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   9139   (eval $ac_compile) 2>&5
   9140   ac_status=$?
   9141   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9142   (exit $ac_status); } 2>conftest.err; then
   9143         soname=conftest
   9144         lib=conftest
   9145         libobjs=conftest.$ac_objext
   9146         deplibs=
   9147         wl=$lt_prog_compiler_wl
   9148 	pic_flag=$lt_prog_compiler_pic
   9149         compiler_flags=-v
   9150         linker_flags=-v
   9151         verstring=
   9152         output_objdir=.
   9153         libname=conftest
   9154         lt_save_allow_undefined_flag=$allow_undefined_flag
   9155         allow_undefined_flag=
   9156         if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
   9157   (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
   9158   ac_status=$?
   9159   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9160   (exit $ac_status); }
   9161         then
   9162 	  archive_cmds_need_lc=no
   9163         else
   9164 	  archive_cmds_need_lc=yes
   9165         fi
   9166         allow_undefined_flag=$lt_save_allow_undefined_flag
   9167       else
   9168         cat conftest.err 1>&5
   9169       fi
   9170       $rm conftest*
   9171       { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
   9172 $as_echo "$archive_cmds_need_lc" >&6; }
   9173       ;;
   9174     esac
   9175   fi
   9176   ;;
   9177 esac
   9178 
   9179 { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
   9180 $as_echo_n "checking dynamic linker characteristics... " >&6; }
   9181 library_names_spec=
   9182 libname_spec='lib$name'
   9183 soname_spec=
   9184 shrext_cmds=".so"
   9185 postinstall_cmds=
   9186 postuninstall_cmds=
   9187 finish_cmds=
   9188 finish_eval=
   9189 shlibpath_var=
   9190 shlibpath_overrides_runpath=unknown
   9191 version_type=none
   9192 dynamic_linker="$host_os ld.so"
   9193 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   9194 
   9195 if test "$GCC" = yes; then
   9196   case $host_os in
   9197     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
   9198     *) lt_awk_arg="/^libraries:/" ;;
   9199   esac
   9200   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   9201   if echo "$lt_search_path_spec" | grep ';' >/dev/null ; then
   9202     # if the path contains ";" then we assume it to be the separator
   9203     # otherwise default to the standard path separator (i.e. ":") - it is
   9204     # assumed that no part of a normal pathname contains ";" but that should
   9205     # okay in the real world where ";" in dirpaths is itself problematic.
   9206     lt_search_path_spec=`echo "$lt_search_path_spec" | $SED -e 's/;/ /g'`
   9207   else
   9208     lt_search_path_spec=`echo "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   9209   fi
   9210   # Ok, now we have the path, separated by spaces, we can step through it
   9211   # and add multilib dir if necessary.
   9212   lt_tmp_lt_search_path_spec=
   9213   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
   9214   for lt_sys_path in $lt_search_path_spec; do
   9215     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
   9216       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
   9217     else
   9218       test -d "$lt_sys_path" && \
   9219 	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
   9220     fi
   9221   done
   9222   lt_search_path_spec=`echo $lt_tmp_lt_search_path_spec | awk '
   9223 BEGIN {RS=" "; FS="/|\n";} {
   9224   lt_foo="";
   9225   lt_count=0;
   9226   for (lt_i = NF; lt_i > 0; lt_i--) {
   9227     if ($lt_i != "" && $lt_i != ".") {
   9228       if ($lt_i == "..") {
   9229         lt_count++;
   9230       } else {
   9231         if (lt_count == 0) {
   9232           lt_foo="/" $lt_i lt_foo;
   9233         } else {
   9234           lt_count--;
   9235         }
   9236       }
   9237     }
   9238   }
   9239   if (lt_foo != "") { lt_freq[lt_foo]++; }
   9240   if (lt_freq[lt_foo] == 1) { print lt_foo; }
   9241 }'`
   9242   sys_lib_search_path_spec=`echo $lt_search_path_spec`
   9243 else
   9244   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   9245 fi
   9246 need_lib_prefix=unknown
   9247 hardcode_into_libs=no
   9248 
   9249 # when you set need_version to no, make sure it does not cause -set_version
   9250 # flags to be left without arguments
   9251 need_version=unknown
   9252 
   9253 case $host_os in
   9254 aix3*)
   9255   version_type=linux
   9256   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   9257   shlibpath_var=LIBPATH
   9258 
   9259   # AIX 3 has no versioning support, so we append a major version to the name.
   9260   soname_spec='${libname}${release}${shared_ext}$major'
   9261   ;;
   9262 
   9263 aix[4-9]*)
   9264   version_type=linux
   9265   need_lib_prefix=no
   9266   need_version=no
   9267   hardcode_into_libs=yes
   9268   if test "$host_cpu" = ia64; then
   9269     # AIX 5 supports IA64
   9270     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
   9271     shlibpath_var=LD_LIBRARY_PATH
   9272   else
   9273     # With GCC up to 2.95.x, collect2 would create an import file
   9274     # for dependence libraries.  The import file would start with
   9275     # the line `#! .'.  This would cause the generated library to
   9276     # depend on `.', always an invalid library.  This was fixed in
   9277     # development snapshots of GCC prior to 3.0.
   9278     case $host_os in
   9279       aix4 | aix4.[01] | aix4.[01].*)
   9280       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   9281 	   echo ' yes '
   9282 	   echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
   9283 	:
   9284       else
   9285 	can_build_shared=no
   9286       fi
   9287       ;;
   9288     esac
   9289     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
   9290     # soname into executable. Probably we can add versioning support to
   9291     # collect2, so additional links can be useful in future.
   9292     if test "$aix_use_runtimelinking" = yes; then
   9293       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   9294       # instead of lib<name>.a to let people know that these are not
   9295       # typical AIX shared libraries.
   9296       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9297     else
   9298       # We preserve .a as extension for shared libraries through AIX4.2
   9299       # and later when we are not doing run time linking.
   9300       library_names_spec='${libname}${release}.a $libname.a'
   9301       soname_spec='${libname}${release}${shared_ext}$major'
   9302     fi
   9303     shlibpath_var=LIBPATH
   9304   fi
   9305   ;;
   9306 
   9307 amigaos*)
   9308   library_names_spec='$libname.ixlibrary $libname.a'
   9309   # Create ${libname}_ixlibrary.a entries in /sys/libs.
   9310   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'
   9311   ;;
   9312 
   9313 beos*)
   9314   library_names_spec='${libname}${shared_ext}'
   9315   dynamic_linker="$host_os ld.so"
   9316   shlibpath_var=LIBRARY_PATH
   9317   ;;
   9318 
   9319 bsdi[45]*)
   9320   version_type=linux
   9321   need_version=no
   9322   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9323   soname_spec='${libname}${release}${shared_ext}$major'
   9324   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   9325   shlibpath_var=LD_LIBRARY_PATH
   9326   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   9327   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   9328   # the default ld.so.conf also contains /usr/contrib/lib and
   9329   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   9330   # libtool to hard-code these into programs
   9331   ;;
   9332 
   9333 cygwin* | mingw* | pw32*)
   9334   version_type=windows
   9335   shrext_cmds=".dll"
   9336   need_version=no
   9337   need_lib_prefix=no
   9338 
   9339   case $GCC,$host_os in
   9340   yes,cygwin* | yes,mingw* | yes,pw32*)
   9341     library_names_spec='$libname.dll.a'
   9342     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   9343     postinstall_cmds='base_file=`basename \${file}`~
   9344       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
   9345       dldir=$destdir/`dirname \$dlpath`~
   9346       test -d \$dldir || mkdir -p \$dldir~
   9347       $install_prog $dir/$dlname \$dldir/$dlname~
   9348       chmod a+x \$dldir/$dlname'
   9349     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   9350       dlpath=$dir/\$dldll~
   9351        $rm \$dlpath'
   9352     shlibpath_overrides_runpath=yes
   9353 
   9354     case $host_os in
   9355     cygwin*)
   9356       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   9357       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   9358       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
   9359       ;;
   9360     mingw*)
   9361       # MinGW DLLs use traditional 'lib' prefix
   9362       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   9363       sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   9364       if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
   9365         # It is most probably a Windows format PATH printed by
   9366         # mingw gcc, but we are running on Cygwin. Gcc prints its search
   9367         # path with ; separators, and with drive letters. We can handle the
   9368         # drive letters (cygwin fileutils understands them), so leave them,
   9369         # especially as we might pass files found there to a mingw objdump,
   9370         # which wouldn't understand a cygwinified path. Ahh.
   9371         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   9372       else
   9373         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   9374       fi
   9375       ;;
   9376     pw32*)
   9377       # pw32 DLLs use 'pw' prefix rather than 'lib'
   9378       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   9379       ;;
   9380     esac
   9381     ;;
   9382 
   9383   *)
   9384     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
   9385     ;;
   9386   esac
   9387   dynamic_linker='Win32 ld.exe'
   9388   # FIXME: first we should search . and the directory the executable is in
   9389   shlibpath_var=PATH
   9390   ;;
   9391 
   9392 darwin* | rhapsody*)
   9393   dynamic_linker="$host_os dyld"
   9394   version_type=darwin
   9395   need_lib_prefix=no
   9396   need_version=no
   9397   library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
   9398   soname_spec='${libname}${release}${major}$shared_ext'
   9399   shlibpath_overrides_runpath=yes
   9400   shlibpath_var=DYLD_LIBRARY_PATH
   9401   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   9402 
   9403   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
   9404   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   9405   ;;
   9406 
   9407 dgux*)
   9408   version_type=linux
   9409   need_lib_prefix=no
   9410   need_version=no
   9411   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
   9412   soname_spec='${libname}${release}${shared_ext}$major'
   9413   shlibpath_var=LD_LIBRARY_PATH
   9414   ;;
   9415 
   9416 freebsd1*)
   9417   dynamic_linker=no
   9418   ;;
   9419 
   9420 freebsd* | dragonfly*)
   9421   # DragonFly does not have aout.  When/if they implement a new
   9422   # versioning mechanism, adjust this.
   9423   if test -x /usr/bin/objformat; then
   9424     objformat=`/usr/bin/objformat`
   9425   else
   9426     case $host_os in
   9427     freebsd[123]*) objformat=aout ;;
   9428     *) objformat=elf ;;
   9429     esac
   9430   fi
   9431   version_type=freebsd-$objformat
   9432   case $version_type in
   9433     freebsd-elf*)
   9434       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   9435       need_version=no
   9436       need_lib_prefix=no
   9437       ;;
   9438     freebsd-*)
   9439       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
   9440       need_version=yes
   9441       ;;
   9442   esac
   9443   shlibpath_var=LD_LIBRARY_PATH
   9444   case $host_os in
   9445   freebsd2*)
   9446     shlibpath_overrides_runpath=yes
   9447     ;;
   9448   freebsd3.[01]* | freebsdelf3.[01]*)
   9449     shlibpath_overrides_runpath=yes
   9450     hardcode_into_libs=yes
   9451     ;;
   9452   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   9453   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   9454     shlibpath_overrides_runpath=no
   9455     hardcode_into_libs=yes
   9456     ;;
   9457   *) # from 4.6 on, and DragonFly
   9458     shlibpath_overrides_runpath=yes
   9459     hardcode_into_libs=yes
   9460     ;;
   9461   esac
   9462   ;;
   9463 
   9464 gnu*)
   9465   version_type=linux
   9466   need_lib_prefix=no
   9467   need_version=no
   9468   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   9469   soname_spec='${libname}${release}${shared_ext}$major'
   9470   shlibpath_var=LD_LIBRARY_PATH
   9471   hardcode_into_libs=yes
   9472   ;;
   9473 
   9474 hpux9* | hpux10* | hpux11*)
   9475   # Give a soname corresponding to the major version so that dld.sl refuses to
   9476   # link against other versions.
   9477   version_type=sunos
   9478   need_lib_prefix=no
   9479   need_version=no
   9480   case $host_cpu in
   9481   ia64*)
   9482     shrext_cmds='.so'
   9483     hardcode_into_libs=yes
   9484     dynamic_linker="$host_os dld.so"
   9485     shlibpath_var=LD_LIBRARY_PATH
   9486     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   9487     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9488     soname_spec='${libname}${release}${shared_ext}$major'
   9489     if test "X$HPUX_IA64_MODE" = X32; then
   9490       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   9491     else
   9492       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   9493     fi
   9494     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   9495     ;;
   9496    hppa*64*)
   9497      shrext_cmds='.sl'
   9498      hardcode_into_libs=yes
   9499      dynamic_linker="$host_os dld.sl"
   9500      shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   9501      shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   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      sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   9505      sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   9506      ;;
   9507    *)
   9508     shrext_cmds='.sl'
   9509     dynamic_linker="$host_os dld.sl"
   9510     shlibpath_var=SHLIB_PATH
   9511     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   9512     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9513     soname_spec='${libname}${release}${shared_ext}$major'
   9514     ;;
   9515   esac
   9516   # HP-UX runs *really* slowly unless shared libraries are mode 555.
   9517   postinstall_cmds='chmod 555 $lib'
   9518   ;;
   9519 
   9520 interix[3-9]*)
   9521   version_type=linux
   9522   need_lib_prefix=no
   9523   need_version=no
   9524   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   9525   soname_spec='${libname}${release}${shared_ext}$major'
   9526   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   9527   shlibpath_var=LD_LIBRARY_PATH
   9528   shlibpath_overrides_runpath=no
   9529   hardcode_into_libs=yes
   9530   ;;
   9531 
   9532 irix5* | irix6* | nonstopux*)
   9533   case $host_os in
   9534     nonstopux*) version_type=nonstopux ;;
   9535     *)
   9536 	if test "$lt_cv_prog_gnu_ld" = yes; then
   9537 		version_type=linux
   9538 	else
   9539 		version_type=irix
   9540 	fi ;;
   9541   esac
   9542   need_lib_prefix=no
   9543   need_version=no
   9544   soname_spec='${libname}${release}${shared_ext}$major'
   9545   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
   9546   case $host_os in
   9547   irix5* | nonstopux*)
   9548     libsuff= shlibsuff=
   9549     ;;
   9550   *)
   9551     case $LD in # libtool.m4 will add one of these switches to LD
   9552     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   9553       libsuff= shlibsuff= libmagic=32-bit;;
   9554     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   9555       libsuff=32 shlibsuff=N32 libmagic=N32;;
   9556     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   9557       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   9558     *) libsuff= shlibsuff= libmagic=never-match;;
   9559     esac
   9560     ;;
   9561   esac
   9562   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   9563   shlibpath_overrides_runpath=no
   9564   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   9565   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   9566   hardcode_into_libs=yes
   9567   ;;
   9568 
   9569 # No shared lib support for Linux oldld, aout, or coff.
   9570 linux*oldld* | linux*aout* | linux*coff*)
   9571   dynamic_linker=no
   9572   ;;
   9573 
   9574 # This must be Linux ELF.
   9575 linux* | k*bsd*-gnu)
   9576   version_type=linux
   9577   need_lib_prefix=no
   9578   need_version=no
   9579   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9580   soname_spec='${libname}${release}${shared_ext}$major'
   9581   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   9582   shlibpath_var=LD_LIBRARY_PATH
   9583   shlibpath_overrides_runpath=no
   9584   # This implies no fast_install, which is unacceptable.
   9585   # Some rework will be needed to allow for fast_install
   9586   # before this can be enabled.
   9587   hardcode_into_libs=yes
   9588 
   9589   # Append ld.so.conf contents to the search path
   9590   if test -f /etc/ld.so.conf; then
   9591     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' ' '`
   9592     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   9593   fi
   9594 
   9595   # We used to test for /lib/ld.so.1 and disable shared libraries on
   9596   # powerpc, because MkLinux only supported shared libraries with the
   9597   # GNU dynamic linker.  Since this was broken with cross compilers,
   9598   # most powerpc-linux boxes support dynamic linking these days and
   9599   # people can always --disable-shared, the test was removed, and we
   9600   # assume the GNU/Linux dynamic linker is in use.
   9601   dynamic_linker='GNU/Linux ld.so'
   9602   ;;
   9603 
   9604 netbsd*)
   9605   version_type=sunos
   9606   need_lib_prefix=no
   9607   need_version=no
   9608   if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   9609     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   9610     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   9611     dynamic_linker='NetBSD (a.out) ld.so'
   9612   else
   9613     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   9614     soname_spec='${libname}${release}${shared_ext}$major'
   9615     dynamic_linker='NetBSD ld.elf_so'
   9616   fi
   9617   shlibpath_var=LD_LIBRARY_PATH
   9618   shlibpath_overrides_runpath=yes
   9619   hardcode_into_libs=yes
   9620   ;;
   9621 
   9622 newsos6)
   9623   version_type=linux
   9624   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9625   shlibpath_var=LD_LIBRARY_PATH
   9626   shlibpath_overrides_runpath=yes
   9627   ;;
   9628 
   9629 nto-qnx*)
   9630   version_type=linux
   9631   need_lib_prefix=no
   9632   need_version=no
   9633   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9634   soname_spec='${libname}${release}${shared_ext}$major'
   9635   shlibpath_var=LD_LIBRARY_PATH
   9636   shlibpath_overrides_runpath=yes
   9637   ;;
   9638 
   9639 openbsd*)
   9640   version_type=sunos
   9641   sys_lib_dlsearch_path_spec="/usr/lib"
   9642   need_lib_prefix=no
   9643   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
   9644   case $host_os in
   9645     openbsd3.3 | openbsd3.3.*) need_version=yes ;;
   9646     *)                         need_version=no  ;;
   9647   esac
   9648   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   9649   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   9650   shlibpath_var=LD_LIBRARY_PATH
   9651   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   9652     case $host_os in
   9653       openbsd2.[89] | openbsd2.[89].*)
   9654 	shlibpath_overrides_runpath=no
   9655 	;;
   9656       *)
   9657 	shlibpath_overrides_runpath=yes
   9658 	;;
   9659       esac
   9660   else
   9661     shlibpath_overrides_runpath=yes
   9662   fi
   9663   ;;
   9664 
   9665 os2*)
   9666   libname_spec='$name'
   9667   shrext_cmds=".dll"
   9668   need_lib_prefix=no
   9669   library_names_spec='$libname${shared_ext} $libname.a'
   9670   dynamic_linker='OS/2 ld.exe'
   9671   shlibpath_var=LIBPATH
   9672   ;;
   9673 
   9674 osf3* | osf4* | osf5*)
   9675   version_type=osf
   9676   need_lib_prefix=no
   9677   need_version=no
   9678   soname_spec='${libname}${release}${shared_ext}$major'
   9679   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9680   shlibpath_var=LD_LIBRARY_PATH
   9681   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   9682   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   9683   ;;
   9684 
   9685 rdos*)
   9686   dynamic_linker=no
   9687   ;;
   9688 
   9689 solaris*)
   9690   version_type=linux
   9691   need_lib_prefix=no
   9692   need_version=no
   9693   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9694   soname_spec='${libname}${release}${shared_ext}$major'
   9695   shlibpath_var=LD_LIBRARY_PATH
   9696   shlibpath_overrides_runpath=yes
   9697   hardcode_into_libs=yes
   9698   # ldd complains unless libraries are executable
   9699   postinstall_cmds='chmod +x $lib'
   9700   ;;
   9701 
   9702 sunos4*)
   9703   version_type=sunos
   9704   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   9705   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   9706   shlibpath_var=LD_LIBRARY_PATH
   9707   shlibpath_overrides_runpath=yes
   9708   if test "$with_gnu_ld" = yes; then
   9709     need_lib_prefix=no
   9710   fi
   9711   need_version=yes
   9712   ;;
   9713 
   9714 sysv4 | sysv4.3*)
   9715   version_type=linux
   9716   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9717   soname_spec='${libname}${release}${shared_ext}$major'
   9718   shlibpath_var=LD_LIBRARY_PATH
   9719   case $host_vendor in
   9720     sni)
   9721       shlibpath_overrides_runpath=no
   9722       need_lib_prefix=no
   9723       export_dynamic_flag_spec='${wl}-Blargedynsym'
   9724       runpath_var=LD_RUN_PATH
   9725       ;;
   9726     siemens)
   9727       need_lib_prefix=no
   9728       ;;
   9729     motorola)
   9730       need_lib_prefix=no
   9731       need_version=no
   9732       shlibpath_overrides_runpath=no
   9733       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   9734       ;;
   9735   esac
   9736   ;;
   9737 
   9738 sysv4*MP*)
   9739   if test -d /usr/nec ;then
   9740     version_type=linux
   9741     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
   9742     soname_spec='$libname${shared_ext}.$major'
   9743     shlibpath_var=LD_LIBRARY_PATH
   9744   fi
   9745   ;;
   9746 
   9747 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   9748   version_type=freebsd-elf
   9749   need_lib_prefix=no
   9750   need_version=no
   9751   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   9752   soname_spec='${libname}${release}${shared_ext}$major'
   9753   shlibpath_var=LD_LIBRARY_PATH
   9754   hardcode_into_libs=yes
   9755   if test "$with_gnu_ld" = yes; then
   9756     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   9757     shlibpath_overrides_runpath=no
   9758   else
   9759     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   9760     shlibpath_overrides_runpath=yes
   9761     case $host_os in
   9762       sco3.2v5*)
   9763         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   9764 	;;
   9765     esac
   9766   fi
   9767   sys_lib_dlsearch_path_spec='/usr/lib'
   9768   ;;
   9769 
   9770 uts4*)
   9771   version_type=linux
   9772   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9773   soname_spec='${libname}${release}${shared_ext}$major'
   9774   shlibpath_var=LD_LIBRARY_PATH
   9775   ;;
   9776 
   9777 *)
   9778   dynamic_linker=no
   9779   ;;
   9780 esac
   9781 { $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
   9782 $as_echo "$dynamic_linker" >&6; }
   9783 test "$dynamic_linker" = no && can_build_shared=no
   9784 
   9785 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
   9786   $as_echo_n "(cached) " >&6
   9787 else
   9788   lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
   9789 fi
   9790 
   9791 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
   9792 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
   9793   $as_echo_n "(cached) " >&6
   9794 else
   9795   lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
   9796 fi
   9797 
   9798 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
   9799 
   9800 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   9801 if test "$GCC" = yes; then
   9802   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   9803 fi
   9804 
   9805 { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
   9806 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
   9807 hardcode_action=
   9808 if test -n "$hardcode_libdir_flag_spec" || \
   9809    test -n "$runpath_var" || \
   9810    test "X$hardcode_automatic" = "Xyes" ; then
   9811 
   9812   # We can hardcode non-existant directories.
   9813   if test "$hardcode_direct" != no &&
   9814      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   9815      # have to relink, otherwise we might link with an installed library
   9816      # when we should be linking with a yet-to-be-installed one
   9817      ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
   9818      test "$hardcode_minus_L" != no; then
   9819     # Linking always hardcodes the temporary library directory.
   9820     hardcode_action=relink
   9821   else
   9822     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   9823     hardcode_action=immediate
   9824   fi
   9825 else
   9826   # We cannot hardcode anything, or else we can only hardcode existing
   9827   # directories.
   9828   hardcode_action=unsupported
   9829 fi
   9830 { $as_echo "$as_me:$LINENO: result: $hardcode_action" >&5
   9831 $as_echo "$hardcode_action" >&6; }
   9832 
   9833 if test "$hardcode_action" = relink; then
   9834   # Fast installation is not supported
   9835   enable_fast_install=no
   9836 elif test "$shlibpath_overrides_runpath" = yes ||
   9837      test "$enable_shared" = no; then
   9838   # Fast installation is not necessary
   9839   enable_fast_install=needless
   9840 fi
   9841 
   9842 striplib=
   9843 old_striplib=
   9844 { $as_echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
   9845 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
   9846 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
   9847   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
   9848   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
   9849   { $as_echo "$as_me:$LINENO: result: yes" >&5
   9850 $as_echo "yes" >&6; }
   9851 else
   9852 # FIXME - insert some real tests, host_os isn't really good enough
   9853   case $host_os in
   9854    darwin*)
   9855        if test -n "$STRIP" ; then
   9856          striplib="$STRIP -x"
   9857          old_striplib="$STRIP -S"
   9858          { $as_echo "$as_me:$LINENO: result: yes" >&5
   9859 $as_echo "yes" >&6; }
   9860        else
   9861   { $as_echo "$as_me:$LINENO: result: no" >&5
   9862 $as_echo "no" >&6; }
   9863 fi
   9864        ;;
   9865    *)
   9866   { $as_echo "$as_me:$LINENO: result: no" >&5
   9867 $as_echo "no" >&6; }
   9868     ;;
   9869   esac
   9870 fi
   9871 
   9872 if test "x$enable_dlopen" != xyes; then
   9873   enable_dlopen=unknown
   9874   enable_dlopen_self=unknown
   9875   enable_dlopen_self_static=unknown
   9876 else
   9877   lt_cv_dlopen=no
   9878   lt_cv_dlopen_libs=
   9879 
   9880   case $host_os in
   9881   beos*)
   9882     lt_cv_dlopen="load_add_on"
   9883     lt_cv_dlopen_libs=
   9884     lt_cv_dlopen_self=yes
   9885     ;;
   9886 
   9887   mingw* | pw32*)
   9888     lt_cv_dlopen="LoadLibrary"
   9889     lt_cv_dlopen_libs=
   9890    ;;
   9891 
   9892   cygwin*)
   9893     lt_cv_dlopen="dlopen"
   9894     lt_cv_dlopen_libs=
   9895    ;;
   9896 
   9897   darwin*)
   9898   # if libdl is installed we need to link against it
   9899     { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
   9900 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   9901 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
   9902   $as_echo_n "(cached) " >&6
   9903 else
   9904   ac_check_lib_save_LIBS=$LIBS
   9905 LIBS="-ldl  $LIBS"
   9906 cat >conftest.$ac_ext <<_ACEOF
   9907 /* confdefs.h.  */
   9908 _ACEOF
   9909 cat confdefs.h >>conftest.$ac_ext
   9910 cat >>conftest.$ac_ext <<_ACEOF
   9911 /* end confdefs.h.  */
   9912 
   9913 /* Override any GCC internal prototype to avoid an error.
   9914    Use char because int might match the return type of a GCC
   9915    builtin and then its argument prototype would still apply.  */
   9916 #ifdef __cplusplus
   9917 extern "C"
   9918 #endif
   9919 char dlopen ();
   9920 int
   9921 main ()
   9922 {
   9923 return dlopen ();
   9924   ;
   9925   return 0;
   9926 }
   9927 _ACEOF
   9928 rm -f conftest.$ac_objext conftest$ac_exeext
   9929 if { (ac_try="$ac_link"
   9930 case "(($ac_try" in
   9931   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   9932   *) ac_try_echo=$ac_try;;
   9933 esac
   9934 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   9935 $as_echo "$ac_try_echo") >&5
   9936   (eval "$ac_link") 2>conftest.er1
   9937   ac_status=$?
   9938   grep -v '^ *+' conftest.er1 >conftest.err
   9939   rm -f conftest.er1
   9940   cat conftest.err >&5
   9941   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9942   (exit $ac_status); } && {
   9943 	 test -z "$ac_c_werror_flag" ||
   9944 	 test ! -s conftest.err
   9945        } && test -s conftest$ac_exeext && {
   9946 	 test "$cross_compiling" = yes ||
   9947 	 $as_test_x conftest$ac_exeext
   9948        }; then
   9949   ac_cv_lib_dl_dlopen=yes
   9950 else
   9951   $as_echo "$as_me: failed program was:" >&5
   9952 sed 's/^/| /' conftest.$ac_ext >&5
   9953 
   9954 	ac_cv_lib_dl_dlopen=no
   9955 fi
   9956 
   9957 rm -rf conftest.dSYM
   9958 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   9959       conftest$ac_exeext conftest.$ac_ext
   9960 LIBS=$ac_check_lib_save_LIBS
   9961 fi
   9962 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
   9963 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   9964 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
   9965   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   9966 else
   9967 
   9968     lt_cv_dlopen="dyld"
   9969     lt_cv_dlopen_libs=
   9970     lt_cv_dlopen_self=yes
   9971 
   9972 fi
   9973 
   9974    ;;
   9975 
   9976   *)
   9977     { $as_echo "$as_me:$LINENO: checking for shl_load" >&5
   9978 $as_echo_n "checking for shl_load... " >&6; }
   9979 if test "${ac_cv_func_shl_load+set}" = set; then
   9980   $as_echo_n "(cached) " >&6
   9981 else
   9982   cat >conftest.$ac_ext <<_ACEOF
   9983 /* confdefs.h.  */
   9984 _ACEOF
   9985 cat confdefs.h >>conftest.$ac_ext
   9986 cat >>conftest.$ac_ext <<_ACEOF
   9987 /* end confdefs.h.  */
   9988 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
   9989    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   9990 #define shl_load innocuous_shl_load
   9991 
   9992 /* System header to define __stub macros and hopefully few prototypes,
   9993     which can conflict with char shl_load (); below.
   9994     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   9995     <limits.h> exists even on freestanding compilers.  */
   9996 
   9997 #ifdef __STDC__
   9998 # include <limits.h>
   9999 #else
   10000 # include <assert.h>
   10001 #endif
   10002 
   10003 #undef shl_load
   10004 
   10005 /* Override any GCC internal prototype to avoid an error.
   10006    Use char because int might match the return type of a GCC
   10007    builtin and then its argument prototype would still apply.  */
   10008 #ifdef __cplusplus
   10009 extern "C"
   10010 #endif
   10011 char shl_load ();
   10012 /* The GNU C library defines this for functions which it implements
   10013     to always fail with ENOSYS.  Some functions are actually named
   10014     something starting with __ and the normal name is an alias.  */
   10015 #if defined __stub_shl_load || defined __stub___shl_load
   10016 choke me
   10017 #endif
   10018 
   10019 int
   10020 main ()
   10021 {
   10022 return shl_load ();
   10023   ;
   10024   return 0;
   10025 }
   10026 _ACEOF
   10027 rm -f conftest.$ac_objext conftest$ac_exeext
   10028 if { (ac_try="$ac_link"
   10029 case "(($ac_try" in
   10030   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   10031   *) ac_try_echo=$ac_try;;
   10032 esac
   10033 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   10034 $as_echo "$ac_try_echo") >&5
   10035   (eval "$ac_link") 2>conftest.er1
   10036   ac_status=$?
   10037   grep -v '^ *+' conftest.er1 >conftest.err
   10038   rm -f conftest.er1
   10039   cat conftest.err >&5
   10040   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10041   (exit $ac_status); } && {
   10042 	 test -z "$ac_c_werror_flag" ||
   10043 	 test ! -s conftest.err
   10044        } && test -s conftest$ac_exeext && {
   10045 	 test "$cross_compiling" = yes ||
   10046 	 $as_test_x conftest$ac_exeext
   10047        }; then
   10048   ac_cv_func_shl_load=yes
   10049 else
   10050   $as_echo "$as_me: failed program was:" >&5
   10051 sed 's/^/| /' conftest.$ac_ext >&5
   10052 
   10053 	ac_cv_func_shl_load=no
   10054 fi
   10055 
   10056 rm -rf conftest.dSYM
   10057 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   10058       conftest$ac_exeext conftest.$ac_ext
   10059 fi
   10060 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
   10061 $as_echo "$ac_cv_func_shl_load" >&6; }
   10062 if test "x$ac_cv_func_shl_load" = x""yes; then
   10063   lt_cv_dlopen="shl_load"
   10064 else
   10065   { $as_echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
   10066 $as_echo_n "checking for shl_load in -ldld... " >&6; }
   10067 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
   10068   $as_echo_n "(cached) " >&6
   10069 else
   10070   ac_check_lib_save_LIBS=$LIBS
   10071 LIBS="-ldld  $LIBS"
   10072 cat >conftest.$ac_ext <<_ACEOF
   10073 /* confdefs.h.  */
   10074 _ACEOF
   10075 cat confdefs.h >>conftest.$ac_ext
   10076 cat >>conftest.$ac_ext <<_ACEOF
   10077 /* end confdefs.h.  */
   10078 
   10079 /* Override any GCC internal prototype to avoid an error.
   10080    Use char because int might match the return type of a GCC
   10081    builtin and then its argument prototype would still apply.  */
   10082 #ifdef __cplusplus
   10083 extern "C"
   10084 #endif
   10085 char shl_load ();
   10086 int
   10087 main ()
   10088 {
   10089 return shl_load ();
   10090   ;
   10091   return 0;
   10092 }
   10093 _ACEOF
   10094 rm -f conftest.$ac_objext conftest$ac_exeext
   10095 if { (ac_try="$ac_link"
   10096 case "(($ac_try" in
   10097   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   10098   *) ac_try_echo=$ac_try;;
   10099 esac
   10100 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   10101 $as_echo "$ac_try_echo") >&5
   10102   (eval "$ac_link") 2>conftest.er1
   10103   ac_status=$?
   10104   grep -v '^ *+' conftest.er1 >conftest.err
   10105   rm -f conftest.er1
   10106   cat conftest.err >&5
   10107   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10108   (exit $ac_status); } && {
   10109 	 test -z "$ac_c_werror_flag" ||
   10110 	 test ! -s conftest.err
   10111        } && test -s conftest$ac_exeext && {
   10112 	 test "$cross_compiling" = yes ||
   10113 	 $as_test_x conftest$ac_exeext
   10114        }; then
   10115   ac_cv_lib_dld_shl_load=yes
   10116 else
   10117   $as_echo "$as_me: failed program was:" >&5
   10118 sed 's/^/| /' conftest.$ac_ext >&5
   10119 
   10120 	ac_cv_lib_dld_shl_load=no
   10121 fi
   10122 
   10123 rm -rf conftest.dSYM
   10124 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   10125       conftest$ac_exeext conftest.$ac_ext
   10126 LIBS=$ac_check_lib_save_LIBS
   10127 fi
   10128 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
   10129 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
   10130 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then
   10131   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
   10132 else
   10133   { $as_echo "$as_me:$LINENO: checking for dlopen" >&5
   10134 $as_echo_n "checking for dlopen... " >&6; }
   10135 if test "${ac_cv_func_dlopen+set}" = set; then
   10136   $as_echo_n "(cached) " >&6
   10137 else
   10138   cat >conftest.$ac_ext <<_ACEOF
   10139 /* confdefs.h.  */
   10140 _ACEOF
   10141 cat confdefs.h >>conftest.$ac_ext
   10142 cat >>conftest.$ac_ext <<_ACEOF
   10143 /* end confdefs.h.  */
   10144 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
   10145    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   10146 #define dlopen innocuous_dlopen
   10147 
   10148 /* System header to define __stub macros and hopefully few prototypes,
   10149     which can conflict with char dlopen (); below.
   10150     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   10151     <limits.h> exists even on freestanding compilers.  */
   10152 
   10153 #ifdef __STDC__
   10154 # include <limits.h>
   10155 #else
   10156 # include <assert.h>
   10157 #endif
   10158 
   10159 #undef dlopen
   10160 
   10161 /* Override any GCC internal prototype to avoid an error.
   10162    Use char because int might match the return type of a GCC
   10163    builtin and then its argument prototype would still apply.  */
   10164 #ifdef __cplusplus
   10165 extern "C"
   10166 #endif
   10167 char dlopen ();
   10168 /* The GNU C library defines this for functions which it implements
   10169     to always fail with ENOSYS.  Some functions are actually named
   10170     something starting with __ and the normal name is an alias.  */
   10171 #if defined __stub_dlopen || defined __stub___dlopen
   10172 choke me
   10173 #endif
   10174 
   10175 int
   10176 main ()
   10177 {
   10178 return dlopen ();
   10179   ;
   10180   return 0;
   10181 }
   10182 _ACEOF
   10183 rm -f conftest.$ac_objext conftest$ac_exeext
   10184 if { (ac_try="$ac_link"
   10185 case "(($ac_try" in
   10186   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   10187   *) ac_try_echo=$ac_try;;
   10188 esac
   10189 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   10190 $as_echo "$ac_try_echo") >&5
   10191   (eval "$ac_link") 2>conftest.er1
   10192   ac_status=$?
   10193   grep -v '^ *+' conftest.er1 >conftest.err
   10194   rm -f conftest.er1
   10195   cat conftest.err >&5
   10196   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10197   (exit $ac_status); } && {
   10198 	 test -z "$ac_c_werror_flag" ||
   10199 	 test ! -s conftest.err
   10200        } && test -s conftest$ac_exeext && {
   10201 	 test "$cross_compiling" = yes ||
   10202 	 $as_test_x conftest$ac_exeext
   10203        }; then
   10204   ac_cv_func_dlopen=yes
   10205 else
   10206   $as_echo "$as_me: failed program was:" >&5
   10207 sed 's/^/| /' conftest.$ac_ext >&5
   10208 
   10209 	ac_cv_func_dlopen=no
   10210 fi
   10211 
   10212 rm -rf conftest.dSYM
   10213 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   10214       conftest$ac_exeext conftest.$ac_ext
   10215 fi
   10216 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
   10217 $as_echo "$ac_cv_func_dlopen" >&6; }
   10218 if test "x$ac_cv_func_dlopen" = x""yes; then
   10219   lt_cv_dlopen="dlopen"
   10220 else
   10221   { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
   10222 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   10223 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
   10224   $as_echo_n "(cached) " >&6
   10225 else
   10226   ac_check_lib_save_LIBS=$LIBS
   10227 LIBS="-ldl  $LIBS"
   10228 cat >conftest.$ac_ext <<_ACEOF
   10229 /* confdefs.h.  */
   10230 _ACEOF
   10231 cat confdefs.h >>conftest.$ac_ext
   10232 cat >>conftest.$ac_ext <<_ACEOF
   10233 /* end confdefs.h.  */
   10234 
   10235 /* Override any GCC internal prototype to avoid an error.
   10236    Use char because int might match the return type of a GCC
   10237    builtin and then its argument prototype would still apply.  */
   10238 #ifdef __cplusplus
   10239 extern "C"
   10240 #endif
   10241 char dlopen ();
   10242 int
   10243 main ()
   10244 {
   10245 return dlopen ();
   10246   ;
   10247   return 0;
   10248 }
   10249 _ACEOF
   10250 rm -f conftest.$ac_objext conftest$ac_exeext
   10251 if { (ac_try="$ac_link"
   10252 case "(($ac_try" in
   10253   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   10254   *) ac_try_echo=$ac_try;;
   10255 esac
   10256 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   10257 $as_echo "$ac_try_echo") >&5
   10258   (eval "$ac_link") 2>conftest.er1
   10259   ac_status=$?
   10260   grep -v '^ *+' conftest.er1 >conftest.err
   10261   rm -f conftest.er1
   10262   cat conftest.err >&5
   10263   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10264   (exit $ac_status); } && {
   10265 	 test -z "$ac_c_werror_flag" ||
   10266 	 test ! -s conftest.err
   10267        } && test -s conftest$ac_exeext && {
   10268 	 test "$cross_compiling" = yes ||
   10269 	 $as_test_x conftest$ac_exeext
   10270        }; then
   10271   ac_cv_lib_dl_dlopen=yes
   10272 else
   10273   $as_echo "$as_me: failed program was:" >&5
   10274 sed 's/^/| /' conftest.$ac_ext >&5
   10275 
   10276 	ac_cv_lib_dl_dlopen=no
   10277 fi
   10278 
   10279 rm -rf conftest.dSYM
   10280 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   10281       conftest$ac_exeext conftest.$ac_ext
   10282 LIBS=$ac_check_lib_save_LIBS
   10283 fi
   10284 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
   10285 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   10286 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
   10287   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   10288 else
   10289   { $as_echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
   10290 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
   10291 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
   10292   $as_echo_n "(cached) " >&6
   10293 else
   10294   ac_check_lib_save_LIBS=$LIBS
   10295 LIBS="-lsvld  $LIBS"
   10296 cat >conftest.$ac_ext <<_ACEOF
   10297 /* confdefs.h.  */
   10298 _ACEOF
   10299 cat confdefs.h >>conftest.$ac_ext
   10300 cat >>conftest.$ac_ext <<_ACEOF
   10301 /* end confdefs.h.  */
   10302 
   10303 /* Override any GCC internal prototype to avoid an error.
   10304    Use char because int might match the return type of a GCC
   10305    builtin and then its argument prototype would still apply.  */
   10306 #ifdef __cplusplus
   10307 extern "C"
   10308 #endif
   10309 char dlopen ();
   10310 int
   10311 main ()
   10312 {
   10313 return dlopen ();
   10314   ;
   10315   return 0;
   10316 }
   10317 _ACEOF
   10318 rm -f conftest.$ac_objext conftest$ac_exeext
   10319 if { (ac_try="$ac_link"
   10320 case "(($ac_try" in
   10321   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   10322   *) ac_try_echo=$ac_try;;
   10323 esac
   10324 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   10325 $as_echo "$ac_try_echo") >&5
   10326   (eval "$ac_link") 2>conftest.er1
   10327   ac_status=$?
   10328   grep -v '^ *+' conftest.er1 >conftest.err
   10329   rm -f conftest.er1
   10330   cat conftest.err >&5
   10331   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10332   (exit $ac_status); } && {
   10333 	 test -z "$ac_c_werror_flag" ||
   10334 	 test ! -s conftest.err
   10335        } && test -s conftest$ac_exeext && {
   10336 	 test "$cross_compiling" = yes ||
   10337 	 $as_test_x conftest$ac_exeext
   10338        }; then
   10339   ac_cv_lib_svld_dlopen=yes
   10340 else
   10341   $as_echo "$as_me: failed program was:" >&5
   10342 sed 's/^/| /' conftest.$ac_ext >&5
   10343 
   10344 	ac_cv_lib_svld_dlopen=no
   10345 fi
   10346 
   10347 rm -rf conftest.dSYM
   10348 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   10349       conftest$ac_exeext conftest.$ac_ext
   10350 LIBS=$ac_check_lib_save_LIBS
   10351 fi
   10352 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
   10353 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
   10354 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then
   10355   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
   10356 else
   10357   { $as_echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
   10358 $as_echo_n "checking for dld_link in -ldld... " >&6; }
   10359 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
   10360   $as_echo_n "(cached) " >&6
   10361 else
   10362   ac_check_lib_save_LIBS=$LIBS
   10363 LIBS="-ldld  $LIBS"
   10364 cat >conftest.$ac_ext <<_ACEOF
   10365 /* confdefs.h.  */
   10366 _ACEOF
   10367 cat confdefs.h >>conftest.$ac_ext
   10368 cat >>conftest.$ac_ext <<_ACEOF
   10369 /* end confdefs.h.  */
   10370 
   10371 /* Override any GCC internal prototype to avoid an error.
   10372    Use char because int might match the return type of a GCC
   10373    builtin and then its argument prototype would still apply.  */
   10374 #ifdef __cplusplus
   10375 extern "C"
   10376 #endif
   10377 char dld_link ();
   10378 int
   10379 main ()
   10380 {
   10381 return dld_link ();
   10382   ;
   10383   return 0;
   10384 }
   10385 _ACEOF
   10386 rm -f conftest.$ac_objext conftest$ac_exeext
   10387 if { (ac_try="$ac_link"
   10388 case "(($ac_try" in
   10389   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   10390   *) ac_try_echo=$ac_try;;
   10391 esac
   10392 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   10393 $as_echo "$ac_try_echo") >&5
   10394   (eval "$ac_link") 2>conftest.er1
   10395   ac_status=$?
   10396   grep -v '^ *+' conftest.er1 >conftest.err
   10397   rm -f conftest.er1
   10398   cat conftest.err >&5
   10399   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10400   (exit $ac_status); } && {
   10401 	 test -z "$ac_c_werror_flag" ||
   10402 	 test ! -s conftest.err
   10403        } && test -s conftest$ac_exeext && {
   10404 	 test "$cross_compiling" = yes ||
   10405 	 $as_test_x conftest$ac_exeext
   10406        }; then
   10407   ac_cv_lib_dld_dld_link=yes
   10408 else
   10409   $as_echo "$as_me: failed program was:" >&5
   10410 sed 's/^/| /' conftest.$ac_ext >&5
   10411 
   10412 	ac_cv_lib_dld_dld_link=no
   10413 fi
   10414 
   10415 rm -rf conftest.dSYM
   10416 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   10417       conftest$ac_exeext conftest.$ac_ext
   10418 LIBS=$ac_check_lib_save_LIBS
   10419 fi
   10420 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
   10421 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
   10422 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then
   10423   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
   10424 fi
   10425 
   10426 
   10427 fi
   10428 
   10429 
   10430 fi
   10431 
   10432 
   10433 fi
   10434 
   10435 
   10436 fi
   10437 
   10438 
   10439 fi
   10440 
   10441     ;;
   10442   esac
   10443 
   10444   if test "x$lt_cv_dlopen" != xno; then
   10445     enable_dlopen=yes
   10446   else
   10447     enable_dlopen=no
   10448   fi
   10449 
   10450   case $lt_cv_dlopen in
   10451   dlopen)
   10452     save_CPPFLAGS="$CPPFLAGS"
   10453     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
   10454 
   10455     save_LDFLAGS="$LDFLAGS"
   10456     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
   10457 
   10458     save_LIBS="$LIBS"
   10459     LIBS="$lt_cv_dlopen_libs $LIBS"
   10460 
   10461     { $as_echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
   10462 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
   10463 if test "${lt_cv_dlopen_self+set}" = set; then
   10464   $as_echo_n "(cached) " >&6
   10465 else
   10466   	  if test "$cross_compiling" = yes; then :
   10467   lt_cv_dlopen_self=cross
   10468 else
   10469   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   10470   lt_status=$lt_dlunknown
   10471   cat > conftest.$ac_ext <<EOF
   10472 #line 10472 "configure"
   10473 #include "confdefs.h"
   10474 
   10475 #if HAVE_DLFCN_H
   10476 #include <dlfcn.h>
   10477 #endif
   10478 
   10479 #include <stdio.h>
   10480 
   10481 #ifdef RTLD_GLOBAL
   10482 #  define LT_DLGLOBAL		RTLD_GLOBAL
   10483 #else
   10484 #  ifdef DL_GLOBAL
   10485 #    define LT_DLGLOBAL		DL_GLOBAL
   10486 #  else
   10487 #    define LT_DLGLOBAL		0
   10488 #  endif
   10489 #endif
   10490 
   10491 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   10492    find out it does not work in some platform. */
   10493 #ifndef LT_DLLAZY_OR_NOW
   10494 #  ifdef RTLD_LAZY
   10495 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   10496 #  else
   10497 #    ifdef DL_LAZY
   10498 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   10499 #    else
   10500 #      ifdef RTLD_NOW
   10501 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   10502 #      else
   10503 #        ifdef DL_NOW
   10504 #          define LT_DLLAZY_OR_NOW	DL_NOW
   10505 #        else
   10506 #          define LT_DLLAZY_OR_NOW	0
   10507 #        endif
   10508 #      endif
   10509 #    endif
   10510 #  endif
   10511 #endif
   10512 
   10513 #ifdef __cplusplus
   10514 extern "C" void exit (int);
   10515 #endif
   10516 
   10517 void fnord() { int i=42;}
   10518 int main ()
   10519 {
   10520   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   10521   int status = $lt_dlunknown;
   10522 
   10523   if (self)
   10524     {
   10525       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   10526       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
   10527       /* dlclose (self); */
   10528     }
   10529   else
   10530     puts (dlerror ());
   10531 
   10532     exit (status);
   10533 }
   10534 EOF
   10535   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   10536   (eval $ac_link) 2>&5
   10537   ac_status=$?
   10538   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10539   (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
   10540     (./conftest; exit; ) >&5 2>/dev/null
   10541     lt_status=$?
   10542     case x$lt_status in
   10543       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
   10544       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
   10545       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
   10546     esac
   10547   else :
   10548     # compilation failed
   10549     lt_cv_dlopen_self=no
   10550   fi
   10551 fi
   10552 rm -fr conftest*
   10553 
   10554 
   10555 fi
   10556 { $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
   10557 $as_echo "$lt_cv_dlopen_self" >&6; }
   10558 
   10559     if test "x$lt_cv_dlopen_self" = xyes; then
   10560       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
   10561       { $as_echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
   10562 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
   10563 if test "${lt_cv_dlopen_self_static+set}" = set; then
   10564   $as_echo_n "(cached) " >&6
   10565 else
   10566   	  if test "$cross_compiling" = yes; then :
   10567   lt_cv_dlopen_self_static=cross
   10568 else
   10569   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   10570   lt_status=$lt_dlunknown
   10571   cat > conftest.$ac_ext <<EOF
   10572 #line 10572 "configure"
   10573 #include "confdefs.h"
   10574 
   10575 #if HAVE_DLFCN_H
   10576 #include <dlfcn.h>
   10577 #endif
   10578 
   10579 #include <stdio.h>
   10580 
   10581 #ifdef RTLD_GLOBAL
   10582 #  define LT_DLGLOBAL		RTLD_GLOBAL
   10583 #else
   10584 #  ifdef DL_GLOBAL
   10585 #    define LT_DLGLOBAL		DL_GLOBAL
   10586 #  else
   10587 #    define LT_DLGLOBAL		0
   10588 #  endif
   10589 #endif
   10590 
   10591 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   10592    find out it does not work in some platform. */
   10593 #ifndef LT_DLLAZY_OR_NOW
   10594 #  ifdef RTLD_LAZY
   10595 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   10596 #  else
   10597 #    ifdef DL_LAZY
   10598 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   10599 #    else
   10600 #      ifdef RTLD_NOW
   10601 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   10602 #      else
   10603 #        ifdef DL_NOW
   10604 #          define LT_DLLAZY_OR_NOW	DL_NOW
   10605 #        else
   10606 #          define LT_DLLAZY_OR_NOW	0
   10607 #        endif
   10608 #      endif
   10609 #    endif
   10610 #  endif
   10611 #endif
   10612 
   10613 #ifdef __cplusplus
   10614 extern "C" void exit (int);
   10615 #endif
   10616 
   10617 void fnord() { int i=42;}
   10618 int main ()
   10619 {
   10620   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   10621   int status = $lt_dlunknown;
   10622 
   10623   if (self)
   10624     {
   10625       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   10626       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
   10627       /* dlclose (self); */
   10628     }
   10629   else
   10630     puts (dlerror ());
   10631 
   10632     exit (status);
   10633 }
   10634 EOF
   10635   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   10636   (eval $ac_link) 2>&5
   10637   ac_status=$?
   10638   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10639   (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
   10640     (./conftest; exit; ) >&5 2>/dev/null
   10641     lt_status=$?
   10642     case x$lt_status in
   10643       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
   10644       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
   10645       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
   10646     esac
   10647   else :
   10648     # compilation failed
   10649     lt_cv_dlopen_self_static=no
   10650   fi
   10651 fi
   10652 rm -fr conftest*
   10653 
   10654 
   10655 fi
   10656 { $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
   10657 $as_echo "$lt_cv_dlopen_self_static" >&6; }
   10658     fi
   10659 
   10660     CPPFLAGS="$save_CPPFLAGS"
   10661     LDFLAGS="$save_LDFLAGS"
   10662     LIBS="$save_LIBS"
   10663     ;;
   10664   esac
   10665 
   10666   case $lt_cv_dlopen_self in
   10667   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
   10668   *) enable_dlopen_self=unknown ;;
   10669   esac
   10670 
   10671   case $lt_cv_dlopen_self_static in
   10672   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
   10673   *) enable_dlopen_self_static=unknown ;;
   10674   esac
   10675 fi
   10676 
   10677 
   10678 # Report which library types will actually be built
   10679 { $as_echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
   10680 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
   10681 { $as_echo "$as_me:$LINENO: result: $can_build_shared" >&5
   10682 $as_echo "$can_build_shared" >&6; }
   10683 
   10684 { $as_echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
   10685 $as_echo_n "checking whether to build shared libraries... " >&6; }
   10686 test "$can_build_shared" = "no" && enable_shared=no
   10687 
   10688 # On AIX, shared libraries and static libraries use the same namespace, and
   10689 # are all built from PIC.
   10690 case $host_os in
   10691 aix3*)
   10692   test "$enable_shared" = yes && enable_static=no
   10693   if test -n "$RANLIB"; then
   10694     archive_cmds="$archive_cmds~\$RANLIB \$lib"
   10695     postinstall_cmds='$RANLIB $lib'
   10696   fi
   10697   ;;
   10698 
   10699 aix[4-9]*)
   10700   if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
   10701     test "$enable_shared" = yes && enable_static=no
   10702   fi
   10703     ;;
   10704 esac
   10705 { $as_echo "$as_me:$LINENO: result: $enable_shared" >&5
   10706 $as_echo "$enable_shared" >&6; }
   10707 
   10708 { $as_echo "$as_me:$LINENO: checking whether to build static libraries" >&5
   10709 $as_echo_n "checking whether to build static libraries... " >&6; }
   10710 # Make sure either enable_shared or enable_static is yes.
   10711 test "$enable_shared" = yes || enable_static=yes
   10712 { $as_echo "$as_me:$LINENO: result: $enable_static" >&5
   10713 $as_echo "$enable_static" >&6; }
   10714 
   10715 # The else clause should only fire when bootstrapping the
   10716 # libtool distribution, otherwise you forgot to ship ltmain.sh
   10717 # with your package, and you will get complaints that there are
   10718 # no rules to generate ltmain.sh.
   10719 if test -f "$ltmain"; then
   10720   # See if we are running on zsh, and set the options which allow our commands through
   10721   # without removal of \ escapes.
   10722   if test -n "${ZSH_VERSION+set}" ; then
   10723     setopt NO_GLOB_SUBST
   10724   fi
   10725   # Now quote all the things that may contain metacharacters while being
   10726   # careful not to overquote the AC_SUBSTed values.  We take copies of the
   10727   # variables and quote the copies for generation of the libtool script.
   10728   for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
   10729     SED SHELL STRIP \
   10730     libname_spec library_names_spec soname_spec extract_expsyms_cmds \
   10731     old_striplib striplib file_magic_cmd finish_cmds finish_eval \
   10732     deplibs_check_method reload_flag reload_cmds need_locks \
   10733     lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
   10734     lt_cv_sys_global_symbol_to_c_name_address \
   10735     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
   10736     old_postinstall_cmds old_postuninstall_cmds \
   10737     compiler \
   10738     CC \
   10739     LD \
   10740     lt_prog_compiler_wl \
   10741     lt_prog_compiler_pic \
   10742     lt_prog_compiler_static \
   10743     lt_prog_compiler_no_builtin_flag \
   10744     export_dynamic_flag_spec \
   10745     thread_safe_flag_spec \
   10746     whole_archive_flag_spec \
   10747     enable_shared_with_static_runtimes \
   10748     old_archive_cmds \
   10749     old_archive_from_new_cmds \
   10750     predep_objects \
   10751     postdep_objects \
   10752     predeps \
   10753     postdeps \
   10754     compiler_lib_search_path \
   10755     compiler_lib_search_dirs \
   10756     archive_cmds \
   10757     archive_expsym_cmds \
   10758     postinstall_cmds \
   10759     postuninstall_cmds \
   10760     old_archive_from_expsyms_cmds \
   10761     allow_undefined_flag \
   10762     no_undefined_flag \
   10763     export_symbols_cmds \
   10764     hardcode_libdir_flag_spec \
   10765     hardcode_libdir_flag_spec_ld \
   10766     hardcode_libdir_separator \
   10767     hardcode_automatic \
   10768     module_cmds \
   10769     module_expsym_cmds \
   10770     lt_cv_prog_compiler_c_o \
   10771     fix_srcfile_path \
   10772     exclude_expsyms \
   10773     include_expsyms; do
   10774 
   10775     case $var in
   10776     old_archive_cmds | \
   10777     old_archive_from_new_cmds | \
   10778     archive_cmds | \
   10779     archive_expsym_cmds | \
   10780     module_cmds | \
   10781     module_expsym_cmds | \
   10782     old_archive_from_expsyms_cmds | \
   10783     export_symbols_cmds | \
   10784     extract_expsyms_cmds | reload_cmds | finish_cmds | \
   10785     postinstall_cmds | postuninstall_cmds | \
   10786     old_postinstall_cmds | old_postuninstall_cmds | \
   10787     sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
   10788       # Double-quote double-evaled strings.
   10789       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
   10790       ;;
   10791     *)
   10792       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
   10793       ;;
   10794     esac
   10795   done
   10796 
   10797   case $lt_echo in
   10798   *'\$0 --fallback-echo"')
   10799     lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
   10800     ;;
   10801   esac
   10802 
   10803 cfgfile="${ofile}T"
   10804   trap "$rm \"$cfgfile\"; exit 1" 1 2 15
   10805   $rm -f "$cfgfile"
   10806   { $as_echo "$as_me:$LINENO: creating $ofile" >&5
   10807 $as_echo "$as_me: creating $ofile" >&6;}
   10808 
   10809   cat <<__EOF__ >> "$cfgfile"
   10810 #! $SHELL
   10811 
   10812 # `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
   10813 # Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
   10814 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
   10815 #
   10816 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008
   10817 # Free Software Foundation, Inc.
   10818 #
   10819 # This file is part of GNU Libtool:
   10820 # Originally by Gordon Matzigkeit <gord (at] gnu.ai.mit.edu>, 1996
   10821 #
   10822 # This program is free software; you can redistribute it and/or modify
   10823 # it under the terms of the GNU General Public License as published by
   10824 # the Free Software Foundation; either version 2 of the License, or
   10825 # (at your option) any later version.
   10826 #
   10827 # This program is distributed in the hope that it will be useful, but
   10828 # WITHOUT ANY WARRANTY; without even the implied warranty of
   10829 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
   10830 # General Public License for more details.
   10831 #
   10832 # You should have received a copy of the GNU General Public License
   10833 # along with this program; if not, write to the Free Software
   10834 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
   10835 #
   10836 # As a special exception to the GNU General Public License, if you
   10837 # distribute this file as part of a program that contains a
   10838 # configuration script generated by Autoconf, you may include it under
   10839 # the same distribution terms that you use for the rest of that program.
   10840 
   10841 # A sed program that does not truncate output.
   10842 SED=$lt_SED
   10843 
   10844 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
   10845 Xsed="$SED -e 1s/^X//"
   10846 
   10847 # The HP-UX ksh and POSIX shell print the target directory to stdout
   10848 # if CDPATH is set.
   10849 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   10850 
   10851 # The names of the tagged configurations supported by this script.
   10852 available_tags=
   10853 
   10854 # ### BEGIN LIBTOOL CONFIG
   10855 
   10856 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   10857 
   10858 # Shell to use when invoking shell scripts.
   10859 SHELL=$lt_SHELL
   10860 
   10861 # Whether or not to build shared libraries.
   10862 build_libtool_libs=$enable_shared
   10863 
   10864 # Whether or not to build static libraries.
   10865 build_old_libs=$enable_static
   10866 
   10867 # Whether or not to add -lc for building shared libraries.
   10868 build_libtool_need_lc=$archive_cmds_need_lc
   10869 
   10870 # Whether or not to disallow shared libs when runtime libs are static
   10871 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
   10872 
   10873 # Whether or not to optimize for fast installation.
   10874 fast_install=$enable_fast_install
   10875 
   10876 # The host system.
   10877 host_alias=$host_alias
   10878 host=$host
   10879 host_os=$host_os
   10880 
   10881 # The build system.
   10882 build_alias=$build_alias
   10883 build=$build
   10884 build_os=$build_os
   10885 
   10886 # An echo program that does not interpret backslashes.
   10887 echo=$lt_echo
   10888 
   10889 # The archiver.
   10890 AR=$lt_AR
   10891 AR_FLAGS=$lt_AR_FLAGS
   10892 
   10893 # A C compiler.
   10894 LTCC=$lt_LTCC
   10895 
   10896 # LTCC compiler flags.
   10897 LTCFLAGS=$lt_LTCFLAGS
   10898 
   10899 # A language-specific compiler.
   10900 CC=$lt_compiler
   10901 
   10902 # Is the compiler the GNU C compiler?
   10903 with_gcc=$GCC
   10904 
   10905 # An ERE matcher.
   10906 EGREP=$lt_EGREP
   10907 
   10908 # The linker used to build libraries.
   10909 LD=$lt_LD
   10910 
   10911 # Whether we need hard or soft links.
   10912 LN_S=$lt_LN_S
   10913 
   10914 # A BSD-compatible nm program.
   10915 NM=$lt_NM
   10916 
   10917 # A symbol stripping program
   10918 STRIP=$lt_STRIP
   10919 
   10920 # Used to examine libraries when file_magic_cmd begins "file"
   10921 MAGIC_CMD=$MAGIC_CMD
   10922 
   10923 # Used on cygwin: DLL creation program.
   10924 DLLTOOL="$DLLTOOL"
   10925 
   10926 # Used on cygwin: object dumper.
   10927 OBJDUMP="$OBJDUMP"
   10928 
   10929 # Used on cygwin: assembler.
   10930 AS="$AS"
   10931 
   10932 # The name of the directory that contains temporary libtool files.
   10933 objdir=$objdir
   10934 
   10935 # How to create reloadable object files.
   10936 reload_flag=$lt_reload_flag
   10937 reload_cmds=$lt_reload_cmds
   10938 
   10939 # How to pass a linker flag through the compiler.
   10940 wl=$lt_lt_prog_compiler_wl
   10941 
   10942 # Object file suffix (normally "o").
   10943 objext="$ac_objext"
   10944 
   10945 # Old archive suffix (normally "a").
   10946 libext="$libext"
   10947 
   10948 # Shared library suffix (normally ".so").
   10949 shrext_cmds='$shrext_cmds'
   10950 
   10951 # Executable file suffix (normally "").
   10952 exeext="$exeext"
   10953 
   10954 # Additional compiler flags for building library objects.
   10955 pic_flag=$lt_lt_prog_compiler_pic
   10956 pic_mode=$pic_mode
   10957 
   10958 # What is the maximum length of a command?
   10959 max_cmd_len=$lt_cv_sys_max_cmd_len
   10960 
   10961 # Does compiler simultaneously support -c and -o options?
   10962 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
   10963 
   10964 # Must we lock files when doing compilation?
   10965 need_locks=$lt_need_locks
   10966 
   10967 # Do we need the lib prefix for modules?
   10968 need_lib_prefix=$need_lib_prefix
   10969 
   10970 # Do we need a version for libraries?
   10971 need_version=$need_version
   10972 
   10973 # Whether dlopen is supported.
   10974 dlopen_support=$enable_dlopen
   10975 
   10976 # Whether dlopen of programs is supported.
   10977 dlopen_self=$enable_dlopen_self
   10978 
   10979 # Whether dlopen of statically linked programs is supported.
   10980 dlopen_self_static=$enable_dlopen_self_static
   10981 
   10982 # Compiler flag to prevent dynamic linking.
   10983 link_static_flag=$lt_lt_prog_compiler_static
   10984 
   10985 # Compiler flag to turn off builtin functions.
   10986 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
   10987 
   10988 # Compiler flag to allow reflexive dlopens.
   10989 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
   10990 
   10991 # Compiler flag to generate shared objects directly from archives.
   10992 whole_archive_flag_spec=$lt_whole_archive_flag_spec
   10993 
   10994 # Compiler flag to generate thread-safe objects.
   10995 thread_safe_flag_spec=$lt_thread_safe_flag_spec
   10996 
   10997 # Library versioning type.
   10998 version_type=$version_type
   10999 
   11000 # Format of library name prefix.
   11001 libname_spec=$lt_libname_spec
   11002 
   11003 # List of archive names.  First name is the real one, the rest are links.
   11004 # The last name is the one that the linker finds with -lNAME.
   11005 library_names_spec=$lt_library_names_spec
   11006 
   11007 # The coded name of the library, if different from the real name.
   11008 soname_spec=$lt_soname_spec
   11009 
   11010 # Commands used to build and install an old-style archive.
   11011 RANLIB=$lt_RANLIB
   11012 old_archive_cmds=$lt_old_archive_cmds
   11013 old_postinstall_cmds=$lt_old_postinstall_cmds
   11014 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   11015 
   11016 # Create an old-style archive from a shared archive.
   11017 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
   11018 
   11019 # Create a temporary old-style archive to link instead of a shared archive.
   11020 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
   11021 
   11022 # Commands used to build and install a shared archive.
   11023 archive_cmds=$lt_archive_cmds
   11024 archive_expsym_cmds=$lt_archive_expsym_cmds
   11025 postinstall_cmds=$lt_postinstall_cmds
   11026 postuninstall_cmds=$lt_postuninstall_cmds
   11027 
   11028 # Commands used to build a loadable module (assumed same as above if empty)
   11029 module_cmds=$lt_module_cmds
   11030 module_expsym_cmds=$lt_module_expsym_cmds
   11031 
   11032 # Commands to strip libraries.
   11033 old_striplib=$lt_old_striplib
   11034 striplib=$lt_striplib
   11035 
   11036 # Dependencies to place before the objects being linked to create a
   11037 # shared library.
   11038 predep_objects=$lt_predep_objects
   11039 
   11040 # Dependencies to place after the objects being linked to create a
   11041 # shared library.
   11042 postdep_objects=$lt_postdep_objects
   11043 
   11044 # Dependencies to place before the objects being linked to create a
   11045 # shared library.
   11046 predeps=$lt_predeps
   11047 
   11048 # Dependencies to place after the objects being linked to create a
   11049 # shared library.
   11050 postdeps=$lt_postdeps
   11051 
   11052 # The directories searched by this compiler when creating a shared
   11053 # library
   11054 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
   11055 
   11056 # The library search path used internally by the compiler when linking
   11057 # a shared library.
   11058 compiler_lib_search_path=$lt_compiler_lib_search_path
   11059 
   11060 # Method to check whether dependent libraries are shared objects.
   11061 deplibs_check_method=$lt_deplibs_check_method
   11062 
   11063 # Command to use when deplibs_check_method == file_magic.
   11064 file_magic_cmd=$lt_file_magic_cmd
   11065 
   11066 # Flag that allows shared libraries with undefined symbols to be built.
   11067 allow_undefined_flag=$lt_allow_undefined_flag
   11068 
   11069 # Flag that forces no undefined symbols.
   11070 no_undefined_flag=$lt_no_undefined_flag
   11071 
   11072 # Commands used to finish a libtool library installation in a directory.
   11073 finish_cmds=$lt_finish_cmds
   11074 
   11075 # Same as above, but a single script fragment to be evaled but not shown.
   11076 finish_eval=$lt_finish_eval
   11077 
   11078 # Take the output of nm and produce a listing of raw symbols and C names.
   11079 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   11080 
   11081 # Transform the output of nm in a proper C declaration
   11082 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   11083 
   11084 # Transform the output of nm in a C name address pair
   11085 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   11086 
   11087 # This is the shared library runtime path variable.
   11088 runpath_var=$runpath_var
   11089 
   11090 # This is the shared library path variable.
   11091 shlibpath_var=$shlibpath_var
   11092 
   11093 # Is shlibpath searched before the hard-coded library search path?
   11094 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   11095 
   11096 # How to hardcode a shared library path into an executable.
   11097 hardcode_action=$hardcode_action
   11098 
   11099 # Whether we should hardcode library paths into libraries.
   11100 hardcode_into_libs=$hardcode_into_libs
   11101 
   11102 # Flag to hardcode \$libdir into a binary during linking.
   11103 # This must work even if \$libdir does not exist.
   11104 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
   11105 
   11106 # If ld is used when linking, flag to hardcode \$libdir into
   11107 # a binary during linking. This must work even if \$libdir does
   11108 # not exist.
   11109 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
   11110 
   11111 # Whether we need a single -rpath flag with a separated argument.
   11112 hardcode_libdir_separator=$lt_hardcode_libdir_separator
   11113 
   11114 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
   11115 # resulting binary.
   11116 hardcode_direct=$hardcode_direct
   11117 
   11118 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
   11119 # resulting binary.
   11120 hardcode_minus_L=$hardcode_minus_L
   11121 
   11122 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
   11123 # the resulting binary.
   11124 hardcode_shlibpath_var=$hardcode_shlibpath_var
   11125 
   11126 # Set to yes if building a shared library automatically hardcodes DIR into the library
   11127 # and all subsequent libraries and executables linked against it.
   11128 hardcode_automatic=$hardcode_automatic
   11129 
   11130 # Variables whose values should be saved in libtool wrapper scripts and
   11131 # restored at relink time.
   11132 variables_saved_for_relink="$variables_saved_for_relink"
   11133 
   11134 # Whether libtool must link a program against all its dependency libraries.
   11135 link_all_deplibs=$link_all_deplibs
   11136 
   11137 # Compile-time system search path for libraries
   11138 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   11139 
   11140 # Run-time system search path for libraries
   11141 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   11142 
   11143 # Fix the shell variable \$srcfile for the compiler.
   11144 fix_srcfile_path=$lt_fix_srcfile_path
   11145 
   11146 # Set to yes if exported symbols are required.
   11147 always_export_symbols=$always_export_symbols
   11148 
   11149 # The commands to list exported symbols.
   11150 export_symbols_cmds=$lt_export_symbols_cmds
   11151 
   11152 # The commands to extract the exported symbol list from a shared archive.
   11153 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   11154 
   11155 # Symbols that should not be listed in the preloaded symbols.
   11156 exclude_expsyms=$lt_exclude_expsyms
   11157 
   11158 # Symbols that must always be exported.
   11159 include_expsyms=$lt_include_expsyms
   11160 
   11161 # ### END LIBTOOL CONFIG
   11162 
   11163 __EOF__
   11164 
   11165 
   11166   case $host_os in
   11167   aix3*)
   11168     cat <<\EOF >> "$cfgfile"
   11169 
   11170 # AIX sometimes has problems with the GCC collect2 program.  For some
   11171 # reason, if we set the COLLECT_NAMES environment variable, the problems
   11172 # vanish in a puff of smoke.
   11173 if test "X${COLLECT_NAMES+set}" != Xset; then
   11174   COLLECT_NAMES=
   11175   export COLLECT_NAMES
   11176 fi
   11177 EOF
   11178     ;;
   11179   esac
   11180 
   11181   # We use sed instead of cat because bash on DJGPP gets confused if
   11182   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
   11183   # text mode, it properly converts lines to CR/LF.  This bash problem
   11184   # is reportedly fixed, but why not run on old versions too?
   11185   sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
   11186 
   11187   mv -f "$cfgfile" "$ofile" || \
   11188     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
   11189   chmod +x "$ofile"
   11190 
   11191 else
   11192   # If there is no Makefile yet, we rely on a make rule to execute
   11193   # `config.status --recheck' to rerun these tests and create the
   11194   # libtool script then.
   11195   ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
   11196   if test -f "$ltmain_in"; then
   11197     test -f Makefile && make "$ltmain"
   11198   fi
   11199 fi
   11200 
   11201 
   11202 ac_ext=c
   11203 ac_cpp='$CPP $CPPFLAGS'
   11204 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   11205 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   11206 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   11207 
   11208 CC="$lt_save_CC"
   11209 
   11210 
   11211 # Check whether --with-tags was given.
   11212 if test "${with_tags+set}" = set; then
   11213   withval=$with_tags; tagnames="$withval"
   11214 fi
   11215 
   11216 
   11217 if test -f "$ltmain" && test -n "$tagnames"; then
   11218   if test ! -f "${ofile}"; then
   11219     { $as_echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist" >&5
   11220 $as_echo "$as_me: WARNING: output file \`$ofile' does not exist" >&2;}
   11221   fi
   11222 
   11223   if test -z "$LTCC"; then
   11224     eval "`$SHELL ${ofile} --config | grep '^LTCC='`"
   11225     if test -z "$LTCC"; then
   11226       { $as_echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
   11227 $as_echo "$as_me: WARNING: output file \`$ofile' does not look like a libtool script" >&2;}
   11228     else
   11229       { $as_echo "$as_me:$LINENO: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&5
   11230 $as_echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;}
   11231     fi
   11232   fi
   11233   if test -z "$LTCFLAGS"; then
   11234     eval "`$SHELL ${ofile} --config | grep '^LTCFLAGS='`"
   11235   fi
   11236 
   11237   # Extract list of available tagged configurations in $ofile.
   11238   # Note that this assumes the entire list is on one line.
   11239   available_tags=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
   11240 
   11241   lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   11242   for tagname in $tagnames; do
   11243     IFS="$lt_save_ifs"
   11244     # Check whether tagname contains only valid characters
   11245     case `$echo "X$tagname" | $Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
   11246     "") ;;
   11247     *)  { { $as_echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
   11248 $as_echo "$as_me: error: invalid tag name: $tagname" >&2;}
   11249    { (exit 1); exit 1; }; }
   11250 	;;
   11251     esac
   11252 
   11253     if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
   11254     then
   11255       { { $as_echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
   11256 $as_echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
   11257    { (exit 1); exit 1; }; }
   11258     fi
   11259 
   11260     # Update the list of available tags.
   11261     if test -n "$tagname"; then
   11262       echo appending configuration tag \"$tagname\" to $ofile
   11263 
   11264       case $tagname in
   11265       CXX)
   11266 	if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
   11267 	    ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
   11268 	    (test "X$CXX" != "Xg++"))) ; then
   11269 	  ac_ext=cpp
   11270 ac_cpp='$CXXCPP $CPPFLAGS'
   11271 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   11272 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   11273 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   11274 
   11275 
   11276 
   11277 
   11278 archive_cmds_need_lc_CXX=no
   11279 allow_undefined_flag_CXX=
   11280 always_export_symbols_CXX=no
   11281 archive_expsym_cmds_CXX=
   11282 export_dynamic_flag_spec_CXX=
   11283 hardcode_direct_CXX=no
   11284 hardcode_libdir_flag_spec_CXX=
   11285 hardcode_libdir_flag_spec_ld_CXX=
   11286 hardcode_libdir_separator_CXX=
   11287 hardcode_minus_L_CXX=no
   11288 hardcode_shlibpath_var_CXX=unsupported
   11289 hardcode_automatic_CXX=no
   11290 module_cmds_CXX=
   11291 module_expsym_cmds_CXX=
   11292 link_all_deplibs_CXX=unknown
   11293 old_archive_cmds_CXX=$old_archive_cmds
   11294 no_undefined_flag_CXX=
   11295 whole_archive_flag_spec_CXX=
   11296 enable_shared_with_static_runtimes_CXX=no
   11297 
   11298 # Dependencies to place before and after the object being linked:
   11299 predep_objects_CXX=
   11300 postdep_objects_CXX=
   11301 predeps_CXX=
   11302 postdeps_CXX=
   11303 compiler_lib_search_path_CXX=
   11304 compiler_lib_search_dirs_CXX=
   11305 
   11306 # Source file extension for C++ test sources.
   11307 ac_ext=cpp
   11308 
   11309 # Object file extension for compiled C++ test sources.
   11310 objext=o
   11311 objext_CXX=$objext
   11312 
   11313 # Code to be used in simple compile tests
   11314 lt_simple_compile_test_code="int some_variable = 0;"
   11315 
   11316 # Code to be used in simple link tests
   11317 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
   11318 
   11319 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
   11320 
   11321 # If no C compiler was specified, use CC.
   11322 LTCC=${LTCC-"$CC"}
   11323 
   11324 # If no C compiler flags were specified, use CFLAGS.
   11325 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   11326 
   11327 # Allow CC to be a program name with arguments.
   11328 compiler=$CC
   11329 
   11330 
   11331 # save warnings/boilerplate of simple test code
   11332 ac_outfile=conftest.$ac_objext
   11333 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   11334 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   11335 _lt_compiler_boilerplate=`cat conftest.err`
   11336 $rm conftest*
   11337 
   11338 ac_outfile=conftest.$ac_objext
   11339 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   11340 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   11341 _lt_linker_boilerplate=`cat conftest.err`
   11342 $rm -r conftest*
   11343 
   11344 
   11345 # Allow CC to be a program name with arguments.
   11346 lt_save_CC=$CC
   11347 lt_save_LD=$LD
   11348 lt_save_GCC=$GCC
   11349 GCC=$GXX
   11350 lt_save_with_gnu_ld=$with_gnu_ld
   11351 lt_save_path_LD=$lt_cv_path_LD
   11352 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
   11353   lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
   11354 else
   11355   $as_unset lt_cv_prog_gnu_ld
   11356 fi
   11357 if test -n "${lt_cv_path_LDCXX+set}"; then
   11358   lt_cv_path_LD=$lt_cv_path_LDCXX
   11359 else
   11360   $as_unset lt_cv_path_LD
   11361 fi
   11362 test -z "${LDCXX+set}" || LD=$LDCXX
   11363 CC=${CXX-"c++"}
   11364 compiler=$CC
   11365 compiler_CXX=$CC
   11366 for cc_temp in $compiler""; do
   11367   case $cc_temp in
   11368     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   11369     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   11370     \-*) ;;
   11371     *) break;;
   11372   esac
   11373 done
   11374 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   11375 
   11376 
   11377 # We don't want -fno-exception wen compiling C++ code, so set the
   11378 # no_builtin_flag separately
   11379 if test "$GXX" = yes; then
   11380   lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
   11381 else
   11382   lt_prog_compiler_no_builtin_flag_CXX=
   11383 fi
   11384 
   11385 if test "$GXX" = yes; then
   11386   # Set up default GNU C++ configuration
   11387 
   11388 
   11389 # Check whether --with-gnu-ld was given.
   11390 if test "${with_gnu_ld+set}" = set; then
   11391   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
   11392 else
   11393   with_gnu_ld=no
   11394 fi
   11395 
   11396 ac_prog=ld
   11397 if test "$GCC" = yes; then
   11398   # Check if gcc -print-prog-name=ld gives a path.
   11399   { $as_echo "$as_me:$LINENO: checking for ld used by $CC" >&5
   11400 $as_echo_n "checking for ld used by $CC... " >&6; }
   11401   case $host in
   11402   *-*-mingw*)
   11403     # gcc leaves a trailing carriage return which upsets mingw
   11404     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   11405   *)
   11406     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   11407   esac
   11408   case $ac_prog in
   11409     # Accept absolute paths.
   11410     [\\/]* | ?:[\\/]*)
   11411       re_direlt='/[^/][^/]*/\.\./'
   11412       # Canonicalize the pathname of ld
   11413       ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
   11414       while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
   11415 	ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
   11416       done
   11417       test -z "$LD" && LD="$ac_prog"
   11418       ;;
   11419   "")
   11420     # If it fails, then pretend we aren't using GCC.
   11421     ac_prog=ld
   11422     ;;
   11423   *)
   11424     # If it is relative, then search for the first ld in PATH.
   11425     with_gnu_ld=unknown
   11426     ;;
   11427   esac
   11428 elif test "$with_gnu_ld" = yes; then
   11429   { $as_echo "$as_me:$LINENO: checking for GNU ld" >&5
   11430 $as_echo_n "checking for GNU ld... " >&6; }
   11431 else
   11432   { $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5
   11433 $as_echo_n "checking for non-GNU ld... " >&6; }
   11434 fi
   11435 if test "${lt_cv_path_LD+set}" = set; then
   11436   $as_echo_n "(cached) " >&6
   11437 else
   11438   if test -z "$LD"; then
   11439   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   11440   for ac_dir in $PATH; do
   11441     IFS="$lt_save_ifs"
   11442     test -z "$ac_dir" && ac_dir=.
   11443     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   11444       lt_cv_path_LD="$ac_dir/$ac_prog"
   11445       # Check to see if the program is GNU ld.  I'd rather use --version,
   11446       # but apparently some variants of GNU ld only accept -v.
   11447       # Break only if it was the GNU/non-GNU ld that we prefer.
   11448       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   11449       *GNU* | *'with BFD'*)
   11450 	test "$with_gnu_ld" != no && break
   11451 	;;
   11452       *)
   11453 	test "$with_gnu_ld" != yes && break
   11454 	;;
   11455       esac
   11456     fi
   11457   done
   11458   IFS="$lt_save_ifs"
   11459 else
   11460   lt_cv_path_LD="$LD" # Let the user override the test with a path.
   11461 fi
   11462 fi
   11463 
   11464 LD="$lt_cv_path_LD"
   11465 if test -n "$LD"; then
   11466   { $as_echo "$as_me:$LINENO: result: $LD" >&5
   11467 $as_echo "$LD" >&6; }
   11468 else
   11469   { $as_echo "$as_me:$LINENO: result: no" >&5
   11470 $as_echo "no" >&6; }
   11471 fi
   11472 test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
   11473 $as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
   11474    { (exit 1); exit 1; }; }
   11475 { $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
   11476 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
   11477 if test "${lt_cv_prog_gnu_ld+set}" = set; then
   11478   $as_echo_n "(cached) " >&6
   11479 else
   11480   # I'd rather use --version here, but apparently some GNU lds only accept -v.
   11481 case `$LD -v 2>&1 </dev/null` in
   11482 *GNU* | *'with BFD'*)
   11483   lt_cv_prog_gnu_ld=yes
   11484   ;;
   11485 *)
   11486   lt_cv_prog_gnu_ld=no
   11487   ;;
   11488 esac
   11489 fi
   11490 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
   11491 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
   11492 with_gnu_ld=$lt_cv_prog_gnu_ld
   11493 
   11494 
   11495 
   11496   # Check if GNU C++ uses GNU ld as the underlying linker, since the
   11497   # archiving commands below assume that GNU ld is being used.
   11498   if test "$with_gnu_ld" = yes; then
   11499     archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
   11500     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'
   11501 
   11502     hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
   11503     export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
   11504 
   11505     # If archive_cmds runs LD, not CC, wlarc should be empty
   11506     # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
   11507     #     investigate it a little bit more. (MM)
   11508     wlarc='${wl}'
   11509 
   11510     # ancient GNU ld didn't support --whole-archive et. al.
   11511     if eval "`$CC -print-prog-name=ld` --help 2>&1" | \
   11512 	grep 'no-whole-archive' > /dev/null; then
   11513       whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   11514     else
   11515       whole_archive_flag_spec_CXX=
   11516     fi
   11517   else
   11518     with_gnu_ld=no
   11519     wlarc=
   11520 
   11521     # A generic and very simple default shared library creation
   11522     # command for GNU C++ for the case where it uses the native
   11523     # linker, instead of GNU ld.  If possible, this setting should
   11524     # overridden to take advantage of the native linker features on
   11525     # the platform it is being used on.
   11526     archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
   11527   fi
   11528 
   11529   # Commands to make compiler produce verbose output that lists
   11530   # what "hidden" libraries, object files and flags are used when
   11531   # linking a shared library.
   11532   output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
   11533 
   11534 else
   11535   GXX=no
   11536   with_gnu_ld=no
   11537   wlarc=
   11538 fi
   11539 
   11540 # PORTME: fill in a description of your system's C++ link characteristics
   11541 { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   11542 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   11543 ld_shlibs_CXX=yes
   11544 case $host_os in
   11545   aix3*)
   11546     # FIXME: insert proper C++ library support
   11547     ld_shlibs_CXX=no
   11548     ;;
   11549   aix[4-9]*)
   11550     if test "$host_cpu" = ia64; then
   11551       # On IA64, the linker does run time linking by default, so we don't
   11552       # have to do anything special.
   11553       aix_use_runtimelinking=no
   11554       exp_sym_flag='-Bexport'
   11555       no_entry_flag=""
   11556     else
   11557       aix_use_runtimelinking=no
   11558 
   11559       # Test if we are trying to use run time linking or normal
   11560       # AIX style linking. If -brtl is somewhere in LDFLAGS, we
   11561       # need to do runtime linking.
   11562       case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   11563 	for ld_flag in $LDFLAGS; do
   11564 	  case $ld_flag in
   11565 	  *-brtl*)
   11566 	    aix_use_runtimelinking=yes
   11567 	    break
   11568 	    ;;
   11569 	  esac
   11570 	done
   11571 	;;
   11572       esac
   11573 
   11574       exp_sym_flag='-bexport'
   11575       no_entry_flag='-bnoentry'
   11576     fi
   11577 
   11578     # When large executables or shared objects are built, AIX ld can
   11579     # have problems creating the table of contents.  If linking a library
   11580     # or program results in "error TOC overflow" add -mminimal-toc to
   11581     # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   11582     # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   11583 
   11584     archive_cmds_CXX=''
   11585     hardcode_direct_CXX=yes
   11586     hardcode_libdir_separator_CXX=':'
   11587     link_all_deplibs_CXX=yes
   11588 
   11589     if test "$GXX" = yes; then
   11590       case $host_os in aix4.[012]|aix4.[012].*)
   11591       # We only want to do this on AIX 4.2 and lower, the check
   11592       # below for broken collect2 doesn't work under 4.3+
   11593 	collect2name=`${CC} -print-prog-name=collect2`
   11594 	if test -f "$collect2name" && \
   11595 	   strings "$collect2name" | grep resolve_lib_name >/dev/null
   11596 	then
   11597 	  # We have reworked collect2
   11598 	  :
   11599 	else
   11600 	  # We have old collect2
   11601 	  hardcode_direct_CXX=unsupported
   11602 	  # It fails to find uninstalled libraries when the uninstalled
   11603 	  # path is not listed in the libpath.  Setting hardcode_minus_L
   11604 	  # to unsupported forces relinking
   11605 	  hardcode_minus_L_CXX=yes
   11606 	  hardcode_libdir_flag_spec_CXX='-L$libdir'
   11607 	  hardcode_libdir_separator_CXX=
   11608 	fi
   11609 	;;
   11610       esac
   11611       shared_flag='-shared'
   11612       if test "$aix_use_runtimelinking" = yes; then
   11613 	shared_flag="$shared_flag "'${wl}-G'
   11614       fi
   11615     else
   11616       # not using gcc
   11617       if test "$host_cpu" = ia64; then
   11618 	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   11619 	# chokes on -Wl,-G. The following line is correct:
   11620 	shared_flag='-G'
   11621       else
   11622 	if test "$aix_use_runtimelinking" = yes; then
   11623 	  shared_flag='${wl}-G'
   11624 	else
   11625 	  shared_flag='${wl}-bM:SRE'
   11626 	fi
   11627       fi
   11628     fi
   11629 
   11630     # It seems that -bexpall does not export symbols beginning with
   11631     # underscore (_), so it is better to generate a list of symbols to export.
   11632     always_export_symbols_CXX=yes
   11633     if test "$aix_use_runtimelinking" = yes; then
   11634       # Warning - without using the other runtime loading flags (-brtl),
   11635       # -berok will link without error, but may produce a broken library.
   11636       allow_undefined_flag_CXX='-berok'
   11637       # Determine the default libpath from the value encoded in an empty executable.
   11638       cat >conftest.$ac_ext <<_ACEOF
   11639 /* confdefs.h.  */
   11640 _ACEOF
   11641 cat confdefs.h >>conftest.$ac_ext
   11642 cat >>conftest.$ac_ext <<_ACEOF
   11643 /* end confdefs.h.  */
   11644 
   11645 int
   11646 main ()
   11647 {
   11648 
   11649   ;
   11650   return 0;
   11651 }
   11652 _ACEOF
   11653 rm -f conftest.$ac_objext conftest$ac_exeext
   11654 if { (ac_try="$ac_link"
   11655 case "(($ac_try" in
   11656   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   11657   *) ac_try_echo=$ac_try;;
   11658 esac
   11659 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   11660 $as_echo "$ac_try_echo") >&5
   11661   (eval "$ac_link") 2>conftest.er1
   11662   ac_status=$?
   11663   grep -v '^ *+' conftest.er1 >conftest.err
   11664   rm -f conftest.er1
   11665   cat conftest.err >&5
   11666   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11667   (exit $ac_status); } && {
   11668 	 test -z "$ac_cxx_werror_flag" ||
   11669 	 test ! -s conftest.err
   11670        } && test -s conftest$ac_exeext && {
   11671 	 test "$cross_compiling" = yes ||
   11672 	 $as_test_x conftest$ac_exeext
   11673        }; then
   11674 
   11675 lt_aix_libpath_sed='
   11676     /Import File Strings/,/^$/ {
   11677 	/^0/ {
   11678 	    s/^0  *\(.*\)$/\1/
   11679 	    p
   11680 	}
   11681     }'
   11682 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   11683 # Check for a 64-bit object if we didn't find anything.
   11684 if test -z "$aix_libpath"; then
   11685   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   11686 fi
   11687 else
   11688   $as_echo "$as_me: failed program was:" >&5
   11689 sed 's/^/| /' conftest.$ac_ext >&5
   11690 
   11691 
   11692 fi
   11693 
   11694 rm -rf conftest.dSYM
   11695 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   11696       conftest$ac_exeext conftest.$ac_ext
   11697 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   11698 
   11699       hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
   11700 
   11701       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"
   11702      else
   11703       if test "$host_cpu" = ia64; then
   11704 	hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
   11705 	allow_undefined_flag_CXX="-z nodefs"
   11706 	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"
   11707       else
   11708 	# Determine the default libpath from the value encoded in an empty executable.
   11709 	cat >conftest.$ac_ext <<_ACEOF
   11710 /* confdefs.h.  */
   11711 _ACEOF
   11712 cat confdefs.h >>conftest.$ac_ext
   11713 cat >>conftest.$ac_ext <<_ACEOF
   11714 /* end confdefs.h.  */
   11715 
   11716 int
   11717 main ()
   11718 {
   11719 
   11720   ;
   11721   return 0;
   11722 }
   11723 _ACEOF
   11724 rm -f conftest.$ac_objext conftest$ac_exeext
   11725 if { (ac_try="$ac_link"
   11726 case "(($ac_try" in
   11727   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   11728   *) ac_try_echo=$ac_try;;
   11729 esac
   11730 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   11731 $as_echo "$ac_try_echo") >&5
   11732   (eval "$ac_link") 2>conftest.er1
   11733   ac_status=$?
   11734   grep -v '^ *+' conftest.er1 >conftest.err
   11735   rm -f conftest.er1
   11736   cat conftest.err >&5
   11737   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11738   (exit $ac_status); } && {
   11739 	 test -z "$ac_cxx_werror_flag" ||
   11740 	 test ! -s conftest.err
   11741        } && test -s conftest$ac_exeext && {
   11742 	 test "$cross_compiling" = yes ||
   11743 	 $as_test_x conftest$ac_exeext
   11744        }; then
   11745 
   11746 lt_aix_libpath_sed='
   11747     /Import File Strings/,/^$/ {
   11748 	/^0/ {
   11749 	    s/^0  *\(.*\)$/\1/
   11750 	    p
   11751 	}
   11752     }'
   11753 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   11754 # Check for a 64-bit object if we didn't find anything.
   11755 if test -z "$aix_libpath"; then
   11756   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   11757 fi
   11758 else
   11759   $as_echo "$as_me: failed program was:" >&5
   11760 sed 's/^/| /' conftest.$ac_ext >&5
   11761 
   11762 
   11763 fi
   11764 
   11765 rm -rf conftest.dSYM
   11766 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   11767       conftest$ac_exeext conftest.$ac_ext
   11768 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   11769 
   11770 	hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
   11771 	# Warning - without using the other run time loading flags,
   11772 	# -berok will link without error, but may produce a broken library.
   11773 	no_undefined_flag_CXX=' ${wl}-bernotok'
   11774 	allow_undefined_flag_CXX=' ${wl}-berok'
   11775 	# Exported symbols can be pulled into shared objects from archives
   11776 	whole_archive_flag_spec_CXX='$convenience'
   11777 	archive_cmds_need_lc_CXX=yes
   11778 	# This is similar to how AIX traditionally builds its shared libraries.
   11779 	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'
   11780       fi
   11781     fi
   11782     ;;
   11783 
   11784   beos*)
   11785     if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   11786       allow_undefined_flag_CXX=unsupported
   11787       # Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   11788       # support --undefined.  This deserves some investigation.  FIXME
   11789       archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   11790     else
   11791       ld_shlibs_CXX=no
   11792     fi
   11793     ;;
   11794 
   11795   chorus*)
   11796     case $cc_basename in
   11797       *)
   11798 	# FIXME: insert proper C++ library support
   11799 	ld_shlibs_CXX=no
   11800 	;;
   11801     esac
   11802     ;;
   11803 
   11804   cygwin* | mingw* | pw32*)
   11805     # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
   11806     # as there is no search path for DLLs.
   11807     hardcode_libdir_flag_spec_CXX='-L$libdir'
   11808     allow_undefined_flag_CXX=unsupported
   11809     always_export_symbols_CXX=no
   11810     enable_shared_with_static_runtimes_CXX=yes
   11811 
   11812     if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
   11813       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'
   11814       # If the export-symbols file already is a .def file (1st line
   11815       # is EXPORTS), use it as is; otherwise, prepend...
   11816       archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   11817 	cp $export_symbols $output_objdir/$soname.def;
   11818       else
   11819 	echo EXPORTS > $output_objdir/$soname.def;
   11820 	cat $export_symbols >> $output_objdir/$soname.def;
   11821       fi~
   11822       $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'
   11823     else
   11824       ld_shlibs_CXX=no
   11825     fi
   11826   ;;
   11827       darwin* | rhapsody*)
   11828       archive_cmds_need_lc_CXX=no
   11829       hardcode_direct_CXX=no
   11830       hardcode_automatic_CXX=yes
   11831       hardcode_shlibpath_var_CXX=unsupported
   11832       whole_archive_flag_spec_CXX=''
   11833       link_all_deplibs_CXX=yes
   11834       allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
   11835       if test "$GXX" = yes ; then
   11836       output_verbose_link_cmd='echo'
   11837       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}"
   11838       module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
   11839       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}"
   11840       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}"
   11841       if test "$lt_cv_apple_cc_single_mod" != "yes"; then
   11842         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}"
   11843         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}"
   11844       fi
   11845       else
   11846       case $cc_basename in
   11847         xlc*)
   11848          output_verbose_link_cmd='echo'
   11849           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'
   11850           module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
   11851           # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
   11852           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}'
   11853           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}'
   11854           ;;
   11855        *)
   11856          ld_shlibs_CXX=no
   11857           ;;
   11858       esac
   11859       fi
   11860         ;;
   11861 
   11862   dgux*)
   11863     case $cc_basename in
   11864       ec++*)
   11865 	# FIXME: insert proper C++ library support
   11866 	ld_shlibs_CXX=no
   11867 	;;
   11868       ghcx*)
   11869 	# Green Hills C++ Compiler
   11870 	# FIXME: insert proper C++ library support
   11871 	ld_shlibs_CXX=no
   11872 	;;
   11873       *)
   11874 	# FIXME: insert proper C++ library support
   11875 	ld_shlibs_CXX=no
   11876 	;;
   11877     esac
   11878     ;;
   11879   freebsd[12]*)
   11880     # C++ shared libraries reported to be fairly broken before switch to ELF
   11881     ld_shlibs_CXX=no
   11882     ;;
   11883   freebsd-elf*)
   11884     archive_cmds_need_lc_CXX=no
   11885     ;;
   11886   freebsd* | dragonfly*)
   11887     # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
   11888     # conventions
   11889     ld_shlibs_CXX=yes
   11890     ;;
   11891   gnu*)
   11892     ;;
   11893   hpux9*)
   11894     hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
   11895     hardcode_libdir_separator_CXX=:
   11896     export_dynamic_flag_spec_CXX='${wl}-E'
   11897     hardcode_direct_CXX=yes
   11898     hardcode_minus_L_CXX=yes # Not in the search PATH,
   11899 				# but as the default
   11900 				# location of the library.
   11901 
   11902     case $cc_basename in
   11903     CC*)
   11904       # FIXME: insert proper C++ library support
   11905       ld_shlibs_CXX=no
   11906       ;;
   11907     aCC*)
   11908       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'
   11909       # Commands to make compiler produce verbose output that lists
   11910       # what "hidden" libraries, object files and flags are used when
   11911       # linking a shared library.
   11912       #
   11913       # There doesn't appear to be a way to prevent this compiler from
   11914       # explicitly linking system object files so we need to strip them
   11915       # from the output so that they don't get included in the library
   11916       # dependencies.
   11917       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'
   11918       ;;
   11919     *)
   11920       if test "$GXX" = yes; then
   11921         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'
   11922       else
   11923         # FIXME: insert proper C++ library support
   11924         ld_shlibs_CXX=no
   11925       fi
   11926       ;;
   11927     esac
   11928     ;;
   11929   hpux10*|hpux11*)
   11930     if test $with_gnu_ld = no; then
   11931       hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
   11932       hardcode_libdir_separator_CXX=:
   11933 
   11934       case $host_cpu in
   11935       hppa*64*|ia64*) ;;
   11936       *)
   11937 	export_dynamic_flag_spec_CXX='${wl}-E'
   11938         ;;
   11939       esac
   11940     fi
   11941     case $host_cpu in
   11942     hppa*64*|ia64*)
   11943       hardcode_direct_CXX=no
   11944       hardcode_shlibpath_var_CXX=no
   11945       ;;
   11946     *)
   11947       hardcode_direct_CXX=yes
   11948       hardcode_minus_L_CXX=yes # Not in the search PATH,
   11949 					      # but as the default
   11950 					      # location of the library.
   11951       ;;
   11952     esac
   11953 
   11954     case $cc_basename in
   11955       CC*)
   11956 	# FIXME: insert proper C++ library support
   11957 	ld_shlibs_CXX=no
   11958 	;;
   11959       aCC*)
   11960 	case $host_cpu in
   11961 	hppa*64*)
   11962 	  archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   11963 	  ;;
   11964 	ia64*)
   11965 	  archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   11966 	  ;;
   11967 	*)
   11968 	  archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   11969 	  ;;
   11970 	esac
   11971 	# Commands to make compiler produce verbose output that lists
   11972 	# what "hidden" libraries, object files and flags are used when
   11973 	# linking a shared library.
   11974 	#
   11975 	# There doesn't appear to be a way to prevent this compiler from
   11976 	# explicitly linking system object files so we need to strip them
   11977 	# from the output so that they don't get included in the library
   11978 	# dependencies.
   11979 	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'
   11980 	;;
   11981       *)
   11982 	if test "$GXX" = yes; then
   11983 	  if test $with_gnu_ld = no; then
   11984 	    case $host_cpu in
   11985 	    hppa*64*)
   11986 	      archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   11987 	      ;;
   11988 	    ia64*)
   11989 	      archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   11990 	      ;;
   11991 	    *)
   11992 	      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'
   11993 	      ;;
   11994 	    esac
   11995 	  fi
   11996 	else
   11997 	  # FIXME: insert proper C++ library support
   11998 	  ld_shlibs_CXX=no
   11999 	fi
   12000 	;;
   12001     esac
   12002     ;;
   12003   interix[3-9]*)
   12004     hardcode_direct_CXX=no
   12005     hardcode_shlibpath_var_CXX=no
   12006     hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
   12007     export_dynamic_flag_spec_CXX='${wl}-E'
   12008     # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   12009     # Instead, shared libraries are loaded at an image base (0x10000000 by
   12010     # default) and relocated if they conflict, which is a slow very memory
   12011     # consuming and fragmenting process.  To avoid this, we pick a random,
   12012     # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   12013     # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   12014     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'
   12015     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'
   12016     ;;
   12017   irix5* | irix6*)
   12018     case $cc_basename in
   12019       CC*)
   12020 	# SGI C++
   12021 	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'
   12022 
   12023 	# Archives containing C++ object files must be created using
   12024 	# "CC -ar", where "CC" is the IRIX C++ compiler.  This is
   12025 	# necessary to make sure instantiated templates are included
   12026 	# in the archive.
   12027 	old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
   12028 	;;
   12029       *)
   12030 	if test "$GXX" = yes; then
   12031 	  if test "$with_gnu_ld" = no; then
   12032 	    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'
   12033 	  else
   12034 	    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'
   12035 	  fi
   12036 	fi
   12037 	link_all_deplibs_CXX=yes
   12038 	;;
   12039     esac
   12040     hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
   12041     hardcode_libdir_separator_CXX=:
   12042     ;;
   12043   linux* | k*bsd*-gnu)
   12044     case $cc_basename in
   12045       KCC*)
   12046 	# Kuck and Associates, Inc. (KAI) C++ Compiler
   12047 
   12048 	# KCC will only create a shared library if the output file
   12049 	# ends with ".so" (or ".sl" for HP-UX), so rename the library
   12050 	# to its proper name (with version) after linking.
   12051 	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'
   12052 	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'
   12053 	# Commands to make compiler produce verbose output that lists
   12054 	# what "hidden" libraries, object files and flags are used when
   12055 	# linking a shared library.
   12056 	#
   12057 	# There doesn't appear to be a way to prevent this compiler from
   12058 	# explicitly linking system object files so we need to strip them
   12059 	# from the output so that they don't get included in the library
   12060 	# dependencies.
   12061 	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'
   12062 
   12063 	hardcode_libdir_flag_spec_CXX='${wl}--rpath,$libdir'
   12064 	export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
   12065 
   12066 	# Archives containing C++ object files must be created using
   12067 	# "CC -Bstatic", where "CC" is the KAI C++ compiler.
   12068 	old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
   12069 	;;
   12070       icpc*)
   12071 	# Intel C++
   12072 	with_gnu_ld=yes
   12073 	# version 8.0 and above of icpc choke on multiply defined symbols
   12074 	# if we add $predep_objects and $postdep_objects, however 7.1 and
   12075 	# earlier do not add the objects themselves.
   12076 	case `$CC -V 2>&1` in
   12077 	*"Version 7."*)
   12078   	  archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
   12079   	  archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   12080 	  ;;
   12081 	*)  # Version 8.0 or newer
   12082 	  tmp_idyn=
   12083 	  case $host_cpu in
   12084 	    ia64*) tmp_idyn=' -i_dynamic';;
   12085 	  esac
   12086   	  archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   12087 	  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'
   12088 	  ;;
   12089 	esac
   12090 	archive_cmds_need_lc_CXX=no
   12091 	hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
   12092 	export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
   12093 	whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
   12094 	;;
   12095       pgCC* | pgcpp*)
   12096         # Portland Group C++ compiler
   12097 	archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
   12098   	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'
   12099 
   12100 	hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
   12101 	export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
   12102 	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'
   12103         ;;
   12104       cxx*)
   12105 	# Compaq C++
   12106 	archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
   12107 	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'
   12108 
   12109 	runpath_var=LD_RUN_PATH
   12110 	hardcode_libdir_flag_spec_CXX='-rpath $libdir'
   12111 	hardcode_libdir_separator_CXX=:
   12112 
   12113 	# Commands to make compiler produce verbose output that lists
   12114 	# what "hidden" libraries, object files and flags are used when
   12115 	# linking a shared library.
   12116 	#
   12117 	# There doesn't appear to be a way to prevent this compiler from
   12118 	# explicitly linking system object files so we need to strip them
   12119 	# from the output so that they don't get included in the library
   12120 	# dependencies.
   12121 	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'
   12122 	;;
   12123       *)
   12124 	case `$CC -V 2>&1 | sed 5q` in
   12125 	*Sun\ C*)
   12126 	  # Sun C++ 5.9
   12127 	  no_undefined_flag_CXX=' -zdefs'
   12128 	  archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   12129 	  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'
   12130 	  hardcode_libdir_flag_spec_CXX='-R$libdir'
   12131 	  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'
   12132 
   12133 	  # Not sure whether something based on
   12134 	  # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
   12135 	  # would be better.
   12136 	  output_verbose_link_cmd='echo'
   12137 
   12138 	  # Archives containing C++ object files must be created using
   12139 	  # "CC -xar", where "CC" is the Sun C++ compiler.  This is
   12140 	  # necessary to make sure instantiated templates are included
   12141 	  # in the archive.
   12142 	  old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
   12143 	  ;;
   12144 	esac
   12145 	;;
   12146     esac
   12147     ;;
   12148   lynxos*)
   12149     # FIXME: insert proper C++ library support
   12150     ld_shlibs_CXX=no
   12151     ;;
   12152   m88k*)
   12153     # FIXME: insert proper C++ library support
   12154     ld_shlibs_CXX=no
   12155     ;;
   12156   mvs*)
   12157     case $cc_basename in
   12158       cxx*)
   12159 	# FIXME: insert proper C++ library support
   12160 	ld_shlibs_CXX=no
   12161 	;;
   12162       *)
   12163 	# FIXME: insert proper C++ library support
   12164 	ld_shlibs_CXX=no
   12165 	;;
   12166     esac
   12167     ;;
   12168   netbsd*)
   12169     if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   12170       archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
   12171       wlarc=
   12172       hardcode_libdir_flag_spec_CXX='-R$libdir'
   12173       hardcode_direct_CXX=yes
   12174       hardcode_shlibpath_var_CXX=no
   12175     fi
   12176     # Workaround some broken pre-1.5 toolchains
   12177     output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
   12178     ;;
   12179   openbsd2*)
   12180     # C++ shared libraries are fairly broken
   12181     ld_shlibs_CXX=no
   12182     ;;
   12183   openbsd*)
   12184     if test -f /usr/libexec/ld.so; then
   12185       hardcode_direct_CXX=yes
   12186       hardcode_shlibpath_var_CXX=no
   12187       archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
   12188       hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
   12189       if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   12190 	archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
   12191 	export_dynamic_flag_spec_CXX='${wl}-E'
   12192 	whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   12193       fi
   12194       output_verbose_link_cmd='echo'
   12195     else
   12196       ld_shlibs_CXX=no
   12197     fi
   12198     ;;
   12199   osf3*)
   12200     case $cc_basename in
   12201       KCC*)
   12202 	# Kuck and Associates, Inc. (KAI) C++ Compiler
   12203 
   12204 	# KCC will only create a shared library if the output file
   12205 	# ends with ".so" (or ".sl" for HP-UX), so rename the library
   12206 	# to its proper name (with version) after linking.
   12207 	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'
   12208 
   12209 	hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
   12210 	hardcode_libdir_separator_CXX=:
   12211 
   12212 	# Archives containing C++ object files must be created using
   12213 	# "CC -Bstatic", where "CC" is the KAI C++ compiler.
   12214 	old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
   12215 
   12216 	;;
   12217       RCC*)
   12218 	# Rational C++ 2.4.1
   12219 	# FIXME: insert proper C++ library support
   12220 	ld_shlibs_CXX=no
   12221 	;;
   12222       cxx*)
   12223 	allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
   12224 	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'
   12225 
   12226 	hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
   12227 	hardcode_libdir_separator_CXX=:
   12228 
   12229 	# Commands to make compiler produce verbose output that lists
   12230 	# what "hidden" libraries, object files and flags are used when
   12231 	# linking a shared library.
   12232 	#
   12233 	# There doesn't appear to be a way to prevent this compiler from
   12234 	# explicitly linking system object files so we need to strip them
   12235 	# from the output so that they don't get included in the library
   12236 	# dependencies.
   12237 	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'
   12238 	;;
   12239       *)
   12240 	if test "$GXX" = yes && test "$with_gnu_ld" = no; then
   12241 	  allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
   12242 	  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'
   12243 
   12244 	  hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
   12245 	  hardcode_libdir_separator_CXX=:
   12246 
   12247 	  # Commands to make compiler produce verbose output that lists
   12248 	  # what "hidden" libraries, object files and flags are used when
   12249 	  # linking a shared library.
   12250 	  output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
   12251 
   12252 	else
   12253 	  # FIXME: insert proper C++ library support
   12254 	  ld_shlibs_CXX=no
   12255 	fi
   12256 	;;
   12257     esac
   12258     ;;
   12259   osf4* | osf5*)
   12260     case $cc_basename in
   12261       KCC*)
   12262 	# Kuck and Associates, Inc. (KAI) C++ Compiler
   12263 
   12264 	# KCC will only create a shared library if the output file
   12265 	# ends with ".so" (or ".sl" for HP-UX), so rename the library
   12266 	# to its proper name (with version) after linking.
   12267 	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'
   12268 
   12269 	hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
   12270 	hardcode_libdir_separator_CXX=:
   12271 
   12272 	# Archives containing C++ object files must be created using
   12273 	# the KAI C++ compiler.
   12274 	old_archive_cmds_CXX='$CC -o $oldlib $oldobjs'
   12275 	;;
   12276       RCC*)
   12277 	# Rational C++ 2.4.1
   12278 	# FIXME: insert proper C++ library support
   12279 	ld_shlibs_CXX=no
   12280 	;;
   12281       cxx*)
   12282 	allow_undefined_flag_CXX=' -expect_unresolved \*'
   12283 	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'
   12284 	archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
   12285 	  echo "-hidden">> $lib.exp~
   12286 	  $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~
   12287 	  $rm $lib.exp'
   12288 
   12289 	hardcode_libdir_flag_spec_CXX='-rpath $libdir'
   12290 	hardcode_libdir_separator_CXX=:
   12291 
   12292 	# Commands to make compiler produce verbose output that lists
   12293 	# what "hidden" libraries, object files and flags are used when
   12294 	# linking a shared library.
   12295 	#
   12296 	# There doesn't appear to be a way to prevent this compiler from
   12297 	# explicitly linking system object files so we need to strip them
   12298 	# from the output so that they don't get included in the library
   12299 	# dependencies.
   12300 	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'
   12301 	;;
   12302       *)
   12303 	if test "$GXX" = yes && test "$with_gnu_ld" = no; then
   12304 	  allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
   12305 	 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'
   12306 
   12307 	  hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
   12308 	  hardcode_libdir_separator_CXX=:
   12309 
   12310 	  # Commands to make compiler produce verbose output that lists
   12311 	  # what "hidden" libraries, object files and flags are used when
   12312 	  # linking a shared library.
   12313 	  output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
   12314 
   12315 	else
   12316 	  # FIXME: insert proper C++ library support
   12317 	  ld_shlibs_CXX=no
   12318 	fi
   12319 	;;
   12320     esac
   12321     ;;
   12322   psos*)
   12323     # FIXME: insert proper C++ library support
   12324     ld_shlibs_CXX=no
   12325     ;;
   12326   sunos4*)
   12327     case $cc_basename in
   12328       CC*)
   12329 	# Sun C++ 4.x
   12330 	# FIXME: insert proper C++ library support
   12331 	ld_shlibs_CXX=no
   12332 	;;
   12333       lcc*)
   12334 	# Lucid
   12335 	# FIXME: insert proper C++ library support
   12336 	ld_shlibs_CXX=no
   12337 	;;
   12338       *)
   12339 	# FIXME: insert proper C++ library support
   12340 	ld_shlibs_CXX=no
   12341 	;;
   12342     esac
   12343     ;;
   12344   solaris*)
   12345     case $cc_basename in
   12346       CC*)
   12347 	# Sun C++ 4.2, 5.x and Centerline C++
   12348         archive_cmds_need_lc_CXX=yes
   12349 	no_undefined_flag_CXX=' -zdefs'
   12350 	archive_cmds_CXX='$CC -G${allow_undefined_flag}  -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   12351 	archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   12352 	$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'
   12353 
   12354 	hardcode_libdir_flag_spec_CXX='-R$libdir'
   12355 	hardcode_shlibpath_var_CXX=no
   12356 	case $host_os in
   12357 	  solaris2.[0-5] | solaris2.[0-5].*) ;;
   12358 	  *)
   12359 	    # The compiler driver will combine and reorder linker options,
   12360 	    # but understands `-z linker_flag'.
   12361 	    # Supported since Solaris 2.6 (maybe 2.5.1?)
   12362 	    whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
   12363 	    ;;
   12364 	esac
   12365 	link_all_deplibs_CXX=yes
   12366 
   12367 	output_verbose_link_cmd='echo'
   12368 
   12369 	# Archives containing C++ object files must be created using
   12370 	# "CC -xar", where "CC" is the Sun C++ compiler.  This is
   12371 	# necessary to make sure instantiated templates are included
   12372 	# in the archive.
   12373 	old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
   12374 	;;
   12375       gcx*)
   12376 	# Green Hills C++ Compiler
   12377 	archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
   12378 
   12379 	# The C++ compiler must be used to create the archive.
   12380 	old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
   12381 	;;
   12382       *)
   12383 	# GNU C++ compiler with Solaris linker
   12384 	if test "$GXX" = yes && test "$with_gnu_ld" = no; then
   12385 	  no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
   12386 	  if $CC --version | grep -v '^2\.7' > /dev/null; then
   12387 	    archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
   12388 	    archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   12389 		$CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
   12390 
   12391 	    # Commands to make compiler produce verbose output that lists
   12392 	    # what "hidden" libraries, object files and flags are used when
   12393 	    # linking a shared library.
   12394 	    output_verbose_link_cmd="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
   12395 	  else
   12396 	    # g++ 2.7 appears to require `-G' NOT `-shared' on this
   12397 	    # platform.
   12398 	    archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
   12399 	    archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   12400 		$CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
   12401 
   12402 	    # Commands to make compiler produce verbose output that lists
   12403 	    # what "hidden" libraries, object files and flags are used when
   12404 	    # linking a shared library.
   12405 	    output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
   12406 	  fi
   12407 
   12408 	  hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
   12409 	  case $host_os in
   12410 	  solaris2.[0-5] | solaris2.[0-5].*) ;;
   12411 	  *)
   12412 	    whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
   12413 	    ;;
   12414 	  esac
   12415 	fi
   12416 	;;
   12417     esac
   12418     ;;
   12419   sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   12420     no_undefined_flag_CXX='${wl}-z,text'
   12421     archive_cmds_need_lc_CXX=no
   12422     hardcode_shlibpath_var_CXX=no
   12423     runpath_var='LD_RUN_PATH'
   12424 
   12425     case $cc_basename in
   12426       CC*)
   12427 	archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   12428 	archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   12429 	;;
   12430       *)
   12431 	archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   12432 	archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   12433 	;;
   12434     esac
   12435     ;;
   12436   sysv5* | sco3.2v5* | sco5v6*)
   12437     # Note: We can NOT use -z defs as we might desire, because we do not
   12438     # link with -lc, and that would cause any symbols used from libc to
   12439     # always be unresolved, which means just about no library would
   12440     # ever link correctly.  If we're not using GNU ld we use -z text
   12441     # though, which does catch some bad symbols but isn't as heavy-handed
   12442     # as -z defs.
   12443     # For security reasons, it is highly recommended that you always
   12444     # use absolute paths for naming shared libraries, and exclude the
   12445     # DT_RUNPATH tag from executables and libraries.  But doing so
   12446     # requires that you compile everything twice, which is a pain.
   12447     # So that behaviour is only enabled if SCOABSPATH is set to a
   12448     # non-empty value in the environment.  Most likely only useful for
   12449     # creating official distributions of packages.
   12450     # This is a hack until libtool officially supports absolute path
   12451     # names for shared libraries.
   12452     no_undefined_flag_CXX='${wl}-z,text'
   12453     allow_undefined_flag_CXX='${wl}-z,nodefs'
   12454     archive_cmds_need_lc_CXX=no
   12455     hardcode_shlibpath_var_CXX=no
   12456     hardcode_libdir_flag_spec_CXX='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
   12457     hardcode_libdir_separator_CXX=':'
   12458     link_all_deplibs_CXX=yes
   12459     export_dynamic_flag_spec_CXX='${wl}-Bexport'
   12460     runpath_var='LD_RUN_PATH'
   12461 
   12462     case $cc_basename in
   12463       CC*)
   12464 	archive_cmds_CXX='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   12465 	archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   12466 	;;
   12467       *)
   12468 	archive_cmds_CXX='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   12469 	archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   12470 	;;
   12471     esac
   12472     ;;
   12473   tandem*)
   12474     case $cc_basename in
   12475       NCC*)
   12476 	# NonStop-UX NCC 3.20
   12477 	# FIXME: insert proper C++ library support
   12478 	ld_shlibs_CXX=no
   12479 	;;
   12480       *)
   12481 	# FIXME: insert proper C++ library support
   12482 	ld_shlibs_CXX=no
   12483 	;;
   12484     esac
   12485     ;;
   12486   vxworks*)
   12487     # FIXME: insert proper C++ library support
   12488     ld_shlibs_CXX=no
   12489     ;;
   12490   *)
   12491     # FIXME: insert proper C++ library support
   12492     ld_shlibs_CXX=no
   12493     ;;
   12494 esac
   12495 { $as_echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
   12496 $as_echo "$ld_shlibs_CXX" >&6; }
   12497 test "$ld_shlibs_CXX" = no && can_build_shared=no
   12498 
   12499 GCC_CXX="$GXX"
   12500 LD_CXX="$LD"
   12501 
   12502 cat > conftest.$ac_ext <<EOF
   12503 class Foo
   12504 {
   12505 public:
   12506   Foo (void) { a = 0; }
   12507 private:
   12508   int a;
   12509 };
   12510 EOF
   12511 
   12512 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   12513   (eval $ac_compile) 2>&5
   12514   ac_status=$?
   12515   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12516   (exit $ac_status); }; then
   12517   # Parse the compiler output and extract the necessary
   12518   # objects, libraries and library flags.
   12519 
   12520   # Sentinel used to keep track of whether or not we are before
   12521   # the conftest object file.
   12522   pre_test_object_deps_done=no
   12523 
   12524   # The `*' in the case matches for architectures that use `case' in
   12525   # $output_verbose_cmd can trigger glob expansion during the loop
   12526   # eval without this substitution.
   12527   output_verbose_link_cmd=`$echo "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
   12528 
   12529   for p in `eval $output_verbose_link_cmd`; do
   12530     case $p in
   12531 
   12532     -L* | -R* | -l*)
   12533        # Some compilers place space between "-{L,R}" and the path.
   12534        # Remove the space.
   12535        if test $p = "-L" \
   12536 	  || test $p = "-R"; then
   12537 	 prev=$p
   12538 	 continue
   12539        else
   12540 	 prev=
   12541        fi
   12542 
   12543        if test "$pre_test_object_deps_done" = no; then
   12544 	 case $p in
   12545 	 -L* | -R*)
   12546 	   # Internal compiler library paths should come after those
   12547 	   # provided the user.  The postdeps already come after the
   12548 	   # user supplied libs so there is no need to process them.
   12549 	   if test -z "$compiler_lib_search_path_CXX"; then
   12550 	     compiler_lib_search_path_CXX="${prev}${p}"
   12551 	   else
   12552 	     compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
   12553 	   fi
   12554 	   ;;
   12555 	 # The "-l" case would never come before the object being
   12556 	 # linked, so don't bother handling this case.
   12557 	 esac
   12558        else
   12559 	 if test -z "$postdeps_CXX"; then
   12560 	   postdeps_CXX="${prev}${p}"
   12561 	 else
   12562 	   postdeps_CXX="${postdeps_CXX} ${prev}${p}"
   12563 	 fi
   12564        fi
   12565        ;;
   12566 
   12567     *.$objext)
   12568        # This assumes that the test object file only shows up
   12569        # once in the compiler output.
   12570        if test "$p" = "conftest.$objext"; then
   12571 	 pre_test_object_deps_done=yes
   12572 	 continue
   12573        fi
   12574 
   12575        if test "$pre_test_object_deps_done" = no; then
   12576 	 if test -z "$predep_objects_CXX"; then
   12577 	   predep_objects_CXX="$p"
   12578 	 else
   12579 	   predep_objects_CXX="$predep_objects_CXX $p"
   12580 	 fi
   12581        else
   12582 	 if test -z "$postdep_objects_CXX"; then
   12583 	   postdep_objects_CXX="$p"
   12584 	 else
   12585 	   postdep_objects_CXX="$postdep_objects_CXX $p"
   12586 	 fi
   12587        fi
   12588        ;;
   12589 
   12590     *) ;; # Ignore the rest.
   12591 
   12592     esac
   12593   done
   12594 
   12595   # Clean up.
   12596   rm -f a.out a.exe
   12597 else
   12598   echo "libtool.m4: error: problem compiling CXX test program"
   12599 fi
   12600 
   12601 $rm -f confest.$objext
   12602 
   12603 compiler_lib_search_dirs_CXX=
   12604 if test -n "$compiler_lib_search_path_CXX"; then
   12605   compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
   12606 fi
   12607 
   12608 # PORTME: override above test on systems where it is broken
   12609 case $host_os in
   12610 interix[3-9]*)
   12611   # Interix 3.5 installs completely hosed .la files for C++, so rather than
   12612   # hack all around it, let's just trust "g++" to DTRT.
   12613   predep_objects_CXX=
   12614   postdep_objects_CXX=
   12615   postdeps_CXX=
   12616   ;;
   12617 
   12618 linux*)
   12619   case `$CC -V 2>&1 | sed 5q` in
   12620   *Sun\ C*)
   12621     # Sun C++ 5.9
   12622     #
   12623     # The more standards-conforming stlport4 library is
   12624     # incompatible with the Cstd library. Avoid specifying
   12625     # it if it's in CXXFLAGS. Ignore libCrun as
   12626     # -library=stlport4 depends on it.
   12627     case " $CXX $CXXFLAGS " in
   12628     *" -library=stlport4 "*)
   12629       solaris_use_stlport4=yes
   12630       ;;
   12631     esac
   12632     if test "$solaris_use_stlport4" != yes; then
   12633       postdeps_CXX='-library=Cstd -library=Crun'
   12634     fi
   12635     ;;
   12636   esac
   12637   ;;
   12638 
   12639 solaris*)
   12640   case $cc_basename in
   12641   CC*)
   12642     # The more standards-conforming stlport4 library is
   12643     # incompatible with the Cstd library. Avoid specifying
   12644     # it if it's in CXXFLAGS. Ignore libCrun as
   12645     # -library=stlport4 depends on it.
   12646     case " $CXX $CXXFLAGS " in
   12647     *" -library=stlport4 "*)
   12648       solaris_use_stlport4=yes
   12649       ;;
   12650     esac
   12651 
   12652     # Adding this requires a known-good setup of shared libraries for
   12653     # Sun compiler versions before 5.6, else PIC objects from an old
   12654     # archive will be linked into the output, leading to subtle bugs.
   12655     if test "$solaris_use_stlport4" != yes; then
   12656       postdeps_CXX='-library=Cstd -library=Crun'
   12657     fi
   12658     ;;
   12659   esac
   12660   ;;
   12661 esac
   12662 
   12663 case " $postdeps_CXX " in
   12664 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
   12665 esac
   12666 
   12667 lt_prog_compiler_wl_CXX=
   12668 lt_prog_compiler_pic_CXX=
   12669 lt_prog_compiler_static_CXX=
   12670 
   12671 { $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
   12672 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
   12673 
   12674   # C++ specific cases for pic, static, wl, etc.
   12675   if test "$GXX" = yes; then
   12676     lt_prog_compiler_wl_CXX='-Wl,'
   12677     lt_prog_compiler_static_CXX='-static'
   12678 
   12679     case $host_os in
   12680     aix*)
   12681       # All AIX code is PIC.
   12682       if test "$host_cpu" = ia64; then
   12683 	# AIX 5 now supports IA64 processor
   12684 	lt_prog_compiler_static_CXX='-Bstatic'
   12685       fi
   12686       ;;
   12687     amigaos*)
   12688       # FIXME: we need at least 68020 code to build shared libraries, but
   12689       # adding the `-m68020' flag to GCC prevents building anything better,
   12690       # like `-m68040'.
   12691       lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
   12692       ;;
   12693     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   12694       # PIC is the default for these OSes.
   12695       ;;
   12696     mingw* | cygwin* | os2* | pw32*)
   12697       # This hack is so that the source file can tell whether it is being
   12698       # built for inclusion in a dll (and should export symbols for example).
   12699       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   12700       # (--disable-auto-import) libraries
   12701       lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
   12702       ;;
   12703     darwin* | rhapsody*)
   12704       # PIC is the default on this platform
   12705       # Common symbols not allowed in MH_DYLIB files
   12706       lt_prog_compiler_pic_CXX='-fno-common'
   12707       ;;
   12708     *djgpp*)
   12709       # DJGPP does not support shared libraries at all
   12710       lt_prog_compiler_pic_CXX=
   12711       ;;
   12712     interix[3-9]*)
   12713       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   12714       # Instead, we relocate shared libraries at runtime.
   12715       ;;
   12716     sysv4*MP*)
   12717       if test -d /usr/nec; then
   12718 	lt_prog_compiler_pic_CXX=-Kconform_pic
   12719       fi
   12720       ;;
   12721     hpux*)
   12722       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   12723       # not for PA HP-UX.
   12724       case $host_cpu in
   12725       hppa*64*|ia64*)
   12726 	;;
   12727       *)
   12728 	lt_prog_compiler_pic_CXX='-fPIC'
   12729 	;;
   12730       esac
   12731       ;;
   12732     *)
   12733       lt_prog_compiler_pic_CXX='-fPIC'
   12734       ;;
   12735     esac
   12736   else
   12737     case $host_os in
   12738       aix[4-9]*)
   12739 	# All AIX code is PIC.
   12740 	if test "$host_cpu" = ia64; then
   12741 	  # AIX 5 now supports IA64 processor
   12742 	  lt_prog_compiler_static_CXX='-Bstatic'
   12743 	else
   12744 	  lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
   12745 	fi
   12746 	;;
   12747       chorus*)
   12748 	case $cc_basename in
   12749 	cxch68*)
   12750 	  # Green Hills C++ Compiler
   12751 	  # _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"
   12752 	  ;;
   12753 	esac
   12754 	;;
   12755        darwin*)
   12756          # PIC is the default on this platform
   12757          # Common symbols not allowed in MH_DYLIB files
   12758          case $cc_basename in
   12759            xlc*)
   12760            lt_prog_compiler_pic_CXX='-qnocommon'
   12761            lt_prog_compiler_wl_CXX='-Wl,'
   12762            ;;
   12763          esac
   12764        ;;
   12765       dgux*)
   12766 	case $cc_basename in
   12767 	  ec++*)
   12768 	    lt_prog_compiler_pic_CXX='-KPIC'
   12769 	    ;;
   12770 	  ghcx*)
   12771 	    # Green Hills C++ Compiler
   12772 	    lt_prog_compiler_pic_CXX='-pic'
   12773 	    ;;
   12774 	  *)
   12775 	    ;;
   12776 	esac
   12777 	;;
   12778       freebsd* | dragonfly*)
   12779 	# FreeBSD uses GNU C++
   12780 	;;
   12781       hpux9* | hpux10* | hpux11*)
   12782 	case $cc_basename in
   12783 	  CC*)
   12784 	    lt_prog_compiler_wl_CXX='-Wl,'
   12785 	    lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
   12786 	    if test "$host_cpu" != ia64; then
   12787 	      lt_prog_compiler_pic_CXX='+Z'
   12788 	    fi
   12789 	    ;;
   12790 	  aCC*)
   12791 	    lt_prog_compiler_wl_CXX='-Wl,'
   12792 	    lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
   12793 	    case $host_cpu in
   12794 	    hppa*64*|ia64*)
   12795 	      # +Z the default
   12796 	      ;;
   12797 	    *)
   12798 	      lt_prog_compiler_pic_CXX='+Z'
   12799 	      ;;
   12800 	    esac
   12801 	    ;;
   12802 	  *)
   12803 	    ;;
   12804 	esac
   12805 	;;
   12806       interix*)
   12807 	# This is c89, which is MS Visual C++ (no shared libs)
   12808 	# Anyone wants to do a port?
   12809 	;;
   12810       irix5* | irix6* | nonstopux*)
   12811 	case $cc_basename in
   12812 	  CC*)
   12813 	    lt_prog_compiler_wl_CXX='-Wl,'
   12814 	    lt_prog_compiler_static_CXX='-non_shared'
   12815 	    # CC pic flag -KPIC is the default.
   12816 	    ;;
   12817 	  *)
   12818 	    ;;
   12819 	esac
   12820 	;;
   12821       linux* | k*bsd*-gnu)
   12822 	case $cc_basename in
   12823 	  KCC*)
   12824 	    # KAI C++ Compiler
   12825 	    lt_prog_compiler_wl_CXX='--backend -Wl,'
   12826 	    lt_prog_compiler_pic_CXX='-fPIC'
   12827 	    ;;
   12828 	  icpc* | ecpc*)
   12829 	    # Intel C++
   12830 	    lt_prog_compiler_wl_CXX='-Wl,'
   12831 	    lt_prog_compiler_pic_CXX='-KPIC'
   12832 	    lt_prog_compiler_static_CXX='-static'
   12833 	    ;;
   12834 	  pgCC* | pgcpp*)
   12835 	    # Portland Group C++ compiler.
   12836 	    lt_prog_compiler_wl_CXX='-Wl,'
   12837 	    lt_prog_compiler_pic_CXX='-fpic'
   12838 	    lt_prog_compiler_static_CXX='-Bstatic'
   12839 	    ;;
   12840 	  cxx*)
   12841 	    # Compaq C++
   12842 	    # Make sure the PIC flag is empty.  It appears that all Alpha
   12843 	    # Linux and Compaq Tru64 Unix objects are PIC.
   12844 	    lt_prog_compiler_pic_CXX=
   12845 	    lt_prog_compiler_static_CXX='-non_shared'
   12846 	    ;;
   12847 	  *)
   12848 	    case `$CC -V 2>&1 | sed 5q` in
   12849 	    *Sun\ C*)
   12850 	      # Sun C++ 5.9
   12851 	      lt_prog_compiler_pic_CXX='-KPIC'
   12852 	      lt_prog_compiler_static_CXX='-Bstatic'
   12853 	      lt_prog_compiler_wl_CXX='-Qoption ld '
   12854 	      ;;
   12855 	    esac
   12856 	    ;;
   12857 	esac
   12858 	;;
   12859       lynxos*)
   12860 	;;
   12861       m88k*)
   12862 	;;
   12863       mvs*)
   12864 	case $cc_basename in
   12865 	  cxx*)
   12866 	    lt_prog_compiler_pic_CXX='-W c,exportall'
   12867 	    ;;
   12868 	  *)
   12869 	    ;;
   12870 	esac
   12871 	;;
   12872       netbsd*)
   12873 	;;
   12874       osf3* | osf4* | osf5*)
   12875 	case $cc_basename in
   12876 	  KCC*)
   12877 	    lt_prog_compiler_wl_CXX='--backend -Wl,'
   12878 	    ;;
   12879 	  RCC*)
   12880 	    # Rational C++ 2.4.1
   12881 	    lt_prog_compiler_pic_CXX='-pic'
   12882 	    ;;
   12883 	  cxx*)
   12884 	    # Digital/Compaq C++
   12885 	    lt_prog_compiler_wl_CXX='-Wl,'
   12886 	    # Make sure the PIC flag is empty.  It appears that all Alpha
   12887 	    # Linux and Compaq Tru64 Unix objects are PIC.
   12888 	    lt_prog_compiler_pic_CXX=
   12889 	    lt_prog_compiler_static_CXX='-non_shared'
   12890 	    ;;
   12891 	  *)
   12892 	    ;;
   12893 	esac
   12894 	;;
   12895       psos*)
   12896 	;;
   12897       solaris*)
   12898 	case $cc_basename in
   12899 	  CC*)
   12900 	    # Sun C++ 4.2, 5.x and Centerline C++
   12901 	    lt_prog_compiler_pic_CXX='-KPIC'
   12902 	    lt_prog_compiler_static_CXX='-Bstatic'
   12903 	    lt_prog_compiler_wl_CXX='-Qoption ld '
   12904 	    ;;
   12905 	  gcx*)
   12906 	    # Green Hills C++ Compiler
   12907 	    lt_prog_compiler_pic_CXX='-PIC'
   12908 	    ;;
   12909 	  *)
   12910 	    ;;
   12911 	esac
   12912 	;;
   12913       sunos4*)
   12914 	case $cc_basename in
   12915 	  CC*)
   12916 	    # Sun C++ 4.x
   12917 	    lt_prog_compiler_pic_CXX='-pic'
   12918 	    lt_prog_compiler_static_CXX='-Bstatic'
   12919 	    ;;
   12920 	  lcc*)
   12921 	    # Lucid
   12922 	    lt_prog_compiler_pic_CXX='-pic'
   12923 	    ;;
   12924 	  *)
   12925 	    ;;
   12926 	esac
   12927 	;;
   12928       tandem*)
   12929 	case $cc_basename in
   12930 	  NCC*)
   12931 	    # NonStop-UX NCC 3.20
   12932 	    lt_prog_compiler_pic_CXX='-KPIC'
   12933 	    ;;
   12934 	  *)
   12935 	    ;;
   12936 	esac
   12937 	;;
   12938       sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   12939 	case $cc_basename in
   12940 	  CC*)
   12941 	    lt_prog_compiler_wl_CXX='-Wl,'
   12942 	    lt_prog_compiler_pic_CXX='-KPIC'
   12943 	    lt_prog_compiler_static_CXX='-Bstatic'
   12944 	    ;;
   12945 	esac
   12946 	;;
   12947       vxworks*)
   12948 	;;
   12949       *)
   12950 	lt_prog_compiler_can_build_shared_CXX=no
   12951 	;;
   12952     esac
   12953   fi
   12954 
   12955 { $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
   12956 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
   12957 
   12958 #
   12959 # Check to make sure the PIC flag actually works.
   12960 #
   12961 if test -n "$lt_prog_compiler_pic_CXX"; then
   12962 
   12963 { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
   12964 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
   12965 if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then
   12966   $as_echo_n "(cached) " >&6
   12967 else
   12968   lt_cv_prog_compiler_pic_works_CXX=no
   12969   ac_outfile=conftest.$ac_objext
   12970    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   12971    lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
   12972    # Insert the option either (1) after the last *FLAGS variable, or
   12973    # (2) before a word containing "conftest.", or (3) at the end.
   12974    # Note that $ac_compile itself does not contain backslashes and begins
   12975    # with a dollar sign (not a hyphen), so the echo should work correctly.
   12976    # The option is referenced via a variable to avoid confusing sed.
   12977    lt_compile=`echo "$ac_compile" | $SED \
   12978    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   12979    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   12980    -e 's:$: $lt_compiler_flag:'`
   12981    (eval echo "\"\$as_me:12981: $lt_compile\"" >&5)
   12982    (eval "$lt_compile" 2>conftest.err)
   12983    ac_status=$?
   12984    cat conftest.err >&5
   12985    echo "$as_me:12985: \$? = $ac_status" >&5
   12986    if (exit $ac_status) && test -s "$ac_outfile"; then
   12987      # The compiler can only warn and ignore the option if not recognized
   12988      # So say no if there are warnings other than the usual output.
   12989      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   12990      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   12991      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   12992        lt_cv_prog_compiler_pic_works_CXX=yes
   12993      fi
   12994    fi
   12995    $rm conftest*
   12996 
   12997 fi
   12998 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
   12999 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
   13000 
   13001 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
   13002     case $lt_prog_compiler_pic_CXX in
   13003      "" | " "*) ;;
   13004      *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
   13005      esac
   13006 else
   13007     lt_prog_compiler_pic_CXX=
   13008      lt_prog_compiler_can_build_shared_CXX=no
   13009 fi
   13010 
   13011 fi
   13012 case $host_os in
   13013   # For platforms which do not support PIC, -DPIC is meaningless:
   13014   *djgpp*)
   13015     lt_prog_compiler_pic_CXX=
   13016     ;;
   13017   *)
   13018     lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
   13019     ;;
   13020 esac
   13021 
   13022 #
   13023 # Check to make sure the static flag actually works.
   13024 #
   13025 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
   13026 { $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   13027 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   13028 if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then
   13029   $as_echo_n "(cached) " >&6
   13030 else
   13031   lt_cv_prog_compiler_static_works_CXX=no
   13032    save_LDFLAGS="$LDFLAGS"
   13033    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   13034    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   13035    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   13036      # The linker can only warn and ignore the option if not recognized
   13037      # So say no if there are warnings
   13038      if test -s conftest.err; then
   13039        # Append any errors to the config.log.
   13040        cat conftest.err 1>&5
   13041        $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
   13042        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   13043        if diff conftest.exp conftest.er2 >/dev/null; then
   13044          lt_cv_prog_compiler_static_works_CXX=yes
   13045        fi
   13046      else
   13047        lt_cv_prog_compiler_static_works_CXX=yes
   13048      fi
   13049    fi
   13050    $rm -r conftest*
   13051    LDFLAGS="$save_LDFLAGS"
   13052 
   13053 fi
   13054 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_CXX" >&5
   13055 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
   13056 
   13057 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
   13058     :
   13059 else
   13060     lt_prog_compiler_static_CXX=
   13061 fi
   13062 
   13063 
   13064 { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
   13065 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   13066 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
   13067   $as_echo_n "(cached) " >&6
   13068 else
   13069   lt_cv_prog_compiler_c_o_CXX=no
   13070    $rm -r conftest 2>/dev/null
   13071    mkdir conftest
   13072    cd conftest
   13073    mkdir out
   13074    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   13075 
   13076    lt_compiler_flag="-o out/conftest2.$ac_objext"
   13077    # Insert the option either (1) after the last *FLAGS variable, or
   13078    # (2) before a word containing "conftest.", or (3) at the end.
   13079    # Note that $ac_compile itself does not contain backslashes and begins
   13080    # with a dollar sign (not a hyphen), so the echo should work correctly.
   13081    lt_compile=`echo "$ac_compile" | $SED \
   13082    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   13083    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   13084    -e 's:$: $lt_compiler_flag:'`
   13085    (eval echo "\"\$as_me:13085: $lt_compile\"" >&5)
   13086    (eval "$lt_compile" 2>out/conftest.err)
   13087    ac_status=$?
   13088    cat out/conftest.err >&5
   13089    echo "$as_me:13089: \$? = $ac_status" >&5
   13090    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   13091    then
   13092      # The compiler can only warn and ignore the option if not recognized
   13093      # So say no if there are warnings
   13094      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
   13095      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   13096      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   13097        lt_cv_prog_compiler_c_o_CXX=yes
   13098      fi
   13099    fi
   13100    chmod u+w . 2>&5
   13101    $rm conftest*
   13102    # SGI C++ compiler will create directory out/ii_files/ for
   13103    # template instantiation
   13104    test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
   13105    $rm out/* && rmdir out
   13106    cd ..
   13107    rmdir conftest
   13108    $rm conftest*
   13109 
   13110 fi
   13111 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
   13112 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
   13113 
   13114 
   13115 hard_links="nottested"
   13116 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
   13117   # do not overwrite the value of need_locks provided by the user
   13118   { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
   13119 $as_echo_n "checking if we can lock with hard links... " >&6; }
   13120   hard_links=yes
   13121   $rm conftest*
   13122   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   13123   touch conftest.a
   13124   ln conftest.a conftest.b 2>&5 || hard_links=no
   13125   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   13126   { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
   13127 $as_echo "$hard_links" >&6; }
   13128   if test "$hard_links" = no; then
   13129     { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   13130 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   13131     need_locks=warn
   13132   fi
   13133 else
   13134   need_locks=no
   13135 fi
   13136 
   13137 { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   13138 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   13139 
   13140   export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   13141   case $host_os in
   13142   aix[4-9]*)
   13143     # If we're using GNU nm, then we don't want the "-C" option.
   13144     # -C means demangle to AIX nm, but means don't demangle with GNU nm
   13145     if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
   13146       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'
   13147     else
   13148       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'
   13149     fi
   13150     ;;
   13151   pw32*)
   13152     export_symbols_cmds_CXX="$ltdll_cmds"
   13153   ;;
   13154   cygwin* | mingw*)
   13155     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'
   13156   ;;
   13157   *)
   13158     export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   13159   ;;
   13160   esac
   13161   exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   13162 
   13163 { $as_echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
   13164 $as_echo "$ld_shlibs_CXX" >&6; }
   13165 test "$ld_shlibs_CXX" = no && can_build_shared=no
   13166 
   13167 #
   13168 # Do we need to explicitly link libc?
   13169 #
   13170 case "x$archive_cmds_need_lc_CXX" in
   13171 x|xyes)
   13172   # Assume -lc should be added
   13173   archive_cmds_need_lc_CXX=yes
   13174 
   13175   if test "$enable_shared" = yes && test "$GCC" = yes; then
   13176     case $archive_cmds_CXX in
   13177     *'~'*)
   13178       # FIXME: we may have to deal with multi-command sequences.
   13179       ;;
   13180     '$CC '*)
   13181       # Test whether the compiler implicitly links with -lc since on some
   13182       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   13183       # to ld, don't add -lc before -lgcc.
   13184       { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
   13185 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
   13186       $rm conftest*
   13187       echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   13188 
   13189       if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   13190   (eval $ac_compile) 2>&5
   13191   ac_status=$?
   13192   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   13193   (exit $ac_status); } 2>conftest.err; then
   13194         soname=conftest
   13195         lib=conftest
   13196         libobjs=conftest.$ac_objext
   13197         deplibs=
   13198         wl=$lt_prog_compiler_wl_CXX
   13199 	pic_flag=$lt_prog_compiler_pic_CXX
   13200         compiler_flags=-v
   13201         linker_flags=-v
   13202         verstring=
   13203         output_objdir=.
   13204         libname=conftest
   13205         lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
   13206         allow_undefined_flag_CXX=
   13207         if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
   13208   (eval $archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
   13209   ac_status=$?
   13210   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   13211   (exit $ac_status); }
   13212         then
   13213 	  archive_cmds_need_lc_CXX=no
   13214         else
   13215 	  archive_cmds_need_lc_CXX=yes
   13216         fi
   13217         allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
   13218       else
   13219         cat conftest.err 1>&5
   13220       fi
   13221       $rm conftest*
   13222       { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
   13223 $as_echo "$archive_cmds_need_lc_CXX" >&6; }
   13224       ;;
   13225     esac
   13226   fi
   13227   ;;
   13228 esac
   13229 
   13230 { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
   13231 $as_echo_n "checking dynamic linker characteristics... " >&6; }
   13232 library_names_spec=
   13233 libname_spec='lib$name'
   13234 soname_spec=
   13235 shrext_cmds=".so"
   13236 postinstall_cmds=
   13237 postuninstall_cmds=
   13238 finish_cmds=
   13239 finish_eval=
   13240 shlibpath_var=
   13241 shlibpath_overrides_runpath=unknown
   13242 version_type=none
   13243 dynamic_linker="$host_os ld.so"
   13244 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   13245 
   13246 need_lib_prefix=unknown
   13247 hardcode_into_libs=no
   13248 
   13249 # when you set need_version to no, make sure it does not cause -set_version
   13250 # flags to be left without arguments
   13251 need_version=unknown
   13252 
   13253 case $host_os in
   13254 aix3*)
   13255   version_type=linux
   13256   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   13257   shlibpath_var=LIBPATH
   13258 
   13259   # AIX 3 has no versioning support, so we append a major version to the name.
   13260   soname_spec='${libname}${release}${shared_ext}$major'
   13261   ;;
   13262 
   13263 aix[4-9]*)
   13264   version_type=linux
   13265   need_lib_prefix=no
   13266   need_version=no
   13267   hardcode_into_libs=yes
   13268   if test "$host_cpu" = ia64; then
   13269     # AIX 5 supports IA64
   13270     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
   13271     shlibpath_var=LD_LIBRARY_PATH
   13272   else
   13273     # With GCC up to 2.95.x, collect2 would create an import file
   13274     # for dependence libraries.  The import file would start with
   13275     # the line `#! .'.  This would cause the generated library to
   13276     # depend on `.', always an invalid library.  This was fixed in
   13277     # development snapshots of GCC prior to 3.0.
   13278     case $host_os in
   13279       aix4 | aix4.[01] | aix4.[01].*)
   13280       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   13281 	   echo ' yes '
   13282 	   echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
   13283 	:
   13284       else
   13285 	can_build_shared=no
   13286       fi
   13287       ;;
   13288     esac
   13289     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
   13290     # soname into executable. Probably we can add versioning support to
   13291     # collect2, so additional links can be useful in future.
   13292     if test "$aix_use_runtimelinking" = yes; then
   13293       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   13294       # instead of lib<name>.a to let people know that these are not
   13295       # typical AIX shared libraries.
   13296       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13297     else
   13298       # We preserve .a as extension for shared libraries through AIX4.2
   13299       # and later when we are not doing run time linking.
   13300       library_names_spec='${libname}${release}.a $libname.a'
   13301       soname_spec='${libname}${release}${shared_ext}$major'
   13302     fi
   13303     shlibpath_var=LIBPATH
   13304   fi
   13305   ;;
   13306 
   13307 amigaos*)
   13308   library_names_spec='$libname.ixlibrary $libname.a'
   13309   # Create ${libname}_ixlibrary.a entries in /sys/libs.
   13310   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'
   13311   ;;
   13312 
   13313 beos*)
   13314   library_names_spec='${libname}${shared_ext}'
   13315   dynamic_linker="$host_os ld.so"
   13316   shlibpath_var=LIBRARY_PATH
   13317   ;;
   13318 
   13319 bsdi[45]*)
   13320   version_type=linux
   13321   need_version=no
   13322   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13323   soname_spec='${libname}${release}${shared_ext}$major'
   13324   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   13325   shlibpath_var=LD_LIBRARY_PATH
   13326   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   13327   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   13328   # the default ld.so.conf also contains /usr/contrib/lib and
   13329   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   13330   # libtool to hard-code these into programs
   13331   ;;
   13332 
   13333 cygwin* | mingw* | pw32*)
   13334   version_type=windows
   13335   shrext_cmds=".dll"
   13336   need_version=no
   13337   need_lib_prefix=no
   13338 
   13339   case $GCC,$host_os in
   13340   yes,cygwin* | yes,mingw* | yes,pw32*)
   13341     library_names_spec='$libname.dll.a'
   13342     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   13343     postinstall_cmds='base_file=`basename \${file}`~
   13344       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
   13345       dldir=$destdir/`dirname \$dlpath`~
   13346       test -d \$dldir || mkdir -p \$dldir~
   13347       $install_prog $dir/$dlname \$dldir/$dlname~
   13348       chmod a+x \$dldir/$dlname'
   13349     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   13350       dlpath=$dir/\$dldll~
   13351        $rm \$dlpath'
   13352     shlibpath_overrides_runpath=yes
   13353 
   13354     case $host_os in
   13355     cygwin*)
   13356       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   13357       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   13358       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
   13359       ;;
   13360     mingw*)
   13361       # MinGW DLLs use traditional 'lib' prefix
   13362       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   13363       sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   13364       if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
   13365         # It is most probably a Windows format PATH printed by
   13366         # mingw gcc, but we are running on Cygwin. Gcc prints its search
   13367         # path with ; separators, and with drive letters. We can handle the
   13368         # drive letters (cygwin fileutils understands them), so leave them,
   13369         # especially as we might pass files found there to a mingw objdump,
   13370         # which wouldn't understand a cygwinified path. Ahh.
   13371         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   13372       else
   13373         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   13374       fi
   13375       ;;
   13376     pw32*)
   13377       # pw32 DLLs use 'pw' prefix rather than 'lib'
   13378       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   13379       ;;
   13380     esac
   13381     ;;
   13382 
   13383   *)
   13384     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
   13385     ;;
   13386   esac
   13387   dynamic_linker='Win32 ld.exe'
   13388   # FIXME: first we should search . and the directory the executable is in
   13389   shlibpath_var=PATH
   13390   ;;
   13391 
   13392 darwin* | rhapsody*)
   13393   dynamic_linker="$host_os dyld"
   13394   version_type=darwin
   13395   need_lib_prefix=no
   13396   need_version=no
   13397   library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
   13398   soname_spec='${libname}${release}${major}$shared_ext'
   13399   shlibpath_overrides_runpath=yes
   13400   shlibpath_var=DYLD_LIBRARY_PATH
   13401   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   13402 
   13403   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   13404   ;;
   13405 
   13406 dgux*)
   13407   version_type=linux
   13408   need_lib_prefix=no
   13409   need_version=no
   13410   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
   13411   soname_spec='${libname}${release}${shared_ext}$major'
   13412   shlibpath_var=LD_LIBRARY_PATH
   13413   ;;
   13414 
   13415 freebsd1*)
   13416   dynamic_linker=no
   13417   ;;
   13418 
   13419 freebsd* | dragonfly*)
   13420   # DragonFly does not have aout.  When/if they implement a new
   13421   # versioning mechanism, adjust this.
   13422   if test -x /usr/bin/objformat; then
   13423     objformat=`/usr/bin/objformat`
   13424   else
   13425     case $host_os in
   13426     freebsd[123]*) objformat=aout ;;
   13427     *) objformat=elf ;;
   13428     esac
   13429   fi
   13430   version_type=freebsd-$objformat
   13431   case $version_type in
   13432     freebsd-elf*)
   13433       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   13434       need_version=no
   13435       need_lib_prefix=no
   13436       ;;
   13437     freebsd-*)
   13438       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
   13439       need_version=yes
   13440       ;;
   13441   esac
   13442   shlibpath_var=LD_LIBRARY_PATH
   13443   case $host_os in
   13444   freebsd2*)
   13445     shlibpath_overrides_runpath=yes
   13446     ;;
   13447   freebsd3.[01]* | freebsdelf3.[01]*)
   13448     shlibpath_overrides_runpath=yes
   13449     hardcode_into_libs=yes
   13450     ;;
   13451   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   13452   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   13453     shlibpath_overrides_runpath=no
   13454     hardcode_into_libs=yes
   13455     ;;
   13456   *) # from 4.6 on, and DragonFly
   13457     shlibpath_overrides_runpath=yes
   13458     hardcode_into_libs=yes
   13459     ;;
   13460   esac
   13461   ;;
   13462 
   13463 gnu*)
   13464   version_type=linux
   13465   need_lib_prefix=no
   13466   need_version=no
   13467   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   13468   soname_spec='${libname}${release}${shared_ext}$major'
   13469   shlibpath_var=LD_LIBRARY_PATH
   13470   hardcode_into_libs=yes
   13471   ;;
   13472 
   13473 hpux9* | hpux10* | hpux11*)
   13474   # Give a soname corresponding to the major version so that dld.sl refuses to
   13475   # link against other versions.
   13476   version_type=sunos
   13477   need_lib_prefix=no
   13478   need_version=no
   13479   case $host_cpu in
   13480   ia64*)
   13481     shrext_cmds='.so'
   13482     hardcode_into_libs=yes
   13483     dynamic_linker="$host_os dld.so"
   13484     shlibpath_var=LD_LIBRARY_PATH
   13485     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   13486     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13487     soname_spec='${libname}${release}${shared_ext}$major'
   13488     if test "X$HPUX_IA64_MODE" = X32; then
   13489       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   13490     else
   13491       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   13492     fi
   13493     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   13494     ;;
   13495    hppa*64*)
   13496      shrext_cmds='.sl'
   13497      hardcode_into_libs=yes
   13498      dynamic_linker="$host_os dld.sl"
   13499      shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   13500      shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   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      sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   13504      sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   13505      ;;
   13506    *)
   13507     shrext_cmds='.sl'
   13508     dynamic_linker="$host_os dld.sl"
   13509     shlibpath_var=SHLIB_PATH
   13510     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   13511     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13512     soname_spec='${libname}${release}${shared_ext}$major'
   13513     ;;
   13514   esac
   13515   # HP-UX runs *really* slowly unless shared libraries are mode 555.
   13516   postinstall_cmds='chmod 555 $lib'
   13517   ;;
   13518 
   13519 interix[3-9]*)
   13520   version_type=linux
   13521   need_lib_prefix=no
   13522   need_version=no
   13523   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   13524   soname_spec='${libname}${release}${shared_ext}$major'
   13525   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   13526   shlibpath_var=LD_LIBRARY_PATH
   13527   shlibpath_overrides_runpath=no
   13528   hardcode_into_libs=yes
   13529   ;;
   13530 
   13531 irix5* | irix6* | nonstopux*)
   13532   case $host_os in
   13533     nonstopux*) version_type=nonstopux ;;
   13534     *)
   13535 	if test "$lt_cv_prog_gnu_ld" = yes; then
   13536 		version_type=linux
   13537 	else
   13538 		version_type=irix
   13539 	fi ;;
   13540   esac
   13541   need_lib_prefix=no
   13542   need_version=no
   13543   soname_spec='${libname}${release}${shared_ext}$major'
   13544   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
   13545   case $host_os in
   13546   irix5* | nonstopux*)
   13547     libsuff= shlibsuff=
   13548     ;;
   13549   *)
   13550     case $LD in # libtool.m4 will add one of these switches to LD
   13551     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   13552       libsuff= shlibsuff= libmagic=32-bit;;
   13553     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   13554       libsuff=32 shlibsuff=N32 libmagic=N32;;
   13555     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   13556       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   13557     *) libsuff= shlibsuff= libmagic=never-match;;
   13558     esac
   13559     ;;
   13560   esac
   13561   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   13562   shlibpath_overrides_runpath=no
   13563   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   13564   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   13565   hardcode_into_libs=yes
   13566   ;;
   13567 
   13568 # No shared lib support for Linux oldld, aout, or coff.
   13569 linux*oldld* | linux*aout* | linux*coff*)
   13570   dynamic_linker=no
   13571   ;;
   13572 
   13573 # This must be Linux ELF.
   13574 linux* | k*bsd*-gnu)
   13575   version_type=linux
   13576   need_lib_prefix=no
   13577   need_version=no
   13578   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13579   soname_spec='${libname}${release}${shared_ext}$major'
   13580   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   13581   shlibpath_var=LD_LIBRARY_PATH
   13582   shlibpath_overrides_runpath=no
   13583   # This implies no fast_install, which is unacceptable.
   13584   # Some rework will be needed to allow for fast_install
   13585   # before this can be enabled.
   13586   hardcode_into_libs=yes
   13587 
   13588   # Append ld.so.conf contents to the search path
   13589   if test -f /etc/ld.so.conf; then
   13590     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' ' '`
   13591     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   13592   fi
   13593 
   13594   # We used to test for /lib/ld.so.1 and disable shared libraries on
   13595   # powerpc, because MkLinux only supported shared libraries with the
   13596   # GNU dynamic linker.  Since this was broken with cross compilers,
   13597   # most powerpc-linux boxes support dynamic linking these days and
   13598   # people can always --disable-shared, the test was removed, and we
   13599   # assume the GNU/Linux dynamic linker is in use.
   13600   dynamic_linker='GNU/Linux ld.so'
   13601   ;;
   13602 
   13603 netbsd*)
   13604   version_type=sunos
   13605   need_lib_prefix=no
   13606   need_version=no
   13607   if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   13608     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   13609     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   13610     dynamic_linker='NetBSD (a.out) ld.so'
   13611   else
   13612     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   13613     soname_spec='${libname}${release}${shared_ext}$major'
   13614     dynamic_linker='NetBSD ld.elf_so'
   13615   fi
   13616   shlibpath_var=LD_LIBRARY_PATH
   13617   shlibpath_overrides_runpath=yes
   13618   hardcode_into_libs=yes
   13619   ;;
   13620 
   13621 newsos6)
   13622   version_type=linux
   13623   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13624   shlibpath_var=LD_LIBRARY_PATH
   13625   shlibpath_overrides_runpath=yes
   13626   ;;
   13627 
   13628 nto-qnx*)
   13629   version_type=linux
   13630   need_lib_prefix=no
   13631   need_version=no
   13632   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13633   soname_spec='${libname}${release}${shared_ext}$major'
   13634   shlibpath_var=LD_LIBRARY_PATH
   13635   shlibpath_overrides_runpath=yes
   13636   ;;
   13637 
   13638 openbsd*)
   13639   version_type=sunos
   13640   sys_lib_dlsearch_path_spec="/usr/lib"
   13641   need_lib_prefix=no
   13642   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
   13643   case $host_os in
   13644     openbsd3.3 | openbsd3.3.*) need_version=yes ;;
   13645     *)                         need_version=no  ;;
   13646   esac
   13647   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   13648   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   13649   shlibpath_var=LD_LIBRARY_PATH
   13650   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   13651     case $host_os in
   13652       openbsd2.[89] | openbsd2.[89].*)
   13653 	shlibpath_overrides_runpath=no
   13654 	;;
   13655       *)
   13656 	shlibpath_overrides_runpath=yes
   13657 	;;
   13658       esac
   13659   else
   13660     shlibpath_overrides_runpath=yes
   13661   fi
   13662   ;;
   13663 
   13664 os2*)
   13665   libname_spec='$name'
   13666   shrext_cmds=".dll"
   13667   need_lib_prefix=no
   13668   library_names_spec='$libname${shared_ext} $libname.a'
   13669   dynamic_linker='OS/2 ld.exe'
   13670   shlibpath_var=LIBPATH
   13671   ;;
   13672 
   13673 osf3* | osf4* | osf5*)
   13674   version_type=osf
   13675   need_lib_prefix=no
   13676   need_version=no
   13677   soname_spec='${libname}${release}${shared_ext}$major'
   13678   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13679   shlibpath_var=LD_LIBRARY_PATH
   13680   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   13681   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   13682   ;;
   13683 
   13684 rdos*)
   13685   dynamic_linker=no
   13686   ;;
   13687 
   13688 solaris*)
   13689   version_type=linux
   13690   need_lib_prefix=no
   13691   need_version=no
   13692   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13693   soname_spec='${libname}${release}${shared_ext}$major'
   13694   shlibpath_var=LD_LIBRARY_PATH
   13695   shlibpath_overrides_runpath=yes
   13696   hardcode_into_libs=yes
   13697   # ldd complains unless libraries are executable
   13698   postinstall_cmds='chmod +x $lib'
   13699   ;;
   13700 
   13701 sunos4*)
   13702   version_type=sunos
   13703   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   13704   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   13705   shlibpath_var=LD_LIBRARY_PATH
   13706   shlibpath_overrides_runpath=yes
   13707   if test "$with_gnu_ld" = yes; then
   13708     need_lib_prefix=no
   13709   fi
   13710   need_version=yes
   13711   ;;
   13712 
   13713 sysv4 | sysv4.3*)
   13714   version_type=linux
   13715   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13716   soname_spec='${libname}${release}${shared_ext}$major'
   13717   shlibpath_var=LD_LIBRARY_PATH
   13718   case $host_vendor in
   13719     sni)
   13720       shlibpath_overrides_runpath=no
   13721       need_lib_prefix=no
   13722       export_dynamic_flag_spec='${wl}-Blargedynsym'
   13723       runpath_var=LD_RUN_PATH
   13724       ;;
   13725     siemens)
   13726       need_lib_prefix=no
   13727       ;;
   13728     motorola)
   13729       need_lib_prefix=no
   13730       need_version=no
   13731       shlibpath_overrides_runpath=no
   13732       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   13733       ;;
   13734   esac
   13735   ;;
   13736 
   13737 sysv4*MP*)
   13738   if test -d /usr/nec ;then
   13739     version_type=linux
   13740     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
   13741     soname_spec='$libname${shared_ext}.$major'
   13742     shlibpath_var=LD_LIBRARY_PATH
   13743   fi
   13744   ;;
   13745 
   13746 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   13747   version_type=freebsd-elf
   13748   need_lib_prefix=no
   13749   need_version=no
   13750   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   13751   soname_spec='${libname}${release}${shared_ext}$major'
   13752   shlibpath_var=LD_LIBRARY_PATH
   13753   hardcode_into_libs=yes
   13754   if test "$with_gnu_ld" = yes; then
   13755     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   13756     shlibpath_overrides_runpath=no
   13757   else
   13758     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   13759     shlibpath_overrides_runpath=yes
   13760     case $host_os in
   13761       sco3.2v5*)
   13762         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   13763 	;;
   13764     esac
   13765   fi
   13766   sys_lib_dlsearch_path_spec='/usr/lib'
   13767   ;;
   13768 
   13769 uts4*)
   13770   version_type=linux
   13771   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13772   soname_spec='${libname}${release}${shared_ext}$major'
   13773   shlibpath_var=LD_LIBRARY_PATH
   13774   ;;
   13775 
   13776 *)
   13777   dynamic_linker=no
   13778   ;;
   13779 esac
   13780 { $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
   13781 $as_echo "$dynamic_linker" >&6; }
   13782 test "$dynamic_linker" = no && can_build_shared=no
   13783 
   13784 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
   13785   $as_echo_n "(cached) " >&6
   13786 else
   13787   lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
   13788 fi
   13789 
   13790 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
   13791 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
   13792   $as_echo_n "(cached) " >&6
   13793 else
   13794   lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
   13795 fi
   13796 
   13797 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
   13798 
   13799 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   13800 if test "$GCC" = yes; then
   13801   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   13802 fi
   13803 
   13804 { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
   13805 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
   13806 hardcode_action_CXX=
   13807 if test -n "$hardcode_libdir_flag_spec_CXX" || \
   13808    test -n "$runpath_var_CXX" || \
   13809    test "X$hardcode_automatic_CXX" = "Xyes" ; then
   13810 
   13811   # We can hardcode non-existant directories.
   13812   if test "$hardcode_direct_CXX" != no &&
   13813      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   13814      # have to relink, otherwise we might link with an installed library
   13815      # when we should be linking with a yet-to-be-installed one
   13816      ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
   13817      test "$hardcode_minus_L_CXX" != no; then
   13818     # Linking always hardcodes the temporary library directory.
   13819     hardcode_action_CXX=relink
   13820   else
   13821     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   13822     hardcode_action_CXX=immediate
   13823   fi
   13824 else
   13825   # We cannot hardcode anything, or else we can only hardcode existing
   13826   # directories.
   13827   hardcode_action_CXX=unsupported
   13828 fi
   13829 { $as_echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
   13830 $as_echo "$hardcode_action_CXX" >&6; }
   13831 
   13832 if test "$hardcode_action_CXX" = relink; then
   13833   # Fast installation is not supported
   13834   enable_fast_install=no
   13835 elif test "$shlibpath_overrides_runpath" = yes ||
   13836      test "$enable_shared" = no; then
   13837   # Fast installation is not necessary
   13838   enable_fast_install=needless
   13839 fi
   13840 
   13841 
   13842 # The else clause should only fire when bootstrapping the
   13843 # libtool distribution, otherwise you forgot to ship ltmain.sh
   13844 # with your package, and you will get complaints that there are
   13845 # no rules to generate ltmain.sh.
   13846 if test -f "$ltmain"; then
   13847   # See if we are running on zsh, and set the options which allow our commands through
   13848   # without removal of \ escapes.
   13849   if test -n "${ZSH_VERSION+set}" ; then
   13850     setopt NO_GLOB_SUBST
   13851   fi
   13852   # Now quote all the things that may contain metacharacters while being
   13853   # careful not to overquote the AC_SUBSTed values.  We take copies of the
   13854   # variables and quote the copies for generation of the libtool script.
   13855   for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
   13856     SED SHELL STRIP \
   13857     libname_spec library_names_spec soname_spec extract_expsyms_cmds \
   13858     old_striplib striplib file_magic_cmd finish_cmds finish_eval \
   13859     deplibs_check_method reload_flag reload_cmds need_locks \
   13860     lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
   13861     lt_cv_sys_global_symbol_to_c_name_address \
   13862     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
   13863     old_postinstall_cmds old_postuninstall_cmds \
   13864     compiler_CXX \
   13865     CC_CXX \
   13866     LD_CXX \
   13867     lt_prog_compiler_wl_CXX \
   13868     lt_prog_compiler_pic_CXX \
   13869     lt_prog_compiler_static_CXX \
   13870     lt_prog_compiler_no_builtin_flag_CXX \
   13871     export_dynamic_flag_spec_CXX \
   13872     thread_safe_flag_spec_CXX \
   13873     whole_archive_flag_spec_CXX \
   13874     enable_shared_with_static_runtimes_CXX \
   13875     old_archive_cmds_CXX \
   13876     old_archive_from_new_cmds_CXX \
   13877     predep_objects_CXX \
   13878     postdep_objects_CXX \
   13879     predeps_CXX \
   13880     postdeps_CXX \
   13881     compiler_lib_search_path_CXX \
   13882     compiler_lib_search_dirs_CXX \
   13883     archive_cmds_CXX \
   13884     archive_expsym_cmds_CXX \
   13885     postinstall_cmds_CXX \
   13886     postuninstall_cmds_CXX \
   13887     old_archive_from_expsyms_cmds_CXX \
   13888     allow_undefined_flag_CXX \
   13889     no_undefined_flag_CXX \
   13890     export_symbols_cmds_CXX \
   13891     hardcode_libdir_flag_spec_CXX \
   13892     hardcode_libdir_flag_spec_ld_CXX \
   13893     hardcode_libdir_separator_CXX \
   13894     hardcode_automatic_CXX \
   13895     module_cmds_CXX \
   13896     module_expsym_cmds_CXX \
   13897     lt_cv_prog_compiler_c_o_CXX \
   13898     fix_srcfile_path_CXX \
   13899     exclude_expsyms_CXX \
   13900     include_expsyms_CXX; do
   13901 
   13902     case $var in
   13903     old_archive_cmds_CXX | \
   13904     old_archive_from_new_cmds_CXX | \
   13905     archive_cmds_CXX | \
   13906     archive_expsym_cmds_CXX | \
   13907     module_cmds_CXX | \
   13908     module_expsym_cmds_CXX | \
   13909     old_archive_from_expsyms_cmds_CXX | \
   13910     export_symbols_cmds_CXX | \
   13911     extract_expsyms_cmds | reload_cmds | finish_cmds | \
   13912     postinstall_cmds | postuninstall_cmds | \
   13913     old_postinstall_cmds | old_postuninstall_cmds | \
   13914     sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
   13915       # Double-quote double-evaled strings.
   13916       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
   13917       ;;
   13918     *)
   13919       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
   13920       ;;
   13921     esac
   13922   done
   13923 
   13924   case $lt_echo in
   13925   *'\$0 --fallback-echo"')
   13926     lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
   13927     ;;
   13928   esac
   13929 
   13930 cfgfile="$ofile"
   13931 
   13932   cat <<__EOF__ >> "$cfgfile"
   13933 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
   13934 
   13935 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   13936 
   13937 # Shell to use when invoking shell scripts.
   13938 SHELL=$lt_SHELL
   13939 
   13940 # Whether or not to build shared libraries.
   13941 build_libtool_libs=$enable_shared
   13942 
   13943 # Whether or not to build static libraries.
   13944 build_old_libs=$enable_static
   13945 
   13946 # Whether or not to add -lc for building shared libraries.
   13947 build_libtool_need_lc=$archive_cmds_need_lc_CXX
   13948 
   13949 # Whether or not to disallow shared libs when runtime libs are static
   13950 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
   13951 
   13952 # Whether or not to optimize for fast installation.
   13953 fast_install=$enable_fast_install
   13954 
   13955 # The host system.
   13956 host_alias=$host_alias
   13957 host=$host
   13958 host_os=$host_os
   13959 
   13960 # The build system.
   13961 build_alias=$build_alias
   13962 build=$build
   13963 build_os=$build_os
   13964 
   13965 # An echo program that does not interpret backslashes.
   13966 echo=$lt_echo
   13967 
   13968 # The archiver.
   13969 AR=$lt_AR
   13970 AR_FLAGS=$lt_AR_FLAGS
   13971 
   13972 # A C compiler.
   13973 LTCC=$lt_LTCC
   13974 
   13975 # LTCC compiler flags.
   13976 LTCFLAGS=$lt_LTCFLAGS
   13977 
   13978 # A language-specific compiler.
   13979 CC=$lt_compiler_CXX
   13980 
   13981 # Is the compiler the GNU C compiler?
   13982 with_gcc=$GCC_CXX
   13983 
   13984 # An ERE matcher.
   13985 EGREP=$lt_EGREP
   13986 
   13987 # The linker used to build libraries.
   13988 LD=$lt_LD_CXX
   13989 
   13990 # Whether we need hard or soft links.
   13991 LN_S=$lt_LN_S
   13992 
   13993 # A BSD-compatible nm program.
   13994 NM=$lt_NM
   13995 
   13996 # A symbol stripping program
   13997 STRIP=$lt_STRIP
   13998 
   13999 # Used to examine libraries when file_magic_cmd begins "file"
   14000 MAGIC_CMD=$MAGIC_CMD
   14001 
   14002 # Used on cygwin: DLL creation program.
   14003 DLLTOOL="$DLLTOOL"
   14004 
   14005 # Used on cygwin: object dumper.
   14006 OBJDUMP="$OBJDUMP"
   14007 
   14008 # Used on cygwin: assembler.
   14009 AS="$AS"
   14010 
   14011 # The name of the directory that contains temporary libtool files.
   14012 objdir=$objdir
   14013 
   14014 # How to create reloadable object files.
   14015 reload_flag=$lt_reload_flag
   14016 reload_cmds=$lt_reload_cmds
   14017 
   14018 # How to pass a linker flag through the compiler.
   14019 wl=$lt_lt_prog_compiler_wl_CXX
   14020 
   14021 # Object file suffix (normally "o").
   14022 objext="$ac_objext"
   14023 
   14024 # Old archive suffix (normally "a").
   14025 libext="$libext"
   14026 
   14027 # Shared library suffix (normally ".so").
   14028 shrext_cmds='$shrext_cmds'
   14029 
   14030 # Executable file suffix (normally "").
   14031 exeext="$exeext"
   14032 
   14033 # Additional compiler flags for building library objects.
   14034 pic_flag=$lt_lt_prog_compiler_pic_CXX
   14035 pic_mode=$pic_mode
   14036 
   14037 # What is the maximum length of a command?
   14038 max_cmd_len=$lt_cv_sys_max_cmd_len
   14039 
   14040 # Does compiler simultaneously support -c and -o options?
   14041 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
   14042 
   14043 # Must we lock files when doing compilation?
   14044 need_locks=$lt_need_locks
   14045 
   14046 # Do we need the lib prefix for modules?
   14047 need_lib_prefix=$need_lib_prefix
   14048 
   14049 # Do we need a version for libraries?
   14050 need_version=$need_version
   14051 
   14052 # Whether dlopen is supported.
   14053 dlopen_support=$enable_dlopen
   14054 
   14055 # Whether dlopen of programs is supported.
   14056 dlopen_self=$enable_dlopen_self
   14057 
   14058 # Whether dlopen of statically linked programs is supported.
   14059 dlopen_self_static=$enable_dlopen_self_static
   14060 
   14061 # Compiler flag to prevent dynamic linking.
   14062 link_static_flag=$lt_lt_prog_compiler_static_CXX
   14063 
   14064 # Compiler flag to turn off builtin functions.
   14065 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
   14066 
   14067 # Compiler flag to allow reflexive dlopens.
   14068 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
   14069 
   14070 # Compiler flag to generate shared objects directly from archives.
   14071 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
   14072 
   14073 # Compiler flag to generate thread-safe objects.
   14074 thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
   14075 
   14076 # Library versioning type.
   14077 version_type=$version_type
   14078 
   14079 # Format of library name prefix.
   14080 libname_spec=$lt_libname_spec
   14081 
   14082 # List of archive names.  First name is the real one, the rest are links.
   14083 # The last name is the one that the linker finds with -lNAME.
   14084 library_names_spec=$lt_library_names_spec
   14085 
   14086 # The coded name of the library, if different from the real name.
   14087 soname_spec=$lt_soname_spec
   14088 
   14089 # Commands used to build and install an old-style archive.
   14090 RANLIB=$lt_RANLIB
   14091 old_archive_cmds=$lt_old_archive_cmds_CXX
   14092 old_postinstall_cmds=$lt_old_postinstall_cmds
   14093 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   14094 
   14095 # Create an old-style archive from a shared archive.
   14096 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
   14097 
   14098 # Create a temporary old-style archive to link instead of a shared archive.
   14099 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
   14100 
   14101 # Commands used to build and install a shared archive.
   14102 archive_cmds=$lt_archive_cmds_CXX
   14103 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
   14104 postinstall_cmds=$lt_postinstall_cmds
   14105 postuninstall_cmds=$lt_postuninstall_cmds
   14106 
   14107 # Commands used to build a loadable module (assumed same as above if empty)
   14108 module_cmds=$lt_module_cmds_CXX
   14109 module_expsym_cmds=$lt_module_expsym_cmds_CXX
   14110 
   14111 # Commands to strip libraries.
   14112 old_striplib=$lt_old_striplib
   14113 striplib=$lt_striplib
   14114 
   14115 # Dependencies to place before the objects being linked to create a
   14116 # shared library.
   14117 predep_objects=$lt_predep_objects_CXX
   14118 
   14119 # Dependencies to place after the objects being linked to create a
   14120 # shared library.
   14121 postdep_objects=$lt_postdep_objects_CXX
   14122 
   14123 # Dependencies to place before the objects being linked to create a
   14124 # shared library.
   14125 predeps=$lt_predeps_CXX
   14126 
   14127 # Dependencies to place after the objects being linked to create a
   14128 # shared library.
   14129 postdeps=$lt_postdeps_CXX
   14130 
   14131 # The directories searched by this compiler when creating a shared
   14132 # library
   14133 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
   14134 
   14135 # The library search path used internally by the compiler when linking
   14136 # a shared library.
   14137 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
   14138 
   14139 # Method to check whether dependent libraries are shared objects.
   14140 deplibs_check_method=$lt_deplibs_check_method
   14141 
   14142 # Command to use when deplibs_check_method == file_magic.
   14143 file_magic_cmd=$lt_file_magic_cmd
   14144 
   14145 # Flag that allows shared libraries with undefined symbols to be built.
   14146 allow_undefined_flag=$lt_allow_undefined_flag_CXX
   14147 
   14148 # Flag that forces no undefined symbols.
   14149 no_undefined_flag=$lt_no_undefined_flag_CXX
   14150 
   14151 # Commands used to finish a libtool library installation in a directory.
   14152 finish_cmds=$lt_finish_cmds
   14153 
   14154 # Same as above, but a single script fragment to be evaled but not shown.
   14155 finish_eval=$lt_finish_eval
   14156 
   14157 # Take the output of nm and produce a listing of raw symbols and C names.
   14158 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   14159 
   14160 # Transform the output of nm in a proper C declaration
   14161 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   14162 
   14163 # Transform the output of nm in a C name address pair
   14164 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   14165 
   14166 # This is the shared library runtime path variable.
   14167 runpath_var=$runpath_var
   14168 
   14169 # This is the shared library path variable.
   14170 shlibpath_var=$shlibpath_var
   14171 
   14172 # Is shlibpath searched before the hard-coded library search path?
   14173 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   14174 
   14175 # How to hardcode a shared library path into an executable.
   14176 hardcode_action=$hardcode_action_CXX
   14177 
   14178 # Whether we should hardcode library paths into libraries.
   14179 hardcode_into_libs=$hardcode_into_libs
   14180 
   14181 # Flag to hardcode \$libdir into a binary during linking.
   14182 # This must work even if \$libdir does not exist.
   14183 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
   14184 
   14185 # If ld is used when linking, flag to hardcode \$libdir into
   14186 # a binary during linking. This must work even if \$libdir does
   14187 # not exist.
   14188 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
   14189 
   14190 # Whether we need a single -rpath flag with a separated argument.
   14191 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
   14192 
   14193 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
   14194 # resulting binary.
   14195 hardcode_direct=$hardcode_direct_CXX
   14196 
   14197 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
   14198 # resulting binary.
   14199 hardcode_minus_L=$hardcode_minus_L_CXX
   14200 
   14201 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
   14202 # the resulting binary.
   14203 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
   14204 
   14205 # Set to yes if building a shared library automatically hardcodes DIR into the library
   14206 # and all subsequent libraries and executables linked against it.
   14207 hardcode_automatic=$hardcode_automatic_CXX
   14208 
   14209 # Variables whose values should be saved in libtool wrapper scripts and
   14210 # restored at relink time.
   14211 variables_saved_for_relink="$variables_saved_for_relink"
   14212 
   14213 # Whether libtool must link a program against all its dependency libraries.
   14214 link_all_deplibs=$link_all_deplibs_CXX
   14215 
   14216 # Compile-time system search path for libraries
   14217 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   14218 
   14219 # Run-time system search path for libraries
   14220 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   14221 
   14222 # Fix the shell variable \$srcfile for the compiler.
   14223 fix_srcfile_path=$lt_fix_srcfile_path
   14224 
   14225 # Set to yes if exported symbols are required.
   14226 always_export_symbols=$always_export_symbols_CXX
   14227 
   14228 # The commands to list exported symbols.
   14229 export_symbols_cmds=$lt_export_symbols_cmds_CXX
   14230 
   14231 # The commands to extract the exported symbol list from a shared archive.
   14232 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   14233 
   14234 # Symbols that should not be listed in the preloaded symbols.
   14235 exclude_expsyms=$lt_exclude_expsyms_CXX
   14236 
   14237 # Symbols that must always be exported.
   14238 include_expsyms=$lt_include_expsyms_CXX
   14239 
   14240 # ### END LIBTOOL TAG CONFIG: $tagname
   14241 
   14242 __EOF__
   14243 
   14244 
   14245 else
   14246   # If there is no Makefile yet, we rely on a make rule to execute
   14247   # `config.status --recheck' to rerun these tests and create the
   14248   # libtool script then.
   14249   ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
   14250   if test -f "$ltmain_in"; then
   14251     test -f Makefile && make "$ltmain"
   14252   fi
   14253 fi
   14254 
   14255 
   14256 ac_ext=c
   14257 ac_cpp='$CPP $CPPFLAGS'
   14258 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   14259 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   14260 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   14261 
   14262 CC=$lt_save_CC
   14263 LDCXX=$LD
   14264 LD=$lt_save_LD
   14265 GCC=$lt_save_GCC
   14266 with_gnu_ldcxx=$with_gnu_ld
   14267 with_gnu_ld=$lt_save_with_gnu_ld
   14268 lt_cv_path_LDCXX=$lt_cv_path_LD
   14269 lt_cv_path_LD=$lt_save_path_LD
   14270 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
   14271 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
   14272 
   14273 	else
   14274 	  tagname=""
   14275 	fi
   14276 	;;
   14277 
   14278       F77)
   14279 	if test -n "$F77" && test "X$F77" != "Xno"; then
   14280 
   14281 ac_ext=f
   14282 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
   14283 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   14284 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
   14285 
   14286 
   14287 archive_cmds_need_lc_F77=no
   14288 allow_undefined_flag_F77=
   14289 always_export_symbols_F77=no
   14290 archive_expsym_cmds_F77=
   14291 export_dynamic_flag_spec_F77=
   14292 hardcode_direct_F77=no
   14293 hardcode_libdir_flag_spec_F77=
   14294 hardcode_libdir_flag_spec_ld_F77=
   14295 hardcode_libdir_separator_F77=
   14296 hardcode_minus_L_F77=no
   14297 hardcode_automatic_F77=no
   14298 module_cmds_F77=
   14299 module_expsym_cmds_F77=
   14300 link_all_deplibs_F77=unknown
   14301 old_archive_cmds_F77=$old_archive_cmds
   14302 no_undefined_flag_F77=
   14303 whole_archive_flag_spec_F77=
   14304 enable_shared_with_static_runtimes_F77=no
   14305 
   14306 # Source file extension for f77 test sources.
   14307 ac_ext=f
   14308 
   14309 # Object file extension for compiled f77 test sources.
   14310 objext=o
   14311 objext_F77=$objext
   14312 
   14313 # Code to be used in simple compile tests
   14314 lt_simple_compile_test_code="\
   14315       subroutine t
   14316       return
   14317       end
   14318 "
   14319 
   14320 # Code to be used in simple link tests
   14321 lt_simple_link_test_code="\
   14322       program t
   14323       end
   14324 "
   14325 
   14326 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
   14327 
   14328 # If no C compiler was specified, use CC.
   14329 LTCC=${LTCC-"$CC"}
   14330 
   14331 # If no C compiler flags were specified, use CFLAGS.
   14332 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   14333 
   14334 # Allow CC to be a program name with arguments.
   14335 compiler=$CC
   14336 
   14337 
   14338 # save warnings/boilerplate of simple test code
   14339 ac_outfile=conftest.$ac_objext
   14340 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   14341 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   14342 _lt_compiler_boilerplate=`cat conftest.err`
   14343 $rm conftest*
   14344 
   14345 ac_outfile=conftest.$ac_objext
   14346 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   14347 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   14348 _lt_linker_boilerplate=`cat conftest.err`
   14349 $rm -r conftest*
   14350 
   14351 
   14352 # Allow CC to be a program name with arguments.
   14353 lt_save_CC="$CC"
   14354 CC=${F77-"f77"}
   14355 compiler=$CC
   14356 compiler_F77=$CC
   14357 for cc_temp in $compiler""; do
   14358   case $cc_temp in
   14359     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   14360     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   14361     \-*) ;;
   14362     *) break;;
   14363   esac
   14364 done
   14365 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   14366 
   14367 
   14368 { $as_echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
   14369 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
   14370 { $as_echo "$as_me:$LINENO: result: $can_build_shared" >&5
   14371 $as_echo "$can_build_shared" >&6; }
   14372 
   14373 { $as_echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
   14374 $as_echo_n "checking whether to build shared libraries... " >&6; }
   14375 test "$can_build_shared" = "no" && enable_shared=no
   14376 
   14377 # On AIX, shared libraries and static libraries use the same namespace, and
   14378 # are all built from PIC.
   14379 case $host_os in
   14380 aix3*)
   14381   test "$enable_shared" = yes && enable_static=no
   14382   if test -n "$RANLIB"; then
   14383     archive_cmds="$archive_cmds~\$RANLIB \$lib"
   14384     postinstall_cmds='$RANLIB $lib'
   14385   fi
   14386   ;;
   14387 aix[4-9]*)
   14388   if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
   14389     test "$enable_shared" = yes && enable_static=no
   14390   fi
   14391   ;;
   14392 esac
   14393 { $as_echo "$as_me:$LINENO: result: $enable_shared" >&5
   14394 $as_echo "$enable_shared" >&6; }
   14395 
   14396 { $as_echo "$as_me:$LINENO: checking whether to build static libraries" >&5
   14397 $as_echo_n "checking whether to build static libraries... " >&6; }
   14398 # Make sure either enable_shared or enable_static is yes.
   14399 test "$enable_shared" = yes || enable_static=yes
   14400 { $as_echo "$as_me:$LINENO: result: $enable_static" >&5
   14401 $as_echo "$enable_static" >&6; }
   14402 
   14403 GCC_F77="$G77"
   14404 LD_F77="$LD"
   14405 
   14406 lt_prog_compiler_wl_F77=
   14407 lt_prog_compiler_pic_F77=
   14408 lt_prog_compiler_static_F77=
   14409 
   14410 { $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
   14411 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
   14412 
   14413   if test "$GCC" = yes; then
   14414     lt_prog_compiler_wl_F77='-Wl,'
   14415     lt_prog_compiler_static_F77='-static'
   14416 
   14417     case $host_os in
   14418       aix*)
   14419       # All AIX code is PIC.
   14420       if test "$host_cpu" = ia64; then
   14421 	# AIX 5 now supports IA64 processor
   14422 	lt_prog_compiler_static_F77='-Bstatic'
   14423       fi
   14424       ;;
   14425 
   14426     amigaos*)
   14427       # FIXME: we need at least 68020 code to build shared libraries, but
   14428       # adding the `-m68020' flag to GCC prevents building anything better,
   14429       # like `-m68040'.
   14430       lt_prog_compiler_pic_F77='-m68020 -resident32 -malways-restore-a4'
   14431       ;;
   14432 
   14433     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   14434       # PIC is the default for these OSes.
   14435       ;;
   14436 
   14437     mingw* | cygwin* | pw32* | os2*)
   14438       # This hack is so that the source file can tell whether it is being
   14439       # built for inclusion in a dll (and should export symbols for example).
   14440       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   14441       # (--disable-auto-import) libraries
   14442       lt_prog_compiler_pic_F77='-DDLL_EXPORT'
   14443       ;;
   14444 
   14445     darwin* | rhapsody*)
   14446       # PIC is the default on this platform
   14447       # Common symbols not allowed in MH_DYLIB files
   14448       lt_prog_compiler_pic_F77='-fno-common'
   14449       ;;
   14450 
   14451     interix[3-9]*)
   14452       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   14453       # Instead, we relocate shared libraries at runtime.
   14454       ;;
   14455 
   14456     msdosdjgpp*)
   14457       # Just because we use GCC doesn't mean we suddenly get shared libraries
   14458       # on systems that don't support them.
   14459       lt_prog_compiler_can_build_shared_F77=no
   14460       enable_shared=no
   14461       ;;
   14462 
   14463     sysv4*MP*)
   14464       if test -d /usr/nec; then
   14465 	lt_prog_compiler_pic_F77=-Kconform_pic
   14466       fi
   14467       ;;
   14468 
   14469     hpux*)
   14470       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   14471       # not for PA HP-UX.
   14472       case $host_cpu in
   14473       hppa*64*|ia64*)
   14474 	# +Z the default
   14475 	;;
   14476       *)
   14477 	lt_prog_compiler_pic_F77='-fPIC'
   14478 	;;
   14479       esac
   14480       ;;
   14481 
   14482     *)
   14483       lt_prog_compiler_pic_F77='-fPIC'
   14484       ;;
   14485     esac
   14486   else
   14487     # PORTME Check for flag to pass linker flags through the system compiler.
   14488     case $host_os in
   14489     aix*)
   14490       lt_prog_compiler_wl_F77='-Wl,'
   14491       if test "$host_cpu" = ia64; then
   14492 	# AIX 5 now supports IA64 processor
   14493 	lt_prog_compiler_static_F77='-Bstatic'
   14494       else
   14495 	lt_prog_compiler_static_F77='-bnso -bI:/lib/syscalls.exp'
   14496       fi
   14497       ;;
   14498       darwin*)
   14499         # PIC is the default on this platform
   14500         # Common symbols not allowed in MH_DYLIB files
   14501        case $cc_basename in
   14502          xlc*)
   14503          lt_prog_compiler_pic_F77='-qnocommon'
   14504          lt_prog_compiler_wl_F77='-Wl,'
   14505          ;;
   14506        esac
   14507        ;;
   14508 
   14509     mingw* | cygwin* | pw32* | os2*)
   14510       # This hack is so that the source file can tell whether it is being
   14511       # built for inclusion in a dll (and should export symbols for example).
   14512       lt_prog_compiler_pic_F77='-DDLL_EXPORT'
   14513       ;;
   14514 
   14515     hpux9* | hpux10* | hpux11*)
   14516       lt_prog_compiler_wl_F77='-Wl,'
   14517       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   14518       # not for PA HP-UX.
   14519       case $host_cpu in
   14520       hppa*64*|ia64*)
   14521 	# +Z the default
   14522 	;;
   14523       *)
   14524 	lt_prog_compiler_pic_F77='+Z'
   14525 	;;
   14526       esac
   14527       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   14528       lt_prog_compiler_static_F77='${wl}-a ${wl}archive'
   14529       ;;
   14530 
   14531     irix5* | irix6* | nonstopux*)
   14532       lt_prog_compiler_wl_F77='-Wl,'
   14533       # PIC (with -KPIC) is the default.
   14534       lt_prog_compiler_static_F77='-non_shared'
   14535       ;;
   14536 
   14537     newsos6)
   14538       lt_prog_compiler_pic_F77='-KPIC'
   14539       lt_prog_compiler_static_F77='-Bstatic'
   14540       ;;
   14541 
   14542     linux* | k*bsd*-gnu)
   14543       case $cc_basename in
   14544       icc* | ecc*)
   14545 	lt_prog_compiler_wl_F77='-Wl,'
   14546 	lt_prog_compiler_pic_F77='-KPIC'
   14547 	lt_prog_compiler_static_F77='-static'
   14548         ;;
   14549       pgcc* | pgf77* | pgf90* | pgf95*)
   14550         # Portland Group compilers (*not* the Pentium gcc compiler,
   14551 	# which looks to be a dead project)
   14552 	lt_prog_compiler_wl_F77='-Wl,'
   14553 	lt_prog_compiler_pic_F77='-fpic'
   14554 	lt_prog_compiler_static_F77='-Bstatic'
   14555         ;;
   14556       ccc*)
   14557         lt_prog_compiler_wl_F77='-Wl,'
   14558         # All Alpha code is PIC.
   14559         lt_prog_compiler_static_F77='-non_shared'
   14560         ;;
   14561       *)
   14562         case `$CC -V 2>&1 | sed 5q` in
   14563 	*Sun\ C*)
   14564 	  # Sun C 5.9
   14565 	  lt_prog_compiler_pic_F77='-KPIC'
   14566 	  lt_prog_compiler_static_F77='-Bstatic'
   14567 	  lt_prog_compiler_wl_F77='-Wl,'
   14568 	  ;;
   14569 	*Sun\ F*)
   14570 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   14571 	  lt_prog_compiler_pic_F77='-KPIC'
   14572 	  lt_prog_compiler_static_F77='-Bstatic'
   14573 	  lt_prog_compiler_wl_F77=''
   14574 	  ;;
   14575 	esac
   14576 	;;
   14577       esac
   14578       ;;
   14579 
   14580     osf3* | osf4* | osf5*)
   14581       lt_prog_compiler_wl_F77='-Wl,'
   14582       # All OSF/1 code is PIC.
   14583       lt_prog_compiler_static_F77='-non_shared'
   14584       ;;
   14585 
   14586     rdos*)
   14587       lt_prog_compiler_static_F77='-non_shared'
   14588       ;;
   14589 
   14590     solaris*)
   14591       lt_prog_compiler_pic_F77='-KPIC'
   14592       lt_prog_compiler_static_F77='-Bstatic'
   14593       case $cc_basename in
   14594       f77* | f90* | f95*)
   14595 	lt_prog_compiler_wl_F77='-Qoption ld ';;
   14596       *)
   14597 	lt_prog_compiler_wl_F77='-Wl,';;
   14598       esac
   14599       ;;
   14600 
   14601     sunos4*)
   14602       lt_prog_compiler_wl_F77='-Qoption ld '
   14603       lt_prog_compiler_pic_F77='-PIC'
   14604       lt_prog_compiler_static_F77='-Bstatic'
   14605       ;;
   14606 
   14607     sysv4 | sysv4.2uw2* | sysv4.3*)
   14608       lt_prog_compiler_wl_F77='-Wl,'
   14609       lt_prog_compiler_pic_F77='-KPIC'
   14610       lt_prog_compiler_static_F77='-Bstatic'
   14611       ;;
   14612 
   14613     sysv4*MP*)
   14614       if test -d /usr/nec ;then
   14615 	lt_prog_compiler_pic_F77='-Kconform_pic'
   14616 	lt_prog_compiler_static_F77='-Bstatic'
   14617       fi
   14618       ;;
   14619 
   14620     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   14621       lt_prog_compiler_wl_F77='-Wl,'
   14622       lt_prog_compiler_pic_F77='-KPIC'
   14623       lt_prog_compiler_static_F77='-Bstatic'
   14624       ;;
   14625 
   14626     unicos*)
   14627       lt_prog_compiler_wl_F77='-Wl,'
   14628       lt_prog_compiler_can_build_shared_F77=no
   14629       ;;
   14630 
   14631     uts4*)
   14632       lt_prog_compiler_pic_F77='-pic'
   14633       lt_prog_compiler_static_F77='-Bstatic'
   14634       ;;
   14635 
   14636     *)
   14637       lt_prog_compiler_can_build_shared_F77=no
   14638       ;;
   14639     esac
   14640   fi
   14641 
   14642 { $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
   14643 $as_echo "$lt_prog_compiler_pic_F77" >&6; }
   14644 
   14645 #
   14646 # Check to make sure the PIC flag actually works.
   14647 #
   14648 if test -n "$lt_prog_compiler_pic_F77"; then
   14649 
   14650 { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
   14651 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... " >&6; }
   14652 if test "${lt_cv_prog_compiler_pic_works_F77+set}" = set; then
   14653   $as_echo_n "(cached) " >&6
   14654 else
   14655   lt_cv_prog_compiler_pic_works_F77=no
   14656   ac_outfile=conftest.$ac_objext
   14657    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   14658    lt_compiler_flag="$lt_prog_compiler_pic_F77"
   14659    # Insert the option either (1) after the last *FLAGS variable, or
   14660    # (2) before a word containing "conftest.", or (3) at the end.
   14661    # Note that $ac_compile itself does not contain backslashes and begins
   14662    # with a dollar sign (not a hyphen), so the echo should work correctly.
   14663    # The option is referenced via a variable to avoid confusing sed.
   14664    lt_compile=`echo "$ac_compile" | $SED \
   14665    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   14666    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   14667    -e 's:$: $lt_compiler_flag:'`
   14668    (eval echo "\"\$as_me:14668: $lt_compile\"" >&5)
   14669    (eval "$lt_compile" 2>conftest.err)
   14670    ac_status=$?
   14671    cat conftest.err >&5
   14672    echo "$as_me:14672: \$? = $ac_status" >&5
   14673    if (exit $ac_status) && test -s "$ac_outfile"; then
   14674      # The compiler can only warn and ignore the option if not recognized
   14675      # So say no if there are warnings other than the usual output.
   14676      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   14677      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   14678      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   14679        lt_cv_prog_compiler_pic_works_F77=yes
   14680      fi
   14681    fi
   14682    $rm conftest*
   14683 
   14684 fi
   14685 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_F77" >&5
   14686 $as_echo "$lt_cv_prog_compiler_pic_works_F77" >&6; }
   14687 
   14688 if test x"$lt_cv_prog_compiler_pic_works_F77" = xyes; then
   14689     case $lt_prog_compiler_pic_F77 in
   14690      "" | " "*) ;;
   14691      *) lt_prog_compiler_pic_F77=" $lt_prog_compiler_pic_F77" ;;
   14692      esac
   14693 else
   14694     lt_prog_compiler_pic_F77=
   14695      lt_prog_compiler_can_build_shared_F77=no
   14696 fi
   14697 
   14698 fi
   14699 case $host_os in
   14700   # For platforms which do not support PIC, -DPIC is meaningless:
   14701   *djgpp*)
   14702     lt_prog_compiler_pic_F77=
   14703     ;;
   14704   *)
   14705     lt_prog_compiler_pic_F77="$lt_prog_compiler_pic_F77"
   14706     ;;
   14707 esac
   14708 
   14709 #
   14710 # Check to make sure the static flag actually works.
   14711 #
   14712 wl=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag=\"$lt_prog_compiler_static_F77\"
   14713 { $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   14714 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   14715 if test "${lt_cv_prog_compiler_static_works_F77+set}" = set; then
   14716   $as_echo_n "(cached) " >&6
   14717 else
   14718   lt_cv_prog_compiler_static_works_F77=no
   14719    save_LDFLAGS="$LDFLAGS"
   14720    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   14721    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   14722    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   14723      # The linker can only warn and ignore the option if not recognized
   14724      # So say no if there are warnings
   14725      if test -s conftest.err; then
   14726        # Append any errors to the config.log.
   14727        cat conftest.err 1>&5
   14728        $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
   14729        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   14730        if diff conftest.exp conftest.er2 >/dev/null; then
   14731          lt_cv_prog_compiler_static_works_F77=yes
   14732        fi
   14733      else
   14734        lt_cv_prog_compiler_static_works_F77=yes
   14735      fi
   14736    fi
   14737    $rm -r conftest*
   14738    LDFLAGS="$save_LDFLAGS"
   14739 
   14740 fi
   14741 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_F77" >&5
   14742 $as_echo "$lt_cv_prog_compiler_static_works_F77" >&6; }
   14743 
   14744 if test x"$lt_cv_prog_compiler_static_works_F77" = xyes; then
   14745     :
   14746 else
   14747     lt_prog_compiler_static_F77=
   14748 fi
   14749 
   14750 
   14751 { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
   14752 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   14753 if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
   14754   $as_echo_n "(cached) " >&6
   14755 else
   14756   lt_cv_prog_compiler_c_o_F77=no
   14757    $rm -r conftest 2>/dev/null
   14758    mkdir conftest
   14759    cd conftest
   14760    mkdir out
   14761    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   14762 
   14763    lt_compiler_flag="-o out/conftest2.$ac_objext"
   14764    # Insert the option either (1) after the last *FLAGS variable, or
   14765    # (2) before a word containing "conftest.", or (3) at the end.
   14766    # Note that $ac_compile itself does not contain backslashes and begins
   14767    # with a dollar sign (not a hyphen), so the echo should work correctly.
   14768    lt_compile=`echo "$ac_compile" | $SED \
   14769    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   14770    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   14771    -e 's:$: $lt_compiler_flag:'`
   14772    (eval echo "\"\$as_me:14772: $lt_compile\"" >&5)
   14773    (eval "$lt_compile" 2>out/conftest.err)
   14774    ac_status=$?
   14775    cat out/conftest.err >&5
   14776    echo "$as_me:14776: \$? = $ac_status" >&5
   14777    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   14778    then
   14779      # The compiler can only warn and ignore the option if not recognized
   14780      # So say no if there are warnings
   14781      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
   14782      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   14783      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   14784        lt_cv_prog_compiler_c_o_F77=yes
   14785      fi
   14786    fi
   14787    chmod u+w . 2>&5
   14788    $rm conftest*
   14789    # SGI C++ compiler will create directory out/ii_files/ for
   14790    # template instantiation
   14791    test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
   14792    $rm out/* && rmdir out
   14793    cd ..
   14794    rmdir conftest
   14795    $rm conftest*
   14796 
   14797 fi
   14798 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
   14799 $as_echo "$lt_cv_prog_compiler_c_o_F77" >&6; }
   14800 
   14801 
   14802 hard_links="nottested"
   14803 if test "$lt_cv_prog_compiler_c_o_F77" = no && test "$need_locks" != no; then
   14804   # do not overwrite the value of need_locks provided by the user
   14805   { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
   14806 $as_echo_n "checking if we can lock with hard links... " >&6; }
   14807   hard_links=yes
   14808   $rm conftest*
   14809   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   14810   touch conftest.a
   14811   ln conftest.a conftest.b 2>&5 || hard_links=no
   14812   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   14813   { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
   14814 $as_echo "$hard_links" >&6; }
   14815   if test "$hard_links" = no; then
   14816     { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   14817 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   14818     need_locks=warn
   14819   fi
   14820 else
   14821   need_locks=no
   14822 fi
   14823 
   14824 { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   14825 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   14826 
   14827   runpath_var=
   14828   allow_undefined_flag_F77=
   14829   enable_shared_with_static_runtimes_F77=no
   14830   archive_cmds_F77=
   14831   archive_expsym_cmds_F77=
   14832   old_archive_From_new_cmds_F77=
   14833   old_archive_from_expsyms_cmds_F77=
   14834   export_dynamic_flag_spec_F77=
   14835   whole_archive_flag_spec_F77=
   14836   thread_safe_flag_spec_F77=
   14837   hardcode_libdir_flag_spec_F77=
   14838   hardcode_libdir_flag_spec_ld_F77=
   14839   hardcode_libdir_separator_F77=
   14840   hardcode_direct_F77=no
   14841   hardcode_minus_L_F77=no
   14842   hardcode_shlibpath_var_F77=unsupported
   14843   link_all_deplibs_F77=unknown
   14844   hardcode_automatic_F77=no
   14845   module_cmds_F77=
   14846   module_expsym_cmds_F77=
   14847   always_export_symbols_F77=no
   14848   export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   14849   # include_expsyms should be a list of space-separated symbols to be *always*
   14850   # included in the symbol list
   14851   include_expsyms_F77=
   14852   # exclude_expsyms can be an extended regexp of symbols to exclude
   14853   # it will be wrapped by ` (' and `)$', so one must not match beginning or
   14854   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
   14855   # as well as any symbol that contains `d'.
   14856   exclude_expsyms_F77='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   14857   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   14858   # platforms (ab)use it in PIC code, but their linkers get confused if
   14859   # the symbol is explicitly referenced.  Since portable code cannot
   14860   # rely on this symbol name, it's probably fine to never include it in
   14861   # preloaded symbol tables.
   14862   # Exclude shared library initialization/finalization symbols.
   14863   extract_expsyms_cmds=
   14864   # Just being paranoid about ensuring that cc_basename is set.
   14865   for cc_temp in $compiler""; do
   14866   case $cc_temp in
   14867     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   14868     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   14869     \-*) ;;
   14870     *) break;;
   14871   esac
   14872 done
   14873 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   14874 
   14875   case $host_os in
   14876   cygwin* | mingw* | pw32*)
   14877     # FIXME: the MSVC++ port hasn't been tested in a loooong time
   14878     # When not using gcc, we currently assume that we are using
   14879     # Microsoft Visual C++.
   14880     if test "$GCC" != yes; then
   14881       with_gnu_ld=no
   14882     fi
   14883     ;;
   14884   interix*)
   14885     # we just hope/assume this is gcc and not c89 (= MSVC++)
   14886     with_gnu_ld=yes
   14887     ;;
   14888   openbsd*)
   14889     with_gnu_ld=no
   14890     ;;
   14891   esac
   14892 
   14893   ld_shlibs_F77=yes
   14894   if test "$with_gnu_ld" = yes; then
   14895     # If archive_cmds runs LD, not CC, wlarc should be empty
   14896     wlarc='${wl}'
   14897 
   14898     # Set some defaults for GNU ld with shared library support. These
   14899     # are reset later if shared libraries are not supported. Putting them
   14900     # here allows them to be overridden if necessary.
   14901     runpath_var=LD_RUN_PATH
   14902     hardcode_libdir_flag_spec_F77='${wl}--rpath ${wl}$libdir'
   14903     export_dynamic_flag_spec_F77='${wl}--export-dynamic'
   14904     # ancient GNU ld didn't support --whole-archive et. al.
   14905     if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
   14906 	whole_archive_flag_spec_F77="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   14907       else
   14908   	whole_archive_flag_spec_F77=
   14909     fi
   14910     supports_anon_versioning=no
   14911     case `$LD -v 2>/dev/null` in
   14912       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   14913       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   14914       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   14915       *\ 2.11.*) ;; # other 2.11 versions
   14916       *) supports_anon_versioning=yes ;;
   14917     esac
   14918 
   14919     # See if GNU ld supports shared libraries.
   14920     case $host_os in
   14921     aix[3-9]*)
   14922       # On AIX/PPC, the GNU linker is very broken
   14923       if test "$host_cpu" != ia64; then
   14924 	ld_shlibs_F77=no
   14925 	cat <<EOF 1>&2
   14926 
   14927 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
   14928 *** to be unable to reliably create shared libraries on AIX.
   14929 *** Therefore, libtool is disabling shared libraries support.  If you
   14930 *** really care for shared libraries, you may want to modify your PATH
   14931 *** so that a non-GNU linker is found, and then restart.
   14932 
   14933 EOF
   14934       fi
   14935       ;;
   14936 
   14937     amigaos*)
   14938       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)'
   14939       hardcode_libdir_flag_spec_F77='-L$libdir'
   14940       hardcode_minus_L_F77=yes
   14941 
   14942       # Samuel A. Falvo II <kc5tja (at] dolphin.openprojects.net> reports
   14943       # that the semantics of dynamic libraries on AmigaOS, at least up
   14944       # to version 4, is to share data among multiple programs linked
   14945       # with the same dynamic library.  Since this doesn't match the
   14946       # behavior of shared libraries on other platforms, we can't use
   14947       # them.
   14948       ld_shlibs_F77=no
   14949       ;;
   14950 
   14951     beos*)
   14952       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   14953 	allow_undefined_flag_F77=unsupported
   14954 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   14955 	# support --undefined.  This deserves some investigation.  FIXME
   14956 	archive_cmds_F77='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   14957       else
   14958 	ld_shlibs_F77=no
   14959       fi
   14960       ;;
   14961 
   14962     cygwin* | mingw* | pw32*)
   14963       # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
   14964       # as there is no search path for DLLs.
   14965       hardcode_libdir_flag_spec_F77='-L$libdir'
   14966       allow_undefined_flag_F77=unsupported
   14967       always_export_symbols_F77=no
   14968       enable_shared_with_static_runtimes_F77=yes
   14969       export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
   14970 
   14971       if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
   14972         archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   14973 	# If the export-symbols file already is a .def file (1st line
   14974 	# is EXPORTS), use it as is; otherwise, prepend...
   14975 	archive_expsym_cmds_F77='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   14976 	  cp $export_symbols $output_objdir/$soname.def;
   14977 	else
   14978 	  echo EXPORTS > $output_objdir/$soname.def;
   14979 	  cat $export_symbols >> $output_objdir/$soname.def;
   14980 	fi~
   14981 	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   14982       else
   14983 	ld_shlibs_F77=no
   14984       fi
   14985       ;;
   14986 
   14987     interix[3-9]*)
   14988       hardcode_direct_F77=no
   14989       hardcode_shlibpath_var_F77=no
   14990       hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
   14991       export_dynamic_flag_spec_F77='${wl}-E'
   14992       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   14993       # Instead, shared libraries are loaded at an image base (0x10000000 by
   14994       # default) and relocated if they conflict, which is a slow very memory
   14995       # consuming and fragmenting process.  To avoid this, we pick a random,
   14996       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   14997       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   14998       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'
   14999       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'
   15000       ;;
   15001 
   15002     gnu* | linux* | k*bsd*-gnu)
   15003       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   15004 	tmp_addflag=
   15005 	case $cc_basename,$host_cpu in
   15006 	pgcc*)				# Portland Group C compiler
   15007 	  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'
   15008 	  tmp_addflag=' $pic_flag'
   15009 	  ;;
   15010 	pgf77* | pgf90* | pgf95*)	# Portland Group f77 and f90 compilers
   15011 	  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'
   15012 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   15013 	ecc*,ia64* | icc*,ia64*)		# Intel C compiler on ia64
   15014 	  tmp_addflag=' -i_dynamic' ;;
   15015 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   15016 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   15017 	ifc* | ifort*)			# Intel Fortran compiler
   15018 	  tmp_addflag=' -nofor_main' ;;
   15019 	esac
   15020 	case `$CC -V 2>&1 | sed 5q` in
   15021 	*Sun\ C*)			# Sun C 5.9
   15022 	  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'
   15023 	  tmp_sharedflag='-G' ;;
   15024 	*Sun\ F*)			# Sun Fortran 8.3
   15025 	  tmp_sharedflag='-G' ;;
   15026 	*)
   15027 	  tmp_sharedflag='-shared' ;;
   15028 	esac
   15029 	archive_cmds_F77='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   15030 
   15031 	if test $supports_anon_versioning = yes; then
   15032 	  archive_expsym_cmds_F77='$echo "{ global:" > $output_objdir/$libname.ver~
   15033   cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   15034   $echo "local: *; };" >> $output_objdir/$libname.ver~
   15035 	  $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
   15036 	fi
   15037       else
   15038 	ld_shlibs_F77=no
   15039       fi
   15040       ;;
   15041 
   15042     netbsd*)
   15043       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   15044 	archive_cmds_F77='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   15045 	wlarc=
   15046       else
   15047 	archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   15048 	archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   15049       fi
   15050       ;;
   15051 
   15052     solaris*)
   15053       if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
   15054 	ld_shlibs_F77=no
   15055 	cat <<EOF 1>&2
   15056 
   15057 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   15058 *** create shared libraries on Solaris systems.  Therefore, libtool
   15059 *** is disabling shared libraries support.  We urge you to upgrade GNU
   15060 *** binutils to release 2.9.1 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 EOF
   15065       elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   15066 	archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   15067 	archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   15068       else
   15069 	ld_shlibs_F77=no
   15070       fi
   15071       ;;
   15072 
   15073     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   15074       case `$LD -v 2>&1` in
   15075         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   15076 	ld_shlibs_F77=no
   15077 	cat <<_LT_EOF 1>&2
   15078 
   15079 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
   15080 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   15081 *** is disabling shared libraries support.  We urge you to upgrade GNU
   15082 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   15083 *** your PATH or compiler configuration so that the native linker is
   15084 *** used, and then restart.
   15085 
   15086 _LT_EOF
   15087 	;;
   15088 	*)
   15089 	  if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   15090 	    hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
   15091 	    archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
   15092 	    archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
   15093 	  else
   15094 	    ld_shlibs_F77=no
   15095 	  fi
   15096 	;;
   15097       esac
   15098       ;;
   15099 
   15100     sunos4*)
   15101       archive_cmds_F77='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   15102       wlarc=
   15103       hardcode_direct_F77=yes
   15104       hardcode_shlibpath_var_F77=no
   15105       ;;
   15106 
   15107     *)
   15108       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   15109 	archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   15110 	archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   15111       else
   15112 	ld_shlibs_F77=no
   15113       fi
   15114       ;;
   15115     esac
   15116 
   15117     if test "$ld_shlibs_F77" = no; then
   15118       runpath_var=
   15119       hardcode_libdir_flag_spec_F77=
   15120       export_dynamic_flag_spec_F77=
   15121       whole_archive_flag_spec_F77=
   15122     fi
   15123   else
   15124     # PORTME fill in a description of your system's linker (not GNU ld)
   15125     case $host_os in
   15126     aix3*)
   15127       allow_undefined_flag_F77=unsupported
   15128       always_export_symbols_F77=yes
   15129       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'
   15130       # Note: this linker hardcodes the directories in LIBPATH if there
   15131       # are no directories specified by -L.
   15132       hardcode_minus_L_F77=yes
   15133       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
   15134 	# Neither direct hardcoding nor static linking is supported with a
   15135 	# broken collect2.
   15136 	hardcode_direct_F77=unsupported
   15137       fi
   15138       ;;
   15139 
   15140     aix[4-9]*)
   15141       if test "$host_cpu" = ia64; then
   15142 	# On IA64, the linker does run time linking by default, so we don't
   15143 	# have to do anything special.
   15144 	aix_use_runtimelinking=no
   15145 	exp_sym_flag='-Bexport'
   15146 	no_entry_flag=""
   15147       else
   15148 	# If we're using GNU nm, then we don't want the "-C" option.
   15149 	# -C means demangle to AIX nm, but means don't demangle with GNU nm
   15150 	if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
   15151 	  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'
   15152 	else
   15153 	  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'
   15154 	fi
   15155 	aix_use_runtimelinking=no
   15156 
   15157 	# Test if we are trying to use run time linking or normal
   15158 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   15159 	# need to do runtime linking.
   15160 	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   15161 	  for ld_flag in $LDFLAGS; do
   15162   	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
   15163   	    aix_use_runtimelinking=yes
   15164   	    break
   15165   	  fi
   15166 	  done
   15167 	  ;;
   15168 	esac
   15169 
   15170 	exp_sym_flag='-bexport'
   15171 	no_entry_flag='-bnoentry'
   15172       fi
   15173 
   15174       # When large executables or shared objects are built, AIX ld can
   15175       # have problems creating the table of contents.  If linking a library
   15176       # or program results in "error TOC overflow" add -mminimal-toc to
   15177       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   15178       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   15179 
   15180       archive_cmds_F77=''
   15181       hardcode_direct_F77=yes
   15182       hardcode_libdir_separator_F77=':'
   15183       link_all_deplibs_F77=yes
   15184 
   15185       if test "$GCC" = yes; then
   15186 	case $host_os in aix4.[012]|aix4.[012].*)
   15187 	# We only want to do this on AIX 4.2 and lower, the check
   15188 	# below for broken collect2 doesn't work under 4.3+
   15189 	  collect2name=`${CC} -print-prog-name=collect2`
   15190 	  if test -f "$collect2name" && \
   15191   	   strings "$collect2name" | grep resolve_lib_name >/dev/null
   15192 	  then
   15193   	  # We have reworked collect2
   15194   	  :
   15195 	  else
   15196   	  # We have old collect2
   15197   	  hardcode_direct_F77=unsupported
   15198   	  # It fails to find uninstalled libraries when the uninstalled
   15199   	  # path is not listed in the libpath.  Setting hardcode_minus_L
   15200   	  # to unsupported forces relinking
   15201   	  hardcode_minus_L_F77=yes
   15202   	  hardcode_libdir_flag_spec_F77='-L$libdir'
   15203   	  hardcode_libdir_separator_F77=
   15204 	  fi
   15205 	  ;;
   15206 	esac
   15207 	shared_flag='-shared'
   15208 	if test "$aix_use_runtimelinking" = yes; then
   15209 	  shared_flag="$shared_flag "'${wl}-G'
   15210 	fi
   15211       else
   15212 	# not using gcc
   15213 	if test "$host_cpu" = ia64; then
   15214   	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   15215   	# chokes on -Wl,-G. The following line is correct:
   15216 	  shared_flag='-G'
   15217 	else
   15218 	  if test "$aix_use_runtimelinking" = yes; then
   15219 	    shared_flag='${wl}-G'
   15220 	  else
   15221 	    shared_flag='${wl}-bM:SRE'
   15222 	  fi
   15223 	fi
   15224       fi
   15225 
   15226       # It seems that -bexpall does not export symbols beginning with
   15227       # underscore (_), so it is better to generate a list of symbols to export.
   15228       always_export_symbols_F77=yes
   15229       if test "$aix_use_runtimelinking" = yes; then
   15230 	# Warning - without using the other runtime loading flags (-brtl),
   15231 	# -berok will link without error, but may produce a broken library.
   15232 	allow_undefined_flag_F77='-berok'
   15233        # Determine the default libpath from the value encoded in an empty executable.
   15234        cat >conftest.$ac_ext <<_ACEOF
   15235       program main
   15236 
   15237       end
   15238 _ACEOF
   15239 rm -f conftest.$ac_objext conftest$ac_exeext
   15240 if { (ac_try="$ac_link"
   15241 case "(($ac_try" in
   15242   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   15243   *) ac_try_echo=$ac_try;;
   15244 esac
   15245 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   15246 $as_echo "$ac_try_echo") >&5
   15247   (eval "$ac_link") 2>conftest.er1
   15248   ac_status=$?
   15249   grep -v '^ *+' conftest.er1 >conftest.err
   15250   rm -f conftest.er1
   15251   cat conftest.err >&5
   15252   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   15253   (exit $ac_status); } && {
   15254 	 test -z "$ac_f77_werror_flag" ||
   15255 	 test ! -s conftest.err
   15256        } && test -s conftest$ac_exeext && {
   15257 	 test "$cross_compiling" = yes ||
   15258 	 $as_test_x conftest$ac_exeext
   15259        }; then
   15260 
   15261 lt_aix_libpath_sed='
   15262     /Import File Strings/,/^$/ {
   15263 	/^0/ {
   15264 	    s/^0  *\(.*\)$/\1/
   15265 	    p
   15266 	}
   15267     }'
   15268 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   15269 # Check for a 64-bit object if we didn't find anything.
   15270 if test -z "$aix_libpath"; then
   15271   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   15272 fi
   15273 else
   15274   $as_echo "$as_me: failed program was:" >&5
   15275 sed 's/^/| /' conftest.$ac_ext >&5
   15276 
   15277 
   15278 fi
   15279 
   15280 rm -rf conftest.dSYM
   15281 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   15282       conftest$ac_exeext conftest.$ac_ext
   15283 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   15284 
   15285        hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
   15286 	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"
   15287        else
   15288 	if test "$host_cpu" = ia64; then
   15289 	  hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib'
   15290 	  allow_undefined_flag_F77="-z nodefs"
   15291 	  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"
   15292 	else
   15293 	 # Determine the default libpath from the value encoded in an empty executable.
   15294 	 cat >conftest.$ac_ext <<_ACEOF
   15295       program main
   15296 
   15297       end
   15298 _ACEOF
   15299 rm -f conftest.$ac_objext conftest$ac_exeext
   15300 if { (ac_try="$ac_link"
   15301 case "(($ac_try" in
   15302   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   15303   *) ac_try_echo=$ac_try;;
   15304 esac
   15305 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   15306 $as_echo "$ac_try_echo") >&5
   15307   (eval "$ac_link") 2>conftest.er1
   15308   ac_status=$?
   15309   grep -v '^ *+' conftest.er1 >conftest.err
   15310   rm -f conftest.er1
   15311   cat conftest.err >&5
   15312   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   15313   (exit $ac_status); } && {
   15314 	 test -z "$ac_f77_werror_flag" ||
   15315 	 test ! -s conftest.err
   15316        } && test -s conftest$ac_exeext && {
   15317 	 test "$cross_compiling" = yes ||
   15318 	 $as_test_x conftest$ac_exeext
   15319        }; then
   15320 
   15321 lt_aix_libpath_sed='
   15322     /Import File Strings/,/^$/ {
   15323 	/^0/ {
   15324 	    s/^0  *\(.*\)$/\1/
   15325 	    p
   15326 	}
   15327     }'
   15328 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   15329 # Check for a 64-bit object if we didn't find anything.
   15330 if test -z "$aix_libpath"; then
   15331   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   15332 fi
   15333 else
   15334   $as_echo "$as_me: failed program was:" >&5
   15335 sed 's/^/| /' conftest.$ac_ext >&5
   15336 
   15337 
   15338 fi
   15339 
   15340 rm -rf conftest.dSYM
   15341 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   15342       conftest$ac_exeext conftest.$ac_ext
   15343 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   15344 
   15345 	 hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
   15346 	  # Warning - without using the other run time loading flags,
   15347 	  # -berok will link without error, but may produce a broken library.
   15348 	  no_undefined_flag_F77=' ${wl}-bernotok'
   15349 	  allow_undefined_flag_F77=' ${wl}-berok'
   15350 	  # Exported symbols can be pulled into shared objects from archives
   15351 	  whole_archive_flag_spec_F77='$convenience'
   15352 	  archive_cmds_need_lc_F77=yes
   15353 	  # This is similar to how AIX traditionally builds its shared libraries.
   15354 	  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'
   15355 	fi
   15356       fi
   15357       ;;
   15358 
   15359     amigaos*)
   15360       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)'
   15361       hardcode_libdir_flag_spec_F77='-L$libdir'
   15362       hardcode_minus_L_F77=yes
   15363       # see comment about different semantics on the GNU ld section
   15364       ld_shlibs_F77=no
   15365       ;;
   15366 
   15367     bsdi[45]*)
   15368       export_dynamic_flag_spec_F77=-rdynamic
   15369       ;;
   15370 
   15371     cygwin* | mingw* | pw32*)
   15372       # When not using gcc, we currently assume that we are using
   15373       # Microsoft Visual C++.
   15374       # hardcode_libdir_flag_spec is actually meaningless, as there is
   15375       # no search path for DLLs.
   15376       hardcode_libdir_flag_spec_F77=' '
   15377       allow_undefined_flag_F77=unsupported
   15378       # Tell ltmain to make .lib files, not .a files.
   15379       libext=lib
   15380       # Tell ltmain to make .dll files, not .so files.
   15381       shrext_cmds=".dll"
   15382       # FIXME: Setting linknames here is a bad hack.
   15383       archive_cmds_F77='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
   15384       # The linker will automatically build a .lib file if we build a DLL.
   15385       old_archive_From_new_cmds_F77='true'
   15386       # FIXME: Should let the user specify the lib program.
   15387       old_archive_cmds_F77='lib -OUT:$oldlib$oldobjs$old_deplibs'
   15388       fix_srcfile_path_F77='`cygpath -w "$srcfile"`'
   15389       enable_shared_with_static_runtimes_F77=yes
   15390       ;;
   15391 
   15392     darwin* | rhapsody*)
   15393       case $host_os in
   15394         rhapsody* | darwin1.[012])
   15395          allow_undefined_flag_F77='${wl}-undefined ${wl}suppress'
   15396          ;;
   15397        *) # Darwin 1.3 on
   15398          if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
   15399            allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   15400          else
   15401            case ${MACOSX_DEPLOYMENT_TARGET} in
   15402              10.[012])
   15403                allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   15404                ;;
   15405              10.*)
   15406                allow_undefined_flag_F77='${wl}-undefined ${wl}dynamic_lookup'
   15407                ;;
   15408            esac
   15409          fi
   15410          ;;
   15411       esac
   15412       archive_cmds_need_lc_F77=no
   15413       hardcode_direct_F77=no
   15414       hardcode_automatic_F77=yes
   15415       hardcode_shlibpath_var_F77=unsupported
   15416       whole_archive_flag_spec_F77=''
   15417       link_all_deplibs_F77=yes
   15418     if test "$GCC" = yes ; then
   15419     	output_verbose_link_cmd='echo'
   15420         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}"
   15421         module_cmds_F77="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
   15422         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}"
   15423         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}"
   15424     else
   15425       case $cc_basename in
   15426         xlc*)
   15427          output_verbose_link_cmd='echo'
   15428          archive_cmds_F77='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
   15429          module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
   15430           # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
   15431          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}'
   15432           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}'
   15433           ;;
   15434        *)
   15435          ld_shlibs_F77=no
   15436           ;;
   15437       esac
   15438     fi
   15439       ;;
   15440 
   15441     dgux*)
   15442       archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15443       hardcode_libdir_flag_spec_F77='-L$libdir'
   15444       hardcode_shlibpath_var_F77=no
   15445       ;;
   15446 
   15447     freebsd1*)
   15448       ld_shlibs_F77=no
   15449       ;;
   15450 
   15451     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   15452     # support.  Future versions do this automatically, but an explicit c++rt0.o
   15453     # does not break anything, and helps significantly (at the cost of a little
   15454     # extra space).
   15455     freebsd2.2*)
   15456       archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   15457       hardcode_libdir_flag_spec_F77='-R$libdir'
   15458       hardcode_direct_F77=yes
   15459       hardcode_shlibpath_var_F77=no
   15460       ;;
   15461 
   15462     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   15463     freebsd2*)
   15464       archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   15465       hardcode_direct_F77=yes
   15466       hardcode_minus_L_F77=yes
   15467       hardcode_shlibpath_var_F77=no
   15468       ;;
   15469 
   15470     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   15471     freebsd* | dragonfly*)
   15472       archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
   15473       hardcode_libdir_flag_spec_F77='-R$libdir'
   15474       hardcode_direct_F77=yes
   15475       hardcode_shlibpath_var_F77=no
   15476       ;;
   15477 
   15478     hpux9*)
   15479       if test "$GCC" = yes; then
   15480 	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'
   15481       else
   15482 	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'
   15483       fi
   15484       hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
   15485       hardcode_libdir_separator_F77=:
   15486       hardcode_direct_F77=yes
   15487 
   15488       # hardcode_minus_L: Not really in the search PATH,
   15489       # but as the default location of the library.
   15490       hardcode_minus_L_F77=yes
   15491       export_dynamic_flag_spec_F77='${wl}-E'
   15492       ;;
   15493 
   15494     hpux10*)
   15495       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   15496 	archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   15497       else
   15498 	archive_cmds_F77='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   15499       fi
   15500       if test "$with_gnu_ld" = no; then
   15501 	hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
   15502 	hardcode_libdir_separator_F77=:
   15503 
   15504 	hardcode_direct_F77=yes
   15505 	export_dynamic_flag_spec_F77='${wl}-E'
   15506 
   15507 	# hardcode_minus_L: Not really in the search PATH,
   15508 	# but as the default location of the library.
   15509 	hardcode_minus_L_F77=yes
   15510       fi
   15511       ;;
   15512 
   15513     hpux11*)
   15514       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   15515 	case $host_cpu in
   15516 	hppa*64*)
   15517 	  archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   15518 	  ;;
   15519 	ia64*)
   15520 	  archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   15521 	  ;;
   15522 	*)
   15523 	  archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   15524 	  ;;
   15525 	esac
   15526       else
   15527 	case $host_cpu in
   15528 	hppa*64*)
   15529 	  archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   15530 	  ;;
   15531 	ia64*)
   15532 	  archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   15533 	  ;;
   15534 	*)
   15535 	  archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   15536 	  ;;
   15537 	esac
   15538       fi
   15539       if test "$with_gnu_ld" = no; then
   15540 	hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
   15541 	hardcode_libdir_separator_F77=:
   15542 
   15543 	case $host_cpu in
   15544 	hppa*64*|ia64*)
   15545 	  hardcode_libdir_flag_spec_ld_F77='+b $libdir'
   15546 	  hardcode_direct_F77=no
   15547 	  hardcode_shlibpath_var_F77=no
   15548 	  ;;
   15549 	*)
   15550 	  hardcode_direct_F77=yes
   15551 	  export_dynamic_flag_spec_F77='${wl}-E'
   15552 
   15553 	  # hardcode_minus_L: Not really in the search PATH,
   15554 	  # but as the default location of the library.
   15555 	  hardcode_minus_L_F77=yes
   15556 	  ;;
   15557 	esac
   15558       fi
   15559       ;;
   15560 
   15561     irix5* | irix6* | nonstopux*)
   15562       if test "$GCC" = yes; then
   15563 	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'
   15564       else
   15565 	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'
   15566 	hardcode_libdir_flag_spec_ld_F77='-rpath $libdir'
   15567       fi
   15568       hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
   15569       hardcode_libdir_separator_F77=:
   15570       link_all_deplibs_F77=yes
   15571       ;;
   15572 
   15573     netbsd*)
   15574       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   15575 	archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   15576       else
   15577 	archive_cmds_F77='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   15578       fi
   15579       hardcode_libdir_flag_spec_F77='-R$libdir'
   15580       hardcode_direct_F77=yes
   15581       hardcode_shlibpath_var_F77=no
   15582       ;;
   15583 
   15584     newsos6)
   15585       archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15586       hardcode_direct_F77=yes
   15587       hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
   15588       hardcode_libdir_separator_F77=:
   15589       hardcode_shlibpath_var_F77=no
   15590       ;;
   15591 
   15592     openbsd*)
   15593       if test -f /usr/libexec/ld.so; then
   15594 	hardcode_direct_F77=yes
   15595 	hardcode_shlibpath_var_F77=no
   15596 	if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   15597 	  archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   15598 	  archive_expsym_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
   15599 	  hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
   15600 	  export_dynamic_flag_spec_F77='${wl}-E'
   15601 	else
   15602 	  case $host_os in
   15603 	   openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
   15604 	     archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   15605 	     hardcode_libdir_flag_spec_F77='-R$libdir'
   15606 	     ;;
   15607 	   *)
   15608 	     archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   15609 	     hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
   15610 	     ;;
   15611 	  esac
   15612         fi
   15613       else
   15614 	ld_shlibs_F77=no
   15615       fi
   15616       ;;
   15617 
   15618     os2*)
   15619       hardcode_libdir_flag_spec_F77='-L$libdir'
   15620       hardcode_minus_L_F77=yes
   15621       allow_undefined_flag_F77=unsupported
   15622       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'
   15623       old_archive_From_new_cmds_F77='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
   15624       ;;
   15625 
   15626     osf3*)
   15627       if test "$GCC" = yes; then
   15628 	allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
   15629 	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'
   15630       else
   15631 	allow_undefined_flag_F77=' -expect_unresolved \*'
   15632 	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'
   15633       fi
   15634       hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
   15635       hardcode_libdir_separator_F77=:
   15636       ;;
   15637 
   15638     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   15639       if test "$GCC" = yes; then
   15640 	allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
   15641 	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'
   15642 	hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
   15643       else
   15644 	allow_undefined_flag_F77=' -expect_unresolved \*'
   15645 	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'
   15646 	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~
   15647 	$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'
   15648 
   15649 	# Both c and cxx compiler support -rpath directly
   15650 	hardcode_libdir_flag_spec_F77='-rpath $libdir'
   15651       fi
   15652       hardcode_libdir_separator_F77=:
   15653       ;;
   15654 
   15655     solaris*)
   15656       no_undefined_flag_F77=' -z text'
   15657       if test "$GCC" = yes; then
   15658 	wlarc='${wl}'
   15659 	archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   15660 	archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   15661 	  $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
   15662       else
   15663 	wlarc=''
   15664 	archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15665 	archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   15666   	$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
   15667       fi
   15668       hardcode_libdir_flag_spec_F77='-R$libdir'
   15669       hardcode_shlibpath_var_F77=no
   15670       case $host_os in
   15671       solaris2.[0-5] | solaris2.[0-5].*) ;;
   15672       *)
   15673 	# The compiler driver will combine and reorder linker options,
   15674 	# but understands `-z linker_flag'.  GCC discards it without `$wl',
   15675 	# but is careful enough not to reorder.
   15676  	# Supported since Solaris 2.6 (maybe 2.5.1?)
   15677 	if test "$GCC" = yes; then
   15678 	  whole_archive_flag_spec_F77='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
   15679 	else
   15680 	  whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract'
   15681 	fi
   15682 	;;
   15683       esac
   15684       link_all_deplibs_F77=yes
   15685       ;;
   15686 
   15687     sunos4*)
   15688       if test "x$host_vendor" = xsequent; then
   15689 	# Use $CC to link under sequent, because it throws in some extra .o
   15690 	# files that make .init and .fini sections work.
   15691 	archive_cmds_F77='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   15692       else
   15693 	archive_cmds_F77='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   15694       fi
   15695       hardcode_libdir_flag_spec_F77='-L$libdir'
   15696       hardcode_direct_F77=yes
   15697       hardcode_minus_L_F77=yes
   15698       hardcode_shlibpath_var_F77=no
   15699       ;;
   15700 
   15701     sysv4)
   15702       case $host_vendor in
   15703 	sni)
   15704 	  archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15705 	  hardcode_direct_F77=yes # is this really true???
   15706 	;;
   15707 	siemens)
   15708 	  ## LD is ld it makes a PLAMLIB
   15709 	  ## CC just makes a GrossModule.
   15710 	  archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   15711 	  reload_cmds_F77='$CC -r -o $output$reload_objs'
   15712 	  hardcode_direct_F77=no
   15713         ;;
   15714 	motorola)
   15715 	  archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15716 	  hardcode_direct_F77=no #Motorola manual says yes, but my tests say they lie
   15717 	;;
   15718       esac
   15719       runpath_var='LD_RUN_PATH'
   15720       hardcode_shlibpath_var_F77=no
   15721       ;;
   15722 
   15723     sysv4.3*)
   15724       archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15725       hardcode_shlibpath_var_F77=no
   15726       export_dynamic_flag_spec_F77='-Bexport'
   15727       ;;
   15728 
   15729     sysv4*MP*)
   15730       if test -d /usr/nec; then
   15731 	archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15732 	hardcode_shlibpath_var_F77=no
   15733 	runpath_var=LD_RUN_PATH
   15734 	hardcode_runpath_var=yes
   15735 	ld_shlibs_F77=yes
   15736       fi
   15737       ;;
   15738 
   15739     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   15740       no_undefined_flag_F77='${wl}-z,text'
   15741       archive_cmds_need_lc_F77=no
   15742       hardcode_shlibpath_var_F77=no
   15743       runpath_var='LD_RUN_PATH'
   15744 
   15745       if test "$GCC" = yes; then
   15746 	archive_cmds_F77='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   15747 	archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   15748       else
   15749 	archive_cmds_F77='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   15750 	archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   15751       fi
   15752       ;;
   15753 
   15754     sysv5* | sco3.2v5* | sco5v6*)
   15755       # Note: We can NOT use -z defs as we might desire, because we do not
   15756       # link with -lc, and that would cause any symbols used from libc to
   15757       # always be unresolved, which means just about no library would
   15758       # ever link correctly.  If we're not using GNU ld we use -z text
   15759       # though, which does catch some bad symbols but isn't as heavy-handed
   15760       # as -z defs.
   15761       no_undefined_flag_F77='${wl}-z,text'
   15762       allow_undefined_flag_F77='${wl}-z,nodefs'
   15763       archive_cmds_need_lc_F77=no
   15764       hardcode_shlibpath_var_F77=no
   15765       hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
   15766       hardcode_libdir_separator_F77=':'
   15767       link_all_deplibs_F77=yes
   15768       export_dynamic_flag_spec_F77='${wl}-Bexport'
   15769       runpath_var='LD_RUN_PATH'
   15770 
   15771       if test "$GCC" = yes; then
   15772 	archive_cmds_F77='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   15773 	archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   15774       else
   15775 	archive_cmds_F77='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   15776 	archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   15777       fi
   15778       ;;
   15779 
   15780     uts4*)
   15781       archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15782       hardcode_libdir_flag_spec_F77='-L$libdir'
   15783       hardcode_shlibpath_var_F77=no
   15784       ;;
   15785 
   15786     *)
   15787       ld_shlibs_F77=no
   15788       ;;
   15789     esac
   15790   fi
   15791 
   15792 { $as_echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
   15793 $as_echo "$ld_shlibs_F77" >&6; }
   15794 test "$ld_shlibs_F77" = no && can_build_shared=no
   15795 
   15796 #
   15797 # Do we need to explicitly link libc?
   15798 #
   15799 case "x$archive_cmds_need_lc_F77" in
   15800 x|xyes)
   15801   # Assume -lc should be added
   15802   archive_cmds_need_lc_F77=yes
   15803 
   15804   if test "$enable_shared" = yes && test "$GCC" = yes; then
   15805     case $archive_cmds_F77 in
   15806     *'~'*)
   15807       # FIXME: we may have to deal with multi-command sequences.
   15808       ;;
   15809     '$CC '*)
   15810       # Test whether the compiler implicitly links with -lc since on some
   15811       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   15812       # to ld, don't add -lc before -lgcc.
   15813       { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
   15814 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
   15815       $rm conftest*
   15816       echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   15817 
   15818       if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   15819   (eval $ac_compile) 2>&5
   15820   ac_status=$?
   15821   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   15822   (exit $ac_status); } 2>conftest.err; then
   15823         soname=conftest
   15824         lib=conftest
   15825         libobjs=conftest.$ac_objext
   15826         deplibs=
   15827         wl=$lt_prog_compiler_wl_F77
   15828 	pic_flag=$lt_prog_compiler_pic_F77
   15829         compiler_flags=-v
   15830         linker_flags=-v
   15831         verstring=
   15832         output_objdir=.
   15833         libname=conftest
   15834         lt_save_allow_undefined_flag=$allow_undefined_flag_F77
   15835         allow_undefined_flag_F77=
   15836         if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
   15837   (eval $archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
   15838   ac_status=$?
   15839   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   15840   (exit $ac_status); }
   15841         then
   15842 	  archive_cmds_need_lc_F77=no
   15843         else
   15844 	  archive_cmds_need_lc_F77=yes
   15845         fi
   15846         allow_undefined_flag_F77=$lt_save_allow_undefined_flag
   15847       else
   15848         cat conftest.err 1>&5
   15849       fi
   15850       $rm conftest*
   15851       { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
   15852 $as_echo "$archive_cmds_need_lc_F77" >&6; }
   15853       ;;
   15854     esac
   15855   fi
   15856   ;;
   15857 esac
   15858 
   15859 { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
   15860 $as_echo_n "checking dynamic linker characteristics... " >&6; }
   15861 library_names_spec=
   15862 libname_spec='lib$name'
   15863 soname_spec=
   15864 shrext_cmds=".so"
   15865 postinstall_cmds=
   15866 postuninstall_cmds=
   15867 finish_cmds=
   15868 finish_eval=
   15869 shlibpath_var=
   15870 shlibpath_overrides_runpath=unknown
   15871 version_type=none
   15872 dynamic_linker="$host_os ld.so"
   15873 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   15874 
   15875 need_lib_prefix=unknown
   15876 hardcode_into_libs=no
   15877 
   15878 # when you set need_version to no, make sure it does not cause -set_version
   15879 # flags to be left without arguments
   15880 need_version=unknown
   15881 
   15882 case $host_os in
   15883 aix3*)
   15884   version_type=linux
   15885   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   15886   shlibpath_var=LIBPATH
   15887 
   15888   # AIX 3 has no versioning support, so we append a major version to the name.
   15889   soname_spec='${libname}${release}${shared_ext}$major'
   15890   ;;
   15891 
   15892 aix[4-9]*)
   15893   version_type=linux
   15894   need_lib_prefix=no
   15895   need_version=no
   15896   hardcode_into_libs=yes
   15897   if test "$host_cpu" = ia64; then
   15898     # AIX 5 supports IA64
   15899     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
   15900     shlibpath_var=LD_LIBRARY_PATH
   15901   else
   15902     # With GCC up to 2.95.x, collect2 would create an import file
   15903     # for dependence libraries.  The import file would start with
   15904     # the line `#! .'.  This would cause the generated library to
   15905     # depend on `.', always an invalid library.  This was fixed in
   15906     # development snapshots of GCC prior to 3.0.
   15907     case $host_os in
   15908       aix4 | aix4.[01] | aix4.[01].*)
   15909       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   15910 	   echo ' yes '
   15911 	   echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
   15912 	:
   15913       else
   15914 	can_build_shared=no
   15915       fi
   15916       ;;
   15917     esac
   15918     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
   15919     # soname into executable. Probably we can add versioning support to
   15920     # collect2, so additional links can be useful in future.
   15921     if test "$aix_use_runtimelinking" = yes; then
   15922       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   15923       # instead of lib<name>.a to let people know that these are not
   15924       # typical AIX shared libraries.
   15925       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15926     else
   15927       # We preserve .a as extension for shared libraries through AIX4.2
   15928       # and later when we are not doing run time linking.
   15929       library_names_spec='${libname}${release}.a $libname.a'
   15930       soname_spec='${libname}${release}${shared_ext}$major'
   15931     fi
   15932     shlibpath_var=LIBPATH
   15933   fi
   15934   ;;
   15935 
   15936 amigaos*)
   15937   library_names_spec='$libname.ixlibrary $libname.a'
   15938   # Create ${libname}_ixlibrary.a entries in /sys/libs.
   15939   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'
   15940   ;;
   15941 
   15942 beos*)
   15943   library_names_spec='${libname}${shared_ext}'
   15944   dynamic_linker="$host_os ld.so"
   15945   shlibpath_var=LIBRARY_PATH
   15946   ;;
   15947 
   15948 bsdi[45]*)
   15949   version_type=linux
   15950   need_version=no
   15951   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15952   soname_spec='${libname}${release}${shared_ext}$major'
   15953   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   15954   shlibpath_var=LD_LIBRARY_PATH
   15955   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   15956   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   15957   # the default ld.so.conf also contains /usr/contrib/lib and
   15958   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   15959   # libtool to hard-code these into programs
   15960   ;;
   15961 
   15962 cygwin* | mingw* | pw32*)
   15963   version_type=windows
   15964   shrext_cmds=".dll"
   15965   need_version=no
   15966   need_lib_prefix=no
   15967 
   15968   case $GCC,$host_os in
   15969   yes,cygwin* | yes,mingw* | yes,pw32*)
   15970     library_names_spec='$libname.dll.a'
   15971     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   15972     postinstall_cmds='base_file=`basename \${file}`~
   15973       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
   15974       dldir=$destdir/`dirname \$dlpath`~
   15975       test -d \$dldir || mkdir -p \$dldir~
   15976       $install_prog $dir/$dlname \$dldir/$dlname~
   15977       chmod a+x \$dldir/$dlname'
   15978     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   15979       dlpath=$dir/\$dldll~
   15980        $rm \$dlpath'
   15981     shlibpath_overrides_runpath=yes
   15982 
   15983     case $host_os in
   15984     cygwin*)
   15985       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   15986       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   15987       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
   15988       ;;
   15989     mingw*)
   15990       # MinGW DLLs use traditional 'lib' prefix
   15991       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   15992       sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   15993       if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
   15994         # It is most probably a Windows format PATH printed by
   15995         # mingw gcc, but we are running on Cygwin. Gcc prints its search
   15996         # path with ; separators, and with drive letters. We can handle the
   15997         # drive letters (cygwin fileutils understands them), so leave them,
   15998         # especially as we might pass files found there to a mingw objdump,
   15999         # which wouldn't understand a cygwinified path. Ahh.
   16000         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   16001       else
   16002         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   16003       fi
   16004       ;;
   16005     pw32*)
   16006       # pw32 DLLs use 'pw' prefix rather than 'lib'
   16007       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   16008       ;;
   16009     esac
   16010     ;;
   16011 
   16012   *)
   16013     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
   16014     ;;
   16015   esac
   16016   dynamic_linker='Win32 ld.exe'
   16017   # FIXME: first we should search . and the directory the executable is in
   16018   shlibpath_var=PATH
   16019   ;;
   16020 
   16021 darwin* | rhapsody*)
   16022   dynamic_linker="$host_os dyld"
   16023   version_type=darwin
   16024   need_lib_prefix=no
   16025   need_version=no
   16026   library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
   16027   soname_spec='${libname}${release}${major}$shared_ext'
   16028   shlibpath_overrides_runpath=yes
   16029   shlibpath_var=DYLD_LIBRARY_PATH
   16030   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   16031 
   16032   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   16033   ;;
   16034 
   16035 dgux*)
   16036   version_type=linux
   16037   need_lib_prefix=no
   16038   need_version=no
   16039   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
   16040   soname_spec='${libname}${release}${shared_ext}$major'
   16041   shlibpath_var=LD_LIBRARY_PATH
   16042   ;;
   16043 
   16044 freebsd1*)
   16045   dynamic_linker=no
   16046   ;;
   16047 
   16048 freebsd* | dragonfly*)
   16049   # DragonFly does not have aout.  When/if they implement a new
   16050   # versioning mechanism, adjust this.
   16051   if test -x /usr/bin/objformat; then
   16052     objformat=`/usr/bin/objformat`
   16053   else
   16054     case $host_os in
   16055     freebsd[123]*) objformat=aout ;;
   16056     *) objformat=elf ;;
   16057     esac
   16058   fi
   16059   version_type=freebsd-$objformat
   16060   case $version_type in
   16061     freebsd-elf*)
   16062       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   16063       need_version=no
   16064       need_lib_prefix=no
   16065       ;;
   16066     freebsd-*)
   16067       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
   16068       need_version=yes
   16069       ;;
   16070   esac
   16071   shlibpath_var=LD_LIBRARY_PATH
   16072   case $host_os in
   16073   freebsd2*)
   16074     shlibpath_overrides_runpath=yes
   16075     ;;
   16076   freebsd3.[01]* | freebsdelf3.[01]*)
   16077     shlibpath_overrides_runpath=yes
   16078     hardcode_into_libs=yes
   16079     ;;
   16080   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   16081   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   16082     shlibpath_overrides_runpath=no
   16083     hardcode_into_libs=yes
   16084     ;;
   16085   *) # from 4.6 on, and DragonFly
   16086     shlibpath_overrides_runpath=yes
   16087     hardcode_into_libs=yes
   16088     ;;
   16089   esac
   16090   ;;
   16091 
   16092 gnu*)
   16093   version_type=linux
   16094   need_lib_prefix=no
   16095   need_version=no
   16096   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   16097   soname_spec='${libname}${release}${shared_ext}$major'
   16098   shlibpath_var=LD_LIBRARY_PATH
   16099   hardcode_into_libs=yes
   16100   ;;
   16101 
   16102 hpux9* | hpux10* | hpux11*)
   16103   # Give a soname corresponding to the major version so that dld.sl refuses to
   16104   # link against other versions.
   16105   version_type=sunos
   16106   need_lib_prefix=no
   16107   need_version=no
   16108   case $host_cpu in
   16109   ia64*)
   16110     shrext_cmds='.so'
   16111     hardcode_into_libs=yes
   16112     dynamic_linker="$host_os dld.so"
   16113     shlibpath_var=LD_LIBRARY_PATH
   16114     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   16115     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16116     soname_spec='${libname}${release}${shared_ext}$major'
   16117     if test "X$HPUX_IA64_MODE" = X32; then
   16118       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   16119     else
   16120       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   16121     fi
   16122     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   16123     ;;
   16124    hppa*64*)
   16125      shrext_cmds='.sl'
   16126      hardcode_into_libs=yes
   16127      dynamic_linker="$host_os dld.sl"
   16128      shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   16129      shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   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      sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   16133      sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   16134      ;;
   16135    *)
   16136     shrext_cmds='.sl'
   16137     dynamic_linker="$host_os dld.sl"
   16138     shlibpath_var=SHLIB_PATH
   16139     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   16140     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16141     soname_spec='${libname}${release}${shared_ext}$major'
   16142     ;;
   16143   esac
   16144   # HP-UX runs *really* slowly unless shared libraries are mode 555.
   16145   postinstall_cmds='chmod 555 $lib'
   16146   ;;
   16147 
   16148 interix[3-9]*)
   16149   version_type=linux
   16150   need_lib_prefix=no
   16151   need_version=no
   16152   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   16153   soname_spec='${libname}${release}${shared_ext}$major'
   16154   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   16155   shlibpath_var=LD_LIBRARY_PATH
   16156   shlibpath_overrides_runpath=no
   16157   hardcode_into_libs=yes
   16158   ;;
   16159 
   16160 irix5* | irix6* | nonstopux*)
   16161   case $host_os in
   16162     nonstopux*) version_type=nonstopux ;;
   16163     *)
   16164 	if test "$lt_cv_prog_gnu_ld" = yes; then
   16165 		version_type=linux
   16166 	else
   16167 		version_type=irix
   16168 	fi ;;
   16169   esac
   16170   need_lib_prefix=no
   16171   need_version=no
   16172   soname_spec='${libname}${release}${shared_ext}$major'
   16173   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
   16174   case $host_os in
   16175   irix5* | nonstopux*)
   16176     libsuff= shlibsuff=
   16177     ;;
   16178   *)
   16179     case $LD in # libtool.m4 will add one of these switches to LD
   16180     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   16181       libsuff= shlibsuff= libmagic=32-bit;;
   16182     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   16183       libsuff=32 shlibsuff=N32 libmagic=N32;;
   16184     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   16185       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   16186     *) libsuff= shlibsuff= libmagic=never-match;;
   16187     esac
   16188     ;;
   16189   esac
   16190   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   16191   shlibpath_overrides_runpath=no
   16192   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   16193   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   16194   hardcode_into_libs=yes
   16195   ;;
   16196 
   16197 # No shared lib support for Linux oldld, aout, or coff.
   16198 linux*oldld* | linux*aout* | linux*coff*)
   16199   dynamic_linker=no
   16200   ;;
   16201 
   16202 # This must be Linux ELF.
   16203 linux* | k*bsd*-gnu)
   16204   version_type=linux
   16205   need_lib_prefix=no
   16206   need_version=no
   16207   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16208   soname_spec='${libname}${release}${shared_ext}$major'
   16209   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   16210   shlibpath_var=LD_LIBRARY_PATH
   16211   shlibpath_overrides_runpath=no
   16212   # This implies no fast_install, which is unacceptable.
   16213   # Some rework will be needed to allow for fast_install
   16214   # before this can be enabled.
   16215   hardcode_into_libs=yes
   16216 
   16217   # Append ld.so.conf contents to the search path
   16218   if test -f /etc/ld.so.conf; then
   16219     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' ' '`
   16220     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   16221   fi
   16222 
   16223   # We used to test for /lib/ld.so.1 and disable shared libraries on
   16224   # powerpc, because MkLinux only supported shared libraries with the
   16225   # GNU dynamic linker.  Since this was broken with cross compilers,
   16226   # most powerpc-linux boxes support dynamic linking these days and
   16227   # people can always --disable-shared, the test was removed, and we
   16228   # assume the GNU/Linux dynamic linker is in use.
   16229   dynamic_linker='GNU/Linux ld.so'
   16230   ;;
   16231 
   16232 netbsd*)
   16233   version_type=sunos
   16234   need_lib_prefix=no
   16235   need_version=no
   16236   if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   16237     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   16238     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   16239     dynamic_linker='NetBSD (a.out) ld.so'
   16240   else
   16241     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   16242     soname_spec='${libname}${release}${shared_ext}$major'
   16243     dynamic_linker='NetBSD ld.elf_so'
   16244   fi
   16245   shlibpath_var=LD_LIBRARY_PATH
   16246   shlibpath_overrides_runpath=yes
   16247   hardcode_into_libs=yes
   16248   ;;
   16249 
   16250 newsos6)
   16251   version_type=linux
   16252   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16253   shlibpath_var=LD_LIBRARY_PATH
   16254   shlibpath_overrides_runpath=yes
   16255   ;;
   16256 
   16257 nto-qnx*)
   16258   version_type=linux
   16259   need_lib_prefix=no
   16260   need_version=no
   16261   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16262   soname_spec='${libname}${release}${shared_ext}$major'
   16263   shlibpath_var=LD_LIBRARY_PATH
   16264   shlibpath_overrides_runpath=yes
   16265   ;;
   16266 
   16267 openbsd*)
   16268   version_type=sunos
   16269   sys_lib_dlsearch_path_spec="/usr/lib"
   16270   need_lib_prefix=no
   16271   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
   16272   case $host_os in
   16273     openbsd3.3 | openbsd3.3.*) need_version=yes ;;
   16274     *)                         need_version=no  ;;
   16275   esac
   16276   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   16277   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   16278   shlibpath_var=LD_LIBRARY_PATH
   16279   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   16280     case $host_os in
   16281       openbsd2.[89] | openbsd2.[89].*)
   16282 	shlibpath_overrides_runpath=no
   16283 	;;
   16284       *)
   16285 	shlibpath_overrides_runpath=yes
   16286 	;;
   16287       esac
   16288   else
   16289     shlibpath_overrides_runpath=yes
   16290   fi
   16291   ;;
   16292 
   16293 os2*)
   16294   libname_spec='$name'
   16295   shrext_cmds=".dll"
   16296   need_lib_prefix=no
   16297   library_names_spec='$libname${shared_ext} $libname.a'
   16298   dynamic_linker='OS/2 ld.exe'
   16299   shlibpath_var=LIBPATH
   16300   ;;
   16301 
   16302 osf3* | osf4* | osf5*)
   16303   version_type=osf
   16304   need_lib_prefix=no
   16305   need_version=no
   16306   soname_spec='${libname}${release}${shared_ext}$major'
   16307   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16308   shlibpath_var=LD_LIBRARY_PATH
   16309   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   16310   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   16311   ;;
   16312 
   16313 rdos*)
   16314   dynamic_linker=no
   16315   ;;
   16316 
   16317 solaris*)
   16318   version_type=linux
   16319   need_lib_prefix=no
   16320   need_version=no
   16321   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16322   soname_spec='${libname}${release}${shared_ext}$major'
   16323   shlibpath_var=LD_LIBRARY_PATH
   16324   shlibpath_overrides_runpath=yes
   16325   hardcode_into_libs=yes
   16326   # ldd complains unless libraries are executable
   16327   postinstall_cmds='chmod +x $lib'
   16328   ;;
   16329 
   16330 sunos4*)
   16331   version_type=sunos
   16332   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   16333   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   16334   shlibpath_var=LD_LIBRARY_PATH
   16335   shlibpath_overrides_runpath=yes
   16336   if test "$with_gnu_ld" = yes; then
   16337     need_lib_prefix=no
   16338   fi
   16339   need_version=yes
   16340   ;;
   16341 
   16342 sysv4 | sysv4.3*)
   16343   version_type=linux
   16344   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16345   soname_spec='${libname}${release}${shared_ext}$major'
   16346   shlibpath_var=LD_LIBRARY_PATH
   16347   case $host_vendor in
   16348     sni)
   16349       shlibpath_overrides_runpath=no
   16350       need_lib_prefix=no
   16351       export_dynamic_flag_spec='${wl}-Blargedynsym'
   16352       runpath_var=LD_RUN_PATH
   16353       ;;
   16354     siemens)
   16355       need_lib_prefix=no
   16356       ;;
   16357     motorola)
   16358       need_lib_prefix=no
   16359       need_version=no
   16360       shlibpath_overrides_runpath=no
   16361       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   16362       ;;
   16363   esac
   16364   ;;
   16365 
   16366 sysv4*MP*)
   16367   if test -d /usr/nec ;then
   16368     version_type=linux
   16369     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
   16370     soname_spec='$libname${shared_ext}.$major'
   16371     shlibpath_var=LD_LIBRARY_PATH
   16372   fi
   16373   ;;
   16374 
   16375 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   16376   version_type=freebsd-elf
   16377   need_lib_prefix=no
   16378   need_version=no
   16379   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   16380   soname_spec='${libname}${release}${shared_ext}$major'
   16381   shlibpath_var=LD_LIBRARY_PATH
   16382   hardcode_into_libs=yes
   16383   if test "$with_gnu_ld" = yes; then
   16384     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   16385     shlibpath_overrides_runpath=no
   16386   else
   16387     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   16388     shlibpath_overrides_runpath=yes
   16389     case $host_os in
   16390       sco3.2v5*)
   16391         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   16392 	;;
   16393     esac
   16394   fi
   16395   sys_lib_dlsearch_path_spec='/usr/lib'
   16396   ;;
   16397 
   16398 uts4*)
   16399   version_type=linux
   16400   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16401   soname_spec='${libname}${release}${shared_ext}$major'
   16402   shlibpath_var=LD_LIBRARY_PATH
   16403   ;;
   16404 
   16405 *)
   16406   dynamic_linker=no
   16407   ;;
   16408 esac
   16409 { $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
   16410 $as_echo "$dynamic_linker" >&6; }
   16411 test "$dynamic_linker" = no && can_build_shared=no
   16412 
   16413 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
   16414   $as_echo_n "(cached) " >&6
   16415 else
   16416   lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
   16417 fi
   16418 
   16419 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
   16420 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
   16421   $as_echo_n "(cached) " >&6
   16422 else
   16423   lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
   16424 fi
   16425 
   16426 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
   16427 
   16428 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   16429 if test "$GCC" = yes; then
   16430   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   16431 fi
   16432 
   16433 { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
   16434 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
   16435 hardcode_action_F77=
   16436 if test -n "$hardcode_libdir_flag_spec_F77" || \
   16437    test -n "$runpath_var_F77" || \
   16438    test "X$hardcode_automatic_F77" = "Xyes" ; then
   16439 
   16440   # We can hardcode non-existant directories.
   16441   if test "$hardcode_direct_F77" != no &&
   16442      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   16443      # have to relink, otherwise we might link with an installed library
   16444      # when we should be linking with a yet-to-be-installed one
   16445      ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
   16446      test "$hardcode_minus_L_F77" != no; then
   16447     # Linking always hardcodes the temporary library directory.
   16448     hardcode_action_F77=relink
   16449   else
   16450     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   16451     hardcode_action_F77=immediate
   16452   fi
   16453 else
   16454   # We cannot hardcode anything, or else we can only hardcode existing
   16455   # directories.
   16456   hardcode_action_F77=unsupported
   16457 fi
   16458 { $as_echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
   16459 $as_echo "$hardcode_action_F77" >&6; }
   16460 
   16461 if test "$hardcode_action_F77" = relink; then
   16462   # Fast installation is not supported
   16463   enable_fast_install=no
   16464 elif test "$shlibpath_overrides_runpath" = yes ||
   16465      test "$enable_shared" = no; then
   16466   # Fast installation is not necessary
   16467   enable_fast_install=needless
   16468 fi
   16469 
   16470 
   16471 # The else clause should only fire when bootstrapping the
   16472 # libtool distribution, otherwise you forgot to ship ltmain.sh
   16473 # with your package, and you will get complaints that there are
   16474 # no rules to generate ltmain.sh.
   16475 if test -f "$ltmain"; then
   16476   # See if we are running on zsh, and set the options which allow our commands through
   16477   # without removal of \ escapes.
   16478   if test -n "${ZSH_VERSION+set}" ; then
   16479     setopt NO_GLOB_SUBST
   16480   fi
   16481   # Now quote all the things that may contain metacharacters while being
   16482   # careful not to overquote the AC_SUBSTed values.  We take copies of the
   16483   # variables and quote the copies for generation of the libtool script.
   16484   for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
   16485     SED SHELL STRIP \
   16486     libname_spec library_names_spec soname_spec extract_expsyms_cmds \
   16487     old_striplib striplib file_magic_cmd finish_cmds finish_eval \
   16488     deplibs_check_method reload_flag reload_cmds need_locks \
   16489     lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
   16490     lt_cv_sys_global_symbol_to_c_name_address \
   16491     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
   16492     old_postinstall_cmds old_postuninstall_cmds \
   16493     compiler_F77 \
   16494     CC_F77 \
   16495     LD_F77 \
   16496     lt_prog_compiler_wl_F77 \
   16497     lt_prog_compiler_pic_F77 \
   16498     lt_prog_compiler_static_F77 \
   16499     lt_prog_compiler_no_builtin_flag_F77 \
   16500     export_dynamic_flag_spec_F77 \
   16501     thread_safe_flag_spec_F77 \
   16502     whole_archive_flag_spec_F77 \
   16503     enable_shared_with_static_runtimes_F77 \
   16504     old_archive_cmds_F77 \
   16505     old_archive_from_new_cmds_F77 \
   16506     predep_objects_F77 \
   16507     postdep_objects_F77 \
   16508     predeps_F77 \
   16509     postdeps_F77 \
   16510     compiler_lib_search_path_F77 \
   16511     compiler_lib_search_dirs_F77 \
   16512     archive_cmds_F77 \
   16513     archive_expsym_cmds_F77 \
   16514     postinstall_cmds_F77 \
   16515     postuninstall_cmds_F77 \
   16516     old_archive_from_expsyms_cmds_F77 \
   16517     allow_undefined_flag_F77 \
   16518     no_undefined_flag_F77 \
   16519     export_symbols_cmds_F77 \
   16520     hardcode_libdir_flag_spec_F77 \
   16521     hardcode_libdir_flag_spec_ld_F77 \
   16522     hardcode_libdir_separator_F77 \
   16523     hardcode_automatic_F77 \
   16524     module_cmds_F77 \
   16525     module_expsym_cmds_F77 \
   16526     lt_cv_prog_compiler_c_o_F77 \
   16527     fix_srcfile_path_F77 \
   16528     exclude_expsyms_F77 \
   16529     include_expsyms_F77; do
   16530 
   16531     case $var in
   16532     old_archive_cmds_F77 | \
   16533     old_archive_from_new_cmds_F77 | \
   16534     archive_cmds_F77 | \
   16535     archive_expsym_cmds_F77 | \
   16536     module_cmds_F77 | \
   16537     module_expsym_cmds_F77 | \
   16538     old_archive_from_expsyms_cmds_F77 | \
   16539     export_symbols_cmds_F77 | \
   16540     extract_expsyms_cmds | reload_cmds | finish_cmds | \
   16541     postinstall_cmds | postuninstall_cmds | \
   16542     old_postinstall_cmds | old_postuninstall_cmds | \
   16543     sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
   16544       # Double-quote double-evaled strings.
   16545       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
   16546       ;;
   16547     *)
   16548       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
   16549       ;;
   16550     esac
   16551   done
   16552 
   16553   case $lt_echo in
   16554   *'\$0 --fallback-echo"')
   16555     lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
   16556     ;;
   16557   esac
   16558 
   16559 cfgfile="$ofile"
   16560 
   16561   cat <<__EOF__ >> "$cfgfile"
   16562 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
   16563 
   16564 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   16565 
   16566 # Shell to use when invoking shell scripts.
   16567 SHELL=$lt_SHELL
   16568 
   16569 # Whether or not to build shared libraries.
   16570 build_libtool_libs=$enable_shared
   16571 
   16572 # Whether or not to build static libraries.
   16573 build_old_libs=$enable_static
   16574 
   16575 # Whether or not to add -lc for building shared libraries.
   16576 build_libtool_need_lc=$archive_cmds_need_lc_F77
   16577 
   16578 # Whether or not to disallow shared libs when runtime libs are static
   16579 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
   16580 
   16581 # Whether or not to optimize for fast installation.
   16582 fast_install=$enable_fast_install
   16583 
   16584 # The host system.
   16585 host_alias=$host_alias
   16586 host=$host
   16587 host_os=$host_os
   16588 
   16589 # The build system.
   16590 build_alias=$build_alias
   16591 build=$build
   16592 build_os=$build_os
   16593 
   16594 # An echo program that does not interpret backslashes.
   16595 echo=$lt_echo
   16596 
   16597 # The archiver.
   16598 AR=$lt_AR
   16599 AR_FLAGS=$lt_AR_FLAGS
   16600 
   16601 # A C compiler.
   16602 LTCC=$lt_LTCC
   16603 
   16604 # LTCC compiler flags.
   16605 LTCFLAGS=$lt_LTCFLAGS
   16606 
   16607 # A language-specific compiler.
   16608 CC=$lt_compiler_F77
   16609 
   16610 # Is the compiler the GNU C compiler?
   16611 with_gcc=$GCC_F77
   16612 
   16613 # An ERE matcher.
   16614 EGREP=$lt_EGREP
   16615 
   16616 # The linker used to build libraries.
   16617 LD=$lt_LD_F77
   16618 
   16619 # Whether we need hard or soft links.
   16620 LN_S=$lt_LN_S
   16621 
   16622 # A BSD-compatible nm program.
   16623 NM=$lt_NM
   16624 
   16625 # A symbol stripping program
   16626 STRIP=$lt_STRIP
   16627 
   16628 # Used to examine libraries when file_magic_cmd begins "file"
   16629 MAGIC_CMD=$MAGIC_CMD
   16630 
   16631 # Used on cygwin: DLL creation program.
   16632 DLLTOOL="$DLLTOOL"
   16633 
   16634 # Used on cygwin: object dumper.
   16635 OBJDUMP="$OBJDUMP"
   16636 
   16637 # Used on cygwin: assembler.
   16638 AS="$AS"
   16639 
   16640 # The name of the directory that contains temporary libtool files.
   16641 objdir=$objdir
   16642 
   16643 # How to create reloadable object files.
   16644 reload_flag=$lt_reload_flag
   16645 reload_cmds=$lt_reload_cmds
   16646 
   16647 # How to pass a linker flag through the compiler.
   16648 wl=$lt_lt_prog_compiler_wl_F77
   16649 
   16650 # Object file suffix (normally "o").
   16651 objext="$ac_objext"
   16652 
   16653 # Old archive suffix (normally "a").
   16654 libext="$libext"
   16655 
   16656 # Shared library suffix (normally ".so").
   16657 shrext_cmds='$shrext_cmds'
   16658 
   16659 # Executable file suffix (normally "").
   16660 exeext="$exeext"
   16661 
   16662 # Additional compiler flags for building library objects.
   16663 pic_flag=$lt_lt_prog_compiler_pic_F77
   16664 pic_mode=$pic_mode
   16665 
   16666 # What is the maximum length of a command?
   16667 max_cmd_len=$lt_cv_sys_max_cmd_len
   16668 
   16669 # Does compiler simultaneously support -c and -o options?
   16670 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
   16671 
   16672 # Must we lock files when doing compilation?
   16673 need_locks=$lt_need_locks
   16674 
   16675 # Do we need the lib prefix for modules?
   16676 need_lib_prefix=$need_lib_prefix
   16677 
   16678 # Do we need a version for libraries?
   16679 need_version=$need_version
   16680 
   16681 # Whether dlopen is supported.
   16682 dlopen_support=$enable_dlopen
   16683 
   16684 # Whether dlopen of programs is supported.
   16685 dlopen_self=$enable_dlopen_self
   16686 
   16687 # Whether dlopen of statically linked programs is supported.
   16688 dlopen_self_static=$enable_dlopen_self_static
   16689 
   16690 # Compiler flag to prevent dynamic linking.
   16691 link_static_flag=$lt_lt_prog_compiler_static_F77
   16692 
   16693 # Compiler flag to turn off builtin functions.
   16694 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
   16695 
   16696 # Compiler flag to allow reflexive dlopens.
   16697 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
   16698 
   16699 # Compiler flag to generate shared objects directly from archives.
   16700 whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
   16701 
   16702 # Compiler flag to generate thread-safe objects.
   16703 thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
   16704 
   16705 # Library versioning type.
   16706 version_type=$version_type
   16707 
   16708 # Format of library name prefix.
   16709 libname_spec=$lt_libname_spec
   16710 
   16711 # List of archive names.  First name is the real one, the rest are links.
   16712 # The last name is the one that the linker finds with -lNAME.
   16713 library_names_spec=$lt_library_names_spec
   16714 
   16715 # The coded name of the library, if different from the real name.
   16716 soname_spec=$lt_soname_spec
   16717 
   16718 # Commands used to build and install an old-style archive.
   16719 RANLIB=$lt_RANLIB
   16720 old_archive_cmds=$lt_old_archive_cmds_F77
   16721 old_postinstall_cmds=$lt_old_postinstall_cmds
   16722 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   16723 
   16724 # Create an old-style archive from a shared archive.
   16725 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
   16726 
   16727 # Create a temporary old-style archive to link instead of a shared archive.
   16728 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
   16729 
   16730 # Commands used to build and install a shared archive.
   16731 archive_cmds=$lt_archive_cmds_F77
   16732 archive_expsym_cmds=$lt_archive_expsym_cmds_F77
   16733 postinstall_cmds=$lt_postinstall_cmds
   16734 postuninstall_cmds=$lt_postuninstall_cmds
   16735 
   16736 # Commands used to build a loadable module (assumed same as above if empty)
   16737 module_cmds=$lt_module_cmds_F77
   16738 module_expsym_cmds=$lt_module_expsym_cmds_F77
   16739 
   16740 # Commands to strip libraries.
   16741 old_striplib=$lt_old_striplib
   16742 striplib=$lt_striplib
   16743 
   16744 # Dependencies to place before the objects being linked to create a
   16745 # shared library.
   16746 predep_objects=$lt_predep_objects_F77
   16747 
   16748 # Dependencies to place after the objects being linked to create a
   16749 # shared library.
   16750 postdep_objects=$lt_postdep_objects_F77
   16751 
   16752 # Dependencies to place before the objects being linked to create a
   16753 # shared library.
   16754 predeps=$lt_predeps_F77
   16755 
   16756 # Dependencies to place after the objects being linked to create a
   16757 # shared library.
   16758 postdeps=$lt_postdeps_F77
   16759 
   16760 # The directories searched by this compiler when creating a shared
   16761 # library
   16762 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_F77
   16763 
   16764 # The library search path used internally by the compiler when linking
   16765 # a shared library.
   16766 compiler_lib_search_path=$lt_compiler_lib_search_path_F77
   16767 
   16768 # Method to check whether dependent libraries are shared objects.
   16769 deplibs_check_method=$lt_deplibs_check_method
   16770 
   16771 # Command to use when deplibs_check_method == file_magic.
   16772 file_magic_cmd=$lt_file_magic_cmd
   16773 
   16774 # Flag that allows shared libraries with undefined symbols to be built.
   16775 allow_undefined_flag=$lt_allow_undefined_flag_F77
   16776 
   16777 # Flag that forces no undefined symbols.
   16778 no_undefined_flag=$lt_no_undefined_flag_F77
   16779 
   16780 # Commands used to finish a libtool library installation in a directory.
   16781 finish_cmds=$lt_finish_cmds
   16782 
   16783 # Same as above, but a single script fragment to be evaled but not shown.
   16784 finish_eval=$lt_finish_eval
   16785 
   16786 # Take the output of nm and produce a listing of raw symbols and C names.
   16787 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   16788 
   16789 # Transform the output of nm in a proper C declaration
   16790 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   16791 
   16792 # Transform the output of nm in a C name address pair
   16793 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   16794 
   16795 # This is the shared library runtime path variable.
   16796 runpath_var=$runpath_var
   16797 
   16798 # This is the shared library path variable.
   16799 shlibpath_var=$shlibpath_var
   16800 
   16801 # Is shlibpath searched before the hard-coded library search path?
   16802 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   16803 
   16804 # How to hardcode a shared library path into an executable.
   16805 hardcode_action=$hardcode_action_F77
   16806 
   16807 # Whether we should hardcode library paths into libraries.
   16808 hardcode_into_libs=$hardcode_into_libs
   16809 
   16810 # Flag to hardcode \$libdir into a binary during linking.
   16811 # This must work even if \$libdir does not exist.
   16812 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
   16813 
   16814 # If ld is used when linking, flag to hardcode \$libdir into
   16815 # a binary during linking. This must work even if \$libdir does
   16816 # not exist.
   16817 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
   16818 
   16819 # Whether we need a single -rpath flag with a separated argument.
   16820 hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
   16821 
   16822 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
   16823 # resulting binary.
   16824 hardcode_direct=$hardcode_direct_F77
   16825 
   16826 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
   16827 # resulting binary.
   16828 hardcode_minus_L=$hardcode_minus_L_F77
   16829 
   16830 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
   16831 # the resulting binary.
   16832 hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
   16833 
   16834 # Set to yes if building a shared library automatically hardcodes DIR into the library
   16835 # and all subsequent libraries and executables linked against it.
   16836 hardcode_automatic=$hardcode_automatic_F77
   16837 
   16838 # Variables whose values should be saved in libtool wrapper scripts and
   16839 # restored at relink time.
   16840 variables_saved_for_relink="$variables_saved_for_relink"
   16841 
   16842 # Whether libtool must link a program against all its dependency libraries.
   16843 link_all_deplibs=$link_all_deplibs_F77
   16844 
   16845 # Compile-time system search path for libraries
   16846 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   16847 
   16848 # Run-time system search path for libraries
   16849 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   16850 
   16851 # Fix the shell variable \$srcfile for the compiler.
   16852 fix_srcfile_path=$lt_fix_srcfile_path
   16853 
   16854 # Set to yes if exported symbols are required.
   16855 always_export_symbols=$always_export_symbols_F77
   16856 
   16857 # The commands to list exported symbols.
   16858 export_symbols_cmds=$lt_export_symbols_cmds_F77
   16859 
   16860 # The commands to extract the exported symbol list from a shared archive.
   16861 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   16862 
   16863 # Symbols that should not be listed in the preloaded symbols.
   16864 exclude_expsyms=$lt_exclude_expsyms_F77
   16865 
   16866 # Symbols that must always be exported.
   16867 include_expsyms=$lt_include_expsyms_F77
   16868 
   16869 # ### END LIBTOOL TAG CONFIG: $tagname
   16870 
   16871 __EOF__
   16872 
   16873 
   16874 else
   16875   # If there is no Makefile yet, we rely on a make rule to execute
   16876   # `config.status --recheck' to rerun these tests and create the
   16877   # libtool script then.
   16878   ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
   16879   if test -f "$ltmain_in"; then
   16880     test -f Makefile && make "$ltmain"
   16881   fi
   16882 fi
   16883 
   16884 
   16885 ac_ext=c
   16886 ac_cpp='$CPP $CPPFLAGS'
   16887 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   16888 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   16889 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   16890 
   16891 CC="$lt_save_CC"
   16892 
   16893 	else
   16894 	  tagname=""
   16895 	fi
   16896 	;;
   16897 
   16898       GCJ)
   16899 	if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
   16900 
   16901 
   16902 # Source file extension for Java test sources.
   16903 ac_ext=java
   16904 
   16905 # Object file extension for compiled Java test sources.
   16906 objext=o
   16907 objext_GCJ=$objext
   16908 
   16909 # Code to be used in simple compile tests
   16910 lt_simple_compile_test_code="class foo {}"
   16911 
   16912 # Code to be used in simple link tests
   16913 lt_simple_link_test_code='public class conftest { public static void main(String[] argv) {}; }'
   16914 
   16915 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
   16916 
   16917 # If no C compiler was specified, use CC.
   16918 LTCC=${LTCC-"$CC"}
   16919 
   16920 # If no C compiler flags were specified, use CFLAGS.
   16921 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   16922 
   16923 # Allow CC to be a program name with arguments.
   16924 compiler=$CC
   16925 
   16926 
   16927 # save warnings/boilerplate of simple test code
   16928 ac_outfile=conftest.$ac_objext
   16929 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   16930 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   16931 _lt_compiler_boilerplate=`cat conftest.err`
   16932 $rm conftest*
   16933 
   16934 ac_outfile=conftest.$ac_objext
   16935 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   16936 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   16937 _lt_linker_boilerplate=`cat conftest.err`
   16938 $rm -r conftest*
   16939 
   16940 
   16941 # Allow CC to be a program name with arguments.
   16942 lt_save_CC="$CC"
   16943 CC=${GCJ-"gcj"}
   16944 compiler=$CC
   16945 compiler_GCJ=$CC
   16946 for cc_temp in $compiler""; do
   16947   case $cc_temp in
   16948     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   16949     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   16950     \-*) ;;
   16951     *) break;;
   16952   esac
   16953 done
   16954 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   16955 
   16956 
   16957 # GCJ did not exist at the time GCC didn't implicitly link libc in.
   16958 archive_cmds_need_lc_GCJ=no
   16959 
   16960 old_archive_cmds_GCJ=$old_archive_cmds
   16961 
   16962 
   16963 lt_prog_compiler_no_builtin_flag_GCJ=
   16964 
   16965 if test "$GCC" = yes; then
   16966   lt_prog_compiler_no_builtin_flag_GCJ=' -fno-builtin'
   16967 
   16968 
   16969 { $as_echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
   16970 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
   16971 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
   16972   $as_echo_n "(cached) " >&6
   16973 else
   16974   lt_cv_prog_compiler_rtti_exceptions=no
   16975   ac_outfile=conftest.$ac_objext
   16976    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   16977    lt_compiler_flag="-fno-rtti -fno-exceptions"
   16978    # Insert the option either (1) after the last *FLAGS variable, or
   16979    # (2) before a word containing "conftest.", or (3) at the end.
   16980    # Note that $ac_compile itself does not contain backslashes and begins
   16981    # with a dollar sign (not a hyphen), so the echo should work correctly.
   16982    # The option is referenced via a variable to avoid confusing sed.
   16983    lt_compile=`echo "$ac_compile" | $SED \
   16984    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   16985    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   16986    -e 's:$: $lt_compiler_flag:'`
   16987    (eval echo "\"\$as_me:16987: $lt_compile\"" >&5)
   16988    (eval "$lt_compile" 2>conftest.err)
   16989    ac_status=$?
   16990    cat conftest.err >&5
   16991    echo "$as_me:16991: \$? = $ac_status" >&5
   16992    if (exit $ac_status) && test -s "$ac_outfile"; then
   16993      # The compiler can only warn and ignore the option if not recognized
   16994      # So say no if there are warnings other than the usual output.
   16995      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   16996      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   16997      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   16998        lt_cv_prog_compiler_rtti_exceptions=yes
   16999      fi
   17000    fi
   17001    $rm conftest*
   17002 
   17003 fi
   17004 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
   17005 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
   17006 
   17007 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
   17008     lt_prog_compiler_no_builtin_flag_GCJ="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
   17009 else
   17010     :
   17011 fi
   17012 
   17013 fi
   17014 
   17015 lt_prog_compiler_wl_GCJ=
   17016 lt_prog_compiler_pic_GCJ=
   17017 lt_prog_compiler_static_GCJ=
   17018 
   17019 { $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
   17020 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
   17021 
   17022   if test "$GCC" = yes; then
   17023     lt_prog_compiler_wl_GCJ='-Wl,'
   17024     lt_prog_compiler_static_GCJ='-static'
   17025 
   17026     case $host_os in
   17027       aix*)
   17028       # All AIX code is PIC.
   17029       if test "$host_cpu" = ia64; then
   17030 	# AIX 5 now supports IA64 processor
   17031 	lt_prog_compiler_static_GCJ='-Bstatic'
   17032       fi
   17033       ;;
   17034 
   17035     amigaos*)
   17036       # FIXME: we need at least 68020 code to build shared libraries, but
   17037       # adding the `-m68020' flag to GCC prevents building anything better,
   17038       # like `-m68040'.
   17039       lt_prog_compiler_pic_GCJ='-m68020 -resident32 -malways-restore-a4'
   17040       ;;
   17041 
   17042     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   17043       # PIC is the default for these OSes.
   17044       ;;
   17045 
   17046     mingw* | cygwin* | pw32* | os2*)
   17047       # This hack is so that the source file can tell whether it is being
   17048       # built for inclusion in a dll (and should export symbols for example).
   17049       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   17050       # (--disable-auto-import) libraries
   17051 
   17052       ;;
   17053 
   17054     darwin* | rhapsody*)
   17055       # PIC is the default on this platform
   17056       # Common symbols not allowed in MH_DYLIB files
   17057       lt_prog_compiler_pic_GCJ='-fno-common'
   17058       ;;
   17059 
   17060     interix[3-9]*)
   17061       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   17062       # Instead, we relocate shared libraries at runtime.
   17063       ;;
   17064 
   17065     msdosdjgpp*)
   17066       # Just because we use GCC doesn't mean we suddenly get shared libraries
   17067       # on systems that don't support them.
   17068       lt_prog_compiler_can_build_shared_GCJ=no
   17069       enable_shared=no
   17070       ;;
   17071 
   17072     sysv4*MP*)
   17073       if test -d /usr/nec; then
   17074 	lt_prog_compiler_pic_GCJ=-Kconform_pic
   17075       fi
   17076       ;;
   17077 
   17078     hpux*)
   17079       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   17080       # not for PA HP-UX.
   17081       case $host_cpu in
   17082       hppa*64*|ia64*)
   17083 	# +Z the default
   17084 	;;
   17085       *)
   17086 	lt_prog_compiler_pic_GCJ='-fPIC'
   17087 	;;
   17088       esac
   17089       ;;
   17090 
   17091     *)
   17092       lt_prog_compiler_pic_GCJ='-fPIC'
   17093       ;;
   17094     esac
   17095   else
   17096     # PORTME Check for flag to pass linker flags through the system compiler.
   17097     case $host_os in
   17098     aix*)
   17099       lt_prog_compiler_wl_GCJ='-Wl,'
   17100       if test "$host_cpu" = ia64; then
   17101 	# AIX 5 now supports IA64 processor
   17102 	lt_prog_compiler_static_GCJ='-Bstatic'
   17103       else
   17104 	lt_prog_compiler_static_GCJ='-bnso -bI:/lib/syscalls.exp'
   17105       fi
   17106       ;;
   17107       darwin*)
   17108         # PIC is the default on this platform
   17109         # Common symbols not allowed in MH_DYLIB files
   17110        case $cc_basename in
   17111          xlc*)
   17112          lt_prog_compiler_pic_GCJ='-qnocommon'
   17113          lt_prog_compiler_wl_GCJ='-Wl,'
   17114          ;;
   17115        esac
   17116        ;;
   17117 
   17118     mingw* | cygwin* | pw32* | os2*)
   17119       # This hack is so that the source file can tell whether it is being
   17120       # built for inclusion in a dll (and should export symbols for example).
   17121 
   17122       ;;
   17123 
   17124     hpux9* | hpux10* | hpux11*)
   17125       lt_prog_compiler_wl_GCJ='-Wl,'
   17126       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   17127       # not for PA HP-UX.
   17128       case $host_cpu in
   17129       hppa*64*|ia64*)
   17130 	# +Z the default
   17131 	;;
   17132       *)
   17133 	lt_prog_compiler_pic_GCJ='+Z'
   17134 	;;
   17135       esac
   17136       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   17137       lt_prog_compiler_static_GCJ='${wl}-a ${wl}archive'
   17138       ;;
   17139 
   17140     irix5* | irix6* | nonstopux*)
   17141       lt_prog_compiler_wl_GCJ='-Wl,'
   17142       # PIC (with -KPIC) is the default.
   17143       lt_prog_compiler_static_GCJ='-non_shared'
   17144       ;;
   17145 
   17146     newsos6)
   17147       lt_prog_compiler_pic_GCJ='-KPIC'
   17148       lt_prog_compiler_static_GCJ='-Bstatic'
   17149       ;;
   17150 
   17151     linux* | k*bsd*-gnu)
   17152       case $cc_basename in
   17153       icc* | ecc*)
   17154 	lt_prog_compiler_wl_GCJ='-Wl,'
   17155 	lt_prog_compiler_pic_GCJ='-KPIC'
   17156 	lt_prog_compiler_static_GCJ='-static'
   17157         ;;
   17158       pgcc* | pgf77* | pgf90* | pgf95*)
   17159         # Portland Group compilers (*not* the Pentium gcc compiler,
   17160 	# which looks to be a dead project)
   17161 	lt_prog_compiler_wl_GCJ='-Wl,'
   17162 	lt_prog_compiler_pic_GCJ='-fpic'
   17163 	lt_prog_compiler_static_GCJ='-Bstatic'
   17164         ;;
   17165       ccc*)
   17166         lt_prog_compiler_wl_GCJ='-Wl,'
   17167         # All Alpha code is PIC.
   17168         lt_prog_compiler_static_GCJ='-non_shared'
   17169         ;;
   17170       *)
   17171         case `$CC -V 2>&1 | sed 5q` in
   17172 	*Sun\ C*)
   17173 	  # Sun C 5.9
   17174 	  lt_prog_compiler_pic_GCJ='-KPIC'
   17175 	  lt_prog_compiler_static_GCJ='-Bstatic'
   17176 	  lt_prog_compiler_wl_GCJ='-Wl,'
   17177 	  ;;
   17178 	*Sun\ F*)
   17179 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   17180 	  lt_prog_compiler_pic_GCJ='-KPIC'
   17181 	  lt_prog_compiler_static_GCJ='-Bstatic'
   17182 	  lt_prog_compiler_wl_GCJ=''
   17183 	  ;;
   17184 	esac
   17185 	;;
   17186       esac
   17187       ;;
   17188 
   17189     osf3* | osf4* | osf5*)
   17190       lt_prog_compiler_wl_GCJ='-Wl,'
   17191       # All OSF/1 code is PIC.
   17192       lt_prog_compiler_static_GCJ='-non_shared'
   17193       ;;
   17194 
   17195     rdos*)
   17196       lt_prog_compiler_static_GCJ='-non_shared'
   17197       ;;
   17198 
   17199     solaris*)
   17200       lt_prog_compiler_pic_GCJ='-KPIC'
   17201       lt_prog_compiler_static_GCJ='-Bstatic'
   17202       case $cc_basename in
   17203       f77* | f90* | f95*)
   17204 	lt_prog_compiler_wl_GCJ='-Qoption ld ';;
   17205       *)
   17206 	lt_prog_compiler_wl_GCJ='-Wl,';;
   17207       esac
   17208       ;;
   17209 
   17210     sunos4*)
   17211       lt_prog_compiler_wl_GCJ='-Qoption ld '
   17212       lt_prog_compiler_pic_GCJ='-PIC'
   17213       lt_prog_compiler_static_GCJ='-Bstatic'
   17214       ;;
   17215 
   17216     sysv4 | sysv4.2uw2* | sysv4.3*)
   17217       lt_prog_compiler_wl_GCJ='-Wl,'
   17218       lt_prog_compiler_pic_GCJ='-KPIC'
   17219       lt_prog_compiler_static_GCJ='-Bstatic'
   17220       ;;
   17221 
   17222     sysv4*MP*)
   17223       if test -d /usr/nec ;then
   17224 	lt_prog_compiler_pic_GCJ='-Kconform_pic'
   17225 	lt_prog_compiler_static_GCJ='-Bstatic'
   17226       fi
   17227       ;;
   17228 
   17229     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   17230       lt_prog_compiler_wl_GCJ='-Wl,'
   17231       lt_prog_compiler_pic_GCJ='-KPIC'
   17232       lt_prog_compiler_static_GCJ='-Bstatic'
   17233       ;;
   17234 
   17235     unicos*)
   17236       lt_prog_compiler_wl_GCJ='-Wl,'
   17237       lt_prog_compiler_can_build_shared_GCJ=no
   17238       ;;
   17239 
   17240     uts4*)
   17241       lt_prog_compiler_pic_GCJ='-pic'
   17242       lt_prog_compiler_static_GCJ='-Bstatic'
   17243       ;;
   17244 
   17245     *)
   17246       lt_prog_compiler_can_build_shared_GCJ=no
   17247       ;;
   17248     esac
   17249   fi
   17250 
   17251 { $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
   17252 $as_echo "$lt_prog_compiler_pic_GCJ" >&6; }
   17253 
   17254 #
   17255 # Check to make sure the PIC flag actually works.
   17256 #
   17257 if test -n "$lt_prog_compiler_pic_GCJ"; then
   17258 
   17259 { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
   17260 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... " >&6; }
   17261 if test "${lt_cv_prog_compiler_pic_works_GCJ+set}" = set; then
   17262   $as_echo_n "(cached) " >&6
   17263 else
   17264   lt_cv_prog_compiler_pic_works_GCJ=no
   17265   ac_outfile=conftest.$ac_objext
   17266    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   17267    lt_compiler_flag="$lt_prog_compiler_pic_GCJ"
   17268    # Insert the option either (1) after the last *FLAGS variable, or
   17269    # (2) before a word containing "conftest.", or (3) at the end.
   17270    # Note that $ac_compile itself does not contain backslashes and begins
   17271    # with a dollar sign (not a hyphen), so the echo should work correctly.
   17272    # The option is referenced via a variable to avoid confusing sed.
   17273    lt_compile=`echo "$ac_compile" | $SED \
   17274    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   17275    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   17276    -e 's:$: $lt_compiler_flag:'`
   17277    (eval echo "\"\$as_me:17277: $lt_compile\"" >&5)
   17278    (eval "$lt_compile" 2>conftest.err)
   17279    ac_status=$?
   17280    cat conftest.err >&5
   17281    echo "$as_me:17281: \$? = $ac_status" >&5
   17282    if (exit $ac_status) && test -s "$ac_outfile"; then
   17283      # The compiler can only warn and ignore the option if not recognized
   17284      # So say no if there are warnings other than the usual output.
   17285      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   17286      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   17287      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   17288        lt_cv_prog_compiler_pic_works_GCJ=yes
   17289      fi
   17290    fi
   17291    $rm conftest*
   17292 
   17293 fi
   17294 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_GCJ" >&5
   17295 $as_echo "$lt_cv_prog_compiler_pic_works_GCJ" >&6; }
   17296 
   17297 if test x"$lt_cv_prog_compiler_pic_works_GCJ" = xyes; then
   17298     case $lt_prog_compiler_pic_GCJ in
   17299      "" | " "*) ;;
   17300      *) lt_prog_compiler_pic_GCJ=" $lt_prog_compiler_pic_GCJ" ;;
   17301      esac
   17302 else
   17303     lt_prog_compiler_pic_GCJ=
   17304      lt_prog_compiler_can_build_shared_GCJ=no
   17305 fi
   17306 
   17307 fi
   17308 case $host_os in
   17309   # For platforms which do not support PIC, -DPIC is meaningless:
   17310   *djgpp*)
   17311     lt_prog_compiler_pic_GCJ=
   17312     ;;
   17313   *)
   17314     lt_prog_compiler_pic_GCJ="$lt_prog_compiler_pic_GCJ"
   17315     ;;
   17316 esac
   17317 
   17318 #
   17319 # Check to make sure the static flag actually works.
   17320 #
   17321 wl=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag=\"$lt_prog_compiler_static_GCJ\"
   17322 { $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   17323 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   17324 if test "${lt_cv_prog_compiler_static_works_GCJ+set}" = set; then
   17325   $as_echo_n "(cached) " >&6
   17326 else
   17327   lt_cv_prog_compiler_static_works_GCJ=no
   17328    save_LDFLAGS="$LDFLAGS"
   17329    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   17330    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   17331    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   17332      # The linker can only warn and ignore the option if not recognized
   17333      # So say no if there are warnings
   17334      if test -s conftest.err; then
   17335        # Append any errors to the config.log.
   17336        cat conftest.err 1>&5
   17337        $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
   17338        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   17339        if diff conftest.exp conftest.er2 >/dev/null; then
   17340          lt_cv_prog_compiler_static_works_GCJ=yes
   17341        fi
   17342      else
   17343        lt_cv_prog_compiler_static_works_GCJ=yes
   17344      fi
   17345    fi
   17346    $rm -r conftest*
   17347    LDFLAGS="$save_LDFLAGS"
   17348 
   17349 fi
   17350 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_GCJ" >&5
   17351 $as_echo "$lt_cv_prog_compiler_static_works_GCJ" >&6; }
   17352 
   17353 if test x"$lt_cv_prog_compiler_static_works_GCJ" = xyes; then
   17354     :
   17355 else
   17356     lt_prog_compiler_static_GCJ=
   17357 fi
   17358 
   17359 
   17360 { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
   17361 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   17362 if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
   17363   $as_echo_n "(cached) " >&6
   17364 else
   17365   lt_cv_prog_compiler_c_o_GCJ=no
   17366    $rm -r conftest 2>/dev/null
   17367    mkdir conftest
   17368    cd conftest
   17369    mkdir out
   17370    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   17371 
   17372    lt_compiler_flag="-o out/conftest2.$ac_objext"
   17373    # Insert the option either (1) after the last *FLAGS variable, or
   17374    # (2) before a word containing "conftest.", or (3) at the end.
   17375    # Note that $ac_compile itself does not contain backslashes and begins
   17376    # with a dollar sign (not a hyphen), so the echo should work correctly.
   17377    lt_compile=`echo "$ac_compile" | $SED \
   17378    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   17379    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   17380    -e 's:$: $lt_compiler_flag:'`
   17381    (eval echo "\"\$as_me:17381: $lt_compile\"" >&5)
   17382    (eval "$lt_compile" 2>out/conftest.err)
   17383    ac_status=$?
   17384    cat out/conftest.err >&5
   17385    echo "$as_me:17385: \$? = $ac_status" >&5
   17386    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   17387    then
   17388      # The compiler can only warn and ignore the option if not recognized
   17389      # So say no if there are warnings
   17390      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
   17391      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   17392      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   17393        lt_cv_prog_compiler_c_o_GCJ=yes
   17394      fi
   17395    fi
   17396    chmod u+w . 2>&5
   17397    $rm conftest*
   17398    # SGI C++ compiler will create directory out/ii_files/ for
   17399    # template instantiation
   17400    test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
   17401    $rm out/* && rmdir out
   17402    cd ..
   17403    rmdir conftest
   17404    $rm conftest*
   17405 
   17406 fi
   17407 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
   17408 $as_echo "$lt_cv_prog_compiler_c_o_GCJ" >&6; }
   17409 
   17410 
   17411 hard_links="nottested"
   17412 if test "$lt_cv_prog_compiler_c_o_GCJ" = no && test "$need_locks" != no; then
   17413   # do not overwrite the value of need_locks provided by the user
   17414   { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
   17415 $as_echo_n "checking if we can lock with hard links... " >&6; }
   17416   hard_links=yes
   17417   $rm conftest*
   17418   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   17419   touch conftest.a
   17420   ln conftest.a conftest.b 2>&5 || hard_links=no
   17421   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   17422   { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
   17423 $as_echo "$hard_links" >&6; }
   17424   if test "$hard_links" = no; then
   17425     { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   17426 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   17427     need_locks=warn
   17428   fi
   17429 else
   17430   need_locks=no
   17431 fi
   17432 
   17433 { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   17434 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   17435 
   17436   runpath_var=
   17437   allow_undefined_flag_GCJ=
   17438   enable_shared_with_static_runtimes_GCJ=no
   17439   archive_cmds_GCJ=
   17440   archive_expsym_cmds_GCJ=
   17441   old_archive_From_new_cmds_GCJ=
   17442   old_archive_from_expsyms_cmds_GCJ=
   17443   export_dynamic_flag_spec_GCJ=
   17444   whole_archive_flag_spec_GCJ=
   17445   thread_safe_flag_spec_GCJ=
   17446   hardcode_libdir_flag_spec_GCJ=
   17447   hardcode_libdir_flag_spec_ld_GCJ=
   17448   hardcode_libdir_separator_GCJ=
   17449   hardcode_direct_GCJ=no
   17450   hardcode_minus_L_GCJ=no
   17451   hardcode_shlibpath_var_GCJ=unsupported
   17452   link_all_deplibs_GCJ=unknown
   17453   hardcode_automatic_GCJ=no
   17454   module_cmds_GCJ=
   17455   module_expsym_cmds_GCJ=
   17456   always_export_symbols_GCJ=no
   17457   export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   17458   # include_expsyms should be a list of space-separated symbols to be *always*
   17459   # included in the symbol list
   17460   include_expsyms_GCJ=
   17461   # exclude_expsyms can be an extended regexp of symbols to exclude
   17462   # it will be wrapped by ` (' and `)$', so one must not match beginning or
   17463   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
   17464   # as well as any symbol that contains `d'.
   17465   exclude_expsyms_GCJ='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   17466   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   17467   # platforms (ab)use it in PIC code, but their linkers get confused if
   17468   # the symbol is explicitly referenced.  Since portable code cannot
   17469   # rely on this symbol name, it's probably fine to never include it in
   17470   # preloaded symbol tables.
   17471   # Exclude shared library initialization/finalization symbols.
   17472   extract_expsyms_cmds=
   17473   # Just being paranoid about ensuring that cc_basename is set.
   17474   for cc_temp in $compiler""; do
   17475   case $cc_temp in
   17476     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   17477     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   17478     \-*) ;;
   17479     *) break;;
   17480   esac
   17481 done
   17482 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   17483 
   17484   case $host_os in
   17485   cygwin* | mingw* | pw32*)
   17486     # FIXME: the MSVC++ port hasn't been tested in a loooong time
   17487     # When not using gcc, we currently assume that we are using
   17488     # Microsoft Visual C++.
   17489     if test "$GCC" != yes; then
   17490       with_gnu_ld=no
   17491     fi
   17492     ;;
   17493   interix*)
   17494     # we just hope/assume this is gcc and not c89 (= MSVC++)
   17495     with_gnu_ld=yes
   17496     ;;
   17497   openbsd*)
   17498     with_gnu_ld=no
   17499     ;;
   17500   esac
   17501 
   17502   ld_shlibs_GCJ=yes
   17503   if test "$with_gnu_ld" = yes; then
   17504     # If archive_cmds runs LD, not CC, wlarc should be empty
   17505     wlarc='${wl}'
   17506 
   17507     # Set some defaults for GNU ld with shared library support. These
   17508     # are reset later if shared libraries are not supported. Putting them
   17509     # here allows them to be overridden if necessary.
   17510     runpath_var=LD_RUN_PATH
   17511     hardcode_libdir_flag_spec_GCJ='${wl}--rpath ${wl}$libdir'
   17512     export_dynamic_flag_spec_GCJ='${wl}--export-dynamic'
   17513     # ancient GNU ld didn't support --whole-archive et. al.
   17514     if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
   17515 	whole_archive_flag_spec_GCJ="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   17516       else
   17517   	whole_archive_flag_spec_GCJ=
   17518     fi
   17519     supports_anon_versioning=no
   17520     case `$LD -v 2>/dev/null` in
   17521       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   17522       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   17523       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   17524       *\ 2.11.*) ;; # other 2.11 versions
   17525       *) supports_anon_versioning=yes ;;
   17526     esac
   17527 
   17528     # See if GNU ld supports shared libraries.
   17529     case $host_os in
   17530     aix[3-9]*)
   17531       # On AIX/PPC, the GNU linker is very broken
   17532       if test "$host_cpu" != ia64; then
   17533 	ld_shlibs_GCJ=no
   17534 	cat <<EOF 1>&2
   17535 
   17536 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
   17537 *** to be unable to reliably create shared libraries on AIX.
   17538 *** Therefore, libtool is disabling shared libraries support.  If you
   17539 *** really care for shared libraries, you may want to modify your PATH
   17540 *** so that a non-GNU linker is found, and then restart.
   17541 
   17542 EOF
   17543       fi
   17544       ;;
   17545 
   17546     amigaos*)
   17547       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)'
   17548       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   17549       hardcode_minus_L_GCJ=yes
   17550 
   17551       # Samuel A. Falvo II <kc5tja (at] dolphin.openprojects.net> reports
   17552       # that the semantics of dynamic libraries on AmigaOS, at least up
   17553       # to version 4, is to share data among multiple programs linked
   17554       # with the same dynamic library.  Since this doesn't match the
   17555       # behavior of shared libraries on other platforms, we can't use
   17556       # them.
   17557       ld_shlibs_GCJ=no
   17558       ;;
   17559 
   17560     beos*)
   17561       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   17562 	allow_undefined_flag_GCJ=unsupported
   17563 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   17564 	# support --undefined.  This deserves some investigation.  FIXME
   17565 	archive_cmds_GCJ='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   17566       else
   17567 	ld_shlibs_GCJ=no
   17568       fi
   17569       ;;
   17570 
   17571     cygwin* | mingw* | pw32*)
   17572       # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
   17573       # as there is no search path for DLLs.
   17574       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   17575       allow_undefined_flag_GCJ=unsupported
   17576       always_export_symbols_GCJ=no
   17577       enable_shared_with_static_runtimes_GCJ=yes
   17578       export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
   17579 
   17580       if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
   17581         archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   17582 	# If the export-symbols file already is a .def file (1st line
   17583 	# is EXPORTS), use it as is; otherwise, prepend...
   17584 	archive_expsym_cmds_GCJ='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   17585 	  cp $export_symbols $output_objdir/$soname.def;
   17586 	else
   17587 	  echo EXPORTS > $output_objdir/$soname.def;
   17588 	  cat $export_symbols >> $output_objdir/$soname.def;
   17589 	fi~
   17590 	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   17591       else
   17592 	ld_shlibs_GCJ=no
   17593       fi
   17594       ;;
   17595 
   17596     interix[3-9]*)
   17597       hardcode_direct_GCJ=no
   17598       hardcode_shlibpath_var_GCJ=no
   17599       hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
   17600       export_dynamic_flag_spec_GCJ='${wl}-E'
   17601       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   17602       # Instead, shared libraries are loaded at an image base (0x10000000 by
   17603       # default) and relocated if they conflict, which is a slow very memory
   17604       # consuming and fragmenting process.  To avoid this, we pick a random,
   17605       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   17606       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   17607       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'
   17608       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'
   17609       ;;
   17610 
   17611     gnu* | linux* | k*bsd*-gnu)
   17612       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   17613 	tmp_addflag=
   17614 	case $cc_basename,$host_cpu in
   17615 	pgcc*)				# Portland Group C compiler
   17616 	  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'
   17617 	  tmp_addflag=' $pic_flag'
   17618 	  ;;
   17619 	pgf77* | pgf90* | pgf95*)	# Portland Group f77 and f90 compilers
   17620 	  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'
   17621 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   17622 	ecc*,ia64* | icc*,ia64*)		# Intel C compiler on ia64
   17623 	  tmp_addflag=' -i_dynamic' ;;
   17624 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   17625 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   17626 	ifc* | ifort*)			# Intel Fortran compiler
   17627 	  tmp_addflag=' -nofor_main' ;;
   17628 	esac
   17629 	case `$CC -V 2>&1 | sed 5q` in
   17630 	*Sun\ C*)			# Sun C 5.9
   17631 	  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'
   17632 	  tmp_sharedflag='-G' ;;
   17633 	*Sun\ F*)			# Sun Fortran 8.3
   17634 	  tmp_sharedflag='-G' ;;
   17635 	*)
   17636 	  tmp_sharedflag='-shared' ;;
   17637 	esac
   17638 	archive_cmds_GCJ='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   17639 
   17640 	if test $supports_anon_versioning = yes; then
   17641 	  archive_expsym_cmds_GCJ='$echo "{ global:" > $output_objdir/$libname.ver~
   17642   cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   17643   $echo "local: *; };" >> $output_objdir/$libname.ver~
   17644 	  $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
   17645 	fi
   17646       else
   17647 	ld_shlibs_GCJ=no
   17648       fi
   17649       ;;
   17650 
   17651     netbsd*)
   17652       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   17653 	archive_cmds_GCJ='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   17654 	wlarc=
   17655       else
   17656 	archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   17657 	archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   17658       fi
   17659       ;;
   17660 
   17661     solaris*)
   17662       if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
   17663 	ld_shlibs_GCJ=no
   17664 	cat <<EOF 1>&2
   17665 
   17666 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   17667 *** create shared libraries on Solaris systems.  Therefore, libtool
   17668 *** is disabling shared libraries support.  We urge you to upgrade GNU
   17669 *** binutils to release 2.9.1 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 EOF
   17674       elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   17675 	archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   17676 	archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   17677       else
   17678 	ld_shlibs_GCJ=no
   17679       fi
   17680       ;;
   17681 
   17682     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   17683       case `$LD -v 2>&1` in
   17684         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   17685 	ld_shlibs_GCJ=no
   17686 	cat <<_LT_EOF 1>&2
   17687 
   17688 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
   17689 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   17690 *** is disabling shared libraries support.  We urge you to upgrade GNU
   17691 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   17692 *** your PATH or compiler configuration so that the native linker is
   17693 *** used, and then restart.
   17694 
   17695 _LT_EOF
   17696 	;;
   17697 	*)
   17698 	  if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   17699 	    hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
   17700 	    archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
   17701 	    archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
   17702 	  else
   17703 	    ld_shlibs_GCJ=no
   17704 	  fi
   17705 	;;
   17706       esac
   17707       ;;
   17708 
   17709     sunos4*)
   17710       archive_cmds_GCJ='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   17711       wlarc=
   17712       hardcode_direct_GCJ=yes
   17713       hardcode_shlibpath_var_GCJ=no
   17714       ;;
   17715 
   17716     *)
   17717       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   17718 	archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   17719 	archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   17720       else
   17721 	ld_shlibs_GCJ=no
   17722       fi
   17723       ;;
   17724     esac
   17725 
   17726     if test "$ld_shlibs_GCJ" = no; then
   17727       runpath_var=
   17728       hardcode_libdir_flag_spec_GCJ=
   17729       export_dynamic_flag_spec_GCJ=
   17730       whole_archive_flag_spec_GCJ=
   17731     fi
   17732   else
   17733     # PORTME fill in a description of your system's linker (not GNU ld)
   17734     case $host_os in
   17735     aix3*)
   17736       allow_undefined_flag_GCJ=unsupported
   17737       always_export_symbols_GCJ=yes
   17738       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'
   17739       # Note: this linker hardcodes the directories in LIBPATH if there
   17740       # are no directories specified by -L.
   17741       hardcode_minus_L_GCJ=yes
   17742       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
   17743 	# Neither direct hardcoding nor static linking is supported with a
   17744 	# broken collect2.
   17745 	hardcode_direct_GCJ=unsupported
   17746       fi
   17747       ;;
   17748 
   17749     aix[4-9]*)
   17750       if test "$host_cpu" = ia64; then
   17751 	# On IA64, the linker does run time linking by default, so we don't
   17752 	# have to do anything special.
   17753 	aix_use_runtimelinking=no
   17754 	exp_sym_flag='-Bexport'
   17755 	no_entry_flag=""
   17756       else
   17757 	# If we're using GNU nm, then we don't want the "-C" option.
   17758 	# -C means demangle to AIX nm, but means don't demangle with GNU nm
   17759 	if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
   17760 	  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'
   17761 	else
   17762 	  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'
   17763 	fi
   17764 	aix_use_runtimelinking=no
   17765 
   17766 	# Test if we are trying to use run time linking or normal
   17767 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   17768 	# need to do runtime linking.
   17769 	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   17770 	  for ld_flag in $LDFLAGS; do
   17771   	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
   17772   	    aix_use_runtimelinking=yes
   17773   	    break
   17774   	  fi
   17775 	  done
   17776 	  ;;
   17777 	esac
   17778 
   17779 	exp_sym_flag='-bexport'
   17780 	no_entry_flag='-bnoentry'
   17781       fi
   17782 
   17783       # When large executables or shared objects are built, AIX ld can
   17784       # have problems creating the table of contents.  If linking a library
   17785       # or program results in "error TOC overflow" add -mminimal-toc to
   17786       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   17787       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   17788 
   17789       archive_cmds_GCJ=''
   17790       hardcode_direct_GCJ=yes
   17791       hardcode_libdir_separator_GCJ=':'
   17792       link_all_deplibs_GCJ=yes
   17793 
   17794       if test "$GCC" = yes; then
   17795 	case $host_os in aix4.[012]|aix4.[012].*)
   17796 	# We only want to do this on AIX 4.2 and lower, the check
   17797 	# below for broken collect2 doesn't work under 4.3+
   17798 	  collect2name=`${CC} -print-prog-name=collect2`
   17799 	  if test -f "$collect2name" && \
   17800   	   strings "$collect2name" | grep resolve_lib_name >/dev/null
   17801 	  then
   17802   	  # We have reworked collect2
   17803   	  :
   17804 	  else
   17805   	  # We have old collect2
   17806   	  hardcode_direct_GCJ=unsupported
   17807   	  # It fails to find uninstalled libraries when the uninstalled
   17808   	  # path is not listed in the libpath.  Setting hardcode_minus_L
   17809   	  # to unsupported forces relinking
   17810   	  hardcode_minus_L_GCJ=yes
   17811   	  hardcode_libdir_flag_spec_GCJ='-L$libdir'
   17812   	  hardcode_libdir_separator_GCJ=
   17813 	  fi
   17814 	  ;;
   17815 	esac
   17816 	shared_flag='-shared'
   17817 	if test "$aix_use_runtimelinking" = yes; then
   17818 	  shared_flag="$shared_flag "'${wl}-G'
   17819 	fi
   17820       else
   17821 	# not using gcc
   17822 	if test "$host_cpu" = ia64; then
   17823   	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   17824   	# chokes on -Wl,-G. The following line is correct:
   17825 	  shared_flag='-G'
   17826 	else
   17827 	  if test "$aix_use_runtimelinking" = yes; then
   17828 	    shared_flag='${wl}-G'
   17829 	  else
   17830 	    shared_flag='${wl}-bM:SRE'
   17831 	  fi
   17832 	fi
   17833       fi
   17834 
   17835       # It seems that -bexpall does not export symbols beginning with
   17836       # underscore (_), so it is better to generate a list of symbols to export.
   17837       always_export_symbols_GCJ=yes
   17838       if test "$aix_use_runtimelinking" = yes; then
   17839 	# Warning - without using the other runtime loading flags (-brtl),
   17840 	# -berok will link without error, but may produce a broken library.
   17841 	allow_undefined_flag_GCJ='-berok'
   17842        # Determine the default libpath from the value encoded in an empty executable.
   17843        cat >conftest.$ac_ext <<_ACEOF
   17844 /* confdefs.h.  */
   17845 _ACEOF
   17846 cat confdefs.h >>conftest.$ac_ext
   17847 cat >>conftest.$ac_ext <<_ACEOF
   17848 /* end confdefs.h.  */
   17849 
   17850 int
   17851 main ()
   17852 {
   17853 
   17854   ;
   17855   return 0;
   17856 }
   17857 _ACEOF
   17858 rm -f conftest.$ac_objext conftest$ac_exeext
   17859 if { (ac_try="$ac_link"
   17860 case "(($ac_try" in
   17861   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   17862   *) ac_try_echo=$ac_try;;
   17863 esac
   17864 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   17865 $as_echo "$ac_try_echo") >&5
   17866   (eval "$ac_link") 2>conftest.er1
   17867   ac_status=$?
   17868   grep -v '^ *+' conftest.er1 >conftest.err
   17869   rm -f conftest.er1
   17870   cat conftest.err >&5
   17871   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   17872   (exit $ac_status); } && {
   17873 	 test -z "$ac_c_werror_flag" ||
   17874 	 test ! -s conftest.err
   17875        } && test -s conftest$ac_exeext && {
   17876 	 test "$cross_compiling" = yes ||
   17877 	 $as_test_x conftest$ac_exeext
   17878        }; then
   17879 
   17880 lt_aix_libpath_sed='
   17881     /Import File Strings/,/^$/ {
   17882 	/^0/ {
   17883 	    s/^0  *\(.*\)$/\1/
   17884 	    p
   17885 	}
   17886     }'
   17887 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   17888 # Check for a 64-bit object if we didn't find anything.
   17889 if test -z "$aix_libpath"; then
   17890   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   17891 fi
   17892 else
   17893   $as_echo "$as_me: failed program was:" >&5
   17894 sed 's/^/| /' conftest.$ac_ext >&5
   17895 
   17896 
   17897 fi
   17898 
   17899 rm -rf conftest.dSYM
   17900 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   17901       conftest$ac_exeext conftest.$ac_ext
   17902 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   17903 
   17904        hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
   17905 	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"
   17906        else
   17907 	if test "$host_cpu" = ia64; then
   17908 	  hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib'
   17909 	  allow_undefined_flag_GCJ="-z nodefs"
   17910 	  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"
   17911 	else
   17912 	 # Determine the default libpath from the value encoded in an empty executable.
   17913 	 cat >conftest.$ac_ext <<_ACEOF
   17914 /* confdefs.h.  */
   17915 _ACEOF
   17916 cat confdefs.h >>conftest.$ac_ext
   17917 cat >>conftest.$ac_ext <<_ACEOF
   17918 /* end confdefs.h.  */
   17919 
   17920 int
   17921 main ()
   17922 {
   17923 
   17924   ;
   17925   return 0;
   17926 }
   17927 _ACEOF
   17928 rm -f conftest.$ac_objext conftest$ac_exeext
   17929 if { (ac_try="$ac_link"
   17930 case "(($ac_try" in
   17931   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   17932   *) ac_try_echo=$ac_try;;
   17933 esac
   17934 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   17935 $as_echo "$ac_try_echo") >&5
   17936   (eval "$ac_link") 2>conftest.er1
   17937   ac_status=$?
   17938   grep -v '^ *+' conftest.er1 >conftest.err
   17939   rm -f conftest.er1
   17940   cat conftest.err >&5
   17941   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   17942   (exit $ac_status); } && {
   17943 	 test -z "$ac_c_werror_flag" ||
   17944 	 test ! -s conftest.err
   17945        } && test -s conftest$ac_exeext && {
   17946 	 test "$cross_compiling" = yes ||
   17947 	 $as_test_x conftest$ac_exeext
   17948        }; then
   17949 
   17950 lt_aix_libpath_sed='
   17951     /Import File Strings/,/^$/ {
   17952 	/^0/ {
   17953 	    s/^0  *\(.*\)$/\1/
   17954 	    p
   17955 	}
   17956     }'
   17957 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   17958 # Check for a 64-bit object if we didn't find anything.
   17959 if test -z "$aix_libpath"; then
   17960   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   17961 fi
   17962 else
   17963   $as_echo "$as_me: failed program was:" >&5
   17964 sed 's/^/| /' conftest.$ac_ext >&5
   17965 
   17966 
   17967 fi
   17968 
   17969 rm -rf conftest.dSYM
   17970 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   17971       conftest$ac_exeext conftest.$ac_ext
   17972 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   17973 
   17974 	 hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
   17975 	  # Warning - without using the other run time loading flags,
   17976 	  # -berok will link without error, but may produce a broken library.
   17977 	  no_undefined_flag_GCJ=' ${wl}-bernotok'
   17978 	  allow_undefined_flag_GCJ=' ${wl}-berok'
   17979 	  # Exported symbols can be pulled into shared objects from archives
   17980 	  whole_archive_flag_spec_GCJ='$convenience'
   17981 	  archive_cmds_need_lc_GCJ=yes
   17982 	  # This is similar to how AIX traditionally builds its shared libraries.
   17983 	  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'
   17984 	fi
   17985       fi
   17986       ;;
   17987 
   17988     amigaos*)
   17989       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)'
   17990       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   17991       hardcode_minus_L_GCJ=yes
   17992       # see comment about different semantics on the GNU ld section
   17993       ld_shlibs_GCJ=no
   17994       ;;
   17995 
   17996     bsdi[45]*)
   17997       export_dynamic_flag_spec_GCJ=-rdynamic
   17998       ;;
   17999 
   18000     cygwin* | mingw* | pw32*)
   18001       # When not using gcc, we currently assume that we are using
   18002       # Microsoft Visual C++.
   18003       # hardcode_libdir_flag_spec is actually meaningless, as there is
   18004       # no search path for DLLs.
   18005       hardcode_libdir_flag_spec_GCJ=' '
   18006       allow_undefined_flag_GCJ=unsupported
   18007       # Tell ltmain to make .lib files, not .a files.
   18008       libext=lib
   18009       # Tell ltmain to make .dll files, not .so files.
   18010       shrext_cmds=".dll"
   18011       # FIXME: Setting linknames here is a bad hack.
   18012       archive_cmds_GCJ='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
   18013       # The linker will automatically build a .lib file if we build a DLL.
   18014       old_archive_From_new_cmds_GCJ='true'
   18015       # FIXME: Should let the user specify the lib program.
   18016       old_archive_cmds_GCJ='lib -OUT:$oldlib$oldobjs$old_deplibs'
   18017       fix_srcfile_path_GCJ='`cygpath -w "$srcfile"`'
   18018       enable_shared_with_static_runtimes_GCJ=yes
   18019       ;;
   18020 
   18021     darwin* | rhapsody*)
   18022       case $host_os in
   18023         rhapsody* | darwin1.[012])
   18024          allow_undefined_flag_GCJ='${wl}-undefined ${wl}suppress'
   18025          ;;
   18026        *) # Darwin 1.3 on
   18027          if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
   18028            allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   18029          else
   18030            case ${MACOSX_DEPLOYMENT_TARGET} in
   18031              10.[012])
   18032                allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   18033                ;;
   18034              10.*)
   18035                allow_undefined_flag_GCJ='${wl}-undefined ${wl}dynamic_lookup'
   18036                ;;
   18037            esac
   18038          fi
   18039          ;;
   18040       esac
   18041       archive_cmds_need_lc_GCJ=no
   18042       hardcode_direct_GCJ=no
   18043       hardcode_automatic_GCJ=yes
   18044       hardcode_shlibpath_var_GCJ=unsupported
   18045       whole_archive_flag_spec_GCJ=''
   18046       link_all_deplibs_GCJ=yes
   18047     if test "$GCC" = yes ; then
   18048     	output_verbose_link_cmd='echo'
   18049         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}"
   18050         module_cmds_GCJ="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
   18051         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}"
   18052         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}"
   18053     else
   18054       case $cc_basename in
   18055         xlc*)
   18056          output_verbose_link_cmd='echo'
   18057          archive_cmds_GCJ='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
   18058          module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
   18059           # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
   18060          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}'
   18061           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}'
   18062           ;;
   18063        *)
   18064          ld_shlibs_GCJ=no
   18065           ;;
   18066       esac
   18067     fi
   18068       ;;
   18069 
   18070     dgux*)
   18071       archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   18072       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   18073       hardcode_shlibpath_var_GCJ=no
   18074       ;;
   18075 
   18076     freebsd1*)
   18077       ld_shlibs_GCJ=no
   18078       ;;
   18079 
   18080     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   18081     # support.  Future versions do this automatically, but an explicit c++rt0.o
   18082     # does not break anything, and helps significantly (at the cost of a little
   18083     # extra space).
   18084     freebsd2.2*)
   18085       archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   18086       hardcode_libdir_flag_spec_GCJ='-R$libdir'
   18087       hardcode_direct_GCJ=yes
   18088       hardcode_shlibpath_var_GCJ=no
   18089       ;;
   18090 
   18091     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   18092     freebsd2*)
   18093       archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   18094       hardcode_direct_GCJ=yes
   18095       hardcode_minus_L_GCJ=yes
   18096       hardcode_shlibpath_var_GCJ=no
   18097       ;;
   18098 
   18099     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   18100     freebsd* | dragonfly*)
   18101       archive_cmds_GCJ='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
   18102       hardcode_libdir_flag_spec_GCJ='-R$libdir'
   18103       hardcode_direct_GCJ=yes
   18104       hardcode_shlibpath_var_GCJ=no
   18105       ;;
   18106 
   18107     hpux9*)
   18108       if test "$GCC" = yes; then
   18109 	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'
   18110       else
   18111 	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'
   18112       fi
   18113       hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
   18114       hardcode_libdir_separator_GCJ=:
   18115       hardcode_direct_GCJ=yes
   18116 
   18117       # hardcode_minus_L: Not really in the search PATH,
   18118       # but as the default location of the library.
   18119       hardcode_minus_L_GCJ=yes
   18120       export_dynamic_flag_spec_GCJ='${wl}-E'
   18121       ;;
   18122 
   18123     hpux10*)
   18124       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   18125 	archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   18126       else
   18127 	archive_cmds_GCJ='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   18128       fi
   18129       if test "$with_gnu_ld" = no; then
   18130 	hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
   18131 	hardcode_libdir_separator_GCJ=:
   18132 
   18133 	hardcode_direct_GCJ=yes
   18134 	export_dynamic_flag_spec_GCJ='${wl}-E'
   18135 
   18136 	# hardcode_minus_L: Not really in the search PATH,
   18137 	# but as the default location of the library.
   18138 	hardcode_minus_L_GCJ=yes
   18139       fi
   18140       ;;
   18141 
   18142     hpux11*)
   18143       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   18144 	case $host_cpu in
   18145 	hppa*64*)
   18146 	  archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   18147 	  ;;
   18148 	ia64*)
   18149 	  archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   18150 	  ;;
   18151 	*)
   18152 	  archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   18153 	  ;;
   18154 	esac
   18155       else
   18156 	case $host_cpu in
   18157 	hppa*64*)
   18158 	  archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   18159 	  ;;
   18160 	ia64*)
   18161 	  archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   18162 	  ;;
   18163 	*)
   18164 	  archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   18165 	  ;;
   18166 	esac
   18167       fi
   18168       if test "$with_gnu_ld" = no; then
   18169 	hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
   18170 	hardcode_libdir_separator_GCJ=:
   18171 
   18172 	case $host_cpu in
   18173 	hppa*64*|ia64*)
   18174 	  hardcode_libdir_flag_spec_ld_GCJ='+b $libdir'
   18175 	  hardcode_direct_GCJ=no
   18176 	  hardcode_shlibpath_var_GCJ=no
   18177 	  ;;
   18178 	*)
   18179 	  hardcode_direct_GCJ=yes
   18180 	  export_dynamic_flag_spec_GCJ='${wl}-E'
   18181 
   18182 	  # hardcode_minus_L: Not really in the search PATH,
   18183 	  # but as the default location of the library.
   18184 	  hardcode_minus_L_GCJ=yes
   18185 	  ;;
   18186 	esac
   18187       fi
   18188       ;;
   18189 
   18190     irix5* | irix6* | nonstopux*)
   18191       if test "$GCC" = yes; then
   18192 	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'
   18193       else
   18194 	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'
   18195 	hardcode_libdir_flag_spec_ld_GCJ='-rpath $libdir'
   18196       fi
   18197       hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
   18198       hardcode_libdir_separator_GCJ=:
   18199       link_all_deplibs_GCJ=yes
   18200       ;;
   18201 
   18202     netbsd*)
   18203       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   18204 	archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   18205       else
   18206 	archive_cmds_GCJ='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   18207       fi
   18208       hardcode_libdir_flag_spec_GCJ='-R$libdir'
   18209       hardcode_direct_GCJ=yes
   18210       hardcode_shlibpath_var_GCJ=no
   18211       ;;
   18212 
   18213     newsos6)
   18214       archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   18215       hardcode_direct_GCJ=yes
   18216       hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
   18217       hardcode_libdir_separator_GCJ=:
   18218       hardcode_shlibpath_var_GCJ=no
   18219       ;;
   18220 
   18221     openbsd*)
   18222       if test -f /usr/libexec/ld.so; then
   18223 	hardcode_direct_GCJ=yes
   18224 	hardcode_shlibpath_var_GCJ=no
   18225 	if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   18226 	  archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   18227 	  archive_expsym_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
   18228 	  hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
   18229 	  export_dynamic_flag_spec_GCJ='${wl}-E'
   18230 	else
   18231 	  case $host_os in
   18232 	   openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
   18233 	     archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   18234 	     hardcode_libdir_flag_spec_GCJ='-R$libdir'
   18235 	     ;;
   18236 	   *)
   18237 	     archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   18238 	     hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
   18239 	     ;;
   18240 	  esac
   18241         fi
   18242       else
   18243 	ld_shlibs_GCJ=no
   18244       fi
   18245       ;;
   18246 
   18247     os2*)
   18248       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   18249       hardcode_minus_L_GCJ=yes
   18250       allow_undefined_flag_GCJ=unsupported
   18251       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'
   18252       old_archive_From_new_cmds_GCJ='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
   18253       ;;
   18254 
   18255     osf3*)
   18256       if test "$GCC" = yes; then
   18257 	allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
   18258 	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'
   18259       else
   18260 	allow_undefined_flag_GCJ=' -expect_unresolved \*'
   18261 	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'
   18262       fi
   18263       hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
   18264       hardcode_libdir_separator_GCJ=:
   18265       ;;
   18266 
   18267     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   18268       if test "$GCC" = yes; then
   18269 	allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
   18270 	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'
   18271 	hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
   18272       else
   18273 	allow_undefined_flag_GCJ=' -expect_unresolved \*'
   18274 	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'
   18275 	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~
   18276 	$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'
   18277 
   18278 	# Both c and cxx compiler support -rpath directly
   18279 	hardcode_libdir_flag_spec_GCJ='-rpath $libdir'
   18280       fi
   18281       hardcode_libdir_separator_GCJ=:
   18282       ;;
   18283 
   18284     solaris*)
   18285       no_undefined_flag_GCJ=' -z text'
   18286       if test "$GCC" = yes; then
   18287 	wlarc='${wl}'
   18288 	archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   18289 	archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   18290 	  $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
   18291       else
   18292 	wlarc=''
   18293 	archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
   18294 	archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   18295   	$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
   18296       fi
   18297       hardcode_libdir_flag_spec_GCJ='-R$libdir'
   18298       hardcode_shlibpath_var_GCJ=no
   18299       case $host_os in
   18300       solaris2.[0-5] | solaris2.[0-5].*) ;;
   18301       *)
   18302 	# The compiler driver will combine and reorder linker options,
   18303 	# but understands `-z linker_flag'.  GCC discards it without `$wl',
   18304 	# but is careful enough not to reorder.
   18305  	# Supported since Solaris 2.6 (maybe 2.5.1?)
   18306 	if test "$GCC" = yes; then
   18307 	  whole_archive_flag_spec_GCJ='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
   18308 	else
   18309 	  whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract'
   18310 	fi
   18311 	;;
   18312       esac
   18313       link_all_deplibs_GCJ=yes
   18314       ;;
   18315 
   18316     sunos4*)
   18317       if test "x$host_vendor" = xsequent; then
   18318 	# Use $CC to link under sequent, because it throws in some extra .o
   18319 	# files that make .init and .fini sections work.
   18320 	archive_cmds_GCJ='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   18321       else
   18322 	archive_cmds_GCJ='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   18323       fi
   18324       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   18325       hardcode_direct_GCJ=yes
   18326       hardcode_minus_L_GCJ=yes
   18327       hardcode_shlibpath_var_GCJ=no
   18328       ;;
   18329 
   18330     sysv4)
   18331       case $host_vendor in
   18332 	sni)
   18333 	  archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   18334 	  hardcode_direct_GCJ=yes # is this really true???
   18335 	;;
   18336 	siemens)
   18337 	  ## LD is ld it makes a PLAMLIB
   18338 	  ## CC just makes a GrossModule.
   18339 	  archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   18340 	  reload_cmds_GCJ='$CC -r -o $output$reload_objs'
   18341 	  hardcode_direct_GCJ=no
   18342         ;;
   18343 	motorola)
   18344 	  archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   18345 	  hardcode_direct_GCJ=no #Motorola manual says yes, but my tests say they lie
   18346 	;;
   18347       esac
   18348       runpath_var='LD_RUN_PATH'
   18349       hardcode_shlibpath_var_GCJ=no
   18350       ;;
   18351 
   18352     sysv4.3*)
   18353       archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   18354       hardcode_shlibpath_var_GCJ=no
   18355       export_dynamic_flag_spec_GCJ='-Bexport'
   18356       ;;
   18357 
   18358     sysv4*MP*)
   18359       if test -d /usr/nec; then
   18360 	archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   18361 	hardcode_shlibpath_var_GCJ=no
   18362 	runpath_var=LD_RUN_PATH
   18363 	hardcode_runpath_var=yes
   18364 	ld_shlibs_GCJ=yes
   18365       fi
   18366       ;;
   18367 
   18368     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   18369       no_undefined_flag_GCJ='${wl}-z,text'
   18370       archive_cmds_need_lc_GCJ=no
   18371       hardcode_shlibpath_var_GCJ=no
   18372       runpath_var='LD_RUN_PATH'
   18373 
   18374       if test "$GCC" = yes; then
   18375 	archive_cmds_GCJ='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   18376 	archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   18377       else
   18378 	archive_cmds_GCJ='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   18379 	archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   18380       fi
   18381       ;;
   18382 
   18383     sysv5* | sco3.2v5* | sco5v6*)
   18384       # Note: We can NOT use -z defs as we might desire, because we do not
   18385       # link with -lc, and that would cause any symbols used from libc to
   18386       # always be unresolved, which means just about no library would
   18387       # ever link correctly.  If we're not using GNU ld we use -z text
   18388       # though, which does catch some bad symbols but isn't as heavy-handed
   18389       # as -z defs.
   18390       no_undefined_flag_GCJ='${wl}-z,text'
   18391       allow_undefined_flag_GCJ='${wl}-z,nodefs'
   18392       archive_cmds_need_lc_GCJ=no
   18393       hardcode_shlibpath_var_GCJ=no
   18394       hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
   18395       hardcode_libdir_separator_GCJ=':'
   18396       link_all_deplibs_GCJ=yes
   18397       export_dynamic_flag_spec_GCJ='${wl}-Bexport'
   18398       runpath_var='LD_RUN_PATH'
   18399 
   18400       if test "$GCC" = yes; then
   18401 	archive_cmds_GCJ='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   18402 	archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   18403       else
   18404 	archive_cmds_GCJ='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   18405 	archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   18406       fi
   18407       ;;
   18408 
   18409     uts4*)
   18410       archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   18411       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   18412       hardcode_shlibpath_var_GCJ=no
   18413       ;;
   18414 
   18415     *)
   18416       ld_shlibs_GCJ=no
   18417       ;;
   18418     esac
   18419   fi
   18420 
   18421 { $as_echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
   18422 $as_echo "$ld_shlibs_GCJ" >&6; }
   18423 test "$ld_shlibs_GCJ" = no && can_build_shared=no
   18424 
   18425 #
   18426 # Do we need to explicitly link libc?
   18427 #
   18428 case "x$archive_cmds_need_lc_GCJ" in
   18429 x|xyes)
   18430   # Assume -lc should be added
   18431   archive_cmds_need_lc_GCJ=yes
   18432 
   18433   if test "$enable_shared" = yes && test "$GCC" = yes; then
   18434     case $archive_cmds_GCJ in
   18435     *'~'*)
   18436       # FIXME: we may have to deal with multi-command sequences.
   18437       ;;
   18438     '$CC '*)
   18439       # Test whether the compiler implicitly links with -lc since on some
   18440       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   18441       # to ld, don't add -lc before -lgcc.
   18442       { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
   18443 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
   18444       $rm conftest*
   18445       echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   18446 
   18447       if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   18448   (eval $ac_compile) 2>&5
   18449   ac_status=$?
   18450   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   18451   (exit $ac_status); } 2>conftest.err; then
   18452         soname=conftest
   18453         lib=conftest
   18454         libobjs=conftest.$ac_objext
   18455         deplibs=
   18456         wl=$lt_prog_compiler_wl_GCJ
   18457 	pic_flag=$lt_prog_compiler_pic_GCJ
   18458         compiler_flags=-v
   18459         linker_flags=-v
   18460         verstring=
   18461         output_objdir=.
   18462         libname=conftest
   18463         lt_save_allow_undefined_flag=$allow_undefined_flag_GCJ
   18464         allow_undefined_flag_GCJ=
   18465         if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
   18466   (eval $archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
   18467   ac_status=$?
   18468   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   18469   (exit $ac_status); }
   18470         then
   18471 	  archive_cmds_need_lc_GCJ=no
   18472         else
   18473 	  archive_cmds_need_lc_GCJ=yes
   18474         fi
   18475         allow_undefined_flag_GCJ=$lt_save_allow_undefined_flag
   18476       else
   18477         cat conftest.err 1>&5
   18478       fi
   18479       $rm conftest*
   18480       { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
   18481 $as_echo "$archive_cmds_need_lc_GCJ" >&6; }
   18482       ;;
   18483     esac
   18484   fi
   18485   ;;
   18486 esac
   18487 
   18488 { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
   18489 $as_echo_n "checking dynamic linker characteristics... " >&6; }
   18490 library_names_spec=
   18491 libname_spec='lib$name'
   18492 soname_spec=
   18493 shrext_cmds=".so"
   18494 postinstall_cmds=
   18495 postuninstall_cmds=
   18496 finish_cmds=
   18497 finish_eval=
   18498 shlibpath_var=
   18499 shlibpath_overrides_runpath=unknown
   18500 version_type=none
   18501 dynamic_linker="$host_os ld.so"
   18502 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   18503 
   18504 need_lib_prefix=unknown
   18505 hardcode_into_libs=no
   18506 
   18507 # when you set need_version to no, make sure it does not cause -set_version
   18508 # flags to be left without arguments
   18509 need_version=unknown
   18510 
   18511 case $host_os in
   18512 aix3*)
   18513   version_type=linux
   18514   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   18515   shlibpath_var=LIBPATH
   18516 
   18517   # AIX 3 has no versioning support, so we append a major version to the name.
   18518   soname_spec='${libname}${release}${shared_ext}$major'
   18519   ;;
   18520 
   18521 aix[4-9]*)
   18522   version_type=linux
   18523   need_lib_prefix=no
   18524   need_version=no
   18525   hardcode_into_libs=yes
   18526   if test "$host_cpu" = ia64; then
   18527     # AIX 5 supports IA64
   18528     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
   18529     shlibpath_var=LD_LIBRARY_PATH
   18530   else
   18531     # With GCC up to 2.95.x, collect2 would create an import file
   18532     # for dependence libraries.  The import file would start with
   18533     # the line `#! .'.  This would cause the generated library to
   18534     # depend on `.', always an invalid library.  This was fixed in
   18535     # development snapshots of GCC prior to 3.0.
   18536     case $host_os in
   18537       aix4 | aix4.[01] | aix4.[01].*)
   18538       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   18539 	   echo ' yes '
   18540 	   echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
   18541 	:
   18542       else
   18543 	can_build_shared=no
   18544       fi
   18545       ;;
   18546     esac
   18547     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
   18548     # soname into executable. Probably we can add versioning support to
   18549     # collect2, so additional links can be useful in future.
   18550     if test "$aix_use_runtimelinking" = yes; then
   18551       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   18552       # instead of lib<name>.a to let people know that these are not
   18553       # typical AIX shared libraries.
   18554       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18555     else
   18556       # We preserve .a as extension for shared libraries through AIX4.2
   18557       # and later when we are not doing run time linking.
   18558       library_names_spec='${libname}${release}.a $libname.a'
   18559       soname_spec='${libname}${release}${shared_ext}$major'
   18560     fi
   18561     shlibpath_var=LIBPATH
   18562   fi
   18563   ;;
   18564 
   18565 amigaos*)
   18566   library_names_spec='$libname.ixlibrary $libname.a'
   18567   # Create ${libname}_ixlibrary.a entries in /sys/libs.
   18568   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'
   18569   ;;
   18570 
   18571 beos*)
   18572   library_names_spec='${libname}${shared_ext}'
   18573   dynamic_linker="$host_os ld.so"
   18574   shlibpath_var=LIBRARY_PATH
   18575   ;;
   18576 
   18577 bsdi[45]*)
   18578   version_type=linux
   18579   need_version=no
   18580   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18581   soname_spec='${libname}${release}${shared_ext}$major'
   18582   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   18583   shlibpath_var=LD_LIBRARY_PATH
   18584   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   18585   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   18586   # the default ld.so.conf also contains /usr/contrib/lib and
   18587   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   18588   # libtool to hard-code these into programs
   18589   ;;
   18590 
   18591 cygwin* | mingw* | pw32*)
   18592   version_type=windows
   18593   shrext_cmds=".dll"
   18594   need_version=no
   18595   need_lib_prefix=no
   18596 
   18597   case $GCC,$host_os in
   18598   yes,cygwin* | yes,mingw* | yes,pw32*)
   18599     library_names_spec='$libname.dll.a'
   18600     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   18601     postinstall_cmds='base_file=`basename \${file}`~
   18602       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
   18603       dldir=$destdir/`dirname \$dlpath`~
   18604       test -d \$dldir || mkdir -p \$dldir~
   18605       $install_prog $dir/$dlname \$dldir/$dlname~
   18606       chmod a+x \$dldir/$dlname'
   18607     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   18608       dlpath=$dir/\$dldll~
   18609        $rm \$dlpath'
   18610     shlibpath_overrides_runpath=yes
   18611 
   18612     case $host_os in
   18613     cygwin*)
   18614       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   18615       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   18616       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
   18617       ;;
   18618     mingw*)
   18619       # MinGW DLLs use traditional 'lib' prefix
   18620       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   18621       sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   18622       if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
   18623         # It is most probably a Windows format PATH printed by
   18624         # mingw gcc, but we are running on Cygwin. Gcc prints its search
   18625         # path with ; separators, and with drive letters. We can handle the
   18626         # drive letters (cygwin fileutils understands them), so leave them,
   18627         # especially as we might pass files found there to a mingw objdump,
   18628         # which wouldn't understand a cygwinified path. Ahh.
   18629         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   18630       else
   18631         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   18632       fi
   18633       ;;
   18634     pw32*)
   18635       # pw32 DLLs use 'pw' prefix rather than 'lib'
   18636       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   18637       ;;
   18638     esac
   18639     ;;
   18640 
   18641   *)
   18642     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
   18643     ;;
   18644   esac
   18645   dynamic_linker='Win32 ld.exe'
   18646   # FIXME: first we should search . and the directory the executable is in
   18647   shlibpath_var=PATH
   18648   ;;
   18649 
   18650 darwin* | rhapsody*)
   18651   dynamic_linker="$host_os dyld"
   18652   version_type=darwin
   18653   need_lib_prefix=no
   18654   need_version=no
   18655   library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
   18656   soname_spec='${libname}${release}${major}$shared_ext'
   18657   shlibpath_overrides_runpath=yes
   18658   shlibpath_var=DYLD_LIBRARY_PATH
   18659   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   18660 
   18661   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   18662   ;;
   18663 
   18664 dgux*)
   18665   version_type=linux
   18666   need_lib_prefix=no
   18667   need_version=no
   18668   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
   18669   soname_spec='${libname}${release}${shared_ext}$major'
   18670   shlibpath_var=LD_LIBRARY_PATH
   18671   ;;
   18672 
   18673 freebsd1*)
   18674   dynamic_linker=no
   18675   ;;
   18676 
   18677 freebsd* | dragonfly*)
   18678   # DragonFly does not have aout.  When/if they implement a new
   18679   # versioning mechanism, adjust this.
   18680   if test -x /usr/bin/objformat; then
   18681     objformat=`/usr/bin/objformat`
   18682   else
   18683     case $host_os in
   18684     freebsd[123]*) objformat=aout ;;
   18685     *) objformat=elf ;;
   18686     esac
   18687   fi
   18688   version_type=freebsd-$objformat
   18689   case $version_type in
   18690     freebsd-elf*)
   18691       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   18692       need_version=no
   18693       need_lib_prefix=no
   18694       ;;
   18695     freebsd-*)
   18696       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
   18697       need_version=yes
   18698       ;;
   18699   esac
   18700   shlibpath_var=LD_LIBRARY_PATH
   18701   case $host_os in
   18702   freebsd2*)
   18703     shlibpath_overrides_runpath=yes
   18704     ;;
   18705   freebsd3.[01]* | freebsdelf3.[01]*)
   18706     shlibpath_overrides_runpath=yes
   18707     hardcode_into_libs=yes
   18708     ;;
   18709   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   18710   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   18711     shlibpath_overrides_runpath=no
   18712     hardcode_into_libs=yes
   18713     ;;
   18714   *) # from 4.6 on, and DragonFly
   18715     shlibpath_overrides_runpath=yes
   18716     hardcode_into_libs=yes
   18717     ;;
   18718   esac
   18719   ;;
   18720 
   18721 gnu*)
   18722   version_type=linux
   18723   need_lib_prefix=no
   18724   need_version=no
   18725   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   18726   soname_spec='${libname}${release}${shared_ext}$major'
   18727   shlibpath_var=LD_LIBRARY_PATH
   18728   hardcode_into_libs=yes
   18729   ;;
   18730 
   18731 hpux9* | hpux10* | hpux11*)
   18732   # Give a soname corresponding to the major version so that dld.sl refuses to
   18733   # link against other versions.
   18734   version_type=sunos
   18735   need_lib_prefix=no
   18736   need_version=no
   18737   case $host_cpu in
   18738   ia64*)
   18739     shrext_cmds='.so'
   18740     hardcode_into_libs=yes
   18741     dynamic_linker="$host_os dld.so"
   18742     shlibpath_var=LD_LIBRARY_PATH
   18743     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   18744     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18745     soname_spec='${libname}${release}${shared_ext}$major'
   18746     if test "X$HPUX_IA64_MODE" = X32; then
   18747       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   18748     else
   18749       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   18750     fi
   18751     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   18752     ;;
   18753    hppa*64*)
   18754      shrext_cmds='.sl'
   18755      hardcode_into_libs=yes
   18756      dynamic_linker="$host_os dld.sl"
   18757      shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   18758      shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   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      sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   18762      sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   18763      ;;
   18764    *)
   18765     shrext_cmds='.sl'
   18766     dynamic_linker="$host_os dld.sl"
   18767     shlibpath_var=SHLIB_PATH
   18768     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   18769     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18770     soname_spec='${libname}${release}${shared_ext}$major'
   18771     ;;
   18772   esac
   18773   # HP-UX runs *really* slowly unless shared libraries are mode 555.
   18774   postinstall_cmds='chmod 555 $lib'
   18775   ;;
   18776 
   18777 interix[3-9]*)
   18778   version_type=linux
   18779   need_lib_prefix=no
   18780   need_version=no
   18781   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   18782   soname_spec='${libname}${release}${shared_ext}$major'
   18783   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   18784   shlibpath_var=LD_LIBRARY_PATH
   18785   shlibpath_overrides_runpath=no
   18786   hardcode_into_libs=yes
   18787   ;;
   18788 
   18789 irix5* | irix6* | nonstopux*)
   18790   case $host_os in
   18791     nonstopux*) version_type=nonstopux ;;
   18792     *)
   18793 	if test "$lt_cv_prog_gnu_ld" = yes; then
   18794 		version_type=linux
   18795 	else
   18796 		version_type=irix
   18797 	fi ;;
   18798   esac
   18799   need_lib_prefix=no
   18800   need_version=no
   18801   soname_spec='${libname}${release}${shared_ext}$major'
   18802   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
   18803   case $host_os in
   18804   irix5* | nonstopux*)
   18805     libsuff= shlibsuff=
   18806     ;;
   18807   *)
   18808     case $LD in # libtool.m4 will add one of these switches to LD
   18809     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   18810       libsuff= shlibsuff= libmagic=32-bit;;
   18811     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   18812       libsuff=32 shlibsuff=N32 libmagic=N32;;
   18813     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   18814       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   18815     *) libsuff= shlibsuff= libmagic=never-match;;
   18816     esac
   18817     ;;
   18818   esac
   18819   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   18820   shlibpath_overrides_runpath=no
   18821   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   18822   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   18823   hardcode_into_libs=yes
   18824   ;;
   18825 
   18826 # No shared lib support for Linux oldld, aout, or coff.
   18827 linux*oldld* | linux*aout* | linux*coff*)
   18828   dynamic_linker=no
   18829   ;;
   18830 
   18831 # This must be Linux ELF.
   18832 linux* | k*bsd*-gnu)
   18833   version_type=linux
   18834   need_lib_prefix=no
   18835   need_version=no
   18836   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18837   soname_spec='${libname}${release}${shared_ext}$major'
   18838   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   18839   shlibpath_var=LD_LIBRARY_PATH
   18840   shlibpath_overrides_runpath=no
   18841   # This implies no fast_install, which is unacceptable.
   18842   # Some rework will be needed to allow for fast_install
   18843   # before this can be enabled.
   18844   hardcode_into_libs=yes
   18845 
   18846   # Append ld.so.conf contents to the search path
   18847   if test -f /etc/ld.so.conf; then
   18848     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' ' '`
   18849     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   18850   fi
   18851 
   18852   # We used to test for /lib/ld.so.1 and disable shared libraries on
   18853   # powerpc, because MkLinux only supported shared libraries with the
   18854   # GNU dynamic linker.  Since this was broken with cross compilers,
   18855   # most powerpc-linux boxes support dynamic linking these days and
   18856   # people can always --disable-shared, the test was removed, and we
   18857   # assume the GNU/Linux dynamic linker is in use.
   18858   dynamic_linker='GNU/Linux ld.so'
   18859   ;;
   18860 
   18861 netbsd*)
   18862   version_type=sunos
   18863   need_lib_prefix=no
   18864   need_version=no
   18865   if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   18866     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   18867     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   18868     dynamic_linker='NetBSD (a.out) ld.so'
   18869   else
   18870     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   18871     soname_spec='${libname}${release}${shared_ext}$major'
   18872     dynamic_linker='NetBSD ld.elf_so'
   18873   fi
   18874   shlibpath_var=LD_LIBRARY_PATH
   18875   shlibpath_overrides_runpath=yes
   18876   hardcode_into_libs=yes
   18877   ;;
   18878 
   18879 newsos6)
   18880   version_type=linux
   18881   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18882   shlibpath_var=LD_LIBRARY_PATH
   18883   shlibpath_overrides_runpath=yes
   18884   ;;
   18885 
   18886 nto-qnx*)
   18887   version_type=linux
   18888   need_lib_prefix=no
   18889   need_version=no
   18890   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18891   soname_spec='${libname}${release}${shared_ext}$major'
   18892   shlibpath_var=LD_LIBRARY_PATH
   18893   shlibpath_overrides_runpath=yes
   18894   ;;
   18895 
   18896 openbsd*)
   18897   version_type=sunos
   18898   sys_lib_dlsearch_path_spec="/usr/lib"
   18899   need_lib_prefix=no
   18900   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
   18901   case $host_os in
   18902     openbsd3.3 | openbsd3.3.*) need_version=yes ;;
   18903     *)                         need_version=no  ;;
   18904   esac
   18905   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   18906   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   18907   shlibpath_var=LD_LIBRARY_PATH
   18908   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   18909     case $host_os in
   18910       openbsd2.[89] | openbsd2.[89].*)
   18911 	shlibpath_overrides_runpath=no
   18912 	;;
   18913       *)
   18914 	shlibpath_overrides_runpath=yes
   18915 	;;
   18916       esac
   18917   else
   18918     shlibpath_overrides_runpath=yes
   18919   fi
   18920   ;;
   18921 
   18922 os2*)
   18923   libname_spec='$name'
   18924   shrext_cmds=".dll"
   18925   need_lib_prefix=no
   18926   library_names_spec='$libname${shared_ext} $libname.a'
   18927   dynamic_linker='OS/2 ld.exe'
   18928   shlibpath_var=LIBPATH
   18929   ;;
   18930 
   18931 osf3* | osf4* | osf5*)
   18932   version_type=osf
   18933   need_lib_prefix=no
   18934   need_version=no
   18935   soname_spec='${libname}${release}${shared_ext}$major'
   18936   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18937   shlibpath_var=LD_LIBRARY_PATH
   18938   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   18939   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   18940   ;;
   18941 
   18942 rdos*)
   18943   dynamic_linker=no
   18944   ;;
   18945 
   18946 solaris*)
   18947   version_type=linux
   18948   need_lib_prefix=no
   18949   need_version=no
   18950   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18951   soname_spec='${libname}${release}${shared_ext}$major'
   18952   shlibpath_var=LD_LIBRARY_PATH
   18953   shlibpath_overrides_runpath=yes
   18954   hardcode_into_libs=yes
   18955   # ldd complains unless libraries are executable
   18956   postinstall_cmds='chmod +x $lib'
   18957   ;;
   18958 
   18959 sunos4*)
   18960   version_type=sunos
   18961   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   18962   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   18963   shlibpath_var=LD_LIBRARY_PATH
   18964   shlibpath_overrides_runpath=yes
   18965   if test "$with_gnu_ld" = yes; then
   18966     need_lib_prefix=no
   18967   fi
   18968   need_version=yes
   18969   ;;
   18970 
   18971 sysv4 | sysv4.3*)
   18972   version_type=linux
   18973   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18974   soname_spec='${libname}${release}${shared_ext}$major'
   18975   shlibpath_var=LD_LIBRARY_PATH
   18976   case $host_vendor in
   18977     sni)
   18978       shlibpath_overrides_runpath=no
   18979       need_lib_prefix=no
   18980       export_dynamic_flag_spec='${wl}-Blargedynsym'
   18981       runpath_var=LD_RUN_PATH
   18982       ;;
   18983     siemens)
   18984       need_lib_prefix=no
   18985       ;;
   18986     motorola)
   18987       need_lib_prefix=no
   18988       need_version=no
   18989       shlibpath_overrides_runpath=no
   18990       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   18991       ;;
   18992   esac
   18993   ;;
   18994 
   18995 sysv4*MP*)
   18996   if test -d /usr/nec ;then
   18997     version_type=linux
   18998     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
   18999     soname_spec='$libname${shared_ext}.$major'
   19000     shlibpath_var=LD_LIBRARY_PATH
   19001   fi
   19002   ;;
   19003 
   19004 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   19005   version_type=freebsd-elf
   19006   need_lib_prefix=no
   19007   need_version=no
   19008   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   19009   soname_spec='${libname}${release}${shared_ext}$major'
   19010   shlibpath_var=LD_LIBRARY_PATH
   19011   hardcode_into_libs=yes
   19012   if test "$with_gnu_ld" = yes; then
   19013     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   19014     shlibpath_overrides_runpath=no
   19015   else
   19016     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   19017     shlibpath_overrides_runpath=yes
   19018     case $host_os in
   19019       sco3.2v5*)
   19020         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   19021 	;;
   19022     esac
   19023   fi
   19024   sys_lib_dlsearch_path_spec='/usr/lib'
   19025   ;;
   19026 
   19027 uts4*)
   19028   version_type=linux
   19029   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   19030   soname_spec='${libname}${release}${shared_ext}$major'
   19031   shlibpath_var=LD_LIBRARY_PATH
   19032   ;;
   19033 
   19034 *)
   19035   dynamic_linker=no
   19036   ;;
   19037 esac
   19038 { $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
   19039 $as_echo "$dynamic_linker" >&6; }
   19040 test "$dynamic_linker" = no && can_build_shared=no
   19041 
   19042 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
   19043   $as_echo_n "(cached) " >&6
   19044 else
   19045   lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
   19046 fi
   19047 
   19048 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
   19049 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
   19050   $as_echo_n "(cached) " >&6
   19051 else
   19052   lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
   19053 fi
   19054 
   19055 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
   19056 
   19057 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   19058 if test "$GCC" = yes; then
   19059   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   19060 fi
   19061 
   19062 { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
   19063 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
   19064 hardcode_action_GCJ=
   19065 if test -n "$hardcode_libdir_flag_spec_GCJ" || \
   19066    test -n "$runpath_var_GCJ" || \
   19067    test "X$hardcode_automatic_GCJ" = "Xyes" ; then
   19068 
   19069   # We can hardcode non-existant directories.
   19070   if test "$hardcode_direct_GCJ" != no &&
   19071      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   19072      # have to relink, otherwise we might link with an installed library
   19073      # when we should be linking with a yet-to-be-installed one
   19074      ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
   19075      test "$hardcode_minus_L_GCJ" != no; then
   19076     # Linking always hardcodes the temporary library directory.
   19077     hardcode_action_GCJ=relink
   19078   else
   19079     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   19080     hardcode_action_GCJ=immediate
   19081   fi
   19082 else
   19083   # We cannot hardcode anything, or else we can only hardcode existing
   19084   # directories.
   19085   hardcode_action_GCJ=unsupported
   19086 fi
   19087 { $as_echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
   19088 $as_echo "$hardcode_action_GCJ" >&6; }
   19089 
   19090 if test "$hardcode_action_GCJ" = relink; then
   19091   # Fast installation is not supported
   19092   enable_fast_install=no
   19093 elif test "$shlibpath_overrides_runpath" = yes ||
   19094      test "$enable_shared" = no; then
   19095   # Fast installation is not necessary
   19096   enable_fast_install=needless
   19097 fi
   19098 
   19099 
   19100 # The else clause should only fire when bootstrapping the
   19101 # libtool distribution, otherwise you forgot to ship ltmain.sh
   19102 # with your package, and you will get complaints that there are
   19103 # no rules to generate ltmain.sh.
   19104 if test -f "$ltmain"; then
   19105   # See if we are running on zsh, and set the options which allow our commands through
   19106   # without removal of \ escapes.
   19107   if test -n "${ZSH_VERSION+set}" ; then
   19108     setopt NO_GLOB_SUBST
   19109   fi
   19110   # Now quote all the things that may contain metacharacters while being
   19111   # careful not to overquote the AC_SUBSTed values.  We take copies of the
   19112   # variables and quote the copies for generation of the libtool script.
   19113   for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
   19114     SED SHELL STRIP \
   19115     libname_spec library_names_spec soname_spec extract_expsyms_cmds \
   19116     old_striplib striplib file_magic_cmd finish_cmds finish_eval \
   19117     deplibs_check_method reload_flag reload_cmds need_locks \
   19118     lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
   19119     lt_cv_sys_global_symbol_to_c_name_address \
   19120     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
   19121     old_postinstall_cmds old_postuninstall_cmds \
   19122     compiler_GCJ \
   19123     CC_GCJ \
   19124     LD_GCJ \
   19125     lt_prog_compiler_wl_GCJ \
   19126     lt_prog_compiler_pic_GCJ \
   19127     lt_prog_compiler_static_GCJ \
   19128     lt_prog_compiler_no_builtin_flag_GCJ \
   19129     export_dynamic_flag_spec_GCJ \
   19130     thread_safe_flag_spec_GCJ \
   19131     whole_archive_flag_spec_GCJ \
   19132     enable_shared_with_static_runtimes_GCJ \
   19133     old_archive_cmds_GCJ \
   19134     old_archive_from_new_cmds_GCJ \
   19135     predep_objects_GCJ \
   19136     postdep_objects_GCJ \
   19137     predeps_GCJ \
   19138     postdeps_GCJ \
   19139     compiler_lib_search_path_GCJ \
   19140     compiler_lib_search_dirs_GCJ \
   19141     archive_cmds_GCJ \
   19142     archive_expsym_cmds_GCJ \
   19143     postinstall_cmds_GCJ \
   19144     postuninstall_cmds_GCJ \
   19145     old_archive_from_expsyms_cmds_GCJ \
   19146     allow_undefined_flag_GCJ \
   19147     no_undefined_flag_GCJ \
   19148     export_symbols_cmds_GCJ \
   19149     hardcode_libdir_flag_spec_GCJ \
   19150     hardcode_libdir_flag_spec_ld_GCJ \
   19151     hardcode_libdir_separator_GCJ \
   19152     hardcode_automatic_GCJ \
   19153     module_cmds_GCJ \
   19154     module_expsym_cmds_GCJ \
   19155     lt_cv_prog_compiler_c_o_GCJ \
   19156     fix_srcfile_path_GCJ \
   19157     exclude_expsyms_GCJ \
   19158     include_expsyms_GCJ; do
   19159 
   19160     case $var in
   19161     old_archive_cmds_GCJ | \
   19162     old_archive_from_new_cmds_GCJ | \
   19163     archive_cmds_GCJ | \
   19164     archive_expsym_cmds_GCJ | \
   19165     module_cmds_GCJ | \
   19166     module_expsym_cmds_GCJ | \
   19167     old_archive_from_expsyms_cmds_GCJ | \
   19168     export_symbols_cmds_GCJ | \
   19169     extract_expsyms_cmds | reload_cmds | finish_cmds | \
   19170     postinstall_cmds | postuninstall_cmds | \
   19171     old_postinstall_cmds | old_postuninstall_cmds | \
   19172     sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
   19173       # Double-quote double-evaled strings.
   19174       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
   19175       ;;
   19176     *)
   19177       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
   19178       ;;
   19179     esac
   19180   done
   19181 
   19182   case $lt_echo in
   19183   *'\$0 --fallback-echo"')
   19184     lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
   19185     ;;
   19186   esac
   19187 
   19188 cfgfile="$ofile"
   19189 
   19190   cat <<__EOF__ >> "$cfgfile"
   19191 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
   19192 
   19193 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   19194 
   19195 # Shell to use when invoking shell scripts.
   19196 SHELL=$lt_SHELL
   19197 
   19198 # Whether or not to build shared libraries.
   19199 build_libtool_libs=$enable_shared
   19200 
   19201 # Whether or not to build static libraries.
   19202 build_old_libs=$enable_static
   19203 
   19204 # Whether or not to add -lc for building shared libraries.
   19205 build_libtool_need_lc=$archive_cmds_need_lc_GCJ
   19206 
   19207 # Whether or not to disallow shared libs when runtime libs are static
   19208 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
   19209 
   19210 # Whether or not to optimize for fast installation.
   19211 fast_install=$enable_fast_install
   19212 
   19213 # The host system.
   19214 host_alias=$host_alias
   19215 host=$host
   19216 host_os=$host_os
   19217 
   19218 # The build system.
   19219 build_alias=$build_alias
   19220 build=$build
   19221 build_os=$build_os
   19222 
   19223 # An echo program that does not interpret backslashes.
   19224 echo=$lt_echo
   19225 
   19226 # The archiver.
   19227 AR=$lt_AR
   19228 AR_FLAGS=$lt_AR_FLAGS
   19229 
   19230 # A C compiler.
   19231 LTCC=$lt_LTCC
   19232 
   19233 # LTCC compiler flags.
   19234 LTCFLAGS=$lt_LTCFLAGS
   19235 
   19236 # A language-specific compiler.
   19237 CC=$lt_compiler_GCJ
   19238 
   19239 # Is the compiler the GNU C compiler?
   19240 with_gcc=$GCC_GCJ
   19241 
   19242 # An ERE matcher.
   19243 EGREP=$lt_EGREP
   19244 
   19245 # The linker used to build libraries.
   19246 LD=$lt_LD_GCJ
   19247 
   19248 # Whether we need hard or soft links.
   19249 LN_S=$lt_LN_S
   19250 
   19251 # A BSD-compatible nm program.
   19252 NM=$lt_NM
   19253 
   19254 # A symbol stripping program
   19255 STRIP=$lt_STRIP
   19256 
   19257 # Used to examine libraries when file_magic_cmd begins "file"
   19258 MAGIC_CMD=$MAGIC_CMD
   19259 
   19260 # Used on cygwin: DLL creation program.
   19261 DLLTOOL="$DLLTOOL"
   19262 
   19263 # Used on cygwin: object dumper.
   19264 OBJDUMP="$OBJDUMP"
   19265 
   19266 # Used on cygwin: assembler.
   19267 AS="$AS"
   19268 
   19269 # The name of the directory that contains temporary libtool files.
   19270 objdir=$objdir
   19271 
   19272 # How to create reloadable object files.
   19273 reload_flag=$lt_reload_flag
   19274 reload_cmds=$lt_reload_cmds
   19275 
   19276 # How to pass a linker flag through the compiler.
   19277 wl=$lt_lt_prog_compiler_wl_GCJ
   19278 
   19279 # Object file suffix (normally "o").
   19280 objext="$ac_objext"
   19281 
   19282 # Old archive suffix (normally "a").
   19283 libext="$libext"
   19284 
   19285 # Shared library suffix (normally ".so").
   19286 shrext_cmds='$shrext_cmds'
   19287 
   19288 # Executable file suffix (normally "").
   19289 exeext="$exeext"
   19290 
   19291 # Additional compiler flags for building library objects.
   19292 pic_flag=$lt_lt_prog_compiler_pic_GCJ
   19293 pic_mode=$pic_mode
   19294 
   19295 # What is the maximum length of a command?
   19296 max_cmd_len=$lt_cv_sys_max_cmd_len
   19297 
   19298 # Does compiler simultaneously support -c and -o options?
   19299 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
   19300 
   19301 # Must we lock files when doing compilation?
   19302 need_locks=$lt_need_locks
   19303 
   19304 # Do we need the lib prefix for modules?
   19305 need_lib_prefix=$need_lib_prefix
   19306 
   19307 # Do we need a version for libraries?
   19308 need_version=$need_version
   19309 
   19310 # Whether dlopen is supported.
   19311 dlopen_support=$enable_dlopen
   19312 
   19313 # Whether dlopen of programs is supported.
   19314 dlopen_self=$enable_dlopen_self
   19315 
   19316 # Whether dlopen of statically linked programs is supported.
   19317 dlopen_self_static=$enable_dlopen_self_static
   19318 
   19319 # Compiler flag to prevent dynamic linking.
   19320 link_static_flag=$lt_lt_prog_compiler_static_GCJ
   19321 
   19322 # Compiler flag to turn off builtin functions.
   19323 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
   19324 
   19325 # Compiler flag to allow reflexive dlopens.
   19326 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
   19327 
   19328 # Compiler flag to generate shared objects directly from archives.
   19329 whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
   19330 
   19331 # Compiler flag to generate thread-safe objects.
   19332 thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
   19333 
   19334 # Library versioning type.
   19335 version_type=$version_type
   19336 
   19337 # Format of library name prefix.
   19338 libname_spec=$lt_libname_spec
   19339 
   19340 # List of archive names.  First name is the real one, the rest are links.
   19341 # The last name is the one that the linker finds with -lNAME.
   19342 library_names_spec=$lt_library_names_spec
   19343 
   19344 # The coded name of the library, if different from the real name.
   19345 soname_spec=$lt_soname_spec
   19346 
   19347 # Commands used to build and install an old-style archive.
   19348 RANLIB=$lt_RANLIB
   19349 old_archive_cmds=$lt_old_archive_cmds_GCJ
   19350 old_postinstall_cmds=$lt_old_postinstall_cmds
   19351 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   19352 
   19353 # Create an old-style archive from a shared archive.
   19354 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
   19355 
   19356 # Create a temporary old-style archive to link instead of a shared archive.
   19357 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
   19358 
   19359 # Commands used to build and install a shared archive.
   19360 archive_cmds=$lt_archive_cmds_GCJ
   19361 archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
   19362 postinstall_cmds=$lt_postinstall_cmds
   19363 postuninstall_cmds=$lt_postuninstall_cmds
   19364 
   19365 # Commands used to build a loadable module (assumed same as above if empty)
   19366 module_cmds=$lt_module_cmds_GCJ
   19367 module_expsym_cmds=$lt_module_expsym_cmds_GCJ
   19368 
   19369 # Commands to strip libraries.
   19370 old_striplib=$lt_old_striplib
   19371 striplib=$lt_striplib
   19372 
   19373 # Dependencies to place before the objects being linked to create a
   19374 # shared library.
   19375 predep_objects=$lt_predep_objects_GCJ
   19376 
   19377 # Dependencies to place after the objects being linked to create a
   19378 # shared library.
   19379 postdep_objects=$lt_postdep_objects_GCJ
   19380 
   19381 # Dependencies to place before the objects being linked to create a
   19382 # shared library.
   19383 predeps=$lt_predeps_GCJ
   19384 
   19385 # Dependencies to place after the objects being linked to create a
   19386 # shared library.
   19387 postdeps=$lt_postdeps_GCJ
   19388 
   19389 # The directories searched by this compiler when creating a shared
   19390 # library
   19391 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_GCJ
   19392 
   19393 # The library search path used internally by the compiler when linking
   19394 # a shared library.
   19395 compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
   19396 
   19397 # Method to check whether dependent libraries are shared objects.
   19398 deplibs_check_method=$lt_deplibs_check_method
   19399 
   19400 # Command to use when deplibs_check_method == file_magic.
   19401 file_magic_cmd=$lt_file_magic_cmd
   19402 
   19403 # Flag that allows shared libraries with undefined symbols to be built.
   19404 allow_undefined_flag=$lt_allow_undefined_flag_GCJ
   19405 
   19406 # Flag that forces no undefined symbols.
   19407 no_undefined_flag=$lt_no_undefined_flag_GCJ
   19408 
   19409 # Commands used to finish a libtool library installation in a directory.
   19410 finish_cmds=$lt_finish_cmds
   19411 
   19412 # Same as above, but a single script fragment to be evaled but not shown.
   19413 finish_eval=$lt_finish_eval
   19414 
   19415 # Take the output of nm and produce a listing of raw symbols and C names.
   19416 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   19417 
   19418 # Transform the output of nm in a proper C declaration
   19419 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   19420 
   19421 # Transform the output of nm in a C name address pair
   19422 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   19423 
   19424 # This is the shared library runtime path variable.
   19425 runpath_var=$runpath_var
   19426 
   19427 # This is the shared library path variable.
   19428 shlibpath_var=$shlibpath_var
   19429 
   19430 # Is shlibpath searched before the hard-coded library search path?
   19431 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   19432 
   19433 # How to hardcode a shared library path into an executable.
   19434 hardcode_action=$hardcode_action_GCJ
   19435 
   19436 # Whether we should hardcode library paths into libraries.
   19437 hardcode_into_libs=$hardcode_into_libs
   19438 
   19439 # Flag to hardcode \$libdir into a binary during linking.
   19440 # This must work even if \$libdir does not exist.
   19441 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
   19442 
   19443 # If ld is used when linking, flag to hardcode \$libdir into
   19444 # a binary during linking. This must work even if \$libdir does
   19445 # not exist.
   19446 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
   19447 
   19448 # Whether we need a single -rpath flag with a separated argument.
   19449 hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
   19450 
   19451 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
   19452 # resulting binary.
   19453 hardcode_direct=$hardcode_direct_GCJ
   19454 
   19455 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
   19456 # resulting binary.
   19457 hardcode_minus_L=$hardcode_minus_L_GCJ
   19458 
   19459 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
   19460 # the resulting binary.
   19461 hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
   19462 
   19463 # Set to yes if building a shared library automatically hardcodes DIR into the library
   19464 # and all subsequent libraries and executables linked against it.
   19465 hardcode_automatic=$hardcode_automatic_GCJ
   19466 
   19467 # Variables whose values should be saved in libtool wrapper scripts and
   19468 # restored at relink time.
   19469 variables_saved_for_relink="$variables_saved_for_relink"
   19470 
   19471 # Whether libtool must link a program against all its dependency libraries.
   19472 link_all_deplibs=$link_all_deplibs_GCJ
   19473 
   19474 # Compile-time system search path for libraries
   19475 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   19476 
   19477 # Run-time system search path for libraries
   19478 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   19479 
   19480 # Fix the shell variable \$srcfile for the compiler.
   19481 fix_srcfile_path=$lt_fix_srcfile_path
   19482 
   19483 # Set to yes if exported symbols are required.
   19484 always_export_symbols=$always_export_symbols_GCJ
   19485 
   19486 # The commands to list exported symbols.
   19487 export_symbols_cmds=$lt_export_symbols_cmds_GCJ
   19488 
   19489 # The commands to extract the exported symbol list from a shared archive.
   19490 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   19491 
   19492 # Symbols that should not be listed in the preloaded symbols.
   19493 exclude_expsyms=$lt_exclude_expsyms_GCJ
   19494 
   19495 # Symbols that must always be exported.
   19496 include_expsyms=$lt_include_expsyms_GCJ
   19497 
   19498 # ### END LIBTOOL TAG CONFIG: $tagname
   19499 
   19500 __EOF__
   19501 
   19502 
   19503 else
   19504   # If there is no Makefile yet, we rely on a make rule to execute
   19505   # `config.status --recheck' to rerun these tests and create the
   19506   # libtool script then.
   19507   ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
   19508   if test -f "$ltmain_in"; then
   19509     test -f Makefile && make "$ltmain"
   19510   fi
   19511 fi
   19512 
   19513 
   19514 ac_ext=c
   19515 ac_cpp='$CPP $CPPFLAGS'
   19516 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   19517 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   19518 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   19519 
   19520 CC="$lt_save_CC"
   19521 
   19522 	else
   19523 	  tagname=""
   19524 	fi
   19525 	;;
   19526 
   19527       RC)
   19528 
   19529 
   19530 # Source file extension for RC test sources.
   19531 ac_ext=rc
   19532 
   19533 # Object file extension for compiled RC test sources.
   19534 objext=o
   19535 objext_RC=$objext
   19536 
   19537 # Code to be used in simple compile tests
   19538 lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }'
   19539 
   19540 # Code to be used in simple link tests
   19541 lt_simple_link_test_code="$lt_simple_compile_test_code"
   19542 
   19543 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
   19544 
   19545 # If no C compiler was specified, use CC.
   19546 LTCC=${LTCC-"$CC"}
   19547 
   19548 # If no C compiler flags were specified, use CFLAGS.
   19549 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   19550 
   19551 # Allow CC to be a program name with arguments.
   19552 compiler=$CC
   19553 
   19554 
   19555 # save warnings/boilerplate of simple test code
   19556 ac_outfile=conftest.$ac_objext
   19557 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   19558 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   19559 _lt_compiler_boilerplate=`cat conftest.err`
   19560 $rm conftest*
   19561 
   19562 ac_outfile=conftest.$ac_objext
   19563 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   19564 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   19565 _lt_linker_boilerplate=`cat conftest.err`
   19566 $rm -r conftest*
   19567 
   19568 
   19569 # Allow CC to be a program name with arguments.
   19570 lt_save_CC="$CC"
   19571 CC=${RC-"windres"}
   19572 compiler=$CC
   19573 compiler_RC=$CC
   19574 for cc_temp in $compiler""; do
   19575   case $cc_temp in
   19576     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   19577     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   19578     \-*) ;;
   19579     *) break;;
   19580   esac
   19581 done
   19582 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   19583 
   19584 lt_cv_prog_compiler_c_o_RC=yes
   19585 
   19586 # The else clause should only fire when bootstrapping the
   19587 # libtool distribution, otherwise you forgot to ship ltmain.sh
   19588 # with your package, and you will get complaints that there are
   19589 # no rules to generate ltmain.sh.
   19590 if test -f "$ltmain"; then
   19591   # See if we are running on zsh, and set the options which allow our commands through
   19592   # without removal of \ escapes.
   19593   if test -n "${ZSH_VERSION+set}" ; then
   19594     setopt NO_GLOB_SUBST
   19595   fi
   19596   # Now quote all the things that may contain metacharacters while being
   19597   # careful not to overquote the AC_SUBSTed values.  We take copies of the
   19598   # variables and quote the copies for generation of the libtool script.
   19599   for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
   19600     SED SHELL STRIP \
   19601     libname_spec library_names_spec soname_spec extract_expsyms_cmds \
   19602     old_striplib striplib file_magic_cmd finish_cmds finish_eval \
   19603     deplibs_check_method reload_flag reload_cmds need_locks \
   19604     lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
   19605     lt_cv_sys_global_symbol_to_c_name_address \
   19606     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
   19607     old_postinstall_cmds old_postuninstall_cmds \
   19608     compiler_RC \
   19609     CC_RC \
   19610     LD_RC \
   19611     lt_prog_compiler_wl_RC \
   19612     lt_prog_compiler_pic_RC \
   19613     lt_prog_compiler_static_RC \
   19614     lt_prog_compiler_no_builtin_flag_RC \
   19615     export_dynamic_flag_spec_RC \
   19616     thread_safe_flag_spec_RC \
   19617     whole_archive_flag_spec_RC \
   19618     enable_shared_with_static_runtimes_RC \
   19619     old_archive_cmds_RC \
   19620     old_archive_from_new_cmds_RC \
   19621     predep_objects_RC \
   19622     postdep_objects_RC \
   19623     predeps_RC \
   19624     postdeps_RC \
   19625     compiler_lib_search_path_RC \
   19626     compiler_lib_search_dirs_RC \
   19627     archive_cmds_RC \
   19628     archive_expsym_cmds_RC \
   19629     postinstall_cmds_RC \
   19630     postuninstall_cmds_RC \
   19631     old_archive_from_expsyms_cmds_RC \
   19632     allow_undefined_flag_RC \
   19633     no_undefined_flag_RC \
   19634     export_symbols_cmds_RC \
   19635     hardcode_libdir_flag_spec_RC \
   19636     hardcode_libdir_flag_spec_ld_RC \
   19637     hardcode_libdir_separator_RC \
   19638     hardcode_automatic_RC \
   19639     module_cmds_RC \
   19640     module_expsym_cmds_RC \
   19641     lt_cv_prog_compiler_c_o_RC \
   19642     fix_srcfile_path_RC \
   19643     exclude_expsyms_RC \
   19644     include_expsyms_RC; do
   19645 
   19646     case $var in
   19647     old_archive_cmds_RC | \
   19648     old_archive_from_new_cmds_RC | \
   19649     archive_cmds_RC | \
   19650     archive_expsym_cmds_RC | \
   19651     module_cmds_RC | \
   19652     module_expsym_cmds_RC | \
   19653     old_archive_from_expsyms_cmds_RC | \
   19654     export_symbols_cmds_RC | \
   19655     extract_expsyms_cmds | reload_cmds | finish_cmds | \
   19656     postinstall_cmds | postuninstall_cmds | \
   19657     old_postinstall_cmds | old_postuninstall_cmds | \
   19658     sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
   19659       # Double-quote double-evaled strings.
   19660       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
   19661       ;;
   19662     *)
   19663       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
   19664       ;;
   19665     esac
   19666   done
   19667 
   19668   case $lt_echo in
   19669   *'\$0 --fallback-echo"')
   19670     lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
   19671     ;;
   19672   esac
   19673 
   19674 cfgfile="$ofile"
   19675 
   19676   cat <<__EOF__ >> "$cfgfile"
   19677 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
   19678 
   19679 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   19680 
   19681 # Shell to use when invoking shell scripts.
   19682 SHELL=$lt_SHELL
   19683 
   19684 # Whether or not to build shared libraries.
   19685 build_libtool_libs=$enable_shared
   19686 
   19687 # Whether or not to build static libraries.
   19688 build_old_libs=$enable_static
   19689 
   19690 # Whether or not to add -lc for building shared libraries.
   19691 build_libtool_need_lc=$archive_cmds_need_lc_RC
   19692 
   19693 # Whether or not to disallow shared libs when runtime libs are static
   19694 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
   19695 
   19696 # Whether or not to optimize for fast installation.
   19697 fast_install=$enable_fast_install
   19698 
   19699 # The host system.
   19700 host_alias=$host_alias
   19701 host=$host
   19702 host_os=$host_os
   19703 
   19704 # The build system.
   19705 build_alias=$build_alias
   19706 build=$build
   19707 build_os=$build_os
   19708 
   19709 # An echo program that does not interpret backslashes.
   19710 echo=$lt_echo
   19711 
   19712 # The archiver.
   19713 AR=$lt_AR
   19714 AR_FLAGS=$lt_AR_FLAGS
   19715 
   19716 # A C compiler.
   19717 LTCC=$lt_LTCC
   19718 
   19719 # LTCC compiler flags.
   19720 LTCFLAGS=$lt_LTCFLAGS
   19721 
   19722 # A language-specific compiler.
   19723 CC=$lt_compiler_RC
   19724 
   19725 # Is the compiler the GNU C compiler?
   19726 with_gcc=$GCC_RC
   19727 
   19728 # An ERE matcher.
   19729 EGREP=$lt_EGREP
   19730 
   19731 # The linker used to build libraries.
   19732 LD=$lt_LD_RC
   19733 
   19734 # Whether we need hard or soft links.
   19735 LN_S=$lt_LN_S
   19736 
   19737 # A BSD-compatible nm program.
   19738 NM=$lt_NM
   19739 
   19740 # A symbol stripping program
   19741 STRIP=$lt_STRIP
   19742 
   19743 # Used to examine libraries when file_magic_cmd begins "file"
   19744 MAGIC_CMD=$MAGIC_CMD
   19745 
   19746 # Used on cygwin: DLL creation program.
   19747 DLLTOOL="$DLLTOOL"
   19748 
   19749 # Used on cygwin: object dumper.
   19750 OBJDUMP="$OBJDUMP"
   19751 
   19752 # Used on cygwin: assembler.
   19753 AS="$AS"
   19754 
   19755 # The name of the directory that contains temporary libtool files.
   19756 objdir=$objdir
   19757 
   19758 # How to create reloadable object files.
   19759 reload_flag=$lt_reload_flag
   19760 reload_cmds=$lt_reload_cmds
   19761 
   19762 # How to pass a linker flag through the compiler.
   19763 wl=$lt_lt_prog_compiler_wl_RC
   19764 
   19765 # Object file suffix (normally "o").
   19766 objext="$ac_objext"
   19767 
   19768 # Old archive suffix (normally "a").
   19769 libext="$libext"
   19770 
   19771 # Shared library suffix (normally ".so").
   19772 shrext_cmds='$shrext_cmds'
   19773 
   19774 # Executable file suffix (normally "").
   19775 exeext="$exeext"
   19776 
   19777 # Additional compiler flags for building library objects.
   19778 pic_flag=$lt_lt_prog_compiler_pic_RC
   19779 pic_mode=$pic_mode
   19780 
   19781 # What is the maximum length of a command?
   19782 max_cmd_len=$lt_cv_sys_max_cmd_len
   19783 
   19784 # Does compiler simultaneously support -c and -o options?
   19785 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
   19786 
   19787 # Must we lock files when doing compilation?
   19788 need_locks=$lt_need_locks
   19789 
   19790 # Do we need the lib prefix for modules?
   19791 need_lib_prefix=$need_lib_prefix
   19792 
   19793 # Do we need a version for libraries?
   19794 need_version=$need_version
   19795 
   19796 # Whether dlopen is supported.
   19797 dlopen_support=$enable_dlopen
   19798 
   19799 # Whether dlopen of programs is supported.
   19800 dlopen_self=$enable_dlopen_self
   19801 
   19802 # Whether dlopen of statically linked programs is supported.
   19803 dlopen_self_static=$enable_dlopen_self_static
   19804 
   19805 # Compiler flag to prevent dynamic linking.
   19806 link_static_flag=$lt_lt_prog_compiler_static_RC
   19807 
   19808 # Compiler flag to turn off builtin functions.
   19809 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
   19810 
   19811 # Compiler flag to allow reflexive dlopens.
   19812 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
   19813 
   19814 # Compiler flag to generate shared objects directly from archives.
   19815 whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
   19816 
   19817 # Compiler flag to generate thread-safe objects.
   19818 thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
   19819 
   19820 # Library versioning type.
   19821 version_type=$version_type
   19822 
   19823 # Format of library name prefix.
   19824 libname_spec=$lt_libname_spec
   19825 
   19826 # List of archive names.  First name is the real one, the rest are links.
   19827 # The last name is the one that the linker finds with -lNAME.
   19828 library_names_spec=$lt_library_names_spec
   19829 
   19830 # The coded name of the library, if different from the real name.
   19831 soname_spec=$lt_soname_spec
   19832 
   19833 # Commands used to build and install an old-style archive.
   19834 RANLIB=$lt_RANLIB
   19835 old_archive_cmds=$lt_old_archive_cmds_RC
   19836 old_postinstall_cmds=$lt_old_postinstall_cmds
   19837 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   19838 
   19839 # Create an old-style archive from a shared archive.
   19840 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
   19841 
   19842 # Create a temporary old-style archive to link instead of a shared archive.
   19843 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
   19844 
   19845 # Commands used to build and install a shared archive.
   19846 archive_cmds=$lt_archive_cmds_RC
   19847 archive_expsym_cmds=$lt_archive_expsym_cmds_RC
   19848 postinstall_cmds=$lt_postinstall_cmds
   19849 postuninstall_cmds=$lt_postuninstall_cmds
   19850 
   19851 # Commands used to build a loadable module (assumed same as above if empty)
   19852 module_cmds=$lt_module_cmds_RC
   19853 module_expsym_cmds=$lt_module_expsym_cmds_RC
   19854 
   19855 # Commands to strip libraries.
   19856 old_striplib=$lt_old_striplib
   19857 striplib=$lt_striplib
   19858 
   19859 # Dependencies to place before the objects being linked to create a
   19860 # shared library.
   19861 predep_objects=$lt_predep_objects_RC
   19862 
   19863 # Dependencies to place after the objects being linked to create a
   19864 # shared library.
   19865 postdep_objects=$lt_postdep_objects_RC
   19866 
   19867 # Dependencies to place before the objects being linked to create a
   19868 # shared library.
   19869 predeps=$lt_predeps_RC
   19870 
   19871 # Dependencies to place after the objects being linked to create a
   19872 # shared library.
   19873 postdeps=$lt_postdeps_RC
   19874 
   19875 # The directories searched by this compiler when creating a shared
   19876 # library
   19877 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_RC
   19878 
   19879 # The library search path used internally by the compiler when linking
   19880 # a shared library.
   19881 compiler_lib_search_path=$lt_compiler_lib_search_path_RC
   19882 
   19883 # Method to check whether dependent libraries are shared objects.
   19884 deplibs_check_method=$lt_deplibs_check_method
   19885 
   19886 # Command to use when deplibs_check_method == file_magic.
   19887 file_magic_cmd=$lt_file_magic_cmd
   19888 
   19889 # Flag that allows shared libraries with undefined symbols to be built.
   19890 allow_undefined_flag=$lt_allow_undefined_flag_RC
   19891 
   19892 # Flag that forces no undefined symbols.
   19893 no_undefined_flag=$lt_no_undefined_flag_RC
   19894 
   19895 # Commands used to finish a libtool library installation in a directory.
   19896 finish_cmds=$lt_finish_cmds
   19897 
   19898 # Same as above, but a single script fragment to be evaled but not shown.
   19899 finish_eval=$lt_finish_eval
   19900 
   19901 # Take the output of nm and produce a listing of raw symbols and C names.
   19902 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   19903 
   19904 # Transform the output of nm in a proper C declaration
   19905 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   19906 
   19907 # Transform the output of nm in a C name address pair
   19908 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   19909 
   19910 # This is the shared library runtime path variable.
   19911 runpath_var=$runpath_var
   19912 
   19913 # This is the shared library path variable.
   19914 shlibpath_var=$shlibpath_var
   19915 
   19916 # Is shlibpath searched before the hard-coded library search path?
   19917 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   19918 
   19919 # How to hardcode a shared library path into an executable.
   19920 hardcode_action=$hardcode_action_RC
   19921 
   19922 # Whether we should hardcode library paths into libraries.
   19923 hardcode_into_libs=$hardcode_into_libs
   19924 
   19925 # Flag to hardcode \$libdir into a binary during linking.
   19926 # This must work even if \$libdir does not exist.
   19927 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
   19928 
   19929 # If ld is used when linking, flag to hardcode \$libdir into
   19930 # a binary during linking. This must work even if \$libdir does
   19931 # not exist.
   19932 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
   19933 
   19934 # Whether we need a single -rpath flag with a separated argument.
   19935 hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
   19936 
   19937 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
   19938 # resulting binary.
   19939 hardcode_direct=$hardcode_direct_RC
   19940 
   19941 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
   19942 # resulting binary.
   19943 hardcode_minus_L=$hardcode_minus_L_RC
   19944 
   19945 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
   19946 # the resulting binary.
   19947 hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
   19948 
   19949 # Set to yes if building a shared library automatically hardcodes DIR into the library
   19950 # and all subsequent libraries and executables linked against it.
   19951 hardcode_automatic=$hardcode_automatic_RC
   19952 
   19953 # Variables whose values should be saved in libtool wrapper scripts and
   19954 # restored at relink time.
   19955 variables_saved_for_relink="$variables_saved_for_relink"
   19956 
   19957 # Whether libtool must link a program against all its dependency libraries.
   19958 link_all_deplibs=$link_all_deplibs_RC
   19959 
   19960 # Compile-time system search path for libraries
   19961 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   19962 
   19963 # Run-time system search path for libraries
   19964 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   19965 
   19966 # Fix the shell variable \$srcfile for the compiler.
   19967 fix_srcfile_path=$lt_fix_srcfile_path
   19968 
   19969 # Set to yes if exported symbols are required.
   19970 always_export_symbols=$always_export_symbols_RC
   19971 
   19972 # The commands to list exported symbols.
   19973 export_symbols_cmds=$lt_export_symbols_cmds_RC
   19974 
   19975 # The commands to extract the exported symbol list from a shared archive.
   19976 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   19977 
   19978 # Symbols that should not be listed in the preloaded symbols.
   19979 exclude_expsyms=$lt_exclude_expsyms_RC
   19980 
   19981 # Symbols that must always be exported.
   19982 include_expsyms=$lt_include_expsyms_RC
   19983 
   19984 # ### END LIBTOOL TAG CONFIG: $tagname
   19985 
   19986 __EOF__
   19987 
   19988 
   19989 else
   19990   # If there is no Makefile yet, we rely on a make rule to execute
   19991   # `config.status --recheck' to rerun these tests and create the
   19992   # libtool script then.
   19993   ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
   19994   if test -f "$ltmain_in"; then
   19995     test -f Makefile && make "$ltmain"
   19996   fi
   19997 fi
   19998 
   19999 
   20000 ac_ext=c
   20001 ac_cpp='$CPP $CPPFLAGS'
   20002 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   20003 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   20004 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   20005 
   20006 CC="$lt_save_CC"
   20007 
   20008 	;;
   20009 
   20010       *)
   20011 	{ { $as_echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
   20012 $as_echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
   20013    { (exit 1); exit 1; }; }
   20014 	;;
   20015       esac
   20016 
   20017       # Append the new tag name to the list of available tags.
   20018       if test -n "$tagname" ; then
   20019       available_tags="$available_tags $tagname"
   20020     fi
   20021     fi
   20022   done
   20023   IFS="$lt_save_ifs"
   20024 
   20025   # Now substitute the updated list of available tags.
   20026   if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
   20027     mv "${ofile}T" "$ofile"
   20028     chmod +x "$ofile"
   20029   else
   20030     rm -f "${ofile}T"
   20031     { { $as_echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
   20032 $as_echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
   20033    { (exit 1); exit 1; }; }
   20034   fi
   20035 fi
   20036 
   20037 
   20038 
   20039 # This can be used to rebuild libtool when needed
   20040 LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
   20041 
   20042 # Always use our own libtool.
   20043 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
   20044 
   20045 # Prevent multiple expansion
   20046 
   20047 
   20048 
   20049 
   20050 
   20051 
   20052 
   20053 
   20054 
   20055 
   20056 
   20057 
   20058 
   20059 
   20060 
   20061 
   20062 
   20063 
   20064 
   20065 
   20066    { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C99" >&5
   20067 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
   20068 if test "${ac_cv_prog_cc_c99+set}" = set; then
   20069   $as_echo_n "(cached) " >&6
   20070 else
   20071   ac_cv_prog_cc_c99=no
   20072 ac_save_CC=$CC
   20073 cat >conftest.$ac_ext <<_ACEOF
   20074 /* confdefs.h.  */
   20075 _ACEOF
   20076 cat confdefs.h >>conftest.$ac_ext
   20077 cat >>conftest.$ac_ext <<_ACEOF
   20078 /* end confdefs.h.  */
   20079 #include <stdarg.h>
   20080 #include <stdbool.h>
   20081 #include <stdlib.h>
   20082 #include <wchar.h>
   20083 #include <stdio.h>
   20084 
   20085 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
   20086 #define debug(...) fprintf (stderr, __VA_ARGS__)
   20087 #define showlist(...) puts (#__VA_ARGS__)
   20088 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
   20089 static void
   20090 test_varargs_macros (void)
   20091 {
   20092   int x = 1234;
   20093   int y = 5678;
   20094   debug ("Flag");
   20095   debug ("X = %d\n", x);
   20096   showlist (The first, second, and third items.);
   20097   report (x>y, "x is %d but y is %d", x, y);
   20098 }
   20099 
   20100 // Check long long types.
   20101 #define BIG64 18446744073709551615ull
   20102 #define BIG32 4294967295ul
   20103 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
   20104 #if !BIG_OK
   20105   your preprocessor is broken;
   20106 #endif
   20107 #if BIG_OK
   20108 #else
   20109   your preprocessor is broken;
   20110 #endif
   20111 static long long int bignum = -9223372036854775807LL;
   20112 static unsigned long long int ubignum = BIG64;
   20113 
   20114 struct incomplete_array
   20115 {
   20116   int datasize;
   20117   double data[];
   20118 };
   20119 
   20120 struct named_init {
   20121   int number;
   20122   const wchar_t *name;
   20123   double average;
   20124 };
   20125 
   20126 typedef const char *ccp;
   20127 
   20128 static inline int
   20129 test_restrict (ccp restrict text)
   20130 {
   20131   // See if C++-style comments work.
   20132   // Iterate through items via the restricted pointer.
   20133   // Also check for declarations in for loops.
   20134   for (unsigned int i = 0; *(text+i) != '\0'; ++i)
   20135     continue;
   20136   return 0;
   20137 }
   20138 
   20139 // Check varargs and va_copy.
   20140 static void
   20141 test_varargs (const char *format, ...)
   20142 {
   20143   va_list args;
   20144   va_start (args, format);
   20145   va_list args_copy;
   20146   va_copy (args_copy, args);
   20147 
   20148   const char *str;
   20149   int number;
   20150   float fnumber;
   20151 
   20152   while (*format)
   20153     {
   20154       switch (*format++)
   20155 	{
   20156 	case 's': // string
   20157 	  str = va_arg (args_copy, const char *);
   20158 	  break;
   20159 	case 'd': // int
   20160 	  number = va_arg (args_copy, int);
   20161 	  break;
   20162 	case 'f': // float
   20163 	  fnumber = va_arg (args_copy, double);
   20164 	  break;
   20165 	default:
   20166 	  break;
   20167 	}
   20168     }
   20169   va_end (args_copy);
   20170   va_end (args);
   20171 }
   20172 
   20173 int
   20174 main ()
   20175 {
   20176 
   20177   // Check bool.
   20178   _Bool success = false;
   20179 
   20180   // Check restrict.
   20181   if (test_restrict ("String literal") == 0)
   20182     success = true;
   20183   char *restrict newvar = "Another string";
   20184 
   20185   // Check varargs.
   20186   test_varargs ("s, d' f .", "string", 65, 34.234);
   20187   test_varargs_macros ();
   20188 
   20189   // Check flexible array members.
   20190   struct incomplete_array *ia =
   20191     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
   20192   ia->datasize = 10;
   20193   for (int i = 0; i < ia->datasize; ++i)
   20194     ia->data[i] = i * 1.234;
   20195 
   20196   // Check named initializers.
   20197   struct named_init ni = {
   20198     .number = 34,
   20199     .name = L"Test wide string",
   20200     .average = 543.34343,
   20201   };
   20202 
   20203   ni.number = 58;
   20204 
   20205   int dynamic_array[ni.number];
   20206   dynamic_array[ni.number - 1] = 543;
   20207 
   20208   // work around unused variable warnings
   20209   return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
   20210 	  || dynamic_array[ni.number - 1] != 543);
   20211 
   20212   ;
   20213   return 0;
   20214 }
   20215 _ACEOF
   20216 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99
   20217 do
   20218   CC="$ac_save_CC $ac_arg"
   20219   rm -f conftest.$ac_objext
   20220 if { (ac_try="$ac_compile"
   20221 case "(($ac_try" in
   20222   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20223   *) ac_try_echo=$ac_try;;
   20224 esac
   20225 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   20226 $as_echo "$ac_try_echo") >&5
   20227   (eval "$ac_compile") 2>conftest.er1
   20228   ac_status=$?
   20229   grep -v '^ *+' conftest.er1 >conftest.err
   20230   rm -f conftest.er1
   20231   cat conftest.err >&5
   20232   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20233   (exit $ac_status); } && {
   20234 	 test -z "$ac_c_werror_flag" ||
   20235 	 test ! -s conftest.err
   20236        } && test -s conftest.$ac_objext; then
   20237   ac_cv_prog_cc_c99=$ac_arg
   20238 else
   20239   $as_echo "$as_me: failed program was:" >&5
   20240 sed 's/^/| /' conftest.$ac_ext >&5
   20241 
   20242 
   20243 fi
   20244 
   20245 rm -f core conftest.err conftest.$ac_objext
   20246   test "x$ac_cv_prog_cc_c99" != "xno" && break
   20247 done
   20248 rm -f conftest.$ac_ext
   20249 CC=$ac_save_CC
   20250 
   20251 fi
   20252 # AC_CACHE_VAL
   20253 case "x$ac_cv_prog_cc_c99" in
   20254   x)
   20255     { $as_echo "$as_me:$LINENO: result: none needed" >&5
   20256 $as_echo "none needed" >&6; } ;;
   20257   xno)
   20258     { $as_echo "$as_me:$LINENO: result: unsupported" >&5
   20259 $as_echo "unsupported" >&6; } ;;
   20260   *)
   20261     CC="$CC $ac_cv_prog_cc_c99"
   20262     { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c99" >&5
   20263 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
   20264 esac
   20265 
   20266 
   20267 
   20268 
   20269 
   20270 
   20271 if  test "x$GCC" = xyes ; then
   20272     CWARNFLAGS="-Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes \
   20273 -Wmissing-declarations -Wnested-externs -fno-strict-aliasing \
   20274 -Wbad-function-cast"
   20275     case `$CC -dumpversion` in
   20276     3.4.* | 4.*)
   20277 	CWARNFLAGS="$CWARNFLAGS -Wold-style-definition -Wdeclaration-after-statement"
   20278 	;;
   20279     esac
   20280 else
   20281     { $as_echo "$as_me:$LINENO: checking whether __SUNPRO_C is declared" >&5
   20282 $as_echo_n "checking whether __SUNPRO_C is declared... " >&6; }
   20283 if test "${ac_cv_have_decl___SUNPRO_C+set}" = set; then
   20284   $as_echo_n "(cached) " >&6
   20285 else
   20286   cat >conftest.$ac_ext <<_ACEOF
   20287 /* confdefs.h.  */
   20288 _ACEOF
   20289 cat confdefs.h >>conftest.$ac_ext
   20290 cat >>conftest.$ac_ext <<_ACEOF
   20291 /* end confdefs.h.  */
   20292 $ac_includes_default
   20293 int
   20294 main ()
   20295 {
   20296 #ifndef __SUNPRO_C
   20297   (void) __SUNPRO_C;
   20298 #endif
   20299 
   20300   ;
   20301   return 0;
   20302 }
   20303 _ACEOF
   20304 rm -f conftest.$ac_objext
   20305 if { (ac_try="$ac_compile"
   20306 case "(($ac_try" in
   20307   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20308   *) ac_try_echo=$ac_try;;
   20309 esac
   20310 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   20311 $as_echo "$ac_try_echo") >&5
   20312   (eval "$ac_compile") 2>conftest.er1
   20313   ac_status=$?
   20314   grep -v '^ *+' conftest.er1 >conftest.err
   20315   rm -f conftest.er1
   20316   cat conftest.err >&5
   20317   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20318   (exit $ac_status); } && {
   20319 	 test -z "$ac_c_werror_flag" ||
   20320 	 test ! -s conftest.err
   20321        } && test -s conftest.$ac_objext; then
   20322   ac_cv_have_decl___SUNPRO_C=yes
   20323 else
   20324   $as_echo "$as_me: failed program was:" >&5
   20325 sed 's/^/| /' conftest.$ac_ext >&5
   20326 
   20327 	ac_cv_have_decl___SUNPRO_C=no
   20328 fi
   20329 
   20330 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   20331 fi
   20332 { $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl___SUNPRO_C" >&5
   20333 $as_echo "$ac_cv_have_decl___SUNPRO_C" >&6; }
   20334 if test "x$ac_cv_have_decl___SUNPRO_C" = x""yes; then
   20335   SUNCC="yes"
   20336 else
   20337   SUNCC="no"
   20338 fi
   20339 
   20340     if test "x$SUNCC" = "xyes"; then
   20341 	CWARNFLAGS="-v"
   20342     fi
   20343 fi
   20344 
   20345 # Check whether --enable-silent-rules was given.
   20346 if test "${enable_silent_rules+set}" = set; then
   20347   enableval=$enable_silent_rules;
   20348 fi
   20349 
   20350 case $enable_silent_rules in
   20351 yes) AM_DEFAULT_VERBOSITY=0;;
   20352 no)  AM_DEFAULT_VERBOSITY=1;;
   20353 *)   AM_DEFAULT_VERBOSITY=0;;
   20354 esac
   20355 AM_BACKSLASH='\'
   20356 
   20357 
   20358 
   20359 
   20360 
   20361 
   20362 
   20363 # Check whether --enable-strict-compilation was given.
   20364 if test "${enable_strict_compilation+set}" = set; then
   20365   enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
   20366 else
   20367   STRICT_COMPILE=no
   20368 fi
   20369 
   20370 if test "x$STRICT_COMPILE" = "xyes"; then
   20371 	{ $as_echo "$as_me:$LINENO: checking whether __SUNPRO_C is declared" >&5
   20372 $as_echo_n "checking whether __SUNPRO_C is declared... " >&6; }
   20373 if test "${ac_cv_have_decl___SUNPRO_C+set}" = set; then
   20374   $as_echo_n "(cached) " >&6
   20375 else
   20376   cat >conftest.$ac_ext <<_ACEOF
   20377 /* confdefs.h.  */
   20378 _ACEOF
   20379 cat confdefs.h >>conftest.$ac_ext
   20380 cat >>conftest.$ac_ext <<_ACEOF
   20381 /* end confdefs.h.  */
   20382 $ac_includes_default
   20383 int
   20384 main ()
   20385 {
   20386 #ifndef __SUNPRO_C
   20387   (void) __SUNPRO_C;
   20388 #endif
   20389 
   20390   ;
   20391   return 0;
   20392 }
   20393 _ACEOF
   20394 rm -f conftest.$ac_objext
   20395 if { (ac_try="$ac_compile"
   20396 case "(($ac_try" in
   20397   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20398   *) ac_try_echo=$ac_try;;
   20399 esac
   20400 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   20401 $as_echo "$ac_try_echo") >&5
   20402   (eval "$ac_compile") 2>conftest.er1
   20403   ac_status=$?
   20404   grep -v '^ *+' conftest.er1 >conftest.err
   20405   rm -f conftest.er1
   20406   cat conftest.err >&5
   20407   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20408   (exit $ac_status); } && {
   20409 	 test -z "$ac_c_werror_flag" ||
   20410 	 test ! -s conftest.err
   20411        } && test -s conftest.$ac_objext; then
   20412   ac_cv_have_decl___SUNPRO_C=yes
   20413 else
   20414   $as_echo "$as_me: failed program was:" >&5
   20415 sed 's/^/| /' conftest.$ac_ext >&5
   20416 
   20417 	ac_cv_have_decl___SUNPRO_C=no
   20418 fi
   20419 
   20420 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   20421 fi
   20422 { $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl___SUNPRO_C" >&5
   20423 $as_echo "$ac_cv_have_decl___SUNPRO_C" >&6; }
   20424 if test "x$ac_cv_have_decl___SUNPRO_C" = x""yes; then
   20425   SUNCC="yes"
   20426 else
   20427   SUNCC="no"
   20428 fi
   20429 
   20430 	{ $as_echo "$as_me:$LINENO: checking whether __INTEL_COMPILER is declared" >&5
   20431 $as_echo_n "checking whether __INTEL_COMPILER is declared... " >&6; }
   20432 if test "${ac_cv_have_decl___INTEL_COMPILER+set}" = set; then
   20433   $as_echo_n "(cached) " >&6
   20434 else
   20435   cat >conftest.$ac_ext <<_ACEOF
   20436 /* confdefs.h.  */
   20437 _ACEOF
   20438 cat confdefs.h >>conftest.$ac_ext
   20439 cat >>conftest.$ac_ext <<_ACEOF
   20440 /* end confdefs.h.  */
   20441 $ac_includes_default
   20442 int
   20443 main ()
   20444 {
   20445 #ifndef __INTEL_COMPILER
   20446   (void) __INTEL_COMPILER;
   20447 #endif
   20448 
   20449   ;
   20450   return 0;
   20451 }
   20452 _ACEOF
   20453 rm -f conftest.$ac_objext
   20454 if { (ac_try="$ac_compile"
   20455 case "(($ac_try" in
   20456   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20457   *) ac_try_echo=$ac_try;;
   20458 esac
   20459 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   20460 $as_echo "$ac_try_echo") >&5
   20461   (eval "$ac_compile") 2>conftest.er1
   20462   ac_status=$?
   20463   grep -v '^ *+' conftest.er1 >conftest.err
   20464   rm -f conftest.er1
   20465   cat conftest.err >&5
   20466   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20467   (exit $ac_status); } && {
   20468 	 test -z "$ac_c_werror_flag" ||
   20469 	 test ! -s conftest.err
   20470        } && test -s conftest.$ac_objext; then
   20471   ac_cv_have_decl___INTEL_COMPILER=yes
   20472 else
   20473   $as_echo "$as_me: failed program was:" >&5
   20474 sed 's/^/| /' conftest.$ac_ext >&5
   20475 
   20476 	ac_cv_have_decl___INTEL_COMPILER=no
   20477 fi
   20478 
   20479 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   20480 fi
   20481 { $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl___INTEL_COMPILER" >&5
   20482 $as_echo "$ac_cv_have_decl___INTEL_COMPILER" >&6; }
   20483 if test "x$ac_cv_have_decl___INTEL_COMPILER" = x""yes; then
   20484   INTELCC="yes"
   20485 else
   20486   INTELCC="no"
   20487 fi
   20488 
   20489 	if test "x$GCC" = xyes ; then
   20490 		STRICT_CFLAGS="-pedantic -Werror"
   20491 	elif test "x$SUNCC" = "xyes"; then
   20492 		STRICT_CFLAGS="-errwarn"
   20493     elif test "x$INTELCC" = "xyes"; then
   20494 		STRICT_CFLAGS="-Werror"
   20495 	fi
   20496 fi
   20497 CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
   20498 
   20499 
   20500 
   20501 
   20502 # Check whether --with-release-version was given.
   20503 if test "${with_release_version+set}" = set; then
   20504   withval=$with_release_version; RELEASE_VERSION="$withval"
   20505 else
   20506   RELEASE_VERSION=""
   20507 fi
   20508 
   20509 	if test "x$RELEASE_VERSION" != "x"; then
   20510 		PACKAGE="$PACKAGE-$RELEASE_VERSION"
   20511 		PACKAGE_TARNAME="$PACKAGE_TARNAME-$RELEASE_VERSION"
   20512 		{ $as_echo "$as_me:$LINENO: Building with package name set to $PACKAGE" >&5
   20513 $as_echo "$as_me: Building with package name set to $PACKAGE" >&6;}
   20514 	fi
   20515 
   20516 cat >>confdefs.h <<_ACEOF
   20517 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   20518 _ACEOF
   20519 
   20520 	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
   20521 	if test "x$PVM" = "x"; then
   20522 		PVM="0"
   20523 	fi
   20524 
   20525 cat >>confdefs.h <<_ACEOF
   20526 #define PACKAGE_VERSION_MINOR $PVM
   20527 _ACEOF
   20528 
   20529 	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
   20530 	if test "x$PVP" = "x"; then
   20531 		PVP="0"
   20532 	fi
   20533 
   20534 cat >>confdefs.h <<_ACEOF
   20535 #define PACKAGE_VERSION_PATCHLEVEL $PVP
   20536 _ACEOF
   20537 
   20538 
   20539 
   20540 CHANGELOG_CMD="(GIT_DIR=\$(top_srcdir)/.git git log > .changelog.tmp && \
   20541 mv .changelog.tmp ChangeLog) || (rm -f .changelog.tmp; touch ChangeLog; \
   20542 echo 'git directory not found: installing possibly empty changelog.' >&2)"
   20543 
   20544 distcleancheck_listfiles='find . -type f ! -name ChangeLog -print'
   20545 
   20546 
   20547 
   20548 
   20549 
   20550 if test x$APP_MAN_SUFFIX = x    ; then
   20551     APP_MAN_SUFFIX=1
   20552 fi
   20553 if test x$APP_MAN_DIR = x    ; then
   20554     APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
   20555 fi
   20556 
   20557 if test x$LIB_MAN_SUFFIX = x    ; then
   20558     LIB_MAN_SUFFIX=3
   20559 fi
   20560 if test x$LIB_MAN_DIR = x    ; then
   20561     LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
   20562 fi
   20563 
   20564 if test x$FILE_MAN_SUFFIX = x    ; then
   20565     case $host_os in
   20566 	solaris*)	FILE_MAN_SUFFIX=4  ;;
   20567 	*)		FILE_MAN_SUFFIX=5  ;;
   20568     esac
   20569 fi
   20570 if test x$FILE_MAN_DIR = x    ; then
   20571     FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
   20572 fi
   20573 
   20574 if test x$MISC_MAN_SUFFIX = x    ; then
   20575     case $host_os in
   20576 	solaris*)	MISC_MAN_SUFFIX=5  ;;
   20577 	*)		MISC_MAN_SUFFIX=7  ;;
   20578     esac
   20579 fi
   20580 if test x$MISC_MAN_DIR = x    ; then
   20581     MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
   20582 fi
   20583 
   20584 if test x$DRIVER_MAN_SUFFIX = x    ; then
   20585     case $host_os in
   20586 	solaris*)	DRIVER_MAN_SUFFIX=7  ;;
   20587 	*)		DRIVER_MAN_SUFFIX=4  ;;
   20588     esac
   20589 fi
   20590 if test x$DRIVER_MAN_DIR = x    ; then
   20591     DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
   20592 fi
   20593 
   20594 if test x$ADMIN_MAN_SUFFIX = x    ; then
   20595     case $host_os in
   20596 	solaris*)	ADMIN_MAN_SUFFIX=1m ;;
   20597 	*)		ADMIN_MAN_SUFFIX=8  ;;
   20598     esac
   20599 fi
   20600 if test x$ADMIN_MAN_DIR = x    ; then
   20601     ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
   20602 fi
   20603 
   20604 
   20605 
   20606 
   20607 
   20608 
   20609 
   20610 
   20611 
   20612 
   20613 
   20614 
   20615 
   20616 
   20617 
   20618 
   20619 
   20620 # Set library version for Xft.h from package version set in AC_INIT
   20621 # copied from PACKAGE_VERSION_* settings in XORG_VERSION
   20622 ac_config_headers="$ac_config_headers include/X11/Xft/Xft.h"
   20623 
   20624 
   20625 cat >>confdefs.h <<_ACEOF
   20626 #define XFT_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   20627 _ACEOF
   20628 
   20629 
   20630 cat >>confdefs.h <<_ACEOF
   20631 #define XFT_MINOR `echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
   20632 _ACEOF
   20633 
   20634 
   20635 cat >>confdefs.h <<_ACEOF
   20636 #define XFT_REVISION `echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
   20637 _ACEOF
   20638 
   20639 
   20640 #
   20641 # Check for Xrender
   20642 #
   20643 
   20644 
   20645 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   20646 	if test -n "$ac_tool_prefix"; then
   20647   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   20648 set dummy ${ac_tool_prefix}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_PKG_CONFIG+set}" = set; then
   20652   $as_echo_n "(cached) " >&6
   20653 else
   20654   case $PKG_CONFIG in
   20655   [\\/]* | ?:[\\/]*)
   20656   ac_cv_path_PKG_CONFIG="$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_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 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   20678 if test -n "$PKG_CONFIG"; then
   20679   { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
   20680 $as_echo "$PKG_CONFIG" >&6; }
   20681 else
   20682   { $as_echo "$as_me:$LINENO: result: no" >&5
   20683 $as_echo "no" >&6; }
   20684 fi
   20685 
   20686 
   20687 fi
   20688 if test -z "$ac_cv_path_PKG_CONFIG"; then
   20689   ac_pt_PKG_CONFIG=$PKG_CONFIG
   20690   # Extract the first word of "pkg-config", so it can be a program name with args.
   20691 set dummy pkg-config; ac_word=$2
   20692 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   20693 $as_echo_n "checking for $ac_word... " >&6; }
   20694 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
   20695   $as_echo_n "(cached) " >&6
   20696 else
   20697   case $ac_pt_PKG_CONFIG in
   20698   [\\/]* | ?:[\\/]*)
   20699   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   20700   ;;
   20701   *)
   20702   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   20703 for as_dir in $PATH
   20704 do
   20705   IFS=$as_save_IFS
   20706   test -z "$as_dir" && as_dir=.
   20707   for ac_exec_ext in '' $ac_executable_extensions; do
   20708   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   20709     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   20710     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   20711     break 2
   20712   fi
   20713 done
   20714 done
   20715 IFS=$as_save_IFS
   20716 
   20717   ;;
   20718 esac
   20719 fi
   20720 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   20721 if test -n "$ac_pt_PKG_CONFIG"; then
   20722   { $as_echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
   20723 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
   20724 else
   20725   { $as_echo "$as_me:$LINENO: result: no" >&5
   20726 $as_echo "no" >&6; }
   20727 fi
   20728 
   20729   if test "x$ac_pt_PKG_CONFIG" = x; then
   20730     PKG_CONFIG=""
   20731   else
   20732     case $cross_compiling:$ac_tool_warned in
   20733 yes:)
   20734 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   20735 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   20736 ac_tool_warned=yes ;;
   20737 esac
   20738     PKG_CONFIG=$ac_pt_PKG_CONFIG
   20739   fi
   20740 else
   20741   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   20742 fi
   20743 
   20744 fi
   20745 if test -n "$PKG_CONFIG"; then
   20746 	_pkg_min_version=0.9.0
   20747 	{ $as_echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
   20748 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   20749 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   20750 		{ $as_echo "$as_me:$LINENO: result: yes" >&5
   20751 $as_echo "yes" >&6; }
   20752 	else
   20753 		{ $as_echo "$as_me:$LINENO: result: no" >&5
   20754 $as_echo "no" >&6; }
   20755 		PKG_CONFIG=""
   20756 	fi
   20757 
   20758 fi
   20759 
   20760 pkg_failed=no
   20761 { $as_echo "$as_me:$LINENO: checking for XRENDER" >&5
   20762 $as_echo_n "checking for XRENDER... " >&6; }
   20763 
   20764 if test -n "$XRENDER_CFLAGS"; then
   20765     pkg_cv_XRENDER_CFLAGS="$XRENDER_CFLAGS"
   20766  elif test -n "$PKG_CONFIG"; then
   20767     if test -n "$PKG_CONFIG" && \
   20768     { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xrender >= 0.8.2\"") >&5
   20769   ($PKG_CONFIG --exists --print-errors "xrender >= 0.8.2") 2>&5
   20770   ac_status=$?
   20771   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20772   (exit $ac_status); }; then
   20773   pkg_cv_XRENDER_CFLAGS=`$PKG_CONFIG --cflags "xrender >= 0.8.2" 2>/dev/null`
   20774 else
   20775   pkg_failed=yes
   20776 fi
   20777  else
   20778     pkg_failed=untried
   20779 fi
   20780 if test -n "$XRENDER_LIBS"; then
   20781     pkg_cv_XRENDER_LIBS="$XRENDER_LIBS"
   20782  elif test -n "$PKG_CONFIG"; then
   20783     if test -n "$PKG_CONFIG" && \
   20784     { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xrender >= 0.8.2\"") >&5
   20785   ($PKG_CONFIG --exists --print-errors "xrender >= 0.8.2") 2>&5
   20786   ac_status=$?
   20787   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20788   (exit $ac_status); }; then
   20789   pkg_cv_XRENDER_LIBS=`$PKG_CONFIG --libs "xrender >= 0.8.2" 2>/dev/null`
   20790 else
   20791   pkg_failed=yes
   20792 fi
   20793  else
   20794     pkg_failed=untried
   20795 fi
   20796 
   20797 
   20798 
   20799 if test $pkg_failed = yes; then
   20800 
   20801 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   20802         _pkg_short_errors_supported=yes
   20803 else
   20804         _pkg_short_errors_supported=no
   20805 fi
   20806         if test $_pkg_short_errors_supported = yes; then
   20807 	        XRENDER_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "xrender >= 0.8.2" 2>&1`
   20808         else
   20809 	        XRENDER_PKG_ERRORS=`$PKG_CONFIG --print-errors "xrender >= 0.8.2" 2>&1`
   20810         fi
   20811 	# Put the nasty error message in config.log where it belongs
   20812 	echo "$XRENDER_PKG_ERRORS" >&5
   20813 
   20814 	{ $as_echo "$as_me:$LINENO: result: no" >&5
   20815 $as_echo "no" >&6; }
   20816                 xrender_found_with_pkgconfig=no
   20817 elif test $pkg_failed = untried; then
   20818 	xrender_found_with_pkgconfig=no
   20819 else
   20820 	XRENDER_CFLAGS=$pkg_cv_XRENDER_CFLAGS
   20821 	XRENDER_LIBS=$pkg_cv_XRENDER_LIBS
   20822         { $as_echo "$as_me:$LINENO: result: yes" >&5
   20823 $as_echo "yes" >&6; }
   20824 	xrender_found_with_pkgconfig=yes
   20825 fi
   20826 case "$xrender_found_with_pkgconfig" in
   20827 no)
   20828 
   20829 pkg_failed=no
   20830 { $as_echo "$as_me:$LINENO: checking for XRENDER" >&5
   20831 $as_echo_n "checking for XRENDER... " >&6; }
   20832 
   20833 if test -n "$XRENDER_CFLAGS"; then
   20834     pkg_cv_XRENDER_CFLAGS="$XRENDER_CFLAGS"
   20835  elif test -n "$PKG_CONFIG"; then
   20836     if test -n "$PKG_CONFIG" && \
   20837     { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xrender >= 0\"") >&5
   20838   ($PKG_CONFIG --exists --print-errors "xrender >= 0") 2>&5
   20839   ac_status=$?
   20840   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20841   (exit $ac_status); }; then
   20842   pkg_cv_XRENDER_CFLAGS=`$PKG_CONFIG --cflags "xrender >= 0" 2>/dev/null`
   20843 else
   20844   pkg_failed=yes
   20845 fi
   20846  else
   20847     pkg_failed=untried
   20848 fi
   20849 if test -n "$XRENDER_LIBS"; then
   20850     pkg_cv_XRENDER_LIBS="$XRENDER_LIBS"
   20851  elif test -n "$PKG_CONFIG"; then
   20852     if test -n "$PKG_CONFIG" && \
   20853     { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xrender >= 0\"") >&5
   20854   ($PKG_CONFIG --exists --print-errors "xrender >= 0") 2>&5
   20855   ac_status=$?
   20856   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20857   (exit $ac_status); }; then
   20858   pkg_cv_XRENDER_LIBS=`$PKG_CONFIG --libs "xrender >= 0" 2>/dev/null`
   20859 else
   20860   pkg_failed=yes
   20861 fi
   20862  else
   20863     pkg_failed=untried
   20864 fi
   20865 
   20866 
   20867 
   20868 if test $pkg_failed = yes; then
   20869 
   20870 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   20871         _pkg_short_errors_supported=yes
   20872 else
   20873         _pkg_short_errors_supported=no
   20874 fi
   20875         if test $_pkg_short_errors_supported = yes; then
   20876 	        XRENDER_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "xrender >= 0" 2>&1`
   20877         else
   20878 	        XRENDER_PKG_ERRORS=`$PKG_CONFIG --print-errors "xrender >= 0" 2>&1`
   20879         fi
   20880 	# Put the nasty error message in config.log where it belongs
   20881 	echo "$XRENDER_PKG_ERRORS" >&5
   20882 
   20883 	{ $as_echo "$as_me:$LINENO: result: no" >&5
   20884 $as_echo "no" >&6; }
   20885                 old_xrender_found_with_pkgconfig=no
   20886 elif test $pkg_failed = untried; then
   20887 	old_xrender_found_with_pkgconfig=no
   20888 else
   20889 	XRENDER_CFLAGS=$pkg_cv_XRENDER_CFLAGS
   20890 	XRENDER_LIBS=$pkg_cv_XRENDER_LIBS
   20891         { $as_echo "$as_me:$LINENO: result: yes" >&5
   20892 $as_echo "yes" >&6; }
   20893 	old_xrender_found_with_pkgconfig=yes
   20894 fi
   20895 	case "$old_xrender_found_with_pkgconfig" in
   20896 	yes)
   20897 		XRENDER_LIBS="$XRENDER_LIBS -lXext -lX11"
   20898 		;;
   20899 	*)
   20900 	        # checks for X
   20901 	        { $as_echo "$as_me:$LINENO: checking for X" >&5
   20902 $as_echo_n "checking for X... " >&6; }
   20903 
   20904 
   20905 # Check whether --with-x was given.
   20906 if test "${with_x+set}" = set; then
   20907   withval=$with_x;
   20908 fi
   20909 
   20910 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
   20911 if test "x$with_x" = xno; then
   20912   # The user explicitly disabled X.
   20913   have_x=disabled
   20914 else
   20915   case $x_includes,$x_libraries in #(
   20916     *\'*) { { $as_echo "$as_me:$LINENO: error: cannot use X directory names containing '" >&5
   20917 $as_echo "$as_me: error: cannot use X directory names containing '" >&2;}
   20918    { (exit 1); exit 1; }; };; #(
   20919     *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
   20920   $as_echo_n "(cached) " >&6
   20921 else
   20922   # One or both of the vars are not set, and there is no cached value.
   20923 ac_x_includes=no ac_x_libraries=no
   20924 rm -f -r conftest.dir
   20925 if mkdir conftest.dir; then
   20926   cd conftest.dir
   20927   cat >Imakefile <<'_ACEOF'
   20928 incroot:
   20929 	@echo incroot='${INCROOT}'
   20930 usrlibdir:
   20931 	@echo usrlibdir='${USRLIBDIR}'
   20932 libdir:
   20933 	@echo libdir='${LIBDIR}'
   20934 _ACEOF
   20935   if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
   20936     # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
   20937     for ac_var in incroot usrlibdir libdir; do
   20938       eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
   20939     done
   20940     # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
   20941     for ac_extension in a so sl dylib la dll; do
   20942       if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
   20943 	 test -f "$ac_im_libdir/libX11.$ac_extension"; then
   20944 	ac_im_usrlibdir=$ac_im_libdir; break
   20945       fi
   20946     done
   20947     # Screen out bogus values from the imake configuration.  They are
   20948     # bogus both because they are the default anyway, and because
   20949     # using them would break gcc on systems where it needs fixed includes.
   20950     case $ac_im_incroot in
   20951 	/usr/include) ac_x_includes= ;;
   20952 	*) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
   20953     esac
   20954     case $ac_im_usrlibdir in
   20955 	/usr/lib | /usr/lib64 | /lib | /lib64) ;;
   20956 	*) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
   20957     esac
   20958   fi
   20959   cd ..
   20960   rm -f -r conftest.dir
   20961 fi
   20962 
   20963 # Standard set of common directories for X headers.
   20964 # Check X11 before X11Rn because it is often a symlink to the current release.
   20965 ac_x_header_dirs='
   20966 /usr/X11/include
   20967 /usr/X11R6/include
   20968 /usr/X11R5/include
   20969 /usr/X11R4/include
   20970 
   20971 /usr/include/X11
   20972 /usr/include/X11R6
   20973 /usr/include/X11R5
   20974 /usr/include/X11R4
   20975 
   20976 /usr/local/X11/include
   20977 /usr/local/X11R6/include
   20978 /usr/local/X11R5/include
   20979 /usr/local/X11R4/include
   20980 
   20981 /usr/local/include/X11
   20982 /usr/local/include/X11R6
   20983 /usr/local/include/X11R5
   20984 /usr/local/include/X11R4
   20985 
   20986 /usr/X386/include
   20987 /usr/x386/include
   20988 /usr/XFree86/include/X11
   20989 
   20990 /usr/include
   20991 /usr/local/include
   20992 /usr/unsupported/include
   20993 /usr/athena/include
   20994 /usr/local/x11r5/include
   20995 /usr/lpp/Xamples/include
   20996 
   20997 /usr/openwin/include
   20998 /usr/openwin/share/include'
   20999 
   21000 if test "$ac_x_includes" = no; then
   21001   # Guess where to find include files, by looking for Xlib.h.
   21002   # First, try using that file with no special directory specified.
   21003   cat >conftest.$ac_ext <<_ACEOF
   21004 /* confdefs.h.  */
   21005 _ACEOF
   21006 cat confdefs.h >>conftest.$ac_ext
   21007 cat >>conftest.$ac_ext <<_ACEOF
   21008 /* end confdefs.h.  */
   21009 #include <X11/Xlib.h>
   21010 _ACEOF
   21011 if { (ac_try="$ac_cpp conftest.$ac_ext"
   21012 case "(($ac_try" in
   21013   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   21014   *) ac_try_echo=$ac_try;;
   21015 esac
   21016 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   21017 $as_echo "$ac_try_echo") >&5
   21018   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   21019   ac_status=$?
   21020   grep -v '^ *+' conftest.er1 >conftest.err
   21021   rm -f conftest.er1
   21022   cat conftest.err >&5
   21023   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21024   (exit $ac_status); } >/dev/null && {
   21025 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   21026 	 test ! -s conftest.err
   21027        }; then
   21028   # We can compile using X headers with no special include directory.
   21029 ac_x_includes=
   21030 else
   21031   $as_echo "$as_me: failed program was:" >&5
   21032 sed 's/^/| /' conftest.$ac_ext >&5
   21033 
   21034   for ac_dir in $ac_x_header_dirs; do
   21035   if test -r "$ac_dir/X11/Xlib.h"; then
   21036     ac_x_includes=$ac_dir
   21037     break
   21038   fi
   21039 done
   21040 fi
   21041 
   21042 rm -f conftest.err conftest.$ac_ext
   21043 fi # $ac_x_includes = no
   21044 
   21045 if test "$ac_x_libraries" = no; then
   21046   # Check for the libraries.
   21047   # See if we find them without any special options.
   21048   # Don't add to $LIBS permanently.
   21049   ac_save_LIBS=$LIBS
   21050   LIBS="-lX11 $LIBS"
   21051   cat >conftest.$ac_ext <<_ACEOF
   21052 /* confdefs.h.  */
   21053 _ACEOF
   21054 cat confdefs.h >>conftest.$ac_ext
   21055 cat >>conftest.$ac_ext <<_ACEOF
   21056 /* end confdefs.h.  */
   21057 #include <X11/Xlib.h>
   21058 int
   21059 main ()
   21060 {
   21061 XrmInitialize ()
   21062   ;
   21063   return 0;
   21064 }
   21065 _ACEOF
   21066 rm -f conftest.$ac_objext conftest$ac_exeext
   21067 if { (ac_try="$ac_link"
   21068 case "(($ac_try" in
   21069   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   21070   *) ac_try_echo=$ac_try;;
   21071 esac
   21072 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   21073 $as_echo "$ac_try_echo") >&5
   21074   (eval "$ac_link") 2>conftest.er1
   21075   ac_status=$?
   21076   grep -v '^ *+' conftest.er1 >conftest.err
   21077   rm -f conftest.er1
   21078   cat conftest.err >&5
   21079   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21080   (exit $ac_status); } && {
   21081 	 test -z "$ac_c_werror_flag" ||
   21082 	 test ! -s conftest.err
   21083        } && test -s conftest$ac_exeext && {
   21084 	 test "$cross_compiling" = yes ||
   21085 	 $as_test_x conftest$ac_exeext
   21086        }; then
   21087   LIBS=$ac_save_LIBS
   21088 # We can link X programs with no special library path.
   21089 ac_x_libraries=
   21090 else
   21091   $as_echo "$as_me: failed program was:" >&5
   21092 sed 's/^/| /' conftest.$ac_ext >&5
   21093 
   21094 	LIBS=$ac_save_LIBS
   21095 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
   21096 do
   21097   # Don't even attempt the hair of trying to link an X program!
   21098   for ac_extension in a so sl dylib la dll; do
   21099     if test -r "$ac_dir/libX11.$ac_extension"; then
   21100       ac_x_libraries=$ac_dir
   21101       break 2
   21102     fi
   21103   done
   21104 done
   21105 fi
   21106 
   21107 rm -rf conftest.dSYM
   21108 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   21109       conftest$ac_exeext conftest.$ac_ext
   21110 fi # $ac_x_libraries = no
   21111 
   21112 case $ac_x_includes,$ac_x_libraries in #(
   21113   no,* | *,no | *\'*)
   21114     # Didn't find X, or a directory has "'" in its name.
   21115     ac_cv_have_x="have_x=no";; #(
   21116   *)
   21117     # Record where we found X for the cache.
   21118     ac_cv_have_x="have_x=yes\
   21119 	ac_x_includes='$ac_x_includes'\
   21120 	ac_x_libraries='$ac_x_libraries'"
   21121 esac
   21122 fi
   21123 ;; #(
   21124     *) have_x=yes;;
   21125   esac
   21126   eval "$ac_cv_have_x"
   21127 fi # $with_x != no
   21128 
   21129 if test "$have_x" != yes; then
   21130   { $as_echo "$as_me:$LINENO: result: $have_x" >&5
   21131 $as_echo "$have_x" >&6; }
   21132   no_x=yes
   21133 else
   21134   # If each of the values was on the command line, it overrides each guess.
   21135   test "x$x_includes" = xNONE && x_includes=$ac_x_includes
   21136   test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
   21137   # Update the cache value to reflect the command line values.
   21138   ac_cv_have_x="have_x=yes\
   21139 	ac_x_includes='$x_includes'\
   21140 	ac_x_libraries='$x_libraries'"
   21141   { $as_echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
   21142 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
   21143 fi
   21144 
   21145 
   21146 	        XRENDER_CFLAGS="-I$x_includes"
   21147 	        XRENDER_LIBS="-L$x_libraries -lXrender -lXext -lX11"
   21148 
   21149 	        saved_CPPFLAGS="$CPPFLAGS"
   21150 	        CPPFLAGS="$CPPFLAGS $XRENDER_CFLAGS"
   21151 
   21152 for ac_header in X11/extensions/Xrender.h
   21153 do
   21154 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   21155 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   21156   { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
   21157 $as_echo_n "checking for $ac_header... " >&6; }
   21158 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   21159   $as_echo_n "(cached) " >&6
   21160 fi
   21161 ac_res=`eval 'as_val=${'$as_ac_Header'}
   21162 		 $as_echo "$as_val"'`
   21163 	       { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
   21164 $as_echo "$ac_res" >&6; }
   21165 else
   21166   # Is the header compilable?
   21167 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
   21168 $as_echo_n "checking $ac_header usability... " >&6; }
   21169 cat >conftest.$ac_ext <<_ACEOF
   21170 /* confdefs.h.  */
   21171 _ACEOF
   21172 cat confdefs.h >>conftest.$ac_ext
   21173 cat >>conftest.$ac_ext <<_ACEOF
   21174 /* end confdefs.h.  */
   21175 $ac_includes_default
   21176 #include <$ac_header>
   21177 _ACEOF
   21178 rm -f conftest.$ac_objext
   21179 if { (ac_try="$ac_compile"
   21180 case "(($ac_try" in
   21181   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   21182   *) ac_try_echo=$ac_try;;
   21183 esac
   21184 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   21185 $as_echo "$ac_try_echo") >&5
   21186   (eval "$ac_compile") 2>conftest.er1
   21187   ac_status=$?
   21188   grep -v '^ *+' conftest.er1 >conftest.err
   21189   rm -f conftest.er1
   21190   cat conftest.err >&5
   21191   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21192   (exit $ac_status); } && {
   21193 	 test -z "$ac_c_werror_flag" ||
   21194 	 test ! -s conftest.err
   21195        } && test -s conftest.$ac_objext; then
   21196   ac_header_compiler=yes
   21197 else
   21198   $as_echo "$as_me: failed program was:" >&5
   21199 sed 's/^/| /' conftest.$ac_ext >&5
   21200 
   21201 	ac_header_compiler=no
   21202 fi
   21203 
   21204 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   21205 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
   21206 $as_echo "$ac_header_compiler" >&6; }
   21207 
   21208 # Is the header present?
   21209 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
   21210 $as_echo_n "checking $ac_header presence... " >&6; }
   21211 cat >conftest.$ac_ext <<_ACEOF
   21212 /* confdefs.h.  */
   21213 _ACEOF
   21214 cat confdefs.h >>conftest.$ac_ext
   21215 cat >>conftest.$ac_ext <<_ACEOF
   21216 /* end confdefs.h.  */
   21217 #include <$ac_header>
   21218 _ACEOF
   21219 if { (ac_try="$ac_cpp conftest.$ac_ext"
   21220 case "(($ac_try" in
   21221   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   21222   *) ac_try_echo=$ac_try;;
   21223 esac
   21224 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   21225 $as_echo "$ac_try_echo") >&5
   21226   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   21227   ac_status=$?
   21228   grep -v '^ *+' conftest.er1 >conftest.err
   21229   rm -f conftest.er1
   21230   cat conftest.err >&5
   21231   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21232   (exit $ac_status); } >/dev/null && {
   21233 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   21234 	 test ! -s conftest.err
   21235        }; then
   21236   ac_header_preproc=yes
   21237 else
   21238   $as_echo "$as_me: failed program was:" >&5
   21239 sed 's/^/| /' conftest.$ac_ext >&5
   21240 
   21241   ac_header_preproc=no
   21242 fi
   21243 
   21244 rm -f conftest.err conftest.$ac_ext
   21245 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
   21246 $as_echo "$ac_header_preproc" >&6; }
   21247 
   21248 # So?  What about this header?
   21249 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
   21250   yes:no: )
   21251     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
   21252 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
   21253     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
   21254 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
   21255     ac_header_preproc=yes
   21256     ;;
   21257   no:yes:* )
   21258     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
   21259 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
   21260     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
   21261 $as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
   21262     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
   21263 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
   21264     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
   21265 $as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
   21266     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
   21267 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
   21268     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
   21269 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
   21270     ( cat <<\_ASBOX
   21271 ## ---------------------------------------------------------------------- ##
   21272 ## Report this to https://bugs.freedesktop.org/enter_bug.cgi?product=xorg ##
   21273 ## ---------------------------------------------------------------------- ##
   21274 _ASBOX
   21275      ) | sed "s/^/$as_me: WARNING:     /" >&2
   21276     ;;
   21277 esac
   21278 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
   21279 $as_echo_n "checking for $ac_header... " >&6; }
   21280 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   21281   $as_echo_n "(cached) " >&6
   21282 else
   21283   eval "$as_ac_Header=\$ac_header_preproc"
   21284 fi
   21285 ac_res=`eval 'as_val=${'$as_ac_Header'}
   21286 		 $as_echo "$as_val"'`
   21287 	       { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
   21288 $as_echo "$ac_res" >&6; }
   21289 
   21290 fi
   21291 as_val=`eval 'as_val=${'$as_ac_Header'}
   21292 		 $as_echo "$as_val"'`
   21293    if test "x$as_val" = x""yes; then
   21294   cat >>confdefs.h <<_ACEOF
   21295 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   21296 _ACEOF
   21297 
   21298 else
   21299   { { $as_echo "$as_me:$LINENO: error: Xrender.h not found." >&5
   21300 $as_echo "$as_me: error: Xrender.h not found." >&2;}
   21301    { (exit 1); exit 1; }; }
   21302 fi
   21303 
   21304 done
   21305 
   21306 	        CPPFLAGS="$saved_CPPFLAGS"
   21307 
   21308 	        saved_LIBS="$LIBS"
   21309 	        LIBS="$LIBS $XRENDER_LIBS"
   21310 
   21311 for ac_func in XRenderFindStandardFormat
   21312 do
   21313 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
   21314 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
   21315 $as_echo_n "checking for $ac_func... " >&6; }
   21316 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
   21317   $as_echo_n "(cached) " >&6
   21318 else
   21319   cat >conftest.$ac_ext <<_ACEOF
   21320 /* confdefs.h.  */
   21321 _ACEOF
   21322 cat confdefs.h >>conftest.$ac_ext
   21323 cat >>conftest.$ac_ext <<_ACEOF
   21324 /* end confdefs.h.  */
   21325 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
   21326    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   21327 #define $ac_func innocuous_$ac_func
   21328 
   21329 /* System header to define __stub macros and hopefully few prototypes,
   21330     which can conflict with char $ac_func (); below.
   21331     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   21332     <limits.h> exists even on freestanding compilers.  */
   21333 
   21334 #ifdef __STDC__
   21335 # include <limits.h>
   21336 #else
   21337 # include <assert.h>
   21338 #endif
   21339 
   21340 #undef $ac_func
   21341 
   21342 /* Override any GCC internal prototype to avoid an error.
   21343    Use char because int might match the return type of a GCC
   21344    builtin and then its argument prototype would still apply.  */
   21345 #ifdef __cplusplus
   21346 extern "C"
   21347 #endif
   21348 char $ac_func ();
   21349 /* The GNU C library defines this for functions which it implements
   21350     to always fail with ENOSYS.  Some functions are actually named
   21351     something starting with __ and the normal name is an alias.  */
   21352 #if defined __stub_$ac_func || defined __stub___$ac_func
   21353 choke me
   21354 #endif
   21355 
   21356 int
   21357 main ()
   21358 {
   21359 return $ac_func ();
   21360   ;
   21361   return 0;
   21362 }
   21363 _ACEOF
   21364 rm -f conftest.$ac_objext conftest$ac_exeext
   21365 if { (ac_try="$ac_link"
   21366 case "(($ac_try" in
   21367   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   21368   *) ac_try_echo=$ac_try;;
   21369 esac
   21370 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   21371 $as_echo "$ac_try_echo") >&5
   21372   (eval "$ac_link") 2>conftest.er1
   21373   ac_status=$?
   21374   grep -v '^ *+' conftest.er1 >conftest.err
   21375   rm -f conftest.er1
   21376   cat conftest.err >&5
   21377   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21378   (exit $ac_status); } && {
   21379 	 test -z "$ac_c_werror_flag" ||
   21380 	 test ! -s conftest.err
   21381        } && test -s conftest$ac_exeext && {
   21382 	 test "$cross_compiling" = yes ||
   21383 	 $as_test_x conftest$ac_exeext
   21384        }; then
   21385   eval "$as_ac_var=yes"
   21386 else
   21387   $as_echo "$as_me: failed program was:" >&5
   21388 sed 's/^/| /' conftest.$ac_ext >&5
   21389 
   21390 	eval "$as_ac_var=no"
   21391 fi
   21392 
   21393 rm -rf conftest.dSYM
   21394 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   21395       conftest$ac_exeext conftest.$ac_ext
   21396 fi
   21397 ac_res=`eval 'as_val=${'$as_ac_var'}
   21398 		 $as_echo "$as_val"'`
   21399 	       { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
   21400 $as_echo "$ac_res" >&6; }
   21401 as_val=`eval 'as_val=${'$as_ac_var'}
   21402 		 $as_echo "$as_val"'`
   21403    if test "x$as_val" = x""yes; then
   21404   cat >>confdefs.h <<_ACEOF
   21405 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
   21406 _ACEOF
   21407 
   21408 else
   21409   { { $as_echo "$as_me:$LINENO: error: libXrender not found or too old." >&5
   21410 $as_echo "$as_me: error: libXrender not found or too old." >&2;}
   21411    { (exit 1); exit 1; }; }
   21412 fi
   21413 done
   21414 
   21415 	        LIBS="$saved_LIBS"
   21416 		;;
   21417 	esac
   21418         ;;
   21419 esac
   21420 
   21421 # Check freetype configuration
   21422 
   21423 # Check whether --with-freetype-config was given.
   21424 if test "${with_freetype_config+set}" = set; then
   21425   withval=$with_freetype_config; freetype_config=$withval
   21426 else
   21427   freetype_config=auto
   21428 fi
   21429 
   21430 
   21431 if test "$freetype_config" = "auto"; then
   21432 
   21433 pkg_failed=no
   21434 { $as_echo "$as_me:$LINENO: checking for FREETYPE" >&5
   21435 $as_echo_n "checking for FREETYPE... " >&6; }
   21436 
   21437 if test -n "$FREETYPE_CFLAGS"; then
   21438     pkg_cv_FREETYPE_CFLAGS="$FREETYPE_CFLAGS"
   21439  elif test -n "$PKG_CONFIG"; then
   21440     if test -n "$PKG_CONFIG" && \
   21441     { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"freetype2\"") >&5
   21442   ($PKG_CONFIG --exists --print-errors "freetype2") 2>&5
   21443   ac_status=$?
   21444   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21445   (exit $ac_status); }; then
   21446   pkg_cv_FREETYPE_CFLAGS=`$PKG_CONFIG --cflags "freetype2" 2>/dev/null`
   21447 else
   21448   pkg_failed=yes
   21449 fi
   21450  else
   21451     pkg_failed=untried
   21452 fi
   21453 if test -n "$FREETYPE_LIBS"; then
   21454     pkg_cv_FREETYPE_LIBS="$FREETYPE_LIBS"
   21455  elif test -n "$PKG_CONFIG"; then
   21456     if test -n "$PKG_CONFIG" && \
   21457     { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"freetype2\"") >&5
   21458   ($PKG_CONFIG --exists --print-errors "freetype2") 2>&5
   21459   ac_status=$?
   21460   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21461   (exit $ac_status); }; then
   21462   pkg_cv_FREETYPE_LIBS=`$PKG_CONFIG --libs "freetype2" 2>/dev/null`
   21463 else
   21464   pkg_failed=yes
   21465 fi
   21466  else
   21467     pkg_failed=untried
   21468 fi
   21469 
   21470 
   21471 
   21472 if test $pkg_failed = yes; then
   21473 
   21474 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   21475         _pkg_short_errors_supported=yes
   21476 else
   21477         _pkg_short_errors_supported=no
   21478 fi
   21479         if test $_pkg_short_errors_supported = yes; then
   21480 	        FREETYPE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "freetype2" 2>&1`
   21481         else
   21482 	        FREETYPE_PKG_ERRORS=`$PKG_CONFIG --print-errors "freetype2" 2>&1`
   21483         fi
   21484 	# Put the nasty error message in config.log where it belongs
   21485 	echo "$FREETYPE_PKG_ERRORS" >&5
   21486 
   21487 	{ $as_echo "$as_me:$LINENO: result: no" >&5
   21488 $as_echo "no" >&6; }
   21489                 freetype_config=yes
   21490 elif test $pkg_failed = untried; then
   21491 	freetype_config=yes
   21492 else
   21493 	FREETYPE_CFLAGS=$pkg_cv_FREETYPE_CFLAGS
   21494 	FREETYPE_LIBS=$pkg_cv_FREETYPE_LIBS
   21495         { $as_echo "$as_me:$LINENO: result: yes" >&5
   21496 $as_echo "yes" >&6; }
   21497 	freetype_config=no
   21498 fi
   21499 fi
   21500 
   21501 if test "$freetype_config" = "yes"; then
   21502 	# Extract the first word of "freetype-config", so it can be a program name with args.
   21503 set dummy freetype-config; ac_word=$2
   21504 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   21505 $as_echo_n "checking for $ac_word... " >&6; }
   21506 if test "${ac_cv_path_ft_config+set}" = set; then
   21507   $as_echo_n "(cached) " >&6
   21508 else
   21509   case $ft_config in
   21510   [\\/]* | ?:[\\/]*)
   21511   ac_cv_path_ft_config="$ft_config" # Let the user override the test with a path.
   21512   ;;
   21513   *)
   21514   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   21515 for as_dir in $PATH
   21516 do
   21517   IFS=$as_save_IFS
   21518   test -z "$as_dir" && as_dir=.
   21519   for ac_exec_ext in '' $ac_executable_extensions; do
   21520   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   21521     ac_cv_path_ft_config="$as_dir/$ac_word$ac_exec_ext"
   21522     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   21523     break 2
   21524   fi
   21525 done
   21526 done
   21527 IFS=$as_save_IFS
   21528 
   21529   test -z "$ac_cv_path_ft_config" && ac_cv_path_ft_config="no"
   21530   ;;
   21531 esac
   21532 fi
   21533 ft_config=$ac_cv_path_ft_config
   21534 if test -n "$ft_config"; then
   21535   { $as_echo "$as_me:$LINENO: result: $ft_config" >&5
   21536 $as_echo "$ft_config" >&6; }
   21537 else
   21538   { $as_echo "$as_me:$LINENO: result: no" >&5
   21539 $as_echo "no" >&6; }
   21540 fi
   21541 
   21542 
   21543 	if test "$ft_config" = "no"; then
   21544 		{ { $as_echo "$as_me:$LINENO: error: You must have freetype installed; see http://www.freetype.org/" >&5
   21545 $as_echo "$as_me: error: You must have freetype installed; see http://www.freetype.org/" >&2;}
   21546    { (exit 1); exit 1; }; }
   21547 	fi
   21548 else
   21549 	ft_config="$freetype_config"
   21550 fi
   21551 
   21552 if test "$freetype_config" != "no"; then
   21553 	FREETYPE_CFLAGS="`$ft_config --cflags`"
   21554 	FREETYPE_LIBS="`$ft_config --libs`"
   21555 fi
   21556 
   21557 # Check fontconfig configuration
   21558 
   21559 pkg_failed=no
   21560 { $as_echo "$as_me:$LINENO: checking for FONTCONFIG" >&5
   21561 $as_echo_n "checking for FONTCONFIG... " >&6; }
   21562 
   21563 if test -n "$FONTCONFIG_CFLAGS"; then
   21564     pkg_cv_FONTCONFIG_CFLAGS="$FONTCONFIG_CFLAGS"
   21565  elif test -n "$PKG_CONFIG"; then
   21566     if test -n "$PKG_CONFIG" && \
   21567     { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"fontconfig >= 2.2\"") >&5
   21568   ($PKG_CONFIG --exists --print-errors "fontconfig >= 2.2") 2>&5
   21569   ac_status=$?
   21570   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21571   (exit $ac_status); }; then
   21572   pkg_cv_FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags "fontconfig >= 2.2" 2>/dev/null`
   21573 else
   21574   pkg_failed=yes
   21575 fi
   21576  else
   21577     pkg_failed=untried
   21578 fi
   21579 if test -n "$FONTCONFIG_LIBS"; then
   21580     pkg_cv_FONTCONFIG_LIBS="$FONTCONFIG_LIBS"
   21581  elif test -n "$PKG_CONFIG"; then
   21582     if test -n "$PKG_CONFIG" && \
   21583     { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"fontconfig >= 2.2\"") >&5
   21584   ($PKG_CONFIG --exists --print-errors "fontconfig >= 2.2") 2>&5
   21585   ac_status=$?
   21586   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21587   (exit $ac_status); }; then
   21588   pkg_cv_FONTCONFIG_LIBS=`$PKG_CONFIG --libs "fontconfig >= 2.2" 2>/dev/null`
   21589 else
   21590   pkg_failed=yes
   21591 fi
   21592  else
   21593     pkg_failed=untried
   21594 fi
   21595 
   21596 
   21597 
   21598 if test $pkg_failed = yes; then
   21599 
   21600 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   21601         _pkg_short_errors_supported=yes
   21602 else
   21603         _pkg_short_errors_supported=no
   21604 fi
   21605         if test $_pkg_short_errors_supported = yes; then
   21606 	        FONTCONFIG_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "fontconfig >= 2.2" 2>&1`
   21607         else
   21608 	        FONTCONFIG_PKG_ERRORS=`$PKG_CONFIG --print-errors "fontconfig >= 2.2" 2>&1`
   21609         fi
   21610 	# Put the nasty error message in config.log where it belongs
   21611 	echo "$FONTCONFIG_PKG_ERRORS" >&5
   21612 
   21613 	{ { $as_echo "$as_me:$LINENO: error: Package requirements (fontconfig >= 2.2) were not met:
   21614 
   21615 $FONTCONFIG_PKG_ERRORS
   21616 
   21617 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   21618 installed software in a non-standard prefix.
   21619 
   21620 Alternatively, you may set the environment variables FONTCONFIG_CFLAGS
   21621 and FONTCONFIG_LIBS to avoid the need to call pkg-config.
   21622 See the pkg-config man page for more details.
   21623 " >&5
   21624 $as_echo "$as_me: error: Package requirements (fontconfig >= 2.2) were not met:
   21625 
   21626 $FONTCONFIG_PKG_ERRORS
   21627 
   21628 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   21629 installed software in a non-standard prefix.
   21630 
   21631 Alternatively, you may set the environment variables FONTCONFIG_CFLAGS
   21632 and FONTCONFIG_LIBS to avoid the need to call pkg-config.
   21633 See the pkg-config man page for more details.
   21634 " >&2;}
   21635    { (exit 1); exit 1; }; }
   21636 elif test $pkg_failed = untried; then
   21637 	{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   21638 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   21639 { { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
   21640 is in your PATH or set the PKG_CONFIG environment variable to the full
   21641 path to pkg-config.
   21642 
   21643 Alternatively, you may set the environment variables FONTCONFIG_CFLAGS
   21644 and FONTCONFIG_LIBS to avoid the need to call pkg-config.
   21645 See the pkg-config man page for more details.
   21646 
   21647 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   21648 See \`config.log' for more details." >&5
   21649 $as_echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
   21650 is in your PATH or set the PKG_CONFIG environment variable to the full
   21651 path to pkg-config.
   21652 
   21653 Alternatively, you may set the environment variables FONTCONFIG_CFLAGS
   21654 and FONTCONFIG_LIBS to avoid the need to call pkg-config.
   21655 See the pkg-config man page for more details.
   21656 
   21657 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   21658 See \`config.log' for more details." >&2;}
   21659    { (exit 1); exit 1; }; }; }
   21660 else
   21661 	FONTCONFIG_CFLAGS=$pkg_cv_FONTCONFIG_CFLAGS
   21662 	FONTCONFIG_LIBS=$pkg_cv_FONTCONFIG_LIBS
   21663         { $as_echo "$as_me:$LINENO: result: yes" >&5
   21664 $as_echo "yes" >&6; }
   21665 	:
   21666 fi
   21667 
   21668 
   21669 
   21670 
   21671 
   21672 
   21673 
   21674 
   21675 fontconfig_save_libs="$LIBS"
   21676 fontconfig_save_cflags="$CFLAGS"
   21677 LIBS="$LIBS $FREETYPE_LIBS"
   21678 CFLAGS="$CFLAGS $FREETYPE_CFLAGS"
   21679 
   21680 
   21681 
   21682 
   21683 
   21684 for ac_func in FT_Get_Next_Char FT_Get_BDF_Property FT_Get_PS_Font_Info FT_Has_PS_Glyph_Names FT_GlyphSlot_Embolden
   21685 do
   21686 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
   21687 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
   21688 $as_echo_n "checking for $ac_func... " >&6; }
   21689 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
   21690   $as_echo_n "(cached) " >&6
   21691 else
   21692   cat >conftest.$ac_ext <<_ACEOF
   21693 /* confdefs.h.  */
   21694 _ACEOF
   21695 cat confdefs.h >>conftest.$ac_ext
   21696 cat >>conftest.$ac_ext <<_ACEOF
   21697 /* end confdefs.h.  */
   21698 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
   21699    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   21700 #define $ac_func innocuous_$ac_func
   21701 
   21702 /* System header to define __stub macros and hopefully few prototypes,
   21703     which can conflict with char $ac_func (); below.
   21704     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   21705     <limits.h> exists even on freestanding compilers.  */
   21706 
   21707 #ifdef __STDC__
   21708 # include <limits.h>
   21709 #else
   21710 # include <assert.h>
   21711 #endif
   21712 
   21713 #undef $ac_func
   21714 
   21715 /* Override any GCC internal prototype to avoid an error.
   21716    Use char because int might match the return type of a GCC
   21717    builtin and then its argument prototype would still apply.  */
   21718 #ifdef __cplusplus
   21719 extern "C"
   21720 #endif
   21721 char $ac_func ();
   21722 /* The GNU C library defines this for functions which it implements
   21723     to always fail with ENOSYS.  Some functions are actually named
   21724     something starting with __ and the normal name is an alias.  */
   21725 #if defined __stub_$ac_func || defined __stub___$ac_func
   21726 choke me
   21727 #endif
   21728 
   21729 int
   21730 main ()
   21731 {
   21732 return $ac_func ();
   21733   ;
   21734   return 0;
   21735 }
   21736 _ACEOF
   21737 rm -f conftest.$ac_objext conftest$ac_exeext
   21738 if { (ac_try="$ac_link"
   21739 case "(($ac_try" in
   21740   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   21741   *) ac_try_echo=$ac_try;;
   21742 esac
   21743 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   21744 $as_echo "$ac_try_echo") >&5
   21745   (eval "$ac_link") 2>conftest.er1
   21746   ac_status=$?
   21747   grep -v '^ *+' conftest.er1 >conftest.err
   21748   rm -f conftest.er1
   21749   cat conftest.err >&5
   21750   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21751   (exit $ac_status); } && {
   21752 	 test -z "$ac_c_werror_flag" ||
   21753 	 test ! -s conftest.err
   21754        } && test -s conftest$ac_exeext && {
   21755 	 test "$cross_compiling" = yes ||
   21756 	 $as_test_x conftest$ac_exeext
   21757        }; then
   21758   eval "$as_ac_var=yes"
   21759 else
   21760   $as_echo "$as_me: failed program was:" >&5
   21761 sed 's/^/| /' conftest.$ac_ext >&5
   21762 
   21763 	eval "$as_ac_var=no"
   21764 fi
   21765 
   21766 rm -rf conftest.dSYM
   21767 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   21768       conftest$ac_exeext conftest.$ac_ext
   21769 fi
   21770 ac_res=`eval 'as_val=${'$as_ac_var'}
   21771 		 $as_echo "$as_val"'`
   21772 	       { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
   21773 $as_echo "$ac_res" >&6; }
   21774 as_val=`eval 'as_val=${'$as_ac_var'}
   21775 		 $as_echo "$as_val"'`
   21776    if test "x$as_val" = x""yes; then
   21777   cat >>confdefs.h <<_ACEOF
   21778 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
   21779 _ACEOF
   21780 
   21781 fi
   21782 done
   21783 
   21784 { $as_echo "$as_me:$LINENO: checking for FT_Bitmap_Size.y_ppem" >&5
   21785 $as_echo_n "checking for FT_Bitmap_Size.y_ppem... " >&6; }
   21786 if test "${ac_cv_member_FT_Bitmap_Size_y_ppem+set}" = set; then
   21787   $as_echo_n "(cached) " >&6
   21788 else
   21789   cat >conftest.$ac_ext <<_ACEOF
   21790 /* confdefs.h.  */
   21791 _ACEOF
   21792 cat confdefs.h >>conftest.$ac_ext
   21793 cat >>conftest.$ac_ext <<_ACEOF
   21794 /* end confdefs.h.  */
   21795 #include <ft2build.h>
   21796 #include FT_FREETYPE_H
   21797 
   21798 int
   21799 main ()
   21800 {
   21801 static FT_Bitmap_Size ac_aggr;
   21802 if (ac_aggr.y_ppem)
   21803 return 0;
   21804   ;
   21805   return 0;
   21806 }
   21807 _ACEOF
   21808 rm -f conftest.$ac_objext
   21809 if { (ac_try="$ac_compile"
   21810 case "(($ac_try" in
   21811   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   21812   *) ac_try_echo=$ac_try;;
   21813 esac
   21814 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   21815 $as_echo "$ac_try_echo") >&5
   21816   (eval "$ac_compile") 2>conftest.er1
   21817   ac_status=$?
   21818   grep -v '^ *+' conftest.er1 >conftest.err
   21819   rm -f conftest.er1
   21820   cat conftest.err >&5
   21821   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21822   (exit $ac_status); } && {
   21823 	 test -z "$ac_c_werror_flag" ||
   21824 	 test ! -s conftest.err
   21825        } && test -s conftest.$ac_objext; then
   21826   ac_cv_member_FT_Bitmap_Size_y_ppem=yes
   21827 else
   21828   $as_echo "$as_me: failed program was:" >&5
   21829 sed 's/^/| /' conftest.$ac_ext >&5
   21830 
   21831 	cat >conftest.$ac_ext <<_ACEOF
   21832 /* confdefs.h.  */
   21833 _ACEOF
   21834 cat confdefs.h >>conftest.$ac_ext
   21835 cat >>conftest.$ac_ext <<_ACEOF
   21836 /* end confdefs.h.  */
   21837 #include <ft2build.h>
   21838 #include FT_FREETYPE_H
   21839 
   21840 int
   21841 main ()
   21842 {
   21843 static FT_Bitmap_Size ac_aggr;
   21844 if (sizeof ac_aggr.y_ppem)
   21845 return 0;
   21846   ;
   21847   return 0;
   21848 }
   21849 _ACEOF
   21850 rm -f conftest.$ac_objext
   21851 if { (ac_try="$ac_compile"
   21852 case "(($ac_try" in
   21853   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   21854   *) ac_try_echo=$ac_try;;
   21855 esac
   21856 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   21857 $as_echo "$ac_try_echo") >&5
   21858   (eval "$ac_compile") 2>conftest.er1
   21859   ac_status=$?
   21860   grep -v '^ *+' conftest.er1 >conftest.err
   21861   rm -f conftest.er1
   21862   cat conftest.err >&5
   21863   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21864   (exit $ac_status); } && {
   21865 	 test -z "$ac_c_werror_flag" ||
   21866 	 test ! -s conftest.err
   21867        } && test -s conftest.$ac_objext; then
   21868   ac_cv_member_FT_Bitmap_Size_y_ppem=yes
   21869 else
   21870   $as_echo "$as_me: failed program was:" >&5
   21871 sed 's/^/| /' conftest.$ac_ext >&5
   21872 
   21873 	ac_cv_member_FT_Bitmap_Size_y_ppem=no
   21874 fi
   21875 
   21876 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   21877 fi
   21878 
   21879 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   21880 fi
   21881 { $as_echo "$as_me:$LINENO: result: $ac_cv_member_FT_Bitmap_Size_y_ppem" >&5
   21882 $as_echo "$ac_cv_member_FT_Bitmap_Size_y_ppem" >&6; }
   21883 if test "x$ac_cv_member_FT_Bitmap_Size_y_ppem" = x""yes; then
   21884   HAVE_FT_BITMAP_SIZE_Y_PPEM=1
   21885 else
   21886   HAVE_FT_BITMAP_SIZE_Y_PPEM=0
   21887 fi
   21888 
   21889 
   21890 cat >>confdefs.h <<_ACEOF
   21891 #define HAVE_FT_BITMAP_SIZE_Y_PPEM $HAVE_FT_BITMAP_SIZE_Y_PPEM
   21892 _ACEOF
   21893 
   21894 
   21895 LIBS="$fontconfig_save_libs"
   21896 CFLAGS="$fontconfig_save_cflags"
   21897 
   21898 if test "$VERSION" = "" ; then
   21899        VERSION=$PACKAGE_VERSION;
   21900 fi
   21901 
   21902 ac_config_files="$ac_config_files Makefile xft.pc xft-config src/Makefile man/Makefile man/xft-config.1 man/Xft.3"
   21903 
   21904 cat >confcache <<\_ACEOF
   21905 # This file is a shell script that caches the results of configure
   21906 # tests run on this system so they can be shared between configure
   21907 # scripts and configure runs, see configure's option --config-cache.
   21908 # It is not useful on other systems.  If it contains results you don't
   21909 # want to keep, you may remove or edit it.
   21910 #
   21911 # config.status only pays attention to the cache file if you give it
   21912 # the --recheck option to rerun configure.
   21913 #
   21914 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   21915 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   21916 # following values.
   21917 
   21918 _ACEOF
   21919 
   21920 # The following way of writing the cache mishandles newlines in values,
   21921 # but we know of no workaround that is simple, portable, and efficient.
   21922 # So, we kill variables containing newlines.
   21923 # Ultrix sh set writes to stderr and can't be redirected directly,
   21924 # and sets the high bit in the cache file unless we assign to the vars.
   21925 (
   21926   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   21927     eval ac_val=\$$ac_var
   21928     case $ac_val in #(
   21929     *${as_nl}*)
   21930       case $ac_var in #(
   21931       *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
   21932 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   21933       esac
   21934       case $ac_var in #(
   21935       _ | IFS | as_nl) ;; #(
   21936       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   21937       *) $as_unset $ac_var ;;
   21938       esac ;;
   21939     esac
   21940   done
   21941 
   21942   (set) 2>&1 |
   21943     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   21944     *${as_nl}ac_space=\ *)
   21945       # `set' does not quote correctly, so add quotes (double-quote
   21946       # substitution turns \\\\ into \\, and sed turns \\ into \).
   21947       sed -n \
   21948 	"s/'/'\\\\''/g;
   21949 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   21950       ;; #(
   21951     *)
   21952       # `set' quotes correctly as required by POSIX, so do not add quotes.
   21953       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   21954       ;;
   21955     esac |
   21956     sort
   21957 ) |
   21958   sed '
   21959      /^ac_cv_env_/b end
   21960      t clear
   21961      :clear
   21962      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
   21963      t end
   21964      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   21965      :end' >>confcache
   21966 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   21967   if test -w "$cache_file"; then
   21968     test "x$cache_file" != "x/dev/null" &&
   21969       { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
   21970 $as_echo "$as_me: updating cache $cache_file" >&6;}
   21971     cat confcache >$cache_file
   21972   else
   21973     { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
   21974 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
   21975   fi
   21976 fi
   21977 rm -f confcache
   21978 
   21979 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   21980 # Let make expand exec_prefix.
   21981 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   21982 
   21983 DEFS=-DHAVE_CONFIG_H
   21984 
   21985 ac_libobjs=
   21986 ac_ltlibobjs=
   21987 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   21988   # 1. Remove the extension, and $U if already installed.
   21989   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   21990   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
   21991   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   21992   #    will be set to the directory where LIBOBJS objects are built.
   21993   ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   21994   ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
   21995 done
   21996 LIBOBJS=$ac_libobjs
   21997 
   21998 LTLIBOBJS=$ac_ltlibobjs
   21999 
   22000 
   22001  if test -n "$EXEEXT"; then
   22002   am__EXEEXT_TRUE=
   22003   am__EXEEXT_FALSE='#'
   22004 else
   22005   am__EXEEXT_TRUE='#'
   22006   am__EXEEXT_FALSE=
   22007 fi
   22008 
   22009 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
   22010   { { $as_echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
   22011 Usually this means the macro was only invoked conditionally." >&5
   22012 $as_echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
   22013 Usually this means the macro was only invoked conditionally." >&2;}
   22014    { (exit 1); exit 1; }; }
   22015 fi
   22016 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   22017   { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
   22018 Usually this means the macro was only invoked conditionally." >&5
   22019 $as_echo "$as_me: error: conditional \"AMDEP\" was never defined.
   22020 Usually this means the macro was only invoked conditionally." >&2;}
   22021    { (exit 1); exit 1; }; }
   22022 fi
   22023 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   22024   { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
   22025 Usually this means the macro was only invoked conditionally." >&5
   22026 $as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
   22027 Usually this means the macro was only invoked conditionally." >&2;}
   22028    { (exit 1); exit 1; }; }
   22029 fi
   22030 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
   22031   { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
   22032 Usually this means the macro was only invoked conditionally." >&5
   22033 $as_echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
   22034 Usually this means the macro was only invoked conditionally." >&2;}
   22035    { (exit 1); exit 1; }; }
   22036 fi
   22037 
   22038 : ${CONFIG_STATUS=./config.status}
   22039 ac_write_fail=0
   22040 ac_clean_files_save=$ac_clean_files
   22041 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   22042 { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
   22043 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
   22044 cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   22045 #! $SHELL
   22046 # Generated by $as_me.
   22047 # Run this file to recreate the current configuration.
   22048 # Compiler output produced by configure, useful for debugging
   22049 # configure, is in config.log if it exists.
   22050 
   22051 debug=false
   22052 ac_cs_recheck=false
   22053 ac_cs_silent=false
   22054 SHELL=\${CONFIG_SHELL-$SHELL}
   22055 _ACEOF
   22056 
   22057 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   22058 ## --------------------- ##
   22059 ## M4sh Initialization.  ##
   22060 ## --------------------- ##
   22061 
   22062 # Be more Bourne compatible
   22063 DUALCASE=1; export DUALCASE # for MKS sh
   22064 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
   22065   emulate sh
   22066   NULLCMD=:
   22067   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   22068   # is contrary to our usage.  Disable this feature.
   22069   alias -g '${1+"$@"}'='"$@"'
   22070   setopt NO_GLOB_SUBST
   22071 else
   22072   case `(set -o) 2>/dev/null` in
   22073   *posix*) set -o posix ;;
   22074 esac
   22075 
   22076 fi
   22077 
   22078 
   22079 
   22080 
   22081 # PATH needs CR
   22082 # Avoid depending upon Character Ranges.
   22083 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   22084 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   22085 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   22086 as_cr_digits='0123456789'
   22087 as_cr_alnum=$as_cr_Letters$as_cr_digits
   22088 
   22089 as_nl='
   22090 '
   22091 export as_nl
   22092 # Printing a long string crashes Solaris 7 /usr/bin/printf.
   22093 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   22094 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
   22095 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
   22096 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
   22097   as_echo='printf %s\n'
   22098   as_echo_n='printf %s'
   22099 else
   22100   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
   22101     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
   22102     as_echo_n='/usr/ucb/echo -n'
   22103   else
   22104     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
   22105     as_echo_n_body='eval
   22106       arg=$1;
   22107       case $arg in
   22108       *"$as_nl"*)
   22109 	expr "X$arg" : "X\\(.*\\)$as_nl";
   22110 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
   22111       esac;
   22112       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
   22113     '
   22114     export as_echo_n_body
   22115     as_echo_n='sh -c $as_echo_n_body as_echo'
   22116   fi
   22117   export as_echo_body
   22118   as_echo='sh -c $as_echo_body as_echo'
   22119 fi
   22120 
   22121 # The user is always right.
   22122 if test "${PATH_SEPARATOR+set}" != set; then
   22123   PATH_SEPARATOR=:
   22124   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   22125     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   22126       PATH_SEPARATOR=';'
   22127   }
   22128 fi
   22129 
   22130 # Support unset when possible.
   22131 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   22132   as_unset=unset
   22133 else
   22134   as_unset=false
   22135 fi
   22136 
   22137 
   22138 # IFS
   22139 # We need space, tab and new line, in precisely that order.  Quoting is
   22140 # there to prevent editors from complaining about space-tab.
   22141 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
   22142 # splitting by setting IFS to empty value.)
   22143 IFS=" ""	$as_nl"
   22144 
   22145 # Find who we are.  Look in the path if we contain no directory separator.
   22146 case $0 in
   22147   *[\\/]* ) as_myself=$0 ;;
   22148   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   22149 for as_dir in $PATH
   22150 do
   22151   IFS=$as_save_IFS
   22152   test -z "$as_dir" && as_dir=.
   22153   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   22154 done
   22155 IFS=$as_save_IFS
   22156 
   22157      ;;
   22158 esac
   22159 # We did not find ourselves, most probably we were run as `sh COMMAND'
   22160 # in which case we are not to be found in the path.
   22161 if test "x$as_myself" = x; then
   22162   as_myself=$0
   22163 fi
   22164 if test ! -f "$as_myself"; then
   22165   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   22166   { (exit 1); exit 1; }
   22167 fi
   22168 
   22169 # Work around bugs in pre-3.0 UWIN ksh.
   22170 for as_var in ENV MAIL MAILPATH
   22171 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
   22172 done
   22173 PS1='$ '
   22174 PS2='> '
   22175 PS4='+ '
   22176 
   22177 # NLS nuisances.
   22178 LC_ALL=C
   22179 export LC_ALL
   22180 LANGUAGE=C
   22181 export LANGUAGE
   22182 
   22183 # Required to use basename.
   22184 if expr a : '\(a\)' >/dev/null 2>&1 &&
   22185    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   22186   as_expr=expr
   22187 else
   22188   as_expr=false
   22189 fi
   22190 
   22191 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   22192   as_basename=basename
   22193 else
   22194   as_basename=false
   22195 fi
   22196 
   22197 
   22198 # Name of the executable.
   22199 as_me=`$as_basename -- "$0" ||
   22200 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   22201 	 X"$0" : 'X\(//\)$' \| \
   22202 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   22203 $as_echo X/"$0" |
   22204     sed '/^.*\/\([^/][^/]*\)\/*$/{
   22205 	    s//\1/
   22206 	    q
   22207 	  }
   22208 	  /^X\/\(\/\/\)$/{
   22209 	    s//\1/
   22210 	    q
   22211 	  }
   22212 	  /^X\/\(\/\).*/{
   22213 	    s//\1/
   22214 	    q
   22215 	  }
   22216 	  s/.*/./; q'`
   22217 
   22218 # CDPATH.
   22219 $as_unset CDPATH
   22220 
   22221 
   22222 
   22223   as_lineno_1=$LINENO
   22224   as_lineno_2=$LINENO
   22225   test "x$as_lineno_1" != "x$as_lineno_2" &&
   22226   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
   22227 
   22228   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
   22229   # uniformly replaced by the line number.  The first 'sed' inserts a
   22230   # line-number line after each line using $LINENO; the second 'sed'
   22231   # does the real work.  The second script uses 'N' to pair each
   22232   # line-number line with the line containing $LINENO, and appends
   22233   # trailing '-' during substitution so that $LINENO is not a special
   22234   # case at line end.
   22235   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
   22236   # scripts with optimization help from Paolo Bonzini.  Blame Lee
   22237   # E. McMahon (1931-1989) for sed's syntax.  :-)
   22238   sed -n '
   22239     p
   22240     /[$]LINENO/=
   22241   ' <$as_myself |
   22242     sed '
   22243       s/[$]LINENO.*/&-/
   22244       t lineno
   22245       b
   22246       :lineno
   22247       N
   22248       :loop
   22249       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
   22250       t loop
   22251       s/-\n.*//
   22252     ' >$as_me.lineno &&
   22253   chmod +x "$as_me.lineno" ||
   22254     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
   22255    { (exit 1); exit 1; }; }
   22256 
   22257   # Don't try to exec as it changes $[0], causing all sort of problems
   22258   # (the dirname of $[0] is not the place where we might find the
   22259   # original and so on.  Autoconf is especially sensitive to this).
   22260   . "./$as_me.lineno"
   22261   # Exit status is that of the last command.
   22262   exit
   22263 }
   22264 
   22265 
   22266 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   22267   as_dirname=dirname
   22268 else
   22269   as_dirname=false
   22270 fi
   22271 
   22272 ECHO_C= ECHO_N= ECHO_T=
   22273 case `echo -n x` in
   22274 -n*)
   22275   case `echo 'x\c'` in
   22276   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   22277   *)   ECHO_C='\c';;
   22278   esac;;
   22279 *)
   22280   ECHO_N='-n';;
   22281 esac
   22282 if expr a : '\(a\)' >/dev/null 2>&1 &&
   22283    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   22284   as_expr=expr
   22285 else
   22286   as_expr=false
   22287 fi
   22288 
   22289 rm -f conf$$ conf$$.exe conf$$.file
   22290 if test -d conf$$.dir; then
   22291   rm -f conf$$.dir/conf$$.file
   22292 else
   22293   rm -f conf$$.dir
   22294   mkdir conf$$.dir 2>/dev/null
   22295 fi
   22296 if (echo >conf$$.file) 2>/dev/null; then
   22297   if ln -s conf$$.file conf$$ 2>/dev/null; then
   22298     as_ln_s='ln -s'
   22299     # ... but there are two gotchas:
   22300     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   22301     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   22302     # In both cases, we have to default to `cp -p'.
   22303     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   22304       as_ln_s='cp -p'
   22305   elif ln conf$$.file conf$$ 2>/dev/null; then
   22306     as_ln_s=ln
   22307   else
   22308     as_ln_s='cp -p'
   22309   fi
   22310 else
   22311   as_ln_s='cp -p'
   22312 fi
   22313 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   22314 rmdir conf$$.dir 2>/dev/null
   22315 
   22316 if mkdir -p . 2>/dev/null; then
   22317   as_mkdir_p=:
   22318 else
   22319   test -d ./-p && rmdir ./-p
   22320   as_mkdir_p=false
   22321 fi
   22322 
   22323 if test -x / >/dev/null 2>&1; then
   22324   as_test_x='test -x'
   22325 else
   22326   if ls -dL / >/dev/null 2>&1; then
   22327     as_ls_L_option=L
   22328   else
   22329     as_ls_L_option=
   22330   fi
   22331   as_test_x='
   22332     eval sh -c '\''
   22333       if test -d "$1"; then
   22334 	test -d "$1/.";
   22335       else
   22336 	case $1 in
   22337 	-*)set "./$1";;
   22338 	esac;
   22339 	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
   22340 	???[sx]*):;;*)false;;esac;fi
   22341     '\'' sh
   22342   '
   22343 fi
   22344 as_executable_p=$as_test_x
   22345 
   22346 # Sed expression to map a string onto a valid CPP name.
   22347 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   22348 
   22349 # Sed expression to map a string onto a valid variable name.
   22350 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   22351 
   22352 
   22353 exec 6>&1
   22354 
   22355 # Save the log message, to keep $[0] and so on meaningful, and to
   22356 # report actual input values of CONFIG_FILES etc. instead of their
   22357 # values after options handling.
   22358 ac_log="
   22359 This file was extended by libXft $as_me 2.1.14, which was
   22360 generated by GNU Autoconf 2.63.  Invocation command line was
   22361 
   22362   CONFIG_FILES    = $CONFIG_FILES
   22363   CONFIG_HEADERS  = $CONFIG_HEADERS
   22364   CONFIG_LINKS    = $CONFIG_LINKS
   22365   CONFIG_COMMANDS = $CONFIG_COMMANDS
   22366   $ $0 $@
   22367 
   22368 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   22369 "
   22370 
   22371 _ACEOF
   22372 
   22373 case $ac_config_files in *"
   22374 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   22375 esac
   22376 
   22377 case $ac_config_headers in *"
   22378 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   22379 esac
   22380 
   22381 
   22382 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   22383 # Files that config.status was made for.
   22384 config_files="$ac_config_files"
   22385 config_headers="$ac_config_headers"
   22386 config_commands="$ac_config_commands"
   22387 
   22388 _ACEOF
   22389 
   22390 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   22391 ac_cs_usage="\
   22392 \`$as_me' instantiates files from templates according to the
   22393 current configuration.
   22394 
   22395 Usage: $0 [OPTION]... [FILE]...
   22396 
   22397   -h, --help       print this help, then exit
   22398   -V, --version    print version number and configuration settings, then exit
   22399   -q, --quiet, --silent
   22400                    do not print progress messages
   22401   -d, --debug      don't remove temporary files
   22402       --recheck    update $as_me by reconfiguring in the same conditions
   22403       --file=FILE[:TEMPLATE]
   22404                    instantiate the configuration file FILE
   22405       --header=FILE[:TEMPLATE]
   22406                    instantiate the configuration header FILE
   22407 
   22408 Configuration files:
   22409 $config_files
   22410 
   22411 Configuration headers:
   22412 $config_headers
   22413 
   22414 Configuration commands:
   22415 $config_commands
   22416 
   22417 Report bugs to <bug-autoconf (at] gnu.org>."
   22418 
   22419 _ACEOF
   22420 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   22421 ac_cs_version="\\
   22422 libXft config.status 2.1.14
   22423 configured by $0, generated by GNU Autoconf 2.63,
   22424   with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
   22425 
   22426 Copyright (C) 2008 Free Software Foundation, Inc.
   22427 This config.status script is free software; the Free Software Foundation
   22428 gives unlimited permission to copy, distribute and modify it."
   22429 
   22430 ac_pwd='$ac_pwd'
   22431 srcdir='$srcdir'
   22432 INSTALL='$INSTALL'
   22433 MKDIR_P='$MKDIR_P'
   22434 AWK='$AWK'
   22435 test -n "\$AWK" || AWK=awk
   22436 _ACEOF
   22437 
   22438 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   22439 # The default lists apply if the user does not specify any file.
   22440 ac_need_defaults=:
   22441 while test $# != 0
   22442 do
   22443   case $1 in
   22444   --*=*)
   22445     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   22446     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   22447     ac_shift=:
   22448     ;;
   22449   *)
   22450     ac_option=$1
   22451     ac_optarg=$2
   22452     ac_shift=shift
   22453     ;;
   22454   esac
   22455 
   22456   case $ac_option in
   22457   # Handling of the options.
   22458   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   22459     ac_cs_recheck=: ;;
   22460   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   22461     $as_echo "$ac_cs_version"; exit ;;
   22462   --debug | --debu | --deb | --de | --d | -d )
   22463     debug=: ;;
   22464   --file | --fil | --fi | --f )
   22465     $ac_shift
   22466     case $ac_optarg in
   22467     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   22468     esac
   22469     CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
   22470     ac_need_defaults=false;;
   22471   --header | --heade | --head | --hea )
   22472     $ac_shift
   22473     case $ac_optarg in
   22474     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   22475     esac
   22476     CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'"
   22477     ac_need_defaults=false;;
   22478   --he | --h)
   22479     # Conflict between --help and --header
   22480     { $as_echo "$as_me: error: ambiguous option: $1
   22481 Try \`$0 --help' for more information." >&2
   22482    { (exit 1); exit 1; }; };;
   22483   --help | --hel | -h )
   22484     $as_echo "$ac_cs_usage"; exit ;;
   22485   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   22486   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   22487     ac_cs_silent=: ;;
   22488 
   22489   # This is an error.
   22490   -*) { $as_echo "$as_me: error: unrecognized option: $1
   22491 Try \`$0 --help' for more information." >&2
   22492    { (exit 1); exit 1; }; } ;;
   22493 
   22494   *) ac_config_targets="$ac_config_targets $1"
   22495      ac_need_defaults=false ;;
   22496 
   22497   esac
   22498   shift
   22499 done
   22500 
   22501 ac_configure_extra_args=
   22502 
   22503 if $ac_cs_silent; then
   22504   exec 6>/dev/null
   22505   ac_configure_extra_args="$ac_configure_extra_args --silent"
   22506 fi
   22507 
   22508 _ACEOF
   22509 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   22510 if \$ac_cs_recheck; then
   22511   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   22512   shift
   22513   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
   22514   CONFIG_SHELL='$SHELL'
   22515   export CONFIG_SHELL
   22516   exec "\$@"
   22517 fi
   22518 
   22519 _ACEOF
   22520 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   22521 exec 5>>config.log
   22522 {
   22523   echo
   22524   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   22525 ## Running $as_me. ##
   22526 _ASBOX
   22527   $as_echo "$ac_log"
   22528 } >&5
   22529 
   22530 _ACEOF
   22531 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   22532 #
   22533 # INIT-COMMANDS
   22534 #
   22535 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
   22536 
   22537 _ACEOF
   22538 
   22539 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   22540 
   22541 # Handling of arguments.
   22542 for ac_config_target in $ac_config_targets
   22543 do
   22544   case $ac_config_target in
   22545     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   22546     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   22547     "include/X11/Xft/Xft.h") CONFIG_HEADERS="$CONFIG_HEADERS include/X11/Xft/Xft.h" ;;
   22548     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   22549     "xft.pc") CONFIG_FILES="$CONFIG_FILES xft.pc" ;;
   22550     "xft-config") CONFIG_FILES="$CONFIG_FILES xft-config" ;;
   22551     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
   22552     "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
   22553     "man/xft-config.1") CONFIG_FILES="$CONFIG_FILES man/xft-config.1" ;;
   22554     "man/Xft.3") CONFIG_FILES="$CONFIG_FILES man/Xft.3" ;;
   22555 
   22556   *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
   22557 $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
   22558    { (exit 1); exit 1; }; };;
   22559   esac
   22560 done
   22561 
   22562 
   22563 # If the user did not use the arguments to specify the items to instantiate,
   22564 # then the envvar interface is used.  Set only those that are not.
   22565 # We use the long form for the default assignment because of an extremely
   22566 # bizarre bug on SunOS 4.1.3.
   22567 if $ac_need_defaults; then
   22568   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
   22569   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
   22570   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
   22571 fi
   22572 
   22573 # Have a temporary directory for convenience.  Make it in the build tree
   22574 # simply because there is no reason against having it here, and in addition,
   22575 # creating and moving files from /tmp can sometimes cause problems.
   22576 # Hook for its removal unless debugging.
   22577 # Note that there is a small window in which the directory will not be cleaned:
   22578 # after its creation but before its name has been assigned to `$tmp'.
   22579 $debug ||
   22580 {
   22581   tmp=
   22582   trap 'exit_status=$?
   22583   { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
   22584 ' 0
   22585   trap '{ (exit 1); exit 1; }' 1 2 13 15
   22586 }
   22587 # Create a (secure) tmp directory for tmp files.
   22588 
   22589 {
   22590   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   22591   test -n "$tmp" && test -d "$tmp"
   22592 }  ||
   22593 {
   22594   tmp=./conf$$-$RANDOM
   22595   (umask 077 && mkdir "$tmp")
   22596 } ||
   22597 {
   22598    $as_echo "$as_me: cannot create a temporary directory in ." >&2
   22599    { (exit 1); exit 1; }
   22600 }
   22601 
   22602 # Set up the scripts for CONFIG_FILES section.
   22603 # No need to generate them if there are no CONFIG_FILES.
   22604 # This happens for instance with `./config.status config.h'.
   22605 if test -n "$CONFIG_FILES"; then
   22606 
   22607 
   22608 ac_cr='
'
   22610 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   22611 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   22612   ac_cs_awk_cr='\\r'
   22613 else
   22614   ac_cs_awk_cr=$ac_cr
   22615 fi
   22616 
   22617 echo 'BEGIN {' >"$tmp/subs1.awk" &&
   22618 _ACEOF
   22619 
   22620 
   22621 {
   22622   echo "cat >conf$$subs.awk <<_ACEOF" &&
   22623   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   22624   echo "_ACEOF"
   22625 } >conf$$subs.sh ||
   22626   { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
   22627 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
   22628    { (exit 1); exit 1; }; }
   22629 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
   22630 ac_delim='%!_!# '
   22631 for ac_last_try in false false false false false :; do
   22632   . ./conf$$subs.sh ||
   22633     { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
   22634 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
   22635    { (exit 1); exit 1; }; }
   22636 
   22637   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   22638   if test $ac_delim_n = $ac_delim_num; then
   22639     break
   22640   elif $ac_last_try; then
   22641     { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
   22642 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
   22643    { (exit 1); exit 1; }; }
   22644   else
   22645     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   22646   fi
   22647 done
   22648 rm -f conf$$subs.sh
   22649 
   22650 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   22651 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
   22652 _ACEOF
   22653 sed -n '
   22654 h
   22655 s/^/S["/; s/!.*/"]=/
   22656 p
   22657 g
   22658 s/^[^!]*!//
   22659 :repl
   22660 t repl
   22661 s/'"$ac_delim"'$//
   22662 t delim
   22663 :nl
   22664 h
   22665 s/\(.\{148\}\).*/\1/
   22666 t more1
   22667 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   22668 p
   22669 n
   22670 b repl
   22671 :more1
   22672 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   22673 p
   22674 g
   22675 s/.\{148\}//
   22676 t nl
   22677 :delim
   22678 h
   22679 s/\(.\{148\}\).*/\1/
   22680 t more2
   22681 s/["\\]/\\&/g; s/^/"/; s/$/"/
   22682 p
   22683 b
   22684 :more2
   22685 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   22686 p
   22687 g
   22688 s/.\{148\}//
   22689 t delim
   22690 ' <conf$$subs.awk | sed '
   22691 /^[^""]/{
   22692   N
   22693   s/\n//
   22694 }
   22695 ' >>$CONFIG_STATUS || ac_write_fail=1
   22696 rm -f conf$$subs.awk
   22697 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   22698 _ACAWK
   22699 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
   22700   for (key in S) S_is_set[key] = 1
   22701   FS = ""
   22702 
   22703 }
   22704 {
   22705   line = $ 0
   22706   nfields = split(line, field, "@")
   22707   substed = 0
   22708   len = length(field[1])
   22709   for (i = 2; i < nfields; i++) {
   22710     key = field[i]
   22711     keylen = length(key)
   22712     if (S_is_set[key]) {
   22713       value = S[key]
   22714       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   22715       len += length(value) + length(field[++i])
   22716       substed = 1
   22717     } else
   22718       len += 1 + keylen
   22719   }
   22720 
   22721   print line
   22722 }
   22723 
   22724 _ACAWK
   22725 _ACEOF
   22726 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   22727 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   22728   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   22729 else
   22730   cat
   22731 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
   22732   || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
   22733 $as_echo "$as_me: error: could not setup config files machinery" >&2;}
   22734    { (exit 1); exit 1; }; }
   22735 _ACEOF
   22736 
   22737 # VPATH may cause trouble with some makes, so we remove $(srcdir),
   22738 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
   22739 # trailing colons and then remove the whole line if VPATH becomes empty
   22740 # (actually we leave an empty line to preserve line numbers).
   22741 if test "x$srcdir" = x.; then
   22742   ac_vpsub='/^[	 ]*VPATH[	 ]*=/{
   22743 s/:*\$(srcdir):*/:/
   22744 s/:*\${srcdir}:*/:/
   22745 s/:*@srcdir@:*/:/
   22746 s/^\([^=]*=[	 ]*\):*/\1/
   22747 s/:*$//
   22748 s/^[^=]*=[	 ]*$//
   22749 }'
   22750 fi
   22751 
   22752 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   22753 fi # test -n "$CONFIG_FILES"
   22754 
   22755 # Set up the scripts for CONFIG_HEADERS section.
   22756 # No need to generate them if there are no CONFIG_HEADERS.
   22757 # This happens for instance with `./config.status Makefile'.
   22758 if test -n "$CONFIG_HEADERS"; then
   22759 cat >"$tmp/defines.awk" <<\_ACAWK ||
   22760 BEGIN {
   22761 _ACEOF
   22762 
   22763 # Transform confdefs.h into an awk script `defines.awk', embedded as
   22764 # here-document in config.status, that substitutes the proper values into
   22765 # config.h.in to produce config.h.
   22766 
   22767 # Create a delimiter string that does not exist in confdefs.h, to ease
   22768 # handling of long lines.
   22769 ac_delim='%!_!# '
   22770 for ac_last_try in false false :; do
   22771   ac_t=`sed -n "/$ac_delim/p" confdefs.h`
   22772   if test -z "$ac_t"; then
   22773     break
   22774   elif $ac_last_try; then
   22775     { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5
   22776 $as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;}
   22777    { (exit 1); exit 1; }; }
   22778   else
   22779     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   22780   fi
   22781 done
   22782 
   22783 # For the awk script, D is an array of macro values keyed by name,
   22784 # likewise P contains macro parameters if any.  Preserve backslash
   22785 # newline sequences.
   22786 
   22787 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   22788 sed -n '
   22789 s/.\{148\}/&'"$ac_delim"'/g
   22790 t rset
   22791 :rset
   22792 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   22793 t def
   22794 d
   22795 :def
   22796 s/\\$//
   22797 t bsnl
   22798 s/["\\]/\\&/g
   22799 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   22800 D["\1"]=" \3"/p
   22801 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   22802 d
   22803 :bsnl
   22804 s/["\\]/\\&/g
   22805 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   22806 D["\1"]=" \3\\\\\\n"\\/p
   22807 t cont
   22808 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   22809 t cont
   22810 d
   22811 :cont
   22812 n
   22813 s/.\{148\}/&'"$ac_delim"'/g
   22814 t clear
   22815 :clear
   22816 s/\\$//
   22817 t bsnlc
   22818 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   22819 d
   22820 :bsnlc
   22821 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   22822 b cont
   22823 ' <confdefs.h | sed '
   22824 s/'"$ac_delim"'/"\\\
   22825 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   22826 
   22827 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   22828   for (key in D) D_is_set[key] = 1
   22829   FS = ""
   22830 }
   22831 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   22832   line = \$ 0
   22833   split(line, arg, " ")
   22834   if (arg[1] == "#") {
   22835     defundef = arg[2]
   22836     mac1 = arg[3]
   22837   } else {
   22838     defundef = substr(arg[1], 2)
   22839     mac1 = arg[2]
   22840   }
   22841   split(mac1, mac2, "(") #)
   22842   macro = mac2[1]
   22843   prefix = substr(line, 1, index(line, defundef) - 1)
   22844   if (D_is_set[macro]) {
   22845     # Preserve the white space surrounding the "#".
   22846     print prefix "define", macro P[macro] D[macro]
   22847     next
   22848   } else {
   22849     # Replace #undef with comments.  This is necessary, for example,
   22850     # in the case of _POSIX_SOURCE, which is predefined and required
   22851     # on some systems where configure will not decide to define it.
   22852     if (defundef == "undef") {
   22853       print "/*", prefix defundef, macro, "*/"
   22854       next
   22855     }
   22856   }
   22857 }
   22858 { print }
   22859 _ACAWK
   22860 _ACEOF
   22861 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   22862   { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
   22863 $as_echo "$as_me: error: could not setup config headers machinery" >&2;}
   22864    { (exit 1); exit 1; }; }
   22865 fi # test -n "$CONFIG_HEADERS"
   22866 
   22867 
   22868 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   22869 shift
   22870 for ac_tag
   22871 do
   22872   case $ac_tag in
   22873   :[FHLC]) ac_mode=$ac_tag; continue;;
   22874   esac
   22875   case $ac_mode$ac_tag in
   22876   :[FHL]*:*);;
   22877   :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
   22878 $as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
   22879    { (exit 1); exit 1; }; };;
   22880   :[FH]-) ac_tag=-:-;;
   22881   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   22882   esac
   22883   ac_save_IFS=$IFS
   22884   IFS=:
   22885   set x $ac_tag
   22886   IFS=$ac_save_IFS
   22887   shift
   22888   ac_file=$1
   22889   shift
   22890 
   22891   case $ac_mode in
   22892   :L) ac_source=$1;;
   22893   :[FH])
   22894     ac_file_inputs=
   22895     for ac_f
   22896     do
   22897       case $ac_f in
   22898       -) ac_f="$tmp/stdin";;
   22899       *) # Look for the file first in the build tree, then in the source tree
   22900 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   22901 	 # because $ac_f cannot contain `:'.
   22902 	 test -f "$ac_f" ||
   22903 	   case $ac_f in
   22904 	   [\\/$]*) false;;
   22905 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   22906 	   esac ||
   22907 	   { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
   22908 $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
   22909    { (exit 1); exit 1; }; };;
   22910       esac
   22911       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   22912       ac_file_inputs="$ac_file_inputs '$ac_f'"
   22913     done
   22914 
   22915     # Let's still pretend it is `configure' which instantiates (i.e., don't
   22916     # use $as_me), people would be surprised to read:
   22917     #    /* config.h.  Generated by config.status.  */
   22918     configure_input='Generated from '`
   22919 	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   22920 	`' by configure.'
   22921     if test x"$ac_file" != x-; then
   22922       configure_input="$ac_file.  $configure_input"
   22923       { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
   22924 $as_echo "$as_me: creating $ac_file" >&6;}
   22925     fi
   22926     # Neutralize special characters interpreted by sed in replacement strings.
   22927     case $configure_input in #(
   22928     *\&* | *\|* | *\\* )
   22929        ac_sed_conf_input=`$as_echo "$configure_input" |
   22930        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   22931     *) ac_sed_conf_input=$configure_input;;
   22932     esac
   22933 
   22934     case $ac_tag in
   22935     *:-:* | *:-) cat >"$tmp/stdin" \
   22936       || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
   22937 $as_echo "$as_me: error: could not create $ac_file" >&2;}
   22938    { (exit 1); exit 1; }; } ;;
   22939     esac
   22940     ;;
   22941   esac
   22942 
   22943   ac_dir=`$as_dirname -- "$ac_file" ||
   22944 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   22945 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   22946 	 X"$ac_file" : 'X\(//\)$' \| \
   22947 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   22948 $as_echo X"$ac_file" |
   22949     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   22950 	    s//\1/
   22951 	    q
   22952 	  }
   22953 	  /^X\(\/\/\)[^/].*/{
   22954 	    s//\1/
   22955 	    q
   22956 	  }
   22957 	  /^X\(\/\/\)$/{
   22958 	    s//\1/
   22959 	    q
   22960 	  }
   22961 	  /^X\(\/\).*/{
   22962 	    s//\1/
   22963 	    q
   22964 	  }
   22965 	  s/.*/./; q'`
   22966   { as_dir="$ac_dir"
   22967   case $as_dir in #(
   22968   -*) as_dir=./$as_dir;;
   22969   esac
   22970   test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
   22971     as_dirs=
   22972     while :; do
   22973       case $as_dir in #(
   22974       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   22975       *) as_qdir=$as_dir;;
   22976       esac
   22977       as_dirs="'$as_qdir' $as_dirs"
   22978       as_dir=`$as_dirname -- "$as_dir" ||
   22979 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   22980 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   22981 	 X"$as_dir" : 'X\(//\)$' \| \
   22982 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   22983 $as_echo X"$as_dir" |
   22984     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   22985 	    s//\1/
   22986 	    q
   22987 	  }
   22988 	  /^X\(\/\/\)[^/].*/{
   22989 	    s//\1/
   22990 	    q
   22991 	  }
   22992 	  /^X\(\/\/\)$/{
   22993 	    s//\1/
   22994 	    q
   22995 	  }
   22996 	  /^X\(\/\).*/{
   22997 	    s//\1/
   22998 	    q
   22999 	  }
   23000 	  s/.*/./; q'`
   23001       test -d "$as_dir" && break
   23002     done
   23003     test -z "$as_dirs" || eval "mkdir $as_dirs"
   23004   } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
   23005 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
   23006    { (exit 1); exit 1; }; }; }
   23007   ac_builddir=.
   23008 
   23009 case "$ac_dir" in
   23010 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   23011 *)
   23012   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   23013   # A ".." for each directory in $ac_dir_suffix.
   23014   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   23015   case $ac_top_builddir_sub in
   23016   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   23017   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   23018   esac ;;
   23019 esac
   23020 ac_abs_top_builddir=$ac_pwd
   23021 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   23022 # for backward compatibility:
   23023 ac_top_builddir=$ac_top_build_prefix
   23024 
   23025 case $srcdir in
   23026   .)  # We are building in place.
   23027     ac_srcdir=.
   23028     ac_top_srcdir=$ac_top_builddir_sub
   23029     ac_abs_top_srcdir=$ac_pwd ;;
   23030   [\\/]* | ?:[\\/]* )  # Absolute name.
   23031     ac_srcdir=$srcdir$ac_dir_suffix;
   23032     ac_top_srcdir=$srcdir
   23033     ac_abs_top_srcdir=$srcdir ;;
   23034   *) # Relative name.
   23035     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   23036     ac_top_srcdir=$ac_top_build_prefix$srcdir
   23037     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   23038 esac
   23039 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   23040 
   23041 
   23042   case $ac_mode in
   23043   :F)
   23044   #
   23045   # CONFIG_FILE
   23046   #
   23047 
   23048   case $INSTALL in
   23049   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   23050   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   23051   esac
   23052   ac_MKDIR_P=$MKDIR_P
   23053   case $MKDIR_P in
   23054   [\\/$]* | ?:[\\/]* ) ;;
   23055   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   23056   esac
   23057 _ACEOF
   23058 
   23059 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   23060 # If the template does not know about datarootdir, expand it.
   23061 # FIXME: This hack should be removed a few years after 2.60.
   23062 ac_datarootdir_hack=; ac_datarootdir_seen=
   23063 
   23064 ac_sed_dataroot='
   23065 /datarootdir/ {
   23066   p
   23067   q
   23068 }
   23069 /@datadir@/p
   23070 /@docdir@/p
   23071 /@infodir@/p
   23072 /@localedir@/p
   23073 /@mandir@/p
   23074 '
   23075 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   23076 *datarootdir*) ac_datarootdir_seen=yes;;
   23077 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   23078   { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   23079 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   23080 _ACEOF
   23081 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   23082   ac_datarootdir_hack='
   23083   s&@datadir@&$datadir&g
   23084   s&@docdir@&$docdir&g
   23085   s&@infodir@&$infodir&g
   23086   s&@localedir@&$localedir&g
   23087   s&@mandir@&$mandir&g
   23088     s&\\\${datarootdir}&$datarootdir&g' ;;
   23089 esac
   23090 _ACEOF
   23091 
   23092 # Neutralize VPATH when `$srcdir' = `.'.
   23093 # Shell code in configure.ac might set extrasub.
   23094 # FIXME: do we really want to maintain this feature?
   23095 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   23096 ac_sed_extra="$ac_vpsub
   23097 $extrasub
   23098 _ACEOF
   23099 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   23100 :t
   23101 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   23102 s|@configure_input@|$ac_sed_conf_input|;t t
   23103 s&@top_builddir@&$ac_top_builddir_sub&;t t
   23104 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   23105 s&@srcdir@&$ac_srcdir&;t t
   23106 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   23107 s&@top_srcdir@&$ac_top_srcdir&;t t
   23108 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   23109 s&@builddir@&$ac_builddir&;t t
   23110 s&@abs_builddir@&$ac_abs_builddir&;t t
   23111 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   23112 s&@INSTALL@&$ac_INSTALL&;t t
   23113 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   23114 $ac_datarootdir_hack
   23115 "
   23116 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
   23117   || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
   23118 $as_echo "$as_me: error: could not create $ac_file" >&2;}
   23119    { (exit 1); exit 1; }; }
   23120 
   23121 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   23122   { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
   23123   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
   23124   { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   23125 which seems to be undefined.  Please make sure it is defined." >&5
   23126 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   23127 which seems to be undefined.  Please make sure it is defined." >&2;}
   23128 
   23129   rm -f "$tmp/stdin"
   23130   case $ac_file in
   23131   -) cat "$tmp/out" && rm -f "$tmp/out";;
   23132   *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
   23133   esac \
   23134   || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
   23135 $as_echo "$as_me: error: could not create $ac_file" >&2;}
   23136    { (exit 1); exit 1; }; }
   23137  ;;
   23138   :H)
   23139   #
   23140   # CONFIG_HEADER
   23141   #
   23142   if test x"$ac_file" != x-; then
   23143     {
   23144       $as_echo "/* $configure_input  */" \
   23145       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
   23146     } >"$tmp/config.h" \
   23147       || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
   23148 $as_echo "$as_me: error: could not create $ac_file" >&2;}
   23149    { (exit 1); exit 1; }; }
   23150     if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
   23151       { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
   23152 $as_echo "$as_me: $ac_file is unchanged" >&6;}
   23153     else
   23154       rm -f "$ac_file"
   23155       mv "$tmp/config.h" "$ac_file" \
   23156 	|| { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
   23157 $as_echo "$as_me: error: could not create $ac_file" >&2;}
   23158    { (exit 1); exit 1; }; }
   23159     fi
   23160   else
   23161     $as_echo "/* $configure_input  */" \
   23162       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
   23163       || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
   23164 $as_echo "$as_me: error: could not create -" >&2;}
   23165    { (exit 1); exit 1; }; }
   23166   fi
   23167 # Compute "$ac_file"'s index in $config_headers.
   23168 _am_arg="$ac_file"
   23169 _am_stamp_count=1
   23170 for _am_header in $config_headers :; do
   23171   case $_am_header in
   23172     $_am_arg | $_am_arg:* )
   23173       break ;;
   23174     * )
   23175       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   23176   esac
   23177 done
   23178 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   23179 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   23180 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   23181 	 X"$_am_arg" : 'X\(//\)$' \| \
   23182 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   23183 $as_echo X"$_am_arg" |
   23184     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   23185 	    s//\1/
   23186 	    q
   23187 	  }
   23188 	  /^X\(\/\/\)[^/].*/{
   23189 	    s//\1/
   23190 	    q
   23191 	  }
   23192 	  /^X\(\/\/\)$/{
   23193 	    s//\1/
   23194 	    q
   23195 	  }
   23196 	  /^X\(\/\).*/{
   23197 	    s//\1/
   23198 	    q
   23199 	  }
   23200 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   23201  ;;
   23202 
   23203   :C)  { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
   23204 $as_echo "$as_me: executing $ac_file commands" >&6;}
   23205  ;;
   23206   esac
   23207 
   23208 
   23209   case $ac_file$ac_mode in
   23210     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   23211   # Autoconf 2.62 quotes --file arguments for eval, but not when files
   23212   # are listed without --file.  Let's play safe and only enable the eval
   23213   # if we detect the quoting.
   23214   case $CONFIG_FILES in
   23215   *\'*) eval set x "$CONFIG_FILES" ;;
   23216   *)   set x $CONFIG_FILES ;;
   23217   esac
   23218   shift
   23219   for mf
   23220   do
   23221     # Strip MF so we end up with the name of the file.
   23222     mf=`echo "$mf" | sed -e 's/:.*$//'`
   23223     # Check whether this is an Automake generated Makefile or not.
   23224     # We used to match only the files named `Makefile.in', but
   23225     # some people rename them; so instead we look at the file content.
   23226     # Grep'ing the first line is not enough: some people post-process
   23227     # each Makefile.in and add a new line on top of each file to say so.
   23228     # Grep'ing the whole file is not good either: AIX grep has a line
   23229     # limit of 2048, but all sed's we know have understand at least 4000.
   23230     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
   23231       dirpart=`$as_dirname -- "$mf" ||
   23232 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   23233 	 X"$mf" : 'X\(//\)[^/]' \| \
   23234 	 X"$mf" : 'X\(//\)$' \| \
   23235 	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
   23236 $as_echo X"$mf" |
   23237     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   23238 	    s//\1/
   23239 	    q
   23240 	  }
   23241 	  /^X\(\/\/\)[^/].*/{
   23242 	    s//\1/
   23243 	    q
   23244 	  }
   23245 	  /^X\(\/\/\)$/{
   23246 	    s//\1/
   23247 	    q
   23248 	  }
   23249 	  /^X\(\/\).*/{
   23250 	    s//\1/
   23251 	    q
   23252 	  }
   23253 	  s/.*/./; q'`
   23254     else
   23255       continue
   23256     fi
   23257     # Extract the definition of DEPDIR, am__include, and am__quote
   23258     # from the Makefile without running `make'.
   23259     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
   23260     test -z "$DEPDIR" && continue
   23261     am__include=`sed -n 's/^am__include = //p' < "$mf"`
   23262     test -z "am__include" && continue
   23263     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
   23264     # When using ansi2knr, U may be empty or an underscore; expand it
   23265     U=`sed -n 's/^U = //p' < "$mf"`
   23266     # Find all dependency output files, they are included files with
   23267     # $(DEPDIR) in their names.  We invoke sed twice because it is the
   23268     # simplest approach to changing $(DEPDIR) to its actual value in the
   23269     # expansion.
   23270     for file in `sed -n "
   23271       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
   23272 	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
   23273       # Make sure the directory exists.
   23274       test -f "$dirpart/$file" && continue
   23275       fdir=`$as_dirname -- "$file" ||
   23276 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   23277 	 X"$file" : 'X\(//\)[^/]' \| \
   23278 	 X"$file" : 'X\(//\)$' \| \
   23279 	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
   23280 $as_echo X"$file" |
   23281     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   23282 	    s//\1/
   23283 	    q
   23284 	  }
   23285 	  /^X\(\/\/\)[^/].*/{
   23286 	    s//\1/
   23287 	    q
   23288 	  }
   23289 	  /^X\(\/\/\)$/{
   23290 	    s//\1/
   23291 	    q
   23292 	  }
   23293 	  /^X\(\/\).*/{
   23294 	    s//\1/
   23295 	    q
   23296 	  }
   23297 	  s/.*/./; q'`
   23298       { as_dir=$dirpart/$fdir
   23299   case $as_dir in #(
   23300   -*) as_dir=./$as_dir;;
   23301   esac
   23302   test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
   23303     as_dirs=
   23304     while :; do
   23305       case $as_dir in #(
   23306       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   23307       *) as_qdir=$as_dir;;
   23308       esac
   23309       as_dirs="'$as_qdir' $as_dirs"
   23310       as_dir=`$as_dirname -- "$as_dir" ||
   23311 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   23312 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   23313 	 X"$as_dir" : 'X\(//\)$' \| \
   23314 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   23315 $as_echo X"$as_dir" |
   23316     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   23317 	    s//\1/
   23318 	    q
   23319 	  }
   23320 	  /^X\(\/\/\)[^/].*/{
   23321 	    s//\1/
   23322 	    q
   23323 	  }
   23324 	  /^X\(\/\/\)$/{
   23325 	    s//\1/
   23326 	    q
   23327 	  }
   23328 	  /^X\(\/\).*/{
   23329 	    s//\1/
   23330 	    q
   23331 	  }
   23332 	  s/.*/./; q'`
   23333       test -d "$as_dir" && break
   23334     done
   23335     test -z "$as_dirs" || eval "mkdir $as_dirs"
   23336   } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
   23337 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
   23338    { (exit 1); exit 1; }; }; }
   23339       # echo "creating $dirpart/$file"
   23340       echo '# dummy' > "$dirpart/$file"
   23341     done
   23342   done
   23343 }
   23344  ;;
   23345 
   23346   esac
   23347 done # for ac_tag
   23348 
   23349 
   23350 { (exit 0); exit 0; }
   23351 _ACEOF
   23352 chmod +x $CONFIG_STATUS
   23353 ac_clean_files=$ac_clean_files_save
   23354 
   23355 test $ac_write_fail = 0 ||
   23356   { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
   23357 $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
   23358    { (exit 1); exit 1; }; }
   23359 
   23360 
   23361 # configure is writing to config.log, and then calls config.status.
   23362 # config.status does its own redirection, appending to config.log.
   23363 # Unfortunately, on DOS this fails, as config.log is still kept open
   23364 # by configure, so config.status won't be able to write to it; its
   23365 # output is simply discarded.  So we exec the FD to /dev/null,
   23366 # effectively closing config.log, so it can be properly (re)opened and
   23367 # appended to by config.status.  When coming back to configure, we
   23368 # need to make the FD available again.
   23369 if test "$no_create" != yes; then
   23370   ac_cs_success=:
   23371   ac_config_status_args=
   23372   test "$silent" = yes &&
   23373     ac_config_status_args="$ac_config_status_args --quiet"
   23374   exec 5>/dev/null
   23375   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   23376   exec 5>>config.log
   23377   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   23378   # would make configure fail if this is the last instruction.
   23379   $ac_cs_success || { (exit 1); exit 1; }
   23380 fi
   23381 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   23382   { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   23383 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   23384 fi
   23385 
   23386