Home | History | Annotate | Line # | Download | only in dist
configure revision 1.1.1.3
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.63 for libXfont 1.4.1.
      4 #
      5 # Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
      6 #
      7 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
      8 # 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
      9 # This configure script is free software; the Free Software Foundation
     10 # gives unlimited permission to copy, distribute and modify it.
     11 ## --------------------- ##
     12 ## M4sh Initialization.  ##
     13 ## --------------------- ##
     14 
     15 # Be more Bourne compatible
     16 DUALCASE=1; export DUALCASE # for MKS sh
     17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
     18   emulate sh
     19   NULLCMD=:
     20   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
     21   # is contrary to our usage.  Disable this feature.
     22   alias -g '${1+"$@"}'='"$@"'
     23   setopt NO_GLOB_SUBST
     24 else
     25   case `(set -o) 2>/dev/null` in
     26   *posix*) set -o posix ;;
     27 esac
     28 
     29 fi
     30 
     31 
     32 
     33 
     34 # PATH needs CR
     35 # Avoid depending upon Character Ranges.
     36 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
     37 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
     38 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
     39 as_cr_digits='0123456789'
     40 as_cr_alnum=$as_cr_Letters$as_cr_digits
     41 
     42 as_nl='
     43 '
     44 export as_nl
     45 # Printing a long string crashes Solaris 7 /usr/bin/printf.
     46 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
     47 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
     48 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
     49 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
     50   as_echo='printf %s\n'
     51   as_echo_n='printf %s'
     52 else
     53   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
     54     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
     55     as_echo_n='/usr/ucb/echo -n'
     56   else
     57     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
     58     as_echo_n_body='eval
     59       arg=$1;
     60       case $arg in
     61       *"$as_nl"*)
     62 	expr "X$arg" : "X\\(.*\\)$as_nl";
     63 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
     64       esac;
     65       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
     66     '
     67     export as_echo_n_body
     68     as_echo_n='sh -c $as_echo_n_body as_echo'
     69   fi
     70   export as_echo_body
     71   as_echo='sh -c $as_echo_body as_echo'
     72 fi
     73 
     74 # The user is always right.
     75 if test "${PATH_SEPARATOR+set}" != set; then
     76   PATH_SEPARATOR=:
     77   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
     78     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
     79       PATH_SEPARATOR=';'
     80   }
     81 fi
     82 
     83 # Support unset when possible.
     84 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
     85   as_unset=unset
     86 else
     87   as_unset=false
     88 fi
     89 
     90 
     91 # IFS
     92 # We need space, tab and new line, in precisely that order.  Quoting is
     93 # there to prevent editors from complaining about space-tab.
     94 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
     95 # splitting by setting IFS to empty value.)
     96 IFS=" ""	$as_nl"
     97 
     98 # Find who we are.  Look in the path if we contain no directory separator.
     99 case $0 in
    100   *[\\/]* ) as_myself=$0 ;;
    101   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    102 for as_dir in $PATH
    103 do
    104   IFS=$as_save_IFS
    105   test -z "$as_dir" && as_dir=.
    106   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
    107 done
    108 IFS=$as_save_IFS
    109 
    110      ;;
    111 esac
    112 # We did not find ourselves, most probably we were run as `sh COMMAND'
    113 # in which case we are not to be found in the path.
    114 if test "x$as_myself" = x; then
    115   as_myself=$0
    116 fi
    117 if test ! -f "$as_myself"; then
    118   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
    119   { (exit 1); exit 1; }
    120 fi
    121 
    122 # Work around bugs in pre-3.0 UWIN ksh.
    123 for as_var in ENV MAIL MAILPATH
    124 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
    125 done
    126 PS1='$ '
    127 PS2='> '
    128 PS4='+ '
    129 
    130 # NLS nuisances.
    131 LC_ALL=C
    132 export LC_ALL
    133 LANGUAGE=C
    134 export LANGUAGE
    135 
    136 # Required to use basename.
    137 if expr a : '\(a\)' >/dev/null 2>&1 &&
    138    test "X`expr 00001 : '.*\(...\)'`" = X001; then
    139   as_expr=expr
    140 else
    141   as_expr=false
    142 fi
    143 
    144 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
    145   as_basename=basename
    146 else
    147   as_basename=false
    148 fi
    149 
    150 
    151 # Name of the executable.
    152 as_me=`$as_basename -- "$0" ||
    153 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
    154 	 X"$0" : 'X\(//\)$' \| \
    155 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
    156 $as_echo X/"$0" |
    157     sed '/^.*\/\([^/][^/]*\)\/*$/{
    158 	    s//\1/
    159 	    q
    160 	  }
    161 	  /^X\/\(\/\/\)$/{
    162 	    s//\1/
    163 	    q
    164 	  }
    165 	  /^X\/\(\/\).*/{
    166 	    s//\1/
    167 	    q
    168 	  }
    169 	  s/.*/./; q'`
    170 
    171 # CDPATH.
    172 $as_unset CDPATH
    173 
    174 
    175 if test "x$CONFIG_SHELL" = x; then
    176   if (eval ":") 2>/dev/null; then
    177   as_have_required=yes
    178 else
    179   as_have_required=no
    180 fi
    181 
    182   if test $as_have_required = yes &&	 (eval ":
    183 (as_func_return () {
    184   (exit \$1)
    185 }
    186 as_func_success () {
    187   as_func_return 0
    188 }
    189 as_func_failure () {
    190   as_func_return 1
    191 }
    192 as_func_ret_success () {
    193   return 0
    194 }
    195 as_func_ret_failure () {
    196   return 1
    197 }
    198 
    199 exitcode=0
    200 if as_func_success; then
    201   :
    202 else
    203   exitcode=1
    204   echo as_func_success failed.
    205 fi
    206 
    207 if as_func_failure; then
    208   exitcode=1
    209   echo as_func_failure succeeded.
    210 fi
    211 
    212 if as_func_ret_success; then
    213   :
    214 else
    215   exitcode=1
    216   echo as_func_ret_success failed.
    217 fi
    218 
    219 if as_func_ret_failure; then
    220   exitcode=1
    221   echo as_func_ret_failure succeeded.
    222 fi
    223 
    224 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
    225   :
    226 else
    227   exitcode=1
    228   echo positional parameters were not saved.
    229 fi
    230 
    231 test \$exitcode = 0) || { (exit 1); exit 1; }
    232 
    233 (
    234   as_lineno_1=\$LINENO
    235   as_lineno_2=\$LINENO
    236   test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
    237   test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
    238 ") 2> /dev/null; then
    239   :
    240 else
    241   as_candidate_shells=
    242     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    243 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
    244 do
    245   IFS=$as_save_IFS
    246   test -z "$as_dir" && as_dir=.
    247   case $as_dir in
    248 	 /*)
    249 	   for as_base in sh bash ksh sh5; do
    250 	     as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
    251 	   done;;
    252        esac
    253 done
    254 IFS=$as_save_IFS
    255 
    256 
    257       for as_shell in $as_candidate_shells $SHELL; do
    258 	 # Try only shells that exist, to save several forks.
    259 	 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
    260 		{ ("$as_shell") 2> /dev/null <<\_ASEOF
    261 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
    262   emulate sh
    263   NULLCMD=:
    264   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
    265   # is contrary to our usage.  Disable this feature.
    266   alias -g '${1+"$@"}'='"$@"'
    267   setopt NO_GLOB_SUBST
    268 else
    269   case `(set -o) 2>/dev/null` in
    270   *posix*) set -o posix ;;
    271 esac
    272 
    273 fi
    274 
    275 
    276 :
    277 _ASEOF
    278 }; then
    279   CONFIG_SHELL=$as_shell
    280 	       as_have_required=yes
    281 	       if { "$as_shell" 2> /dev/null <<\_ASEOF
    282 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
    283   emulate sh
    284   NULLCMD=:
    285   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
    286   # is contrary to our usage.  Disable this feature.
    287   alias -g '${1+"$@"}'='"$@"'
    288   setopt NO_GLOB_SUBST
    289 else
    290   case `(set -o) 2>/dev/null` in
    291   *posix*) set -o posix ;;
    292 esac
    293 
    294 fi
    295 
    296 
    297 :
    298 (as_func_return () {
    299   (exit $1)
    300 }
    301 as_func_success () {
    302   as_func_return 0
    303 }
    304 as_func_failure () {
    305   as_func_return 1
    306 }
    307 as_func_ret_success () {
    308   return 0
    309 }
    310 as_func_ret_failure () {
    311   return 1
    312 }
    313 
    314 exitcode=0
    315 if as_func_success; then
    316   :
    317 else
    318   exitcode=1
    319   echo as_func_success failed.
    320 fi
    321 
    322 if as_func_failure; then
    323   exitcode=1
    324   echo as_func_failure succeeded.
    325 fi
    326 
    327 if as_func_ret_success; then
    328   :
    329 else
    330   exitcode=1
    331   echo as_func_ret_success failed.
    332 fi
    333 
    334 if as_func_ret_failure; then
    335   exitcode=1
    336   echo as_func_ret_failure succeeded.
    337 fi
    338 
    339 if ( set x; as_func_ret_success y && test x = "$1" ); then
    340   :
    341 else
    342   exitcode=1
    343   echo positional parameters were not saved.
    344 fi
    345 
    346 test $exitcode = 0) || { (exit 1); exit 1; }
    347 
    348 (
    349   as_lineno_1=$LINENO
    350   as_lineno_2=$LINENO
    351   test "x$as_lineno_1" != "x$as_lineno_2" &&
    352   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
    353 
    354 _ASEOF
    355 }; then
    356   break
    357 fi
    358 
    359 fi
    360 
    361       done
    362 
    363       if test "x$CONFIG_SHELL" != x; then
    364   for as_var in BASH_ENV ENV
    365 	do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
    366 	done
    367 	export CONFIG_SHELL
    368 	exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
    369 fi
    370 
    371 
    372     if test $as_have_required = no; then
    373   echo This script requires a shell more modern than all the
    374       echo shells that I found on your system.  Please install a
    375       echo modern shell, or manually run the script under such a
    376       echo shell if you do have one.
    377       { (exit 1); exit 1; }
    378 fi
    379 
    380 
    381 fi
    382 
    383 fi
    384 
    385 
    386 
    387 (eval "as_func_return () {
    388   (exit \$1)
    389 }
    390 as_func_success () {
    391   as_func_return 0
    392 }
    393 as_func_failure () {
    394   as_func_return 1
    395 }
    396 as_func_ret_success () {
    397   return 0
    398 }
    399 as_func_ret_failure () {
    400   return 1
    401 }
    402 
    403 exitcode=0
    404 if as_func_success; then
    405   :
    406 else
    407   exitcode=1
    408   echo as_func_success failed.
    409 fi
    410 
    411 if as_func_failure; then
    412   exitcode=1
    413   echo as_func_failure succeeded.
    414 fi
    415 
    416 if as_func_ret_success; then
    417   :
    418 else
    419   exitcode=1
    420   echo as_func_ret_success failed.
    421 fi
    422 
    423 if as_func_ret_failure; then
    424   exitcode=1
    425   echo as_func_ret_failure succeeded.
    426 fi
    427 
    428 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
    429   :
    430 else
    431   exitcode=1
    432   echo positional parameters were not saved.
    433 fi
    434 
    435 test \$exitcode = 0") || {
    436   echo No shell found that supports shell functions.
    437   echo Please tell bug-autoconf@gnu.org about your system,
    438   echo including any error possibly output before this message.
    439   echo This can help us improve future autoconf versions.
    440   echo Configuration will now proceed without shell functions.
    441 }
    442 
    443 
    444 
    445   as_lineno_1=$LINENO
    446   as_lineno_2=$LINENO
    447   test "x$as_lineno_1" != "x$as_lineno_2" &&
    448   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
    449 
    450   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
    451   # uniformly replaced by the line number.  The first 'sed' inserts a
    452   # line-number line after each line using $LINENO; the second 'sed'
    453   # does the real work.  The second script uses 'N' to pair each
    454   # line-number line with the line containing $LINENO, and appends
    455   # trailing '-' during substitution so that $LINENO is not a special
    456   # case at line end.
    457   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
    458   # scripts with optimization help from Paolo Bonzini.  Blame Lee
    459   # E. McMahon (1931-1989) for sed's syntax.  :-)
    460   sed -n '
    461     p
    462     /[$]LINENO/=
    463   ' <$as_myself |
    464     sed '
    465       s/[$]LINENO.*/&-/
    466       t lineno
    467       b
    468       :lineno
    469       N
    470       :loop
    471       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
    472       t loop
    473       s/-\n.*//
    474     ' >$as_me.lineno &&
    475   chmod +x "$as_me.lineno" ||
    476     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
    477    { (exit 1); exit 1; }; }
    478 
    479   # Don't try to exec as it changes $[0], causing all sort of problems
    480   # (the dirname of $[0] is not the place where we might find the
    481   # original and so on.  Autoconf is especially sensitive to this).
    482   . "./$as_me.lineno"
    483   # Exit status is that of the last command.
    484   exit
    485 }
    486 
    487 
    488 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
    489   as_dirname=dirname
    490 else
    491   as_dirname=false
    492 fi
    493 
    494 ECHO_C= ECHO_N= ECHO_T=
    495 case `echo -n x` in
    496 -n*)
    497   case `echo 'x\c'` in
    498   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
    499   *)   ECHO_C='\c';;
    500   esac;;
    501 *)
    502   ECHO_N='-n';;
    503 esac
    504 if expr a : '\(a\)' >/dev/null 2>&1 &&
    505    test "X`expr 00001 : '.*\(...\)'`" = X001; then
    506   as_expr=expr
    507 else
    508   as_expr=false
    509 fi
    510 
    511 rm -f conf$$ conf$$.exe conf$$.file
    512 if test -d conf$$.dir; then
    513   rm -f conf$$.dir/conf$$.file
    514 else
    515   rm -f conf$$.dir
    516   mkdir conf$$.dir 2>/dev/null
    517 fi
    518 if (echo >conf$$.file) 2>/dev/null; then
    519   if ln -s conf$$.file conf$$ 2>/dev/null; then
    520     as_ln_s='ln -s'
    521     # ... but there are two gotchas:
    522     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
    523     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
    524     # In both cases, we have to default to `cp -p'.
    525     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
    526       as_ln_s='cp -p'
    527   elif ln conf$$.file conf$$ 2>/dev/null; then
    528     as_ln_s=ln
    529   else
    530     as_ln_s='cp -p'
    531   fi
    532 else
    533   as_ln_s='cp -p'
    534 fi
    535 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
    536 rmdir conf$$.dir 2>/dev/null
    537 
    538 if mkdir -p . 2>/dev/null; then
    539   as_mkdir_p=:
    540 else
    541   test -d ./-p && rmdir ./-p
    542   as_mkdir_p=false
    543 fi
    544 
    545 if test -x / >/dev/null 2>&1; then
    546   as_test_x='test -x'
    547 else
    548   if ls -dL / >/dev/null 2>&1; then
    549     as_ls_L_option=L
    550   else
    551     as_ls_L_option=
    552   fi
    553   as_test_x='
    554     eval sh -c '\''
    555       if test -d "$1"; then
    556 	test -d "$1/.";
    557       else
    558 	case $1 in
    559 	-*)set "./$1";;
    560 	esac;
    561 	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
    562 	???[sx]*):;;*)false;;esac;fi
    563     '\'' sh
    564   '
    565 fi
    566 as_executable_p=$as_test_x
    567 
    568 # Sed expression to map a string onto a valid CPP name.
    569 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
    570 
    571 # Sed expression to map a string onto a valid variable name.
    572 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
    573 
    574 
    575 
    576 
    577 # Check that we are running under the correct shell.
    578 SHELL=${CONFIG_SHELL-/bin/sh}
    579 
    580 case X$ECHO in
    581 X*--fallback-echo)
    582   # Remove one level of quotation (which was required for Make).
    583   ECHO=`echo "$ECHO" | sed 's,\\\\\$\\$0,'$0','`
    584   ;;
    585 esac
    586 
    587 echo=${ECHO-echo}
    588 if test "X$1" = X--no-reexec; then
    589   # Discard the --no-reexec flag, and continue.
    590   shift
    591 elif test "X$1" = X--fallback-echo; then
    592   # Avoid inline document here, it may be left over
    593   :
    594 elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then
    595   # Yippee, $echo works!
    596   :
    597 else
    598   # Restart under the correct shell.
    599   exec $SHELL "$0" --no-reexec ${1+"$@"}
    600 fi
    601 
    602 if test "X$1" = X--fallback-echo; then
    603   # used as fallback echo
    604   shift
    605   cat <<EOF
    606 $*
    607 EOF
    608   exit 0
    609 fi
    610 
    611 # The HP-UX ksh and POSIX shell print the target directory to stdout
    612 # if CDPATH is set.
    613 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
    614 
    615 if test -z "$ECHO"; then
    616 if test "X${echo_test_string+set}" != Xset; then
    617 # find a string as large as possible, as long as the shell can cope with it
    618   for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
    619     # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
    620     if (echo_test_string=`eval $cmd`) 2>/dev/null &&
    621        echo_test_string=`eval $cmd` &&
    622        (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null
    623     then
    624       break
    625     fi
    626   done
    627 fi
    628 
    629 if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
    630    echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
    631    test "X$echo_testing_string" = "X$echo_test_string"; then
    632   :
    633 else
    634   # The Solaris, AIX, and Digital Unix default echo programs unquote
    635   # backslashes.  This makes it impossible to quote backslashes using
    636   #   echo "$something" | sed 's/\\/\\\\/g'
    637   #
    638   # So, first we look for a working echo in the user's PATH.
    639 
    640   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
    641   for dir in $PATH /usr/ucb; do
    642     IFS="$lt_save_ifs"
    643     if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
    644        test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
    645        echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
    646        test "X$echo_testing_string" = "X$echo_test_string"; then
    647       echo="$dir/echo"
    648       break
    649     fi
    650   done
    651   IFS="$lt_save_ifs"
    652 
    653   if test "X$echo" = Xecho; then
    654     # We didn't find a better echo, so look for alternatives.
    655     if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
    656        echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` &&
    657        test "X$echo_testing_string" = "X$echo_test_string"; then
    658       # This shell has a builtin print -r that does the trick.
    659       echo='print -r'
    660     elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) &&
    661 	 test "X$CONFIG_SHELL" != X/bin/ksh; then
    662       # If we have ksh, try running configure again with it.
    663       ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
    664       export ORIGINAL_CONFIG_SHELL
    665       CONFIG_SHELL=/bin/ksh
    666       export CONFIG_SHELL
    667       exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
    668     else
    669       # Try using printf.
    670       echo='printf %s\n'
    671       if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
    672 	 echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
    673 	 test "X$echo_testing_string" = "X$echo_test_string"; then
    674 	# Cool, printf works
    675 	:
    676       elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
    677 	   test "X$echo_testing_string" = 'X\t' &&
    678 	   echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
    679 	   test "X$echo_testing_string" = "X$echo_test_string"; then
    680 	CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
    681 	export CONFIG_SHELL
    682 	SHELL="$CONFIG_SHELL"
    683 	export SHELL
    684 	echo="$CONFIG_SHELL $0 --fallback-echo"
    685       elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
    686 	   test "X$echo_testing_string" = 'X\t' &&
    687 	   echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
    688 	   test "X$echo_testing_string" = "X$echo_test_string"; then
    689 	echo="$CONFIG_SHELL $0 --fallback-echo"
    690       else
    691 	# maybe with a smaller string...
    692 	prev=:
    693 
    694 	for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
    695 	  if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null
    696 	  then
    697 	    break
    698 	  fi
    699 	  prev="$cmd"
    700 	done
    701 
    702 	if test "$prev" != 'sed 50q "$0"'; then
    703 	  echo_test_string=`eval $prev`
    704 	  export echo_test_string
    705 	  exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
    706 	else
    707 	  # Oops.  We lost completely, so just stick with echo.
    708 	  echo=echo
    709 	fi
    710       fi
    711     fi
    712   fi
    713 fi
    714 fi
    715 
    716 # Copy echo and quote the copy suitably for passing to libtool from
    717 # the Makefile, instead of quoting the original, which is used later.
    718 ECHO=$echo
    719 if test "X$ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
    720    ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
    721 fi
    722 
    723 
    724 
    725 
    726 tagnames=${tagnames+${tagnames},}CXX
    727 
    728 tagnames=${tagnames+${tagnames},}F77
    729 
    730 exec 7<&0 </dev/null 6>&1
    731 
    732 # Name of the host.
    733 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
    734 # so uname gets run too.
    735 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
    736 
    737 #
    738 # Initializations.
    739 #
    740 ac_default_prefix=/usr/local
    741 ac_clean_files=
    742 ac_config_libobj_dir=.
    743 LIBOBJS=
    744 cross_compiling=no
    745 subdirs=
    746 MFLAGS=
    747 MAKEFLAGS=
    748 SHELL=${CONFIG_SHELL-/bin/sh}
    749 
    750 # Identity of this package.
    751 PACKAGE_NAME='libXfont'
    752 PACKAGE_TARNAME='libXfont'
    753 PACKAGE_VERSION='1.4.1'
    754 PACKAGE_STRING='libXfont 1.4.1'
    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 OS_CFLAGS
    798 XFONT_LIBS
    799 XFONT_CFLAGS
    800 MATH_LIBS
    801 XFONT_FC_FALSE
    802 XFONT_FC_TRUE
    803 XFONT_FONTFILE_FALSE
    804 XFONT_FONTFILE_TRUE
    805 XFONT_BITMAP_FALSE
    806 XFONT_BITMAP_TRUE
    807 XFONT_SNFFORMAT_FALSE
    808 XFONT_SNFFORMAT_TRUE
    809 XFONT_BDFFORMAT_FALSE
    810 XFONT_BDFFORMAT_TRUE
    811 XFONT_PCFFORMAT_FALSE
    812 XFONT_PCFFORMAT_TRUE
    813 XFONT_BUILTINS_FALSE
    814 XFONT_BUILTINS_TRUE
    815 Z_LIBS
    816 X_BZIP2_FONT_COMPRESSION_FALSE
    817 X_BZIP2_FONT_COMPRESSION_TRUE
    818 X_GZIP_FONT_COMPRESSION
    819 FREETYPE_REQUIRES
    820 ft_config
    821 FREETYPE_LIBS
    822 FREETYPE_CFLAGS
    823 XFONT_FREETYPE_FALSE
    824 XFONT_FREETYPE_TRUE
    825 MAKE_DEVEL_DOCS_FALSE
    826 MAKE_DEVEL_DOCS_TRUE
    827 HAVE_XMLTO_FALSE
    828 HAVE_XMLTO_TRUE
    829 XMLTO
    830 ADMIN_MAN_DIR
    831 DRIVER_MAN_DIR
    832 MISC_MAN_DIR
    833 FILE_MAN_DIR
    834 LIB_MAN_DIR
    835 APP_MAN_DIR
    836 ADMIN_MAN_SUFFIX
    837 DRIVER_MAN_SUFFIX
    838 MISC_MAN_SUFFIX
    839 FILE_MAN_SUFFIX
    840 LIB_MAN_SUFFIX
    841 APP_MAN_SUFFIX
    842 distcleancheck_listfiles
    843 CHANGELOG_CMD
    844 AM_BACKSLASH
    845 AM_DEFAULT_VERBOSITY
    846 CWARNFLAGS
    847 PKG_CONFIG
    848 LIBTOOL
    849 ac_ct_F77
    850 FFLAGS
    851 F77
    852 CXXCPP
    853 am__fastdepCXX_FALSE
    854 am__fastdepCXX_TRUE
    855 CXXDEPMODE
    856 ac_ct_CXX
    857 CXXFLAGS
    858 CXX
    859 CPP
    860 NMEDIT
    861 DSYMUTIL
    862 RANLIB
    863 AR
    864 ECHO
    865 LN_S
    866 EGREP
    867 GREP
    868 SED
    869 host_os
    870 host_vendor
    871 host_cpu
    872 host
    873 build_os
    874 build_vendor
    875 build_cpu
    876 build
    877 am__fastdepCC_FALSE
    878 am__fastdepCC_TRUE
    879 CCDEPMODE
    880 AMDEPBACKSLASH
    881 AMDEP_FALSE
    882 AMDEP_TRUE
    883 am__quote
    884 am__include
    885 DEPDIR
    886 OBJEXT
    887 EXEEXT
    888 ac_ct_CC
    889 CPPFLAGS
    890 LDFLAGS
    891 CFLAGS
    892 CC
    893 am__untar
    894 am__tar
    895 AMTAR
    896 am__leading_dot
    897 SET_MAKE
    898 AWK
    899 mkdir_p
    900 MKDIR_P
    901 INSTALL_STRIP_PROGRAM
    902 STRIP
    903 install_sh
    904 MAKEINFO
    905 AUTOHEADER
    906 AUTOMAKE
    907 AUTOCONF
    908 ACLOCAL
    909 VERSION
    910 PACKAGE
    911 CYGPATH_W
    912 am__isrc
    913 INSTALL_DATA
    914 INSTALL_SCRIPT
    915 INSTALL_PROGRAM
    916 target_alias
    917 host_alias
    918 build_alias
    919 LIBS
    920 ECHO_T
    921 ECHO_N
    922 ECHO_C
    923 DEFS
    924 mandir
    925 localedir
    926 libdir
    927 psdir
    928 pdfdir
    929 dvidir
    930 htmldir
    931 infodir
    932 docdir
    933 oldincludedir
    934 includedir
    935 localstatedir
    936 sharedstatedir
    937 sysconfdir
    938 datadir
    939 datarootdir
    940 libexecdir
    941 sbindir
    942 bindir
    943 program_transform_name
    944 prefix
    945 exec_prefix
    946 PACKAGE_BUGREPORT
    947 PACKAGE_STRING
    948 PACKAGE_VERSION
    949 PACKAGE_TARNAME
    950 PACKAGE_NAME
    951 PATH_SEPARATOR
    952 SHELL'
    953 ac_subst_files=''
    954 ac_user_opts='
    955 enable_option_checking
    956 enable_dependency_tracking
    957 enable_shared
    958 enable_static
    959 enable_fast_install
    960 with_gnu_ld
    961 enable_libtool_lock
    962 with_pic
    963 with_tags
    964 enable_silent_rules
    965 enable_strict_compilation
    966 with_release_version
    967 enable_devel_docs
    968 enable_freetype
    969 with_freetype_config
    970 with_bzip2
    971 enable_builtins
    972 enable_pcfformat
    973 enable_bdfformat
    974 enable_snfformat
    975 enable_fc
    976 enable_unix_transport
    977 enable_tcp_transport
    978 enable_ipv6
    979 enable_local_transport
    980 '
    981       ac_precious_vars='build_alias
    982 host_alias
    983 target_alias
    984 CC
    985 CFLAGS
    986 LDFLAGS
    987 LIBS
    988 CPPFLAGS
    989 CPP
    990 CXX
    991 CXXFLAGS
    992 CCC
    993 CXXCPP
    994 F77
    995 FFLAGS
    996 PKG_CONFIG
    997 XMLTO
    998 FREETYPE_CFLAGS
    999 FREETYPE_LIBS
   1000 XFONT_CFLAGS
   1001 XFONT_LIBS'
   1002 
   1003 
   1004 # Initialize some variables set by options.
   1005 ac_init_help=
   1006 ac_init_version=false
   1007 ac_unrecognized_opts=
   1008 ac_unrecognized_sep=
   1009 # The variables have the same names as the options, with
   1010 # dashes changed to underlines.
   1011 cache_file=/dev/null
   1012 exec_prefix=NONE
   1013 no_create=
   1014 no_recursion=
   1015 prefix=NONE
   1016 program_prefix=NONE
   1017 program_suffix=NONE
   1018 program_transform_name=s,x,x,
   1019 silent=
   1020 site=
   1021 srcdir=
   1022 verbose=
   1023 x_includes=NONE
   1024 x_libraries=NONE
   1025 
   1026 # Installation directory options.
   1027 # These are left unexpanded so users can "make install exec_prefix=/foo"
   1028 # and all the variables that are supposed to be based on exec_prefix
   1029 # by default will actually change.
   1030 # Use braces instead of parens because sh, perl, etc. also accept them.
   1031 # (The list follows the same order as the GNU Coding Standards.)
   1032 bindir='${exec_prefix}/bin'
   1033 sbindir='${exec_prefix}/sbin'
   1034 libexecdir='${exec_prefix}/libexec'
   1035 datarootdir='${prefix}/share'
   1036 datadir='${datarootdir}'
   1037 sysconfdir='${prefix}/etc'
   1038 sharedstatedir='${prefix}/com'
   1039 localstatedir='${prefix}/var'
   1040 includedir='${prefix}/include'
   1041 oldincludedir='/usr/include'
   1042 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
   1043 infodir='${datarootdir}/info'
   1044 htmldir='${docdir}'
   1045 dvidir='${docdir}'
   1046 pdfdir='${docdir}'
   1047 psdir='${docdir}'
   1048 libdir='${exec_prefix}/lib'
   1049 localedir='${datarootdir}/locale'
   1050 mandir='${datarootdir}/man'
   1051 
   1052 ac_prev=
   1053 ac_dashdash=
   1054 for ac_option
   1055 do
   1056   # If the previous option needs an argument, assign it.
   1057   if test -n "$ac_prev"; then
   1058     eval $ac_prev=\$ac_option
   1059     ac_prev=
   1060     continue
   1061   fi
   1062 
   1063   case $ac_option in
   1064   *=*)	ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
   1065   *)	ac_optarg=yes ;;
   1066   esac
   1067 
   1068   # Accept the important Cygnus configure options, so we can diagnose typos.
   1069 
   1070   case $ac_dashdash$ac_option in
   1071   --)
   1072     ac_dashdash=yes ;;
   1073 
   1074   -bindir | --bindir | --bindi | --bind | --bin | --bi)
   1075     ac_prev=bindir ;;
   1076   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
   1077     bindir=$ac_optarg ;;
   1078 
   1079   -build | --build | --buil | --bui | --bu)
   1080     ac_prev=build_alias ;;
   1081   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
   1082     build_alias=$ac_optarg ;;
   1083 
   1084   -cache-file | --cache-file | --cache-fil | --cache-fi \
   1085   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
   1086     ac_prev=cache_file ;;
   1087   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
   1088   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
   1089     cache_file=$ac_optarg ;;
   1090 
   1091   --config-cache | -C)
   1092     cache_file=config.cache ;;
   1093 
   1094   -datadir | --datadir | --datadi | --datad)
   1095     ac_prev=datadir ;;
   1096   -datadir=* | --datadir=* | --datadi=* | --datad=*)
   1097     datadir=$ac_optarg ;;
   1098 
   1099   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
   1100   | --dataroo | --dataro | --datar)
   1101     ac_prev=datarootdir ;;
   1102   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
   1103   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
   1104     datarootdir=$ac_optarg ;;
   1105 
   1106   -disable-* | --disable-*)
   1107     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
   1108     # Reject names that are not valid shell variable names.
   1109     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1110       { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
   1111    { (exit 1); exit 1; }; }
   1112     ac_useropt_orig=$ac_useropt
   1113     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1114     case $ac_user_opts in
   1115       *"
   1116 "enable_$ac_useropt"
   1117 "*) ;;
   1118       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
   1119 	 ac_unrecognized_sep=', ';;
   1120     esac
   1121     eval enable_$ac_useropt=no ;;
   1122 
   1123   -docdir | --docdir | --docdi | --doc | --do)
   1124     ac_prev=docdir ;;
   1125   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
   1126     docdir=$ac_optarg ;;
   1127 
   1128   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
   1129     ac_prev=dvidir ;;
   1130   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
   1131     dvidir=$ac_optarg ;;
   1132 
   1133   -enable-* | --enable-*)
   1134     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
   1135     # Reject names that are not valid shell variable names.
   1136     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1137       { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
   1138    { (exit 1); exit 1; }; }
   1139     ac_useropt_orig=$ac_useropt
   1140     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1141     case $ac_user_opts in
   1142       *"
   1143 "enable_$ac_useropt"
   1144 "*) ;;
   1145       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
   1146 	 ac_unrecognized_sep=', ';;
   1147     esac
   1148     eval enable_$ac_useropt=\$ac_optarg ;;
   1149 
   1150   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
   1151   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
   1152   | --exec | --exe | --ex)
   1153     ac_prev=exec_prefix ;;
   1154   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
   1155   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
   1156   | --exec=* | --exe=* | --ex=*)
   1157     exec_prefix=$ac_optarg ;;
   1158 
   1159   -gas | --gas | --ga | --g)
   1160     # Obsolete; use --with-gas.
   1161     with_gas=yes ;;
   1162 
   1163   -help | --help | --hel | --he | -h)
   1164     ac_init_help=long ;;
   1165   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
   1166     ac_init_help=recursive ;;
   1167   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
   1168     ac_init_help=short ;;
   1169 
   1170   -host | --host | --hos | --ho)
   1171     ac_prev=host_alias ;;
   1172   -host=* | --host=* | --hos=* | --ho=*)
   1173     host_alias=$ac_optarg ;;
   1174 
   1175   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
   1176     ac_prev=htmldir ;;
   1177   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
   1178   | --ht=*)
   1179     htmldir=$ac_optarg ;;
   1180 
   1181   -includedir | --includedir | --includedi | --included | --include \
   1182   | --includ | --inclu | --incl | --inc)
   1183     ac_prev=includedir ;;
   1184   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
   1185   | --includ=* | --inclu=* | --incl=* | --inc=*)
   1186     includedir=$ac_optarg ;;
   1187 
   1188   -infodir | --infodir | --infodi | --infod | --info | --inf)
   1189     ac_prev=infodir ;;
   1190   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
   1191     infodir=$ac_optarg ;;
   1192 
   1193   -libdir | --libdir | --libdi | --libd)
   1194     ac_prev=libdir ;;
   1195   -libdir=* | --libdir=* | --libdi=* | --libd=*)
   1196     libdir=$ac_optarg ;;
   1197 
   1198   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
   1199   | --libexe | --libex | --libe)
   1200     ac_prev=libexecdir ;;
   1201   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
   1202   | --libexe=* | --libex=* | --libe=*)
   1203     libexecdir=$ac_optarg ;;
   1204 
   1205   -localedir | --localedir | --localedi | --localed | --locale)
   1206     ac_prev=localedir ;;
   1207   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
   1208     localedir=$ac_optarg ;;
   1209 
   1210   -localstatedir | --localstatedir | --localstatedi | --localstated \
   1211   | --localstate | --localstat | --localsta | --localst | --locals)
   1212     ac_prev=localstatedir ;;
   1213   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   1214   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   1215     localstatedir=$ac_optarg ;;
   1216 
   1217   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1218     ac_prev=mandir ;;
   1219   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1220     mandir=$ac_optarg ;;
   1221 
   1222   -nfp | --nfp | --nf)
   1223     # Obsolete; use --without-fp.
   1224     with_fp=no ;;
   1225 
   1226   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1227   | --no-cr | --no-c | -n)
   1228     no_create=yes ;;
   1229 
   1230   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1231   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1232     no_recursion=yes ;;
   1233 
   1234   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1235   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1236   | --oldin | --oldi | --old | --ol | --o)
   1237     ac_prev=oldincludedir ;;
   1238   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1239   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1240   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1241     oldincludedir=$ac_optarg ;;
   1242 
   1243   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1244     ac_prev=prefix ;;
   1245   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1246     prefix=$ac_optarg ;;
   1247 
   1248   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1249   | --program-pre | --program-pr | --program-p)
   1250     ac_prev=program_prefix ;;
   1251   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1252   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1253     program_prefix=$ac_optarg ;;
   1254 
   1255   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1256   | --program-suf | --program-su | --program-s)
   1257     ac_prev=program_suffix ;;
   1258   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1259   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1260     program_suffix=$ac_optarg ;;
   1261 
   1262   -program-transform-name | --program-transform-name \
   1263   | --program-transform-nam | --program-transform-na \
   1264   | --program-transform-n | --program-transform- \
   1265   | --program-transform | --program-transfor \
   1266   | --program-transfo | --program-transf \
   1267   | --program-trans | --program-tran \
   1268   | --progr-tra | --program-tr | --program-t)
   1269     ac_prev=program_transform_name ;;
   1270   -program-transform-name=* | --program-transform-name=* \
   1271   | --program-transform-nam=* | --program-transform-na=* \
   1272   | --program-transform-n=* | --program-transform-=* \
   1273   | --program-transform=* | --program-transfor=* \
   1274   | --program-transfo=* | --program-transf=* \
   1275   | --program-trans=* | --program-tran=* \
   1276   | --progr-tra=* | --program-tr=* | --program-t=*)
   1277     program_transform_name=$ac_optarg ;;
   1278 
   1279   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1280     ac_prev=pdfdir ;;
   1281   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1282     pdfdir=$ac_optarg ;;
   1283 
   1284   -psdir | --psdir | --psdi | --psd | --ps)
   1285     ac_prev=psdir ;;
   1286   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1287     psdir=$ac_optarg ;;
   1288 
   1289   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1290   | -silent | --silent | --silen | --sile | --sil)
   1291     silent=yes ;;
   1292 
   1293   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1294     ac_prev=sbindir ;;
   1295   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1296   | --sbi=* | --sb=*)
   1297     sbindir=$ac_optarg ;;
   1298 
   1299   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1300   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1301   | --sharedst | --shareds | --shared | --share | --shar \
   1302   | --sha | --sh)
   1303     ac_prev=sharedstatedir ;;
   1304   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1305   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1306   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1307   | --sha=* | --sh=*)
   1308     sharedstatedir=$ac_optarg ;;
   1309 
   1310   -site | --site | --sit)
   1311     ac_prev=site ;;
   1312   -site=* | --site=* | --sit=*)
   1313     site=$ac_optarg ;;
   1314 
   1315   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1316     ac_prev=srcdir ;;
   1317   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1318     srcdir=$ac_optarg ;;
   1319 
   1320   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1321   | --syscon | --sysco | --sysc | --sys | --sy)
   1322     ac_prev=sysconfdir ;;
   1323   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1324   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1325     sysconfdir=$ac_optarg ;;
   1326 
   1327   -target | --target | --targe | --targ | --tar | --ta | --t)
   1328     ac_prev=target_alias ;;
   1329   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1330     target_alias=$ac_optarg ;;
   1331 
   1332   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1333     verbose=yes ;;
   1334 
   1335   -version | --version | --versio | --versi | --vers | -V)
   1336     ac_init_version=: ;;
   1337 
   1338   -with-* | --with-*)
   1339     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1340     # Reject names that are not valid shell variable names.
   1341     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1342       { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
   1343    { (exit 1); exit 1; }; }
   1344     ac_useropt_orig=$ac_useropt
   1345     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1346     case $ac_user_opts in
   1347       *"
   1348 "with_$ac_useropt"
   1349 "*) ;;
   1350       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1351 	 ac_unrecognized_sep=', ';;
   1352     esac
   1353     eval with_$ac_useropt=\$ac_optarg ;;
   1354 
   1355   -without-* | --without-*)
   1356     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1357     # Reject names that are not valid shell variable names.
   1358     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1359       { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
   1360    { (exit 1); exit 1; }; }
   1361     ac_useropt_orig=$ac_useropt
   1362     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1363     case $ac_user_opts in
   1364       *"
   1365 "with_$ac_useropt"
   1366 "*) ;;
   1367       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1368 	 ac_unrecognized_sep=', ';;
   1369     esac
   1370     eval with_$ac_useropt=no ;;
   1371 
   1372   --x)
   1373     # Obsolete; use --with-x.
   1374     with_x=yes ;;
   1375 
   1376   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1377   | --x-incl | --x-inc | --x-in | --x-i)
   1378     ac_prev=x_includes ;;
   1379   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1380   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1381     x_includes=$ac_optarg ;;
   1382 
   1383   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1384   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1385     ac_prev=x_libraries ;;
   1386   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1387   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1388     x_libraries=$ac_optarg ;;
   1389 
   1390   -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
   1391 Try \`$0 --help' for more information." >&2
   1392    { (exit 1); exit 1; }; }
   1393     ;;
   1394 
   1395   *=*)
   1396     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1397     # Reject names that are not valid shell variable names.
   1398     expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
   1399       { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
   1400    { (exit 1); exit 1; }; }
   1401     eval $ac_envvar=\$ac_optarg
   1402     export $ac_envvar ;;
   1403 
   1404   *)
   1405     # FIXME: should be removed in autoconf 3.0.
   1406     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
   1407     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1408       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
   1409     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
   1410     ;;
   1411 
   1412   esac
   1413 done
   1414 
   1415 if test -n "$ac_prev"; then
   1416   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1417   { $as_echo "$as_me: error: missing argument to $ac_option" >&2
   1418    { (exit 1); exit 1; }; }
   1419 fi
   1420 
   1421 if test -n "$ac_unrecognized_opts"; then
   1422   case $enable_option_checking in
   1423     no) ;;
   1424     fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
   1425    { (exit 1); exit 1; }; } ;;
   1426     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1427   esac
   1428 fi
   1429 
   1430 # Check all directory arguments for consistency.
   1431 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1432 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1433 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1434 		libdir localedir mandir
   1435 do
   1436   eval ac_val=\$$ac_var
   1437   # Remove trailing slashes.
   1438   case $ac_val in
   1439     */ )
   1440       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1441       eval $ac_var=\$ac_val;;
   1442   esac
   1443   # Be sure to have absolute directory names.
   1444   case $ac_val in
   1445     [\\/$]* | ?:[\\/]* )  continue;;
   1446     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1447   esac
   1448   { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
   1449    { (exit 1); exit 1; }; }
   1450 done
   1451 
   1452 # There might be people who depend on the old broken behavior: `$host'
   1453 # used to hold the argument of --host etc.
   1454 # FIXME: To remove some day.
   1455 build=$build_alias
   1456 host=$host_alias
   1457 target=$target_alias
   1458 
   1459 # FIXME: To remove some day.
   1460 if test "x$host_alias" != x; then
   1461   if test "x$build_alias" = x; then
   1462     cross_compiling=maybe
   1463     $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
   1464     If a cross compiler is detected then cross compile mode will be used." >&2
   1465   elif test "x$build_alias" != "x$host_alias"; then
   1466     cross_compiling=yes
   1467   fi
   1468 fi
   1469 
   1470 ac_tool_prefix=
   1471 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1472 
   1473 test "$silent" = yes && exec 6>/dev/null
   1474 
   1475 
   1476 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1477 ac_ls_di=`ls -di .` &&
   1478 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1479   { $as_echo "$as_me: error: working directory cannot be determined" >&2
   1480    { (exit 1); exit 1; }; }
   1481 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1482   { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
   1483    { (exit 1); exit 1; }; }
   1484 
   1485 
   1486 # Find the source files, if location was not specified.
   1487 if test -z "$srcdir"; then
   1488   ac_srcdir_defaulted=yes
   1489   # Try the directory containing this script, then the parent directory.
   1490   ac_confdir=`$as_dirname -- "$as_myself" ||
   1491 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1492 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1493 	 X"$as_myself" : 'X\(//\)$' \| \
   1494 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1495 $as_echo X"$as_myself" |
   1496     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1497 	    s//\1/
   1498 	    q
   1499 	  }
   1500 	  /^X\(\/\/\)[^/].*/{
   1501 	    s//\1/
   1502 	    q
   1503 	  }
   1504 	  /^X\(\/\/\)$/{
   1505 	    s//\1/
   1506 	    q
   1507 	  }
   1508 	  /^X\(\/\).*/{
   1509 	    s//\1/
   1510 	    q
   1511 	  }
   1512 	  s/.*/./; q'`
   1513   srcdir=$ac_confdir
   1514   if test ! -r "$srcdir/$ac_unique_file"; then
   1515     srcdir=..
   1516   fi
   1517 else
   1518   ac_srcdir_defaulted=no
   1519 fi
   1520 if test ! -r "$srcdir/$ac_unique_file"; then
   1521   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1522   { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
   1523    { (exit 1); exit 1; }; }
   1524 fi
   1525 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1526 ac_abs_confdir=`(
   1527 	cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
   1528    { (exit 1); exit 1; }; }
   1529 	pwd)`
   1530 # When building in place, set srcdir=.
   1531 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1532   srcdir=.
   1533 fi
   1534 # Remove unnecessary trailing slashes from srcdir.
   1535 # Double slashes in file names in object file debugging info
   1536 # mess up M-x gdb in Emacs.
   1537 case $srcdir in
   1538 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1539 esac
   1540 for ac_var in $ac_precious_vars; do
   1541   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1542   eval ac_env_${ac_var}_value=\$${ac_var}
   1543   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1544   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1545 done
   1546 
   1547 #
   1548 # Report the --help message.
   1549 #
   1550 if test "$ac_init_help" = "long"; then
   1551   # Omit some internal or obsolete options to make the list less imposing.
   1552   # This message is too long to be a string in the A/UX 3.1 sh.
   1553   cat <<_ACEOF
   1554 \`configure' configures libXfont 1.4.1 to adapt to many kinds of systems.
   1555 
   1556 Usage: $0 [OPTION]... [VAR=VALUE]...
   1557 
   1558 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1559 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1560 
   1561 Defaults for the options are specified in brackets.
   1562 
   1563 Configuration:
   1564   -h, --help              display this help and exit
   1565       --help=short        display options specific to this package
   1566       --help=recursive    display the short help of all the included packages
   1567   -V, --version           display version information and exit
   1568   -q, --quiet, --silent   do not print \`checking...' messages
   1569       --cache-file=FILE   cache test results in FILE [disabled]
   1570   -C, --config-cache      alias for \`--cache-file=config.cache'
   1571   -n, --no-create         do not create output files
   1572       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1573 
   1574 Installation directories:
   1575   --prefix=PREFIX         install architecture-independent files in PREFIX
   1576                           [$ac_default_prefix]
   1577   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1578                           [PREFIX]
   1579 
   1580 By default, \`make install' will install all the files in
   1581 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1582 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1583 for instance \`--prefix=\$HOME'.
   1584 
   1585 For better control, use the options below.
   1586 
   1587 Fine tuning of the installation directories:
   1588   --bindir=DIR            user executables [EPREFIX/bin]
   1589   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1590   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1591   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1592   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1593   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1594   --libdir=DIR            object code libraries [EPREFIX/lib]
   1595   --includedir=DIR        C header files [PREFIX/include]
   1596   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1597   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1598   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1599   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1600   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1601   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1602   --docdir=DIR            documentation root [DATAROOTDIR/doc/libXfont]
   1603   --htmldir=DIR           html documentation [DOCDIR]
   1604   --dvidir=DIR            dvi documentation [DOCDIR]
   1605   --pdfdir=DIR            pdf documentation [DOCDIR]
   1606   --psdir=DIR             ps documentation [DOCDIR]
   1607 _ACEOF
   1608 
   1609   cat <<\_ACEOF
   1610 
   1611 Program names:
   1612   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1613   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1614   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1615 
   1616 System types:
   1617   --build=BUILD     configure for building on BUILD [guessed]
   1618   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1619 _ACEOF
   1620 fi
   1621 
   1622 if test -n "$ac_init_help"; then
   1623   case $ac_init_help in
   1624      short | recursive ) echo "Configuration of libXfont 1.4.1:";;
   1625    esac
   1626   cat <<\_ACEOF
   1627 
   1628 Optional Features:
   1629   --disable-option-checking  ignore unrecognized --enable/--with options
   1630   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1631   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1632   --disable-dependency-tracking  speeds up one-time build
   1633   --enable-dependency-tracking   do not reject slow dependency extractors
   1634   --enable-shared[=PKGS]  build shared libraries [default=yes]
   1635   --enable-static[=PKGS]  build static libraries [default=yes]
   1636   --enable-fast-install[=PKGS]
   1637                           optimize for fast installation [default=yes]
   1638   --disable-libtool-lock  avoid locking (might break parallel builds)
   1639   --enable-silent-rules          less verbose build output (undo: `make V=1')
   1640   --disable-silent-rules         verbose build output (undo: `make V=0')
   1641   --enable-strict-compilation
   1642                           Enable all warnings from compiler and make them
   1643                           errors (default: disabled)
   1644   --enable-devel-docs     Build internals documentation for developers
   1645                           (default: enabled)
   1646  --disable-freetype
   1647  --disable-builtins
   1648  --disable-pcfformat
   1649  --disable-bdfformat
   1650  --disable-snfformat
   1651  --disable-fc
   1652   --enable-unix-transport Enable UNIX domain socket transport
   1653   --enable-tcp-transport  Enable TCP socket transport
   1654   --enable-ipv6           Enable IPv6 support
   1655   --enable-local-transport
   1656                           Enable os-specific local transport
   1657 
   1658 Optional Packages:
   1659   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1660   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1661   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
   1662   --with-pic              try to use only PIC/non-PIC objects [default=use
   1663                           both]
   1664   --with-tags[=TAGS]      include additional configurations [automatic]
   1665   --with-release-version=STRING
   1666                           Use release version string in package name
   1667   --with-freetype-config=PROG   Use FreeType configuration program PROG
   1668   --with-bzip2            Support bzip2 compressed bitmap fonts
   1669 
   1670 Some influential environment variables:
   1671   CC          C compiler command
   1672   CFLAGS      C compiler flags
   1673   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1674               nonstandard directory <lib dir>
   1675   LIBS        libraries to pass to the linker, e.g. -l<library>
   1676   CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
   1677               you have headers in a nonstandard directory <include dir>
   1678   CPP         C preprocessor
   1679   CXX         C++ compiler command
   1680   CXXFLAGS    C++ compiler flags
   1681   CXXCPP      C++ preprocessor
   1682   F77         Fortran 77 compiler command
   1683   FFLAGS      Fortran 77 compiler flags
   1684   PKG_CONFIG  path to pkg-config utility
   1685   XMLTO       Path to xmlto command
   1686   FREETYPE_CFLAGS
   1687               C compiler flags for FREETYPE, overriding pkg-config
   1688   FREETYPE_LIBS
   1689               linker flags for FREETYPE, overriding pkg-config
   1690   XFONT_CFLAGS
   1691               C compiler flags for XFONT, overriding pkg-config
   1692   XFONT_LIBS  linker flags for XFONT, overriding pkg-config
   1693 
   1694 Use these variables to override the choices made by `configure' or to help
   1695 it to find libraries and programs with nonstandard names/locations.
   1696 
   1697 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
   1698 _ACEOF
   1699 ac_status=$?
   1700 fi
   1701 
   1702 if test "$ac_init_help" = "recursive"; then
   1703   # If there are subdirs, report their specific --help.
   1704   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1705     test -d "$ac_dir" ||
   1706       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1707       continue
   1708     ac_builddir=.
   1709 
   1710 case "$ac_dir" in
   1711 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1712 *)
   1713   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   1714   # A ".." for each directory in $ac_dir_suffix.
   1715   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1716   case $ac_top_builddir_sub in
   1717   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1718   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1719   esac ;;
   1720 esac
   1721 ac_abs_top_builddir=$ac_pwd
   1722 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1723 # for backward compatibility:
   1724 ac_top_builddir=$ac_top_build_prefix
   1725 
   1726 case $srcdir in
   1727   .)  # We are building in place.
   1728     ac_srcdir=.
   1729     ac_top_srcdir=$ac_top_builddir_sub
   1730     ac_abs_top_srcdir=$ac_pwd ;;
   1731   [\\/]* | ?:[\\/]* )  # Absolute name.
   1732     ac_srcdir=$srcdir$ac_dir_suffix;
   1733     ac_top_srcdir=$srcdir
   1734     ac_abs_top_srcdir=$srcdir ;;
   1735   *) # Relative name.
   1736     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1737     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1738     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1739 esac
   1740 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1741 
   1742     cd "$ac_dir" || { ac_status=$?; continue; }
   1743     # Check for guested configure.
   1744     if test -f "$ac_srcdir/configure.gnu"; then
   1745       echo &&
   1746       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1747     elif test -f "$ac_srcdir/configure"; then
   1748       echo &&
   1749       $SHELL "$ac_srcdir/configure" --help=recursive
   1750     else
   1751       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1752     fi || ac_status=$?
   1753     cd "$ac_pwd" || { ac_status=$?; break; }
   1754   done
   1755 fi
   1756 
   1757 test -n "$ac_init_help" && exit $ac_status
   1758 if $ac_init_version; then
   1759   cat <<\_ACEOF
   1760 libXfont configure 1.4.1
   1761 generated by GNU Autoconf 2.63
   1762 
   1763 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
   1764 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
   1765 This configure script is free software; the Free Software Foundation
   1766 gives unlimited permission to copy, distribute and modify it.
   1767 _ACEOF
   1768   exit
   1769 fi
   1770 cat >config.log <<_ACEOF
   1771 This file contains any messages produced by compilers while
   1772 running configure, to aid debugging if configure makes a mistake.
   1773 
   1774 It was created by libXfont $as_me 1.4.1, which was
   1775 generated by GNU Autoconf 2.63.  Invocation command line was
   1776 
   1777   $ $0 $@
   1778 
   1779 _ACEOF
   1780 exec 5>>config.log
   1781 {
   1782 cat <<_ASUNAME
   1783 ## --------- ##
   1784 ## Platform. ##
   1785 ## --------- ##
   1786 
   1787 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   1788 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   1789 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   1790 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   1791 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   1792 
   1793 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   1794 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   1795 
   1796 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   1797 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   1798 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   1799 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   1800 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   1801 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   1802 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   1803 
   1804 _ASUNAME
   1805 
   1806 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1807 for as_dir in $PATH
   1808 do
   1809   IFS=$as_save_IFS
   1810   test -z "$as_dir" && as_dir=.
   1811   $as_echo "PATH: $as_dir"
   1812 done
   1813 IFS=$as_save_IFS
   1814 
   1815 } >&5
   1816 
   1817 cat >&5 <<_ACEOF
   1818 
   1819 
   1820 ## ----------- ##
   1821 ## Core tests. ##
   1822 ## ----------- ##
   1823 
   1824 _ACEOF
   1825 
   1826 
   1827 # Keep a trace of the command line.
   1828 # Strip out --no-create and --no-recursion so they do not pile up.
   1829 # Strip out --silent because we don't want to record it for future runs.
   1830 # Also quote any args containing shell meta-characters.
   1831 # Make two passes to allow for proper duplicate-argument suppression.
   1832 ac_configure_args=
   1833 ac_configure_args0=
   1834 ac_configure_args1=
   1835 ac_must_keep_next=false
   1836 for ac_pass in 1 2
   1837 do
   1838   for ac_arg
   1839   do
   1840     case $ac_arg in
   1841     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   1842     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1843     | -silent | --silent | --silen | --sile | --sil)
   1844       continue ;;
   1845     *\'*)
   1846       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1847     esac
   1848     case $ac_pass in
   1849     1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
   1850     2)
   1851       ac_configure_args1="$ac_configure_args1 '$ac_arg'"
   1852       if test $ac_must_keep_next = true; then
   1853 	ac_must_keep_next=false # Got value, back to normal.
   1854       else
   1855 	case $ac_arg in
   1856 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   1857 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   1858 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   1859 	  | -with-* | --with-* | -without-* | --without-* | --x)
   1860 	    case "$ac_configure_args0 " in
   1861 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   1862 	    esac
   1863 	    ;;
   1864 	  -* ) ac_must_keep_next=true ;;
   1865 	esac
   1866       fi
   1867       ac_configure_args="$ac_configure_args '$ac_arg'"
   1868       ;;
   1869     esac
   1870   done
   1871 done
   1872 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
   1873 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
   1874 
   1875 # When interrupted or exit'd, cleanup temporary files, and complete
   1876 # config.log.  We remove comments because anyway the quotes in there
   1877 # would cause problems or look ugly.
   1878 # WARNING: Use '\'' to represent an apostrophe within the trap.
   1879 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   1880 trap 'exit_status=$?
   1881   # Save into config.log some information that might help in debugging.
   1882   {
   1883     echo
   1884 
   1885     cat <<\_ASBOX
   1886 ## ---------------- ##
   1887 ## Cache variables. ##
   1888 ## ---------------- ##
   1889 _ASBOX
   1890     echo
   1891     # The following way of writing the cache mishandles newlines in values,
   1892 (
   1893   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   1894     eval ac_val=\$$ac_var
   1895     case $ac_val in #(
   1896     *${as_nl}*)
   1897       case $ac_var in #(
   1898       *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
   1899 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   1900       esac
   1901       case $ac_var in #(
   1902       _ | IFS | as_nl) ;; #(
   1903       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   1904       *) $as_unset $ac_var ;;
   1905       esac ;;
   1906     esac
   1907   done
   1908   (set) 2>&1 |
   1909     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   1910     *${as_nl}ac_space=\ *)
   1911       sed -n \
   1912 	"s/'\''/'\''\\\\'\'''\''/g;
   1913 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   1914       ;; #(
   1915     *)
   1916       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   1917       ;;
   1918     esac |
   1919     sort
   1920 )
   1921     echo
   1922 
   1923     cat <<\_ASBOX
   1924 ## ----------------- ##
   1925 ## Output variables. ##
   1926 ## ----------------- ##
   1927 _ASBOX
   1928     echo
   1929     for ac_var in $ac_subst_vars
   1930     do
   1931       eval ac_val=\$$ac_var
   1932       case $ac_val in
   1933       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   1934       esac
   1935       $as_echo "$ac_var='\''$ac_val'\''"
   1936     done | sort
   1937     echo
   1938 
   1939     if test -n "$ac_subst_files"; then
   1940       cat <<\_ASBOX
   1941 ## ------------------- ##
   1942 ## File substitutions. ##
   1943 ## ------------------- ##
   1944 _ASBOX
   1945       echo
   1946       for ac_var in $ac_subst_files
   1947       do
   1948 	eval ac_val=\$$ac_var
   1949 	case $ac_val in
   1950 	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   1951 	esac
   1952 	$as_echo "$ac_var='\''$ac_val'\''"
   1953       done | sort
   1954       echo
   1955     fi
   1956 
   1957     if test -s confdefs.h; then
   1958       cat <<\_ASBOX
   1959 ## ----------- ##
   1960 ## confdefs.h. ##
   1961 ## ----------- ##
   1962 _ASBOX
   1963       echo
   1964       cat confdefs.h
   1965       echo
   1966     fi
   1967     test "$ac_signal" != 0 &&
   1968       $as_echo "$as_me: caught signal $ac_signal"
   1969     $as_echo "$as_me: exit $exit_status"
   1970   } >&5
   1971   rm -f core *.core core.conftest.* &&
   1972     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   1973     exit $exit_status
   1974 ' 0
   1975 for ac_signal in 1 2 13 15; do
   1976   trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
   1977 done
   1978 ac_signal=0
   1979 
   1980 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   1981 rm -f -r conftest* confdefs.h
   1982 
   1983 # Predefined preprocessor variables.
   1984 
   1985 cat >>confdefs.h <<_ACEOF
   1986 #define PACKAGE_NAME "$PACKAGE_NAME"
   1987 _ACEOF
   1988 
   1989 
   1990 cat >>confdefs.h <<_ACEOF
   1991 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
   1992 _ACEOF
   1993 
   1994 
   1995 cat >>confdefs.h <<_ACEOF
   1996 #define PACKAGE_VERSION "$PACKAGE_VERSION"
   1997 _ACEOF
   1998 
   1999 
   2000 cat >>confdefs.h <<_ACEOF
   2001 #define PACKAGE_STRING "$PACKAGE_STRING"
   2002 _ACEOF
   2003 
   2004 
   2005 cat >>confdefs.h <<_ACEOF
   2006 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
   2007 _ACEOF
   2008 
   2009 
   2010 # Let the site file select an alternate cache file if it wants to.
   2011 # Prefer an explicitly selected file to automatically selected ones.
   2012 ac_site_file1=NONE
   2013 ac_site_file2=NONE
   2014 if test -n "$CONFIG_SITE"; then
   2015   ac_site_file1=$CONFIG_SITE
   2016 elif test "x$prefix" != xNONE; then
   2017   ac_site_file1=$prefix/share/config.site
   2018   ac_site_file2=$prefix/etc/config.site
   2019 else
   2020   ac_site_file1=$ac_default_prefix/share/config.site
   2021   ac_site_file2=$ac_default_prefix/etc/config.site
   2022 fi
   2023 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
   2024 do
   2025   test "x$ac_site_file" = xNONE && continue
   2026   if test -r "$ac_site_file"; then
   2027     { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
   2028 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
   2029     sed 's/^/| /' "$ac_site_file" >&5
   2030     . "$ac_site_file"
   2031   fi
   2032 done
   2033 
   2034 if test -r "$cache_file"; then
   2035   # Some versions of bash will fail to source /dev/null (special
   2036   # files actually), so we avoid doing that.
   2037   if test -f "$cache_file"; then
   2038     { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
   2039 $as_echo "$as_me: loading cache $cache_file" >&6;}
   2040     case $cache_file in
   2041       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2042       *)                      . "./$cache_file";;
   2043     esac
   2044   fi
   2045 else
   2046   { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
   2047 $as_echo "$as_me: creating cache $cache_file" >&6;}
   2048   >$cache_file
   2049 fi
   2050 
   2051 # Check that the precious variables saved in the cache have kept the same
   2052 # value.
   2053 ac_cache_corrupted=false
   2054 for ac_var in $ac_precious_vars; do
   2055   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2056   eval ac_new_set=\$ac_env_${ac_var}_set
   2057   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2058   eval ac_new_val=\$ac_env_${ac_var}_value
   2059   case $ac_old_set,$ac_new_set in
   2060     set,)
   2061       { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   2062 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   2063       ac_cache_corrupted=: ;;
   2064     ,set)
   2065       { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
   2066 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   2067       ac_cache_corrupted=: ;;
   2068     ,);;
   2069     *)
   2070       if test "x$ac_old_val" != "x$ac_new_val"; then
   2071 	# differences in whitespace do not lead to failure.
   2072 	ac_old_val_w=`echo x $ac_old_val`
   2073 	ac_new_val_w=`echo x $ac_new_val`
   2074 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2075 	  { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
   2076 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   2077 	  ac_cache_corrupted=:
   2078 	else
   2079 	  { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
   2080 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
   2081 	  eval $ac_var=\$ac_old_val
   2082 	fi
   2083 	{ $as_echo "$as_me:$LINENO:   former value:  \`$ac_old_val'" >&5
   2084 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
   2085 	{ $as_echo "$as_me:$LINENO:   current value: \`$ac_new_val'" >&5
   2086 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
   2087       fi;;
   2088   esac
   2089   # Pass precious variables to config.status.
   2090   if test "$ac_new_set" = set; then
   2091     case $ac_new_val in
   2092     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2093     *) ac_arg=$ac_var=$ac_new_val ;;
   2094     esac
   2095     case " $ac_configure_args " in
   2096       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2097       *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
   2098     esac
   2099   fi
   2100 done
   2101 if $ac_cache_corrupted; then
   2102   { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   2103 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2104   { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
   2105 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
   2106   { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
   2107 $as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
   2108    { (exit 1); exit 1; }; }
   2109 fi
   2110 
   2111 
   2112 
   2113 
   2114 
   2115 
   2116 
   2117 
   2118 
   2119 
   2120 
   2121 
   2122 
   2123 
   2124 
   2125 
   2126 
   2127 
   2128 
   2129 
   2130 
   2131 
   2132 
   2133 
   2134 
   2135 ac_ext=c
   2136 ac_cpp='$CPP $CPPFLAGS'
   2137 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2138 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2139 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2140 
   2141 
   2142 am__api_version='1.11'
   2143 
   2144 ac_aux_dir=
   2145 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
   2146   if test -f "$ac_dir/install-sh"; then
   2147     ac_aux_dir=$ac_dir
   2148     ac_install_sh="$ac_aux_dir/install-sh -c"
   2149     break
   2150   elif test -f "$ac_dir/install.sh"; then
   2151     ac_aux_dir=$ac_dir
   2152     ac_install_sh="$ac_aux_dir/install.sh -c"
   2153     break
   2154   elif test -f "$ac_dir/shtool"; then
   2155     ac_aux_dir=$ac_dir
   2156     ac_install_sh="$ac_aux_dir/shtool install -c"
   2157     break
   2158   fi
   2159 done
   2160 if test -z "$ac_aux_dir"; then
   2161   { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
   2162 $as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
   2163    { (exit 1); exit 1; }; }
   2164 fi
   2165 
   2166 # These three variables are undocumented and unsupported,
   2167 # and are intended to be withdrawn in a future Autoconf release.
   2168 # They can cause serious problems if a builder's source tree is in a directory
   2169 # whose full name contains unusual characters.
   2170 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
   2171 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
   2172 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
   2173 
   2174 
   2175 # Find a good install program.  We prefer a C program (faster),
   2176 # so one script is as good as another.  But avoid the broken or
   2177 # incompatible versions:
   2178 # SysV /etc/install, /usr/sbin/install
   2179 # SunOS /usr/etc/install
   2180 # IRIX /sbin/install
   2181 # AIX /bin/install
   2182 # AmigaOS /C/install, which installs bootblocks on floppy discs
   2183 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   2184 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   2185 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   2186 # OS/2's system install, which has a completely different semantic
   2187 # ./install, which can be erroneously created by make from ./install.sh.
   2188 # Reject install programs that cannot install multiple files.
   2189 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
   2190 $as_echo_n "checking for a BSD-compatible install... " >&6; }
   2191 if test -z "$INSTALL"; then
   2192 if test "${ac_cv_path_install+set}" = set; then
   2193   $as_echo_n "(cached) " >&6
   2194 else
   2195   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2196 for as_dir in $PATH
   2197 do
   2198   IFS=$as_save_IFS
   2199   test -z "$as_dir" && as_dir=.
   2200   # Account for people who put trailing slashes in PATH elements.
   2201 case $as_dir/ in
   2202   ./ | .// | /cC/* | \
   2203   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   2204   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
   2205   /usr/ucb/* ) ;;
   2206   *)
   2207     # OSF1 and SCO ODT 3.0 have their own names for install.
   2208     # Don't use installbsd from OSF since it installs stuff as root
   2209     # by default.
   2210     for ac_prog in ginstall scoinst install; do
   2211       for ac_exec_ext in '' $ac_executable_extensions; do
   2212 	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
   2213 	  if test $ac_prog = install &&
   2214 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2215 	    # AIX install.  It has an incompatible calling convention.
   2216 	    :
   2217 	  elif test $ac_prog = install &&
   2218 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2219 	    # program-specific install script used by HP pwplus--don't use.
   2220 	    :
   2221 	  else
   2222 	    rm -rf conftest.one conftest.two conftest.dir
   2223 	    echo one > conftest.one
   2224 	    echo two > conftest.two
   2225 	    mkdir conftest.dir
   2226 	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
   2227 	      test -s conftest.one && test -s conftest.two &&
   2228 	      test -s conftest.dir/conftest.one &&
   2229 	      test -s conftest.dir/conftest.two
   2230 	    then
   2231 	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
   2232 	      break 3
   2233 	    fi
   2234 	  fi
   2235 	fi
   2236       done
   2237     done
   2238     ;;
   2239 esac
   2240 
   2241 done
   2242 IFS=$as_save_IFS
   2243 
   2244 rm -rf conftest.one conftest.two conftest.dir
   2245 
   2246 fi
   2247   if test "${ac_cv_path_install+set}" = set; then
   2248     INSTALL=$ac_cv_path_install
   2249   else
   2250     # As a last resort, use the slow shell script.  Don't cache a
   2251     # value for INSTALL within a source directory, because that will
   2252     # break other packages using the cache if that directory is
   2253     # removed, or if the value is a relative name.
   2254     INSTALL=$ac_install_sh
   2255   fi
   2256 fi
   2257 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
   2258 $as_echo "$INSTALL" >&6; }
   2259 
   2260 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   2261 # It thinks the first close brace ends the variable substitution.
   2262 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   2263 
   2264 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   2265 
   2266 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   2267 
   2268 { $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5
   2269 $as_echo_n "checking whether build environment is sane... " >&6; }
   2270 # Just in case
   2271 sleep 1
   2272 echo timestamp > conftest.file
   2273 # Reject unsafe characters in $srcdir or the absolute working directory
   2274 # name.  Accept space and tab only in the latter.
   2275 am_lf='
   2276 '
   2277 case `pwd` in
   2278   *[\\\"\#\$\&\'\`$am_lf]*)
   2279     { { $as_echo "$as_me:$LINENO: error: unsafe absolute working directory name" >&5
   2280 $as_echo "$as_me: error: unsafe absolute working directory name" >&2;}
   2281    { (exit 1); exit 1; }; };;
   2282 esac
   2283 case $srcdir in
   2284   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   2285     { { $as_echo "$as_me:$LINENO: error: unsafe srcdir value: \`$srcdir'" >&5
   2286 $as_echo "$as_me: error: unsafe srcdir value: \`$srcdir'" >&2;}
   2287    { (exit 1); exit 1; }; };;
   2288 esac
   2289 
   2290 # Do `set' in a subshell so we don't clobber the current shell's
   2291 # arguments.  Must try -L first in case configure is actually a
   2292 # symlink; some systems play weird games with the mod time of symlinks
   2293 # (eg FreeBSD returns the mod time of the symlink's containing
   2294 # directory).
   2295 if (
   2296    set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   2297    if test "$*" = "X"; then
   2298       # -L didn't work.
   2299       set X `ls -t "$srcdir/configure" conftest.file`
   2300    fi
   2301    rm -f conftest.file
   2302    if test "$*" != "X $srcdir/configure conftest.file" \
   2303       && test "$*" != "X conftest.file $srcdir/configure"; then
   2304 
   2305       # If neither matched, then we have a broken ls.  This can happen
   2306       # if, for instance, CONFIG_SHELL is bash and it inherits a
   2307       # broken ls alias from the environment.  This has actually
   2308       # happened.  Such a system could not be considered "sane".
   2309       { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
   2310 alias in your environment" >&5
   2311 $as_echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
   2312 alias in your environment" >&2;}
   2313    { (exit 1); exit 1; }; }
   2314    fi
   2315 
   2316    test "$2" = conftest.file
   2317    )
   2318 then
   2319    # Ok.
   2320    :
   2321 else
   2322    { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files!
   2323 Check your system clock" >&5
   2324 $as_echo "$as_me: error: newly created file is older than distributed files!
   2325 Check your system clock" >&2;}
   2326    { (exit 1); exit 1; }; }
   2327 fi
   2328 { $as_echo "$as_me:$LINENO: result: yes" >&5
   2329 $as_echo "yes" >&6; }
   2330 test "$program_prefix" != NONE &&
   2331   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   2332 # Use a double $ so make ignores it.
   2333 test "$program_suffix" != NONE &&
   2334   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   2335 # Double any \ or $.
   2336 # By default was `s,x,x', remove it if useless.
   2337 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   2338 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
   2339 
   2340 # expand $ac_aux_dir to an absolute path
   2341 am_aux_dir=`cd $ac_aux_dir && pwd`
   2342 
   2343 if test x"${MISSING+set}" != xset; then
   2344   case $am_aux_dir in
   2345   *\ * | *\	*)
   2346     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
   2347   *)
   2348     MISSING="\${SHELL} $am_aux_dir/missing" ;;
   2349   esac
   2350 fi
   2351 # Use eval to expand $SHELL
   2352 if eval "$MISSING --run true"; then
   2353   am_missing_run="$MISSING --run "
   2354 else
   2355   am_missing_run=
   2356   { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
   2357 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
   2358 fi
   2359 
   2360 if test x"${install_sh}" != xset; then
   2361   case $am_aux_dir in
   2362   *\ * | *\	*)
   2363     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   2364   *)
   2365     install_sh="\${SHELL} $am_aux_dir/install-sh"
   2366   esac
   2367 fi
   2368 
   2369 # Installed binaries are usually stripped using `strip' when the user
   2370 # run `make install-strip'.  However `strip' might not be the right
   2371 # tool to use in cross-compilation environments, therefore Automake
   2372 # will honor the `STRIP' environment variable to overrule this program.
   2373 if test "$cross_compiling" != no; then
   2374   if test -n "$ac_tool_prefix"; then
   2375   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   2376 set dummy ${ac_tool_prefix}strip; ac_word=$2
   2377 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   2378 $as_echo_n "checking for $ac_word... " >&6; }
   2379 if test "${ac_cv_prog_STRIP+set}" = set; then
   2380   $as_echo_n "(cached) " >&6
   2381 else
   2382   if test -n "$STRIP"; then
   2383   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   2384 else
   2385 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2386 for as_dir in $PATH
   2387 do
   2388   IFS=$as_save_IFS
   2389   test -z "$as_dir" && as_dir=.
   2390   for ac_exec_ext in '' $ac_executable_extensions; do
   2391   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2392     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   2393     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2394     break 2
   2395   fi
   2396 done
   2397 done
   2398 IFS=$as_save_IFS
   2399 
   2400 fi
   2401 fi
   2402 STRIP=$ac_cv_prog_STRIP
   2403 if test -n "$STRIP"; then
   2404   { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
   2405 $as_echo "$STRIP" >&6; }
   2406 else
   2407   { $as_echo "$as_me:$LINENO: result: no" >&5
   2408 $as_echo "no" >&6; }
   2409 fi
   2410 
   2411 
   2412 fi
   2413 if test -z "$ac_cv_prog_STRIP"; then
   2414   ac_ct_STRIP=$STRIP
   2415   # Extract the first word of "strip", so it can be a program name with args.
   2416 set dummy strip; ac_word=$2
   2417 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   2418 $as_echo_n "checking for $ac_word... " >&6; }
   2419 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
   2420   $as_echo_n "(cached) " >&6
   2421 else
   2422   if test -n "$ac_ct_STRIP"; then
   2423   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   2424 else
   2425 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2426 for as_dir in $PATH
   2427 do
   2428   IFS=$as_save_IFS
   2429   test -z "$as_dir" && as_dir=.
   2430   for ac_exec_ext in '' $ac_executable_extensions; do
   2431   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2432     ac_cv_prog_ac_ct_STRIP="strip"
   2433     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2434     break 2
   2435   fi
   2436 done
   2437 done
   2438 IFS=$as_save_IFS
   2439 
   2440 fi
   2441 fi
   2442 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   2443 if test -n "$ac_ct_STRIP"; then
   2444   { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
   2445 $as_echo "$ac_ct_STRIP" >&6; }
   2446 else
   2447   { $as_echo "$as_me:$LINENO: result: no" >&5
   2448 $as_echo "no" >&6; }
   2449 fi
   2450 
   2451   if test "x$ac_ct_STRIP" = x; then
   2452     STRIP=":"
   2453   else
   2454     case $cross_compiling:$ac_tool_warned in
   2455 yes:)
   2456 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   2457 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2458 ac_tool_warned=yes ;;
   2459 esac
   2460     STRIP=$ac_ct_STRIP
   2461   fi
   2462 else
   2463   STRIP="$ac_cv_prog_STRIP"
   2464 fi
   2465 
   2466 fi
   2467 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   2468 
   2469 { $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
   2470 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
   2471 if test -z "$MKDIR_P"; then
   2472   if test "${ac_cv_path_mkdir+set}" = set; then
   2473   $as_echo_n "(cached) " >&6
   2474 else
   2475   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2476 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   2477 do
   2478   IFS=$as_save_IFS
   2479   test -z "$as_dir" && as_dir=.
   2480   for ac_prog in mkdir gmkdir; do
   2481 	 for ac_exec_ext in '' $ac_executable_extensions; do
   2482 	   { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
   2483 	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
   2484 	     'mkdir (GNU coreutils) '* | \
   2485 	     'mkdir (coreutils) '* | \
   2486 	     'mkdir (fileutils) '4.1*)
   2487 	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
   2488 	       break 3;;
   2489 	   esac
   2490 	 done
   2491        done
   2492 done
   2493 IFS=$as_save_IFS
   2494 
   2495 fi
   2496 
   2497   if test "${ac_cv_path_mkdir+set}" = set; then
   2498     MKDIR_P="$ac_cv_path_mkdir -p"
   2499   else
   2500     # As a last resort, use the slow shell script.  Don't cache a
   2501     # value for MKDIR_P within a source directory, because that will
   2502     # break other packages using the cache if that directory is
   2503     # removed, or if the value is a relative name.
   2504     test -d ./--version && rmdir ./--version
   2505     MKDIR_P="$ac_install_sh -d"
   2506   fi
   2507 fi
   2508 { $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5
   2509 $as_echo "$MKDIR_P" >&6; }
   2510 
   2511 mkdir_p="$MKDIR_P"
   2512 case $mkdir_p in
   2513   [\\/$]* | ?:[\\/]*) ;;
   2514   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
   2515 esac
   2516 
   2517 for ac_prog in gawk mawk nawk awk
   2518 do
   2519   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2520 set dummy $ac_prog; ac_word=$2
   2521 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   2522 $as_echo_n "checking for $ac_word... " >&6; }
   2523 if test "${ac_cv_prog_AWK+set}" = set; then
   2524   $as_echo_n "(cached) " >&6
   2525 else
   2526   if test -n "$AWK"; then
   2527   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   2528 else
   2529 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2530 for as_dir in $PATH
   2531 do
   2532   IFS=$as_save_IFS
   2533   test -z "$as_dir" && as_dir=.
   2534   for ac_exec_ext in '' $ac_executable_extensions; do
   2535   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2536     ac_cv_prog_AWK="$ac_prog"
   2537     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2538     break 2
   2539   fi
   2540 done
   2541 done
   2542 IFS=$as_save_IFS
   2543 
   2544 fi
   2545 fi
   2546 AWK=$ac_cv_prog_AWK
   2547 if test -n "$AWK"; then
   2548   { $as_echo "$as_me:$LINENO: result: $AWK" >&5
   2549 $as_echo "$AWK" >&6; }
   2550 else
   2551   { $as_echo "$as_me:$LINENO: result: no" >&5
   2552 $as_echo "no" >&6; }
   2553 fi
   2554 
   2555 
   2556   test -n "$AWK" && break
   2557 done
   2558 
   2559 { $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   2560 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   2561 set x ${MAKE-make}
   2562 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   2563 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
   2564   $as_echo_n "(cached) " >&6
   2565 else
   2566   cat >conftest.make <<\_ACEOF
   2567 SHELL = /bin/sh
   2568 all:
   2569 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   2570 _ACEOF
   2571 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
   2572 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   2573   *@@@%%%=?*=@@@%%%*)
   2574     eval ac_cv_prog_make_${ac_make}_set=yes;;
   2575   *)
   2576     eval ac_cv_prog_make_${ac_make}_set=no;;
   2577 esac
   2578 rm -f conftest.make
   2579 fi
   2580 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   2581   { $as_echo "$as_me:$LINENO: result: yes" >&5
   2582 $as_echo "yes" >&6; }
   2583   SET_MAKE=
   2584 else
   2585   { $as_echo "$as_me:$LINENO: result: no" >&5
   2586 $as_echo "no" >&6; }
   2587   SET_MAKE="MAKE=${MAKE-make}"
   2588 fi
   2589 
   2590 rm -rf .tst 2>/dev/null
   2591 mkdir .tst 2>/dev/null
   2592 if test -d .tst; then
   2593   am__leading_dot=.
   2594 else
   2595   am__leading_dot=_
   2596 fi
   2597 rmdir .tst 2>/dev/null
   2598 
   2599 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   2600   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   2601   # is not polluted with repeated "-I."
   2602   am__isrc=' -I$(srcdir)'
   2603   # test to see if srcdir already configured
   2604   if test -f $srcdir/config.status; then
   2605     { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
   2606 $as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
   2607    { (exit 1); exit 1; }; }
   2608   fi
   2609 fi
   2610 
   2611 # test whether we have cygpath
   2612 if test -z "$CYGPATH_W"; then
   2613   if (cygpath --version) >/dev/null 2>/dev/null; then
   2614     CYGPATH_W='cygpath -w'
   2615   else
   2616     CYGPATH_W=echo
   2617   fi
   2618 fi
   2619 
   2620 
   2621 # Define the identity of the package.
   2622  PACKAGE='libXfont'
   2623  VERSION='1.4.1'
   2624 
   2625 
   2626 cat >>confdefs.h <<_ACEOF
   2627 #define PACKAGE "$PACKAGE"
   2628 _ACEOF
   2629 
   2630 
   2631 cat >>confdefs.h <<_ACEOF
   2632 #define VERSION "$VERSION"
   2633 _ACEOF
   2634 
   2635 # Some tools Automake needs.
   2636 
   2637 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   2638 
   2639 
   2640 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   2641 
   2642 
   2643 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   2644 
   2645 
   2646 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   2647 
   2648 
   2649 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   2650 
   2651 # We need awk for the "check" target.  The system "awk" is bad on
   2652 # some platforms.
   2653 # Always define AMTAR for backward compatibility.
   2654 
   2655 AMTAR=${AMTAR-"${am_missing_run}tar"}
   2656 
   2657 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
   2658 
   2659 
   2660 
   2661 
   2662 
   2663 ac_config_headers="$ac_config_headers config.h"
   2664 
   2665 ac_config_headers="$ac_config_headers include/X11/fonts/fontconf.h"
   2666 
   2667 
   2668 # Require xorg-macros version >= 1.3.0 for XORG_DEFAULT_OPTIONS
   2669 
   2670 
   2671 
   2672 
   2673 
   2674 
   2675 
   2676 
   2677 
   2678 
   2679 
   2680 
   2681 # Check for progs
   2682 ac_ext=c
   2683 ac_cpp='$CPP $CPPFLAGS'
   2684 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2685 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2686 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2687 if test -n "$ac_tool_prefix"; then
   2688   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   2689 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   2690 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   2691 $as_echo_n "checking for $ac_word... " >&6; }
   2692 if test "${ac_cv_prog_CC+set}" = set; then
   2693   $as_echo_n "(cached) " >&6
   2694 else
   2695   if test -n "$CC"; then
   2696   ac_cv_prog_CC="$CC" # Let the user override the test.
   2697 else
   2698 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2699 for as_dir in $PATH
   2700 do
   2701   IFS=$as_save_IFS
   2702   test -z "$as_dir" && as_dir=.
   2703   for ac_exec_ext in '' $ac_executable_extensions; do
   2704   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2705     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   2706     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2707     break 2
   2708   fi
   2709 done
   2710 done
   2711 IFS=$as_save_IFS
   2712 
   2713 fi
   2714 fi
   2715 CC=$ac_cv_prog_CC
   2716 if test -n "$CC"; then
   2717   { $as_echo "$as_me:$LINENO: result: $CC" >&5
   2718 $as_echo "$CC" >&6; }
   2719 else
   2720   { $as_echo "$as_me:$LINENO: result: no" >&5
   2721 $as_echo "no" >&6; }
   2722 fi
   2723 
   2724 
   2725 fi
   2726 if test -z "$ac_cv_prog_CC"; then
   2727   ac_ct_CC=$CC
   2728   # Extract the first word of "gcc", so it can be a program name with args.
   2729 set dummy gcc; ac_word=$2
   2730 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   2731 $as_echo_n "checking for $ac_word... " >&6; }
   2732 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
   2733   $as_echo_n "(cached) " >&6
   2734 else
   2735   if test -n "$ac_ct_CC"; then
   2736   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   2737 else
   2738 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2739 for as_dir in $PATH
   2740 do
   2741   IFS=$as_save_IFS
   2742   test -z "$as_dir" && as_dir=.
   2743   for ac_exec_ext in '' $ac_executable_extensions; do
   2744   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2745     ac_cv_prog_ac_ct_CC="gcc"
   2746     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2747     break 2
   2748   fi
   2749 done
   2750 done
   2751 IFS=$as_save_IFS
   2752 
   2753 fi
   2754 fi
   2755 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   2756 if test -n "$ac_ct_CC"; then
   2757   { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
   2758 $as_echo "$ac_ct_CC" >&6; }
   2759 else
   2760   { $as_echo "$as_me:$LINENO: result: no" >&5
   2761 $as_echo "no" >&6; }
   2762 fi
   2763 
   2764   if test "x$ac_ct_CC" = x; then
   2765     CC=""
   2766   else
   2767     case $cross_compiling:$ac_tool_warned in
   2768 yes:)
   2769 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   2770 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2771 ac_tool_warned=yes ;;
   2772 esac
   2773     CC=$ac_ct_CC
   2774   fi
   2775 else
   2776   CC="$ac_cv_prog_CC"
   2777 fi
   2778 
   2779 if test -z "$CC"; then
   2780           if test -n "$ac_tool_prefix"; then
   2781     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   2782 set dummy ${ac_tool_prefix}cc; ac_word=$2
   2783 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   2784 $as_echo_n "checking for $ac_word... " >&6; }
   2785 if test "${ac_cv_prog_CC+set}" = set; then
   2786   $as_echo_n "(cached) " >&6
   2787 else
   2788   if test -n "$CC"; then
   2789   ac_cv_prog_CC="$CC" # Let the user override the test.
   2790 else
   2791 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2792 for as_dir in $PATH
   2793 do
   2794   IFS=$as_save_IFS
   2795   test -z "$as_dir" && as_dir=.
   2796   for ac_exec_ext in '' $ac_executable_extensions; do
   2797   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2798     ac_cv_prog_CC="${ac_tool_prefix}cc"
   2799     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2800     break 2
   2801   fi
   2802 done
   2803 done
   2804 IFS=$as_save_IFS
   2805 
   2806 fi
   2807 fi
   2808 CC=$ac_cv_prog_CC
   2809 if test -n "$CC"; then
   2810   { $as_echo "$as_me:$LINENO: result: $CC" >&5
   2811 $as_echo "$CC" >&6; }
   2812 else
   2813   { $as_echo "$as_me:$LINENO: result: no" >&5
   2814 $as_echo "no" >&6; }
   2815 fi
   2816 
   2817 
   2818   fi
   2819 fi
   2820 if test -z "$CC"; then
   2821   # Extract the first word of "cc", so it can be a program name with args.
   2822 set dummy cc; ac_word=$2
   2823 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   2824 $as_echo_n "checking for $ac_word... " >&6; }
   2825 if test "${ac_cv_prog_CC+set}" = set; then
   2826   $as_echo_n "(cached) " >&6
   2827 else
   2828   if test -n "$CC"; then
   2829   ac_cv_prog_CC="$CC" # Let the user override the test.
   2830 else
   2831   ac_prog_rejected=no
   2832 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2833 for as_dir in $PATH
   2834 do
   2835   IFS=$as_save_IFS
   2836   test -z "$as_dir" && as_dir=.
   2837   for ac_exec_ext in '' $ac_executable_extensions; do
   2838   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2839     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   2840        ac_prog_rejected=yes
   2841        continue
   2842      fi
   2843     ac_cv_prog_CC="cc"
   2844     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2845     break 2
   2846   fi
   2847 done
   2848 done
   2849 IFS=$as_save_IFS
   2850 
   2851 if test $ac_prog_rejected = yes; then
   2852   # We found a bogon in the path, so make sure we never use it.
   2853   set dummy $ac_cv_prog_CC
   2854   shift
   2855   if test $# != 0; then
   2856     # We chose a different compiler from the bogus one.
   2857     # However, it has the same basename, so the bogon will be chosen
   2858     # first if we set CC to just the basename; use the full file name.
   2859     shift
   2860     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   2861   fi
   2862 fi
   2863 fi
   2864 fi
   2865 CC=$ac_cv_prog_CC
   2866 if test -n "$CC"; then
   2867   { $as_echo "$as_me:$LINENO: result: $CC" >&5
   2868 $as_echo "$CC" >&6; }
   2869 else
   2870   { $as_echo "$as_me:$LINENO: result: no" >&5
   2871 $as_echo "no" >&6; }
   2872 fi
   2873 
   2874 
   2875 fi
   2876 if test -z "$CC"; then
   2877   if test -n "$ac_tool_prefix"; then
   2878   for ac_prog in cl.exe
   2879   do
   2880     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   2881 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   2882 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   2883 $as_echo_n "checking for $ac_word... " >&6; }
   2884 if test "${ac_cv_prog_CC+set}" = set; then
   2885   $as_echo_n "(cached) " >&6
   2886 else
   2887   if test -n "$CC"; then
   2888   ac_cv_prog_CC="$CC" # Let the user override the test.
   2889 else
   2890 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2891 for as_dir in $PATH
   2892 do
   2893   IFS=$as_save_IFS
   2894   test -z "$as_dir" && as_dir=.
   2895   for ac_exec_ext in '' $ac_executable_extensions; do
   2896   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2897     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   2898     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2899     break 2
   2900   fi
   2901 done
   2902 done
   2903 IFS=$as_save_IFS
   2904 
   2905 fi
   2906 fi
   2907 CC=$ac_cv_prog_CC
   2908 if test -n "$CC"; then
   2909   { $as_echo "$as_me:$LINENO: result: $CC" >&5
   2910 $as_echo "$CC" >&6; }
   2911 else
   2912   { $as_echo "$as_me:$LINENO: result: no" >&5
   2913 $as_echo "no" >&6; }
   2914 fi
   2915 
   2916 
   2917     test -n "$CC" && break
   2918   done
   2919 fi
   2920 if test -z "$CC"; then
   2921   ac_ct_CC=$CC
   2922   for ac_prog in cl.exe
   2923 do
   2924   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2925 set dummy $ac_prog; ac_word=$2
   2926 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   2927 $as_echo_n "checking for $ac_word... " >&6; }
   2928 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
   2929   $as_echo_n "(cached) " >&6
   2930 else
   2931   if test -n "$ac_ct_CC"; then
   2932   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   2933 else
   2934 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2935 for as_dir in $PATH
   2936 do
   2937   IFS=$as_save_IFS
   2938   test -z "$as_dir" && as_dir=.
   2939   for ac_exec_ext in '' $ac_executable_extensions; do
   2940   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2941     ac_cv_prog_ac_ct_CC="$ac_prog"
   2942     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2943     break 2
   2944   fi
   2945 done
   2946 done
   2947 IFS=$as_save_IFS
   2948 
   2949 fi
   2950 fi
   2951 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   2952 if test -n "$ac_ct_CC"; then
   2953   { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
   2954 $as_echo "$ac_ct_CC" >&6; }
   2955 else
   2956   { $as_echo "$as_me:$LINENO: result: no" >&5
   2957 $as_echo "no" >&6; }
   2958 fi
   2959 
   2960 
   2961   test -n "$ac_ct_CC" && break
   2962 done
   2963 
   2964   if test "x$ac_ct_CC" = x; then
   2965     CC=""
   2966   else
   2967     case $cross_compiling:$ac_tool_warned in
   2968 yes:)
   2969 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   2970 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2971 ac_tool_warned=yes ;;
   2972 esac
   2973     CC=$ac_ct_CC
   2974   fi
   2975 fi
   2976 
   2977 fi
   2978 
   2979 
   2980 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   2981 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2982 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
   2983 See \`config.log' for more details." >&5
   2984 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
   2985 See \`config.log' for more details." >&2;}
   2986    { (exit 1); exit 1; }; }; }
   2987 
   2988 # Provide some information about the compiler.
   2989 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
   2990 set X $ac_compile
   2991 ac_compiler=$2
   2992 { (ac_try="$ac_compiler --version >&5"
   2993 case "(($ac_try" in
   2994   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2995   *) ac_try_echo=$ac_try;;
   2996 esac
   2997 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   2998 $as_echo "$ac_try_echo") >&5
   2999   (eval "$ac_compiler --version >&5") 2>&5
   3000   ac_status=$?
   3001   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3002   (exit $ac_status); }
   3003 { (ac_try="$ac_compiler -v >&5"
   3004 case "(($ac_try" in
   3005   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3006   *) ac_try_echo=$ac_try;;
   3007 esac
   3008 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3009 $as_echo "$ac_try_echo") >&5
   3010   (eval "$ac_compiler -v >&5") 2>&5
   3011   ac_status=$?
   3012   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3013   (exit $ac_status); }
   3014 { (ac_try="$ac_compiler -V >&5"
   3015 case "(($ac_try" in
   3016   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3017   *) ac_try_echo=$ac_try;;
   3018 esac
   3019 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3020 $as_echo "$ac_try_echo") >&5
   3021   (eval "$ac_compiler -V >&5") 2>&5
   3022   ac_status=$?
   3023   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3024   (exit $ac_status); }
   3025 
   3026 cat >conftest.$ac_ext <<_ACEOF
   3027 /* confdefs.h.  */
   3028 _ACEOF
   3029 cat confdefs.h >>conftest.$ac_ext
   3030 cat >>conftest.$ac_ext <<_ACEOF
   3031 /* end confdefs.h.  */
   3032 
   3033 int
   3034 main ()
   3035 {
   3036 
   3037   ;
   3038   return 0;
   3039 }
   3040 _ACEOF
   3041 ac_clean_files_save=$ac_clean_files
   3042 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   3043 # Try to create an executable without -o first, disregard a.out.
   3044 # It will help us diagnose broken compilers, and finding out an intuition
   3045 # of exeext.
   3046 { $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
   3047 $as_echo_n "checking for C compiler default output file name... " >&6; }
   3048 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   3049 
   3050 # The possible output files:
   3051 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   3052 
   3053 ac_rmfiles=
   3054 for ac_file in $ac_files
   3055 do
   3056   case $ac_file in
   3057     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3058     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   3059   esac
   3060 done
   3061 rm -f $ac_rmfiles
   3062 
   3063 if { (ac_try="$ac_link_default"
   3064 case "(($ac_try" in
   3065   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3066   *) ac_try_echo=$ac_try;;
   3067 esac
   3068 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3069 $as_echo "$ac_try_echo") >&5
   3070   (eval "$ac_link_default") 2>&5
   3071   ac_status=$?
   3072   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3073   (exit $ac_status); }; then
   3074   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   3075 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   3076 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   3077 # so that the user can short-circuit this test for compilers unknown to
   3078 # Autoconf.
   3079 for ac_file in $ac_files ''
   3080 do
   3081   test -f "$ac_file" || continue
   3082   case $ac_file in
   3083     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   3084 	;;
   3085     [ab].out )
   3086 	# We found the default executable, but exeext='' is most
   3087 	# certainly right.
   3088 	break;;
   3089     *.* )
   3090         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
   3091 	then :; else
   3092 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3093 	fi
   3094 	# We set ac_cv_exeext here because the later test for it is not
   3095 	# safe: cross compilers may not add the suffix if given an `-o'
   3096 	# argument, so we may need to know it at that point already.
   3097 	# Even if this section looks crufty: it has the advantage of
   3098 	# actually working.
   3099 	break;;
   3100     * )
   3101 	break;;
   3102   esac
   3103 done
   3104 test "$ac_cv_exeext" = no && ac_cv_exeext=
   3105 
   3106 else
   3107   ac_file=''
   3108 fi
   3109 
   3110 { $as_echo "$as_me:$LINENO: result: $ac_file" >&5
   3111 $as_echo "$ac_file" >&6; }
   3112 if test -z "$ac_file"; then
   3113   $as_echo "$as_me: failed program was:" >&5
   3114 sed 's/^/| /' conftest.$ac_ext >&5
   3115 
   3116 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   3117 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3118 { { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
   3119 See \`config.log' for more details." >&5
   3120 $as_echo "$as_me: error: C compiler cannot create executables
   3121 See \`config.log' for more details." >&2;}
   3122    { (exit 77); exit 77; }; }; }
   3123 fi
   3124 
   3125 ac_exeext=$ac_cv_exeext
   3126 
   3127 # Check that the compiler produces executables we can run.  If not, either
   3128 # the compiler is broken, or we cross compile.
   3129 { $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
   3130 $as_echo_n "checking whether the C compiler works... " >&6; }
   3131 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
   3132 # If not cross compiling, check that we can run a simple program.
   3133 if test "$cross_compiling" != yes; then
   3134   if { ac_try='./$ac_file'
   3135   { (case "(($ac_try" in
   3136   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3137   *) ac_try_echo=$ac_try;;
   3138 esac
   3139 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3140 $as_echo "$ac_try_echo") >&5
   3141   (eval "$ac_try") 2>&5
   3142   ac_status=$?
   3143   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3144   (exit $ac_status); }; }; then
   3145     cross_compiling=no
   3146   else
   3147     if test "$cross_compiling" = maybe; then
   3148 	cross_compiling=yes
   3149     else
   3150 	{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   3151 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3152 { { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
   3153 If you meant to cross compile, use \`--host'.
   3154 See \`config.log' for more details." >&5
   3155 $as_echo "$as_me: error: cannot run C compiled programs.
   3156 If you meant to cross compile, use \`--host'.
   3157 See \`config.log' for more details." >&2;}
   3158    { (exit 1); exit 1; }; }; }
   3159     fi
   3160   fi
   3161 fi
   3162 { $as_echo "$as_me:$LINENO: result: yes" >&5
   3163 $as_echo "yes" >&6; }
   3164 
   3165 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   3166 ac_clean_files=$ac_clean_files_save
   3167 # Check that the compiler produces executables we can run.  If not, either
   3168 # the compiler is broken, or we cross compile.
   3169 { $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
   3170 $as_echo_n "checking whether we are cross compiling... " >&6; }
   3171 { $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
   3172 $as_echo "$cross_compiling" >&6; }
   3173 
   3174 { $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
   3175 $as_echo_n "checking for suffix of executables... " >&6; }
   3176 if { (ac_try="$ac_link"
   3177 case "(($ac_try" in
   3178   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3179   *) ac_try_echo=$ac_try;;
   3180 esac
   3181 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3182 $as_echo "$ac_try_echo") >&5
   3183   (eval "$ac_link") 2>&5
   3184   ac_status=$?
   3185   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3186   (exit $ac_status); }; then
   3187   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   3188 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   3189 # work properly (i.e., refer to `conftest.exe'), while it won't with
   3190 # `rm'.
   3191 for ac_file in conftest.exe conftest conftest.*; do
   3192   test -f "$ac_file" || continue
   3193   case $ac_file in
   3194     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3195     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3196 	  break;;
   3197     * ) break;;
   3198   esac
   3199 done
   3200 else
   3201   { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   3202 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3203 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
   3204 See \`config.log' for more details." >&5
   3205 $as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
   3206 See \`config.log' for more details." >&2;}
   3207    { (exit 1); exit 1; }; }; }
   3208 fi
   3209 
   3210 rm -f conftest$ac_cv_exeext
   3211 { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
   3212 $as_echo "$ac_cv_exeext" >&6; }
   3213 
   3214 rm -f conftest.$ac_ext
   3215 EXEEXT=$ac_cv_exeext
   3216 ac_exeext=$EXEEXT
   3217 { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
   3218 $as_echo_n "checking for suffix of object files... " >&6; }
   3219 if test "${ac_cv_objext+set}" = set; then
   3220   $as_echo_n "(cached) " >&6
   3221 else
   3222   cat >conftest.$ac_ext <<_ACEOF
   3223 /* confdefs.h.  */
   3224 _ACEOF
   3225 cat confdefs.h >>conftest.$ac_ext
   3226 cat >>conftest.$ac_ext <<_ACEOF
   3227 /* end confdefs.h.  */
   3228 
   3229 int
   3230 main ()
   3231 {
   3232 
   3233   ;
   3234   return 0;
   3235 }
   3236 _ACEOF
   3237 rm -f conftest.o conftest.obj
   3238 if { (ac_try="$ac_compile"
   3239 case "(($ac_try" in
   3240   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3241   *) ac_try_echo=$ac_try;;
   3242 esac
   3243 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3244 $as_echo "$ac_try_echo") >&5
   3245   (eval "$ac_compile") 2>&5
   3246   ac_status=$?
   3247   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3248   (exit $ac_status); }; then
   3249   for ac_file in conftest.o conftest.obj conftest.*; do
   3250   test -f "$ac_file" || continue;
   3251   case $ac_file in
   3252     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   3253     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   3254        break;;
   3255   esac
   3256 done
   3257 else
   3258   $as_echo "$as_me: failed program was:" >&5
   3259 sed 's/^/| /' conftest.$ac_ext >&5
   3260 
   3261 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   3262 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3263 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
   3264 See \`config.log' for more details." >&5
   3265 $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
   3266 See \`config.log' for more details." >&2;}
   3267    { (exit 1); exit 1; }; }; }
   3268 fi
   3269 
   3270 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   3271 fi
   3272 { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
   3273 $as_echo "$ac_cv_objext" >&6; }
   3274 OBJEXT=$ac_cv_objext
   3275 ac_objext=$OBJEXT
   3276 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
   3277 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
   3278 if test "${ac_cv_c_compiler_gnu+set}" = set; then
   3279   $as_echo_n "(cached) " >&6
   3280 else
   3281   cat >conftest.$ac_ext <<_ACEOF
   3282 /* confdefs.h.  */
   3283 _ACEOF
   3284 cat confdefs.h >>conftest.$ac_ext
   3285 cat >>conftest.$ac_ext <<_ACEOF
   3286 /* end confdefs.h.  */
   3287 
   3288 int
   3289 main ()
   3290 {
   3291 #ifndef __GNUC__
   3292        choke me
   3293 #endif
   3294 
   3295   ;
   3296   return 0;
   3297 }
   3298 _ACEOF
   3299 rm -f conftest.$ac_objext
   3300 if { (ac_try="$ac_compile"
   3301 case "(($ac_try" in
   3302   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3303   *) ac_try_echo=$ac_try;;
   3304 esac
   3305 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3306 $as_echo "$ac_try_echo") >&5
   3307   (eval "$ac_compile") 2>conftest.er1
   3308   ac_status=$?
   3309   grep -v '^ *+' conftest.er1 >conftest.err
   3310   rm -f conftest.er1
   3311   cat conftest.err >&5
   3312   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3313   (exit $ac_status); } && {
   3314 	 test -z "$ac_c_werror_flag" ||
   3315 	 test ! -s conftest.err
   3316        } && test -s conftest.$ac_objext; then
   3317   ac_compiler_gnu=yes
   3318 else
   3319   $as_echo "$as_me: failed program was:" >&5
   3320 sed 's/^/| /' conftest.$ac_ext >&5
   3321 
   3322 	ac_compiler_gnu=no
   3323 fi
   3324 
   3325 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3326 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   3327 
   3328 fi
   3329 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
   3330 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
   3331 if test $ac_compiler_gnu = yes; then
   3332   GCC=yes
   3333 else
   3334   GCC=
   3335 fi
   3336 ac_test_CFLAGS=${CFLAGS+set}
   3337 ac_save_CFLAGS=$CFLAGS
   3338 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
   3339 $as_echo_n "checking whether $CC accepts -g... " >&6; }
   3340 if test "${ac_cv_prog_cc_g+set}" = set; then
   3341   $as_echo_n "(cached) " >&6
   3342 else
   3343   ac_save_c_werror_flag=$ac_c_werror_flag
   3344    ac_c_werror_flag=yes
   3345    ac_cv_prog_cc_g=no
   3346    CFLAGS="-g"
   3347    cat >conftest.$ac_ext <<_ACEOF
   3348 /* confdefs.h.  */
   3349 _ACEOF
   3350 cat confdefs.h >>conftest.$ac_ext
   3351 cat >>conftest.$ac_ext <<_ACEOF
   3352 /* end confdefs.h.  */
   3353 
   3354 int
   3355 main ()
   3356 {
   3357 
   3358   ;
   3359   return 0;
   3360 }
   3361 _ACEOF
   3362 rm -f conftest.$ac_objext
   3363 if { (ac_try="$ac_compile"
   3364 case "(($ac_try" in
   3365   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3366   *) ac_try_echo=$ac_try;;
   3367 esac
   3368 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3369 $as_echo "$ac_try_echo") >&5
   3370   (eval "$ac_compile") 2>conftest.er1
   3371   ac_status=$?
   3372   grep -v '^ *+' conftest.er1 >conftest.err
   3373   rm -f conftest.er1
   3374   cat conftest.err >&5
   3375   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3376   (exit $ac_status); } && {
   3377 	 test -z "$ac_c_werror_flag" ||
   3378 	 test ! -s conftest.err
   3379        } && test -s conftest.$ac_objext; then
   3380   ac_cv_prog_cc_g=yes
   3381 else
   3382   $as_echo "$as_me: failed program was:" >&5
   3383 sed 's/^/| /' conftest.$ac_ext >&5
   3384 
   3385 	CFLAGS=""
   3386       cat >conftest.$ac_ext <<_ACEOF
   3387 /* confdefs.h.  */
   3388 _ACEOF
   3389 cat confdefs.h >>conftest.$ac_ext
   3390 cat >>conftest.$ac_ext <<_ACEOF
   3391 /* end confdefs.h.  */
   3392 
   3393 int
   3394 main ()
   3395 {
   3396 
   3397   ;
   3398   return 0;
   3399 }
   3400 _ACEOF
   3401 rm -f conftest.$ac_objext
   3402 if { (ac_try="$ac_compile"
   3403 case "(($ac_try" in
   3404   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3405   *) ac_try_echo=$ac_try;;
   3406 esac
   3407 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3408 $as_echo "$ac_try_echo") >&5
   3409   (eval "$ac_compile") 2>conftest.er1
   3410   ac_status=$?
   3411   grep -v '^ *+' conftest.er1 >conftest.err
   3412   rm -f conftest.er1
   3413   cat conftest.err >&5
   3414   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3415   (exit $ac_status); } && {
   3416 	 test -z "$ac_c_werror_flag" ||
   3417 	 test ! -s conftest.err
   3418        } && test -s conftest.$ac_objext; then
   3419   :
   3420 else
   3421   $as_echo "$as_me: failed program was:" >&5
   3422 sed 's/^/| /' conftest.$ac_ext >&5
   3423 
   3424 	ac_c_werror_flag=$ac_save_c_werror_flag
   3425 	 CFLAGS="-g"
   3426 	 cat >conftest.$ac_ext <<_ACEOF
   3427 /* confdefs.h.  */
   3428 _ACEOF
   3429 cat confdefs.h >>conftest.$ac_ext
   3430 cat >>conftest.$ac_ext <<_ACEOF
   3431 /* end confdefs.h.  */
   3432 
   3433 int
   3434 main ()
   3435 {
   3436 
   3437   ;
   3438   return 0;
   3439 }
   3440 _ACEOF
   3441 rm -f conftest.$ac_objext
   3442 if { (ac_try="$ac_compile"
   3443 case "(($ac_try" in
   3444   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3445   *) ac_try_echo=$ac_try;;
   3446 esac
   3447 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3448 $as_echo "$ac_try_echo") >&5
   3449   (eval "$ac_compile") 2>conftest.er1
   3450   ac_status=$?
   3451   grep -v '^ *+' conftest.er1 >conftest.err
   3452   rm -f conftest.er1
   3453   cat conftest.err >&5
   3454   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3455   (exit $ac_status); } && {
   3456 	 test -z "$ac_c_werror_flag" ||
   3457 	 test ! -s conftest.err
   3458        } && test -s conftest.$ac_objext; then
   3459   ac_cv_prog_cc_g=yes
   3460 else
   3461   $as_echo "$as_me: failed program was:" >&5
   3462 sed 's/^/| /' conftest.$ac_ext >&5
   3463 
   3464 
   3465 fi
   3466 
   3467 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3468 fi
   3469 
   3470 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3471 fi
   3472 
   3473 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3474    ac_c_werror_flag=$ac_save_c_werror_flag
   3475 fi
   3476 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
   3477 $as_echo "$ac_cv_prog_cc_g" >&6; }
   3478 if test "$ac_test_CFLAGS" = set; then
   3479   CFLAGS=$ac_save_CFLAGS
   3480 elif test $ac_cv_prog_cc_g = yes; then
   3481   if test "$GCC" = yes; then
   3482     CFLAGS="-g -O2"
   3483   else
   3484     CFLAGS="-g"
   3485   fi
   3486 else
   3487   if test "$GCC" = yes; then
   3488     CFLAGS="-O2"
   3489   else
   3490     CFLAGS=
   3491   fi
   3492 fi
   3493 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
   3494 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
   3495 if test "${ac_cv_prog_cc_c89+set}" = set; then
   3496   $as_echo_n "(cached) " >&6
   3497 else
   3498   ac_cv_prog_cc_c89=no
   3499 ac_save_CC=$CC
   3500 cat >conftest.$ac_ext <<_ACEOF
   3501 /* confdefs.h.  */
   3502 _ACEOF
   3503 cat confdefs.h >>conftest.$ac_ext
   3504 cat >>conftest.$ac_ext <<_ACEOF
   3505 /* end confdefs.h.  */
   3506 #include <stdarg.h>
   3507 #include <stdio.h>
   3508 #include <sys/types.h>
   3509 #include <sys/stat.h>
   3510 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   3511 struct buf { int x; };
   3512 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   3513 static char *e (p, i)
   3514      char **p;
   3515      int i;
   3516 {
   3517   return p[i];
   3518 }
   3519 static char *f (char * (*g) (char **, int), char **p, ...)
   3520 {
   3521   char *s;
   3522   va_list v;
   3523   va_start (v,p);
   3524   s = g (p, va_arg (v,int));
   3525   va_end (v);
   3526   return s;
   3527 }
   3528 
   3529 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   3530    function prototypes and stuff, but not '\xHH' hex character constants.
   3531    These don't provoke an error unfortunately, instead are silently treated
   3532    as 'x'.  The following induces an error, until -std is added to get
   3533    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   3534    array size at least.  It's necessary to write '\x00'==0 to get something
   3535    that's true only with -std.  */
   3536 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   3537 
   3538 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   3539    inside strings and character constants.  */
   3540 #define FOO(x) 'x'
   3541 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   3542 
   3543 int test (int i, double x);
   3544 struct s1 {int (*f) (int a);};
   3545 struct s2 {int (*f) (double a);};
   3546 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   3547 int argc;
   3548 char **argv;
   3549 int
   3550 main ()
   3551 {
   3552 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   3553   ;
   3554   return 0;
   3555 }
   3556 _ACEOF
   3557 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   3558 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   3559 do
   3560   CC="$ac_save_CC $ac_arg"
   3561   rm -f conftest.$ac_objext
   3562 if { (ac_try="$ac_compile"
   3563 case "(($ac_try" in
   3564   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3565   *) ac_try_echo=$ac_try;;
   3566 esac
   3567 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3568 $as_echo "$ac_try_echo") >&5
   3569   (eval "$ac_compile") 2>conftest.er1
   3570   ac_status=$?
   3571   grep -v '^ *+' conftest.er1 >conftest.err
   3572   rm -f conftest.er1
   3573   cat conftest.err >&5
   3574   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3575   (exit $ac_status); } && {
   3576 	 test -z "$ac_c_werror_flag" ||
   3577 	 test ! -s conftest.err
   3578        } && test -s conftest.$ac_objext; then
   3579   ac_cv_prog_cc_c89=$ac_arg
   3580 else
   3581   $as_echo "$as_me: failed program was:" >&5
   3582 sed 's/^/| /' conftest.$ac_ext >&5
   3583 
   3584 
   3585 fi
   3586 
   3587 rm -f core conftest.err conftest.$ac_objext
   3588   test "x$ac_cv_prog_cc_c89" != "xno" && break
   3589 done
   3590 rm -f conftest.$ac_ext
   3591 CC=$ac_save_CC
   3592 
   3593 fi
   3594 # AC_CACHE_VAL
   3595 case "x$ac_cv_prog_cc_c89" in
   3596   x)
   3597     { $as_echo "$as_me:$LINENO: result: none needed" >&5
   3598 $as_echo "none needed" >&6; } ;;
   3599   xno)
   3600     { $as_echo "$as_me:$LINENO: result: unsupported" >&5
   3601 $as_echo "unsupported" >&6; } ;;
   3602   *)
   3603     CC="$CC $ac_cv_prog_cc_c89"
   3604     { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
   3605 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
   3606 esac
   3607 
   3608 
   3609 ac_ext=c
   3610 ac_cpp='$CPP $CPPFLAGS'
   3611 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3612 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3613 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3614 DEPDIR="${am__leading_dot}deps"
   3615 
   3616 ac_config_commands="$ac_config_commands depfiles"
   3617 
   3618 
   3619 am_make=${MAKE-make}
   3620 cat > confinc << 'END'
   3621 am__doit:
   3622 	@echo this is the am__doit target
   3623 .PHONY: am__doit
   3624 END
   3625 # If we don't find an include directive, just comment out the code.
   3626 { $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
   3627 $as_echo_n "checking for style of include used by $am_make... " >&6; }
   3628 am__include="#"
   3629 am__quote=
   3630 _am_result=none
   3631 # First try GNU make style include.
   3632 echo "include confinc" > confmf
   3633 # Ignore all kinds of additional output from `make'.
   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=GNU
   3639   ;;
   3640 esac
   3641 # Now try BSD make style include.
   3642 if test "$am__include" = "#"; then
   3643    echo '.include "confinc"' > confmf
   3644    case `$am_make -s -f confmf 2> /dev/null` in #(
   3645    *the\ am__doit\ target*)
   3646      am__include=.include
   3647      am__quote="\""
   3648      _am_result=BSD
   3649      ;;
   3650    esac
   3651 fi
   3652 
   3653 
   3654 { $as_echo "$as_me:$LINENO: result: $_am_result" >&5
   3655 $as_echo "$_am_result" >&6; }
   3656 rm -f confinc confmf
   3657 
   3658 # Check whether --enable-dependency-tracking was given.
   3659 if test "${enable_dependency_tracking+set}" = set; then
   3660   enableval=$enable_dependency_tracking;
   3661 fi
   3662 
   3663 if test "x$enable_dependency_tracking" != xno; then
   3664   am_depcomp="$ac_aux_dir/depcomp"
   3665   AMDEPBACKSLASH='\'
   3666 fi
   3667  if test "x$enable_dependency_tracking" != xno; then
   3668   AMDEP_TRUE=
   3669   AMDEP_FALSE='#'
   3670 else
   3671   AMDEP_TRUE='#'
   3672   AMDEP_FALSE=
   3673 fi
   3674 
   3675 
   3676 
   3677 depcc="$CC"   am_compiler_list=
   3678 
   3679 { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
   3680 $as_echo_n "checking dependency style of $depcc... " >&6; }
   3681 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
   3682   $as_echo_n "(cached) " >&6
   3683 else
   3684   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   3685   # We make a subdir and do the tests there.  Otherwise we can end up
   3686   # making bogus files that we don't know about and never remove.  For
   3687   # instance it was reported that on HP-UX the gcc test will end up
   3688   # making a dummy file named `D' -- because `-MD' means `put the output
   3689   # in D'.
   3690   mkdir conftest.dir
   3691   # Copy depcomp to subdir because otherwise we won't find it if we're
   3692   # using a relative directory.
   3693   cp "$am_depcomp" conftest.dir
   3694   cd conftest.dir
   3695   # We will build objects and dependencies in a subdirectory because
   3696   # it helps to detect inapplicable dependency modes.  For instance
   3697   # both Tru64's cc and ICC support -MD to output dependencies as a
   3698   # side effect of compilation, but ICC will put the dependencies in
   3699   # the current directory while Tru64 will put them in the object
   3700   # directory.
   3701   mkdir sub
   3702 
   3703   am_cv_CC_dependencies_compiler_type=none
   3704   if test "$am_compiler_list" = ""; then
   3705      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   3706   fi
   3707   am__universal=false
   3708   case " $depcc " in #(
   3709      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   3710      esac
   3711 
   3712   for depmode in $am_compiler_list; do
   3713     # Setup a source with many dependencies, because some compilers
   3714     # like to wrap large dependency lists on column 80 (with \), and
   3715     # we should not choose a depcomp mode which is confused by this.
   3716     #
   3717     # We need to recreate these files for each test, as the compiler may
   3718     # overwrite some of them when testing with obscure command lines.
   3719     # This happens at least with the AIX C compiler.
   3720     : > sub/conftest.c
   3721     for i in 1 2 3 4 5 6; do
   3722       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   3723       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
   3724       # Solaris 8's {/usr,}/bin/sh.
   3725       touch sub/conftst$i.h
   3726     done
   3727     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   3728 
   3729     # We check with `-c' and `-o' for the sake of the "dashmstdout"
   3730     # mode.  It turns out that the SunPro C++ compiler does not properly
   3731     # handle `-M -o', and we need to detect this.  Also, some Intel
   3732     # versions had trouble with output in subdirs
   3733     am__obj=sub/conftest.${OBJEXT-o}
   3734     am__minus_obj="-o $am__obj"
   3735     case $depmode in
   3736     gcc)
   3737       # This depmode causes a compiler race in universal mode.
   3738       test "$am__universal" = false || continue
   3739       ;;
   3740     nosideeffect)
   3741       # after this tag, mechanisms are not by side-effect, so they'll
   3742       # only be used when explicitly requested
   3743       if test "x$enable_dependency_tracking" = xyes; then
   3744 	continue
   3745       else
   3746 	break
   3747       fi
   3748       ;;
   3749     msvisualcpp | msvcmsys)
   3750       # This compiler won't grok `-c -o', but also, the minuso test has
   3751       # not run yet.  These depmodes are late enough in the game, and
   3752       # so weak that their functioning should not be impacted.
   3753       am__obj=conftest.${OBJEXT-o}
   3754       am__minus_obj=
   3755       ;;
   3756     none) break ;;
   3757     esac
   3758     if depmode=$depmode \
   3759        source=sub/conftest.c object=$am__obj \
   3760        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   3761        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   3762          >/dev/null 2>conftest.err &&
   3763        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   3764        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   3765        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   3766        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   3767       # icc doesn't choke on unknown options, it will just issue warnings
   3768       # or remarks (even with -Werror).  So we grep stderr for any message
   3769       # that says an option was ignored or not supported.
   3770       # When given -MP, icc 7.0 and 7.1 complain thusly:
   3771       #   icc: Command line warning: ignoring option '-M'; no argument required
   3772       # The diagnosis changed in icc 8.0:
   3773       #   icc: Command line remark: option '-MP' not supported
   3774       if (grep 'ignoring option' conftest.err ||
   3775           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   3776         am_cv_CC_dependencies_compiler_type=$depmode
   3777         break
   3778       fi
   3779     fi
   3780   done
   3781 
   3782   cd ..
   3783   rm -rf conftest.dir
   3784 else
   3785   am_cv_CC_dependencies_compiler_type=none
   3786 fi
   3787 
   3788 fi
   3789 { $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
   3790 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
   3791 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   3792 
   3793  if
   3794   test "x$enable_dependency_tracking" != xno \
   3795   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   3796   am__fastdepCC_TRUE=
   3797   am__fastdepCC_FALSE='#'
   3798 else
   3799   am__fastdepCC_TRUE='#'
   3800   am__fastdepCC_FALSE=
   3801 fi
   3802 
   3803 
   3804 # Check whether --enable-shared was given.
   3805 if test "${enable_shared+set}" = set; then
   3806   enableval=$enable_shared; p=${PACKAGE-default}
   3807     case $enableval in
   3808     yes) enable_shared=yes ;;
   3809     no) enable_shared=no ;;
   3810     *)
   3811       enable_shared=no
   3812       # Look at the argument we got.  We use all the common list separators.
   3813       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   3814       for pkg in $enableval; do
   3815 	IFS="$lt_save_ifs"
   3816 	if test "X$pkg" = "X$p"; then
   3817 	  enable_shared=yes
   3818 	fi
   3819       done
   3820       IFS="$lt_save_ifs"
   3821       ;;
   3822     esac
   3823 else
   3824   enable_shared=yes
   3825 fi
   3826 
   3827 
   3828 # Check whether --enable-static was given.
   3829 if test "${enable_static+set}" = set; then
   3830   enableval=$enable_static; p=${PACKAGE-default}
   3831     case $enableval in
   3832     yes) enable_static=yes ;;
   3833     no) enable_static=no ;;
   3834     *)
   3835      enable_static=no
   3836       # Look at the argument we got.  We use all the common list separators.
   3837       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   3838       for pkg in $enableval; do
   3839 	IFS="$lt_save_ifs"
   3840 	if test "X$pkg" = "X$p"; then
   3841 	  enable_static=yes
   3842 	fi
   3843       done
   3844       IFS="$lt_save_ifs"
   3845       ;;
   3846     esac
   3847 else
   3848   enable_static=yes
   3849 fi
   3850 
   3851 
   3852 # Check whether --enable-fast-install was given.
   3853 if test "${enable_fast_install+set}" = set; then
   3854   enableval=$enable_fast_install; p=${PACKAGE-default}
   3855     case $enableval in
   3856     yes) enable_fast_install=yes ;;
   3857     no) enable_fast_install=no ;;
   3858     *)
   3859       enable_fast_install=no
   3860       # Look at the argument we got.  We use all the common list separators.
   3861       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   3862       for pkg in $enableval; do
   3863 	IFS="$lt_save_ifs"
   3864 	if test "X$pkg" = "X$p"; then
   3865 	  enable_fast_install=yes
   3866 	fi
   3867       done
   3868       IFS="$lt_save_ifs"
   3869       ;;
   3870     esac
   3871 else
   3872   enable_fast_install=yes
   3873 fi
   3874 
   3875 
   3876 # Make sure we can run config.sub.
   3877 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
   3878   { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
   3879 $as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
   3880    { (exit 1); exit 1; }; }
   3881 
   3882 { $as_echo "$as_me:$LINENO: checking build system type" >&5
   3883 $as_echo_n "checking build system type... " >&6; }
   3884 if test "${ac_cv_build+set}" = set; then
   3885   $as_echo_n "(cached) " >&6
   3886 else
   3887   ac_build_alias=$build_alias
   3888 test "x$ac_build_alias" = x &&
   3889   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
   3890 test "x$ac_build_alias" = x &&
   3891   { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
   3892 $as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
   3893    { (exit 1); exit 1; }; }
   3894 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
   3895   { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
   3896 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
   3897    { (exit 1); exit 1; }; }
   3898 
   3899 fi
   3900 { $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
   3901 $as_echo "$ac_cv_build" >&6; }
   3902 case $ac_cv_build in
   3903 *-*-*) ;;
   3904 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
   3905 $as_echo "$as_me: error: invalid value of canonical build" >&2;}
   3906    { (exit 1); exit 1; }; };;
   3907 esac
   3908 build=$ac_cv_build
   3909 ac_save_IFS=$IFS; IFS='-'
   3910 set x $ac_cv_build
   3911 shift
   3912 build_cpu=$1
   3913 build_vendor=$2
   3914 shift; shift
   3915 # Remember, the first character of IFS is used to create $*,
   3916 # except with old shells:
   3917 build_os=$*
   3918 IFS=$ac_save_IFS
   3919 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   3920 
   3921 
   3922 { $as_echo "$as_me:$LINENO: checking host system type" >&5
   3923 $as_echo_n "checking host system type... " >&6; }
   3924 if test "${ac_cv_host+set}" = set; then
   3925   $as_echo_n "(cached) " >&6
   3926 else
   3927   if test "x$host_alias" = x; then
   3928   ac_cv_host=$ac_cv_build
   3929 else
   3930   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
   3931     { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
   3932 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
   3933    { (exit 1); exit 1; }; }
   3934 fi
   3935 
   3936 fi
   3937 { $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
   3938 $as_echo "$ac_cv_host" >&6; }
   3939 case $ac_cv_host in
   3940 *-*-*) ;;
   3941 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
   3942 $as_echo "$as_me: error: invalid value of canonical host" >&2;}
   3943    { (exit 1); exit 1; }; };;
   3944 esac
   3945 host=$ac_cv_host
   3946 ac_save_IFS=$IFS; IFS='-'
   3947 set x $ac_cv_host
   3948 shift
   3949 host_cpu=$1
   3950 host_vendor=$2
   3951 shift; shift
   3952 # Remember, the first character of IFS is used to create $*,
   3953 # except with old shells:
   3954 host_os=$*
   3955 IFS=$ac_save_IFS
   3956 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   3957 
   3958 
   3959 { $as_echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
   3960 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
   3961 if test "${lt_cv_path_SED+set}" = set; then
   3962   $as_echo_n "(cached) " >&6
   3963 else
   3964   # Loop through the user's path and test for sed and gsed.
   3965 # Then use that list of sed's as ones to test for truncation.
   3966 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3967 for as_dir in $PATH
   3968 do
   3969   IFS=$as_save_IFS
   3970   test -z "$as_dir" && as_dir=.
   3971   for lt_ac_prog in sed gsed; do
   3972     for ac_exec_ext in '' $ac_executable_extensions; do
   3973       if { test -f "$as_dir/$lt_ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$lt_ac_prog$ac_exec_ext"; }; then
   3974         lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
   3975       fi
   3976     done
   3977   done
   3978 done
   3979 IFS=$as_save_IFS
   3980 lt_ac_max=0
   3981 lt_ac_count=0
   3982 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
   3983 # along with /bin/sed that truncates output.
   3984 for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
   3985   test ! -f $lt_ac_sed && continue
   3986   cat /dev/null > conftest.in
   3987   lt_ac_count=0
   3988   echo $ECHO_N "0123456789$ECHO_C" >conftest.in
   3989   # Check for GNU sed and select it if it is found.
   3990   if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
   3991     lt_cv_path_SED=$lt_ac_sed
   3992     break
   3993   fi
   3994   while true; do
   3995     cat conftest.in conftest.in >conftest.tmp
   3996     mv conftest.tmp conftest.in
   3997     cp conftest.in conftest.nl
   3998     echo >>conftest.nl
   3999     $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
   4000     cmp -s conftest.out conftest.nl || break
   4001     # 10000 chars as input seems more than enough
   4002     test $lt_ac_count -gt 10 && break
   4003     lt_ac_count=`expr $lt_ac_count + 1`
   4004     if test $lt_ac_count -gt $lt_ac_max; then
   4005       lt_ac_max=$lt_ac_count
   4006       lt_cv_path_SED=$lt_ac_sed
   4007     fi
   4008   done
   4009 done
   4010 
   4011 fi
   4012 
   4013 SED=$lt_cv_path_SED
   4014 
   4015 { $as_echo "$as_me:$LINENO: result: $SED" >&5
   4016 $as_echo "$SED" >&6; }
   4017 
   4018 { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
   4019 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
   4020 if test "${ac_cv_path_GREP+set}" = set; then
   4021   $as_echo_n "(cached) " >&6
   4022 else
   4023   if test -z "$GREP"; then
   4024   ac_path_GREP_found=false
   4025   # Loop through the user's path and test for each of PROGNAME-LIST
   4026   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4027 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4028 do
   4029   IFS=$as_save_IFS
   4030   test -z "$as_dir" && as_dir=.
   4031   for ac_prog in grep ggrep; do
   4032     for ac_exec_ext in '' $ac_executable_extensions; do
   4033       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
   4034       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
   4035 # Check for GNU ac_path_GREP and select it if it is found.
   4036   # Check for GNU $ac_path_GREP
   4037 case `"$ac_path_GREP" --version 2>&1` in
   4038 *GNU*)
   4039   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   4040 *)
   4041   ac_count=0
   4042   $as_echo_n 0123456789 >"conftest.in"
   4043   while :
   4044   do
   4045     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4046     mv "conftest.tmp" "conftest.in"
   4047     cp "conftest.in" "conftest.nl"
   4048     $as_echo 'GREP' >> "conftest.nl"
   4049     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4050     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4051     ac_count=`expr $ac_count + 1`
   4052     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   4053       # Best one so far, save it but keep looking for a better one
   4054       ac_cv_path_GREP="$ac_path_GREP"
   4055       ac_path_GREP_max=$ac_count
   4056     fi
   4057     # 10*(2^10) chars as input seems more than enough
   4058     test $ac_count -gt 10 && break
   4059   done
   4060   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4061 esac
   4062 
   4063       $ac_path_GREP_found && break 3
   4064     done
   4065   done
   4066 done
   4067 IFS=$as_save_IFS
   4068   if test -z "$ac_cv_path_GREP"; then
   4069     { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
   4070 $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
   4071    { (exit 1); exit 1; }; }
   4072   fi
   4073 else
   4074   ac_cv_path_GREP=$GREP
   4075 fi
   4076 
   4077 fi
   4078 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
   4079 $as_echo "$ac_cv_path_GREP" >&6; }
   4080  GREP="$ac_cv_path_GREP"
   4081 
   4082 
   4083 { $as_echo "$as_me:$LINENO: checking for egrep" >&5
   4084 $as_echo_n "checking for egrep... " >&6; }
   4085 if test "${ac_cv_path_EGREP+set}" = set; then
   4086   $as_echo_n "(cached) " >&6
   4087 else
   4088   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   4089    then ac_cv_path_EGREP="$GREP -E"
   4090    else
   4091      if test -z "$EGREP"; then
   4092   ac_path_EGREP_found=false
   4093   # Loop through the user's path and test for each of PROGNAME-LIST
   4094   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4095 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4096 do
   4097   IFS=$as_save_IFS
   4098   test -z "$as_dir" && as_dir=.
   4099   for ac_prog in egrep; do
   4100     for ac_exec_ext in '' $ac_executable_extensions; do
   4101       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
   4102       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
   4103 # Check for GNU ac_path_EGREP and select it if it is found.
   4104   # Check for GNU $ac_path_EGREP
   4105 case `"$ac_path_EGREP" --version 2>&1` in
   4106 *GNU*)
   4107   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   4108 *)
   4109   ac_count=0
   4110   $as_echo_n 0123456789 >"conftest.in"
   4111   while :
   4112   do
   4113     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4114     mv "conftest.tmp" "conftest.in"
   4115     cp "conftest.in" "conftest.nl"
   4116     $as_echo 'EGREP' >> "conftest.nl"
   4117     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4118     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4119     ac_count=`expr $ac_count + 1`
   4120     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   4121       # Best one so far, save it but keep looking for a better one
   4122       ac_cv_path_EGREP="$ac_path_EGREP"
   4123       ac_path_EGREP_max=$ac_count
   4124     fi
   4125     # 10*(2^10) chars as input seems more than enough
   4126     test $ac_count -gt 10 && break
   4127   done
   4128   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4129 esac
   4130 
   4131       $ac_path_EGREP_found && break 3
   4132     done
   4133   done
   4134 done
   4135 IFS=$as_save_IFS
   4136   if test -z "$ac_cv_path_EGREP"; then
   4137     { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
   4138 $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
   4139    { (exit 1); exit 1; }; }
   4140   fi
   4141 else
   4142   ac_cv_path_EGREP=$EGREP
   4143 fi
   4144 
   4145    fi
   4146 fi
   4147 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
   4148 $as_echo "$ac_cv_path_EGREP" >&6; }
   4149  EGREP="$ac_cv_path_EGREP"
   4150 
   4151 
   4152 
   4153 # Check whether --with-gnu-ld was given.
   4154 if test "${with_gnu_ld+set}" = set; then
   4155   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
   4156 else
   4157   with_gnu_ld=no
   4158 fi
   4159 
   4160 ac_prog=ld
   4161 if test "$GCC" = yes; then
   4162   # Check if gcc -print-prog-name=ld gives a path.
   4163   { $as_echo "$as_me:$LINENO: checking for ld used by $CC" >&5
   4164 $as_echo_n "checking for ld used by $CC... " >&6; }
   4165   case $host in
   4166   *-*-mingw*)
   4167     # gcc leaves a trailing carriage return which upsets mingw
   4168     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   4169   *)
   4170     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   4171   esac
   4172   case $ac_prog in
   4173     # Accept absolute paths.
   4174     [\\/]* | ?:[\\/]*)
   4175       re_direlt='/[^/][^/]*/\.\./'
   4176       # Canonicalize the pathname of ld
   4177       ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
   4178       while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
   4179 	ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
   4180       done
   4181       test -z "$LD" && LD="$ac_prog"
   4182       ;;
   4183   "")
   4184     # If it fails, then pretend we aren't using GCC.
   4185     ac_prog=ld
   4186     ;;
   4187   *)
   4188     # If it is relative, then search for the first ld in PATH.
   4189     with_gnu_ld=unknown
   4190     ;;
   4191   esac
   4192 elif test "$with_gnu_ld" = yes; then
   4193   { $as_echo "$as_me:$LINENO: checking for GNU ld" >&5
   4194 $as_echo_n "checking for GNU ld... " >&6; }
   4195 else
   4196   { $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5
   4197 $as_echo_n "checking for non-GNU ld... " >&6; }
   4198 fi
   4199 if test "${lt_cv_path_LD+set}" = set; then
   4200   $as_echo_n "(cached) " >&6
   4201 else
   4202   if test -z "$LD"; then
   4203   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   4204   for ac_dir in $PATH; do
   4205     IFS="$lt_save_ifs"
   4206     test -z "$ac_dir" && ac_dir=.
   4207     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   4208       lt_cv_path_LD="$ac_dir/$ac_prog"
   4209       # Check to see if the program is GNU ld.  I'd rather use --version,
   4210       # but apparently some variants of GNU ld only accept -v.
   4211       # Break only if it was the GNU/non-GNU ld that we prefer.
   4212       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   4213       *GNU* | *'with BFD'*)
   4214 	test "$with_gnu_ld" != no && break
   4215 	;;
   4216       *)
   4217 	test "$with_gnu_ld" != yes && break
   4218 	;;
   4219       esac
   4220     fi
   4221   done
   4222   IFS="$lt_save_ifs"
   4223 else
   4224   lt_cv_path_LD="$LD" # Let the user override the test with a path.
   4225 fi
   4226 fi
   4227 
   4228 LD="$lt_cv_path_LD"
   4229 if test -n "$LD"; then
   4230   { $as_echo "$as_me:$LINENO: result: $LD" >&5
   4231 $as_echo "$LD" >&6; }
   4232 else
   4233   { $as_echo "$as_me:$LINENO: result: no" >&5
   4234 $as_echo "no" >&6; }
   4235 fi
   4236 test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
   4237 $as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
   4238    { (exit 1); exit 1; }; }
   4239 { $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
   4240 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
   4241 if test "${lt_cv_prog_gnu_ld+set}" = set; then
   4242   $as_echo_n "(cached) " >&6
   4243 else
   4244   # I'd rather use --version here, but apparently some GNU lds only accept -v.
   4245 case `$LD -v 2>&1 </dev/null` in
   4246 *GNU* | *'with BFD'*)
   4247   lt_cv_prog_gnu_ld=yes
   4248   ;;
   4249 *)
   4250   lt_cv_prog_gnu_ld=no
   4251   ;;
   4252 esac
   4253 fi
   4254 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
   4255 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
   4256 with_gnu_ld=$lt_cv_prog_gnu_ld
   4257 
   4258 
   4259 { $as_echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
   4260 $as_echo_n "checking for $LD option to reload object files... " >&6; }
   4261 if test "${lt_cv_ld_reload_flag+set}" = set; then
   4262   $as_echo_n "(cached) " >&6
   4263 else
   4264   lt_cv_ld_reload_flag='-r'
   4265 fi
   4266 { $as_echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
   4267 $as_echo "$lt_cv_ld_reload_flag" >&6; }
   4268 reload_flag=$lt_cv_ld_reload_flag
   4269 case $reload_flag in
   4270 "" | " "*) ;;
   4271 *) reload_flag=" $reload_flag" ;;
   4272 esac
   4273 reload_cmds='$LD$reload_flag -o $output$reload_objs'
   4274 case $host_os in
   4275   darwin*)
   4276     if test "$GCC" = yes; then
   4277       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
   4278     else
   4279       reload_cmds='$LD$reload_flag -o $output$reload_objs'
   4280     fi
   4281     ;;
   4282 esac
   4283 
   4284 { $as_echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
   4285 $as_echo_n "checking for BSD-compatible nm... " >&6; }
   4286 if test "${lt_cv_path_NM+set}" = set; then
   4287   $as_echo_n "(cached) " >&6
   4288 else
   4289   if test -n "$NM"; then
   4290   # Let the user override the test.
   4291   lt_cv_path_NM="$NM"
   4292 else
   4293   lt_nm_to_check="${ac_tool_prefix}nm"
   4294   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
   4295     lt_nm_to_check="$lt_nm_to_check nm"
   4296   fi
   4297   for lt_tmp_nm in $lt_nm_to_check; do
   4298     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   4299     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
   4300       IFS="$lt_save_ifs"
   4301       test -z "$ac_dir" && ac_dir=.
   4302       tmp_nm="$ac_dir/$lt_tmp_nm"
   4303       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
   4304 	# Check to see if the nm accepts a BSD-compat flag.
   4305 	# Adding the `sed 1q' prevents false positives on HP-UX, which says:
   4306 	#   nm: unknown option "B" ignored
   4307 	# Tru64's nm complains that /dev/null is an invalid object file
   4308 	case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
   4309 	*/dev/null* | *'Invalid file or object type'*)
   4310 	  lt_cv_path_NM="$tmp_nm -B"
   4311 	  break
   4312 	  ;;
   4313 	*)
   4314 	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
   4315 	  */dev/null*)
   4316 	    lt_cv_path_NM="$tmp_nm -p"
   4317 	    break
   4318 	    ;;
   4319 	  *)
   4320 	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
   4321 	    continue # so that we can try to find one that supports BSD flags
   4322 	    ;;
   4323 	  esac
   4324 	  ;;
   4325 	esac
   4326       fi
   4327     done
   4328     IFS="$lt_save_ifs"
   4329   done
   4330   test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
   4331 fi
   4332 fi
   4333 { $as_echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
   4334 $as_echo "$lt_cv_path_NM" >&6; }
   4335 NM="$lt_cv_path_NM"
   4336 
   4337 { $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5
   4338 $as_echo_n "checking whether ln -s works... " >&6; }
   4339 LN_S=$as_ln_s
   4340 if test "$LN_S" = "ln -s"; then
   4341   { $as_echo "$as_me:$LINENO: result: yes" >&5
   4342 $as_echo "yes" >&6; }
   4343 else
   4344   { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5
   4345 $as_echo "no, using $LN_S" >&6; }
   4346 fi
   4347 
   4348 { $as_echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
   4349 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
   4350 if test "${lt_cv_deplibs_check_method+set}" = set; then
   4351   $as_echo_n "(cached) " >&6
   4352 else
   4353   lt_cv_file_magic_cmd='$MAGIC_CMD'
   4354 lt_cv_file_magic_test_file=
   4355 lt_cv_deplibs_check_method='unknown'
   4356 # Need to set the preceding variable on all platforms that support
   4357 # interlibrary dependencies.
   4358 # 'none' -- dependencies not supported.
   4359 # `unknown' -- same as none, but documents that we really don't know.
   4360 # 'pass_all' -- all dependencies passed with no checks.
   4361 # 'test_compile' -- check by making test program.
   4362 # 'file_magic [[regex]]' -- check by looking for files in library path
   4363 # which responds to the $file_magic_cmd with a given extended regex.
   4364 # If you have `file' or equivalent on your system and you're not sure
   4365 # whether `pass_all' will *always* work, you probably want this one.
   4366 
   4367 case $host_os in
   4368 aix[4-9]*)
   4369   lt_cv_deplibs_check_method=pass_all
   4370   ;;
   4371 
   4372 beos*)
   4373   lt_cv_deplibs_check_method=pass_all
   4374   ;;
   4375 
   4376 bsdi[45]*)
   4377   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
   4378   lt_cv_file_magic_cmd='/usr/bin/file -L'
   4379   lt_cv_file_magic_test_file=/shlib/libc.so
   4380   ;;
   4381 
   4382 cygwin*)
   4383   # func_win32_libid is a shell function defined in ltmain.sh
   4384   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   4385   lt_cv_file_magic_cmd='func_win32_libid'
   4386   ;;
   4387 
   4388 mingw* | pw32*)
   4389   # Base MSYS/MinGW do not provide the 'file' command needed by
   4390   # func_win32_libid shell function, so use a weaker test based on 'objdump',
   4391   # unless we find 'file', for example because we are cross-compiling.
   4392   if ( file / ) >/dev/null 2>&1; then
   4393     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   4394     lt_cv_file_magic_cmd='func_win32_libid'
   4395   else
   4396     lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
   4397     lt_cv_file_magic_cmd='$OBJDUMP -f'
   4398   fi
   4399   ;;
   4400 
   4401 darwin* | rhapsody*)
   4402   lt_cv_deplibs_check_method=pass_all
   4403   ;;
   4404 
   4405 freebsd* | dragonfly*)
   4406   if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
   4407     case $host_cpu in
   4408     i*86 )
   4409       # Not sure whether the presence of OpenBSD here was a mistake.
   4410       # Let's accept both of them until this is cleared up.
   4411       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
   4412       lt_cv_file_magic_cmd=/usr/bin/file
   4413       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
   4414       ;;
   4415     esac
   4416   else
   4417     lt_cv_deplibs_check_method=pass_all
   4418   fi
   4419   ;;
   4420 
   4421 gnu*)
   4422   lt_cv_deplibs_check_method=pass_all
   4423   ;;
   4424 
   4425 hpux10.20* | hpux11*)
   4426   lt_cv_file_magic_cmd=/usr/bin/file
   4427   case $host_cpu in
   4428   ia64*)
   4429     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
   4430     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
   4431     ;;
   4432   hppa*64*)
   4433     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]'
   4434     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
   4435     ;;
   4436   *)
   4437     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
   4438     lt_cv_file_magic_test_file=/usr/lib/libc.sl
   4439     ;;
   4440   esac
   4441   ;;
   4442 
   4443 interix[3-9]*)
   4444   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
   4445   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
   4446   ;;
   4447 
   4448 irix5* | irix6* | nonstopux*)
   4449   case $LD in
   4450   *-32|*"-32 ") libmagic=32-bit;;
   4451   *-n32|*"-n32 ") libmagic=N32;;
   4452   *-64|*"-64 ") libmagic=64-bit;;
   4453   *) libmagic=never-match;;
   4454   esac
   4455   lt_cv_deplibs_check_method=pass_all
   4456   ;;
   4457 
   4458 # This must be Linux ELF.
   4459 linux* | k*bsd*-gnu)
   4460   lt_cv_deplibs_check_method=pass_all
   4461   ;;
   4462 
   4463 netbsd*)
   4464   if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
   4465     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   4466   else
   4467     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
   4468   fi
   4469   ;;
   4470 
   4471 newos6*)
   4472   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
   4473   lt_cv_file_magic_cmd=/usr/bin/file
   4474   lt_cv_file_magic_test_file=/usr/lib/libnls.so
   4475   ;;
   4476 
   4477 nto-qnx*)
   4478   lt_cv_deplibs_check_method=unknown
   4479   ;;
   4480 
   4481 openbsd*)
   4482   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   4483     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
   4484   else
   4485     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   4486   fi
   4487   ;;
   4488 
   4489 osf3* | osf4* | osf5*)
   4490   lt_cv_deplibs_check_method=pass_all
   4491   ;;
   4492 
   4493 rdos*)
   4494   lt_cv_deplibs_check_method=pass_all
   4495   ;;
   4496 
   4497 solaris*)
   4498   lt_cv_deplibs_check_method=pass_all
   4499   ;;
   4500 
   4501 sysv4 | sysv4.3*)
   4502   case $host_vendor in
   4503   motorola)
   4504     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]'
   4505     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
   4506     ;;
   4507   ncr)
   4508     lt_cv_deplibs_check_method=pass_all
   4509     ;;
   4510   sequent)
   4511     lt_cv_file_magic_cmd='/bin/file'
   4512     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
   4513     ;;
   4514   sni)
   4515     lt_cv_file_magic_cmd='/bin/file'
   4516     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
   4517     lt_cv_file_magic_test_file=/lib/libc.so
   4518     ;;
   4519   siemens)
   4520     lt_cv_deplibs_check_method=pass_all
   4521     ;;
   4522   pc)
   4523     lt_cv_deplibs_check_method=pass_all
   4524     ;;
   4525   esac
   4526   ;;
   4527 
   4528 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   4529   lt_cv_deplibs_check_method=pass_all
   4530   ;;
   4531 esac
   4532 
   4533 fi
   4534 { $as_echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
   4535 $as_echo "$lt_cv_deplibs_check_method" >&6; }
   4536 file_magic_cmd=$lt_cv_file_magic_cmd
   4537 deplibs_check_method=$lt_cv_deplibs_check_method
   4538 test -z "$deplibs_check_method" && deplibs_check_method=unknown
   4539 
   4540 
   4541 
   4542 
   4543 # If no C compiler was specified, use CC.
   4544 LTCC=${LTCC-"$CC"}
   4545 
   4546 # If no C compiler flags were specified, use CFLAGS.
   4547 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   4548 
   4549 # Allow CC to be a program name with arguments.
   4550 compiler=$CC
   4551 
   4552 
   4553 # Check whether --enable-libtool-lock was given.
   4554 if test "${enable_libtool_lock+set}" = set; then
   4555   enableval=$enable_libtool_lock;
   4556 fi
   4557 
   4558 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
   4559 
   4560 # Some flags need to be propagated to the compiler or linker for good
   4561 # libtool support.
   4562 case $host in
   4563 ia64-*-hpux*)
   4564   # Find out which ABI we are using.
   4565   echo 'int i;' > conftest.$ac_ext
   4566   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   4567   (eval $ac_compile) 2>&5
   4568   ac_status=$?
   4569   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4570   (exit $ac_status); }; then
   4571     case `/usr/bin/file conftest.$ac_objext` in
   4572     *ELF-32*)
   4573       HPUX_IA64_MODE="32"
   4574       ;;
   4575     *ELF-64*)
   4576       HPUX_IA64_MODE="64"
   4577       ;;
   4578     esac
   4579   fi
   4580   rm -rf conftest*
   4581   ;;
   4582 *-*-irix6*)
   4583   # Find out which ABI we are using.
   4584   echo '#line 4584 "configure"' > conftest.$ac_ext
   4585   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   4586   (eval $ac_compile) 2>&5
   4587   ac_status=$?
   4588   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4589   (exit $ac_status); }; then
   4590    if test "$lt_cv_prog_gnu_ld" = yes; then
   4591     case `/usr/bin/file conftest.$ac_objext` in
   4592     *32-bit*)
   4593       LD="${LD-ld} -melf32bsmip"
   4594       ;;
   4595     *N32*)
   4596       LD="${LD-ld} -melf32bmipn32"
   4597       ;;
   4598     *64-bit*)
   4599       LD="${LD-ld} -melf64bmip"
   4600       ;;
   4601     esac
   4602    else
   4603     case `/usr/bin/file conftest.$ac_objext` in
   4604     *32-bit*)
   4605       LD="${LD-ld} -32"
   4606       ;;
   4607     *N32*)
   4608       LD="${LD-ld} -n32"
   4609       ;;
   4610     *64-bit*)
   4611       LD="${LD-ld} -64"
   4612       ;;
   4613     esac
   4614    fi
   4615   fi
   4616   rm -rf conftest*
   4617   ;;
   4618 
   4619 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
   4620 s390*-*linux*|sparc*-*linux*)
   4621   # Find out which ABI we are using.
   4622   echo 'int i;' > conftest.$ac_ext
   4623   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   4624   (eval $ac_compile) 2>&5
   4625   ac_status=$?
   4626   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4627   (exit $ac_status); }; then
   4628     case `/usr/bin/file conftest.o` in
   4629     *32-bit*)
   4630       case $host in
   4631         x86_64-*kfreebsd*-gnu)
   4632           LD="${LD-ld} -m elf_i386_fbsd"
   4633           ;;
   4634         x86_64-*linux*)
   4635           LD="${LD-ld} -m elf_i386"
   4636           ;;
   4637         ppc64-*linux*|powerpc64-*linux*)
   4638           LD="${LD-ld} -m elf32ppclinux"
   4639           ;;
   4640         s390x-*linux*)
   4641           LD="${LD-ld} -m elf_s390"
   4642           ;;
   4643         sparc64-*linux*)
   4644           LD="${LD-ld} -m elf32_sparc"
   4645           ;;
   4646       esac
   4647       ;;
   4648     *64-bit*)
   4649       case $host in
   4650         x86_64-*kfreebsd*-gnu)
   4651           LD="${LD-ld} -m elf_x86_64_fbsd"
   4652           ;;
   4653         x86_64-*linux*)
   4654           LD="${LD-ld} -m elf_x86_64"
   4655           ;;
   4656         ppc*-*linux*|powerpc*-*linux*)
   4657           LD="${LD-ld} -m elf64ppc"
   4658           ;;
   4659         s390*-*linux*)
   4660           LD="${LD-ld} -m elf64_s390"
   4661           ;;
   4662         sparc*-*linux*)
   4663           LD="${LD-ld} -m elf64_sparc"
   4664           ;;
   4665       esac
   4666       ;;
   4667     esac
   4668   fi
   4669   rm -rf conftest*
   4670   ;;
   4671 
   4672 *-*-sco3.2v5*)
   4673   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
   4674   SAVE_CFLAGS="$CFLAGS"
   4675   CFLAGS="$CFLAGS -belf"
   4676   { $as_echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
   4677 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
   4678 if test "${lt_cv_cc_needs_belf+set}" = set; then
   4679   $as_echo_n "(cached) " >&6
   4680 else
   4681   ac_ext=c
   4682 ac_cpp='$CPP $CPPFLAGS'
   4683 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4684 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4685 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4686 
   4687      cat >conftest.$ac_ext <<_ACEOF
   4688 /* confdefs.h.  */
   4689 _ACEOF
   4690 cat confdefs.h >>conftest.$ac_ext
   4691 cat >>conftest.$ac_ext <<_ACEOF
   4692 /* end confdefs.h.  */
   4693 
   4694 int
   4695 main ()
   4696 {
   4697 
   4698   ;
   4699   return 0;
   4700 }
   4701 _ACEOF
   4702 rm -f conftest.$ac_objext conftest$ac_exeext
   4703 if { (ac_try="$ac_link"
   4704 case "(($ac_try" in
   4705   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4706   *) ac_try_echo=$ac_try;;
   4707 esac
   4708 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   4709 $as_echo "$ac_try_echo") >&5
   4710   (eval "$ac_link") 2>conftest.er1
   4711   ac_status=$?
   4712   grep -v '^ *+' conftest.er1 >conftest.err
   4713   rm -f conftest.er1
   4714   cat conftest.err >&5
   4715   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4716   (exit $ac_status); } && {
   4717 	 test -z "$ac_c_werror_flag" ||
   4718 	 test ! -s conftest.err
   4719        } && test -s conftest$ac_exeext && {
   4720 	 test "$cross_compiling" = yes ||
   4721 	 $as_test_x conftest$ac_exeext
   4722        }; then
   4723   lt_cv_cc_needs_belf=yes
   4724 else
   4725   $as_echo "$as_me: failed program was:" >&5
   4726 sed 's/^/| /' conftest.$ac_ext >&5
   4727 
   4728 	lt_cv_cc_needs_belf=no
   4729 fi
   4730 
   4731 rm -rf conftest.dSYM
   4732 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   4733       conftest$ac_exeext conftest.$ac_ext
   4734      ac_ext=c
   4735 ac_cpp='$CPP $CPPFLAGS'
   4736 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4737 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4738 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4739 
   4740 fi
   4741 { $as_echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
   4742 $as_echo "$lt_cv_cc_needs_belf" >&6; }
   4743   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
   4744     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
   4745     CFLAGS="$SAVE_CFLAGS"
   4746   fi
   4747   ;;
   4748 sparc*-*solaris*)
   4749   # Find out which ABI we are using.
   4750   echo 'int i;' > conftest.$ac_ext
   4751   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   4752   (eval $ac_compile) 2>&5
   4753   ac_status=$?
   4754   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4755   (exit $ac_status); }; then
   4756     case `/usr/bin/file conftest.o` in
   4757     *64-bit*)
   4758       case $lt_cv_prog_gnu_ld in
   4759       yes*) LD="${LD-ld} -m elf64_sparc" ;;
   4760       *)
   4761         if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
   4762 	  LD="${LD-ld} -64"
   4763 	fi
   4764 	;;
   4765       esac
   4766       ;;
   4767     esac
   4768   fi
   4769   rm -rf conftest*
   4770   ;;
   4771 
   4772 
   4773 esac
   4774 
   4775 need_locks="$enable_libtool_lock"
   4776 
   4777 
   4778 ac_ext=c
   4779 ac_cpp='$CPP $CPPFLAGS'
   4780 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4781 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4782 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4783 { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
   4784 $as_echo_n "checking how to run the C preprocessor... " >&6; }
   4785 # On Suns, sometimes $CPP names a directory.
   4786 if test -n "$CPP" && test -d "$CPP"; then
   4787   CPP=
   4788 fi
   4789 if test -z "$CPP"; then
   4790   if test "${ac_cv_prog_CPP+set}" = set; then
   4791   $as_echo_n "(cached) " >&6
   4792 else
   4793       # Double quotes because CPP needs to be expanded
   4794     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
   4795     do
   4796       ac_preproc_ok=false
   4797 for ac_c_preproc_warn_flag in '' yes
   4798 do
   4799   # Use a header file that comes with gcc, so configuring glibc
   4800   # with a fresh cross-compiler works.
   4801   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   4802   # <limits.h> exists even on freestanding compilers.
   4803   # On the NeXT, cc -E runs the code through the compiler's parser,
   4804   # not just through cpp. "Syntax error" is here to catch this case.
   4805   cat >conftest.$ac_ext <<_ACEOF
   4806 /* confdefs.h.  */
   4807 _ACEOF
   4808 cat confdefs.h >>conftest.$ac_ext
   4809 cat >>conftest.$ac_ext <<_ACEOF
   4810 /* end confdefs.h.  */
   4811 #ifdef __STDC__
   4812 # include <limits.h>
   4813 #else
   4814 # include <assert.h>
   4815 #endif
   4816 		     Syntax error
   4817 _ACEOF
   4818 if { (ac_try="$ac_cpp conftest.$ac_ext"
   4819 case "(($ac_try" in
   4820   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4821   *) ac_try_echo=$ac_try;;
   4822 esac
   4823 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   4824 $as_echo "$ac_try_echo") >&5
   4825   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   4826   ac_status=$?
   4827   grep -v '^ *+' conftest.er1 >conftest.err
   4828   rm -f conftest.er1
   4829   cat conftest.err >&5
   4830   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4831   (exit $ac_status); } >/dev/null && {
   4832 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   4833 	 test ! -s conftest.err
   4834        }; then
   4835   :
   4836 else
   4837   $as_echo "$as_me: failed program was:" >&5
   4838 sed 's/^/| /' conftest.$ac_ext >&5
   4839 
   4840   # Broken: fails on valid input.
   4841 continue
   4842 fi
   4843 
   4844 rm -f conftest.err conftest.$ac_ext
   4845 
   4846   # OK, works on sane cases.  Now check whether nonexistent headers
   4847   # can be detected and how.
   4848   cat >conftest.$ac_ext <<_ACEOF
   4849 /* confdefs.h.  */
   4850 _ACEOF
   4851 cat confdefs.h >>conftest.$ac_ext
   4852 cat >>conftest.$ac_ext <<_ACEOF
   4853 /* end confdefs.h.  */
   4854 #include <ac_nonexistent.h>
   4855 _ACEOF
   4856 if { (ac_try="$ac_cpp conftest.$ac_ext"
   4857 case "(($ac_try" in
   4858   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4859   *) ac_try_echo=$ac_try;;
   4860 esac
   4861 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   4862 $as_echo "$ac_try_echo") >&5
   4863   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   4864   ac_status=$?
   4865   grep -v '^ *+' conftest.er1 >conftest.err
   4866   rm -f conftest.er1
   4867   cat conftest.err >&5
   4868   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4869   (exit $ac_status); } >/dev/null && {
   4870 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   4871 	 test ! -s conftest.err
   4872        }; then
   4873   # Broken: success on invalid input.
   4874 continue
   4875 else
   4876   $as_echo "$as_me: failed program was:" >&5
   4877 sed 's/^/| /' conftest.$ac_ext >&5
   4878 
   4879   # Passes both tests.
   4880 ac_preproc_ok=:
   4881 break
   4882 fi
   4883 
   4884 rm -f conftest.err conftest.$ac_ext
   4885 
   4886 done
   4887 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   4888 rm -f conftest.err conftest.$ac_ext
   4889 if $ac_preproc_ok; then
   4890   break
   4891 fi
   4892 
   4893     done
   4894     ac_cv_prog_CPP=$CPP
   4895 
   4896 fi
   4897   CPP=$ac_cv_prog_CPP
   4898 else
   4899   ac_cv_prog_CPP=$CPP
   4900 fi
   4901 { $as_echo "$as_me:$LINENO: result: $CPP" >&5
   4902 $as_echo "$CPP" >&6; }
   4903 ac_preproc_ok=false
   4904 for ac_c_preproc_warn_flag in '' yes
   4905 do
   4906   # Use a header file that comes with gcc, so configuring glibc
   4907   # with a fresh cross-compiler works.
   4908   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   4909   # <limits.h> exists even on freestanding compilers.
   4910   # On the NeXT, cc -E runs the code through the compiler's parser,
   4911   # not just through cpp. "Syntax error" is here to catch this case.
   4912   cat >conftest.$ac_ext <<_ACEOF
   4913 /* confdefs.h.  */
   4914 _ACEOF
   4915 cat confdefs.h >>conftest.$ac_ext
   4916 cat >>conftest.$ac_ext <<_ACEOF
   4917 /* end confdefs.h.  */
   4918 #ifdef __STDC__
   4919 # include <limits.h>
   4920 #else
   4921 # include <assert.h>
   4922 #endif
   4923 		     Syntax error
   4924 _ACEOF
   4925 if { (ac_try="$ac_cpp conftest.$ac_ext"
   4926 case "(($ac_try" in
   4927   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4928   *) ac_try_echo=$ac_try;;
   4929 esac
   4930 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   4931 $as_echo "$ac_try_echo") >&5
   4932   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   4933   ac_status=$?
   4934   grep -v '^ *+' conftest.er1 >conftest.err
   4935   rm -f conftest.er1
   4936   cat conftest.err >&5
   4937   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4938   (exit $ac_status); } >/dev/null && {
   4939 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   4940 	 test ! -s conftest.err
   4941        }; then
   4942   :
   4943 else
   4944   $as_echo "$as_me: failed program was:" >&5
   4945 sed 's/^/| /' conftest.$ac_ext >&5
   4946 
   4947   # Broken: fails on valid input.
   4948 continue
   4949 fi
   4950 
   4951 rm -f conftest.err conftest.$ac_ext
   4952 
   4953   # OK, works on sane cases.  Now check whether nonexistent headers
   4954   # can be detected and how.
   4955   cat >conftest.$ac_ext <<_ACEOF
   4956 /* confdefs.h.  */
   4957 _ACEOF
   4958 cat confdefs.h >>conftest.$ac_ext
   4959 cat >>conftest.$ac_ext <<_ACEOF
   4960 /* end confdefs.h.  */
   4961 #include <ac_nonexistent.h>
   4962 _ACEOF
   4963 if { (ac_try="$ac_cpp conftest.$ac_ext"
   4964 case "(($ac_try" in
   4965   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4966   *) ac_try_echo=$ac_try;;
   4967 esac
   4968 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   4969 $as_echo "$ac_try_echo") >&5
   4970   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   4971   ac_status=$?
   4972   grep -v '^ *+' conftest.er1 >conftest.err
   4973   rm -f conftest.er1
   4974   cat conftest.err >&5
   4975   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4976   (exit $ac_status); } >/dev/null && {
   4977 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   4978 	 test ! -s conftest.err
   4979        }; then
   4980   # Broken: success on invalid input.
   4981 continue
   4982 else
   4983   $as_echo "$as_me: failed program was:" >&5
   4984 sed 's/^/| /' conftest.$ac_ext >&5
   4985 
   4986   # Passes both tests.
   4987 ac_preproc_ok=:
   4988 break
   4989 fi
   4990 
   4991 rm -f conftest.err conftest.$ac_ext
   4992 
   4993 done
   4994 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   4995 rm -f conftest.err conftest.$ac_ext
   4996 if $ac_preproc_ok; then
   4997   :
   4998 else
   4999   { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   5000 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   5001 { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
   5002 See \`config.log' for more details." >&5
   5003 $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
   5004 See \`config.log' for more details." >&2;}
   5005    { (exit 1); exit 1; }; }; }
   5006 fi
   5007 
   5008 ac_ext=c
   5009 ac_cpp='$CPP $CPPFLAGS'
   5010 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5011 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5012 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   5013 
   5014 
   5015 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
   5016 $as_echo_n "checking for ANSI C header files... " >&6; }
   5017 if test "${ac_cv_header_stdc+set}" = set; then
   5018   $as_echo_n "(cached) " >&6
   5019 else
   5020   cat >conftest.$ac_ext <<_ACEOF
   5021 /* confdefs.h.  */
   5022 _ACEOF
   5023 cat confdefs.h >>conftest.$ac_ext
   5024 cat >>conftest.$ac_ext <<_ACEOF
   5025 /* end confdefs.h.  */
   5026 #include <stdlib.h>
   5027 #include <stdarg.h>
   5028 #include <string.h>
   5029 #include <float.h>
   5030 
   5031 int
   5032 main ()
   5033 {
   5034 
   5035   ;
   5036   return 0;
   5037 }
   5038 _ACEOF
   5039 rm -f conftest.$ac_objext
   5040 if { (ac_try="$ac_compile"
   5041 case "(($ac_try" in
   5042   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5043   *) ac_try_echo=$ac_try;;
   5044 esac
   5045 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5046 $as_echo "$ac_try_echo") >&5
   5047   (eval "$ac_compile") 2>conftest.er1
   5048   ac_status=$?
   5049   grep -v '^ *+' conftest.er1 >conftest.err
   5050   rm -f conftest.er1
   5051   cat conftest.err >&5
   5052   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5053   (exit $ac_status); } && {
   5054 	 test -z "$ac_c_werror_flag" ||
   5055 	 test ! -s conftest.err
   5056        } && test -s conftest.$ac_objext; then
   5057   ac_cv_header_stdc=yes
   5058 else
   5059   $as_echo "$as_me: failed program was:" >&5
   5060 sed 's/^/| /' conftest.$ac_ext >&5
   5061 
   5062 	ac_cv_header_stdc=no
   5063 fi
   5064 
   5065 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5066 
   5067 if test $ac_cv_header_stdc = yes; then
   5068   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   5069   cat >conftest.$ac_ext <<_ACEOF
   5070 /* confdefs.h.  */
   5071 _ACEOF
   5072 cat confdefs.h >>conftest.$ac_ext
   5073 cat >>conftest.$ac_ext <<_ACEOF
   5074 /* end confdefs.h.  */
   5075 #include <string.h>
   5076 
   5077 _ACEOF
   5078 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   5079   $EGREP "memchr" >/dev/null 2>&1; then
   5080   :
   5081 else
   5082   ac_cv_header_stdc=no
   5083 fi
   5084 rm -f conftest*
   5085 
   5086 fi
   5087 
   5088 if test $ac_cv_header_stdc = yes; then
   5089   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   5090   cat >conftest.$ac_ext <<_ACEOF
   5091 /* confdefs.h.  */
   5092 _ACEOF
   5093 cat confdefs.h >>conftest.$ac_ext
   5094 cat >>conftest.$ac_ext <<_ACEOF
   5095 /* end confdefs.h.  */
   5096 #include <stdlib.h>
   5097 
   5098 _ACEOF
   5099 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   5100   $EGREP "free" >/dev/null 2>&1; then
   5101   :
   5102 else
   5103   ac_cv_header_stdc=no
   5104 fi
   5105 rm -f conftest*
   5106 
   5107 fi
   5108 
   5109 if test $ac_cv_header_stdc = yes; then
   5110   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   5111   if test "$cross_compiling" = yes; then
   5112   :
   5113 else
   5114   cat >conftest.$ac_ext <<_ACEOF
   5115 /* confdefs.h.  */
   5116 _ACEOF
   5117 cat confdefs.h >>conftest.$ac_ext
   5118 cat >>conftest.$ac_ext <<_ACEOF
   5119 /* end confdefs.h.  */
   5120 #include <ctype.h>
   5121 #include <stdlib.h>
   5122 #if ((' ' & 0x0FF) == 0x020)
   5123 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   5124 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   5125 #else
   5126 # define ISLOWER(c) \
   5127 		   (('a' <= (c) && (c) <= 'i') \
   5128 		     || ('j' <= (c) && (c) <= 'r') \
   5129 		     || ('s' <= (c) && (c) <= 'z'))
   5130 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   5131 #endif
   5132 
   5133 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   5134 int
   5135 main ()
   5136 {
   5137   int i;
   5138   for (i = 0; i < 256; i++)
   5139     if (XOR (islower (i), ISLOWER (i))
   5140 	|| toupper (i) != TOUPPER (i))
   5141       return 2;
   5142   return 0;
   5143 }
   5144 _ACEOF
   5145 rm -f conftest$ac_exeext
   5146 if { (ac_try="$ac_link"
   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_link") 2>&5
   5154   ac_status=$?
   5155   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5156   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
   5157   { (case "(($ac_try" in
   5158   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5159   *) ac_try_echo=$ac_try;;
   5160 esac
   5161 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5162 $as_echo "$ac_try_echo") >&5
   5163   (eval "$ac_try") 2>&5
   5164   ac_status=$?
   5165   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5166   (exit $ac_status); }; }; then
   5167   :
   5168 else
   5169   $as_echo "$as_me: program exited with status $ac_status" >&5
   5170 $as_echo "$as_me: failed program was:" >&5
   5171 sed 's/^/| /' conftest.$ac_ext >&5
   5172 
   5173 ( exit $ac_status )
   5174 ac_cv_header_stdc=no
   5175 fi
   5176 rm -rf conftest.dSYM
   5177 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
   5178 fi
   5179 
   5180 
   5181 fi
   5182 fi
   5183 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
   5184 $as_echo "$ac_cv_header_stdc" >&6; }
   5185 if test $ac_cv_header_stdc = yes; then
   5186 
   5187 cat >>confdefs.h <<\_ACEOF
   5188 #define STDC_HEADERS 1
   5189 _ACEOF
   5190 
   5191 fi
   5192 
   5193 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
   5194 
   5195 
   5196 
   5197 
   5198 
   5199 
   5200 
   5201 
   5202 
   5203 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
   5204 		  inttypes.h stdint.h unistd.h
   5205 do
   5206 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   5207 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
   5208 $as_echo_n "checking for $ac_header... " >&6; }
   5209 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   5210   $as_echo_n "(cached) " >&6
   5211 else
   5212   cat >conftest.$ac_ext <<_ACEOF
   5213 /* confdefs.h.  */
   5214 _ACEOF
   5215 cat confdefs.h >>conftest.$ac_ext
   5216 cat >>conftest.$ac_ext <<_ACEOF
   5217 /* end confdefs.h.  */
   5218 $ac_includes_default
   5219 
   5220 #include <$ac_header>
   5221 _ACEOF
   5222 rm -f conftest.$ac_objext
   5223 if { (ac_try="$ac_compile"
   5224 case "(($ac_try" in
   5225   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5226   *) ac_try_echo=$ac_try;;
   5227 esac
   5228 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5229 $as_echo "$ac_try_echo") >&5
   5230   (eval "$ac_compile") 2>conftest.er1
   5231   ac_status=$?
   5232   grep -v '^ *+' conftest.er1 >conftest.err
   5233   rm -f conftest.er1
   5234   cat conftest.err >&5
   5235   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5236   (exit $ac_status); } && {
   5237 	 test -z "$ac_c_werror_flag" ||
   5238 	 test ! -s conftest.err
   5239        } && test -s conftest.$ac_objext; then
   5240   eval "$as_ac_Header=yes"
   5241 else
   5242   $as_echo "$as_me: failed program was:" >&5
   5243 sed 's/^/| /' conftest.$ac_ext >&5
   5244 
   5245 	eval "$as_ac_Header=no"
   5246 fi
   5247 
   5248 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5249 fi
   5250 ac_res=`eval 'as_val=${'$as_ac_Header'}
   5251 		 $as_echo "$as_val"'`
   5252 	       { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
   5253 $as_echo "$ac_res" >&6; }
   5254 as_val=`eval 'as_val=${'$as_ac_Header'}
   5255 		 $as_echo "$as_val"'`
   5256    if test "x$as_val" = x""yes; then
   5257   cat >>confdefs.h <<_ACEOF
   5258 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   5259 _ACEOF
   5260 
   5261 fi
   5262 
   5263 done
   5264 
   5265 
   5266 
   5267 for ac_header in dlfcn.h
   5268 do
   5269 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   5270 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   5271   { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
   5272 $as_echo_n "checking for $ac_header... " >&6; }
   5273 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   5274   $as_echo_n "(cached) " >&6
   5275 fi
   5276 ac_res=`eval 'as_val=${'$as_ac_Header'}
   5277 		 $as_echo "$as_val"'`
   5278 	       { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
   5279 $as_echo "$ac_res" >&6; }
   5280 else
   5281   # Is the header compilable?
   5282 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
   5283 $as_echo_n "checking $ac_header usability... " >&6; }
   5284 cat >conftest.$ac_ext <<_ACEOF
   5285 /* confdefs.h.  */
   5286 _ACEOF
   5287 cat confdefs.h >>conftest.$ac_ext
   5288 cat >>conftest.$ac_ext <<_ACEOF
   5289 /* end confdefs.h.  */
   5290 $ac_includes_default
   5291 #include <$ac_header>
   5292 _ACEOF
   5293 rm -f conftest.$ac_objext
   5294 if { (ac_try="$ac_compile"
   5295 case "(($ac_try" in
   5296   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5297   *) ac_try_echo=$ac_try;;
   5298 esac
   5299 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5300 $as_echo "$ac_try_echo") >&5
   5301   (eval "$ac_compile") 2>conftest.er1
   5302   ac_status=$?
   5303   grep -v '^ *+' conftest.er1 >conftest.err
   5304   rm -f conftest.er1
   5305   cat conftest.err >&5
   5306   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5307   (exit $ac_status); } && {
   5308 	 test -z "$ac_c_werror_flag" ||
   5309 	 test ! -s conftest.err
   5310        } && test -s conftest.$ac_objext; then
   5311   ac_header_compiler=yes
   5312 else
   5313   $as_echo "$as_me: failed program was:" >&5
   5314 sed 's/^/| /' conftest.$ac_ext >&5
   5315 
   5316 	ac_header_compiler=no
   5317 fi
   5318 
   5319 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5320 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
   5321 $as_echo "$ac_header_compiler" >&6; }
   5322 
   5323 # Is the header present?
   5324 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
   5325 $as_echo_n "checking $ac_header presence... " >&6; }
   5326 cat >conftest.$ac_ext <<_ACEOF
   5327 /* confdefs.h.  */
   5328 _ACEOF
   5329 cat confdefs.h >>conftest.$ac_ext
   5330 cat >>conftest.$ac_ext <<_ACEOF
   5331 /* end confdefs.h.  */
   5332 #include <$ac_header>
   5333 _ACEOF
   5334 if { (ac_try="$ac_cpp conftest.$ac_ext"
   5335 case "(($ac_try" in
   5336   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5337   *) ac_try_echo=$ac_try;;
   5338 esac
   5339 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5340 $as_echo "$ac_try_echo") >&5
   5341   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   5342   ac_status=$?
   5343   grep -v '^ *+' conftest.er1 >conftest.err
   5344   rm -f conftest.er1
   5345   cat conftest.err >&5
   5346   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5347   (exit $ac_status); } >/dev/null && {
   5348 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   5349 	 test ! -s conftest.err
   5350        }; then
   5351   ac_header_preproc=yes
   5352 else
   5353   $as_echo "$as_me: failed program was:" >&5
   5354 sed 's/^/| /' conftest.$ac_ext >&5
   5355 
   5356   ac_header_preproc=no
   5357 fi
   5358 
   5359 rm -f conftest.err conftest.$ac_ext
   5360 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
   5361 $as_echo "$ac_header_preproc" >&6; }
   5362 
   5363 # So?  What about this header?
   5364 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
   5365   yes:no: )
   5366     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
   5367 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
   5368     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
   5369 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
   5370     ac_header_preproc=yes
   5371     ;;
   5372   no:yes:* )
   5373     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
   5374 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
   5375     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
   5376 $as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
   5377     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
   5378 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
   5379     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
   5380 $as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
   5381     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
   5382 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
   5383     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
   5384 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
   5385     ( cat <<\_ASBOX
   5386 ## ---------------------------------------------------------------------- ##
   5387 ## Report this to https://bugs.freedesktop.org/enter_bug.cgi?product=xorg ##
   5388 ## ---------------------------------------------------------------------- ##
   5389 _ASBOX
   5390      ) | sed "s/^/$as_me: WARNING:     /" >&2
   5391     ;;
   5392 esac
   5393 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
   5394 $as_echo_n "checking for $ac_header... " >&6; }
   5395 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   5396   $as_echo_n "(cached) " >&6
   5397 else
   5398   eval "$as_ac_Header=\$ac_header_preproc"
   5399 fi
   5400 ac_res=`eval 'as_val=${'$as_ac_Header'}
   5401 		 $as_echo "$as_val"'`
   5402 	       { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
   5403 $as_echo "$ac_res" >&6; }
   5404 
   5405 fi
   5406 as_val=`eval 'as_val=${'$as_ac_Header'}
   5407 		 $as_echo "$as_val"'`
   5408    if test "x$as_val" = x""yes; then
   5409   cat >>confdefs.h <<_ACEOF
   5410 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   5411 _ACEOF
   5412 
   5413 fi
   5414 
   5415 done
   5416 
   5417 ac_ext=cpp
   5418 ac_cpp='$CXXCPP $CPPFLAGS'
   5419 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5420 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5421 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   5422 if test -z "$CXX"; then
   5423   if test -n "$CCC"; then
   5424     CXX=$CCC
   5425   else
   5426     if test -n "$ac_tool_prefix"; then
   5427   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
   5428   do
   5429     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   5430 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   5431 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   5432 $as_echo_n "checking for $ac_word... " >&6; }
   5433 if test "${ac_cv_prog_CXX+set}" = set; then
   5434   $as_echo_n "(cached) " >&6
   5435 else
   5436   if test -n "$CXX"; then
   5437   ac_cv_prog_CXX="$CXX" # Let the user override the test.
   5438 else
   5439 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5440 for as_dir in $PATH
   5441 do
   5442   IFS=$as_save_IFS
   5443   test -z "$as_dir" && as_dir=.
   5444   for ac_exec_ext in '' $ac_executable_extensions; do
   5445   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5446     ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
   5447     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   5448     break 2
   5449   fi
   5450 done
   5451 done
   5452 IFS=$as_save_IFS
   5453 
   5454 fi
   5455 fi
   5456 CXX=$ac_cv_prog_CXX
   5457 if test -n "$CXX"; then
   5458   { $as_echo "$as_me:$LINENO: result: $CXX" >&5
   5459 $as_echo "$CXX" >&6; }
   5460 else
   5461   { $as_echo "$as_me:$LINENO: result: no" >&5
   5462 $as_echo "no" >&6; }
   5463 fi
   5464 
   5465 
   5466     test -n "$CXX" && break
   5467   done
   5468 fi
   5469 if test -z "$CXX"; then
   5470   ac_ct_CXX=$CXX
   5471   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
   5472 do
   5473   # Extract the first word of "$ac_prog", so it can be a program name with args.
   5474 set dummy $ac_prog; ac_word=$2
   5475 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   5476 $as_echo_n "checking for $ac_word... " >&6; }
   5477 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
   5478   $as_echo_n "(cached) " >&6
   5479 else
   5480   if test -n "$ac_ct_CXX"; then
   5481   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
   5482 else
   5483 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5484 for as_dir in $PATH
   5485 do
   5486   IFS=$as_save_IFS
   5487   test -z "$as_dir" && as_dir=.
   5488   for ac_exec_ext in '' $ac_executable_extensions; do
   5489   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5490     ac_cv_prog_ac_ct_CXX="$ac_prog"
   5491     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   5492     break 2
   5493   fi
   5494 done
   5495 done
   5496 IFS=$as_save_IFS
   5497 
   5498 fi
   5499 fi
   5500 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
   5501 if test -n "$ac_ct_CXX"; then
   5502   { $as_echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
   5503 $as_echo "$ac_ct_CXX" >&6; }
   5504 else
   5505   { $as_echo "$as_me:$LINENO: result: no" >&5
   5506 $as_echo "no" >&6; }
   5507 fi
   5508 
   5509 
   5510   test -n "$ac_ct_CXX" && break
   5511 done
   5512 
   5513   if test "x$ac_ct_CXX" = x; then
   5514     CXX="g++"
   5515   else
   5516     case $cross_compiling:$ac_tool_warned in
   5517 yes:)
   5518 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   5519 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5520 ac_tool_warned=yes ;;
   5521 esac
   5522     CXX=$ac_ct_CXX
   5523   fi
   5524 fi
   5525 
   5526   fi
   5527 fi
   5528 # Provide some information about the compiler.
   5529 $as_echo "$as_me:$LINENO: checking for C++ compiler version" >&5
   5530 set X $ac_compile
   5531 ac_compiler=$2
   5532 { (ac_try="$ac_compiler --version >&5"
   5533 case "(($ac_try" in
   5534   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5535   *) ac_try_echo=$ac_try;;
   5536 esac
   5537 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5538 $as_echo "$ac_try_echo") >&5
   5539   (eval "$ac_compiler --version >&5") 2>&5
   5540   ac_status=$?
   5541   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5542   (exit $ac_status); }
   5543 { (ac_try="$ac_compiler -v >&5"
   5544 case "(($ac_try" in
   5545   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5546   *) ac_try_echo=$ac_try;;
   5547 esac
   5548 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5549 $as_echo "$ac_try_echo") >&5
   5550   (eval "$ac_compiler -v >&5") 2>&5
   5551   ac_status=$?
   5552   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5553   (exit $ac_status); }
   5554 { (ac_try="$ac_compiler -V >&5"
   5555 case "(($ac_try" in
   5556   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5557   *) ac_try_echo=$ac_try;;
   5558 esac
   5559 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5560 $as_echo "$ac_try_echo") >&5
   5561   (eval "$ac_compiler -V >&5") 2>&5
   5562   ac_status=$?
   5563   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5564   (exit $ac_status); }
   5565 
   5566 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
   5567 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
   5568 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
   5569   $as_echo_n "(cached) " >&6
   5570 else
   5571   cat >conftest.$ac_ext <<_ACEOF
   5572 /* confdefs.h.  */
   5573 _ACEOF
   5574 cat confdefs.h >>conftest.$ac_ext
   5575 cat >>conftest.$ac_ext <<_ACEOF
   5576 /* end confdefs.h.  */
   5577 
   5578 int
   5579 main ()
   5580 {
   5581 #ifndef __GNUC__
   5582        choke me
   5583 #endif
   5584 
   5585   ;
   5586   return 0;
   5587 }
   5588 _ACEOF
   5589 rm -f conftest.$ac_objext
   5590 if { (ac_try="$ac_compile"
   5591 case "(($ac_try" in
   5592   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5593   *) ac_try_echo=$ac_try;;
   5594 esac
   5595 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5596 $as_echo "$ac_try_echo") >&5
   5597   (eval "$ac_compile") 2>conftest.er1
   5598   ac_status=$?
   5599   grep -v '^ *+' conftest.er1 >conftest.err
   5600   rm -f conftest.er1
   5601   cat conftest.err >&5
   5602   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5603   (exit $ac_status); } && {
   5604 	 test -z "$ac_cxx_werror_flag" ||
   5605 	 test ! -s conftest.err
   5606        } && test -s conftest.$ac_objext; then
   5607   ac_compiler_gnu=yes
   5608 else
   5609   $as_echo "$as_me: failed program was:" >&5
   5610 sed 's/^/| /' conftest.$ac_ext >&5
   5611 
   5612 	ac_compiler_gnu=no
   5613 fi
   5614 
   5615 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5616 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
   5617 
   5618 fi
   5619 { $as_echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
   5620 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
   5621 if test $ac_compiler_gnu = yes; then
   5622   GXX=yes
   5623 else
   5624   GXX=
   5625 fi
   5626 ac_test_CXXFLAGS=${CXXFLAGS+set}
   5627 ac_save_CXXFLAGS=$CXXFLAGS
   5628 { $as_echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
   5629 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
   5630 if test "${ac_cv_prog_cxx_g+set}" = set; then
   5631   $as_echo_n "(cached) " >&6
   5632 else
   5633   ac_save_cxx_werror_flag=$ac_cxx_werror_flag
   5634    ac_cxx_werror_flag=yes
   5635    ac_cv_prog_cxx_g=no
   5636    CXXFLAGS="-g"
   5637    cat >conftest.$ac_ext <<_ACEOF
   5638 /* confdefs.h.  */
   5639 _ACEOF
   5640 cat confdefs.h >>conftest.$ac_ext
   5641 cat >>conftest.$ac_ext <<_ACEOF
   5642 /* end confdefs.h.  */
   5643 
   5644 int
   5645 main ()
   5646 {
   5647 
   5648   ;
   5649   return 0;
   5650 }
   5651 _ACEOF
   5652 rm -f conftest.$ac_objext
   5653 if { (ac_try="$ac_compile"
   5654 case "(($ac_try" in
   5655   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5656   *) ac_try_echo=$ac_try;;
   5657 esac
   5658 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5659 $as_echo "$ac_try_echo") >&5
   5660   (eval "$ac_compile") 2>conftest.er1
   5661   ac_status=$?
   5662   grep -v '^ *+' conftest.er1 >conftest.err
   5663   rm -f conftest.er1
   5664   cat conftest.err >&5
   5665   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5666   (exit $ac_status); } && {
   5667 	 test -z "$ac_cxx_werror_flag" ||
   5668 	 test ! -s conftest.err
   5669        } && test -s conftest.$ac_objext; then
   5670   ac_cv_prog_cxx_g=yes
   5671 else
   5672   $as_echo "$as_me: failed program was:" >&5
   5673 sed 's/^/| /' conftest.$ac_ext >&5
   5674 
   5675 	CXXFLAGS=""
   5676       cat >conftest.$ac_ext <<_ACEOF
   5677 /* confdefs.h.  */
   5678 _ACEOF
   5679 cat confdefs.h >>conftest.$ac_ext
   5680 cat >>conftest.$ac_ext <<_ACEOF
   5681 /* end confdefs.h.  */
   5682 
   5683 int
   5684 main ()
   5685 {
   5686 
   5687   ;
   5688   return 0;
   5689 }
   5690 _ACEOF
   5691 rm -f conftest.$ac_objext
   5692 if { (ac_try="$ac_compile"
   5693 case "(($ac_try" in
   5694   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5695   *) ac_try_echo=$ac_try;;
   5696 esac
   5697 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5698 $as_echo "$ac_try_echo") >&5
   5699   (eval "$ac_compile") 2>conftest.er1
   5700   ac_status=$?
   5701   grep -v '^ *+' conftest.er1 >conftest.err
   5702   rm -f conftest.er1
   5703   cat conftest.err >&5
   5704   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5705   (exit $ac_status); } && {
   5706 	 test -z "$ac_cxx_werror_flag" ||
   5707 	 test ! -s conftest.err
   5708        } && test -s conftest.$ac_objext; then
   5709   :
   5710 else
   5711   $as_echo "$as_me: failed program was:" >&5
   5712 sed 's/^/| /' conftest.$ac_ext >&5
   5713 
   5714 	ac_cxx_werror_flag=$ac_save_cxx_werror_flag
   5715 	 CXXFLAGS="-g"
   5716 	 cat >conftest.$ac_ext <<_ACEOF
   5717 /* confdefs.h.  */
   5718 _ACEOF
   5719 cat confdefs.h >>conftest.$ac_ext
   5720 cat >>conftest.$ac_ext <<_ACEOF
   5721 /* end confdefs.h.  */
   5722 
   5723 int
   5724 main ()
   5725 {
   5726 
   5727   ;
   5728   return 0;
   5729 }
   5730 _ACEOF
   5731 rm -f conftest.$ac_objext
   5732 if { (ac_try="$ac_compile"
   5733 case "(($ac_try" in
   5734   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5735   *) ac_try_echo=$ac_try;;
   5736 esac
   5737 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5738 $as_echo "$ac_try_echo") >&5
   5739   (eval "$ac_compile") 2>conftest.er1
   5740   ac_status=$?
   5741   grep -v '^ *+' conftest.er1 >conftest.err
   5742   rm -f conftest.er1
   5743   cat conftest.err >&5
   5744   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5745   (exit $ac_status); } && {
   5746 	 test -z "$ac_cxx_werror_flag" ||
   5747 	 test ! -s conftest.err
   5748        } && test -s conftest.$ac_objext; then
   5749   ac_cv_prog_cxx_g=yes
   5750 else
   5751   $as_echo "$as_me: failed program was:" >&5
   5752 sed 's/^/| /' conftest.$ac_ext >&5
   5753 
   5754 
   5755 fi
   5756 
   5757 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5758 fi
   5759 
   5760 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5761 fi
   5762 
   5763 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5764    ac_cxx_werror_flag=$ac_save_cxx_werror_flag
   5765 fi
   5766 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
   5767 $as_echo "$ac_cv_prog_cxx_g" >&6; }
   5768 if test "$ac_test_CXXFLAGS" = set; then
   5769   CXXFLAGS=$ac_save_CXXFLAGS
   5770 elif test $ac_cv_prog_cxx_g = yes; then
   5771   if test "$GXX" = yes; then
   5772     CXXFLAGS="-g -O2"
   5773   else
   5774     CXXFLAGS="-g"
   5775   fi
   5776 else
   5777   if test "$GXX" = yes; then
   5778     CXXFLAGS="-O2"
   5779   else
   5780     CXXFLAGS=
   5781   fi
   5782 fi
   5783 ac_ext=cpp
   5784 ac_cpp='$CXXCPP $CPPFLAGS'
   5785 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5786 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5787 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   5788 
   5789 depcc="$CXX"  am_compiler_list=
   5790 
   5791 { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
   5792 $as_echo_n "checking dependency style of $depcc... " >&6; }
   5793 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
   5794   $as_echo_n "(cached) " >&6
   5795 else
   5796   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   5797   # We make a subdir and do the tests there.  Otherwise we can end up
   5798   # making bogus files that we don't know about and never remove.  For
   5799   # instance it was reported that on HP-UX the gcc test will end up
   5800   # making a dummy file named `D' -- because `-MD' means `put the output
   5801   # in D'.
   5802   mkdir conftest.dir
   5803   # Copy depcomp to subdir because otherwise we won't find it if we're
   5804   # using a relative directory.
   5805   cp "$am_depcomp" conftest.dir
   5806   cd conftest.dir
   5807   # We will build objects and dependencies in a subdirectory because
   5808   # it helps to detect inapplicable dependency modes.  For instance
   5809   # both Tru64's cc and ICC support -MD to output dependencies as a
   5810   # side effect of compilation, but ICC will put the dependencies in
   5811   # the current directory while Tru64 will put them in the object
   5812   # directory.
   5813   mkdir sub
   5814 
   5815   am_cv_CXX_dependencies_compiler_type=none
   5816   if test "$am_compiler_list" = ""; then
   5817      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   5818   fi
   5819   am__universal=false
   5820   case " $depcc " in #(
   5821      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   5822      esac
   5823 
   5824   for depmode in $am_compiler_list; do
   5825     # Setup a source with many dependencies, because some compilers
   5826     # like to wrap large dependency lists on column 80 (with \), and
   5827     # we should not choose a depcomp mode which is confused by this.
   5828     #
   5829     # We need to recreate these files for each test, as the compiler may
   5830     # overwrite some of them when testing with obscure command lines.
   5831     # This happens at least with the AIX C compiler.
   5832     : > sub/conftest.c
   5833     for i in 1 2 3 4 5 6; do
   5834       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   5835       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
   5836       # Solaris 8's {/usr,}/bin/sh.
   5837       touch sub/conftst$i.h
   5838     done
   5839     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   5840 
   5841     # We check with `-c' and `-o' for the sake of the "dashmstdout"
   5842     # mode.  It turns out that the SunPro C++ compiler does not properly
   5843     # handle `-M -o', and we need to detect this.  Also, some Intel
   5844     # versions had trouble with output in subdirs
   5845     am__obj=sub/conftest.${OBJEXT-o}
   5846     am__minus_obj="-o $am__obj"
   5847     case $depmode in
   5848     gcc)
   5849       # This depmode causes a compiler race in universal mode.
   5850       test "$am__universal" = false || continue
   5851       ;;
   5852     nosideeffect)
   5853       # after this tag, mechanisms are not by side-effect, so they'll
   5854       # only be used when explicitly requested
   5855       if test "x$enable_dependency_tracking" = xyes; then
   5856 	continue
   5857       else
   5858 	break
   5859       fi
   5860       ;;
   5861     msvisualcpp | msvcmsys)
   5862       # This compiler won't grok `-c -o', but also, the minuso test has
   5863       # not run yet.  These depmodes are late enough in the game, and
   5864       # so weak that their functioning should not be impacted.
   5865       am__obj=conftest.${OBJEXT-o}
   5866       am__minus_obj=
   5867       ;;
   5868     none) break ;;
   5869     esac
   5870     if depmode=$depmode \
   5871        source=sub/conftest.c object=$am__obj \
   5872        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   5873        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   5874          >/dev/null 2>conftest.err &&
   5875        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   5876        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   5877        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   5878        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   5879       # icc doesn't choke on unknown options, it will just issue warnings
   5880       # or remarks (even with -Werror).  So we grep stderr for any message
   5881       # that says an option was ignored or not supported.
   5882       # When given -MP, icc 7.0 and 7.1 complain thusly:
   5883       #   icc: Command line warning: ignoring option '-M'; no argument required
   5884       # The diagnosis changed in icc 8.0:
   5885       #   icc: Command line remark: option '-MP' not supported
   5886       if (grep 'ignoring option' conftest.err ||
   5887           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   5888         am_cv_CXX_dependencies_compiler_type=$depmode
   5889         break
   5890       fi
   5891     fi
   5892   done
   5893 
   5894   cd ..
   5895   rm -rf conftest.dir
   5896 else
   5897   am_cv_CXX_dependencies_compiler_type=none
   5898 fi
   5899 
   5900 fi
   5901 { $as_echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
   5902 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
   5903 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
   5904 
   5905  if
   5906   test "x$enable_dependency_tracking" != xno \
   5907   && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
   5908   am__fastdepCXX_TRUE=
   5909   am__fastdepCXX_FALSE='#'
   5910 else
   5911   am__fastdepCXX_TRUE='#'
   5912   am__fastdepCXX_FALSE=
   5913 fi
   5914 
   5915 
   5916 
   5917 
   5918 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
   5919     ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
   5920     (test "X$CXX" != "Xg++"))) ; then
   5921   ac_ext=cpp
   5922 ac_cpp='$CXXCPP $CPPFLAGS'
   5923 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5924 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5925 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   5926 { $as_echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
   5927 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
   5928 if test -z "$CXXCPP"; then
   5929   if test "${ac_cv_prog_CXXCPP+set}" = set; then
   5930   $as_echo_n "(cached) " >&6
   5931 else
   5932       # Double quotes because CXXCPP needs to be expanded
   5933     for CXXCPP in "$CXX -E" "/lib/cpp"
   5934     do
   5935       ac_preproc_ok=false
   5936 for ac_cxx_preproc_warn_flag in '' yes
   5937 do
   5938   # Use a header file that comes with gcc, so configuring glibc
   5939   # with a fresh cross-compiler works.
   5940   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   5941   # <limits.h> exists even on freestanding compilers.
   5942   # On the NeXT, cc -E runs the code through the compiler's parser,
   5943   # not just through cpp. "Syntax error" is here to catch this case.
   5944   cat >conftest.$ac_ext <<_ACEOF
   5945 /* confdefs.h.  */
   5946 _ACEOF
   5947 cat confdefs.h >>conftest.$ac_ext
   5948 cat >>conftest.$ac_ext <<_ACEOF
   5949 /* end confdefs.h.  */
   5950 #ifdef __STDC__
   5951 # include <limits.h>
   5952 #else
   5953 # include <assert.h>
   5954 #endif
   5955 		     Syntax error
   5956 _ACEOF
   5957 if { (ac_try="$ac_cpp conftest.$ac_ext"
   5958 case "(($ac_try" in
   5959   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5960   *) ac_try_echo=$ac_try;;
   5961 esac
   5962 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5963 $as_echo "$ac_try_echo") >&5
   5964   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   5965   ac_status=$?
   5966   grep -v '^ *+' conftest.er1 >conftest.err
   5967   rm -f conftest.er1
   5968   cat conftest.err >&5
   5969   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5970   (exit $ac_status); } >/dev/null && {
   5971 	 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
   5972 	 test ! -s conftest.err
   5973        }; then
   5974   :
   5975 else
   5976   $as_echo "$as_me: failed program was:" >&5
   5977 sed 's/^/| /' conftest.$ac_ext >&5
   5978 
   5979   # Broken: fails on valid input.
   5980 continue
   5981 fi
   5982 
   5983 rm -f conftest.err conftest.$ac_ext
   5984 
   5985   # OK, works on sane cases.  Now check whether nonexistent headers
   5986   # can be detected and how.
   5987   cat >conftest.$ac_ext <<_ACEOF
   5988 /* confdefs.h.  */
   5989 _ACEOF
   5990 cat confdefs.h >>conftest.$ac_ext
   5991 cat >>conftest.$ac_ext <<_ACEOF
   5992 /* end confdefs.h.  */
   5993 #include <ac_nonexistent.h>
   5994 _ACEOF
   5995 if { (ac_try="$ac_cpp conftest.$ac_ext"
   5996 case "(($ac_try" in
   5997   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5998   *) ac_try_echo=$ac_try;;
   5999 esac
   6000 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   6001 $as_echo "$ac_try_echo") >&5
   6002   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   6003   ac_status=$?
   6004   grep -v '^ *+' conftest.er1 >conftest.err
   6005   rm -f conftest.er1
   6006   cat conftest.err >&5
   6007   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6008   (exit $ac_status); } >/dev/null && {
   6009 	 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
   6010 	 test ! -s conftest.err
   6011        }; then
   6012   # Broken: success on invalid input.
   6013 continue
   6014 else
   6015   $as_echo "$as_me: failed program was:" >&5
   6016 sed 's/^/| /' conftest.$ac_ext >&5
   6017 
   6018   # Passes both tests.
   6019 ac_preproc_ok=:
   6020 break
   6021 fi
   6022 
   6023 rm -f conftest.err conftest.$ac_ext
   6024 
   6025 done
   6026 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   6027 rm -f conftest.err conftest.$ac_ext
   6028 if $ac_preproc_ok; then
   6029   break
   6030 fi
   6031 
   6032     done
   6033     ac_cv_prog_CXXCPP=$CXXCPP
   6034 
   6035 fi
   6036   CXXCPP=$ac_cv_prog_CXXCPP
   6037 else
   6038   ac_cv_prog_CXXCPP=$CXXCPP
   6039 fi
   6040 { $as_echo "$as_me:$LINENO: result: $CXXCPP" >&5
   6041 $as_echo "$CXXCPP" >&6; }
   6042 ac_preproc_ok=false
   6043 for ac_cxx_preproc_warn_flag in '' yes
   6044 do
   6045   # Use a header file that comes with gcc, so configuring glibc
   6046   # with a fresh cross-compiler works.
   6047   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   6048   # <limits.h> exists even on freestanding compilers.
   6049   # On the NeXT, cc -E runs the code through the compiler's parser,
   6050   # not just through cpp. "Syntax error" is here to catch this case.
   6051   cat >conftest.$ac_ext <<_ACEOF
   6052 /* confdefs.h.  */
   6053 _ACEOF
   6054 cat confdefs.h >>conftest.$ac_ext
   6055 cat >>conftest.$ac_ext <<_ACEOF
   6056 /* end confdefs.h.  */
   6057 #ifdef __STDC__
   6058 # include <limits.h>
   6059 #else
   6060 # include <assert.h>
   6061 #endif
   6062 		     Syntax error
   6063 _ACEOF
   6064 if { (ac_try="$ac_cpp conftest.$ac_ext"
   6065 case "(($ac_try" in
   6066   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6067   *) ac_try_echo=$ac_try;;
   6068 esac
   6069 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   6070 $as_echo "$ac_try_echo") >&5
   6071   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   6072   ac_status=$?
   6073   grep -v '^ *+' conftest.er1 >conftest.err
   6074   rm -f conftest.er1
   6075   cat conftest.err >&5
   6076   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6077   (exit $ac_status); } >/dev/null && {
   6078 	 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
   6079 	 test ! -s conftest.err
   6080        }; then
   6081   :
   6082 else
   6083   $as_echo "$as_me: failed program was:" >&5
   6084 sed 's/^/| /' conftest.$ac_ext >&5
   6085 
   6086   # Broken: fails on valid input.
   6087 continue
   6088 fi
   6089 
   6090 rm -f conftest.err conftest.$ac_ext
   6091 
   6092   # OK, works on sane cases.  Now check whether nonexistent headers
   6093   # can be detected and how.
   6094   cat >conftest.$ac_ext <<_ACEOF
   6095 /* confdefs.h.  */
   6096 _ACEOF
   6097 cat confdefs.h >>conftest.$ac_ext
   6098 cat >>conftest.$ac_ext <<_ACEOF
   6099 /* end confdefs.h.  */
   6100 #include <ac_nonexistent.h>
   6101 _ACEOF
   6102 if { (ac_try="$ac_cpp conftest.$ac_ext"
   6103 case "(($ac_try" in
   6104   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6105   *) ac_try_echo=$ac_try;;
   6106 esac
   6107 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   6108 $as_echo "$ac_try_echo") >&5
   6109   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   6110   ac_status=$?
   6111   grep -v '^ *+' conftest.er1 >conftest.err
   6112   rm -f conftest.er1
   6113   cat conftest.err >&5
   6114   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6115   (exit $ac_status); } >/dev/null && {
   6116 	 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
   6117 	 test ! -s conftest.err
   6118        }; then
   6119   # Broken: success on invalid input.
   6120 continue
   6121 else
   6122   $as_echo "$as_me: failed program was:" >&5
   6123 sed 's/^/| /' conftest.$ac_ext >&5
   6124 
   6125   # Passes both tests.
   6126 ac_preproc_ok=:
   6127 break
   6128 fi
   6129 
   6130 rm -f conftest.err conftest.$ac_ext
   6131 
   6132 done
   6133 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   6134 rm -f conftest.err conftest.$ac_ext
   6135 if $ac_preproc_ok; then
   6136   :
   6137 else
   6138   { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   6139 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   6140 { { $as_echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
   6141 See \`config.log' for more details." >&5
   6142 $as_echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
   6143 See \`config.log' for more details." >&2;}
   6144    { (exit 1); exit 1; }; }; }
   6145 fi
   6146 
   6147 ac_ext=cpp
   6148 ac_cpp='$CXXCPP $CPPFLAGS'
   6149 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   6150 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   6151 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   6152 
   6153 fi
   6154 
   6155 
   6156 ac_ext=f
   6157 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
   6158 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   6159 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
   6160 if test -n "$ac_tool_prefix"; then
   6161   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
   6162   do
   6163     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   6164 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   6165 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   6166 $as_echo_n "checking for $ac_word... " >&6; }
   6167 if test "${ac_cv_prog_F77+set}" = set; then
   6168   $as_echo_n "(cached) " >&6
   6169 else
   6170   if test -n "$F77"; then
   6171   ac_cv_prog_F77="$F77" # Let the user override the test.
   6172 else
   6173 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6174 for as_dir in $PATH
   6175 do
   6176   IFS=$as_save_IFS
   6177   test -z "$as_dir" && as_dir=.
   6178   for ac_exec_ext in '' $ac_executable_extensions; do
   6179   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6180     ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
   6181     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6182     break 2
   6183   fi
   6184 done
   6185 done
   6186 IFS=$as_save_IFS
   6187 
   6188 fi
   6189 fi
   6190 F77=$ac_cv_prog_F77
   6191 if test -n "$F77"; then
   6192   { $as_echo "$as_me:$LINENO: result: $F77" >&5
   6193 $as_echo "$F77" >&6; }
   6194 else
   6195   { $as_echo "$as_me:$LINENO: result: no" >&5
   6196 $as_echo "no" >&6; }
   6197 fi
   6198 
   6199 
   6200     test -n "$F77" && break
   6201   done
   6202 fi
   6203 if test -z "$F77"; then
   6204   ac_ct_F77=$F77
   6205   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
   6206 do
   6207   # Extract the first word of "$ac_prog", so it can be a program name with args.
   6208 set dummy $ac_prog; ac_word=$2
   6209 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   6210 $as_echo_n "checking for $ac_word... " >&6; }
   6211 if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
   6212   $as_echo_n "(cached) " >&6
   6213 else
   6214   if test -n "$ac_ct_F77"; then
   6215   ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test.
   6216 else
   6217 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6218 for as_dir in $PATH
   6219 do
   6220   IFS=$as_save_IFS
   6221   test -z "$as_dir" && as_dir=.
   6222   for ac_exec_ext in '' $ac_executable_extensions; do
   6223   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6224     ac_cv_prog_ac_ct_F77="$ac_prog"
   6225     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6226     break 2
   6227   fi
   6228 done
   6229 done
   6230 IFS=$as_save_IFS
   6231 
   6232 fi
   6233 fi
   6234 ac_ct_F77=$ac_cv_prog_ac_ct_F77
   6235 if test -n "$ac_ct_F77"; then
   6236   { $as_echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
   6237 $as_echo "$ac_ct_F77" >&6; }
   6238 else
   6239   { $as_echo "$as_me:$LINENO: result: no" >&5
   6240 $as_echo "no" >&6; }
   6241 fi
   6242 
   6243 
   6244   test -n "$ac_ct_F77" && break
   6245 done
   6246 
   6247   if test "x$ac_ct_F77" = x; then
   6248     F77=""
   6249   else
   6250     case $cross_compiling:$ac_tool_warned in
   6251 yes:)
   6252 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   6253 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6254 ac_tool_warned=yes ;;
   6255 esac
   6256     F77=$ac_ct_F77
   6257   fi
   6258 fi
   6259 
   6260 
   6261 # Provide some information about the compiler.
   6262 $as_echo "$as_me:$LINENO: checking for Fortran 77 compiler version" >&5
   6263 set X $ac_compile
   6264 ac_compiler=$2
   6265 { (ac_try="$ac_compiler --version >&5"
   6266 case "(($ac_try" in
   6267   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6268   *) ac_try_echo=$ac_try;;
   6269 esac
   6270 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   6271 $as_echo "$ac_try_echo") >&5
   6272   (eval "$ac_compiler --version >&5") 2>&5
   6273   ac_status=$?
   6274   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6275   (exit $ac_status); }
   6276 { (ac_try="$ac_compiler -v >&5"
   6277 case "(($ac_try" in
   6278   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6279   *) ac_try_echo=$ac_try;;
   6280 esac
   6281 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   6282 $as_echo "$ac_try_echo") >&5
   6283   (eval "$ac_compiler -v >&5") 2>&5
   6284   ac_status=$?
   6285   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6286   (exit $ac_status); }
   6287 { (ac_try="$ac_compiler -V >&5"
   6288 case "(($ac_try" in
   6289   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6290   *) ac_try_echo=$ac_try;;
   6291 esac
   6292 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   6293 $as_echo "$ac_try_echo") >&5
   6294   (eval "$ac_compiler -V >&5") 2>&5
   6295   ac_status=$?
   6296   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6297   (exit $ac_status); }
   6298 rm -f a.out
   6299 
   6300 # If we don't use `.F' as extension, the preprocessor is not run on the
   6301 # input file.  (Note that this only needs to work for GNU compilers.)
   6302 ac_save_ext=$ac_ext
   6303 ac_ext=F
   6304 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
   6305 $as_echo_n "checking whether we are using the GNU Fortran 77 compiler... " >&6; }
   6306 if test "${ac_cv_f77_compiler_gnu+set}" = set; then
   6307   $as_echo_n "(cached) " >&6
   6308 else
   6309   cat >conftest.$ac_ext <<_ACEOF
   6310       program main
   6311 #ifndef __GNUC__
   6312        choke me
   6313 #endif
   6314 
   6315       end
   6316 _ACEOF
   6317 rm -f conftest.$ac_objext
   6318 if { (ac_try="$ac_compile"
   6319 case "(($ac_try" in
   6320   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6321   *) ac_try_echo=$ac_try;;
   6322 esac
   6323 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   6324 $as_echo "$ac_try_echo") >&5
   6325   (eval "$ac_compile") 2>conftest.er1
   6326   ac_status=$?
   6327   grep -v '^ *+' conftest.er1 >conftest.err
   6328   rm -f conftest.er1
   6329   cat conftest.err >&5
   6330   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6331   (exit $ac_status); } && {
   6332 	 test -z "$ac_f77_werror_flag" ||
   6333 	 test ! -s conftest.err
   6334        } && test -s conftest.$ac_objext; then
   6335   ac_compiler_gnu=yes
   6336 else
   6337   $as_echo "$as_me: failed program was:" >&5
   6338 sed 's/^/| /' conftest.$ac_ext >&5
   6339 
   6340 	ac_compiler_gnu=no
   6341 fi
   6342 
   6343 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6344 ac_cv_f77_compiler_gnu=$ac_compiler_gnu
   6345 
   6346 fi
   6347 { $as_echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
   6348 $as_echo "$ac_cv_f77_compiler_gnu" >&6; }
   6349 ac_ext=$ac_save_ext
   6350 ac_test_FFLAGS=${FFLAGS+set}
   6351 ac_save_FFLAGS=$FFLAGS
   6352 FFLAGS=
   6353 { $as_echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
   6354 $as_echo_n "checking whether $F77 accepts -g... " >&6; }
   6355 if test "${ac_cv_prog_f77_g+set}" = set; then
   6356   $as_echo_n "(cached) " >&6
   6357 else
   6358   FFLAGS=-g
   6359 cat >conftest.$ac_ext <<_ACEOF
   6360       program main
   6361 
   6362       end
   6363 _ACEOF
   6364 rm -f conftest.$ac_objext
   6365 if { (ac_try="$ac_compile"
   6366 case "(($ac_try" in
   6367   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6368   *) ac_try_echo=$ac_try;;
   6369 esac
   6370 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   6371 $as_echo "$ac_try_echo") >&5
   6372   (eval "$ac_compile") 2>conftest.er1
   6373   ac_status=$?
   6374   grep -v '^ *+' conftest.er1 >conftest.err
   6375   rm -f conftest.er1
   6376   cat conftest.err >&5
   6377   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6378   (exit $ac_status); } && {
   6379 	 test -z "$ac_f77_werror_flag" ||
   6380 	 test ! -s conftest.err
   6381        } && test -s conftest.$ac_objext; then
   6382   ac_cv_prog_f77_g=yes
   6383 else
   6384   $as_echo "$as_me: failed program was:" >&5
   6385 sed 's/^/| /' conftest.$ac_ext >&5
   6386 
   6387 	ac_cv_prog_f77_g=no
   6388 fi
   6389 
   6390 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6391 
   6392 fi
   6393 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
   6394 $as_echo "$ac_cv_prog_f77_g" >&6; }
   6395 if test "$ac_test_FFLAGS" = set; then
   6396   FFLAGS=$ac_save_FFLAGS
   6397 elif test $ac_cv_prog_f77_g = yes; then
   6398   if test "x$ac_cv_f77_compiler_gnu" = xyes; then
   6399     FFLAGS="-g -O2"
   6400   else
   6401     FFLAGS="-g"
   6402   fi
   6403 else
   6404   if test "x$ac_cv_f77_compiler_gnu" = xyes; then
   6405     FFLAGS="-O2"
   6406   else
   6407     FFLAGS=
   6408   fi
   6409 fi
   6410 
   6411 if test $ac_compiler_gnu = yes; then
   6412   G77=yes
   6413 else
   6414   G77=
   6415 fi
   6416 ac_ext=c
   6417 ac_cpp='$CPP $CPPFLAGS'
   6418 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   6419 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   6420 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   6421 
   6422 
   6423 
   6424 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
   6425 # find the maximum length of command line arguments
   6426 { $as_echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
   6427 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
   6428 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
   6429   $as_echo_n "(cached) " >&6
   6430 else
   6431     i=0
   6432   teststring="ABCD"
   6433 
   6434   case $build_os in
   6435   msdosdjgpp*)
   6436     # On DJGPP, this test can blow up pretty badly due to problems in libc
   6437     # (any single argument exceeding 2000 bytes causes a buffer overrun
   6438     # during glob expansion).  Even if it were fixed, the result of this
   6439     # check would be larger than it should be.
   6440     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
   6441     ;;
   6442 
   6443   gnu*)
   6444     # Under GNU Hurd, this test is not required because there is
   6445     # no limit to the length of command line arguments.
   6446     # Libtool will interpret -1 as no limit whatsoever
   6447     lt_cv_sys_max_cmd_len=-1;
   6448     ;;
   6449 
   6450   cygwin* | mingw*)
   6451     # On Win9x/ME, this test blows up -- it succeeds, but takes
   6452     # about 5 minutes as the teststring grows exponentially.
   6453     # Worse, since 9x/ME are not pre-emptively multitasking,
   6454     # you end up with a "frozen" computer, even though with patience
   6455     # the test eventually succeeds (with a max line length of 256k).
   6456     # Instead, let's just punt: use the minimum linelength reported by
   6457     # all of the supported platforms: 8192 (on NT/2K/XP).
   6458     lt_cv_sys_max_cmd_len=8192;
   6459     ;;
   6460 
   6461   amigaos*)
   6462     # On AmigaOS with pdksh, this test takes hours, literally.
   6463     # So we just punt and use a minimum line length of 8192.
   6464     lt_cv_sys_max_cmd_len=8192;
   6465     ;;
   6466 
   6467   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
   6468     # This has been around since 386BSD, at least.  Likely further.
   6469     if test -x /sbin/sysctl; then
   6470       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
   6471     elif test -x /usr/sbin/sysctl; then
   6472       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
   6473     else
   6474       lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
   6475     fi
   6476     # And add a safety zone
   6477     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   6478     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   6479     ;;
   6480 
   6481   interix*)
   6482     # We know the value 262144 and hardcode it with a safety zone (like BSD)
   6483     lt_cv_sys_max_cmd_len=196608
   6484     ;;
   6485 
   6486   osf*)
   6487     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
   6488     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
   6489     # nice to cause kernel panics so lets avoid the loop below.
   6490     # First set a reasonable default.
   6491     lt_cv_sys_max_cmd_len=16384
   6492     #
   6493     if test -x /sbin/sysconfig; then
   6494       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
   6495         *1*) lt_cv_sys_max_cmd_len=-1 ;;
   6496       esac
   6497     fi
   6498     ;;
   6499   sco3.2v5*)
   6500     lt_cv_sys_max_cmd_len=102400
   6501     ;;
   6502   sysv5* | sco5v6* | sysv4.2uw2*)
   6503     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
   6504     if test -n "$kargmax"; then
   6505       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ 	]//'`
   6506     else
   6507       lt_cv_sys_max_cmd_len=32768
   6508     fi
   6509     ;;
   6510   *)
   6511     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
   6512     if test -n "$lt_cv_sys_max_cmd_len"; then
   6513       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   6514       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   6515     else
   6516       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
   6517       while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
   6518 	       = "XX$teststring") >/dev/null 2>&1 &&
   6519 	      new_result=`expr "X$teststring" : ".*" 2>&1` &&
   6520 	      lt_cv_sys_max_cmd_len=$new_result &&
   6521 	      test $i != 17 # 1/2 MB should be enough
   6522       do
   6523         i=`expr $i + 1`
   6524         teststring=$teststring$teststring
   6525       done
   6526       teststring=
   6527       # Add a significant safety factor because C++ compilers can tack on massive
   6528       # amounts of additional arguments before passing them to the linker.
   6529       # It appears as though 1/2 is a usable value.
   6530       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
   6531     fi
   6532     ;;
   6533   esac
   6534 
   6535 fi
   6536 
   6537 if test -n $lt_cv_sys_max_cmd_len ; then
   6538   { $as_echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
   6539 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
   6540 else
   6541   { $as_echo "$as_me:$LINENO: result: none" >&5
   6542 $as_echo "none" >&6; }
   6543 fi
   6544 
   6545 
   6546 
   6547 
   6548 
   6549 # Check for command to grab the raw symbol name followed by C symbol from nm.
   6550 { $as_echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
   6551 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
   6552 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
   6553   $as_echo_n "(cached) " >&6
   6554 else
   6555 
   6556 # These are sane defaults that work on at least a few old systems.
   6557 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
   6558 
   6559 # Character class describing NM global symbol codes.
   6560 symcode='[BCDEGRST]'
   6561 
   6562 # Regexp to match symbols that can be accessed directly from C.
   6563 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
   6564 
   6565 # Transform an extracted symbol line into a proper C declaration
   6566 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
   6567 
   6568 # Transform an extracted symbol line into symbol name and symbol address
   6569 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'"
   6570 
   6571 # Define system-specific variables.
   6572 case $host_os in
   6573 aix*)
   6574   symcode='[BCDT]'
   6575   ;;
   6576 cygwin* | mingw* | pw32*)
   6577   symcode='[ABCDGISTW]'
   6578   ;;
   6579 hpux*) # Its linker distinguishes data from code symbols
   6580   if test "$host_cpu" = ia64; then
   6581     symcode='[ABCDEGRST]'
   6582   fi
   6583   lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
   6584   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'"
   6585   ;;
   6586 linux* | k*bsd*-gnu)
   6587   if test "$host_cpu" = ia64; then
   6588     symcode='[ABCDGIRSTW]'
   6589     lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
   6590     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'"
   6591   fi
   6592   ;;
   6593 irix* | nonstopux*)
   6594   symcode='[BCDEGRST]'
   6595   ;;
   6596 osf*)
   6597   symcode='[BCDEGQRST]'
   6598   ;;
   6599 solaris*)
   6600   symcode='[BDRT]'
   6601   ;;
   6602 sco3.2v5*)
   6603   symcode='[DT]'
   6604   ;;
   6605 sysv4.2uw2*)
   6606   symcode='[DT]'
   6607   ;;
   6608 sysv5* | sco5v6* | unixware* | OpenUNIX*)
   6609   symcode='[ABDT]'
   6610   ;;
   6611 sysv4)
   6612   symcode='[DFNSTU]'
   6613   ;;
   6614 esac
   6615 
   6616 # Handle CRLF in mingw tool chain
   6617 opt_cr=
   6618 case $build_os in
   6619 mingw*)
   6620   opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
   6621   ;;
   6622 esac
   6623 
   6624 # If we're using GNU nm, then use its standard symbol codes.
   6625 case `$NM -V 2>&1` in
   6626 *GNU* | *'with BFD'*)
   6627   symcode='[ABCDGIRSTW]' ;;
   6628 esac
   6629 
   6630 # Try without a prefix undercore, then with it.
   6631 for ac_symprfx in "" "_"; do
   6632 
   6633   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
   6634   symxfrm="\\1 $ac_symprfx\\2 \\2"
   6635 
   6636   # Write the raw and C identifiers.
   6637   lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ 	]\($symcode$symcode*\)[ 	][ 	]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
   6638 
   6639   # Check to see that the pipe works correctly.
   6640   pipe_works=no
   6641 
   6642   rm -f conftest*
   6643   cat > conftest.$ac_ext <<EOF
   6644 #ifdef __cplusplus
   6645 extern "C" {
   6646 #endif
   6647 char nm_test_var;
   6648 void nm_test_func(){}
   6649 #ifdef __cplusplus
   6650 }
   6651 #endif
   6652 int main(){nm_test_var='a';nm_test_func();return(0);}
   6653 EOF
   6654 
   6655   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   6656   (eval $ac_compile) 2>&5
   6657   ac_status=$?
   6658   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6659   (exit $ac_status); }; then
   6660     # Now try to grab the symbols.
   6661     nlist=conftest.nm
   6662     if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
   6663   (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
   6664   ac_status=$?
   6665   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6666   (exit $ac_status); } && test -s "$nlist"; then
   6667       # Try sorting and uniquifying the output.
   6668       if sort "$nlist" | uniq > "$nlist"T; then
   6669 	mv -f "$nlist"T "$nlist"
   6670       else
   6671 	rm -f "$nlist"T
   6672       fi
   6673 
   6674       # Make sure that we snagged all the symbols we need.
   6675       if grep ' nm_test_var$' "$nlist" >/dev/null; then
   6676 	if grep ' nm_test_func$' "$nlist" >/dev/null; then
   6677 	  cat <<EOF > conftest.$ac_ext
   6678 #ifdef __cplusplus
   6679 extern "C" {
   6680 #endif
   6681 
   6682 EOF
   6683 	  # Now generate the symbol file.
   6684 	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
   6685 
   6686 	  cat <<EOF >> conftest.$ac_ext
   6687 #if defined (__STDC__) && __STDC__
   6688 # define lt_ptr_t void *
   6689 #else
   6690 # define lt_ptr_t char *
   6691 # define const
   6692 #endif
   6693 
   6694 /* The mapping between symbol names and symbols. */
   6695 const struct {
   6696   const char *name;
   6697   lt_ptr_t address;
   6698 }
   6699 lt_preloaded_symbols[] =
   6700 {
   6701 EOF
   6702 	  $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext
   6703 	  cat <<\EOF >> conftest.$ac_ext
   6704   {0, (lt_ptr_t) 0}
   6705 };
   6706 
   6707 #ifdef __cplusplus
   6708 }
   6709 #endif
   6710 EOF
   6711 	  # Now try linking the two files.
   6712 	  mv conftest.$ac_objext conftstm.$ac_objext
   6713 	  lt_save_LIBS="$LIBS"
   6714 	  lt_save_CFLAGS="$CFLAGS"
   6715 	  LIBS="conftstm.$ac_objext"
   6716 	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
   6717 	  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   6718   (eval $ac_link) 2>&5
   6719   ac_status=$?
   6720   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6721   (exit $ac_status); } && test -s conftest${ac_exeext}; then
   6722 	    pipe_works=yes
   6723 	  fi
   6724 	  LIBS="$lt_save_LIBS"
   6725 	  CFLAGS="$lt_save_CFLAGS"
   6726 	else
   6727 	  echo "cannot find nm_test_func in $nlist" >&5
   6728 	fi
   6729       else
   6730 	echo "cannot find nm_test_var in $nlist" >&5
   6731       fi
   6732     else
   6733       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
   6734     fi
   6735   else
   6736     echo "$progname: failed program was:" >&5
   6737     cat conftest.$ac_ext >&5
   6738   fi
   6739   rm -rf conftest* conftst*
   6740 
   6741   # Do not use the global_symbol_pipe unless it works.
   6742   if test "$pipe_works" = yes; then
   6743     break
   6744   else
   6745     lt_cv_sys_global_symbol_pipe=
   6746   fi
   6747 done
   6748 
   6749 fi
   6750 
   6751 if test -z "$lt_cv_sys_global_symbol_pipe"; then
   6752   lt_cv_sys_global_symbol_to_cdecl=
   6753 fi
   6754 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
   6755   { $as_echo "$as_me:$LINENO: result: failed" >&5
   6756 $as_echo "failed" >&6; }
   6757 else
   6758   { $as_echo "$as_me:$LINENO: result: ok" >&5
   6759 $as_echo "ok" >&6; }
   6760 fi
   6761 
   6762 { $as_echo "$as_me:$LINENO: checking for objdir" >&5
   6763 $as_echo_n "checking for objdir... " >&6; }
   6764 if test "${lt_cv_objdir+set}" = set; then
   6765   $as_echo_n "(cached) " >&6
   6766 else
   6767   rm -f .libs 2>/dev/null
   6768 mkdir .libs 2>/dev/null
   6769 if test -d .libs; then
   6770   lt_cv_objdir=.libs
   6771 else
   6772   # MS-DOS does not allow filenames that begin with a dot.
   6773   lt_cv_objdir=_libs
   6774 fi
   6775 rmdir .libs 2>/dev/null
   6776 fi
   6777 { $as_echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
   6778 $as_echo "$lt_cv_objdir" >&6; }
   6779 objdir=$lt_cv_objdir
   6780 
   6781 
   6782 
   6783 
   6784 
   6785 case $host_os in
   6786 aix3*)
   6787   # AIX sometimes has problems with the GCC collect2 program.  For some
   6788   # reason, if we set the COLLECT_NAMES environment variable, the problems
   6789   # vanish in a puff of smoke.
   6790   if test "X${COLLECT_NAMES+set}" != Xset; then
   6791     COLLECT_NAMES=
   6792     export COLLECT_NAMES
   6793   fi
   6794   ;;
   6795 esac
   6796 
   6797 # Sed substitution that helps us do robust quoting.  It backslashifies
   6798 # metacharacters that are still active within double-quoted strings.
   6799 Xsed='sed -e 1s/^X//'
   6800 sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g'
   6801 
   6802 # Same as above, but do not quote variable references.
   6803 double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g'
   6804 
   6805 # Sed substitution to delay expansion of an escaped shell variable in a
   6806 # double_quote_subst'ed string.
   6807 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
   6808 
   6809 # Sed substitution to avoid accidental globbing in evaled expressions
   6810 no_glob_subst='s/\*/\\\*/g'
   6811 
   6812 # Constants:
   6813 rm="rm -f"
   6814 
   6815 # Global variables:
   6816 default_ofile=libtool
   6817 can_build_shared=yes
   6818 
   6819 # All known linkers require a `.a' archive for static linking (except MSVC,
   6820 # which needs '.lib').
   6821 libext=a
   6822 ltmain="$ac_aux_dir/ltmain.sh"
   6823 ofile="$default_ofile"
   6824 with_gnu_ld="$lt_cv_prog_gnu_ld"
   6825 
   6826 if test -n "$ac_tool_prefix"; then
   6827   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
   6828 set dummy ${ac_tool_prefix}ar; ac_word=$2
   6829 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   6830 $as_echo_n "checking for $ac_word... " >&6; }
   6831 if test "${ac_cv_prog_AR+set}" = set; then
   6832   $as_echo_n "(cached) " >&6
   6833 else
   6834   if test -n "$AR"; then
   6835   ac_cv_prog_AR="$AR" # Let the user override the test.
   6836 else
   6837 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6838 for as_dir in $PATH
   6839 do
   6840   IFS=$as_save_IFS
   6841   test -z "$as_dir" && as_dir=.
   6842   for ac_exec_ext in '' $ac_executable_extensions; do
   6843   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6844     ac_cv_prog_AR="${ac_tool_prefix}ar"
   6845     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6846     break 2
   6847   fi
   6848 done
   6849 done
   6850 IFS=$as_save_IFS
   6851 
   6852 fi
   6853 fi
   6854 AR=$ac_cv_prog_AR
   6855 if test -n "$AR"; then
   6856   { $as_echo "$as_me:$LINENO: result: $AR" >&5
   6857 $as_echo "$AR" >&6; }
   6858 else
   6859   { $as_echo "$as_me:$LINENO: result: no" >&5
   6860 $as_echo "no" >&6; }
   6861 fi
   6862 
   6863 
   6864 fi
   6865 if test -z "$ac_cv_prog_AR"; then
   6866   ac_ct_AR=$AR
   6867   # Extract the first word of "ar", so it can be a program name with args.
   6868 set dummy ar; ac_word=$2
   6869 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   6870 $as_echo_n "checking for $ac_word... " >&6; }
   6871 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
   6872   $as_echo_n "(cached) " >&6
   6873 else
   6874   if test -n "$ac_ct_AR"; then
   6875   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
   6876 else
   6877 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6878 for as_dir in $PATH
   6879 do
   6880   IFS=$as_save_IFS
   6881   test -z "$as_dir" && as_dir=.
   6882   for ac_exec_ext in '' $ac_executable_extensions; do
   6883   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6884     ac_cv_prog_ac_ct_AR="ar"
   6885     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6886     break 2
   6887   fi
   6888 done
   6889 done
   6890 IFS=$as_save_IFS
   6891 
   6892 fi
   6893 fi
   6894 ac_ct_AR=$ac_cv_prog_ac_ct_AR
   6895 if test -n "$ac_ct_AR"; then
   6896   { $as_echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
   6897 $as_echo "$ac_ct_AR" >&6; }
   6898 else
   6899   { $as_echo "$as_me:$LINENO: result: no" >&5
   6900 $as_echo "no" >&6; }
   6901 fi
   6902 
   6903   if test "x$ac_ct_AR" = x; then
   6904     AR="false"
   6905   else
   6906     case $cross_compiling:$ac_tool_warned in
   6907 yes:)
   6908 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   6909 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6910 ac_tool_warned=yes ;;
   6911 esac
   6912     AR=$ac_ct_AR
   6913   fi
   6914 else
   6915   AR="$ac_cv_prog_AR"
   6916 fi
   6917 
   6918 if test -n "$ac_tool_prefix"; then
   6919   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
   6920 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
   6921 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   6922 $as_echo_n "checking for $ac_word... " >&6; }
   6923 if test "${ac_cv_prog_RANLIB+set}" = set; then
   6924   $as_echo_n "(cached) " >&6
   6925 else
   6926   if test -n "$RANLIB"; then
   6927   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
   6928 else
   6929 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6930 for as_dir in $PATH
   6931 do
   6932   IFS=$as_save_IFS
   6933   test -z "$as_dir" && as_dir=.
   6934   for ac_exec_ext in '' $ac_executable_extensions; do
   6935   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6936     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
   6937     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6938     break 2
   6939   fi
   6940 done
   6941 done
   6942 IFS=$as_save_IFS
   6943 
   6944 fi
   6945 fi
   6946 RANLIB=$ac_cv_prog_RANLIB
   6947 if test -n "$RANLIB"; then
   6948   { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
   6949 $as_echo "$RANLIB" >&6; }
   6950 else
   6951   { $as_echo "$as_me:$LINENO: result: no" >&5
   6952 $as_echo "no" >&6; }
   6953 fi
   6954 
   6955 
   6956 fi
   6957 if test -z "$ac_cv_prog_RANLIB"; then
   6958   ac_ct_RANLIB=$RANLIB
   6959   # Extract the first word of "ranlib", so it can be a program name with args.
   6960 set dummy ranlib; ac_word=$2
   6961 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   6962 $as_echo_n "checking for $ac_word... " >&6; }
   6963 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
   6964   $as_echo_n "(cached) " >&6
   6965 else
   6966   if test -n "$ac_ct_RANLIB"; then
   6967   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
   6968 else
   6969 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6970 for as_dir in $PATH
   6971 do
   6972   IFS=$as_save_IFS
   6973   test -z "$as_dir" && as_dir=.
   6974   for ac_exec_ext in '' $ac_executable_extensions; do
   6975   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6976     ac_cv_prog_ac_ct_RANLIB="ranlib"
   6977     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6978     break 2
   6979   fi
   6980 done
   6981 done
   6982 IFS=$as_save_IFS
   6983 
   6984 fi
   6985 fi
   6986 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
   6987 if test -n "$ac_ct_RANLIB"; then
   6988   { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
   6989 $as_echo "$ac_ct_RANLIB" >&6; }
   6990 else
   6991   { $as_echo "$as_me:$LINENO: result: no" >&5
   6992 $as_echo "no" >&6; }
   6993 fi
   6994 
   6995   if test "x$ac_ct_RANLIB" = x; then
   6996     RANLIB=":"
   6997   else
   6998     case $cross_compiling:$ac_tool_warned in
   6999 yes:)
   7000 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   7001 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7002 ac_tool_warned=yes ;;
   7003 esac
   7004     RANLIB=$ac_ct_RANLIB
   7005   fi
   7006 else
   7007   RANLIB="$ac_cv_prog_RANLIB"
   7008 fi
   7009 
   7010 if test -n "$ac_tool_prefix"; then
   7011   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   7012 set dummy ${ac_tool_prefix}strip; ac_word=$2
   7013 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   7014 $as_echo_n "checking for $ac_word... " >&6; }
   7015 if test "${ac_cv_prog_STRIP+set}" = set; then
   7016   $as_echo_n "(cached) " >&6
   7017 else
   7018   if test -n "$STRIP"; then
   7019   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   7020 else
   7021 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7022 for as_dir in $PATH
   7023 do
   7024   IFS=$as_save_IFS
   7025   test -z "$as_dir" && as_dir=.
   7026   for ac_exec_ext in '' $ac_executable_extensions; do
   7027   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7028     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   7029     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   7030     break 2
   7031   fi
   7032 done
   7033 done
   7034 IFS=$as_save_IFS
   7035 
   7036 fi
   7037 fi
   7038 STRIP=$ac_cv_prog_STRIP
   7039 if test -n "$STRIP"; then
   7040   { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
   7041 $as_echo "$STRIP" >&6; }
   7042 else
   7043   { $as_echo "$as_me:$LINENO: result: no" >&5
   7044 $as_echo "no" >&6; }
   7045 fi
   7046 
   7047 
   7048 fi
   7049 if test -z "$ac_cv_prog_STRIP"; then
   7050   ac_ct_STRIP=$STRIP
   7051   # Extract the first word of "strip", so it can be a program name with args.
   7052 set dummy strip; ac_word=$2
   7053 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   7054 $as_echo_n "checking for $ac_word... " >&6; }
   7055 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
   7056   $as_echo_n "(cached) " >&6
   7057 else
   7058   if test -n "$ac_ct_STRIP"; then
   7059   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   7060 else
   7061 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7062 for as_dir in $PATH
   7063 do
   7064   IFS=$as_save_IFS
   7065   test -z "$as_dir" && as_dir=.
   7066   for ac_exec_ext in '' $ac_executable_extensions; do
   7067   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7068     ac_cv_prog_ac_ct_STRIP="strip"
   7069     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   7070     break 2
   7071   fi
   7072 done
   7073 done
   7074 IFS=$as_save_IFS
   7075 
   7076 fi
   7077 fi
   7078 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   7079 if test -n "$ac_ct_STRIP"; then
   7080   { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
   7081 $as_echo "$ac_ct_STRIP" >&6; }
   7082 else
   7083   { $as_echo "$as_me:$LINENO: result: no" >&5
   7084 $as_echo "no" >&6; }
   7085 fi
   7086 
   7087   if test "x$ac_ct_STRIP" = x; then
   7088     STRIP=":"
   7089   else
   7090     case $cross_compiling:$ac_tool_warned in
   7091 yes:)
   7092 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   7093 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7094 ac_tool_warned=yes ;;
   7095 esac
   7096     STRIP=$ac_ct_STRIP
   7097   fi
   7098 else
   7099   STRIP="$ac_cv_prog_STRIP"
   7100 fi
   7101 
   7102 
   7103 old_CC="$CC"
   7104 old_CFLAGS="$CFLAGS"
   7105 
   7106 # Set sane defaults for various variables
   7107 test -z "$AR" && AR=ar
   7108 test -z "$AR_FLAGS" && AR_FLAGS=cru
   7109 test -z "$AS" && AS=as
   7110 test -z "$CC" && CC=cc
   7111 test -z "$LTCC" && LTCC=$CC
   7112 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
   7113 test -z "$DLLTOOL" && DLLTOOL=dlltool
   7114 test -z "$LD" && LD=ld
   7115 test -z "$LN_S" && LN_S="ln -s"
   7116 test -z "$MAGIC_CMD" && MAGIC_CMD=file
   7117 test -z "$NM" && NM=nm
   7118 test -z "$SED" && SED=sed
   7119 test -z "$OBJDUMP" && OBJDUMP=objdump
   7120 test -z "$RANLIB" && RANLIB=:
   7121 test -z "$STRIP" && STRIP=:
   7122 test -z "$ac_objext" && ac_objext=o
   7123 
   7124 # Determine commands to create old-style static archives.
   7125 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
   7126 old_postinstall_cmds='chmod 644 $oldlib'
   7127 old_postuninstall_cmds=
   7128 
   7129 if test -n "$RANLIB"; then
   7130   case $host_os in
   7131   openbsd*)
   7132     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
   7133     ;;
   7134   *)
   7135     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
   7136     ;;
   7137   esac
   7138   old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
   7139 fi
   7140 
   7141 for cc_temp in $compiler""; do
   7142   case $cc_temp in
   7143     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   7144     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   7145     \-*) ;;
   7146     *) break;;
   7147   esac
   7148 done
   7149 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   7150 
   7151 
   7152 # Only perform the check for file, if the check method requires it
   7153 case $deplibs_check_method in
   7154 file_magic*)
   7155   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
   7156     { $as_echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
   7157 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
   7158 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
   7159   $as_echo_n "(cached) " >&6
   7160 else
   7161   case $MAGIC_CMD in
   7162 [\\/*] |  ?:[\\/]*)
   7163   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   7164   ;;
   7165 *)
   7166   lt_save_MAGIC_CMD="$MAGIC_CMD"
   7167   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   7168   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   7169   for ac_dir in $ac_dummy; do
   7170     IFS="$lt_save_ifs"
   7171     test -z "$ac_dir" && ac_dir=.
   7172     if test -f $ac_dir/${ac_tool_prefix}file; then
   7173       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
   7174       if test -n "$file_magic_test_file"; then
   7175 	case $deplibs_check_method in
   7176 	"file_magic "*)
   7177 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   7178 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7179 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   7180 	    $EGREP "$file_magic_regex" > /dev/null; then
   7181 	    :
   7182 	  else
   7183 	    cat <<EOF 1>&2
   7184 
   7185 *** Warning: the command libtool uses to detect shared libraries,
   7186 *** $file_magic_cmd, produces output that libtool cannot recognize.
   7187 *** The result is that libtool may fail to recognize shared libraries
   7188 *** as such.  This will affect the creation of libtool libraries that
   7189 *** depend on shared libraries, but programs linked with such libtool
   7190 *** libraries will work regardless of this problem.  Nevertheless, you
   7191 *** may want to report the problem to your system manager and/or to
   7192 *** bug-libtool@gnu.org
   7193 
   7194 EOF
   7195 	  fi ;;
   7196 	esac
   7197       fi
   7198       break
   7199     fi
   7200   done
   7201   IFS="$lt_save_ifs"
   7202   MAGIC_CMD="$lt_save_MAGIC_CMD"
   7203   ;;
   7204 esac
   7205 fi
   7206 
   7207 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7208 if test -n "$MAGIC_CMD"; then
   7209   { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
   7210 $as_echo "$MAGIC_CMD" >&6; }
   7211 else
   7212   { $as_echo "$as_me:$LINENO: result: no" >&5
   7213 $as_echo "no" >&6; }
   7214 fi
   7215 
   7216 if test -z "$lt_cv_path_MAGIC_CMD"; then
   7217   if test -n "$ac_tool_prefix"; then
   7218     { $as_echo "$as_me:$LINENO: checking for file" >&5
   7219 $as_echo_n "checking for file... " >&6; }
   7220 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
   7221   $as_echo_n "(cached) " >&6
   7222 else
   7223   case $MAGIC_CMD in
   7224 [\\/*] |  ?:[\\/]*)
   7225   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   7226   ;;
   7227 *)
   7228   lt_save_MAGIC_CMD="$MAGIC_CMD"
   7229   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   7230   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   7231   for ac_dir in $ac_dummy; do
   7232     IFS="$lt_save_ifs"
   7233     test -z "$ac_dir" && ac_dir=.
   7234     if test -f $ac_dir/file; then
   7235       lt_cv_path_MAGIC_CMD="$ac_dir/file"
   7236       if test -n "$file_magic_test_file"; then
   7237 	case $deplibs_check_method in
   7238 	"file_magic "*)
   7239 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   7240 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7241 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   7242 	    $EGREP "$file_magic_regex" > /dev/null; then
   7243 	    :
   7244 	  else
   7245 	    cat <<EOF 1>&2
   7246 
   7247 *** Warning: the command libtool uses to detect shared libraries,
   7248 *** $file_magic_cmd, produces output that libtool cannot recognize.
   7249 *** The result is that libtool may fail to recognize shared libraries
   7250 *** as such.  This will affect the creation of libtool libraries that
   7251 *** depend on shared libraries, but programs linked with such libtool
   7252 *** libraries will work regardless of this problem.  Nevertheless, you
   7253 *** may want to report the problem to your system manager and/or to
   7254 *** bug-libtool@gnu.org
   7255 
   7256 EOF
   7257 	  fi ;;
   7258 	esac
   7259       fi
   7260       break
   7261     fi
   7262   done
   7263   IFS="$lt_save_ifs"
   7264   MAGIC_CMD="$lt_save_MAGIC_CMD"
   7265   ;;
   7266 esac
   7267 fi
   7268 
   7269 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7270 if test -n "$MAGIC_CMD"; then
   7271   { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
   7272 $as_echo "$MAGIC_CMD" >&6; }
   7273 else
   7274   { $as_echo "$as_me:$LINENO: result: no" >&5
   7275 $as_echo "no" >&6; }
   7276 fi
   7277 
   7278   else
   7279     MAGIC_CMD=:
   7280   fi
   7281 fi
   7282 
   7283   fi
   7284   ;;
   7285 esac
   7286 
   7287 
   7288   case $host_os in
   7289     rhapsody* | darwin*)
   7290     if test -n "$ac_tool_prefix"; then
   7291   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
   7292 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
   7293 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   7294 $as_echo_n "checking for $ac_word... " >&6; }
   7295 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then
   7296   $as_echo_n "(cached) " >&6
   7297 else
   7298   if test -n "$DSYMUTIL"; then
   7299   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
   7300 else
   7301 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7302 for as_dir in $PATH
   7303 do
   7304   IFS=$as_save_IFS
   7305   test -z "$as_dir" && as_dir=.
   7306   for ac_exec_ext in '' $ac_executable_extensions; do
   7307   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7308     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
   7309     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   7310     break 2
   7311   fi
   7312 done
   7313 done
   7314 IFS=$as_save_IFS
   7315 
   7316 fi
   7317 fi
   7318 DSYMUTIL=$ac_cv_prog_DSYMUTIL
   7319 if test -n "$DSYMUTIL"; then
   7320   { $as_echo "$as_me:$LINENO: result: $DSYMUTIL" >&5
   7321 $as_echo "$DSYMUTIL" >&6; }
   7322 else
   7323   { $as_echo "$as_me:$LINENO: result: no" >&5
   7324 $as_echo "no" >&6; }
   7325 fi
   7326 
   7327 
   7328 fi
   7329 if test -z "$ac_cv_prog_DSYMUTIL"; then
   7330   ac_ct_DSYMUTIL=$DSYMUTIL
   7331   # Extract the first word of "dsymutil", so it can be a program name with args.
   7332 set dummy dsymutil; ac_word=$2
   7333 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   7334 $as_echo_n "checking for $ac_word... " >&6; }
   7335 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then
   7336   $as_echo_n "(cached) " >&6
   7337 else
   7338   if test -n "$ac_ct_DSYMUTIL"; then
   7339   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
   7340 else
   7341 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7342 for as_dir in $PATH
   7343 do
   7344   IFS=$as_save_IFS
   7345   test -z "$as_dir" && as_dir=.
   7346   for ac_exec_ext in '' $ac_executable_extensions; do
   7347   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7348     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
   7349     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   7350     break 2
   7351   fi
   7352 done
   7353 done
   7354 IFS=$as_save_IFS
   7355 
   7356 fi
   7357 fi
   7358 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
   7359 if test -n "$ac_ct_DSYMUTIL"; then
   7360   { $as_echo "$as_me:$LINENO: result: $ac_ct_DSYMUTIL" >&5
   7361 $as_echo "$ac_ct_DSYMUTIL" >&6; }
   7362 else
   7363   { $as_echo "$as_me:$LINENO: result: no" >&5
   7364 $as_echo "no" >&6; }
   7365 fi
   7366 
   7367   if test "x$ac_ct_DSYMUTIL" = x; then
   7368     DSYMUTIL=":"
   7369   else
   7370     case $cross_compiling:$ac_tool_warned in
   7371 yes:)
   7372 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   7373 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7374 ac_tool_warned=yes ;;
   7375 esac
   7376     DSYMUTIL=$ac_ct_DSYMUTIL
   7377   fi
   7378 else
   7379   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
   7380 fi
   7381 
   7382     if test -n "$ac_tool_prefix"; then
   7383   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
   7384 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
   7385 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   7386 $as_echo_n "checking for $ac_word... " >&6; }
   7387 if test "${ac_cv_prog_NMEDIT+set}" = set; then
   7388   $as_echo_n "(cached) " >&6
   7389 else
   7390   if test -n "$NMEDIT"; then
   7391   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
   7392 else
   7393 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7394 for as_dir in $PATH
   7395 do
   7396   IFS=$as_save_IFS
   7397   test -z "$as_dir" && as_dir=.
   7398   for ac_exec_ext in '' $ac_executable_extensions; do
   7399   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7400     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
   7401     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   7402     break 2
   7403   fi
   7404 done
   7405 done
   7406 IFS=$as_save_IFS
   7407 
   7408 fi
   7409 fi
   7410 NMEDIT=$ac_cv_prog_NMEDIT
   7411 if test -n "$NMEDIT"; then
   7412   { $as_echo "$as_me:$LINENO: result: $NMEDIT" >&5
   7413 $as_echo "$NMEDIT" >&6; }
   7414 else
   7415   { $as_echo "$as_me:$LINENO: result: no" >&5
   7416 $as_echo "no" >&6; }
   7417 fi
   7418 
   7419 
   7420 fi
   7421 if test -z "$ac_cv_prog_NMEDIT"; then
   7422   ac_ct_NMEDIT=$NMEDIT
   7423   # Extract the first word of "nmedit", so it can be a program name with args.
   7424 set dummy nmedit; ac_word=$2
   7425 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   7426 $as_echo_n "checking for $ac_word... " >&6; }
   7427 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then
   7428   $as_echo_n "(cached) " >&6
   7429 else
   7430   if test -n "$ac_ct_NMEDIT"; then
   7431   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
   7432 else
   7433 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7434 for as_dir in $PATH
   7435 do
   7436   IFS=$as_save_IFS
   7437   test -z "$as_dir" && as_dir=.
   7438   for ac_exec_ext in '' $ac_executable_extensions; do
   7439   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7440     ac_cv_prog_ac_ct_NMEDIT="nmedit"
   7441     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   7442     break 2
   7443   fi
   7444 done
   7445 done
   7446 IFS=$as_save_IFS
   7447 
   7448 fi
   7449 fi
   7450 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
   7451 if test -n "$ac_ct_NMEDIT"; then
   7452   { $as_echo "$as_me:$LINENO: result: $ac_ct_NMEDIT" >&5
   7453 $as_echo "$ac_ct_NMEDIT" >&6; }
   7454 else
   7455   { $as_echo "$as_me:$LINENO: result: no" >&5
   7456 $as_echo "no" >&6; }
   7457 fi
   7458 
   7459   if test "x$ac_ct_NMEDIT" = x; then
   7460     NMEDIT=":"
   7461   else
   7462     case $cross_compiling:$ac_tool_warned in
   7463 yes:)
   7464 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   7465 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7466 ac_tool_warned=yes ;;
   7467 esac
   7468     NMEDIT=$ac_ct_NMEDIT
   7469   fi
   7470 else
   7471   NMEDIT="$ac_cv_prog_NMEDIT"
   7472 fi
   7473 
   7474 
   7475     { $as_echo "$as_me:$LINENO: checking for -single_module linker flag" >&5
   7476 $as_echo_n "checking for -single_module linker flag... " >&6; }
   7477 if test "${lt_cv_apple_cc_single_mod+set}" = set; then
   7478   $as_echo_n "(cached) " >&6
   7479 else
   7480   lt_cv_apple_cc_single_mod=no
   7481       if test -z "${LT_MULTI_MODULE}"; then
   7482    # By default we will add the -single_module flag. You can override
   7483    # by either setting the environment variable LT_MULTI_MODULE
   7484    # non-empty at configure time, or by adding -multi_module to the
   7485    # link flags.
   7486    echo "int foo(void){return 1;}" > conftest.c
   7487    $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   7488      -dynamiclib ${wl}-single_module conftest.c
   7489    if test -f libconftest.dylib; then
   7490      lt_cv_apple_cc_single_mod=yes
   7491      rm -rf libconftest.dylib*
   7492    fi
   7493    rm conftest.c
   7494       fi
   7495 fi
   7496 { $as_echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5
   7497 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
   7498     { $as_echo "$as_me:$LINENO: checking for -exported_symbols_list linker flag" >&5
   7499 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
   7500 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then
   7501   $as_echo_n "(cached) " >&6
   7502 else
   7503   lt_cv_ld_exported_symbols_list=no
   7504       save_LDFLAGS=$LDFLAGS
   7505       echo "_main" > conftest.sym
   7506       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
   7507       cat >conftest.$ac_ext <<_ACEOF
   7508 /* confdefs.h.  */
   7509 _ACEOF
   7510 cat confdefs.h >>conftest.$ac_ext
   7511 cat >>conftest.$ac_ext <<_ACEOF
   7512 /* end confdefs.h.  */
   7513 
   7514 int
   7515 main ()
   7516 {
   7517 
   7518   ;
   7519   return 0;
   7520 }
   7521 _ACEOF
   7522 rm -f conftest.$ac_objext conftest$ac_exeext
   7523 if { (ac_try="$ac_link"
   7524 case "(($ac_try" in
   7525   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   7526   *) ac_try_echo=$ac_try;;
   7527 esac
   7528 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   7529 $as_echo "$ac_try_echo") >&5
   7530   (eval "$ac_link") 2>conftest.er1
   7531   ac_status=$?
   7532   grep -v '^ *+' conftest.er1 >conftest.err
   7533   rm -f conftest.er1
   7534   cat conftest.err >&5
   7535   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7536   (exit $ac_status); } && {
   7537 	 test -z "$ac_c_werror_flag" ||
   7538 	 test ! -s conftest.err
   7539        } && test -s conftest$ac_exeext && {
   7540 	 test "$cross_compiling" = yes ||
   7541 	 $as_test_x conftest$ac_exeext
   7542        }; then
   7543   lt_cv_ld_exported_symbols_list=yes
   7544 else
   7545   $as_echo "$as_me: failed program was:" >&5
   7546 sed 's/^/| /' conftest.$ac_ext >&5
   7547 
   7548 	lt_cv_ld_exported_symbols_list=no
   7549 fi
   7550 
   7551 rm -rf conftest.dSYM
   7552 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   7553       conftest$ac_exeext conftest.$ac_ext
   7554    LDFLAGS="$save_LDFLAGS"
   7555 
   7556 fi
   7557 { $as_echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5
   7558 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
   7559     case $host_os in
   7560     rhapsody* | darwin1.[0123])
   7561       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
   7562     darwin1.*)
   7563      _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
   7564     darwin*)
   7565       # if running on 10.5 or later, the deployment target defaults
   7566       # to the OS version, if on x86, and 10.4, the deployment
   7567       # target defaults to 10.4. Don't you love it?
   7568       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
   7569    10.0,*86*-darwin8*|10.0,*-darwin[91]*)
   7570      _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
   7571    10.[012]*)
   7572      _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
   7573    10.*)
   7574      _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
   7575       esac
   7576     ;;
   7577   esac
   7578     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
   7579       _lt_dar_single_mod='$single_module'
   7580     fi
   7581     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
   7582       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
   7583     else
   7584       _lt_dar_export_syms="~$NMEDIT -s \$output_objdir/\${libname}-symbols.expsym \${lib}"
   7585     fi
   7586     if test "$DSYMUTIL" != ":"; then
   7587       _lt_dsymutil="~$DSYMUTIL \$lib || :"
   7588     else
   7589       _lt_dsymutil=
   7590     fi
   7591     ;;
   7592   esac
   7593 
   7594 
   7595 enable_dlopen=no
   7596 enable_win32_dll=no
   7597 
   7598 # Check whether --enable-libtool-lock was given.
   7599 if test "${enable_libtool_lock+set}" = set; then
   7600   enableval=$enable_libtool_lock;
   7601 fi
   7602 
   7603 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
   7604 
   7605 
   7606 # Check whether --with-pic was given.
   7607 if test "${with_pic+set}" = set; then
   7608   withval=$with_pic; pic_mode="$withval"
   7609 else
   7610   pic_mode=default
   7611 fi
   7612 
   7613 test -z "$pic_mode" && pic_mode=default
   7614 
   7615 # Use C for the default configuration in the libtool script
   7616 tagname=
   7617 lt_save_CC="$CC"
   7618 ac_ext=c
   7619 ac_cpp='$CPP $CPPFLAGS'
   7620 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7621 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7622 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7623 
   7624 
   7625 # Source file extension for C test sources.
   7626 ac_ext=c
   7627 
   7628 # Object file extension for compiled C test sources.
   7629 objext=o
   7630 objext=$objext
   7631 
   7632 # Code to be used in simple compile tests
   7633 lt_simple_compile_test_code="int some_variable = 0;"
   7634 
   7635 # Code to be used in simple link tests
   7636 lt_simple_link_test_code='int main(){return(0);}'
   7637 
   7638 
   7639 # If no C compiler was specified, use CC.
   7640 LTCC=${LTCC-"$CC"}
   7641 
   7642 # If no C compiler flags were specified, use CFLAGS.
   7643 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   7644 
   7645 # Allow CC to be a program name with arguments.
   7646 compiler=$CC
   7647 
   7648 
   7649 # save warnings/boilerplate of simple test code
   7650 ac_outfile=conftest.$ac_objext
   7651 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   7652 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   7653 _lt_compiler_boilerplate=`cat conftest.err`
   7654 $rm conftest*
   7655 
   7656 ac_outfile=conftest.$ac_objext
   7657 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   7658 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   7659 _lt_linker_boilerplate=`cat conftest.err`
   7660 $rm -r conftest*
   7661 
   7662 
   7663 
   7664 lt_prog_compiler_no_builtin_flag=
   7665 
   7666 if test "$GCC" = yes; then
   7667   lt_prog_compiler_no_builtin_flag=' -fno-builtin'
   7668 
   7669 
   7670 { $as_echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
   7671 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
   7672 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
   7673   $as_echo_n "(cached) " >&6
   7674 else
   7675   lt_cv_prog_compiler_rtti_exceptions=no
   7676   ac_outfile=conftest.$ac_objext
   7677    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   7678    lt_compiler_flag="-fno-rtti -fno-exceptions"
   7679    # Insert the option either (1) after the last *FLAGS variable, or
   7680    # (2) before a word containing "conftest.", or (3) at the end.
   7681    # Note that $ac_compile itself does not contain backslashes and begins
   7682    # with a dollar sign (not a hyphen), so the echo should work correctly.
   7683    # The option is referenced via a variable to avoid confusing sed.
   7684    lt_compile=`echo "$ac_compile" | $SED \
   7685    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   7686    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   7687    -e 's:$: $lt_compiler_flag:'`
   7688    (eval echo "\"\$as_me:7688: $lt_compile\"" >&5)
   7689    (eval "$lt_compile" 2>conftest.err)
   7690    ac_status=$?
   7691    cat conftest.err >&5
   7692    echo "$as_me:7692: \$? = $ac_status" >&5
   7693    if (exit $ac_status) && test -s "$ac_outfile"; then
   7694      # The compiler can only warn and ignore the option if not recognized
   7695      # So say no if there are warnings other than the usual output.
   7696      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   7697      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   7698      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   7699        lt_cv_prog_compiler_rtti_exceptions=yes
   7700      fi
   7701    fi
   7702    $rm conftest*
   7703 
   7704 fi
   7705 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
   7706 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
   7707 
   7708 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
   7709     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
   7710 else
   7711     :
   7712 fi
   7713 
   7714 fi
   7715 
   7716 lt_prog_compiler_wl=
   7717 lt_prog_compiler_pic=
   7718 lt_prog_compiler_static=
   7719 
   7720 { $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
   7721 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
   7722 
   7723   if test "$GCC" = yes; then
   7724     lt_prog_compiler_wl='-Wl,'
   7725     lt_prog_compiler_static='-static'
   7726 
   7727     case $host_os in
   7728       aix*)
   7729       # All AIX code is PIC.
   7730       if test "$host_cpu" = ia64; then
   7731 	# AIX 5 now supports IA64 processor
   7732 	lt_prog_compiler_static='-Bstatic'
   7733       fi
   7734       ;;
   7735 
   7736     amigaos*)
   7737       # FIXME: we need at least 68020 code to build shared libraries, but
   7738       # adding the `-m68020' flag to GCC prevents building anything better,
   7739       # like `-m68040'.
   7740       lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
   7741       ;;
   7742 
   7743     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   7744       # PIC is the default for these OSes.
   7745       ;;
   7746 
   7747     mingw* | cygwin* | pw32* | os2*)
   7748       # This hack is so that the source file can tell whether it is being
   7749       # built for inclusion in a dll (and should export symbols for example).
   7750       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   7751       # (--disable-auto-import) libraries
   7752       lt_prog_compiler_pic='-DDLL_EXPORT'
   7753       ;;
   7754 
   7755     darwin* | rhapsody*)
   7756       # PIC is the default on this platform
   7757       # Common symbols not allowed in MH_DYLIB files
   7758       lt_prog_compiler_pic='-fno-common'
   7759       ;;
   7760 
   7761     interix[3-9]*)
   7762       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   7763       # Instead, we relocate shared libraries at runtime.
   7764       ;;
   7765 
   7766     msdosdjgpp*)
   7767       # Just because we use GCC doesn't mean we suddenly get shared libraries
   7768       # on systems that don't support them.
   7769       lt_prog_compiler_can_build_shared=no
   7770       enable_shared=no
   7771       ;;
   7772 
   7773     sysv4*MP*)
   7774       if test -d /usr/nec; then
   7775 	lt_prog_compiler_pic=-Kconform_pic
   7776       fi
   7777       ;;
   7778 
   7779     hpux*)
   7780       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   7781       # not for PA HP-UX.
   7782       case $host_cpu in
   7783       hppa*64*|ia64*)
   7784 	# +Z the default
   7785 	;;
   7786       *)
   7787 	lt_prog_compiler_pic='-fPIC'
   7788 	;;
   7789       esac
   7790       ;;
   7791 
   7792     *)
   7793       lt_prog_compiler_pic='-fPIC'
   7794       ;;
   7795     esac
   7796   else
   7797     # PORTME Check for flag to pass linker flags through the system compiler.
   7798     case $host_os in
   7799     aix*)
   7800       lt_prog_compiler_wl='-Wl,'
   7801       if test "$host_cpu" = ia64; then
   7802 	# AIX 5 now supports IA64 processor
   7803 	lt_prog_compiler_static='-Bstatic'
   7804       else
   7805 	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
   7806       fi
   7807       ;;
   7808       darwin*)
   7809         # PIC is the default on this platform
   7810         # Common symbols not allowed in MH_DYLIB files
   7811        case $cc_basename in
   7812          xlc*)
   7813          lt_prog_compiler_pic='-qnocommon'
   7814          lt_prog_compiler_wl='-Wl,'
   7815          ;;
   7816        esac
   7817        ;;
   7818 
   7819     mingw* | cygwin* | pw32* | os2*)
   7820       # This hack is so that the source file can tell whether it is being
   7821       # built for inclusion in a dll (and should export symbols for example).
   7822       lt_prog_compiler_pic='-DDLL_EXPORT'
   7823       ;;
   7824 
   7825     hpux9* | hpux10* | hpux11*)
   7826       lt_prog_compiler_wl='-Wl,'
   7827       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   7828       # not for PA HP-UX.
   7829       case $host_cpu in
   7830       hppa*64*|ia64*)
   7831 	# +Z the default
   7832 	;;
   7833       *)
   7834 	lt_prog_compiler_pic='+Z'
   7835 	;;
   7836       esac
   7837       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   7838       lt_prog_compiler_static='${wl}-a ${wl}archive'
   7839       ;;
   7840 
   7841     irix5* | irix6* | nonstopux*)
   7842       lt_prog_compiler_wl='-Wl,'
   7843       # PIC (with -KPIC) is the default.
   7844       lt_prog_compiler_static='-non_shared'
   7845       ;;
   7846 
   7847     newsos6)
   7848       lt_prog_compiler_pic='-KPIC'
   7849       lt_prog_compiler_static='-Bstatic'
   7850       ;;
   7851 
   7852     linux* | k*bsd*-gnu)
   7853       case $cc_basename in
   7854       icc* | ecc*)
   7855 	lt_prog_compiler_wl='-Wl,'
   7856 	lt_prog_compiler_pic='-KPIC'
   7857 	lt_prog_compiler_static='-static'
   7858         ;;
   7859       pgcc* | pgf77* | pgf90* | pgf95*)
   7860         # Portland Group compilers (*not* the Pentium gcc compiler,
   7861 	# which looks to be a dead project)
   7862 	lt_prog_compiler_wl='-Wl,'
   7863 	lt_prog_compiler_pic='-fpic'
   7864 	lt_prog_compiler_static='-Bstatic'
   7865         ;;
   7866       ccc*)
   7867         lt_prog_compiler_wl='-Wl,'
   7868         # All Alpha code is PIC.
   7869         lt_prog_compiler_static='-non_shared'
   7870         ;;
   7871       *)
   7872         case `$CC -V 2>&1 | sed 5q` in
   7873 	*Sun\ C*)
   7874 	  # Sun C 5.9
   7875 	  lt_prog_compiler_pic='-KPIC'
   7876 	  lt_prog_compiler_static='-Bstatic'
   7877 	  lt_prog_compiler_wl='-Wl,'
   7878 	  ;;
   7879 	*Sun\ F*)
   7880 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   7881 	  lt_prog_compiler_pic='-KPIC'
   7882 	  lt_prog_compiler_static='-Bstatic'
   7883 	  lt_prog_compiler_wl=''
   7884 	  ;;
   7885 	esac
   7886 	;;
   7887       esac
   7888       ;;
   7889 
   7890     osf3* | osf4* | osf5*)
   7891       lt_prog_compiler_wl='-Wl,'
   7892       # All OSF/1 code is PIC.
   7893       lt_prog_compiler_static='-non_shared'
   7894       ;;
   7895 
   7896     rdos*)
   7897       lt_prog_compiler_static='-non_shared'
   7898       ;;
   7899 
   7900     solaris*)
   7901       lt_prog_compiler_pic='-KPIC'
   7902       lt_prog_compiler_static='-Bstatic'
   7903       case $cc_basename in
   7904       f77* | f90* | f95*)
   7905 	lt_prog_compiler_wl='-Qoption ld ';;
   7906       *)
   7907 	lt_prog_compiler_wl='-Wl,';;
   7908       esac
   7909       ;;
   7910 
   7911     sunos4*)
   7912       lt_prog_compiler_wl='-Qoption ld '
   7913       lt_prog_compiler_pic='-PIC'
   7914       lt_prog_compiler_static='-Bstatic'
   7915       ;;
   7916 
   7917     sysv4 | sysv4.2uw2* | sysv4.3*)
   7918       lt_prog_compiler_wl='-Wl,'
   7919       lt_prog_compiler_pic='-KPIC'
   7920       lt_prog_compiler_static='-Bstatic'
   7921       ;;
   7922 
   7923     sysv4*MP*)
   7924       if test -d /usr/nec ;then
   7925 	lt_prog_compiler_pic='-Kconform_pic'
   7926 	lt_prog_compiler_static='-Bstatic'
   7927       fi
   7928       ;;
   7929 
   7930     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   7931       lt_prog_compiler_wl='-Wl,'
   7932       lt_prog_compiler_pic='-KPIC'
   7933       lt_prog_compiler_static='-Bstatic'
   7934       ;;
   7935 
   7936     unicos*)
   7937       lt_prog_compiler_wl='-Wl,'
   7938       lt_prog_compiler_can_build_shared=no
   7939       ;;
   7940 
   7941     uts4*)
   7942       lt_prog_compiler_pic='-pic'
   7943       lt_prog_compiler_static='-Bstatic'
   7944       ;;
   7945 
   7946     *)
   7947       lt_prog_compiler_can_build_shared=no
   7948       ;;
   7949     esac
   7950   fi
   7951 
   7952 { $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
   7953 $as_echo "$lt_prog_compiler_pic" >&6; }
   7954 
   7955 #
   7956 # Check to make sure the PIC flag actually works.
   7957 #
   7958 if test -n "$lt_prog_compiler_pic"; then
   7959 
   7960 { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
   7961 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
   7962 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then
   7963   $as_echo_n "(cached) " >&6
   7964 else
   7965   lt_cv_prog_compiler_pic_works=no
   7966   ac_outfile=conftest.$ac_objext
   7967    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   7968    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
   7969    # Insert the option either (1) after the last *FLAGS variable, or
   7970    # (2) before a word containing "conftest.", or (3) at the end.
   7971    # Note that $ac_compile itself does not contain backslashes and begins
   7972    # with a dollar sign (not a hyphen), so the echo should work correctly.
   7973    # The option is referenced via a variable to avoid confusing sed.
   7974    lt_compile=`echo "$ac_compile" | $SED \
   7975    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   7976    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   7977    -e 's:$: $lt_compiler_flag:'`
   7978    (eval echo "\"\$as_me:7978: $lt_compile\"" >&5)
   7979    (eval "$lt_compile" 2>conftest.err)
   7980    ac_status=$?
   7981    cat conftest.err >&5
   7982    echo "$as_me:7982: \$? = $ac_status" >&5
   7983    if (exit $ac_status) && test -s "$ac_outfile"; then
   7984      # The compiler can only warn and ignore the option if not recognized
   7985      # So say no if there are warnings other than the usual output.
   7986      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   7987      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   7988      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   7989        lt_cv_prog_compiler_pic_works=yes
   7990      fi
   7991    fi
   7992    $rm conftest*
   7993 
   7994 fi
   7995 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5
   7996 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
   7997 
   7998 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
   7999     case $lt_prog_compiler_pic in
   8000      "" | " "*) ;;
   8001      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
   8002      esac
   8003 else
   8004     lt_prog_compiler_pic=
   8005      lt_prog_compiler_can_build_shared=no
   8006 fi
   8007 
   8008 fi
   8009 case $host_os in
   8010   # For platforms which do not support PIC, -DPIC is meaningless:
   8011   *djgpp*)
   8012     lt_prog_compiler_pic=
   8013     ;;
   8014   *)
   8015     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
   8016     ;;
   8017 esac
   8018 
   8019 #
   8020 # Check to make sure the static flag actually works.
   8021 #
   8022 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
   8023 { $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   8024 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   8025 if test "${lt_cv_prog_compiler_static_works+set}" = set; then
   8026   $as_echo_n "(cached) " >&6
   8027 else
   8028   lt_cv_prog_compiler_static_works=no
   8029    save_LDFLAGS="$LDFLAGS"
   8030    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   8031    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   8032    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   8033      # The linker can only warn and ignore the option if not recognized
   8034      # So say no if there are warnings
   8035      if test -s conftest.err; then
   8036        # Append any errors to the config.log.
   8037        cat conftest.err 1>&5
   8038        $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
   8039        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   8040        if diff conftest.exp conftest.er2 >/dev/null; then
   8041          lt_cv_prog_compiler_static_works=yes
   8042        fi
   8043      else
   8044        lt_cv_prog_compiler_static_works=yes
   8045      fi
   8046    fi
   8047    $rm -r conftest*
   8048    LDFLAGS="$save_LDFLAGS"
   8049 
   8050 fi
   8051 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5
   8052 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
   8053 
   8054 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
   8055     :
   8056 else
   8057     lt_prog_compiler_static=
   8058 fi
   8059 
   8060 
   8061 { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
   8062 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   8063 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
   8064   $as_echo_n "(cached) " >&6
   8065 else
   8066   lt_cv_prog_compiler_c_o=no
   8067    $rm -r conftest 2>/dev/null
   8068    mkdir conftest
   8069    cd conftest
   8070    mkdir out
   8071    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8072 
   8073    lt_compiler_flag="-o out/conftest2.$ac_objext"
   8074    # Insert the option either (1) after the last *FLAGS variable, or
   8075    # (2) before a word containing "conftest.", or (3) at the end.
   8076    # Note that $ac_compile itself does not contain backslashes and begins
   8077    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8078    lt_compile=`echo "$ac_compile" | $SED \
   8079    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8080    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8081    -e 's:$: $lt_compiler_flag:'`
   8082    (eval echo "\"\$as_me:8082: $lt_compile\"" >&5)
   8083    (eval "$lt_compile" 2>out/conftest.err)
   8084    ac_status=$?
   8085    cat out/conftest.err >&5
   8086    echo "$as_me:8086: \$? = $ac_status" >&5
   8087    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   8088    then
   8089      # The compiler can only warn and ignore the option if not recognized
   8090      # So say no if there are warnings
   8091      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
   8092      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   8093      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   8094        lt_cv_prog_compiler_c_o=yes
   8095      fi
   8096    fi
   8097    chmod u+w . 2>&5
   8098    $rm conftest*
   8099    # SGI C++ compiler will create directory out/ii_files/ for
   8100    # template instantiation
   8101    test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
   8102    $rm out/* && rmdir out
   8103    cd ..
   8104    rmdir conftest
   8105    $rm conftest*
   8106 
   8107 fi
   8108 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
   8109 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   8110 
   8111 
   8112 hard_links="nottested"
   8113 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
   8114   # do not overwrite the value of need_locks provided by the user
   8115   { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
   8116 $as_echo_n "checking if we can lock with hard links... " >&6; }
   8117   hard_links=yes
   8118   $rm conftest*
   8119   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   8120   touch conftest.a
   8121   ln conftest.a conftest.b 2>&5 || hard_links=no
   8122   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   8123   { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
   8124 $as_echo "$hard_links" >&6; }
   8125   if test "$hard_links" = no; then
   8126     { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   8127 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   8128     need_locks=warn
   8129   fi
   8130 else
   8131   need_locks=no
   8132 fi
   8133 
   8134 { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   8135 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   8136 
   8137   runpath_var=
   8138   allow_undefined_flag=
   8139   enable_shared_with_static_runtimes=no
   8140   archive_cmds=
   8141   archive_expsym_cmds=
   8142   old_archive_From_new_cmds=
   8143   old_archive_from_expsyms_cmds=
   8144   export_dynamic_flag_spec=
   8145   whole_archive_flag_spec=
   8146   thread_safe_flag_spec=
   8147   hardcode_libdir_flag_spec=
   8148   hardcode_libdir_flag_spec_ld=
   8149   hardcode_libdir_separator=
   8150   hardcode_direct=no
   8151   hardcode_minus_L=no
   8152   hardcode_shlibpath_var=unsupported
   8153   link_all_deplibs=unknown
   8154   hardcode_automatic=no
   8155   module_cmds=
   8156   module_expsym_cmds=
   8157   always_export_symbols=no
   8158   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   8159   # include_expsyms should be a list of space-separated symbols to be *always*
   8160   # included in the symbol list
   8161   include_expsyms=
   8162   # exclude_expsyms can be an extended regexp of symbols to exclude
   8163   # it will be wrapped by ` (' and `)$', so one must not match beginning or
   8164   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
   8165   # as well as any symbol that contains `d'.
   8166   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   8167   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   8168   # platforms (ab)use it in PIC code, but their linkers get confused if
   8169   # the symbol is explicitly referenced.  Since portable code cannot
   8170   # rely on this symbol name, it's probably fine to never include it in
   8171   # preloaded symbol tables.
   8172   # Exclude shared library initialization/finalization symbols.
   8173   extract_expsyms_cmds=
   8174   # Just being paranoid about ensuring that cc_basename is set.
   8175   for cc_temp in $compiler""; do
   8176   case $cc_temp in
   8177     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   8178     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   8179     \-*) ;;
   8180     *) break;;
   8181   esac
   8182 done
   8183 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   8184 
   8185   case $host_os in
   8186   cygwin* | mingw* | pw32*)
   8187     # FIXME: the MSVC++ port hasn't been tested in a loooong time
   8188     # When not using gcc, we currently assume that we are using
   8189     # Microsoft Visual C++.
   8190     if test "$GCC" != yes; then
   8191       with_gnu_ld=no
   8192     fi
   8193     ;;
   8194   interix*)
   8195     # we just hope/assume this is gcc and not c89 (= MSVC++)
   8196     with_gnu_ld=yes
   8197     ;;
   8198   openbsd*)
   8199     with_gnu_ld=no
   8200     ;;
   8201   esac
   8202 
   8203   ld_shlibs=yes
   8204   if test "$with_gnu_ld" = yes; then
   8205     # If archive_cmds runs LD, not CC, wlarc should be empty
   8206     wlarc='${wl}'
   8207 
   8208     # Set some defaults for GNU ld with shared library support. These
   8209     # are reset later if shared libraries are not supported. Putting them
   8210     # here allows them to be overridden if necessary.
   8211     runpath_var=LD_RUN_PATH
   8212     hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
   8213     export_dynamic_flag_spec='${wl}--export-dynamic'
   8214     # ancient GNU ld didn't support --whole-archive et. al.
   8215     if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
   8216 	whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   8217       else
   8218   	whole_archive_flag_spec=
   8219     fi
   8220     supports_anon_versioning=no
   8221     case `$LD -v 2>/dev/null` in
   8222       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   8223       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   8224       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   8225       *\ 2.11.*) ;; # other 2.11 versions
   8226       *) supports_anon_versioning=yes ;;
   8227     esac
   8228 
   8229     # See if GNU ld supports shared libraries.
   8230     case $host_os in
   8231     aix[3-9]*)
   8232       # On AIX/PPC, the GNU linker is very broken
   8233       if test "$host_cpu" != ia64; then
   8234 	ld_shlibs=no
   8235 	cat <<EOF 1>&2
   8236 
   8237 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
   8238 *** to be unable to reliably create shared libraries on AIX.
   8239 *** Therefore, libtool is disabling shared libraries support.  If you
   8240 *** really care for shared libraries, you may want to modify your PATH
   8241 *** so that a non-GNU linker is found, and then restart.
   8242 
   8243 EOF
   8244       fi
   8245       ;;
   8246 
   8247     amigaos*)
   8248       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)'
   8249       hardcode_libdir_flag_spec='-L$libdir'
   8250       hardcode_minus_L=yes
   8251 
   8252       # Samuel A. Falvo II <kc5tja (at] dolphin.openprojects.net> reports
   8253       # that the semantics of dynamic libraries on AmigaOS, at least up
   8254       # to version 4, is to share data among multiple programs linked
   8255       # with the same dynamic library.  Since this doesn't match the
   8256       # behavior of shared libraries on other platforms, we can't use
   8257       # them.
   8258       ld_shlibs=no
   8259       ;;
   8260 
   8261     beos*)
   8262       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   8263 	allow_undefined_flag=unsupported
   8264 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   8265 	# support --undefined.  This deserves some investigation.  FIXME
   8266 	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8267       else
   8268 	ld_shlibs=no
   8269       fi
   8270       ;;
   8271 
   8272     cygwin* | mingw* | pw32*)
   8273       # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
   8274       # as there is no search path for DLLs.
   8275       hardcode_libdir_flag_spec='-L$libdir'
   8276       allow_undefined_flag=unsupported
   8277       always_export_symbols=no
   8278       enable_shared_with_static_runtimes=yes
   8279       export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
   8280 
   8281       if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
   8282         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   8283 	# If the export-symbols file already is a .def file (1st line
   8284 	# is EXPORTS), use it as is; otherwise, prepend...
   8285 	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   8286 	  cp $export_symbols $output_objdir/$soname.def;
   8287 	else
   8288 	  echo EXPORTS > $output_objdir/$soname.def;
   8289 	  cat $export_symbols >> $output_objdir/$soname.def;
   8290 	fi~
   8291 	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   8292       else
   8293 	ld_shlibs=no
   8294       fi
   8295       ;;
   8296 
   8297     interix[3-9]*)
   8298       hardcode_direct=no
   8299       hardcode_shlibpath_var=no
   8300       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   8301       export_dynamic_flag_spec='${wl}-E'
   8302       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   8303       # Instead, shared libraries are loaded at an image base (0x10000000 by
   8304       # default) and relocated if they conflict, which is a slow very memory
   8305       # consuming and fragmenting process.  To avoid this, we pick a random,
   8306       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   8307       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   8308       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
   8309       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'
   8310       ;;
   8311 
   8312     gnu* | linux* | k*bsd*-gnu)
   8313       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   8314 	tmp_addflag=
   8315 	case $cc_basename,$host_cpu in
   8316 	pgcc*)				# Portland Group C compiler
   8317 	  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'
   8318 	  tmp_addflag=' $pic_flag'
   8319 	  ;;
   8320 	pgf77* | pgf90* | pgf95*)	# Portland Group f77 and f90 compilers
   8321 	  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'
   8322 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   8323 	ecc*,ia64* | icc*,ia64*)		# Intel C compiler on ia64
   8324 	  tmp_addflag=' -i_dynamic' ;;
   8325 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   8326 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   8327 	ifc* | ifort*)			# Intel Fortran compiler
   8328 	  tmp_addflag=' -nofor_main' ;;
   8329 	esac
   8330 	case `$CC -V 2>&1 | sed 5q` in
   8331 	*Sun\ C*)			# Sun C 5.9
   8332 	  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'
   8333 	  tmp_sharedflag='-G' ;;
   8334 	*Sun\ F*)			# Sun Fortran 8.3
   8335 	  tmp_sharedflag='-G' ;;
   8336 	*)
   8337 	  tmp_sharedflag='-shared' ;;
   8338 	esac
   8339 	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8340 
   8341 	if test $supports_anon_versioning = yes; then
   8342 	  archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~
   8343   cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   8344   $echo "local: *; };" >> $output_objdir/$libname.ver~
   8345 	  $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
   8346 	fi
   8347       else
   8348 	ld_shlibs=no
   8349       fi
   8350       ;;
   8351 
   8352     netbsd*)
   8353       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   8354 	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   8355 	wlarc=
   8356       else
   8357 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8358 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8359       fi
   8360       ;;
   8361 
   8362     solaris*)
   8363       if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
   8364 	ld_shlibs=no
   8365 	cat <<EOF 1>&2
   8366 
   8367 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   8368 *** create shared libraries on Solaris systems.  Therefore, libtool
   8369 *** is disabling shared libraries support.  We urge you to upgrade GNU
   8370 *** binutils to release 2.9.1 or newer.  Another option is to modify
   8371 *** your PATH or compiler configuration so that the native linker is
   8372 *** used, and then restart.
   8373 
   8374 EOF
   8375       elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   8376 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8377 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8378       else
   8379 	ld_shlibs=no
   8380       fi
   8381       ;;
   8382 
   8383     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   8384       case `$LD -v 2>&1` in
   8385         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   8386 	ld_shlibs=no
   8387 	cat <<_LT_EOF 1>&2
   8388 
   8389 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
   8390 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   8391 *** is disabling shared libraries support.  We urge you to upgrade GNU
   8392 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   8393 *** your PATH or compiler configuration so that the native linker is
   8394 *** used, and then restart.
   8395 
   8396 _LT_EOF
   8397 	;;
   8398 	*)
   8399 	  if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   8400 	    hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
   8401 	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
   8402 	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
   8403 	  else
   8404 	    ld_shlibs=no
   8405 	  fi
   8406 	;;
   8407       esac
   8408       ;;
   8409 
   8410     sunos4*)
   8411       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   8412       wlarc=
   8413       hardcode_direct=yes
   8414       hardcode_shlibpath_var=no
   8415       ;;
   8416 
   8417     *)
   8418       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   8419 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8420 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8421       else
   8422 	ld_shlibs=no
   8423       fi
   8424       ;;
   8425     esac
   8426 
   8427     if test "$ld_shlibs" = no; then
   8428       runpath_var=
   8429       hardcode_libdir_flag_spec=
   8430       export_dynamic_flag_spec=
   8431       whole_archive_flag_spec=
   8432     fi
   8433   else
   8434     # PORTME fill in a description of your system's linker (not GNU ld)
   8435     case $host_os in
   8436     aix3*)
   8437       allow_undefined_flag=unsupported
   8438       always_export_symbols=yes
   8439       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'
   8440       # Note: this linker hardcodes the directories in LIBPATH if there
   8441       # are no directories specified by -L.
   8442       hardcode_minus_L=yes
   8443       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
   8444 	# Neither direct hardcoding nor static linking is supported with a
   8445 	# broken collect2.
   8446 	hardcode_direct=unsupported
   8447       fi
   8448       ;;
   8449 
   8450     aix[4-9]*)
   8451       if test "$host_cpu" = ia64; then
   8452 	# On IA64, the linker does run time linking by default, so we don't
   8453 	# have to do anything special.
   8454 	aix_use_runtimelinking=no
   8455 	exp_sym_flag='-Bexport'
   8456 	no_entry_flag=""
   8457       else
   8458 	# If we're using GNU nm, then we don't want the "-C" option.
   8459 	# -C means demangle to AIX nm, but means don't demangle with GNU nm
   8460 	if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
   8461 	  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'
   8462 	else
   8463 	  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'
   8464 	fi
   8465 	aix_use_runtimelinking=no
   8466 
   8467 	# Test if we are trying to use run time linking or normal
   8468 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   8469 	# need to do runtime linking.
   8470 	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   8471 	  for ld_flag in $LDFLAGS; do
   8472   	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
   8473   	    aix_use_runtimelinking=yes
   8474   	    break
   8475   	  fi
   8476 	  done
   8477 	  ;;
   8478 	esac
   8479 
   8480 	exp_sym_flag='-bexport'
   8481 	no_entry_flag='-bnoentry'
   8482       fi
   8483 
   8484       # When large executables or shared objects are built, AIX ld can
   8485       # have problems creating the table of contents.  If linking a library
   8486       # or program results in "error TOC overflow" add -mminimal-toc to
   8487       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   8488       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   8489 
   8490       archive_cmds=''
   8491       hardcode_direct=yes
   8492       hardcode_libdir_separator=':'
   8493       link_all_deplibs=yes
   8494 
   8495       if test "$GCC" = yes; then
   8496 	case $host_os in aix4.[012]|aix4.[012].*)
   8497 	# We only want to do this on AIX 4.2 and lower, the check
   8498 	# below for broken collect2 doesn't work under 4.3+
   8499 	  collect2name=`${CC} -print-prog-name=collect2`
   8500 	  if test -f "$collect2name" && \
   8501   	   strings "$collect2name" | grep resolve_lib_name >/dev/null
   8502 	  then
   8503   	  # We have reworked collect2
   8504   	  :
   8505 	  else
   8506   	  # We have old collect2
   8507   	  hardcode_direct=unsupported
   8508   	  # It fails to find uninstalled libraries when the uninstalled
   8509   	  # path is not listed in the libpath.  Setting hardcode_minus_L
   8510   	  # to unsupported forces relinking
   8511   	  hardcode_minus_L=yes
   8512   	  hardcode_libdir_flag_spec='-L$libdir'
   8513   	  hardcode_libdir_separator=
   8514 	  fi
   8515 	  ;;
   8516 	esac
   8517 	shared_flag='-shared'
   8518 	if test "$aix_use_runtimelinking" = yes; then
   8519 	  shared_flag="$shared_flag "'${wl}-G'
   8520 	fi
   8521       else
   8522 	# not using gcc
   8523 	if test "$host_cpu" = ia64; then
   8524   	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   8525   	# chokes on -Wl,-G. The following line is correct:
   8526 	  shared_flag='-G'
   8527 	else
   8528 	  if test "$aix_use_runtimelinking" = yes; then
   8529 	    shared_flag='${wl}-G'
   8530 	  else
   8531 	    shared_flag='${wl}-bM:SRE'
   8532 	  fi
   8533 	fi
   8534       fi
   8535 
   8536       # It seems that -bexpall does not export symbols beginning with
   8537       # underscore (_), so it is better to generate a list of symbols to export.
   8538       always_export_symbols=yes
   8539       if test "$aix_use_runtimelinking" = yes; then
   8540 	# Warning - without using the other runtime loading flags (-brtl),
   8541 	# -berok will link without error, but may produce a broken library.
   8542 	allow_undefined_flag='-berok'
   8543        # Determine the default libpath from the value encoded in an empty executable.
   8544        cat >conftest.$ac_ext <<_ACEOF
   8545 /* confdefs.h.  */
   8546 _ACEOF
   8547 cat confdefs.h >>conftest.$ac_ext
   8548 cat >>conftest.$ac_ext <<_ACEOF
   8549 /* end confdefs.h.  */
   8550 
   8551 int
   8552 main ()
   8553 {
   8554 
   8555   ;
   8556   return 0;
   8557 }
   8558 _ACEOF
   8559 rm -f conftest.$ac_objext conftest$ac_exeext
   8560 if { (ac_try="$ac_link"
   8561 case "(($ac_try" in
   8562   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   8563   *) ac_try_echo=$ac_try;;
   8564 esac
   8565 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   8566 $as_echo "$ac_try_echo") >&5
   8567   (eval "$ac_link") 2>conftest.er1
   8568   ac_status=$?
   8569   grep -v '^ *+' conftest.er1 >conftest.err
   8570   rm -f conftest.er1
   8571   cat conftest.err >&5
   8572   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8573   (exit $ac_status); } && {
   8574 	 test -z "$ac_c_werror_flag" ||
   8575 	 test ! -s conftest.err
   8576        } && test -s conftest$ac_exeext && {
   8577 	 test "$cross_compiling" = yes ||
   8578 	 $as_test_x conftest$ac_exeext
   8579        }; then
   8580 
   8581 lt_aix_libpath_sed='
   8582     /Import File Strings/,/^$/ {
   8583 	/^0/ {
   8584 	    s/^0  *\(.*\)$/\1/
   8585 	    p
   8586 	}
   8587     }'
   8588 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   8589 # Check for a 64-bit object if we didn't find anything.
   8590 if test -z "$aix_libpath"; then
   8591   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   8592 fi
   8593 else
   8594   $as_echo "$as_me: failed program was:" >&5
   8595 sed 's/^/| /' conftest.$ac_ext >&5
   8596 
   8597 
   8598 fi
   8599 
   8600 rm -rf conftest.dSYM
   8601 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   8602       conftest$ac_exeext conftest.$ac_ext
   8603 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   8604 
   8605        hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   8606 	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"
   8607        else
   8608 	if test "$host_cpu" = ia64; then
   8609 	  hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
   8610 	  allow_undefined_flag="-z nodefs"
   8611 	  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"
   8612 	else
   8613 	 # Determine the default libpath from the value encoded in an empty executable.
   8614 	 cat >conftest.$ac_ext <<_ACEOF
   8615 /* confdefs.h.  */
   8616 _ACEOF
   8617 cat confdefs.h >>conftest.$ac_ext
   8618 cat >>conftest.$ac_ext <<_ACEOF
   8619 /* end confdefs.h.  */
   8620 
   8621 int
   8622 main ()
   8623 {
   8624 
   8625   ;
   8626   return 0;
   8627 }
   8628 _ACEOF
   8629 rm -f conftest.$ac_objext conftest$ac_exeext
   8630 if { (ac_try="$ac_link"
   8631 case "(($ac_try" in
   8632   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   8633   *) ac_try_echo=$ac_try;;
   8634 esac
   8635 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   8636 $as_echo "$ac_try_echo") >&5
   8637   (eval "$ac_link") 2>conftest.er1
   8638   ac_status=$?
   8639   grep -v '^ *+' conftest.er1 >conftest.err
   8640   rm -f conftest.er1
   8641   cat conftest.err >&5
   8642   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8643   (exit $ac_status); } && {
   8644 	 test -z "$ac_c_werror_flag" ||
   8645 	 test ! -s conftest.err
   8646        } && test -s conftest$ac_exeext && {
   8647 	 test "$cross_compiling" = yes ||
   8648 	 $as_test_x conftest$ac_exeext
   8649        }; then
   8650 
   8651 lt_aix_libpath_sed='
   8652     /Import File Strings/,/^$/ {
   8653 	/^0/ {
   8654 	    s/^0  *\(.*\)$/\1/
   8655 	    p
   8656 	}
   8657     }'
   8658 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   8659 # Check for a 64-bit object if we didn't find anything.
   8660 if test -z "$aix_libpath"; then
   8661   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   8662 fi
   8663 else
   8664   $as_echo "$as_me: failed program was:" >&5
   8665 sed 's/^/| /' conftest.$ac_ext >&5
   8666 
   8667 
   8668 fi
   8669 
   8670 rm -rf conftest.dSYM
   8671 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   8672       conftest$ac_exeext conftest.$ac_ext
   8673 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   8674 
   8675 	 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   8676 	  # Warning - without using the other run time loading flags,
   8677 	  # -berok will link without error, but may produce a broken library.
   8678 	  no_undefined_flag=' ${wl}-bernotok'
   8679 	  allow_undefined_flag=' ${wl}-berok'
   8680 	  # Exported symbols can be pulled into shared objects from archives
   8681 	  whole_archive_flag_spec='$convenience'
   8682 	  archive_cmds_need_lc=yes
   8683 	  # This is similar to how AIX traditionally builds its shared libraries.
   8684 	  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'
   8685 	fi
   8686       fi
   8687       ;;
   8688 
   8689     amigaos*)
   8690       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)'
   8691       hardcode_libdir_flag_spec='-L$libdir'
   8692       hardcode_minus_L=yes
   8693       # see comment about different semantics on the GNU ld section
   8694       ld_shlibs=no
   8695       ;;
   8696 
   8697     bsdi[45]*)
   8698       export_dynamic_flag_spec=-rdynamic
   8699       ;;
   8700 
   8701     cygwin* | mingw* | pw32*)
   8702       # When not using gcc, we currently assume that we are using
   8703       # Microsoft Visual C++.
   8704       # hardcode_libdir_flag_spec is actually meaningless, as there is
   8705       # no search path for DLLs.
   8706       hardcode_libdir_flag_spec=' '
   8707       allow_undefined_flag=unsupported
   8708       # Tell ltmain to make .lib files, not .a files.
   8709       libext=lib
   8710       # Tell ltmain to make .dll files, not .so files.
   8711       shrext_cmds=".dll"
   8712       # FIXME: Setting linknames here is a bad hack.
   8713       archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
   8714       # The linker will automatically build a .lib file if we build a DLL.
   8715       old_archive_From_new_cmds='true'
   8716       # FIXME: Should let the user specify the lib program.
   8717       old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
   8718       fix_srcfile_path='`cygpath -w "$srcfile"`'
   8719       enable_shared_with_static_runtimes=yes
   8720       ;;
   8721 
   8722     darwin* | rhapsody*)
   8723       case $host_os in
   8724         rhapsody* | darwin1.[012])
   8725          allow_undefined_flag='${wl}-undefined ${wl}suppress'
   8726          ;;
   8727        *) # Darwin 1.3 on
   8728          if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
   8729            allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   8730          else
   8731            case ${MACOSX_DEPLOYMENT_TARGET} in
   8732              10.[012])
   8733                allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   8734                ;;
   8735              10.*)
   8736                allow_undefined_flag='${wl}-undefined ${wl}dynamic_lookup'
   8737                ;;
   8738            esac
   8739          fi
   8740          ;;
   8741       esac
   8742       archive_cmds_need_lc=no
   8743       hardcode_direct=no
   8744       hardcode_automatic=yes
   8745       hardcode_shlibpath_var=unsupported
   8746       whole_archive_flag_spec=''
   8747       link_all_deplibs=yes
   8748     if test "$GCC" = yes ; then
   8749     	output_verbose_link_cmd='echo'
   8750         archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
   8751         module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
   8752         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}"
   8753         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}"
   8754     else
   8755       case $cc_basename in
   8756         xlc*)
   8757          output_verbose_link_cmd='echo'
   8758          archive_cmds='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
   8759          module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
   8760           # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
   8761          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}'
   8762           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}'
   8763           ;;
   8764        *)
   8765          ld_shlibs=no
   8766           ;;
   8767       esac
   8768     fi
   8769       ;;
   8770 
   8771     dgux*)
   8772       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8773       hardcode_libdir_flag_spec='-L$libdir'
   8774       hardcode_shlibpath_var=no
   8775       ;;
   8776 
   8777     freebsd1*)
   8778       ld_shlibs=no
   8779       ;;
   8780 
   8781     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   8782     # support.  Future versions do this automatically, but an explicit c++rt0.o
   8783     # does not break anything, and helps significantly (at the cost of a little
   8784     # extra space).
   8785     freebsd2.2*)
   8786       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   8787       hardcode_libdir_flag_spec='-R$libdir'
   8788       hardcode_direct=yes
   8789       hardcode_shlibpath_var=no
   8790       ;;
   8791 
   8792     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   8793     freebsd2*)
   8794       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   8795       hardcode_direct=yes
   8796       hardcode_minus_L=yes
   8797       hardcode_shlibpath_var=no
   8798       ;;
   8799 
   8800     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   8801     freebsd* | dragonfly*)
   8802       archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
   8803       hardcode_libdir_flag_spec='-R$libdir'
   8804       hardcode_direct=yes
   8805       hardcode_shlibpath_var=no
   8806       ;;
   8807 
   8808     hpux9*)
   8809       if test "$GCC" = yes; then
   8810 	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'
   8811       else
   8812 	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'
   8813       fi
   8814       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   8815       hardcode_libdir_separator=:
   8816       hardcode_direct=yes
   8817 
   8818       # hardcode_minus_L: Not really in the search PATH,
   8819       # but as the default location of the library.
   8820       hardcode_minus_L=yes
   8821       export_dynamic_flag_spec='${wl}-E'
   8822       ;;
   8823 
   8824     hpux10*)
   8825       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   8826 	archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   8827       else
   8828 	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   8829       fi
   8830       if test "$with_gnu_ld" = no; then
   8831 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   8832 	hardcode_libdir_separator=:
   8833 
   8834 	hardcode_direct=yes
   8835 	export_dynamic_flag_spec='${wl}-E'
   8836 
   8837 	# hardcode_minus_L: Not really in the search PATH,
   8838 	# but as the default location of the library.
   8839 	hardcode_minus_L=yes
   8840       fi
   8841       ;;
   8842 
   8843     hpux11*)
   8844       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   8845 	case $host_cpu in
   8846 	hppa*64*)
   8847 	  archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   8848 	  ;;
   8849 	ia64*)
   8850 	  archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   8851 	  ;;
   8852 	*)
   8853 	  archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   8854 	  ;;
   8855 	esac
   8856       else
   8857 	case $host_cpu in
   8858 	hppa*64*)
   8859 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   8860 	  ;;
   8861 	ia64*)
   8862 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   8863 	  ;;
   8864 	*)
   8865 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   8866 	  ;;
   8867 	esac
   8868       fi
   8869       if test "$with_gnu_ld" = no; then
   8870 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   8871 	hardcode_libdir_separator=:
   8872 
   8873 	case $host_cpu in
   8874 	hppa*64*|ia64*)
   8875 	  hardcode_libdir_flag_spec_ld='+b $libdir'
   8876 	  hardcode_direct=no
   8877 	  hardcode_shlibpath_var=no
   8878 	  ;;
   8879 	*)
   8880 	  hardcode_direct=yes
   8881 	  export_dynamic_flag_spec='${wl}-E'
   8882 
   8883 	  # hardcode_minus_L: Not really in the search PATH,
   8884 	  # but as the default location of the library.
   8885 	  hardcode_minus_L=yes
   8886 	  ;;
   8887 	esac
   8888       fi
   8889       ;;
   8890 
   8891     irix5* | irix6* | nonstopux*)
   8892       if test "$GCC" = yes; then
   8893 	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'
   8894       else
   8895 	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'
   8896 	hardcode_libdir_flag_spec_ld='-rpath $libdir'
   8897       fi
   8898       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8899       hardcode_libdir_separator=:
   8900       link_all_deplibs=yes
   8901       ;;
   8902 
   8903     netbsd*)
   8904       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   8905 	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   8906       else
   8907 	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   8908       fi
   8909       hardcode_libdir_flag_spec='-R$libdir'
   8910       hardcode_direct=yes
   8911       hardcode_shlibpath_var=no
   8912       ;;
   8913 
   8914     newsos6)
   8915       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8916       hardcode_direct=yes
   8917       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8918       hardcode_libdir_separator=:
   8919       hardcode_shlibpath_var=no
   8920       ;;
   8921 
   8922     openbsd*)
   8923       if test -f /usr/libexec/ld.so; then
   8924 	hardcode_direct=yes
   8925 	hardcode_shlibpath_var=no
   8926 	if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   8927 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   8928 	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
   8929 	  hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   8930 	  export_dynamic_flag_spec='${wl}-E'
   8931 	else
   8932 	  case $host_os in
   8933 	   openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
   8934 	     archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   8935 	     hardcode_libdir_flag_spec='-R$libdir'
   8936 	     ;;
   8937 	   *)
   8938 	     archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   8939 	     hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   8940 	     ;;
   8941 	  esac
   8942         fi
   8943       else
   8944 	ld_shlibs=no
   8945       fi
   8946       ;;
   8947 
   8948     os2*)
   8949       hardcode_libdir_flag_spec='-L$libdir'
   8950       hardcode_minus_L=yes
   8951       allow_undefined_flag=unsupported
   8952       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'
   8953       old_archive_From_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
   8954       ;;
   8955 
   8956     osf3*)
   8957       if test "$GCC" = yes; then
   8958 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   8959 	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'
   8960       else
   8961 	allow_undefined_flag=' -expect_unresolved \*'
   8962 	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'
   8963       fi
   8964       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8965       hardcode_libdir_separator=:
   8966       ;;
   8967 
   8968     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   8969       if test "$GCC" = yes; then
   8970 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   8971 	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'
   8972 	hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8973       else
   8974 	allow_undefined_flag=' -expect_unresolved \*'
   8975 	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'
   8976 	archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
   8977 	$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'
   8978 
   8979 	# Both c and cxx compiler support -rpath directly
   8980 	hardcode_libdir_flag_spec='-rpath $libdir'
   8981       fi
   8982       hardcode_libdir_separator=:
   8983       ;;
   8984 
   8985     solaris*)
   8986       no_undefined_flag=' -z text'
   8987       if test "$GCC" = yes; then
   8988 	wlarc='${wl}'
   8989 	archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   8990 	archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   8991 	  $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
   8992       else
   8993 	wlarc=''
   8994 	archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8995 	archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   8996   	$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
   8997       fi
   8998       hardcode_libdir_flag_spec='-R$libdir'
   8999       hardcode_shlibpath_var=no
   9000       case $host_os in
   9001       solaris2.[0-5] | solaris2.[0-5].*) ;;
   9002       *)
   9003 	# The compiler driver will combine and reorder linker options,
   9004 	# but understands `-z linker_flag'.  GCC discards it without `$wl',
   9005 	# but is careful enough not to reorder.
   9006  	# Supported since Solaris 2.6 (maybe 2.5.1?)
   9007 	if test "$GCC" = yes; then
   9008 	  whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
   9009 	else
   9010 	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
   9011 	fi
   9012 	;;
   9013       esac
   9014       link_all_deplibs=yes
   9015       ;;
   9016 
   9017     sunos4*)
   9018       if test "x$host_vendor" = xsequent; then
   9019 	# Use $CC to link under sequent, because it throws in some extra .o
   9020 	# files that make .init and .fini sections work.
   9021 	archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   9022       else
   9023 	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   9024       fi
   9025       hardcode_libdir_flag_spec='-L$libdir'
   9026       hardcode_direct=yes
   9027       hardcode_minus_L=yes
   9028       hardcode_shlibpath_var=no
   9029       ;;
   9030 
   9031     sysv4)
   9032       case $host_vendor in
   9033 	sni)
   9034 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9035 	  hardcode_direct=yes # is this really true???
   9036 	;;
   9037 	siemens)
   9038 	  ## LD is ld it makes a PLAMLIB
   9039 	  ## CC just makes a GrossModule.
   9040 	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   9041 	  reload_cmds='$CC -r -o $output$reload_objs'
   9042 	  hardcode_direct=no
   9043         ;;
   9044 	motorola)
   9045 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9046 	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
   9047 	;;
   9048       esac
   9049       runpath_var='LD_RUN_PATH'
   9050       hardcode_shlibpath_var=no
   9051       ;;
   9052 
   9053     sysv4.3*)
   9054       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9055       hardcode_shlibpath_var=no
   9056       export_dynamic_flag_spec='-Bexport'
   9057       ;;
   9058 
   9059     sysv4*MP*)
   9060       if test -d /usr/nec; then
   9061 	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9062 	hardcode_shlibpath_var=no
   9063 	runpath_var=LD_RUN_PATH
   9064 	hardcode_runpath_var=yes
   9065 	ld_shlibs=yes
   9066       fi
   9067       ;;
   9068 
   9069     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   9070       no_undefined_flag='${wl}-z,text'
   9071       archive_cmds_need_lc=no
   9072       hardcode_shlibpath_var=no
   9073       runpath_var='LD_RUN_PATH'
   9074 
   9075       if test "$GCC" = yes; then
   9076 	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9077 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9078       else
   9079 	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9080 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9081       fi
   9082       ;;
   9083 
   9084     sysv5* | sco3.2v5* | sco5v6*)
   9085       # Note: We can NOT use -z defs as we might desire, because we do not
   9086       # link with -lc, and that would cause any symbols used from libc to
   9087       # always be unresolved, which means just about no library would
   9088       # ever link correctly.  If we're not using GNU ld we use -z text
   9089       # though, which does catch some bad symbols but isn't as heavy-handed
   9090       # as -z defs.
   9091       no_undefined_flag='${wl}-z,text'
   9092       allow_undefined_flag='${wl}-z,nodefs'
   9093       archive_cmds_need_lc=no
   9094       hardcode_shlibpath_var=no
   9095       hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
   9096       hardcode_libdir_separator=':'
   9097       link_all_deplibs=yes
   9098       export_dynamic_flag_spec='${wl}-Bexport'
   9099       runpath_var='LD_RUN_PATH'
   9100 
   9101       if test "$GCC" = yes; then
   9102 	archive_cmds='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   9103 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   9104       else
   9105 	archive_cmds='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   9106 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   9107       fi
   9108       ;;
   9109 
   9110     uts4*)
   9111       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9112       hardcode_libdir_flag_spec='-L$libdir'
   9113       hardcode_shlibpath_var=no
   9114       ;;
   9115 
   9116     *)
   9117       ld_shlibs=no
   9118       ;;
   9119     esac
   9120   fi
   9121 
   9122 { $as_echo "$as_me:$LINENO: result: $ld_shlibs" >&5
   9123 $as_echo "$ld_shlibs" >&6; }
   9124 test "$ld_shlibs" = no && can_build_shared=no
   9125 
   9126 #
   9127 # Do we need to explicitly link libc?
   9128 #
   9129 case "x$archive_cmds_need_lc" in
   9130 x|xyes)
   9131   # Assume -lc should be added
   9132   archive_cmds_need_lc=yes
   9133 
   9134   if test "$enable_shared" = yes && test "$GCC" = yes; then
   9135     case $archive_cmds in
   9136     *'~'*)
   9137       # FIXME: we may have to deal with multi-command sequences.
   9138       ;;
   9139     '$CC '*)
   9140       # Test whether the compiler implicitly links with -lc since on some
   9141       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   9142       # to ld, don't add -lc before -lgcc.
   9143       { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
   9144 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
   9145       $rm conftest*
   9146       echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   9147 
   9148       if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   9149   (eval $ac_compile) 2>&5
   9150   ac_status=$?
   9151   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9152   (exit $ac_status); } 2>conftest.err; then
   9153         soname=conftest
   9154         lib=conftest
   9155         libobjs=conftest.$ac_objext
   9156         deplibs=
   9157         wl=$lt_prog_compiler_wl
   9158 	pic_flag=$lt_prog_compiler_pic
   9159         compiler_flags=-v
   9160         linker_flags=-v
   9161         verstring=
   9162         output_objdir=.
   9163         libname=conftest
   9164         lt_save_allow_undefined_flag=$allow_undefined_flag
   9165         allow_undefined_flag=
   9166         if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
   9167   (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
   9168   ac_status=$?
   9169   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9170   (exit $ac_status); }
   9171         then
   9172 	  archive_cmds_need_lc=no
   9173         else
   9174 	  archive_cmds_need_lc=yes
   9175         fi
   9176         allow_undefined_flag=$lt_save_allow_undefined_flag
   9177       else
   9178         cat conftest.err 1>&5
   9179       fi
   9180       $rm conftest*
   9181       { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
   9182 $as_echo "$archive_cmds_need_lc" >&6; }
   9183       ;;
   9184     esac
   9185   fi
   9186   ;;
   9187 esac
   9188 
   9189 { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
   9190 $as_echo_n "checking dynamic linker characteristics... " >&6; }
   9191 library_names_spec=
   9192 libname_spec='lib$name'
   9193 soname_spec=
   9194 shrext_cmds=".so"
   9195 postinstall_cmds=
   9196 postuninstall_cmds=
   9197 finish_cmds=
   9198 finish_eval=
   9199 shlibpath_var=
   9200 shlibpath_overrides_runpath=unknown
   9201 version_type=none
   9202 dynamic_linker="$host_os ld.so"
   9203 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   9204 
   9205 if test "$GCC" = yes; then
   9206   case $host_os in
   9207     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
   9208     *) lt_awk_arg="/^libraries:/" ;;
   9209   esac
   9210   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   9211   if echo "$lt_search_path_spec" | grep ';' >/dev/null ; then
   9212     # if the path contains ";" then we assume it to be the separator
   9213     # otherwise default to the standard path separator (i.e. ":") - it is
   9214     # assumed that no part of a normal pathname contains ";" but that should
   9215     # okay in the real world where ";" in dirpaths is itself problematic.
   9216     lt_search_path_spec=`echo "$lt_search_path_spec" | $SED -e 's/;/ /g'`
   9217   else
   9218     lt_search_path_spec=`echo "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   9219   fi
   9220   # Ok, now we have the path, separated by spaces, we can step through it
   9221   # and add multilib dir if necessary.
   9222   lt_tmp_lt_search_path_spec=
   9223   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
   9224   for lt_sys_path in $lt_search_path_spec; do
   9225     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
   9226       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
   9227     else
   9228       test -d "$lt_sys_path" && \
   9229 	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
   9230     fi
   9231   done
   9232   lt_search_path_spec=`echo $lt_tmp_lt_search_path_spec | awk '
   9233 BEGIN {RS=" "; FS="/|\n";} {
   9234   lt_foo="";
   9235   lt_count=0;
   9236   for (lt_i = NF; lt_i > 0; lt_i--) {
   9237     if ($lt_i != "" && $lt_i != ".") {
   9238       if ($lt_i == "..") {
   9239         lt_count++;
   9240       } else {
   9241         if (lt_count == 0) {
   9242           lt_foo="/" $lt_i lt_foo;
   9243         } else {
   9244           lt_count--;
   9245         }
   9246       }
   9247     }
   9248   }
   9249   if (lt_foo != "") { lt_freq[lt_foo]++; }
   9250   if (lt_freq[lt_foo] == 1) { print lt_foo; }
   9251 }'`
   9252   sys_lib_search_path_spec=`echo $lt_search_path_spec`
   9253 else
   9254   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   9255 fi
   9256 need_lib_prefix=unknown
   9257 hardcode_into_libs=no
   9258 
   9259 # when you set need_version to no, make sure it does not cause -set_version
   9260 # flags to be left without arguments
   9261 need_version=unknown
   9262 
   9263 case $host_os in
   9264 aix3*)
   9265   version_type=linux
   9266   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   9267   shlibpath_var=LIBPATH
   9268 
   9269   # AIX 3 has no versioning support, so we append a major version to the name.
   9270   soname_spec='${libname}${release}${shared_ext}$major'
   9271   ;;
   9272 
   9273 aix[4-9]*)
   9274   version_type=linux
   9275   need_lib_prefix=no
   9276   need_version=no
   9277   hardcode_into_libs=yes
   9278   if test "$host_cpu" = ia64; then
   9279     # AIX 5 supports IA64
   9280     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
   9281     shlibpath_var=LD_LIBRARY_PATH
   9282   else
   9283     # With GCC up to 2.95.x, collect2 would create an import file
   9284     # for dependence libraries.  The import file would start with
   9285     # the line `#! .'.  This would cause the generated library to
   9286     # depend on `.', always an invalid library.  This was fixed in
   9287     # development snapshots of GCC prior to 3.0.
   9288     case $host_os in
   9289       aix4 | aix4.[01] | aix4.[01].*)
   9290       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   9291 	   echo ' yes '
   9292 	   echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
   9293 	:
   9294       else
   9295 	can_build_shared=no
   9296       fi
   9297       ;;
   9298     esac
   9299     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
   9300     # soname into executable. Probably we can add versioning support to
   9301     # collect2, so additional links can be useful in future.
   9302     if test "$aix_use_runtimelinking" = yes; then
   9303       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   9304       # instead of lib<name>.a to let people know that these are not
   9305       # typical AIX shared libraries.
   9306       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9307     else
   9308       # We preserve .a as extension for shared libraries through AIX4.2
   9309       # and later when we are not doing run time linking.
   9310       library_names_spec='${libname}${release}.a $libname.a'
   9311       soname_spec='${libname}${release}${shared_ext}$major'
   9312     fi
   9313     shlibpath_var=LIBPATH
   9314   fi
   9315   ;;
   9316 
   9317 amigaos*)
   9318   library_names_spec='$libname.ixlibrary $libname.a'
   9319   # Create ${libname}_ixlibrary.a entries in /sys/libs.
   9320   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'
   9321   ;;
   9322 
   9323 beos*)
   9324   library_names_spec='${libname}${shared_ext}'
   9325   dynamic_linker="$host_os ld.so"
   9326   shlibpath_var=LIBRARY_PATH
   9327   ;;
   9328 
   9329 bsdi[45]*)
   9330   version_type=linux
   9331   need_version=no
   9332   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9333   soname_spec='${libname}${release}${shared_ext}$major'
   9334   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   9335   shlibpath_var=LD_LIBRARY_PATH
   9336   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   9337   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   9338   # the default ld.so.conf also contains /usr/contrib/lib and
   9339   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   9340   # libtool to hard-code these into programs
   9341   ;;
   9342 
   9343 cygwin* | mingw* | pw32*)
   9344   version_type=windows
   9345   shrext_cmds=".dll"
   9346   need_version=no
   9347   need_lib_prefix=no
   9348 
   9349   case $GCC,$host_os in
   9350   yes,cygwin* | yes,mingw* | yes,pw32*)
   9351     library_names_spec='$libname.dll.a'
   9352     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   9353     postinstall_cmds='base_file=`basename \${file}`~
   9354       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
   9355       dldir=$destdir/`dirname \$dlpath`~
   9356       test -d \$dldir || mkdir -p \$dldir~
   9357       $install_prog $dir/$dlname \$dldir/$dlname~
   9358       chmod a+x \$dldir/$dlname'
   9359     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   9360       dlpath=$dir/\$dldll~
   9361        $rm \$dlpath'
   9362     shlibpath_overrides_runpath=yes
   9363 
   9364     case $host_os in
   9365     cygwin*)
   9366       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   9367       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   9368       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
   9369       ;;
   9370     mingw*)
   9371       # MinGW DLLs use traditional 'lib' prefix
   9372       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   9373       sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   9374       if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
   9375         # It is most probably a Windows format PATH printed by
   9376         # mingw gcc, but we are running on Cygwin. Gcc prints its search
   9377         # path with ; separators, and with drive letters. We can handle the
   9378         # drive letters (cygwin fileutils understands them), so leave them,
   9379         # especially as we might pass files found there to a mingw objdump,
   9380         # which wouldn't understand a cygwinified path. Ahh.
   9381         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   9382       else
   9383         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   9384       fi
   9385       ;;
   9386     pw32*)
   9387       # pw32 DLLs use 'pw' prefix rather than 'lib'
   9388       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   9389       ;;
   9390     esac
   9391     ;;
   9392 
   9393   *)
   9394     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
   9395     ;;
   9396   esac
   9397   dynamic_linker='Win32 ld.exe'
   9398   # FIXME: first we should search . and the directory the executable is in
   9399   shlibpath_var=PATH
   9400   ;;
   9401 
   9402 darwin* | rhapsody*)
   9403   dynamic_linker="$host_os dyld"
   9404   version_type=darwin
   9405   need_lib_prefix=no
   9406   need_version=no
   9407   library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
   9408   soname_spec='${libname}${release}${major}$shared_ext'
   9409   shlibpath_overrides_runpath=yes
   9410   shlibpath_var=DYLD_LIBRARY_PATH
   9411   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   9412 
   9413   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
   9414   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   9415   ;;
   9416 
   9417 dgux*)
   9418   version_type=linux
   9419   need_lib_prefix=no
   9420   need_version=no
   9421   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
   9422   soname_spec='${libname}${release}${shared_ext}$major'
   9423   shlibpath_var=LD_LIBRARY_PATH
   9424   ;;
   9425 
   9426 freebsd1*)
   9427   dynamic_linker=no
   9428   ;;
   9429 
   9430 freebsd* | dragonfly*)
   9431   # DragonFly does not have aout.  When/if they implement a new
   9432   # versioning mechanism, adjust this.
   9433   if test -x /usr/bin/objformat; then
   9434     objformat=`/usr/bin/objformat`
   9435   else
   9436     case $host_os in
   9437     freebsd[123]*) objformat=aout ;;
   9438     *) objformat=elf ;;
   9439     esac
   9440   fi
   9441   version_type=freebsd-$objformat
   9442   case $version_type in
   9443     freebsd-elf*)
   9444       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   9445       need_version=no
   9446       need_lib_prefix=no
   9447       ;;
   9448     freebsd-*)
   9449       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
   9450       need_version=yes
   9451       ;;
   9452   esac
   9453   shlibpath_var=LD_LIBRARY_PATH
   9454   case $host_os in
   9455   freebsd2*)
   9456     shlibpath_overrides_runpath=yes
   9457     ;;
   9458   freebsd3.[01]* | freebsdelf3.[01]*)
   9459     shlibpath_overrides_runpath=yes
   9460     hardcode_into_libs=yes
   9461     ;;
   9462   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   9463   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   9464     shlibpath_overrides_runpath=no
   9465     hardcode_into_libs=yes
   9466     ;;
   9467   *) # from 4.6 on, and DragonFly
   9468     shlibpath_overrides_runpath=yes
   9469     hardcode_into_libs=yes
   9470     ;;
   9471   esac
   9472   ;;
   9473 
   9474 gnu*)
   9475   version_type=linux
   9476   need_lib_prefix=no
   9477   need_version=no
   9478   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   9479   soname_spec='${libname}${release}${shared_ext}$major'
   9480   shlibpath_var=LD_LIBRARY_PATH
   9481   hardcode_into_libs=yes
   9482   ;;
   9483 
   9484 hpux9* | hpux10* | hpux11*)
   9485   # Give a soname corresponding to the major version so that dld.sl refuses to
   9486   # link against other versions.
   9487   version_type=sunos
   9488   need_lib_prefix=no
   9489   need_version=no
   9490   case $host_cpu in
   9491   ia64*)
   9492     shrext_cmds='.so'
   9493     hardcode_into_libs=yes
   9494     dynamic_linker="$host_os dld.so"
   9495     shlibpath_var=LD_LIBRARY_PATH
   9496     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   9497     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9498     soname_spec='${libname}${release}${shared_ext}$major'
   9499     if test "X$HPUX_IA64_MODE" = X32; then
   9500       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   9501     else
   9502       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   9503     fi
   9504     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   9505     ;;
   9506    hppa*64*)
   9507      shrext_cmds='.sl'
   9508      hardcode_into_libs=yes
   9509      dynamic_linker="$host_os dld.sl"
   9510      shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   9511      shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   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      sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   9515      sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   9516      ;;
   9517    *)
   9518     shrext_cmds='.sl'
   9519     dynamic_linker="$host_os dld.sl"
   9520     shlibpath_var=SHLIB_PATH
   9521     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   9522     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9523     soname_spec='${libname}${release}${shared_ext}$major'
   9524     ;;
   9525   esac
   9526   # HP-UX runs *really* slowly unless shared libraries are mode 555.
   9527   postinstall_cmds='chmod 555 $lib'
   9528   ;;
   9529 
   9530 interix[3-9]*)
   9531   version_type=linux
   9532   need_lib_prefix=no
   9533   need_version=no
   9534   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   9535   soname_spec='${libname}${release}${shared_ext}$major'
   9536   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   9537   shlibpath_var=LD_LIBRARY_PATH
   9538   shlibpath_overrides_runpath=no
   9539   hardcode_into_libs=yes
   9540   ;;
   9541 
   9542 irix5* | irix6* | nonstopux*)
   9543   case $host_os in
   9544     nonstopux*) version_type=nonstopux ;;
   9545     *)
   9546 	if test "$lt_cv_prog_gnu_ld" = yes; then
   9547 		version_type=linux
   9548 	else
   9549 		version_type=irix
   9550 	fi ;;
   9551   esac
   9552   need_lib_prefix=no
   9553   need_version=no
   9554   soname_spec='${libname}${release}${shared_ext}$major'
   9555   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
   9556   case $host_os in
   9557   irix5* | nonstopux*)
   9558     libsuff= shlibsuff=
   9559     ;;
   9560   *)
   9561     case $LD in # libtool.m4 will add one of these switches to LD
   9562     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   9563       libsuff= shlibsuff= libmagic=32-bit;;
   9564     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   9565       libsuff=32 shlibsuff=N32 libmagic=N32;;
   9566     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   9567       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   9568     *) libsuff= shlibsuff= libmagic=never-match;;
   9569     esac
   9570     ;;
   9571   esac
   9572   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   9573   shlibpath_overrides_runpath=no
   9574   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   9575   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   9576   hardcode_into_libs=yes
   9577   ;;
   9578 
   9579 # No shared lib support for Linux oldld, aout, or coff.
   9580 linux*oldld* | linux*aout* | linux*coff*)
   9581   dynamic_linker=no
   9582   ;;
   9583 
   9584 # This must be Linux ELF.
   9585 linux* | k*bsd*-gnu)
   9586   version_type=linux
   9587   need_lib_prefix=no
   9588   need_version=no
   9589   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9590   soname_spec='${libname}${release}${shared_ext}$major'
   9591   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   9592   shlibpath_var=LD_LIBRARY_PATH
   9593   shlibpath_overrides_runpath=no
   9594   # This implies no fast_install, which is unacceptable.
   9595   # Some rework will be needed to allow for fast_install
   9596   # before this can be enabled.
   9597   hardcode_into_libs=yes
   9598 
   9599   # Append ld.so.conf contents to the search path
   9600   if test -f /etc/ld.so.conf; then
   9601     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' ' '`
   9602     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   9603   fi
   9604 
   9605   # We used to test for /lib/ld.so.1 and disable shared libraries on
   9606   # powerpc, because MkLinux only supported shared libraries with the
   9607   # GNU dynamic linker.  Since this was broken with cross compilers,
   9608   # most powerpc-linux boxes support dynamic linking these days and
   9609   # people can always --disable-shared, the test was removed, and we
   9610   # assume the GNU/Linux dynamic linker is in use.
   9611   dynamic_linker='GNU/Linux ld.so'
   9612   ;;
   9613 
   9614 netbsd*)
   9615   version_type=sunos
   9616   need_lib_prefix=no
   9617   need_version=no
   9618   if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   9619     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   9620     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   9621     dynamic_linker='NetBSD (a.out) ld.so'
   9622   else
   9623     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   9624     soname_spec='${libname}${release}${shared_ext}$major'
   9625     dynamic_linker='NetBSD ld.elf_so'
   9626   fi
   9627   shlibpath_var=LD_LIBRARY_PATH
   9628   shlibpath_overrides_runpath=yes
   9629   hardcode_into_libs=yes
   9630   ;;
   9631 
   9632 newsos6)
   9633   version_type=linux
   9634   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9635   shlibpath_var=LD_LIBRARY_PATH
   9636   shlibpath_overrides_runpath=yes
   9637   ;;
   9638 
   9639 nto-qnx*)
   9640   version_type=linux
   9641   need_lib_prefix=no
   9642   need_version=no
   9643   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9644   soname_spec='${libname}${release}${shared_ext}$major'
   9645   shlibpath_var=LD_LIBRARY_PATH
   9646   shlibpath_overrides_runpath=yes
   9647   ;;
   9648 
   9649 openbsd*)
   9650   version_type=sunos
   9651   sys_lib_dlsearch_path_spec="/usr/lib"
   9652   need_lib_prefix=no
   9653   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
   9654   case $host_os in
   9655     openbsd3.3 | openbsd3.3.*) need_version=yes ;;
   9656     *)                         need_version=no  ;;
   9657   esac
   9658   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   9659   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   9660   shlibpath_var=LD_LIBRARY_PATH
   9661   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   9662     case $host_os in
   9663       openbsd2.[89] | openbsd2.[89].*)
   9664 	shlibpath_overrides_runpath=no
   9665 	;;
   9666       *)
   9667 	shlibpath_overrides_runpath=yes
   9668 	;;
   9669       esac
   9670   else
   9671     shlibpath_overrides_runpath=yes
   9672   fi
   9673   ;;
   9674 
   9675 os2*)
   9676   libname_spec='$name'
   9677   shrext_cmds=".dll"
   9678   need_lib_prefix=no
   9679   library_names_spec='$libname${shared_ext} $libname.a'
   9680   dynamic_linker='OS/2 ld.exe'
   9681   shlibpath_var=LIBPATH
   9682   ;;
   9683 
   9684 osf3* | osf4* | osf5*)
   9685   version_type=osf
   9686   need_lib_prefix=no
   9687   need_version=no
   9688   soname_spec='${libname}${release}${shared_ext}$major'
   9689   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9690   shlibpath_var=LD_LIBRARY_PATH
   9691   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   9692   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   9693   ;;
   9694 
   9695 rdos*)
   9696   dynamic_linker=no
   9697   ;;
   9698 
   9699 solaris*)
   9700   version_type=linux
   9701   need_lib_prefix=no
   9702   need_version=no
   9703   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9704   soname_spec='${libname}${release}${shared_ext}$major'
   9705   shlibpath_var=LD_LIBRARY_PATH
   9706   shlibpath_overrides_runpath=yes
   9707   hardcode_into_libs=yes
   9708   # ldd complains unless libraries are executable
   9709   postinstall_cmds='chmod +x $lib'
   9710   ;;
   9711 
   9712 sunos4*)
   9713   version_type=sunos
   9714   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   9715   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   9716   shlibpath_var=LD_LIBRARY_PATH
   9717   shlibpath_overrides_runpath=yes
   9718   if test "$with_gnu_ld" = yes; then
   9719     need_lib_prefix=no
   9720   fi
   9721   need_version=yes
   9722   ;;
   9723 
   9724 sysv4 | sysv4.3*)
   9725   version_type=linux
   9726   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9727   soname_spec='${libname}${release}${shared_ext}$major'
   9728   shlibpath_var=LD_LIBRARY_PATH
   9729   case $host_vendor in
   9730     sni)
   9731       shlibpath_overrides_runpath=no
   9732       need_lib_prefix=no
   9733       export_dynamic_flag_spec='${wl}-Blargedynsym'
   9734       runpath_var=LD_RUN_PATH
   9735       ;;
   9736     siemens)
   9737       need_lib_prefix=no
   9738       ;;
   9739     motorola)
   9740       need_lib_prefix=no
   9741       need_version=no
   9742       shlibpath_overrides_runpath=no
   9743       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   9744       ;;
   9745   esac
   9746   ;;
   9747 
   9748 sysv4*MP*)
   9749   if test -d /usr/nec ;then
   9750     version_type=linux
   9751     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
   9752     soname_spec='$libname${shared_ext}.$major'
   9753     shlibpath_var=LD_LIBRARY_PATH
   9754   fi
   9755   ;;
   9756 
   9757 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   9758   version_type=freebsd-elf
   9759   need_lib_prefix=no
   9760   need_version=no
   9761   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   9762   soname_spec='${libname}${release}${shared_ext}$major'
   9763   shlibpath_var=LD_LIBRARY_PATH
   9764   hardcode_into_libs=yes
   9765   if test "$with_gnu_ld" = yes; then
   9766     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   9767     shlibpath_overrides_runpath=no
   9768   else
   9769     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   9770     shlibpath_overrides_runpath=yes
   9771     case $host_os in
   9772       sco3.2v5*)
   9773         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   9774 	;;
   9775     esac
   9776   fi
   9777   sys_lib_dlsearch_path_spec='/usr/lib'
   9778   ;;
   9779 
   9780 uts4*)
   9781   version_type=linux
   9782   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9783   soname_spec='${libname}${release}${shared_ext}$major'
   9784   shlibpath_var=LD_LIBRARY_PATH
   9785   ;;
   9786 
   9787 *)
   9788   dynamic_linker=no
   9789   ;;
   9790 esac
   9791 { $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
   9792 $as_echo "$dynamic_linker" >&6; }
   9793 test "$dynamic_linker" = no && can_build_shared=no
   9794 
   9795 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
   9796   $as_echo_n "(cached) " >&6
   9797 else
   9798   lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
   9799 fi
   9800 
   9801 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
   9802 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
   9803   $as_echo_n "(cached) " >&6
   9804 else
   9805   lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
   9806 fi
   9807 
   9808 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
   9809 
   9810 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   9811 if test "$GCC" = yes; then
   9812   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   9813 fi
   9814 
   9815 { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
   9816 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
   9817 hardcode_action=
   9818 if test -n "$hardcode_libdir_flag_spec" || \
   9819    test -n "$runpath_var" || \
   9820    test "X$hardcode_automatic" = "Xyes" ; then
   9821 
   9822   # We can hardcode non-existant directories.
   9823   if test "$hardcode_direct" != no &&
   9824      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   9825      # have to relink, otherwise we might link with an installed library
   9826      # when we should be linking with a yet-to-be-installed one
   9827      ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
   9828      test "$hardcode_minus_L" != no; then
   9829     # Linking always hardcodes the temporary library directory.
   9830     hardcode_action=relink
   9831   else
   9832     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   9833     hardcode_action=immediate
   9834   fi
   9835 else
   9836   # We cannot hardcode anything, or else we can only hardcode existing
   9837   # directories.
   9838   hardcode_action=unsupported
   9839 fi
   9840 { $as_echo "$as_me:$LINENO: result: $hardcode_action" >&5
   9841 $as_echo "$hardcode_action" >&6; }
   9842 
   9843 if test "$hardcode_action" = relink; then
   9844   # Fast installation is not supported
   9845   enable_fast_install=no
   9846 elif test "$shlibpath_overrides_runpath" = yes ||
   9847      test "$enable_shared" = no; then
   9848   # Fast installation is not necessary
   9849   enable_fast_install=needless
   9850 fi
   9851 
   9852 striplib=
   9853 old_striplib=
   9854 { $as_echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
   9855 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
   9856 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
   9857   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
   9858   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
   9859   { $as_echo "$as_me:$LINENO: result: yes" >&5
   9860 $as_echo "yes" >&6; }
   9861 else
   9862 # FIXME - insert some real tests, host_os isn't really good enough
   9863   case $host_os in
   9864    darwin*)
   9865        if test -n "$STRIP" ; then
   9866          striplib="$STRIP -x"
   9867          old_striplib="$STRIP -S"
   9868          { $as_echo "$as_me:$LINENO: result: yes" >&5
   9869 $as_echo "yes" >&6; }
   9870        else
   9871   { $as_echo "$as_me:$LINENO: result: no" >&5
   9872 $as_echo "no" >&6; }
   9873 fi
   9874        ;;
   9875    *)
   9876   { $as_echo "$as_me:$LINENO: result: no" >&5
   9877 $as_echo "no" >&6; }
   9878     ;;
   9879   esac
   9880 fi
   9881 
   9882 if test "x$enable_dlopen" != xyes; then
   9883   enable_dlopen=unknown
   9884   enable_dlopen_self=unknown
   9885   enable_dlopen_self_static=unknown
   9886 else
   9887   lt_cv_dlopen=no
   9888   lt_cv_dlopen_libs=
   9889 
   9890   case $host_os in
   9891   beos*)
   9892     lt_cv_dlopen="load_add_on"
   9893     lt_cv_dlopen_libs=
   9894     lt_cv_dlopen_self=yes
   9895     ;;
   9896 
   9897   mingw* | pw32*)
   9898     lt_cv_dlopen="LoadLibrary"
   9899     lt_cv_dlopen_libs=
   9900    ;;
   9901 
   9902   cygwin*)
   9903     lt_cv_dlopen="dlopen"
   9904     lt_cv_dlopen_libs=
   9905    ;;
   9906 
   9907   darwin*)
   9908   # if libdl is installed we need to link against it
   9909     { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
   9910 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   9911 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
   9912   $as_echo_n "(cached) " >&6
   9913 else
   9914   ac_check_lib_save_LIBS=$LIBS
   9915 LIBS="-ldl  $LIBS"
   9916 cat >conftest.$ac_ext <<_ACEOF
   9917 /* confdefs.h.  */
   9918 _ACEOF
   9919 cat confdefs.h >>conftest.$ac_ext
   9920 cat >>conftest.$ac_ext <<_ACEOF
   9921 /* end confdefs.h.  */
   9922 
   9923 /* Override any GCC internal prototype to avoid an error.
   9924    Use char because int might match the return type of a GCC
   9925    builtin and then its argument prototype would still apply.  */
   9926 #ifdef __cplusplus
   9927 extern "C"
   9928 #endif
   9929 char dlopen ();
   9930 int
   9931 main ()
   9932 {
   9933 return dlopen ();
   9934   ;
   9935   return 0;
   9936 }
   9937 _ACEOF
   9938 rm -f conftest.$ac_objext conftest$ac_exeext
   9939 if { (ac_try="$ac_link"
   9940 case "(($ac_try" in
   9941   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   9942   *) ac_try_echo=$ac_try;;
   9943 esac
   9944 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   9945 $as_echo "$ac_try_echo") >&5
   9946   (eval "$ac_link") 2>conftest.er1
   9947   ac_status=$?
   9948   grep -v '^ *+' conftest.er1 >conftest.err
   9949   rm -f conftest.er1
   9950   cat conftest.err >&5
   9951   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9952   (exit $ac_status); } && {
   9953 	 test -z "$ac_c_werror_flag" ||
   9954 	 test ! -s conftest.err
   9955        } && test -s conftest$ac_exeext && {
   9956 	 test "$cross_compiling" = yes ||
   9957 	 $as_test_x conftest$ac_exeext
   9958        }; then
   9959   ac_cv_lib_dl_dlopen=yes
   9960 else
   9961   $as_echo "$as_me: failed program was:" >&5
   9962 sed 's/^/| /' conftest.$ac_ext >&5
   9963 
   9964 	ac_cv_lib_dl_dlopen=no
   9965 fi
   9966 
   9967 rm -rf conftest.dSYM
   9968 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   9969       conftest$ac_exeext conftest.$ac_ext
   9970 LIBS=$ac_check_lib_save_LIBS
   9971 fi
   9972 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
   9973 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   9974 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
   9975   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   9976 else
   9977 
   9978     lt_cv_dlopen="dyld"
   9979     lt_cv_dlopen_libs=
   9980     lt_cv_dlopen_self=yes
   9981 
   9982 fi
   9983 
   9984    ;;
   9985 
   9986   *)
   9987     { $as_echo "$as_me:$LINENO: checking for shl_load" >&5
   9988 $as_echo_n "checking for shl_load... " >&6; }
   9989 if test "${ac_cv_func_shl_load+set}" = set; then
   9990   $as_echo_n "(cached) " >&6
   9991 else
   9992   cat >conftest.$ac_ext <<_ACEOF
   9993 /* confdefs.h.  */
   9994 _ACEOF
   9995 cat confdefs.h >>conftest.$ac_ext
   9996 cat >>conftest.$ac_ext <<_ACEOF
   9997 /* end confdefs.h.  */
   9998 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
   9999    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   10000 #define shl_load innocuous_shl_load
   10001 
   10002 /* System header to define __stub macros and hopefully few prototypes,
   10003     which can conflict with char shl_load (); below.
   10004     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   10005     <limits.h> exists even on freestanding compilers.  */
   10006 
   10007 #ifdef __STDC__
   10008 # include <limits.h>
   10009 #else
   10010 # include <assert.h>
   10011 #endif
   10012 
   10013 #undef shl_load
   10014 
   10015 /* Override any GCC internal prototype to avoid an error.
   10016    Use char because int might match the return type of a GCC
   10017    builtin and then its argument prototype would still apply.  */
   10018 #ifdef __cplusplus
   10019 extern "C"
   10020 #endif
   10021 char shl_load ();
   10022 /* The GNU C library defines this for functions which it implements
   10023     to always fail with ENOSYS.  Some functions are actually named
   10024     something starting with __ and the normal name is an alias.  */
   10025 #if defined __stub_shl_load || defined __stub___shl_load
   10026 choke me
   10027 #endif
   10028 
   10029 int
   10030 main ()
   10031 {
   10032 return shl_load ();
   10033   ;
   10034   return 0;
   10035 }
   10036 _ACEOF
   10037 rm -f conftest.$ac_objext conftest$ac_exeext
   10038 if { (ac_try="$ac_link"
   10039 case "(($ac_try" in
   10040   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   10041   *) ac_try_echo=$ac_try;;
   10042 esac
   10043 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   10044 $as_echo "$ac_try_echo") >&5
   10045   (eval "$ac_link") 2>conftest.er1
   10046   ac_status=$?
   10047   grep -v '^ *+' conftest.er1 >conftest.err
   10048   rm -f conftest.er1
   10049   cat conftest.err >&5
   10050   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10051   (exit $ac_status); } && {
   10052 	 test -z "$ac_c_werror_flag" ||
   10053 	 test ! -s conftest.err
   10054        } && test -s conftest$ac_exeext && {
   10055 	 test "$cross_compiling" = yes ||
   10056 	 $as_test_x conftest$ac_exeext
   10057        }; then
   10058   ac_cv_func_shl_load=yes
   10059 else
   10060   $as_echo "$as_me: failed program was:" >&5
   10061 sed 's/^/| /' conftest.$ac_ext >&5
   10062 
   10063 	ac_cv_func_shl_load=no
   10064 fi
   10065 
   10066 rm -rf conftest.dSYM
   10067 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   10068       conftest$ac_exeext conftest.$ac_ext
   10069 fi
   10070 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
   10071 $as_echo "$ac_cv_func_shl_load" >&6; }
   10072 if test "x$ac_cv_func_shl_load" = x""yes; then
   10073   lt_cv_dlopen="shl_load"
   10074 else
   10075   { $as_echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
   10076 $as_echo_n "checking for shl_load in -ldld... " >&6; }
   10077 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
   10078   $as_echo_n "(cached) " >&6
   10079 else
   10080   ac_check_lib_save_LIBS=$LIBS
   10081 LIBS="-ldld  $LIBS"
   10082 cat >conftest.$ac_ext <<_ACEOF
   10083 /* confdefs.h.  */
   10084 _ACEOF
   10085 cat confdefs.h >>conftest.$ac_ext
   10086 cat >>conftest.$ac_ext <<_ACEOF
   10087 /* end confdefs.h.  */
   10088 
   10089 /* Override any GCC internal prototype to avoid an error.
   10090    Use char because int might match the return type of a GCC
   10091    builtin and then its argument prototype would still apply.  */
   10092 #ifdef __cplusplus
   10093 extern "C"
   10094 #endif
   10095 char shl_load ();
   10096 int
   10097 main ()
   10098 {
   10099 return shl_load ();
   10100   ;
   10101   return 0;
   10102 }
   10103 _ACEOF
   10104 rm -f conftest.$ac_objext conftest$ac_exeext
   10105 if { (ac_try="$ac_link"
   10106 case "(($ac_try" in
   10107   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   10108   *) ac_try_echo=$ac_try;;
   10109 esac
   10110 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   10111 $as_echo "$ac_try_echo") >&5
   10112   (eval "$ac_link") 2>conftest.er1
   10113   ac_status=$?
   10114   grep -v '^ *+' conftest.er1 >conftest.err
   10115   rm -f conftest.er1
   10116   cat conftest.err >&5
   10117   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10118   (exit $ac_status); } && {
   10119 	 test -z "$ac_c_werror_flag" ||
   10120 	 test ! -s conftest.err
   10121        } && test -s conftest$ac_exeext && {
   10122 	 test "$cross_compiling" = yes ||
   10123 	 $as_test_x conftest$ac_exeext
   10124        }; then
   10125   ac_cv_lib_dld_shl_load=yes
   10126 else
   10127   $as_echo "$as_me: failed program was:" >&5
   10128 sed 's/^/| /' conftest.$ac_ext >&5
   10129 
   10130 	ac_cv_lib_dld_shl_load=no
   10131 fi
   10132 
   10133 rm -rf conftest.dSYM
   10134 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   10135       conftest$ac_exeext conftest.$ac_ext
   10136 LIBS=$ac_check_lib_save_LIBS
   10137 fi
   10138 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
   10139 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
   10140 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then
   10141   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
   10142 else
   10143   { $as_echo "$as_me:$LINENO: checking for dlopen" >&5
   10144 $as_echo_n "checking for dlopen... " >&6; }
   10145 if test "${ac_cv_func_dlopen+set}" = set; then
   10146   $as_echo_n "(cached) " >&6
   10147 else
   10148   cat >conftest.$ac_ext <<_ACEOF
   10149 /* confdefs.h.  */
   10150 _ACEOF
   10151 cat confdefs.h >>conftest.$ac_ext
   10152 cat >>conftest.$ac_ext <<_ACEOF
   10153 /* end confdefs.h.  */
   10154 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
   10155    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   10156 #define dlopen innocuous_dlopen
   10157 
   10158 /* System header to define __stub macros and hopefully few prototypes,
   10159     which can conflict with char dlopen (); below.
   10160     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   10161     <limits.h> exists even on freestanding compilers.  */
   10162 
   10163 #ifdef __STDC__
   10164 # include <limits.h>
   10165 #else
   10166 # include <assert.h>
   10167 #endif
   10168 
   10169 #undef dlopen
   10170 
   10171 /* Override any GCC internal prototype to avoid an error.
   10172    Use char because int might match the return type of a GCC
   10173    builtin and then its argument prototype would still apply.  */
   10174 #ifdef __cplusplus
   10175 extern "C"
   10176 #endif
   10177 char dlopen ();
   10178 /* The GNU C library defines this for functions which it implements
   10179     to always fail with ENOSYS.  Some functions are actually named
   10180     something starting with __ and the normal name is an alias.  */
   10181 #if defined __stub_dlopen || defined __stub___dlopen
   10182 choke me
   10183 #endif
   10184 
   10185 int
   10186 main ()
   10187 {
   10188 return dlopen ();
   10189   ;
   10190   return 0;
   10191 }
   10192 _ACEOF
   10193 rm -f conftest.$ac_objext conftest$ac_exeext
   10194 if { (ac_try="$ac_link"
   10195 case "(($ac_try" in
   10196   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   10197   *) ac_try_echo=$ac_try;;
   10198 esac
   10199 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   10200 $as_echo "$ac_try_echo") >&5
   10201   (eval "$ac_link") 2>conftest.er1
   10202   ac_status=$?
   10203   grep -v '^ *+' conftest.er1 >conftest.err
   10204   rm -f conftest.er1
   10205   cat conftest.err >&5
   10206   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10207   (exit $ac_status); } && {
   10208 	 test -z "$ac_c_werror_flag" ||
   10209 	 test ! -s conftest.err
   10210        } && test -s conftest$ac_exeext && {
   10211 	 test "$cross_compiling" = yes ||
   10212 	 $as_test_x conftest$ac_exeext
   10213        }; then
   10214   ac_cv_func_dlopen=yes
   10215 else
   10216   $as_echo "$as_me: failed program was:" >&5
   10217 sed 's/^/| /' conftest.$ac_ext >&5
   10218 
   10219 	ac_cv_func_dlopen=no
   10220 fi
   10221 
   10222 rm -rf conftest.dSYM
   10223 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   10224       conftest$ac_exeext conftest.$ac_ext
   10225 fi
   10226 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
   10227 $as_echo "$ac_cv_func_dlopen" >&6; }
   10228 if test "x$ac_cv_func_dlopen" = x""yes; then
   10229   lt_cv_dlopen="dlopen"
   10230 else
   10231   { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
   10232 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   10233 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
   10234   $as_echo_n "(cached) " >&6
   10235 else
   10236   ac_check_lib_save_LIBS=$LIBS
   10237 LIBS="-ldl  $LIBS"
   10238 cat >conftest.$ac_ext <<_ACEOF
   10239 /* confdefs.h.  */
   10240 _ACEOF
   10241 cat confdefs.h >>conftest.$ac_ext
   10242 cat >>conftest.$ac_ext <<_ACEOF
   10243 /* end confdefs.h.  */
   10244 
   10245 /* Override any GCC internal prototype to avoid an error.
   10246    Use char because int might match the return type of a GCC
   10247    builtin and then its argument prototype would still apply.  */
   10248 #ifdef __cplusplus
   10249 extern "C"
   10250 #endif
   10251 char dlopen ();
   10252 int
   10253 main ()
   10254 {
   10255 return dlopen ();
   10256   ;
   10257   return 0;
   10258 }
   10259 _ACEOF
   10260 rm -f conftest.$ac_objext conftest$ac_exeext
   10261 if { (ac_try="$ac_link"
   10262 case "(($ac_try" in
   10263   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   10264   *) ac_try_echo=$ac_try;;
   10265 esac
   10266 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   10267 $as_echo "$ac_try_echo") >&5
   10268   (eval "$ac_link") 2>conftest.er1
   10269   ac_status=$?
   10270   grep -v '^ *+' conftest.er1 >conftest.err
   10271   rm -f conftest.er1
   10272   cat conftest.err >&5
   10273   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10274   (exit $ac_status); } && {
   10275 	 test -z "$ac_c_werror_flag" ||
   10276 	 test ! -s conftest.err
   10277        } && test -s conftest$ac_exeext && {
   10278 	 test "$cross_compiling" = yes ||
   10279 	 $as_test_x conftest$ac_exeext
   10280        }; then
   10281   ac_cv_lib_dl_dlopen=yes
   10282 else
   10283   $as_echo "$as_me: failed program was:" >&5
   10284 sed 's/^/| /' conftest.$ac_ext >&5
   10285 
   10286 	ac_cv_lib_dl_dlopen=no
   10287 fi
   10288 
   10289 rm -rf conftest.dSYM
   10290 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   10291       conftest$ac_exeext conftest.$ac_ext
   10292 LIBS=$ac_check_lib_save_LIBS
   10293 fi
   10294 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
   10295 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   10296 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
   10297   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   10298 else
   10299   { $as_echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
   10300 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
   10301 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
   10302   $as_echo_n "(cached) " >&6
   10303 else
   10304   ac_check_lib_save_LIBS=$LIBS
   10305 LIBS="-lsvld  $LIBS"
   10306 cat >conftest.$ac_ext <<_ACEOF
   10307 /* confdefs.h.  */
   10308 _ACEOF
   10309 cat confdefs.h >>conftest.$ac_ext
   10310 cat >>conftest.$ac_ext <<_ACEOF
   10311 /* end confdefs.h.  */
   10312 
   10313 /* Override any GCC internal prototype to avoid an error.
   10314    Use char because int might match the return type of a GCC
   10315    builtin and then its argument prototype would still apply.  */
   10316 #ifdef __cplusplus
   10317 extern "C"
   10318 #endif
   10319 char dlopen ();
   10320 int
   10321 main ()
   10322 {
   10323 return dlopen ();
   10324   ;
   10325   return 0;
   10326 }
   10327 _ACEOF
   10328 rm -f conftest.$ac_objext conftest$ac_exeext
   10329 if { (ac_try="$ac_link"
   10330 case "(($ac_try" in
   10331   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   10332   *) ac_try_echo=$ac_try;;
   10333 esac
   10334 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   10335 $as_echo "$ac_try_echo") >&5
   10336   (eval "$ac_link") 2>conftest.er1
   10337   ac_status=$?
   10338   grep -v '^ *+' conftest.er1 >conftest.err
   10339   rm -f conftest.er1
   10340   cat conftest.err >&5
   10341   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10342   (exit $ac_status); } && {
   10343 	 test -z "$ac_c_werror_flag" ||
   10344 	 test ! -s conftest.err
   10345        } && test -s conftest$ac_exeext && {
   10346 	 test "$cross_compiling" = yes ||
   10347 	 $as_test_x conftest$ac_exeext
   10348        }; then
   10349   ac_cv_lib_svld_dlopen=yes
   10350 else
   10351   $as_echo "$as_me: failed program was:" >&5
   10352 sed 's/^/| /' conftest.$ac_ext >&5
   10353 
   10354 	ac_cv_lib_svld_dlopen=no
   10355 fi
   10356 
   10357 rm -rf conftest.dSYM
   10358 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   10359       conftest$ac_exeext conftest.$ac_ext
   10360 LIBS=$ac_check_lib_save_LIBS
   10361 fi
   10362 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
   10363 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
   10364 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then
   10365   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
   10366 else
   10367   { $as_echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
   10368 $as_echo_n "checking for dld_link in -ldld... " >&6; }
   10369 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
   10370   $as_echo_n "(cached) " >&6
   10371 else
   10372   ac_check_lib_save_LIBS=$LIBS
   10373 LIBS="-ldld  $LIBS"
   10374 cat >conftest.$ac_ext <<_ACEOF
   10375 /* confdefs.h.  */
   10376 _ACEOF
   10377 cat confdefs.h >>conftest.$ac_ext
   10378 cat >>conftest.$ac_ext <<_ACEOF
   10379 /* end confdefs.h.  */
   10380 
   10381 /* Override any GCC internal prototype to avoid an error.
   10382    Use char because int might match the return type of a GCC
   10383    builtin and then its argument prototype would still apply.  */
   10384 #ifdef __cplusplus
   10385 extern "C"
   10386 #endif
   10387 char dld_link ();
   10388 int
   10389 main ()
   10390 {
   10391 return dld_link ();
   10392   ;
   10393   return 0;
   10394 }
   10395 _ACEOF
   10396 rm -f conftest.$ac_objext conftest$ac_exeext
   10397 if { (ac_try="$ac_link"
   10398 case "(($ac_try" in
   10399   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   10400   *) ac_try_echo=$ac_try;;
   10401 esac
   10402 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   10403 $as_echo "$ac_try_echo") >&5
   10404   (eval "$ac_link") 2>conftest.er1
   10405   ac_status=$?
   10406   grep -v '^ *+' conftest.er1 >conftest.err
   10407   rm -f conftest.er1
   10408   cat conftest.err >&5
   10409   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10410   (exit $ac_status); } && {
   10411 	 test -z "$ac_c_werror_flag" ||
   10412 	 test ! -s conftest.err
   10413        } && test -s conftest$ac_exeext && {
   10414 	 test "$cross_compiling" = yes ||
   10415 	 $as_test_x conftest$ac_exeext
   10416        }; then
   10417   ac_cv_lib_dld_dld_link=yes
   10418 else
   10419   $as_echo "$as_me: failed program was:" >&5
   10420 sed 's/^/| /' conftest.$ac_ext >&5
   10421 
   10422 	ac_cv_lib_dld_dld_link=no
   10423 fi
   10424 
   10425 rm -rf conftest.dSYM
   10426 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   10427       conftest$ac_exeext conftest.$ac_ext
   10428 LIBS=$ac_check_lib_save_LIBS
   10429 fi
   10430 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
   10431 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
   10432 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then
   10433   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
   10434 fi
   10435 
   10436 
   10437 fi
   10438 
   10439 
   10440 fi
   10441 
   10442 
   10443 fi
   10444 
   10445 
   10446 fi
   10447 
   10448 
   10449 fi
   10450 
   10451     ;;
   10452   esac
   10453 
   10454   if test "x$lt_cv_dlopen" != xno; then
   10455     enable_dlopen=yes
   10456   else
   10457     enable_dlopen=no
   10458   fi
   10459 
   10460   case $lt_cv_dlopen in
   10461   dlopen)
   10462     save_CPPFLAGS="$CPPFLAGS"
   10463     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
   10464 
   10465     save_LDFLAGS="$LDFLAGS"
   10466     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
   10467 
   10468     save_LIBS="$LIBS"
   10469     LIBS="$lt_cv_dlopen_libs $LIBS"
   10470 
   10471     { $as_echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
   10472 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
   10473 if test "${lt_cv_dlopen_self+set}" = set; then
   10474   $as_echo_n "(cached) " >&6
   10475 else
   10476   	  if test "$cross_compiling" = yes; then :
   10477   lt_cv_dlopen_self=cross
   10478 else
   10479   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   10480   lt_status=$lt_dlunknown
   10481   cat > conftest.$ac_ext <<EOF
   10482 #line 10482 "configure"
   10483 #include "confdefs.h"
   10484 
   10485 #if HAVE_DLFCN_H
   10486 #include <dlfcn.h>
   10487 #endif
   10488 
   10489 #include <stdio.h>
   10490 
   10491 #ifdef RTLD_GLOBAL
   10492 #  define LT_DLGLOBAL		RTLD_GLOBAL
   10493 #else
   10494 #  ifdef DL_GLOBAL
   10495 #    define LT_DLGLOBAL		DL_GLOBAL
   10496 #  else
   10497 #    define LT_DLGLOBAL		0
   10498 #  endif
   10499 #endif
   10500 
   10501 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   10502    find out it does not work in some platform. */
   10503 #ifndef LT_DLLAZY_OR_NOW
   10504 #  ifdef RTLD_LAZY
   10505 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   10506 #  else
   10507 #    ifdef DL_LAZY
   10508 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   10509 #    else
   10510 #      ifdef RTLD_NOW
   10511 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   10512 #      else
   10513 #        ifdef DL_NOW
   10514 #          define LT_DLLAZY_OR_NOW	DL_NOW
   10515 #        else
   10516 #          define LT_DLLAZY_OR_NOW	0
   10517 #        endif
   10518 #      endif
   10519 #    endif
   10520 #  endif
   10521 #endif
   10522 
   10523 #ifdef __cplusplus
   10524 extern "C" void exit (int);
   10525 #endif
   10526 
   10527 void fnord() { int i=42;}
   10528 int main ()
   10529 {
   10530   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   10531   int status = $lt_dlunknown;
   10532 
   10533   if (self)
   10534     {
   10535       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   10536       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
   10537       /* dlclose (self); */
   10538     }
   10539   else
   10540     puts (dlerror ());
   10541 
   10542     exit (status);
   10543 }
   10544 EOF
   10545   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   10546   (eval $ac_link) 2>&5
   10547   ac_status=$?
   10548   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10549   (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
   10550     (./conftest; exit; ) >&5 2>/dev/null
   10551     lt_status=$?
   10552     case x$lt_status in
   10553       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
   10554       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
   10555       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
   10556     esac
   10557   else :
   10558     # compilation failed
   10559     lt_cv_dlopen_self=no
   10560   fi
   10561 fi
   10562 rm -fr conftest*
   10563 
   10564 
   10565 fi
   10566 { $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
   10567 $as_echo "$lt_cv_dlopen_self" >&6; }
   10568 
   10569     if test "x$lt_cv_dlopen_self" = xyes; then
   10570       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
   10571       { $as_echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
   10572 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
   10573 if test "${lt_cv_dlopen_self_static+set}" = set; then
   10574   $as_echo_n "(cached) " >&6
   10575 else
   10576   	  if test "$cross_compiling" = yes; then :
   10577   lt_cv_dlopen_self_static=cross
   10578 else
   10579   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   10580   lt_status=$lt_dlunknown
   10581   cat > conftest.$ac_ext <<EOF
   10582 #line 10582 "configure"
   10583 #include "confdefs.h"
   10584 
   10585 #if HAVE_DLFCN_H
   10586 #include <dlfcn.h>
   10587 #endif
   10588 
   10589 #include <stdio.h>
   10590 
   10591 #ifdef RTLD_GLOBAL
   10592 #  define LT_DLGLOBAL		RTLD_GLOBAL
   10593 #else
   10594 #  ifdef DL_GLOBAL
   10595 #    define LT_DLGLOBAL		DL_GLOBAL
   10596 #  else
   10597 #    define LT_DLGLOBAL		0
   10598 #  endif
   10599 #endif
   10600 
   10601 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   10602    find out it does not work in some platform. */
   10603 #ifndef LT_DLLAZY_OR_NOW
   10604 #  ifdef RTLD_LAZY
   10605 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   10606 #  else
   10607 #    ifdef DL_LAZY
   10608 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   10609 #    else
   10610 #      ifdef RTLD_NOW
   10611 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   10612 #      else
   10613 #        ifdef DL_NOW
   10614 #          define LT_DLLAZY_OR_NOW	DL_NOW
   10615 #        else
   10616 #          define LT_DLLAZY_OR_NOW	0
   10617 #        endif
   10618 #      endif
   10619 #    endif
   10620 #  endif
   10621 #endif
   10622 
   10623 #ifdef __cplusplus
   10624 extern "C" void exit (int);
   10625 #endif
   10626 
   10627 void fnord() { int i=42;}
   10628 int main ()
   10629 {
   10630   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   10631   int status = $lt_dlunknown;
   10632 
   10633   if (self)
   10634     {
   10635       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   10636       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
   10637       /* dlclose (self); */
   10638     }
   10639   else
   10640     puts (dlerror ());
   10641 
   10642     exit (status);
   10643 }
   10644 EOF
   10645   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   10646   (eval $ac_link) 2>&5
   10647   ac_status=$?
   10648   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10649   (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
   10650     (./conftest; exit; ) >&5 2>/dev/null
   10651     lt_status=$?
   10652     case x$lt_status in
   10653       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
   10654       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
   10655       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
   10656     esac
   10657   else :
   10658     # compilation failed
   10659     lt_cv_dlopen_self_static=no
   10660   fi
   10661 fi
   10662 rm -fr conftest*
   10663 
   10664 
   10665 fi
   10666 { $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
   10667 $as_echo "$lt_cv_dlopen_self_static" >&6; }
   10668     fi
   10669 
   10670     CPPFLAGS="$save_CPPFLAGS"
   10671     LDFLAGS="$save_LDFLAGS"
   10672     LIBS="$save_LIBS"
   10673     ;;
   10674   esac
   10675 
   10676   case $lt_cv_dlopen_self in
   10677   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
   10678   *) enable_dlopen_self=unknown ;;
   10679   esac
   10680 
   10681   case $lt_cv_dlopen_self_static in
   10682   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
   10683   *) enable_dlopen_self_static=unknown ;;
   10684   esac
   10685 fi
   10686 
   10687 
   10688 # Report which library types will actually be built
   10689 { $as_echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
   10690 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
   10691 { $as_echo "$as_me:$LINENO: result: $can_build_shared" >&5
   10692 $as_echo "$can_build_shared" >&6; }
   10693 
   10694 { $as_echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
   10695 $as_echo_n "checking whether to build shared libraries... " >&6; }
   10696 test "$can_build_shared" = "no" && enable_shared=no
   10697 
   10698 # On AIX, shared libraries and static libraries use the same namespace, and
   10699 # are all built from PIC.
   10700 case $host_os in
   10701 aix3*)
   10702   test "$enable_shared" = yes && enable_static=no
   10703   if test -n "$RANLIB"; then
   10704     archive_cmds="$archive_cmds~\$RANLIB \$lib"
   10705     postinstall_cmds='$RANLIB $lib'
   10706   fi
   10707   ;;
   10708 
   10709 aix[4-9]*)
   10710   if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
   10711     test "$enable_shared" = yes && enable_static=no
   10712   fi
   10713     ;;
   10714 esac
   10715 { $as_echo "$as_me:$LINENO: result: $enable_shared" >&5
   10716 $as_echo "$enable_shared" >&6; }
   10717 
   10718 { $as_echo "$as_me:$LINENO: checking whether to build static libraries" >&5
   10719 $as_echo_n "checking whether to build static libraries... " >&6; }
   10720 # Make sure either enable_shared or enable_static is yes.
   10721 test "$enable_shared" = yes || enable_static=yes
   10722 { $as_echo "$as_me:$LINENO: result: $enable_static" >&5
   10723 $as_echo "$enable_static" >&6; }
   10724 
   10725 # The else clause should only fire when bootstrapping the
   10726 # libtool distribution, otherwise you forgot to ship ltmain.sh
   10727 # with your package, and you will get complaints that there are
   10728 # no rules to generate ltmain.sh.
   10729 if test -f "$ltmain"; then
   10730   # See if we are running on zsh, and set the options which allow our commands through
   10731   # without removal of \ escapes.
   10732   if test -n "${ZSH_VERSION+set}" ; then
   10733     setopt NO_GLOB_SUBST
   10734   fi
   10735   # Now quote all the things that may contain metacharacters while being
   10736   # careful not to overquote the AC_SUBSTed values.  We take copies of the
   10737   # variables and quote the copies for generation of the libtool script.
   10738   for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
   10739     SED SHELL STRIP \
   10740     libname_spec library_names_spec soname_spec extract_expsyms_cmds \
   10741     old_striplib striplib file_magic_cmd finish_cmds finish_eval \
   10742     deplibs_check_method reload_flag reload_cmds need_locks \
   10743     lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
   10744     lt_cv_sys_global_symbol_to_c_name_address \
   10745     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
   10746     old_postinstall_cmds old_postuninstall_cmds \
   10747     compiler \
   10748     CC \
   10749     LD \
   10750     lt_prog_compiler_wl \
   10751     lt_prog_compiler_pic \
   10752     lt_prog_compiler_static \
   10753     lt_prog_compiler_no_builtin_flag \
   10754     export_dynamic_flag_spec \
   10755     thread_safe_flag_spec \
   10756     whole_archive_flag_spec \
   10757     enable_shared_with_static_runtimes \
   10758     old_archive_cmds \
   10759     old_archive_from_new_cmds \
   10760     predep_objects \
   10761     postdep_objects \
   10762     predeps \
   10763     postdeps \
   10764     compiler_lib_search_path \
   10765     compiler_lib_search_dirs \
   10766     archive_cmds \
   10767     archive_expsym_cmds \
   10768     postinstall_cmds \
   10769     postuninstall_cmds \
   10770     old_archive_from_expsyms_cmds \
   10771     allow_undefined_flag \
   10772     no_undefined_flag \
   10773     export_symbols_cmds \
   10774     hardcode_libdir_flag_spec \
   10775     hardcode_libdir_flag_spec_ld \
   10776     hardcode_libdir_separator \
   10777     hardcode_automatic \
   10778     module_cmds \
   10779     module_expsym_cmds \
   10780     lt_cv_prog_compiler_c_o \
   10781     fix_srcfile_path \
   10782     exclude_expsyms \
   10783     include_expsyms; do
   10784 
   10785     case $var in
   10786     old_archive_cmds | \
   10787     old_archive_from_new_cmds | \
   10788     archive_cmds | \
   10789     archive_expsym_cmds | \
   10790     module_cmds | \
   10791     module_expsym_cmds | \
   10792     old_archive_from_expsyms_cmds | \
   10793     export_symbols_cmds | \
   10794     extract_expsyms_cmds | reload_cmds | finish_cmds | \
   10795     postinstall_cmds | postuninstall_cmds | \
   10796     old_postinstall_cmds | old_postuninstall_cmds | \
   10797     sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
   10798       # Double-quote double-evaled strings.
   10799       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
   10800       ;;
   10801     *)
   10802       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
   10803       ;;
   10804     esac
   10805   done
   10806 
   10807   case $lt_echo in
   10808   *'\$0 --fallback-echo"')
   10809     lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
   10810     ;;
   10811   esac
   10812 
   10813 cfgfile="${ofile}T"
   10814   trap "$rm \"$cfgfile\"; exit 1" 1 2 15
   10815   $rm -f "$cfgfile"
   10816   { $as_echo "$as_me:$LINENO: creating $ofile" >&5
   10817 $as_echo "$as_me: creating $ofile" >&6;}
   10818 
   10819   cat <<__EOF__ >> "$cfgfile"
   10820 #! $SHELL
   10821 
   10822 # `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
   10823 # Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
   10824 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
   10825 #
   10826 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008
   10827 # Free Software Foundation, Inc.
   10828 #
   10829 # This file is part of GNU Libtool:
   10830 # Originally by Gordon Matzigkeit <gord (at] gnu.ai.mit.edu>, 1996
   10831 #
   10832 # This program is free software; you can redistribute it and/or modify
   10833 # it under the terms of the GNU General Public License as published by
   10834 # the Free Software Foundation; either version 2 of the License, or
   10835 # (at your option) any later version.
   10836 #
   10837 # This program is distributed in the hope that it will be useful, but
   10838 # WITHOUT ANY WARRANTY; without even the implied warranty of
   10839 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
   10840 # General Public License for more details.
   10841 #
   10842 # You should have received a copy of the GNU General Public License
   10843 # along with this program; if not, write to the Free Software
   10844 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
   10845 #
   10846 # As a special exception to the GNU General Public License, if you
   10847 # distribute this file as part of a program that contains a
   10848 # configuration script generated by Autoconf, you may include it under
   10849 # the same distribution terms that you use for the rest of that program.
   10850 
   10851 # A sed program that does not truncate output.
   10852 SED=$lt_SED
   10853 
   10854 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
   10855 Xsed="$SED -e 1s/^X//"
   10856 
   10857 # The HP-UX ksh and POSIX shell print the target directory to stdout
   10858 # if CDPATH is set.
   10859 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   10860 
   10861 # The names of the tagged configurations supported by this script.
   10862 available_tags=
   10863 
   10864 # ### BEGIN LIBTOOL CONFIG
   10865 
   10866 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   10867 
   10868 # Shell to use when invoking shell scripts.
   10869 SHELL=$lt_SHELL
   10870 
   10871 # Whether or not to build shared libraries.
   10872 build_libtool_libs=$enable_shared
   10873 
   10874 # Whether or not to build static libraries.
   10875 build_old_libs=$enable_static
   10876 
   10877 # Whether or not to add -lc for building shared libraries.
   10878 build_libtool_need_lc=$archive_cmds_need_lc
   10879 
   10880 # Whether or not to disallow shared libs when runtime libs are static
   10881 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
   10882 
   10883 # Whether or not to optimize for fast installation.
   10884 fast_install=$enable_fast_install
   10885 
   10886 # The host system.
   10887 host_alias=$host_alias
   10888 host=$host
   10889 host_os=$host_os
   10890 
   10891 # The build system.
   10892 build_alias=$build_alias
   10893 build=$build
   10894 build_os=$build_os
   10895 
   10896 # An echo program that does not interpret backslashes.
   10897 echo=$lt_echo
   10898 
   10899 # The archiver.
   10900 AR=$lt_AR
   10901 AR_FLAGS=$lt_AR_FLAGS
   10902 
   10903 # A C compiler.
   10904 LTCC=$lt_LTCC
   10905 
   10906 # LTCC compiler flags.
   10907 LTCFLAGS=$lt_LTCFLAGS
   10908 
   10909 # A language-specific compiler.
   10910 CC=$lt_compiler
   10911 
   10912 # Is the compiler the GNU C compiler?
   10913 with_gcc=$GCC
   10914 
   10915 # An ERE matcher.
   10916 EGREP=$lt_EGREP
   10917 
   10918 # The linker used to build libraries.
   10919 LD=$lt_LD
   10920 
   10921 # Whether we need hard or soft links.
   10922 LN_S=$lt_LN_S
   10923 
   10924 # A BSD-compatible nm program.
   10925 NM=$lt_NM
   10926 
   10927 # A symbol stripping program
   10928 STRIP=$lt_STRIP
   10929 
   10930 # Used to examine libraries when file_magic_cmd begins "file"
   10931 MAGIC_CMD=$MAGIC_CMD
   10932 
   10933 # Used on cygwin: DLL creation program.
   10934 DLLTOOL="$DLLTOOL"
   10935 
   10936 # Used on cygwin: object dumper.
   10937 OBJDUMP="$OBJDUMP"
   10938 
   10939 # Used on cygwin: assembler.
   10940 AS="$AS"
   10941 
   10942 # The name of the directory that contains temporary libtool files.
   10943 objdir=$objdir
   10944 
   10945 # How to create reloadable object files.
   10946 reload_flag=$lt_reload_flag
   10947 reload_cmds=$lt_reload_cmds
   10948 
   10949 # How to pass a linker flag through the compiler.
   10950 wl=$lt_lt_prog_compiler_wl
   10951 
   10952 # Object file suffix (normally "o").
   10953 objext="$ac_objext"
   10954 
   10955 # Old archive suffix (normally "a").
   10956 libext="$libext"
   10957 
   10958 # Shared library suffix (normally ".so").
   10959 shrext_cmds='$shrext_cmds'
   10960 
   10961 # Executable file suffix (normally "").
   10962 exeext="$exeext"
   10963 
   10964 # Additional compiler flags for building library objects.
   10965 pic_flag=$lt_lt_prog_compiler_pic
   10966 pic_mode=$pic_mode
   10967 
   10968 # What is the maximum length of a command?
   10969 max_cmd_len=$lt_cv_sys_max_cmd_len
   10970 
   10971 # Does compiler simultaneously support -c and -o options?
   10972 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
   10973 
   10974 # Must we lock files when doing compilation?
   10975 need_locks=$lt_need_locks
   10976 
   10977 # Do we need the lib prefix for modules?
   10978 need_lib_prefix=$need_lib_prefix
   10979 
   10980 # Do we need a version for libraries?
   10981 need_version=$need_version
   10982 
   10983 # Whether dlopen is supported.
   10984 dlopen_support=$enable_dlopen
   10985 
   10986 # Whether dlopen of programs is supported.
   10987 dlopen_self=$enable_dlopen_self
   10988 
   10989 # Whether dlopen of statically linked programs is supported.
   10990 dlopen_self_static=$enable_dlopen_self_static
   10991 
   10992 # Compiler flag to prevent dynamic linking.
   10993 link_static_flag=$lt_lt_prog_compiler_static
   10994 
   10995 # Compiler flag to turn off builtin functions.
   10996 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
   10997 
   10998 # Compiler flag to allow reflexive dlopens.
   10999 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
   11000 
   11001 # Compiler flag to generate shared objects directly from archives.
   11002 whole_archive_flag_spec=$lt_whole_archive_flag_spec
   11003 
   11004 # Compiler flag to generate thread-safe objects.
   11005 thread_safe_flag_spec=$lt_thread_safe_flag_spec
   11006 
   11007 # Library versioning type.
   11008 version_type=$version_type
   11009 
   11010 # Format of library name prefix.
   11011 libname_spec=$lt_libname_spec
   11012 
   11013 # List of archive names.  First name is the real one, the rest are links.
   11014 # The last name is the one that the linker finds with -lNAME.
   11015 library_names_spec=$lt_library_names_spec
   11016 
   11017 # The coded name of the library, if different from the real name.
   11018 soname_spec=$lt_soname_spec
   11019 
   11020 # Commands used to build and install an old-style archive.
   11021 RANLIB=$lt_RANLIB
   11022 old_archive_cmds=$lt_old_archive_cmds
   11023 old_postinstall_cmds=$lt_old_postinstall_cmds
   11024 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   11025 
   11026 # Create an old-style archive from a shared archive.
   11027 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
   11028 
   11029 # Create a temporary old-style archive to link instead of a shared archive.
   11030 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
   11031 
   11032 # Commands used to build and install a shared archive.
   11033 archive_cmds=$lt_archive_cmds
   11034 archive_expsym_cmds=$lt_archive_expsym_cmds
   11035 postinstall_cmds=$lt_postinstall_cmds
   11036 postuninstall_cmds=$lt_postuninstall_cmds
   11037 
   11038 # Commands used to build a loadable module (assumed same as above if empty)
   11039 module_cmds=$lt_module_cmds
   11040 module_expsym_cmds=$lt_module_expsym_cmds
   11041 
   11042 # Commands to strip libraries.
   11043 old_striplib=$lt_old_striplib
   11044 striplib=$lt_striplib
   11045 
   11046 # Dependencies to place before the objects being linked to create a
   11047 # shared library.
   11048 predep_objects=$lt_predep_objects
   11049 
   11050 # Dependencies to place after the objects being linked to create a
   11051 # shared library.
   11052 postdep_objects=$lt_postdep_objects
   11053 
   11054 # Dependencies to place before the objects being linked to create a
   11055 # shared library.
   11056 predeps=$lt_predeps
   11057 
   11058 # Dependencies to place after the objects being linked to create a
   11059 # shared library.
   11060 postdeps=$lt_postdeps
   11061 
   11062 # The directories searched by this compiler when creating a shared
   11063 # library
   11064 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
   11065 
   11066 # The library search path used internally by the compiler when linking
   11067 # a shared library.
   11068 compiler_lib_search_path=$lt_compiler_lib_search_path
   11069 
   11070 # Method to check whether dependent libraries are shared objects.
   11071 deplibs_check_method=$lt_deplibs_check_method
   11072 
   11073 # Command to use when deplibs_check_method == file_magic.
   11074 file_magic_cmd=$lt_file_magic_cmd
   11075 
   11076 # Flag that allows shared libraries with undefined symbols to be built.
   11077 allow_undefined_flag=$lt_allow_undefined_flag
   11078 
   11079 # Flag that forces no undefined symbols.
   11080 no_undefined_flag=$lt_no_undefined_flag
   11081 
   11082 # Commands used to finish a libtool library installation in a directory.
   11083 finish_cmds=$lt_finish_cmds
   11084 
   11085 # Same as above, but a single script fragment to be evaled but not shown.
   11086 finish_eval=$lt_finish_eval
   11087 
   11088 # Take the output of nm and produce a listing of raw symbols and C names.
   11089 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   11090 
   11091 # Transform the output of nm in a proper C declaration
   11092 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   11093 
   11094 # Transform the output of nm in a C name address pair
   11095 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   11096 
   11097 # This is the shared library runtime path variable.
   11098 runpath_var=$runpath_var
   11099 
   11100 # This is the shared library path variable.
   11101 shlibpath_var=$shlibpath_var
   11102 
   11103 # Is shlibpath searched before the hard-coded library search path?
   11104 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   11105 
   11106 # How to hardcode a shared library path into an executable.
   11107 hardcode_action=$hardcode_action
   11108 
   11109 # Whether we should hardcode library paths into libraries.
   11110 hardcode_into_libs=$hardcode_into_libs
   11111 
   11112 # Flag to hardcode \$libdir into a binary during linking.
   11113 # This must work even if \$libdir does not exist.
   11114 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
   11115 
   11116 # If ld is used when linking, flag to hardcode \$libdir into
   11117 # a binary during linking. This must work even if \$libdir does
   11118 # not exist.
   11119 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
   11120 
   11121 # Whether we need a single -rpath flag with a separated argument.
   11122 hardcode_libdir_separator=$lt_hardcode_libdir_separator
   11123 
   11124 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
   11125 # resulting binary.
   11126 hardcode_direct=$hardcode_direct
   11127 
   11128 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
   11129 # resulting binary.
   11130 hardcode_minus_L=$hardcode_minus_L
   11131 
   11132 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
   11133 # the resulting binary.
   11134 hardcode_shlibpath_var=$hardcode_shlibpath_var
   11135 
   11136 # Set to yes if building a shared library automatically hardcodes DIR into the library
   11137 # and all subsequent libraries and executables linked against it.
   11138 hardcode_automatic=$hardcode_automatic
   11139 
   11140 # Variables whose values should be saved in libtool wrapper scripts and
   11141 # restored at relink time.
   11142 variables_saved_for_relink="$variables_saved_for_relink"
   11143 
   11144 # Whether libtool must link a program against all its dependency libraries.
   11145 link_all_deplibs=$link_all_deplibs
   11146 
   11147 # Compile-time system search path for libraries
   11148 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   11149 
   11150 # Run-time system search path for libraries
   11151 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   11152 
   11153 # Fix the shell variable \$srcfile for the compiler.
   11154 fix_srcfile_path=$lt_fix_srcfile_path
   11155 
   11156 # Set to yes if exported symbols are required.
   11157 always_export_symbols=$always_export_symbols
   11158 
   11159 # The commands to list exported symbols.
   11160 export_symbols_cmds=$lt_export_symbols_cmds
   11161 
   11162 # The commands to extract the exported symbol list from a shared archive.
   11163 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   11164 
   11165 # Symbols that should not be listed in the preloaded symbols.
   11166 exclude_expsyms=$lt_exclude_expsyms
   11167 
   11168 # Symbols that must always be exported.
   11169 include_expsyms=$lt_include_expsyms
   11170 
   11171 # ### END LIBTOOL CONFIG
   11172 
   11173 __EOF__
   11174 
   11175 
   11176   case $host_os in
   11177   aix3*)
   11178     cat <<\EOF >> "$cfgfile"
   11179 
   11180 # AIX sometimes has problems with the GCC collect2 program.  For some
   11181 # reason, if we set the COLLECT_NAMES environment variable, the problems
   11182 # vanish in a puff of smoke.
   11183 if test "X${COLLECT_NAMES+set}" != Xset; then
   11184   COLLECT_NAMES=
   11185   export COLLECT_NAMES
   11186 fi
   11187 EOF
   11188     ;;
   11189   esac
   11190 
   11191   # We use sed instead of cat because bash on DJGPP gets confused if
   11192   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
   11193   # text mode, it properly converts lines to CR/LF.  This bash problem
   11194   # is reportedly fixed, but why not run on old versions too?
   11195   sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
   11196 
   11197   mv -f "$cfgfile" "$ofile" || \
   11198     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
   11199   chmod +x "$ofile"
   11200 
   11201 else
   11202   # If there is no Makefile yet, we rely on a make rule to execute
   11203   # `config.status --recheck' to rerun these tests and create the
   11204   # libtool script then.
   11205   ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
   11206   if test -f "$ltmain_in"; then
   11207     test -f Makefile && make "$ltmain"
   11208   fi
   11209 fi
   11210 
   11211 
   11212 ac_ext=c
   11213 ac_cpp='$CPP $CPPFLAGS'
   11214 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   11215 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   11216 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   11217 
   11218 CC="$lt_save_CC"
   11219 
   11220 
   11221 # Check whether --with-tags was given.
   11222 if test "${with_tags+set}" = set; then
   11223   withval=$with_tags; tagnames="$withval"
   11224 fi
   11225 
   11226 
   11227 if test -f "$ltmain" && test -n "$tagnames"; then
   11228   if test ! -f "${ofile}"; then
   11229     { $as_echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist" >&5
   11230 $as_echo "$as_me: WARNING: output file \`$ofile' does not exist" >&2;}
   11231   fi
   11232 
   11233   if test -z "$LTCC"; then
   11234     eval "`$SHELL ${ofile} --config | grep '^LTCC='`"
   11235     if test -z "$LTCC"; then
   11236       { $as_echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
   11237 $as_echo "$as_me: WARNING: output file \`$ofile' does not look like a libtool script" >&2;}
   11238     else
   11239       { $as_echo "$as_me:$LINENO: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&5
   11240 $as_echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;}
   11241     fi
   11242   fi
   11243   if test -z "$LTCFLAGS"; then
   11244     eval "`$SHELL ${ofile} --config | grep '^LTCFLAGS='`"
   11245   fi
   11246 
   11247   # Extract list of available tagged configurations in $ofile.
   11248   # Note that this assumes the entire list is on one line.
   11249   available_tags=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
   11250 
   11251   lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   11252   for tagname in $tagnames; do
   11253     IFS="$lt_save_ifs"
   11254     # Check whether tagname contains only valid characters
   11255     case `$echo "X$tagname" | $Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
   11256     "") ;;
   11257     *)  { { $as_echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
   11258 $as_echo "$as_me: error: invalid tag name: $tagname" >&2;}
   11259    { (exit 1); exit 1; }; }
   11260 	;;
   11261     esac
   11262 
   11263     if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
   11264     then
   11265       { { $as_echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
   11266 $as_echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
   11267    { (exit 1); exit 1; }; }
   11268     fi
   11269 
   11270     # Update the list of available tags.
   11271     if test -n "$tagname"; then
   11272       echo appending configuration tag \"$tagname\" to $ofile
   11273 
   11274       case $tagname in
   11275       CXX)
   11276 	if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
   11277 	    ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
   11278 	    (test "X$CXX" != "Xg++"))) ; then
   11279 	  ac_ext=cpp
   11280 ac_cpp='$CXXCPP $CPPFLAGS'
   11281 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   11282 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   11283 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   11284 
   11285 
   11286 
   11287 
   11288 archive_cmds_need_lc_CXX=no
   11289 allow_undefined_flag_CXX=
   11290 always_export_symbols_CXX=no
   11291 archive_expsym_cmds_CXX=
   11292 export_dynamic_flag_spec_CXX=
   11293 hardcode_direct_CXX=no
   11294 hardcode_libdir_flag_spec_CXX=
   11295 hardcode_libdir_flag_spec_ld_CXX=
   11296 hardcode_libdir_separator_CXX=
   11297 hardcode_minus_L_CXX=no
   11298 hardcode_shlibpath_var_CXX=unsupported
   11299 hardcode_automatic_CXX=no
   11300 module_cmds_CXX=
   11301 module_expsym_cmds_CXX=
   11302 link_all_deplibs_CXX=unknown
   11303 old_archive_cmds_CXX=$old_archive_cmds
   11304 no_undefined_flag_CXX=
   11305 whole_archive_flag_spec_CXX=
   11306 enable_shared_with_static_runtimes_CXX=no
   11307 
   11308 # Dependencies to place before and after the object being linked:
   11309 predep_objects_CXX=
   11310 postdep_objects_CXX=
   11311 predeps_CXX=
   11312 postdeps_CXX=
   11313 compiler_lib_search_path_CXX=
   11314 compiler_lib_search_dirs_CXX=
   11315 
   11316 # Source file extension for C++ test sources.
   11317 ac_ext=cpp
   11318 
   11319 # Object file extension for compiled C++ test sources.
   11320 objext=o
   11321 objext_CXX=$objext
   11322 
   11323 # Code to be used in simple compile tests
   11324 lt_simple_compile_test_code="int some_variable = 0;"
   11325 
   11326 # Code to be used in simple link tests
   11327 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
   11328 
   11329 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
   11330 
   11331 # If no C compiler was specified, use CC.
   11332 LTCC=${LTCC-"$CC"}
   11333 
   11334 # If no C compiler flags were specified, use CFLAGS.
   11335 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   11336 
   11337 # Allow CC to be a program name with arguments.
   11338 compiler=$CC
   11339 
   11340 
   11341 # save warnings/boilerplate of simple test code
   11342 ac_outfile=conftest.$ac_objext
   11343 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   11344 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   11345 _lt_compiler_boilerplate=`cat conftest.err`
   11346 $rm conftest*
   11347 
   11348 ac_outfile=conftest.$ac_objext
   11349 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   11350 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   11351 _lt_linker_boilerplate=`cat conftest.err`
   11352 $rm -r conftest*
   11353 
   11354 
   11355 # Allow CC to be a program name with arguments.
   11356 lt_save_CC=$CC
   11357 lt_save_LD=$LD
   11358 lt_save_GCC=$GCC
   11359 GCC=$GXX
   11360 lt_save_with_gnu_ld=$with_gnu_ld
   11361 lt_save_path_LD=$lt_cv_path_LD
   11362 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
   11363   lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
   11364 else
   11365   $as_unset lt_cv_prog_gnu_ld
   11366 fi
   11367 if test -n "${lt_cv_path_LDCXX+set}"; then
   11368   lt_cv_path_LD=$lt_cv_path_LDCXX
   11369 else
   11370   $as_unset lt_cv_path_LD
   11371 fi
   11372 test -z "${LDCXX+set}" || LD=$LDCXX
   11373 CC=${CXX-"c++"}
   11374 compiler=$CC
   11375 compiler_CXX=$CC
   11376 for cc_temp in $compiler""; do
   11377   case $cc_temp in
   11378     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   11379     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   11380     \-*) ;;
   11381     *) break;;
   11382   esac
   11383 done
   11384 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   11385 
   11386 
   11387 # We don't want -fno-exception wen compiling C++ code, so set the
   11388 # no_builtin_flag separately
   11389 if test "$GXX" = yes; then
   11390   lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
   11391 else
   11392   lt_prog_compiler_no_builtin_flag_CXX=
   11393 fi
   11394 
   11395 if test "$GXX" = yes; then
   11396   # Set up default GNU C++ configuration
   11397 
   11398 
   11399 # Check whether --with-gnu-ld was given.
   11400 if test "${with_gnu_ld+set}" = set; then
   11401   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
   11402 else
   11403   with_gnu_ld=no
   11404 fi
   11405 
   11406 ac_prog=ld
   11407 if test "$GCC" = yes; then
   11408   # Check if gcc -print-prog-name=ld gives a path.
   11409   { $as_echo "$as_me:$LINENO: checking for ld used by $CC" >&5
   11410 $as_echo_n "checking for ld used by $CC... " >&6; }
   11411   case $host in
   11412   *-*-mingw*)
   11413     # gcc leaves a trailing carriage return which upsets mingw
   11414     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   11415   *)
   11416     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   11417   esac
   11418   case $ac_prog in
   11419     # Accept absolute paths.
   11420     [\\/]* | ?:[\\/]*)
   11421       re_direlt='/[^/][^/]*/\.\./'
   11422       # Canonicalize the pathname of ld
   11423       ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
   11424       while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
   11425 	ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
   11426       done
   11427       test -z "$LD" && LD="$ac_prog"
   11428       ;;
   11429   "")
   11430     # If it fails, then pretend we aren't using GCC.
   11431     ac_prog=ld
   11432     ;;
   11433   *)
   11434     # If it is relative, then search for the first ld in PATH.
   11435     with_gnu_ld=unknown
   11436     ;;
   11437   esac
   11438 elif test "$with_gnu_ld" = yes; then
   11439   { $as_echo "$as_me:$LINENO: checking for GNU ld" >&5
   11440 $as_echo_n "checking for GNU ld... " >&6; }
   11441 else
   11442   { $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5
   11443 $as_echo_n "checking for non-GNU ld... " >&6; }
   11444 fi
   11445 if test "${lt_cv_path_LD+set}" = set; then
   11446   $as_echo_n "(cached) " >&6
   11447 else
   11448   if test -z "$LD"; then
   11449   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   11450   for ac_dir in $PATH; do
   11451     IFS="$lt_save_ifs"
   11452     test -z "$ac_dir" && ac_dir=.
   11453     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   11454       lt_cv_path_LD="$ac_dir/$ac_prog"
   11455       # Check to see if the program is GNU ld.  I'd rather use --version,
   11456       # but apparently some variants of GNU ld only accept -v.
   11457       # Break only if it was the GNU/non-GNU ld that we prefer.
   11458       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   11459       *GNU* | *'with BFD'*)
   11460 	test "$with_gnu_ld" != no && break
   11461 	;;
   11462       *)
   11463 	test "$with_gnu_ld" != yes && break
   11464 	;;
   11465       esac
   11466     fi
   11467   done
   11468   IFS="$lt_save_ifs"
   11469 else
   11470   lt_cv_path_LD="$LD" # Let the user override the test with a path.
   11471 fi
   11472 fi
   11473 
   11474 LD="$lt_cv_path_LD"
   11475 if test -n "$LD"; then
   11476   { $as_echo "$as_me:$LINENO: result: $LD" >&5
   11477 $as_echo "$LD" >&6; }
   11478 else
   11479   { $as_echo "$as_me:$LINENO: result: no" >&5
   11480 $as_echo "no" >&6; }
   11481 fi
   11482 test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
   11483 $as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
   11484    { (exit 1); exit 1; }; }
   11485 { $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
   11486 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
   11487 if test "${lt_cv_prog_gnu_ld+set}" = set; then
   11488   $as_echo_n "(cached) " >&6
   11489 else
   11490   # I'd rather use --version here, but apparently some GNU lds only accept -v.
   11491 case `$LD -v 2>&1 </dev/null` in
   11492 *GNU* | *'with BFD'*)
   11493   lt_cv_prog_gnu_ld=yes
   11494   ;;
   11495 *)
   11496   lt_cv_prog_gnu_ld=no
   11497   ;;
   11498 esac
   11499 fi
   11500 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
   11501 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
   11502 with_gnu_ld=$lt_cv_prog_gnu_ld
   11503 
   11504 
   11505 
   11506   # Check if GNU C++ uses GNU ld as the underlying linker, since the
   11507   # archiving commands below assume that GNU ld is being used.
   11508   if test "$with_gnu_ld" = yes; then
   11509     archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
   11510     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'
   11511 
   11512     hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
   11513     export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
   11514 
   11515     # If archive_cmds runs LD, not CC, wlarc should be empty
   11516     # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
   11517     #     investigate it a little bit more. (MM)
   11518     wlarc='${wl}'
   11519 
   11520     # ancient GNU ld didn't support --whole-archive et. al.
   11521     if eval "`$CC -print-prog-name=ld` --help 2>&1" | \
   11522 	grep 'no-whole-archive' > /dev/null; then
   11523       whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   11524     else
   11525       whole_archive_flag_spec_CXX=
   11526     fi
   11527   else
   11528     with_gnu_ld=no
   11529     wlarc=
   11530 
   11531     # A generic and very simple default shared library creation
   11532     # command for GNU C++ for the case where it uses the native
   11533     # linker, instead of GNU ld.  If possible, this setting should
   11534     # overridden to take advantage of the native linker features on
   11535     # the platform it is being used on.
   11536     archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
   11537   fi
   11538 
   11539   # Commands to make compiler produce verbose output that lists
   11540   # what "hidden" libraries, object files and flags are used when
   11541   # linking a shared library.
   11542   output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
   11543 
   11544 else
   11545   GXX=no
   11546   with_gnu_ld=no
   11547   wlarc=
   11548 fi
   11549 
   11550 # PORTME: fill in a description of your system's C++ link characteristics
   11551 { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   11552 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   11553 ld_shlibs_CXX=yes
   11554 case $host_os in
   11555   aix3*)
   11556     # FIXME: insert proper C++ library support
   11557     ld_shlibs_CXX=no
   11558     ;;
   11559   aix[4-9]*)
   11560     if test "$host_cpu" = ia64; then
   11561       # On IA64, the linker does run time linking by default, so we don't
   11562       # have to do anything special.
   11563       aix_use_runtimelinking=no
   11564       exp_sym_flag='-Bexport'
   11565       no_entry_flag=""
   11566     else
   11567       aix_use_runtimelinking=no
   11568 
   11569       # Test if we are trying to use run time linking or normal
   11570       # AIX style linking. If -brtl is somewhere in LDFLAGS, we
   11571       # need to do runtime linking.
   11572       case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   11573 	for ld_flag in $LDFLAGS; do
   11574 	  case $ld_flag in
   11575 	  *-brtl*)
   11576 	    aix_use_runtimelinking=yes
   11577 	    break
   11578 	    ;;
   11579 	  esac
   11580 	done
   11581 	;;
   11582       esac
   11583 
   11584       exp_sym_flag='-bexport'
   11585       no_entry_flag='-bnoentry'
   11586     fi
   11587 
   11588     # When large executables or shared objects are built, AIX ld can
   11589     # have problems creating the table of contents.  If linking a library
   11590     # or program results in "error TOC overflow" add -mminimal-toc to
   11591     # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   11592     # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   11593 
   11594     archive_cmds_CXX=''
   11595     hardcode_direct_CXX=yes
   11596     hardcode_libdir_separator_CXX=':'
   11597     link_all_deplibs_CXX=yes
   11598 
   11599     if test "$GXX" = yes; then
   11600       case $host_os in aix4.[012]|aix4.[012].*)
   11601       # We only want to do this on AIX 4.2 and lower, the check
   11602       # below for broken collect2 doesn't work under 4.3+
   11603 	collect2name=`${CC} -print-prog-name=collect2`
   11604 	if test -f "$collect2name" && \
   11605 	   strings "$collect2name" | grep resolve_lib_name >/dev/null
   11606 	then
   11607 	  # We have reworked collect2
   11608 	  :
   11609 	else
   11610 	  # We have old collect2
   11611 	  hardcode_direct_CXX=unsupported
   11612 	  # It fails to find uninstalled libraries when the uninstalled
   11613 	  # path is not listed in the libpath.  Setting hardcode_minus_L
   11614 	  # to unsupported forces relinking
   11615 	  hardcode_minus_L_CXX=yes
   11616 	  hardcode_libdir_flag_spec_CXX='-L$libdir'
   11617 	  hardcode_libdir_separator_CXX=
   11618 	fi
   11619 	;;
   11620       esac
   11621       shared_flag='-shared'
   11622       if test "$aix_use_runtimelinking" = yes; then
   11623 	shared_flag="$shared_flag "'${wl}-G'
   11624       fi
   11625     else
   11626       # not using gcc
   11627       if test "$host_cpu" = ia64; then
   11628 	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   11629 	# chokes on -Wl,-G. The following line is correct:
   11630 	shared_flag='-G'
   11631       else
   11632 	if test "$aix_use_runtimelinking" = yes; then
   11633 	  shared_flag='${wl}-G'
   11634 	else
   11635 	  shared_flag='${wl}-bM:SRE'
   11636 	fi
   11637       fi
   11638     fi
   11639 
   11640     # It seems that -bexpall does not export symbols beginning with
   11641     # underscore (_), so it is better to generate a list of symbols to export.
   11642     always_export_symbols_CXX=yes
   11643     if test "$aix_use_runtimelinking" = yes; then
   11644       # Warning - without using the other runtime loading flags (-brtl),
   11645       # -berok will link without error, but may produce a broken library.
   11646       allow_undefined_flag_CXX='-berok'
   11647       # Determine the default libpath from the value encoded in an empty executable.
   11648       cat >conftest.$ac_ext <<_ACEOF
   11649 /* confdefs.h.  */
   11650 _ACEOF
   11651 cat confdefs.h >>conftest.$ac_ext
   11652 cat >>conftest.$ac_ext <<_ACEOF
   11653 /* end confdefs.h.  */
   11654 
   11655 int
   11656 main ()
   11657 {
   11658 
   11659   ;
   11660   return 0;
   11661 }
   11662 _ACEOF
   11663 rm -f conftest.$ac_objext conftest$ac_exeext
   11664 if { (ac_try="$ac_link"
   11665 case "(($ac_try" in
   11666   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   11667   *) ac_try_echo=$ac_try;;
   11668 esac
   11669 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   11670 $as_echo "$ac_try_echo") >&5
   11671   (eval "$ac_link") 2>conftest.er1
   11672   ac_status=$?
   11673   grep -v '^ *+' conftest.er1 >conftest.err
   11674   rm -f conftest.er1
   11675   cat conftest.err >&5
   11676   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11677   (exit $ac_status); } && {
   11678 	 test -z "$ac_cxx_werror_flag" ||
   11679 	 test ! -s conftest.err
   11680        } && test -s conftest$ac_exeext && {
   11681 	 test "$cross_compiling" = yes ||
   11682 	 $as_test_x conftest$ac_exeext
   11683        }; then
   11684 
   11685 lt_aix_libpath_sed='
   11686     /Import File Strings/,/^$/ {
   11687 	/^0/ {
   11688 	    s/^0  *\(.*\)$/\1/
   11689 	    p
   11690 	}
   11691     }'
   11692 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   11693 # Check for a 64-bit object if we didn't find anything.
   11694 if test -z "$aix_libpath"; then
   11695   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   11696 fi
   11697 else
   11698   $as_echo "$as_me: failed program was:" >&5
   11699 sed 's/^/| /' conftest.$ac_ext >&5
   11700 
   11701 
   11702 fi
   11703 
   11704 rm -rf conftest.dSYM
   11705 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   11706       conftest$ac_exeext conftest.$ac_ext
   11707 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   11708 
   11709       hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
   11710 
   11711       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"
   11712      else
   11713       if test "$host_cpu" = ia64; then
   11714 	hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
   11715 	allow_undefined_flag_CXX="-z nodefs"
   11716 	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"
   11717       else
   11718 	# Determine the default libpath from the value encoded in an empty executable.
   11719 	cat >conftest.$ac_ext <<_ACEOF
   11720 /* confdefs.h.  */
   11721 _ACEOF
   11722 cat confdefs.h >>conftest.$ac_ext
   11723 cat >>conftest.$ac_ext <<_ACEOF
   11724 /* end confdefs.h.  */
   11725 
   11726 int
   11727 main ()
   11728 {
   11729 
   11730   ;
   11731   return 0;
   11732 }
   11733 _ACEOF
   11734 rm -f conftest.$ac_objext conftest$ac_exeext
   11735 if { (ac_try="$ac_link"
   11736 case "(($ac_try" in
   11737   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   11738   *) ac_try_echo=$ac_try;;
   11739 esac
   11740 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   11741 $as_echo "$ac_try_echo") >&5
   11742   (eval "$ac_link") 2>conftest.er1
   11743   ac_status=$?
   11744   grep -v '^ *+' conftest.er1 >conftest.err
   11745   rm -f conftest.er1
   11746   cat conftest.err >&5
   11747   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11748   (exit $ac_status); } && {
   11749 	 test -z "$ac_cxx_werror_flag" ||
   11750 	 test ! -s conftest.err
   11751        } && test -s conftest$ac_exeext && {
   11752 	 test "$cross_compiling" = yes ||
   11753 	 $as_test_x conftest$ac_exeext
   11754        }; then
   11755 
   11756 lt_aix_libpath_sed='
   11757     /Import File Strings/,/^$/ {
   11758 	/^0/ {
   11759 	    s/^0  *\(.*\)$/\1/
   11760 	    p
   11761 	}
   11762     }'
   11763 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   11764 # Check for a 64-bit object if we didn't find anything.
   11765 if test -z "$aix_libpath"; then
   11766   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   11767 fi
   11768 else
   11769   $as_echo "$as_me: failed program was:" >&5
   11770 sed 's/^/| /' conftest.$ac_ext >&5
   11771 
   11772 
   11773 fi
   11774 
   11775 rm -rf conftest.dSYM
   11776 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   11777       conftest$ac_exeext conftest.$ac_ext
   11778 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   11779 
   11780 	hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
   11781 	# Warning - without using the other run time loading flags,
   11782 	# -berok will link without error, but may produce a broken library.
   11783 	no_undefined_flag_CXX=' ${wl}-bernotok'
   11784 	allow_undefined_flag_CXX=' ${wl}-berok'
   11785 	# Exported symbols can be pulled into shared objects from archives
   11786 	whole_archive_flag_spec_CXX='$convenience'
   11787 	archive_cmds_need_lc_CXX=yes
   11788 	# This is similar to how AIX traditionally builds its shared libraries.
   11789 	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'
   11790       fi
   11791     fi
   11792     ;;
   11793 
   11794   beos*)
   11795     if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   11796       allow_undefined_flag_CXX=unsupported
   11797       # Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   11798       # support --undefined.  This deserves some investigation.  FIXME
   11799       archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   11800     else
   11801       ld_shlibs_CXX=no
   11802     fi
   11803     ;;
   11804 
   11805   chorus*)
   11806     case $cc_basename in
   11807       *)
   11808 	# FIXME: insert proper C++ library support
   11809 	ld_shlibs_CXX=no
   11810 	;;
   11811     esac
   11812     ;;
   11813 
   11814   cygwin* | mingw* | pw32*)
   11815     # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
   11816     # as there is no search path for DLLs.
   11817     hardcode_libdir_flag_spec_CXX='-L$libdir'
   11818     allow_undefined_flag_CXX=unsupported
   11819     always_export_symbols_CXX=no
   11820     enable_shared_with_static_runtimes_CXX=yes
   11821 
   11822     if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
   11823       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'
   11824       # If the export-symbols file already is a .def file (1st line
   11825       # is EXPORTS), use it as is; otherwise, prepend...
   11826       archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   11827 	cp $export_symbols $output_objdir/$soname.def;
   11828       else
   11829 	echo EXPORTS > $output_objdir/$soname.def;
   11830 	cat $export_symbols >> $output_objdir/$soname.def;
   11831       fi~
   11832       $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'
   11833     else
   11834       ld_shlibs_CXX=no
   11835     fi
   11836   ;;
   11837       darwin* | rhapsody*)
   11838       archive_cmds_need_lc_CXX=no
   11839       hardcode_direct_CXX=no
   11840       hardcode_automatic_CXX=yes
   11841       hardcode_shlibpath_var_CXX=unsupported
   11842       whole_archive_flag_spec_CXX=''
   11843       link_all_deplibs_CXX=yes
   11844       allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
   11845       if test "$GXX" = yes ; then
   11846       output_verbose_link_cmd='echo'
   11847       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}"
   11848       module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
   11849       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}"
   11850       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}"
   11851       if test "$lt_cv_apple_cc_single_mod" != "yes"; then
   11852         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}"
   11853         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}"
   11854       fi
   11855       else
   11856       case $cc_basename in
   11857         xlc*)
   11858          output_verbose_link_cmd='echo'
   11859           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'
   11860           module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
   11861           # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
   11862           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}'
   11863           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}'
   11864           ;;
   11865        *)
   11866          ld_shlibs_CXX=no
   11867           ;;
   11868       esac
   11869       fi
   11870         ;;
   11871 
   11872   dgux*)
   11873     case $cc_basename in
   11874       ec++*)
   11875 	# FIXME: insert proper C++ library support
   11876 	ld_shlibs_CXX=no
   11877 	;;
   11878       ghcx*)
   11879 	# Green Hills C++ Compiler
   11880 	# FIXME: insert proper C++ library support
   11881 	ld_shlibs_CXX=no
   11882 	;;
   11883       *)
   11884 	# FIXME: insert proper C++ library support
   11885 	ld_shlibs_CXX=no
   11886 	;;
   11887     esac
   11888     ;;
   11889   freebsd[12]*)
   11890     # C++ shared libraries reported to be fairly broken before switch to ELF
   11891     ld_shlibs_CXX=no
   11892     ;;
   11893   freebsd-elf*)
   11894     archive_cmds_need_lc_CXX=no
   11895     ;;
   11896   freebsd* | dragonfly*)
   11897     # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
   11898     # conventions
   11899     ld_shlibs_CXX=yes
   11900     ;;
   11901   gnu*)
   11902     ;;
   11903   hpux9*)
   11904     hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
   11905     hardcode_libdir_separator_CXX=:
   11906     export_dynamic_flag_spec_CXX='${wl}-E'
   11907     hardcode_direct_CXX=yes
   11908     hardcode_minus_L_CXX=yes # Not in the search PATH,
   11909 				# but as the default
   11910 				# location of the library.
   11911 
   11912     case $cc_basename in
   11913     CC*)
   11914       # FIXME: insert proper C++ library support
   11915       ld_shlibs_CXX=no
   11916       ;;
   11917     aCC*)
   11918       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'
   11919       # Commands to make compiler produce verbose output that lists
   11920       # what "hidden" libraries, object files and flags are used when
   11921       # linking a shared library.
   11922       #
   11923       # There doesn't appear to be a way to prevent this compiler from
   11924       # explicitly linking system object files so we need to strip them
   11925       # from the output so that they don't get included in the library
   11926       # dependencies.
   11927       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'
   11928       ;;
   11929     *)
   11930       if test "$GXX" = yes; then
   11931         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'
   11932       else
   11933         # FIXME: insert proper C++ library support
   11934         ld_shlibs_CXX=no
   11935       fi
   11936       ;;
   11937     esac
   11938     ;;
   11939   hpux10*|hpux11*)
   11940     if test $with_gnu_ld = no; then
   11941       hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
   11942       hardcode_libdir_separator_CXX=:
   11943 
   11944       case $host_cpu in
   11945       hppa*64*|ia64*) ;;
   11946       *)
   11947 	export_dynamic_flag_spec_CXX='${wl}-E'
   11948         ;;
   11949       esac
   11950     fi
   11951     case $host_cpu in
   11952     hppa*64*|ia64*)
   11953       hardcode_direct_CXX=no
   11954       hardcode_shlibpath_var_CXX=no
   11955       ;;
   11956     *)
   11957       hardcode_direct_CXX=yes
   11958       hardcode_minus_L_CXX=yes # Not in the search PATH,
   11959 					      # but as the default
   11960 					      # location of the library.
   11961       ;;
   11962     esac
   11963 
   11964     case $cc_basename in
   11965       CC*)
   11966 	# FIXME: insert proper C++ library support
   11967 	ld_shlibs_CXX=no
   11968 	;;
   11969       aCC*)
   11970 	case $host_cpu in
   11971 	hppa*64*)
   11972 	  archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   11973 	  ;;
   11974 	ia64*)
   11975 	  archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   11976 	  ;;
   11977 	*)
   11978 	  archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   11979 	  ;;
   11980 	esac
   11981 	# Commands to make compiler produce verbose output that lists
   11982 	# what "hidden" libraries, object files and flags are used when
   11983 	# linking a shared library.
   11984 	#
   11985 	# There doesn't appear to be a way to prevent this compiler from
   11986 	# explicitly linking system object files so we need to strip them
   11987 	# from the output so that they don't get included in the library
   11988 	# dependencies.
   11989 	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'
   11990 	;;
   11991       *)
   11992 	if test "$GXX" = yes; then
   11993 	  if test $with_gnu_ld = no; then
   11994 	    case $host_cpu in
   11995 	    hppa*64*)
   11996 	      archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   11997 	      ;;
   11998 	    ia64*)
   11999 	      archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   12000 	      ;;
   12001 	    *)
   12002 	      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'
   12003 	      ;;
   12004 	    esac
   12005 	  fi
   12006 	else
   12007 	  # FIXME: insert proper C++ library support
   12008 	  ld_shlibs_CXX=no
   12009 	fi
   12010 	;;
   12011     esac
   12012     ;;
   12013   interix[3-9]*)
   12014     hardcode_direct_CXX=no
   12015     hardcode_shlibpath_var_CXX=no
   12016     hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
   12017     export_dynamic_flag_spec_CXX='${wl}-E'
   12018     # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   12019     # Instead, shared libraries are loaded at an image base (0x10000000 by
   12020     # default) and relocated if they conflict, which is a slow very memory
   12021     # consuming and fragmenting process.  To avoid this, we pick a random,
   12022     # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   12023     # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   12024     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'
   12025     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'
   12026     ;;
   12027   irix5* | irix6*)
   12028     case $cc_basename in
   12029       CC*)
   12030 	# SGI C++
   12031 	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'
   12032 
   12033 	# Archives containing C++ object files must be created using
   12034 	# "CC -ar", where "CC" is the IRIX C++ compiler.  This is
   12035 	# necessary to make sure instantiated templates are included
   12036 	# in the archive.
   12037 	old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
   12038 	;;
   12039       *)
   12040 	if test "$GXX" = yes; then
   12041 	  if test "$with_gnu_ld" = no; then
   12042 	    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'
   12043 	  else
   12044 	    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'
   12045 	  fi
   12046 	fi
   12047 	link_all_deplibs_CXX=yes
   12048 	;;
   12049     esac
   12050     hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
   12051     hardcode_libdir_separator_CXX=:
   12052     ;;
   12053   linux* | k*bsd*-gnu)
   12054     case $cc_basename in
   12055       KCC*)
   12056 	# Kuck and Associates, Inc. (KAI) C++ Compiler
   12057 
   12058 	# KCC will only create a shared library if the output file
   12059 	# ends with ".so" (or ".sl" for HP-UX), so rename the library
   12060 	# to its proper name (with version) after linking.
   12061 	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'
   12062 	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'
   12063 	# Commands to make compiler produce verbose output that lists
   12064 	# what "hidden" libraries, object files and flags are used when
   12065 	# linking a shared library.
   12066 	#
   12067 	# There doesn't appear to be a way to prevent this compiler from
   12068 	# explicitly linking system object files so we need to strip them
   12069 	# from the output so that they don't get included in the library
   12070 	# dependencies.
   12071 	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'
   12072 
   12073 	hardcode_libdir_flag_spec_CXX='${wl}--rpath,$libdir'
   12074 	export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
   12075 
   12076 	# Archives containing C++ object files must be created using
   12077 	# "CC -Bstatic", where "CC" is the KAI C++ compiler.
   12078 	old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
   12079 	;;
   12080       icpc*)
   12081 	# Intel C++
   12082 	with_gnu_ld=yes
   12083 	# version 8.0 and above of icpc choke on multiply defined symbols
   12084 	# if we add $predep_objects and $postdep_objects, however 7.1 and
   12085 	# earlier do not add the objects themselves.
   12086 	case `$CC -V 2>&1` in
   12087 	*"Version 7."*)
   12088   	  archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
   12089   	  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'
   12090 	  ;;
   12091 	*)  # Version 8.0 or newer
   12092 	  tmp_idyn=
   12093 	  case $host_cpu in
   12094 	    ia64*) tmp_idyn=' -i_dynamic';;
   12095 	  esac
   12096   	  archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   12097 	  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'
   12098 	  ;;
   12099 	esac
   12100 	archive_cmds_need_lc_CXX=no
   12101 	hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
   12102 	export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
   12103 	whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
   12104 	;;
   12105       pgCC* | pgcpp*)
   12106         # Portland Group C++ compiler
   12107 	archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
   12108   	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'
   12109 
   12110 	hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
   12111 	export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
   12112 	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'
   12113         ;;
   12114       cxx*)
   12115 	# Compaq C++
   12116 	archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
   12117 	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'
   12118 
   12119 	runpath_var=LD_RUN_PATH
   12120 	hardcode_libdir_flag_spec_CXX='-rpath $libdir'
   12121 	hardcode_libdir_separator_CXX=:
   12122 
   12123 	# Commands to make compiler produce verbose output that lists
   12124 	# what "hidden" libraries, object files and flags are used when
   12125 	# linking a shared library.
   12126 	#
   12127 	# There doesn't appear to be a way to prevent this compiler from
   12128 	# explicitly linking system object files so we need to strip them
   12129 	# from the output so that they don't get included in the library
   12130 	# dependencies.
   12131 	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'
   12132 	;;
   12133       *)
   12134 	case `$CC -V 2>&1 | sed 5q` in
   12135 	*Sun\ C*)
   12136 	  # Sun C++ 5.9
   12137 	  no_undefined_flag_CXX=' -zdefs'
   12138 	  archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   12139 	  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'
   12140 	  hardcode_libdir_flag_spec_CXX='-R$libdir'
   12141 	  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'
   12142 
   12143 	  # Not sure whether something based on
   12144 	  # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
   12145 	  # would be better.
   12146 	  output_verbose_link_cmd='echo'
   12147 
   12148 	  # Archives containing C++ object files must be created using
   12149 	  # "CC -xar", where "CC" is the Sun C++ compiler.  This is
   12150 	  # necessary to make sure instantiated templates are included
   12151 	  # in the archive.
   12152 	  old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
   12153 	  ;;
   12154 	esac
   12155 	;;
   12156     esac
   12157     ;;
   12158   lynxos*)
   12159     # FIXME: insert proper C++ library support
   12160     ld_shlibs_CXX=no
   12161     ;;
   12162   m88k*)
   12163     # FIXME: insert proper C++ library support
   12164     ld_shlibs_CXX=no
   12165     ;;
   12166   mvs*)
   12167     case $cc_basename in
   12168       cxx*)
   12169 	# FIXME: insert proper C++ library support
   12170 	ld_shlibs_CXX=no
   12171 	;;
   12172       *)
   12173 	# FIXME: insert proper C++ library support
   12174 	ld_shlibs_CXX=no
   12175 	;;
   12176     esac
   12177     ;;
   12178   netbsd*)
   12179     if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   12180       archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
   12181       wlarc=
   12182       hardcode_libdir_flag_spec_CXX='-R$libdir'
   12183       hardcode_direct_CXX=yes
   12184       hardcode_shlibpath_var_CXX=no
   12185     fi
   12186     # Workaround some broken pre-1.5 toolchains
   12187     output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
   12188     ;;
   12189   openbsd2*)
   12190     # C++ shared libraries are fairly broken
   12191     ld_shlibs_CXX=no
   12192     ;;
   12193   openbsd*)
   12194     if test -f /usr/libexec/ld.so; then
   12195       hardcode_direct_CXX=yes
   12196       hardcode_shlibpath_var_CXX=no
   12197       archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
   12198       hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
   12199       if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   12200 	archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
   12201 	export_dynamic_flag_spec_CXX='${wl}-E'
   12202 	whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   12203       fi
   12204       output_verbose_link_cmd='echo'
   12205     else
   12206       ld_shlibs_CXX=no
   12207     fi
   12208     ;;
   12209   osf3*)
   12210     case $cc_basename in
   12211       KCC*)
   12212 	# Kuck and Associates, Inc. (KAI) C++ Compiler
   12213 
   12214 	# KCC will only create a shared library if the output file
   12215 	# ends with ".so" (or ".sl" for HP-UX), so rename the library
   12216 	# to its proper name (with version) after linking.
   12217 	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'
   12218 
   12219 	hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
   12220 	hardcode_libdir_separator_CXX=:
   12221 
   12222 	# Archives containing C++ object files must be created using
   12223 	# "CC -Bstatic", where "CC" is the KAI C++ compiler.
   12224 	old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
   12225 
   12226 	;;
   12227       RCC*)
   12228 	# Rational C++ 2.4.1
   12229 	# FIXME: insert proper C++ library support
   12230 	ld_shlibs_CXX=no
   12231 	;;
   12232       cxx*)
   12233 	allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
   12234 	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'
   12235 
   12236 	hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
   12237 	hardcode_libdir_separator_CXX=:
   12238 
   12239 	# Commands to make compiler produce verbose output that lists
   12240 	# what "hidden" libraries, object files and flags are used when
   12241 	# linking a shared library.
   12242 	#
   12243 	# There doesn't appear to be a way to prevent this compiler from
   12244 	# explicitly linking system object files so we need to strip them
   12245 	# from the output so that they don't get included in the library
   12246 	# dependencies.
   12247 	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'
   12248 	;;
   12249       *)
   12250 	if test "$GXX" = yes && test "$with_gnu_ld" = no; then
   12251 	  allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
   12252 	  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'
   12253 
   12254 	  hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
   12255 	  hardcode_libdir_separator_CXX=:
   12256 
   12257 	  # Commands to make compiler produce verbose output that lists
   12258 	  # what "hidden" libraries, object files and flags are used when
   12259 	  # linking a shared library.
   12260 	  output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
   12261 
   12262 	else
   12263 	  # FIXME: insert proper C++ library support
   12264 	  ld_shlibs_CXX=no
   12265 	fi
   12266 	;;
   12267     esac
   12268     ;;
   12269   osf4* | osf5*)
   12270     case $cc_basename in
   12271       KCC*)
   12272 	# Kuck and Associates, Inc. (KAI) C++ Compiler
   12273 
   12274 	# KCC will only create a shared library if the output file
   12275 	# ends with ".so" (or ".sl" for HP-UX), so rename the library
   12276 	# to its proper name (with version) after linking.
   12277 	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'
   12278 
   12279 	hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
   12280 	hardcode_libdir_separator_CXX=:
   12281 
   12282 	# Archives containing C++ object files must be created using
   12283 	# the KAI C++ compiler.
   12284 	old_archive_cmds_CXX='$CC -o $oldlib $oldobjs'
   12285 	;;
   12286       RCC*)
   12287 	# Rational C++ 2.4.1
   12288 	# FIXME: insert proper C++ library support
   12289 	ld_shlibs_CXX=no
   12290 	;;
   12291       cxx*)
   12292 	allow_undefined_flag_CXX=' -expect_unresolved \*'
   12293 	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'
   12294 	archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
   12295 	  echo "-hidden">> $lib.exp~
   12296 	  $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~
   12297 	  $rm $lib.exp'
   12298 
   12299 	hardcode_libdir_flag_spec_CXX='-rpath $libdir'
   12300 	hardcode_libdir_separator_CXX=:
   12301 
   12302 	# Commands to make compiler produce verbose output that lists
   12303 	# what "hidden" libraries, object files and flags are used when
   12304 	# linking a shared library.
   12305 	#
   12306 	# There doesn't appear to be a way to prevent this compiler from
   12307 	# explicitly linking system object files so we need to strip them
   12308 	# from the output so that they don't get included in the library
   12309 	# dependencies.
   12310 	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'
   12311 	;;
   12312       *)
   12313 	if test "$GXX" = yes && test "$with_gnu_ld" = no; then
   12314 	  allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
   12315 	 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'
   12316 
   12317 	  hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
   12318 	  hardcode_libdir_separator_CXX=:
   12319 
   12320 	  # Commands to make compiler produce verbose output that lists
   12321 	  # what "hidden" libraries, object files and flags are used when
   12322 	  # linking a shared library.
   12323 	  output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
   12324 
   12325 	else
   12326 	  # FIXME: insert proper C++ library support
   12327 	  ld_shlibs_CXX=no
   12328 	fi
   12329 	;;
   12330     esac
   12331     ;;
   12332   psos*)
   12333     # FIXME: insert proper C++ library support
   12334     ld_shlibs_CXX=no
   12335     ;;
   12336   sunos4*)
   12337     case $cc_basename in
   12338       CC*)
   12339 	# Sun C++ 4.x
   12340 	# FIXME: insert proper C++ library support
   12341 	ld_shlibs_CXX=no
   12342 	;;
   12343       lcc*)
   12344 	# Lucid
   12345 	# FIXME: insert proper C++ library support
   12346 	ld_shlibs_CXX=no
   12347 	;;
   12348       *)
   12349 	# FIXME: insert proper C++ library support
   12350 	ld_shlibs_CXX=no
   12351 	;;
   12352     esac
   12353     ;;
   12354   solaris*)
   12355     case $cc_basename in
   12356       CC*)
   12357 	# Sun C++ 4.2, 5.x and Centerline C++
   12358         archive_cmds_need_lc_CXX=yes
   12359 	no_undefined_flag_CXX=' -zdefs'
   12360 	archive_cmds_CXX='$CC -G${allow_undefined_flag}  -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   12361 	archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   12362 	$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'
   12363 
   12364 	hardcode_libdir_flag_spec_CXX='-R$libdir'
   12365 	hardcode_shlibpath_var_CXX=no
   12366 	case $host_os in
   12367 	  solaris2.[0-5] | solaris2.[0-5].*) ;;
   12368 	  *)
   12369 	    # The compiler driver will combine and reorder linker options,
   12370 	    # but understands `-z linker_flag'.
   12371 	    # Supported since Solaris 2.6 (maybe 2.5.1?)
   12372 	    whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
   12373 	    ;;
   12374 	esac
   12375 	link_all_deplibs_CXX=yes
   12376 
   12377 	output_verbose_link_cmd='echo'
   12378 
   12379 	# Archives containing C++ object files must be created using
   12380 	# "CC -xar", where "CC" is the Sun C++ compiler.  This is
   12381 	# necessary to make sure instantiated templates are included
   12382 	# in the archive.
   12383 	old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
   12384 	;;
   12385       gcx*)
   12386 	# Green Hills C++ Compiler
   12387 	archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
   12388 
   12389 	# The C++ compiler must be used to create the archive.
   12390 	old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
   12391 	;;
   12392       *)
   12393 	# GNU C++ compiler with Solaris linker
   12394 	if test "$GXX" = yes && test "$with_gnu_ld" = no; then
   12395 	  no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
   12396 	  if $CC --version | grep -v '^2\.7' > /dev/null; then
   12397 	    archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
   12398 	    archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   12399 		$CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
   12400 
   12401 	    # Commands to make compiler produce verbose output that lists
   12402 	    # what "hidden" libraries, object files and flags are used when
   12403 	    # linking a shared library.
   12404 	    output_verbose_link_cmd="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
   12405 	  else
   12406 	    # g++ 2.7 appears to require `-G' NOT `-shared' on this
   12407 	    # platform.
   12408 	    archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
   12409 	    archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   12410 		$CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
   12411 
   12412 	    # Commands to make compiler produce verbose output that lists
   12413 	    # what "hidden" libraries, object files and flags are used when
   12414 	    # linking a shared library.
   12415 	    output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
   12416 	  fi
   12417 
   12418 	  hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
   12419 	  case $host_os in
   12420 	  solaris2.[0-5] | solaris2.[0-5].*) ;;
   12421 	  *)
   12422 	    whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
   12423 	    ;;
   12424 	  esac
   12425 	fi
   12426 	;;
   12427     esac
   12428     ;;
   12429   sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   12430     no_undefined_flag_CXX='${wl}-z,text'
   12431     archive_cmds_need_lc_CXX=no
   12432     hardcode_shlibpath_var_CXX=no
   12433     runpath_var='LD_RUN_PATH'
   12434 
   12435     case $cc_basename in
   12436       CC*)
   12437 	archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   12438 	archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   12439 	;;
   12440       *)
   12441 	archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   12442 	archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   12443 	;;
   12444     esac
   12445     ;;
   12446   sysv5* | sco3.2v5* | sco5v6*)
   12447     # Note: We can NOT use -z defs as we might desire, because we do not
   12448     # link with -lc, and that would cause any symbols used from libc to
   12449     # always be unresolved, which means just about no library would
   12450     # ever link correctly.  If we're not using GNU ld we use -z text
   12451     # though, which does catch some bad symbols but isn't as heavy-handed
   12452     # as -z defs.
   12453     # For security reasons, it is highly recommended that you always
   12454     # use absolute paths for naming shared libraries, and exclude the
   12455     # DT_RUNPATH tag from executables and libraries.  But doing so
   12456     # requires that you compile everything twice, which is a pain.
   12457     # So that behaviour is only enabled if SCOABSPATH is set to a
   12458     # non-empty value in the environment.  Most likely only useful for
   12459     # creating official distributions of packages.
   12460     # This is a hack until libtool officially supports absolute path
   12461     # names for shared libraries.
   12462     no_undefined_flag_CXX='${wl}-z,text'
   12463     allow_undefined_flag_CXX='${wl}-z,nodefs'
   12464     archive_cmds_need_lc_CXX=no
   12465     hardcode_shlibpath_var_CXX=no
   12466     hardcode_libdir_flag_spec_CXX='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
   12467     hardcode_libdir_separator_CXX=':'
   12468     link_all_deplibs_CXX=yes
   12469     export_dynamic_flag_spec_CXX='${wl}-Bexport'
   12470     runpath_var='LD_RUN_PATH'
   12471 
   12472     case $cc_basename in
   12473       CC*)
   12474 	archive_cmds_CXX='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   12475 	archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   12476 	;;
   12477       *)
   12478 	archive_cmds_CXX='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   12479 	archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   12480 	;;
   12481     esac
   12482     ;;
   12483   tandem*)
   12484     case $cc_basename in
   12485       NCC*)
   12486 	# NonStop-UX NCC 3.20
   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     ;;
   12496   vxworks*)
   12497     # FIXME: insert proper C++ library support
   12498     ld_shlibs_CXX=no
   12499     ;;
   12500   *)
   12501     # FIXME: insert proper C++ library support
   12502     ld_shlibs_CXX=no
   12503     ;;
   12504 esac
   12505 { $as_echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
   12506 $as_echo "$ld_shlibs_CXX" >&6; }
   12507 test "$ld_shlibs_CXX" = no && can_build_shared=no
   12508 
   12509 GCC_CXX="$GXX"
   12510 LD_CXX="$LD"
   12511 
   12512 cat > conftest.$ac_ext <<EOF
   12513 class Foo
   12514 {
   12515 public:
   12516   Foo (void) { a = 0; }
   12517 private:
   12518   int a;
   12519 };
   12520 EOF
   12521 
   12522 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   12523   (eval $ac_compile) 2>&5
   12524   ac_status=$?
   12525   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12526   (exit $ac_status); }; then
   12527   # Parse the compiler output and extract the necessary
   12528   # objects, libraries and library flags.
   12529 
   12530   # Sentinel used to keep track of whether or not we are before
   12531   # the conftest object file.
   12532   pre_test_object_deps_done=no
   12533 
   12534   # The `*' in the case matches for architectures that use `case' in
   12535   # $output_verbose_cmd can trigger glob expansion during the loop
   12536   # eval without this substitution.
   12537   output_verbose_link_cmd=`$echo "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
   12538 
   12539   for p in `eval $output_verbose_link_cmd`; do
   12540     case $p in
   12541 
   12542     -L* | -R* | -l*)
   12543        # Some compilers place space between "-{L,R}" and the path.
   12544        # Remove the space.
   12545        if test $p = "-L" \
   12546 	  || test $p = "-R"; then
   12547 	 prev=$p
   12548 	 continue
   12549        else
   12550 	 prev=
   12551        fi
   12552 
   12553        if test "$pre_test_object_deps_done" = no; then
   12554 	 case $p in
   12555 	 -L* | -R*)
   12556 	   # Internal compiler library paths should come after those
   12557 	   # provided the user.  The postdeps already come after the
   12558 	   # user supplied libs so there is no need to process them.
   12559 	   if test -z "$compiler_lib_search_path_CXX"; then
   12560 	     compiler_lib_search_path_CXX="${prev}${p}"
   12561 	   else
   12562 	     compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
   12563 	   fi
   12564 	   ;;
   12565 	 # The "-l" case would never come before the object being
   12566 	 # linked, so don't bother handling this case.
   12567 	 esac
   12568        else
   12569 	 if test -z "$postdeps_CXX"; then
   12570 	   postdeps_CXX="${prev}${p}"
   12571 	 else
   12572 	   postdeps_CXX="${postdeps_CXX} ${prev}${p}"
   12573 	 fi
   12574        fi
   12575        ;;
   12576 
   12577     *.$objext)
   12578        # This assumes that the test object file only shows up
   12579        # once in the compiler output.
   12580        if test "$p" = "conftest.$objext"; then
   12581 	 pre_test_object_deps_done=yes
   12582 	 continue
   12583        fi
   12584 
   12585        if test "$pre_test_object_deps_done" = no; then
   12586 	 if test -z "$predep_objects_CXX"; then
   12587 	   predep_objects_CXX="$p"
   12588 	 else
   12589 	   predep_objects_CXX="$predep_objects_CXX $p"
   12590 	 fi
   12591        else
   12592 	 if test -z "$postdep_objects_CXX"; then
   12593 	   postdep_objects_CXX="$p"
   12594 	 else
   12595 	   postdep_objects_CXX="$postdep_objects_CXX $p"
   12596 	 fi
   12597        fi
   12598        ;;
   12599 
   12600     *) ;; # Ignore the rest.
   12601 
   12602     esac
   12603   done
   12604 
   12605   # Clean up.
   12606   rm -f a.out a.exe
   12607 else
   12608   echo "libtool.m4: error: problem compiling CXX test program"
   12609 fi
   12610 
   12611 $rm -f confest.$objext
   12612 
   12613 compiler_lib_search_dirs_CXX=
   12614 if test -n "$compiler_lib_search_path_CXX"; then
   12615   compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
   12616 fi
   12617 
   12618 # PORTME: override above test on systems where it is broken
   12619 case $host_os in
   12620 interix[3-9]*)
   12621   # Interix 3.5 installs completely hosed .la files for C++, so rather than
   12622   # hack all around it, let's just trust "g++" to DTRT.
   12623   predep_objects_CXX=
   12624   postdep_objects_CXX=
   12625   postdeps_CXX=
   12626   ;;
   12627 
   12628 linux*)
   12629   case `$CC -V 2>&1 | sed 5q` in
   12630   *Sun\ C*)
   12631     # Sun C++ 5.9
   12632     #
   12633     # The more standards-conforming stlport4 library is
   12634     # incompatible with the Cstd library. Avoid specifying
   12635     # it if it's in CXXFLAGS. Ignore libCrun as
   12636     # -library=stlport4 depends on it.
   12637     case " $CXX $CXXFLAGS " in
   12638     *" -library=stlport4 "*)
   12639       solaris_use_stlport4=yes
   12640       ;;
   12641     esac
   12642     if test "$solaris_use_stlport4" != yes; then
   12643       postdeps_CXX='-library=Cstd -library=Crun'
   12644     fi
   12645     ;;
   12646   esac
   12647   ;;
   12648 
   12649 solaris*)
   12650   case $cc_basename in
   12651   CC*)
   12652     # The more standards-conforming stlport4 library is
   12653     # incompatible with the Cstd library. Avoid specifying
   12654     # it if it's in CXXFLAGS. Ignore libCrun as
   12655     # -library=stlport4 depends on it.
   12656     case " $CXX $CXXFLAGS " in
   12657     *" -library=stlport4 "*)
   12658       solaris_use_stlport4=yes
   12659       ;;
   12660     esac
   12661 
   12662     # Adding this requires a known-good setup of shared libraries for
   12663     # Sun compiler versions before 5.6, else PIC objects from an old
   12664     # archive will be linked into the output, leading to subtle bugs.
   12665     if test "$solaris_use_stlport4" != yes; then
   12666       postdeps_CXX='-library=Cstd -library=Crun'
   12667     fi
   12668     ;;
   12669   esac
   12670   ;;
   12671 esac
   12672 
   12673 case " $postdeps_CXX " in
   12674 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
   12675 esac
   12676 
   12677 lt_prog_compiler_wl_CXX=
   12678 lt_prog_compiler_pic_CXX=
   12679 lt_prog_compiler_static_CXX=
   12680 
   12681 { $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
   12682 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
   12683 
   12684   # C++ specific cases for pic, static, wl, etc.
   12685   if test "$GXX" = yes; then
   12686     lt_prog_compiler_wl_CXX='-Wl,'
   12687     lt_prog_compiler_static_CXX='-static'
   12688 
   12689     case $host_os in
   12690     aix*)
   12691       # All AIX code is PIC.
   12692       if test "$host_cpu" = ia64; then
   12693 	# AIX 5 now supports IA64 processor
   12694 	lt_prog_compiler_static_CXX='-Bstatic'
   12695       fi
   12696       ;;
   12697     amigaos*)
   12698       # FIXME: we need at least 68020 code to build shared libraries, but
   12699       # adding the `-m68020' flag to GCC prevents building anything better,
   12700       # like `-m68040'.
   12701       lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
   12702       ;;
   12703     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   12704       # PIC is the default for these OSes.
   12705       ;;
   12706     mingw* | cygwin* | os2* | pw32*)
   12707       # This hack is so that the source file can tell whether it is being
   12708       # built for inclusion in a dll (and should export symbols for example).
   12709       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   12710       # (--disable-auto-import) libraries
   12711       lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
   12712       ;;
   12713     darwin* | rhapsody*)
   12714       # PIC is the default on this platform
   12715       # Common symbols not allowed in MH_DYLIB files
   12716       lt_prog_compiler_pic_CXX='-fno-common'
   12717       ;;
   12718     *djgpp*)
   12719       # DJGPP does not support shared libraries at all
   12720       lt_prog_compiler_pic_CXX=
   12721       ;;
   12722     interix[3-9]*)
   12723       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   12724       # Instead, we relocate shared libraries at runtime.
   12725       ;;
   12726     sysv4*MP*)
   12727       if test -d /usr/nec; then
   12728 	lt_prog_compiler_pic_CXX=-Kconform_pic
   12729       fi
   12730       ;;
   12731     hpux*)
   12732       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   12733       # not for PA HP-UX.
   12734       case $host_cpu in
   12735       hppa*64*|ia64*)
   12736 	;;
   12737       *)
   12738 	lt_prog_compiler_pic_CXX='-fPIC'
   12739 	;;
   12740       esac
   12741       ;;
   12742     *)
   12743       lt_prog_compiler_pic_CXX='-fPIC'
   12744       ;;
   12745     esac
   12746   else
   12747     case $host_os in
   12748       aix[4-9]*)
   12749 	# All AIX code is PIC.
   12750 	if test "$host_cpu" = ia64; then
   12751 	  # AIX 5 now supports IA64 processor
   12752 	  lt_prog_compiler_static_CXX='-Bstatic'
   12753 	else
   12754 	  lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
   12755 	fi
   12756 	;;
   12757       chorus*)
   12758 	case $cc_basename in
   12759 	cxch68*)
   12760 	  # Green Hills C++ Compiler
   12761 	  # _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"
   12762 	  ;;
   12763 	esac
   12764 	;;
   12765        darwin*)
   12766          # PIC is the default on this platform
   12767          # Common symbols not allowed in MH_DYLIB files
   12768          case $cc_basename in
   12769            xlc*)
   12770            lt_prog_compiler_pic_CXX='-qnocommon'
   12771            lt_prog_compiler_wl_CXX='-Wl,'
   12772            ;;
   12773          esac
   12774        ;;
   12775       dgux*)
   12776 	case $cc_basename in
   12777 	  ec++*)
   12778 	    lt_prog_compiler_pic_CXX='-KPIC'
   12779 	    ;;
   12780 	  ghcx*)
   12781 	    # Green Hills C++ Compiler
   12782 	    lt_prog_compiler_pic_CXX='-pic'
   12783 	    ;;
   12784 	  *)
   12785 	    ;;
   12786 	esac
   12787 	;;
   12788       freebsd* | dragonfly*)
   12789 	# FreeBSD uses GNU C++
   12790 	;;
   12791       hpux9* | hpux10* | hpux11*)
   12792 	case $cc_basename in
   12793 	  CC*)
   12794 	    lt_prog_compiler_wl_CXX='-Wl,'
   12795 	    lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
   12796 	    if test "$host_cpu" != ia64; then
   12797 	      lt_prog_compiler_pic_CXX='+Z'
   12798 	    fi
   12799 	    ;;
   12800 	  aCC*)
   12801 	    lt_prog_compiler_wl_CXX='-Wl,'
   12802 	    lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
   12803 	    case $host_cpu in
   12804 	    hppa*64*|ia64*)
   12805 	      # +Z the default
   12806 	      ;;
   12807 	    *)
   12808 	      lt_prog_compiler_pic_CXX='+Z'
   12809 	      ;;
   12810 	    esac
   12811 	    ;;
   12812 	  *)
   12813 	    ;;
   12814 	esac
   12815 	;;
   12816       interix*)
   12817 	# This is c89, which is MS Visual C++ (no shared libs)
   12818 	# Anyone wants to do a port?
   12819 	;;
   12820       irix5* | irix6* | nonstopux*)
   12821 	case $cc_basename in
   12822 	  CC*)
   12823 	    lt_prog_compiler_wl_CXX='-Wl,'
   12824 	    lt_prog_compiler_static_CXX='-non_shared'
   12825 	    # CC pic flag -KPIC is the default.
   12826 	    ;;
   12827 	  *)
   12828 	    ;;
   12829 	esac
   12830 	;;
   12831       linux* | k*bsd*-gnu)
   12832 	case $cc_basename in
   12833 	  KCC*)
   12834 	    # KAI C++ Compiler
   12835 	    lt_prog_compiler_wl_CXX='--backend -Wl,'
   12836 	    lt_prog_compiler_pic_CXX='-fPIC'
   12837 	    ;;
   12838 	  icpc* | ecpc*)
   12839 	    # Intel C++
   12840 	    lt_prog_compiler_wl_CXX='-Wl,'
   12841 	    lt_prog_compiler_pic_CXX='-KPIC'
   12842 	    lt_prog_compiler_static_CXX='-static'
   12843 	    ;;
   12844 	  pgCC* | pgcpp*)
   12845 	    # Portland Group C++ compiler.
   12846 	    lt_prog_compiler_wl_CXX='-Wl,'
   12847 	    lt_prog_compiler_pic_CXX='-fpic'
   12848 	    lt_prog_compiler_static_CXX='-Bstatic'
   12849 	    ;;
   12850 	  cxx*)
   12851 	    # Compaq C++
   12852 	    # Make sure the PIC flag is empty.  It appears that all Alpha
   12853 	    # Linux and Compaq Tru64 Unix objects are PIC.
   12854 	    lt_prog_compiler_pic_CXX=
   12855 	    lt_prog_compiler_static_CXX='-non_shared'
   12856 	    ;;
   12857 	  *)
   12858 	    case `$CC -V 2>&1 | sed 5q` in
   12859 	    *Sun\ C*)
   12860 	      # Sun C++ 5.9
   12861 	      lt_prog_compiler_pic_CXX='-KPIC'
   12862 	      lt_prog_compiler_static_CXX='-Bstatic'
   12863 	      lt_prog_compiler_wl_CXX='-Qoption ld '
   12864 	      ;;
   12865 	    esac
   12866 	    ;;
   12867 	esac
   12868 	;;
   12869       lynxos*)
   12870 	;;
   12871       m88k*)
   12872 	;;
   12873       mvs*)
   12874 	case $cc_basename in
   12875 	  cxx*)
   12876 	    lt_prog_compiler_pic_CXX='-W c,exportall'
   12877 	    ;;
   12878 	  *)
   12879 	    ;;
   12880 	esac
   12881 	;;
   12882       netbsd*)
   12883 	;;
   12884       osf3* | osf4* | osf5*)
   12885 	case $cc_basename in
   12886 	  KCC*)
   12887 	    lt_prog_compiler_wl_CXX='--backend -Wl,'
   12888 	    ;;
   12889 	  RCC*)
   12890 	    # Rational C++ 2.4.1
   12891 	    lt_prog_compiler_pic_CXX='-pic'
   12892 	    ;;
   12893 	  cxx*)
   12894 	    # Digital/Compaq C++
   12895 	    lt_prog_compiler_wl_CXX='-Wl,'
   12896 	    # Make sure the PIC flag is empty.  It appears that all Alpha
   12897 	    # Linux and Compaq Tru64 Unix objects are PIC.
   12898 	    lt_prog_compiler_pic_CXX=
   12899 	    lt_prog_compiler_static_CXX='-non_shared'
   12900 	    ;;
   12901 	  *)
   12902 	    ;;
   12903 	esac
   12904 	;;
   12905       psos*)
   12906 	;;
   12907       solaris*)
   12908 	case $cc_basename in
   12909 	  CC*)
   12910 	    # Sun C++ 4.2, 5.x and Centerline C++
   12911 	    lt_prog_compiler_pic_CXX='-KPIC'
   12912 	    lt_prog_compiler_static_CXX='-Bstatic'
   12913 	    lt_prog_compiler_wl_CXX='-Qoption ld '
   12914 	    ;;
   12915 	  gcx*)
   12916 	    # Green Hills C++ Compiler
   12917 	    lt_prog_compiler_pic_CXX='-PIC'
   12918 	    ;;
   12919 	  *)
   12920 	    ;;
   12921 	esac
   12922 	;;
   12923       sunos4*)
   12924 	case $cc_basename in
   12925 	  CC*)
   12926 	    # Sun C++ 4.x
   12927 	    lt_prog_compiler_pic_CXX='-pic'
   12928 	    lt_prog_compiler_static_CXX='-Bstatic'
   12929 	    ;;
   12930 	  lcc*)
   12931 	    # Lucid
   12932 	    lt_prog_compiler_pic_CXX='-pic'
   12933 	    ;;
   12934 	  *)
   12935 	    ;;
   12936 	esac
   12937 	;;
   12938       tandem*)
   12939 	case $cc_basename in
   12940 	  NCC*)
   12941 	    # NonStop-UX NCC 3.20
   12942 	    lt_prog_compiler_pic_CXX='-KPIC'
   12943 	    ;;
   12944 	  *)
   12945 	    ;;
   12946 	esac
   12947 	;;
   12948       sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   12949 	case $cc_basename in
   12950 	  CC*)
   12951 	    lt_prog_compiler_wl_CXX='-Wl,'
   12952 	    lt_prog_compiler_pic_CXX='-KPIC'
   12953 	    lt_prog_compiler_static_CXX='-Bstatic'
   12954 	    ;;
   12955 	esac
   12956 	;;
   12957       vxworks*)
   12958 	;;
   12959       *)
   12960 	lt_prog_compiler_can_build_shared_CXX=no
   12961 	;;
   12962     esac
   12963   fi
   12964 
   12965 { $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
   12966 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
   12967 
   12968 #
   12969 # Check to make sure the PIC flag actually works.
   12970 #
   12971 if test -n "$lt_prog_compiler_pic_CXX"; then
   12972 
   12973 { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
   12974 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
   12975 if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then
   12976   $as_echo_n "(cached) " >&6
   12977 else
   12978   lt_cv_prog_compiler_pic_works_CXX=no
   12979   ac_outfile=conftest.$ac_objext
   12980    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   12981    lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
   12982    # Insert the option either (1) after the last *FLAGS variable, or
   12983    # (2) before a word containing "conftest.", or (3) at the end.
   12984    # Note that $ac_compile itself does not contain backslashes and begins
   12985    # with a dollar sign (not a hyphen), so the echo should work correctly.
   12986    # The option is referenced via a variable to avoid confusing sed.
   12987    lt_compile=`echo "$ac_compile" | $SED \
   12988    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   12989    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   12990    -e 's:$: $lt_compiler_flag:'`
   12991    (eval echo "\"\$as_me:12991: $lt_compile\"" >&5)
   12992    (eval "$lt_compile" 2>conftest.err)
   12993    ac_status=$?
   12994    cat conftest.err >&5
   12995    echo "$as_me:12995: \$? = $ac_status" >&5
   12996    if (exit $ac_status) && test -s "$ac_outfile"; then
   12997      # The compiler can only warn and ignore the option if not recognized
   12998      # So say no if there are warnings other than the usual output.
   12999      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   13000      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   13001      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   13002        lt_cv_prog_compiler_pic_works_CXX=yes
   13003      fi
   13004    fi
   13005    $rm conftest*
   13006 
   13007 fi
   13008 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
   13009 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
   13010 
   13011 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
   13012     case $lt_prog_compiler_pic_CXX in
   13013      "" | " "*) ;;
   13014      *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
   13015      esac
   13016 else
   13017     lt_prog_compiler_pic_CXX=
   13018      lt_prog_compiler_can_build_shared_CXX=no
   13019 fi
   13020 
   13021 fi
   13022 case $host_os in
   13023   # For platforms which do not support PIC, -DPIC is meaningless:
   13024   *djgpp*)
   13025     lt_prog_compiler_pic_CXX=
   13026     ;;
   13027   *)
   13028     lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
   13029     ;;
   13030 esac
   13031 
   13032 #
   13033 # Check to make sure the static flag actually works.
   13034 #
   13035 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
   13036 { $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   13037 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   13038 if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then
   13039   $as_echo_n "(cached) " >&6
   13040 else
   13041   lt_cv_prog_compiler_static_works_CXX=no
   13042    save_LDFLAGS="$LDFLAGS"
   13043    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   13044    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   13045    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   13046      # The linker can only warn and ignore the option if not recognized
   13047      # So say no if there are warnings
   13048      if test -s conftest.err; then
   13049        # Append any errors to the config.log.
   13050        cat conftest.err 1>&5
   13051        $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
   13052        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   13053        if diff conftest.exp conftest.er2 >/dev/null; then
   13054          lt_cv_prog_compiler_static_works_CXX=yes
   13055        fi
   13056      else
   13057        lt_cv_prog_compiler_static_works_CXX=yes
   13058      fi
   13059    fi
   13060    $rm -r conftest*
   13061    LDFLAGS="$save_LDFLAGS"
   13062 
   13063 fi
   13064 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_CXX" >&5
   13065 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
   13066 
   13067 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
   13068     :
   13069 else
   13070     lt_prog_compiler_static_CXX=
   13071 fi
   13072 
   13073 
   13074 { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
   13075 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   13076 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
   13077   $as_echo_n "(cached) " >&6
   13078 else
   13079   lt_cv_prog_compiler_c_o_CXX=no
   13080    $rm -r conftest 2>/dev/null
   13081    mkdir conftest
   13082    cd conftest
   13083    mkdir out
   13084    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   13085 
   13086    lt_compiler_flag="-o out/conftest2.$ac_objext"
   13087    # Insert the option either (1) after the last *FLAGS variable, or
   13088    # (2) before a word containing "conftest.", or (3) at the end.
   13089    # Note that $ac_compile itself does not contain backslashes and begins
   13090    # with a dollar sign (not a hyphen), so the echo should work correctly.
   13091    lt_compile=`echo "$ac_compile" | $SED \
   13092    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   13093    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   13094    -e 's:$: $lt_compiler_flag:'`
   13095    (eval echo "\"\$as_me:13095: $lt_compile\"" >&5)
   13096    (eval "$lt_compile" 2>out/conftest.err)
   13097    ac_status=$?
   13098    cat out/conftest.err >&5
   13099    echo "$as_me:13099: \$? = $ac_status" >&5
   13100    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   13101    then
   13102      # The compiler can only warn and ignore the option if not recognized
   13103      # So say no if there are warnings
   13104      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
   13105      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   13106      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   13107        lt_cv_prog_compiler_c_o_CXX=yes
   13108      fi
   13109    fi
   13110    chmod u+w . 2>&5
   13111    $rm conftest*
   13112    # SGI C++ compiler will create directory out/ii_files/ for
   13113    # template instantiation
   13114    test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
   13115    $rm out/* && rmdir out
   13116    cd ..
   13117    rmdir conftest
   13118    $rm conftest*
   13119 
   13120 fi
   13121 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
   13122 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
   13123 
   13124 
   13125 hard_links="nottested"
   13126 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
   13127   # do not overwrite the value of need_locks provided by the user
   13128   { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
   13129 $as_echo_n "checking if we can lock with hard links... " >&6; }
   13130   hard_links=yes
   13131   $rm conftest*
   13132   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   13133   touch conftest.a
   13134   ln conftest.a conftest.b 2>&5 || hard_links=no
   13135   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   13136   { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
   13137 $as_echo "$hard_links" >&6; }
   13138   if test "$hard_links" = no; then
   13139     { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   13140 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   13141     need_locks=warn
   13142   fi
   13143 else
   13144   need_locks=no
   13145 fi
   13146 
   13147 { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   13148 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   13149 
   13150   export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   13151   case $host_os in
   13152   aix[4-9]*)
   13153     # If we're using GNU nm, then we don't want the "-C" option.
   13154     # -C means demangle to AIX nm, but means don't demangle with GNU nm
   13155     if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
   13156       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'
   13157     else
   13158       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'
   13159     fi
   13160     ;;
   13161   pw32*)
   13162     export_symbols_cmds_CXX="$ltdll_cmds"
   13163   ;;
   13164   cygwin* | mingw*)
   13165     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'
   13166   ;;
   13167   *)
   13168     export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   13169   ;;
   13170   esac
   13171   exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   13172 
   13173 { $as_echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
   13174 $as_echo "$ld_shlibs_CXX" >&6; }
   13175 test "$ld_shlibs_CXX" = no && can_build_shared=no
   13176 
   13177 #
   13178 # Do we need to explicitly link libc?
   13179 #
   13180 case "x$archive_cmds_need_lc_CXX" in
   13181 x|xyes)
   13182   # Assume -lc should be added
   13183   archive_cmds_need_lc_CXX=yes
   13184 
   13185   if test "$enable_shared" = yes && test "$GCC" = yes; then
   13186     case $archive_cmds_CXX in
   13187     *'~'*)
   13188       # FIXME: we may have to deal with multi-command sequences.
   13189       ;;
   13190     '$CC '*)
   13191       # Test whether the compiler implicitly links with -lc since on some
   13192       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   13193       # to ld, don't add -lc before -lgcc.
   13194       { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
   13195 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
   13196       $rm conftest*
   13197       echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   13198 
   13199       if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   13200   (eval $ac_compile) 2>&5
   13201   ac_status=$?
   13202   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   13203   (exit $ac_status); } 2>conftest.err; then
   13204         soname=conftest
   13205         lib=conftest
   13206         libobjs=conftest.$ac_objext
   13207         deplibs=
   13208         wl=$lt_prog_compiler_wl_CXX
   13209 	pic_flag=$lt_prog_compiler_pic_CXX
   13210         compiler_flags=-v
   13211         linker_flags=-v
   13212         verstring=
   13213         output_objdir=.
   13214         libname=conftest
   13215         lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
   13216         allow_undefined_flag_CXX=
   13217         if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
   13218   (eval $archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
   13219   ac_status=$?
   13220   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   13221   (exit $ac_status); }
   13222         then
   13223 	  archive_cmds_need_lc_CXX=no
   13224         else
   13225 	  archive_cmds_need_lc_CXX=yes
   13226         fi
   13227         allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
   13228       else
   13229         cat conftest.err 1>&5
   13230       fi
   13231       $rm conftest*
   13232       { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
   13233 $as_echo "$archive_cmds_need_lc_CXX" >&6; }
   13234       ;;
   13235     esac
   13236   fi
   13237   ;;
   13238 esac
   13239 
   13240 { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
   13241 $as_echo_n "checking dynamic linker characteristics... " >&6; }
   13242 library_names_spec=
   13243 libname_spec='lib$name'
   13244 soname_spec=
   13245 shrext_cmds=".so"
   13246 postinstall_cmds=
   13247 postuninstall_cmds=
   13248 finish_cmds=
   13249 finish_eval=
   13250 shlibpath_var=
   13251 shlibpath_overrides_runpath=unknown
   13252 version_type=none
   13253 dynamic_linker="$host_os ld.so"
   13254 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   13255 
   13256 need_lib_prefix=unknown
   13257 hardcode_into_libs=no
   13258 
   13259 # when you set need_version to no, make sure it does not cause -set_version
   13260 # flags to be left without arguments
   13261 need_version=unknown
   13262 
   13263 case $host_os in
   13264 aix3*)
   13265   version_type=linux
   13266   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   13267   shlibpath_var=LIBPATH
   13268 
   13269   # AIX 3 has no versioning support, so we append a major version to the name.
   13270   soname_spec='${libname}${release}${shared_ext}$major'
   13271   ;;
   13272 
   13273 aix[4-9]*)
   13274   version_type=linux
   13275   need_lib_prefix=no
   13276   need_version=no
   13277   hardcode_into_libs=yes
   13278   if test "$host_cpu" = ia64; then
   13279     # AIX 5 supports IA64
   13280     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
   13281     shlibpath_var=LD_LIBRARY_PATH
   13282   else
   13283     # With GCC up to 2.95.x, collect2 would create an import file
   13284     # for dependence libraries.  The import file would start with
   13285     # the line `#! .'.  This would cause the generated library to
   13286     # depend on `.', always an invalid library.  This was fixed in
   13287     # development snapshots of GCC prior to 3.0.
   13288     case $host_os in
   13289       aix4 | aix4.[01] | aix4.[01].*)
   13290       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   13291 	   echo ' yes '
   13292 	   echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
   13293 	:
   13294       else
   13295 	can_build_shared=no
   13296       fi
   13297       ;;
   13298     esac
   13299     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
   13300     # soname into executable. Probably we can add versioning support to
   13301     # collect2, so additional links can be useful in future.
   13302     if test "$aix_use_runtimelinking" = yes; then
   13303       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   13304       # instead of lib<name>.a to let people know that these are not
   13305       # typical AIX shared libraries.
   13306       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13307     else
   13308       # We preserve .a as extension for shared libraries through AIX4.2
   13309       # and later when we are not doing run time linking.
   13310       library_names_spec='${libname}${release}.a $libname.a'
   13311       soname_spec='${libname}${release}${shared_ext}$major'
   13312     fi
   13313     shlibpath_var=LIBPATH
   13314   fi
   13315   ;;
   13316 
   13317 amigaos*)
   13318   library_names_spec='$libname.ixlibrary $libname.a'
   13319   # Create ${libname}_ixlibrary.a entries in /sys/libs.
   13320   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'
   13321   ;;
   13322 
   13323 beos*)
   13324   library_names_spec='${libname}${shared_ext}'
   13325   dynamic_linker="$host_os ld.so"
   13326   shlibpath_var=LIBRARY_PATH
   13327   ;;
   13328 
   13329 bsdi[45]*)
   13330   version_type=linux
   13331   need_version=no
   13332   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13333   soname_spec='${libname}${release}${shared_ext}$major'
   13334   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   13335   shlibpath_var=LD_LIBRARY_PATH
   13336   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   13337   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   13338   # the default ld.so.conf also contains /usr/contrib/lib and
   13339   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   13340   # libtool to hard-code these into programs
   13341   ;;
   13342 
   13343 cygwin* | mingw* | pw32*)
   13344   version_type=windows
   13345   shrext_cmds=".dll"
   13346   need_version=no
   13347   need_lib_prefix=no
   13348 
   13349   case $GCC,$host_os in
   13350   yes,cygwin* | yes,mingw* | yes,pw32*)
   13351     library_names_spec='$libname.dll.a'
   13352     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   13353     postinstall_cmds='base_file=`basename \${file}`~
   13354       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
   13355       dldir=$destdir/`dirname \$dlpath`~
   13356       test -d \$dldir || mkdir -p \$dldir~
   13357       $install_prog $dir/$dlname \$dldir/$dlname~
   13358       chmod a+x \$dldir/$dlname'
   13359     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   13360       dlpath=$dir/\$dldll~
   13361        $rm \$dlpath'
   13362     shlibpath_overrides_runpath=yes
   13363 
   13364     case $host_os in
   13365     cygwin*)
   13366       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   13367       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   13368       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
   13369       ;;
   13370     mingw*)
   13371       # MinGW DLLs use traditional 'lib' prefix
   13372       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   13373       sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   13374       if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
   13375         # It is most probably a Windows format PATH printed by
   13376         # mingw gcc, but we are running on Cygwin. Gcc prints its search
   13377         # path with ; separators, and with drive letters. We can handle the
   13378         # drive letters (cygwin fileutils understands them), so leave them,
   13379         # especially as we might pass files found there to a mingw objdump,
   13380         # which wouldn't understand a cygwinified path. Ahh.
   13381         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   13382       else
   13383         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   13384       fi
   13385       ;;
   13386     pw32*)
   13387       # pw32 DLLs use 'pw' prefix rather than 'lib'
   13388       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   13389       ;;
   13390     esac
   13391     ;;
   13392 
   13393   *)
   13394     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
   13395     ;;
   13396   esac
   13397   dynamic_linker='Win32 ld.exe'
   13398   # FIXME: first we should search . and the directory the executable is in
   13399   shlibpath_var=PATH
   13400   ;;
   13401 
   13402 darwin* | rhapsody*)
   13403   dynamic_linker="$host_os dyld"
   13404   version_type=darwin
   13405   need_lib_prefix=no
   13406   need_version=no
   13407   library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
   13408   soname_spec='${libname}${release}${major}$shared_ext'
   13409   shlibpath_overrides_runpath=yes
   13410   shlibpath_var=DYLD_LIBRARY_PATH
   13411   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   13412 
   13413   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   13414   ;;
   13415 
   13416 dgux*)
   13417   version_type=linux
   13418   need_lib_prefix=no
   13419   need_version=no
   13420   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
   13421   soname_spec='${libname}${release}${shared_ext}$major'
   13422   shlibpath_var=LD_LIBRARY_PATH
   13423   ;;
   13424 
   13425 freebsd1*)
   13426   dynamic_linker=no
   13427   ;;
   13428 
   13429 freebsd* | dragonfly*)
   13430   # DragonFly does not have aout.  When/if they implement a new
   13431   # versioning mechanism, adjust this.
   13432   if test -x /usr/bin/objformat; then
   13433     objformat=`/usr/bin/objformat`
   13434   else
   13435     case $host_os in
   13436     freebsd[123]*) objformat=aout ;;
   13437     *) objformat=elf ;;
   13438     esac
   13439   fi
   13440   version_type=freebsd-$objformat
   13441   case $version_type in
   13442     freebsd-elf*)
   13443       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   13444       need_version=no
   13445       need_lib_prefix=no
   13446       ;;
   13447     freebsd-*)
   13448       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
   13449       need_version=yes
   13450       ;;
   13451   esac
   13452   shlibpath_var=LD_LIBRARY_PATH
   13453   case $host_os in
   13454   freebsd2*)
   13455     shlibpath_overrides_runpath=yes
   13456     ;;
   13457   freebsd3.[01]* | freebsdelf3.[01]*)
   13458     shlibpath_overrides_runpath=yes
   13459     hardcode_into_libs=yes
   13460     ;;
   13461   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   13462   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   13463     shlibpath_overrides_runpath=no
   13464     hardcode_into_libs=yes
   13465     ;;
   13466   *) # from 4.6 on, and DragonFly
   13467     shlibpath_overrides_runpath=yes
   13468     hardcode_into_libs=yes
   13469     ;;
   13470   esac
   13471   ;;
   13472 
   13473 gnu*)
   13474   version_type=linux
   13475   need_lib_prefix=no
   13476   need_version=no
   13477   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   13478   soname_spec='${libname}${release}${shared_ext}$major'
   13479   shlibpath_var=LD_LIBRARY_PATH
   13480   hardcode_into_libs=yes
   13481   ;;
   13482 
   13483 hpux9* | hpux10* | hpux11*)
   13484   # Give a soname corresponding to the major version so that dld.sl refuses to
   13485   # link against other versions.
   13486   version_type=sunos
   13487   need_lib_prefix=no
   13488   need_version=no
   13489   case $host_cpu in
   13490   ia64*)
   13491     shrext_cmds='.so'
   13492     hardcode_into_libs=yes
   13493     dynamic_linker="$host_os dld.so"
   13494     shlibpath_var=LD_LIBRARY_PATH
   13495     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   13496     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13497     soname_spec='${libname}${release}${shared_ext}$major'
   13498     if test "X$HPUX_IA64_MODE" = X32; then
   13499       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   13500     else
   13501       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   13502     fi
   13503     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   13504     ;;
   13505    hppa*64*)
   13506      shrext_cmds='.sl'
   13507      hardcode_into_libs=yes
   13508      dynamic_linker="$host_os dld.sl"
   13509      shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   13510      shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   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      sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   13514      sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   13515      ;;
   13516    *)
   13517     shrext_cmds='.sl'
   13518     dynamic_linker="$host_os dld.sl"
   13519     shlibpath_var=SHLIB_PATH
   13520     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   13521     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13522     soname_spec='${libname}${release}${shared_ext}$major'
   13523     ;;
   13524   esac
   13525   # HP-UX runs *really* slowly unless shared libraries are mode 555.
   13526   postinstall_cmds='chmod 555 $lib'
   13527   ;;
   13528 
   13529 interix[3-9]*)
   13530   version_type=linux
   13531   need_lib_prefix=no
   13532   need_version=no
   13533   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   13534   soname_spec='${libname}${release}${shared_ext}$major'
   13535   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   13536   shlibpath_var=LD_LIBRARY_PATH
   13537   shlibpath_overrides_runpath=no
   13538   hardcode_into_libs=yes
   13539   ;;
   13540 
   13541 irix5* | irix6* | nonstopux*)
   13542   case $host_os in
   13543     nonstopux*) version_type=nonstopux ;;
   13544     *)
   13545 	if test "$lt_cv_prog_gnu_ld" = yes; then
   13546 		version_type=linux
   13547 	else
   13548 		version_type=irix
   13549 	fi ;;
   13550   esac
   13551   need_lib_prefix=no
   13552   need_version=no
   13553   soname_spec='${libname}${release}${shared_ext}$major'
   13554   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
   13555   case $host_os in
   13556   irix5* | nonstopux*)
   13557     libsuff= shlibsuff=
   13558     ;;
   13559   *)
   13560     case $LD in # libtool.m4 will add one of these switches to LD
   13561     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   13562       libsuff= shlibsuff= libmagic=32-bit;;
   13563     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   13564       libsuff=32 shlibsuff=N32 libmagic=N32;;
   13565     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   13566       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   13567     *) libsuff= shlibsuff= libmagic=never-match;;
   13568     esac
   13569     ;;
   13570   esac
   13571   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   13572   shlibpath_overrides_runpath=no
   13573   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   13574   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   13575   hardcode_into_libs=yes
   13576   ;;
   13577 
   13578 # No shared lib support for Linux oldld, aout, or coff.
   13579 linux*oldld* | linux*aout* | linux*coff*)
   13580   dynamic_linker=no
   13581   ;;
   13582 
   13583 # This must be Linux ELF.
   13584 linux* | k*bsd*-gnu)
   13585   version_type=linux
   13586   need_lib_prefix=no
   13587   need_version=no
   13588   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13589   soname_spec='${libname}${release}${shared_ext}$major'
   13590   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   13591   shlibpath_var=LD_LIBRARY_PATH
   13592   shlibpath_overrides_runpath=no
   13593   # This implies no fast_install, which is unacceptable.
   13594   # Some rework will be needed to allow for fast_install
   13595   # before this can be enabled.
   13596   hardcode_into_libs=yes
   13597 
   13598   # Append ld.so.conf contents to the search path
   13599   if test -f /etc/ld.so.conf; then
   13600     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' ' '`
   13601     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   13602   fi
   13603 
   13604   # We used to test for /lib/ld.so.1 and disable shared libraries on
   13605   # powerpc, because MkLinux only supported shared libraries with the
   13606   # GNU dynamic linker.  Since this was broken with cross compilers,
   13607   # most powerpc-linux boxes support dynamic linking these days and
   13608   # people can always --disable-shared, the test was removed, and we
   13609   # assume the GNU/Linux dynamic linker is in use.
   13610   dynamic_linker='GNU/Linux ld.so'
   13611   ;;
   13612 
   13613 netbsd*)
   13614   version_type=sunos
   13615   need_lib_prefix=no
   13616   need_version=no
   13617   if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   13618     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   13619     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   13620     dynamic_linker='NetBSD (a.out) ld.so'
   13621   else
   13622     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   13623     soname_spec='${libname}${release}${shared_ext}$major'
   13624     dynamic_linker='NetBSD ld.elf_so'
   13625   fi
   13626   shlibpath_var=LD_LIBRARY_PATH
   13627   shlibpath_overrides_runpath=yes
   13628   hardcode_into_libs=yes
   13629   ;;
   13630 
   13631 newsos6)
   13632   version_type=linux
   13633   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13634   shlibpath_var=LD_LIBRARY_PATH
   13635   shlibpath_overrides_runpath=yes
   13636   ;;
   13637 
   13638 nto-qnx*)
   13639   version_type=linux
   13640   need_lib_prefix=no
   13641   need_version=no
   13642   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13643   soname_spec='${libname}${release}${shared_ext}$major'
   13644   shlibpath_var=LD_LIBRARY_PATH
   13645   shlibpath_overrides_runpath=yes
   13646   ;;
   13647 
   13648 openbsd*)
   13649   version_type=sunos
   13650   sys_lib_dlsearch_path_spec="/usr/lib"
   13651   need_lib_prefix=no
   13652   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
   13653   case $host_os in
   13654     openbsd3.3 | openbsd3.3.*) need_version=yes ;;
   13655     *)                         need_version=no  ;;
   13656   esac
   13657   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   13658   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   13659   shlibpath_var=LD_LIBRARY_PATH
   13660   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   13661     case $host_os in
   13662       openbsd2.[89] | openbsd2.[89].*)
   13663 	shlibpath_overrides_runpath=no
   13664 	;;
   13665       *)
   13666 	shlibpath_overrides_runpath=yes
   13667 	;;
   13668       esac
   13669   else
   13670     shlibpath_overrides_runpath=yes
   13671   fi
   13672   ;;
   13673 
   13674 os2*)
   13675   libname_spec='$name'
   13676   shrext_cmds=".dll"
   13677   need_lib_prefix=no
   13678   library_names_spec='$libname${shared_ext} $libname.a'
   13679   dynamic_linker='OS/2 ld.exe'
   13680   shlibpath_var=LIBPATH
   13681   ;;
   13682 
   13683 osf3* | osf4* | osf5*)
   13684   version_type=osf
   13685   need_lib_prefix=no
   13686   need_version=no
   13687   soname_spec='${libname}${release}${shared_ext}$major'
   13688   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13689   shlibpath_var=LD_LIBRARY_PATH
   13690   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   13691   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   13692   ;;
   13693 
   13694 rdos*)
   13695   dynamic_linker=no
   13696   ;;
   13697 
   13698 solaris*)
   13699   version_type=linux
   13700   need_lib_prefix=no
   13701   need_version=no
   13702   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13703   soname_spec='${libname}${release}${shared_ext}$major'
   13704   shlibpath_var=LD_LIBRARY_PATH
   13705   shlibpath_overrides_runpath=yes
   13706   hardcode_into_libs=yes
   13707   # ldd complains unless libraries are executable
   13708   postinstall_cmds='chmod +x $lib'
   13709   ;;
   13710 
   13711 sunos4*)
   13712   version_type=sunos
   13713   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   13714   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   13715   shlibpath_var=LD_LIBRARY_PATH
   13716   shlibpath_overrides_runpath=yes
   13717   if test "$with_gnu_ld" = yes; then
   13718     need_lib_prefix=no
   13719   fi
   13720   need_version=yes
   13721   ;;
   13722 
   13723 sysv4 | sysv4.3*)
   13724   version_type=linux
   13725   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13726   soname_spec='${libname}${release}${shared_ext}$major'
   13727   shlibpath_var=LD_LIBRARY_PATH
   13728   case $host_vendor in
   13729     sni)
   13730       shlibpath_overrides_runpath=no
   13731       need_lib_prefix=no
   13732       export_dynamic_flag_spec='${wl}-Blargedynsym'
   13733       runpath_var=LD_RUN_PATH
   13734       ;;
   13735     siemens)
   13736       need_lib_prefix=no
   13737       ;;
   13738     motorola)
   13739       need_lib_prefix=no
   13740       need_version=no
   13741       shlibpath_overrides_runpath=no
   13742       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   13743       ;;
   13744   esac
   13745   ;;
   13746 
   13747 sysv4*MP*)
   13748   if test -d /usr/nec ;then
   13749     version_type=linux
   13750     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
   13751     soname_spec='$libname${shared_ext}.$major'
   13752     shlibpath_var=LD_LIBRARY_PATH
   13753   fi
   13754   ;;
   13755 
   13756 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   13757   version_type=freebsd-elf
   13758   need_lib_prefix=no
   13759   need_version=no
   13760   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   13761   soname_spec='${libname}${release}${shared_ext}$major'
   13762   shlibpath_var=LD_LIBRARY_PATH
   13763   hardcode_into_libs=yes
   13764   if test "$with_gnu_ld" = yes; then
   13765     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   13766     shlibpath_overrides_runpath=no
   13767   else
   13768     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   13769     shlibpath_overrides_runpath=yes
   13770     case $host_os in
   13771       sco3.2v5*)
   13772         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   13773 	;;
   13774     esac
   13775   fi
   13776   sys_lib_dlsearch_path_spec='/usr/lib'
   13777   ;;
   13778 
   13779 uts4*)
   13780   version_type=linux
   13781   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13782   soname_spec='${libname}${release}${shared_ext}$major'
   13783   shlibpath_var=LD_LIBRARY_PATH
   13784   ;;
   13785 
   13786 *)
   13787   dynamic_linker=no
   13788   ;;
   13789 esac
   13790 { $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
   13791 $as_echo "$dynamic_linker" >&6; }
   13792 test "$dynamic_linker" = no && can_build_shared=no
   13793 
   13794 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
   13795   $as_echo_n "(cached) " >&6
   13796 else
   13797   lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
   13798 fi
   13799 
   13800 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
   13801 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
   13802   $as_echo_n "(cached) " >&6
   13803 else
   13804   lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
   13805 fi
   13806 
   13807 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
   13808 
   13809 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   13810 if test "$GCC" = yes; then
   13811   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   13812 fi
   13813 
   13814 { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
   13815 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
   13816 hardcode_action_CXX=
   13817 if test -n "$hardcode_libdir_flag_spec_CXX" || \
   13818    test -n "$runpath_var_CXX" || \
   13819    test "X$hardcode_automatic_CXX" = "Xyes" ; then
   13820 
   13821   # We can hardcode non-existant directories.
   13822   if test "$hardcode_direct_CXX" != no &&
   13823      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   13824      # have to relink, otherwise we might link with an installed library
   13825      # when we should be linking with a yet-to-be-installed one
   13826      ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
   13827      test "$hardcode_minus_L_CXX" != no; then
   13828     # Linking always hardcodes the temporary library directory.
   13829     hardcode_action_CXX=relink
   13830   else
   13831     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   13832     hardcode_action_CXX=immediate
   13833   fi
   13834 else
   13835   # We cannot hardcode anything, or else we can only hardcode existing
   13836   # directories.
   13837   hardcode_action_CXX=unsupported
   13838 fi
   13839 { $as_echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
   13840 $as_echo "$hardcode_action_CXX" >&6; }
   13841 
   13842 if test "$hardcode_action_CXX" = relink; then
   13843   # Fast installation is not supported
   13844   enable_fast_install=no
   13845 elif test "$shlibpath_overrides_runpath" = yes ||
   13846      test "$enable_shared" = no; then
   13847   # Fast installation is not necessary
   13848   enable_fast_install=needless
   13849 fi
   13850 
   13851 
   13852 # The else clause should only fire when bootstrapping the
   13853 # libtool distribution, otherwise you forgot to ship ltmain.sh
   13854 # with your package, and you will get complaints that there are
   13855 # no rules to generate ltmain.sh.
   13856 if test -f "$ltmain"; then
   13857   # See if we are running on zsh, and set the options which allow our commands through
   13858   # without removal of \ escapes.
   13859   if test -n "${ZSH_VERSION+set}" ; then
   13860     setopt NO_GLOB_SUBST
   13861   fi
   13862   # Now quote all the things that may contain metacharacters while being
   13863   # careful not to overquote the AC_SUBSTed values.  We take copies of the
   13864   # variables and quote the copies for generation of the libtool script.
   13865   for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
   13866     SED SHELL STRIP \
   13867     libname_spec library_names_spec soname_spec extract_expsyms_cmds \
   13868     old_striplib striplib file_magic_cmd finish_cmds finish_eval \
   13869     deplibs_check_method reload_flag reload_cmds need_locks \
   13870     lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
   13871     lt_cv_sys_global_symbol_to_c_name_address \
   13872     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
   13873     old_postinstall_cmds old_postuninstall_cmds \
   13874     compiler_CXX \
   13875     CC_CXX \
   13876     LD_CXX \
   13877     lt_prog_compiler_wl_CXX \
   13878     lt_prog_compiler_pic_CXX \
   13879     lt_prog_compiler_static_CXX \
   13880     lt_prog_compiler_no_builtin_flag_CXX \
   13881     export_dynamic_flag_spec_CXX \
   13882     thread_safe_flag_spec_CXX \
   13883     whole_archive_flag_spec_CXX \
   13884     enable_shared_with_static_runtimes_CXX \
   13885     old_archive_cmds_CXX \
   13886     old_archive_from_new_cmds_CXX \
   13887     predep_objects_CXX \
   13888     postdep_objects_CXX \
   13889     predeps_CXX \
   13890     postdeps_CXX \
   13891     compiler_lib_search_path_CXX \
   13892     compiler_lib_search_dirs_CXX \
   13893     archive_cmds_CXX \
   13894     archive_expsym_cmds_CXX \
   13895     postinstall_cmds_CXX \
   13896     postuninstall_cmds_CXX \
   13897     old_archive_from_expsyms_cmds_CXX \
   13898     allow_undefined_flag_CXX \
   13899     no_undefined_flag_CXX \
   13900     export_symbols_cmds_CXX \
   13901     hardcode_libdir_flag_spec_CXX \
   13902     hardcode_libdir_flag_spec_ld_CXX \
   13903     hardcode_libdir_separator_CXX \
   13904     hardcode_automatic_CXX \
   13905     module_cmds_CXX \
   13906     module_expsym_cmds_CXX \
   13907     lt_cv_prog_compiler_c_o_CXX \
   13908     fix_srcfile_path_CXX \
   13909     exclude_expsyms_CXX \
   13910     include_expsyms_CXX; do
   13911 
   13912     case $var in
   13913     old_archive_cmds_CXX | \
   13914     old_archive_from_new_cmds_CXX | \
   13915     archive_cmds_CXX | \
   13916     archive_expsym_cmds_CXX | \
   13917     module_cmds_CXX | \
   13918     module_expsym_cmds_CXX | \
   13919     old_archive_from_expsyms_cmds_CXX | \
   13920     export_symbols_cmds_CXX | \
   13921     extract_expsyms_cmds | reload_cmds | finish_cmds | \
   13922     postinstall_cmds | postuninstall_cmds | \
   13923     old_postinstall_cmds | old_postuninstall_cmds | \
   13924     sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
   13925       # Double-quote double-evaled strings.
   13926       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
   13927       ;;
   13928     *)
   13929       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
   13930       ;;
   13931     esac
   13932   done
   13933 
   13934   case $lt_echo in
   13935   *'\$0 --fallback-echo"')
   13936     lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
   13937     ;;
   13938   esac
   13939 
   13940 cfgfile="$ofile"
   13941 
   13942   cat <<__EOF__ >> "$cfgfile"
   13943 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
   13944 
   13945 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   13946 
   13947 # Shell to use when invoking shell scripts.
   13948 SHELL=$lt_SHELL
   13949 
   13950 # Whether or not to build shared libraries.
   13951 build_libtool_libs=$enable_shared
   13952 
   13953 # Whether or not to build static libraries.
   13954 build_old_libs=$enable_static
   13955 
   13956 # Whether or not to add -lc for building shared libraries.
   13957 build_libtool_need_lc=$archive_cmds_need_lc_CXX
   13958 
   13959 # Whether or not to disallow shared libs when runtime libs are static
   13960 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
   13961 
   13962 # Whether or not to optimize for fast installation.
   13963 fast_install=$enable_fast_install
   13964 
   13965 # The host system.
   13966 host_alias=$host_alias
   13967 host=$host
   13968 host_os=$host_os
   13969 
   13970 # The build system.
   13971 build_alias=$build_alias
   13972 build=$build
   13973 build_os=$build_os
   13974 
   13975 # An echo program that does not interpret backslashes.
   13976 echo=$lt_echo
   13977 
   13978 # The archiver.
   13979 AR=$lt_AR
   13980 AR_FLAGS=$lt_AR_FLAGS
   13981 
   13982 # A C compiler.
   13983 LTCC=$lt_LTCC
   13984 
   13985 # LTCC compiler flags.
   13986 LTCFLAGS=$lt_LTCFLAGS
   13987 
   13988 # A language-specific compiler.
   13989 CC=$lt_compiler_CXX
   13990 
   13991 # Is the compiler the GNU C compiler?
   13992 with_gcc=$GCC_CXX
   13993 
   13994 # An ERE matcher.
   13995 EGREP=$lt_EGREP
   13996 
   13997 # The linker used to build libraries.
   13998 LD=$lt_LD_CXX
   13999 
   14000 # Whether we need hard or soft links.
   14001 LN_S=$lt_LN_S
   14002 
   14003 # A BSD-compatible nm program.
   14004 NM=$lt_NM
   14005 
   14006 # A symbol stripping program
   14007 STRIP=$lt_STRIP
   14008 
   14009 # Used to examine libraries when file_magic_cmd begins "file"
   14010 MAGIC_CMD=$MAGIC_CMD
   14011 
   14012 # Used on cygwin: DLL creation program.
   14013 DLLTOOL="$DLLTOOL"
   14014 
   14015 # Used on cygwin: object dumper.
   14016 OBJDUMP="$OBJDUMP"
   14017 
   14018 # Used on cygwin: assembler.
   14019 AS="$AS"
   14020 
   14021 # The name of the directory that contains temporary libtool files.
   14022 objdir=$objdir
   14023 
   14024 # How to create reloadable object files.
   14025 reload_flag=$lt_reload_flag
   14026 reload_cmds=$lt_reload_cmds
   14027 
   14028 # How to pass a linker flag through the compiler.
   14029 wl=$lt_lt_prog_compiler_wl_CXX
   14030 
   14031 # Object file suffix (normally "o").
   14032 objext="$ac_objext"
   14033 
   14034 # Old archive suffix (normally "a").
   14035 libext="$libext"
   14036 
   14037 # Shared library suffix (normally ".so").
   14038 shrext_cmds='$shrext_cmds'
   14039 
   14040 # Executable file suffix (normally "").
   14041 exeext="$exeext"
   14042 
   14043 # Additional compiler flags for building library objects.
   14044 pic_flag=$lt_lt_prog_compiler_pic_CXX
   14045 pic_mode=$pic_mode
   14046 
   14047 # What is the maximum length of a command?
   14048 max_cmd_len=$lt_cv_sys_max_cmd_len
   14049 
   14050 # Does compiler simultaneously support -c and -o options?
   14051 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
   14052 
   14053 # Must we lock files when doing compilation?
   14054 need_locks=$lt_need_locks
   14055 
   14056 # Do we need the lib prefix for modules?
   14057 need_lib_prefix=$need_lib_prefix
   14058 
   14059 # Do we need a version for libraries?
   14060 need_version=$need_version
   14061 
   14062 # Whether dlopen is supported.
   14063 dlopen_support=$enable_dlopen
   14064 
   14065 # Whether dlopen of programs is supported.
   14066 dlopen_self=$enable_dlopen_self
   14067 
   14068 # Whether dlopen of statically linked programs is supported.
   14069 dlopen_self_static=$enable_dlopen_self_static
   14070 
   14071 # Compiler flag to prevent dynamic linking.
   14072 link_static_flag=$lt_lt_prog_compiler_static_CXX
   14073 
   14074 # Compiler flag to turn off builtin functions.
   14075 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
   14076 
   14077 # Compiler flag to allow reflexive dlopens.
   14078 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
   14079 
   14080 # Compiler flag to generate shared objects directly from archives.
   14081 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
   14082 
   14083 # Compiler flag to generate thread-safe objects.
   14084 thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
   14085 
   14086 # Library versioning type.
   14087 version_type=$version_type
   14088 
   14089 # Format of library name prefix.
   14090 libname_spec=$lt_libname_spec
   14091 
   14092 # List of archive names.  First name is the real one, the rest are links.
   14093 # The last name is the one that the linker finds with -lNAME.
   14094 library_names_spec=$lt_library_names_spec
   14095 
   14096 # The coded name of the library, if different from the real name.
   14097 soname_spec=$lt_soname_spec
   14098 
   14099 # Commands used to build and install an old-style archive.
   14100 RANLIB=$lt_RANLIB
   14101 old_archive_cmds=$lt_old_archive_cmds_CXX
   14102 old_postinstall_cmds=$lt_old_postinstall_cmds
   14103 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   14104 
   14105 # Create an old-style archive from a shared archive.
   14106 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
   14107 
   14108 # Create a temporary old-style archive to link instead of a shared archive.
   14109 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
   14110 
   14111 # Commands used to build and install a shared archive.
   14112 archive_cmds=$lt_archive_cmds_CXX
   14113 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
   14114 postinstall_cmds=$lt_postinstall_cmds
   14115 postuninstall_cmds=$lt_postuninstall_cmds
   14116 
   14117 # Commands used to build a loadable module (assumed same as above if empty)
   14118 module_cmds=$lt_module_cmds_CXX
   14119 module_expsym_cmds=$lt_module_expsym_cmds_CXX
   14120 
   14121 # Commands to strip libraries.
   14122 old_striplib=$lt_old_striplib
   14123 striplib=$lt_striplib
   14124 
   14125 # Dependencies to place before the objects being linked to create a
   14126 # shared library.
   14127 predep_objects=$lt_predep_objects_CXX
   14128 
   14129 # Dependencies to place after the objects being linked to create a
   14130 # shared library.
   14131 postdep_objects=$lt_postdep_objects_CXX
   14132 
   14133 # Dependencies to place before the objects being linked to create a
   14134 # shared library.
   14135 predeps=$lt_predeps_CXX
   14136 
   14137 # Dependencies to place after the objects being linked to create a
   14138 # shared library.
   14139 postdeps=$lt_postdeps_CXX
   14140 
   14141 # The directories searched by this compiler when creating a shared
   14142 # library
   14143 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
   14144 
   14145 # The library search path used internally by the compiler when linking
   14146 # a shared library.
   14147 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
   14148 
   14149 # Method to check whether dependent libraries are shared objects.
   14150 deplibs_check_method=$lt_deplibs_check_method
   14151 
   14152 # Command to use when deplibs_check_method == file_magic.
   14153 file_magic_cmd=$lt_file_magic_cmd
   14154 
   14155 # Flag that allows shared libraries with undefined symbols to be built.
   14156 allow_undefined_flag=$lt_allow_undefined_flag_CXX
   14157 
   14158 # Flag that forces no undefined symbols.
   14159 no_undefined_flag=$lt_no_undefined_flag_CXX
   14160 
   14161 # Commands used to finish a libtool library installation in a directory.
   14162 finish_cmds=$lt_finish_cmds
   14163 
   14164 # Same as above, but a single script fragment to be evaled but not shown.
   14165 finish_eval=$lt_finish_eval
   14166 
   14167 # Take the output of nm and produce a listing of raw symbols and C names.
   14168 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   14169 
   14170 # Transform the output of nm in a proper C declaration
   14171 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   14172 
   14173 # Transform the output of nm in a C name address pair
   14174 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   14175 
   14176 # This is the shared library runtime path variable.
   14177 runpath_var=$runpath_var
   14178 
   14179 # This is the shared library path variable.
   14180 shlibpath_var=$shlibpath_var
   14181 
   14182 # Is shlibpath searched before the hard-coded library search path?
   14183 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   14184 
   14185 # How to hardcode a shared library path into an executable.
   14186 hardcode_action=$hardcode_action_CXX
   14187 
   14188 # Whether we should hardcode library paths into libraries.
   14189 hardcode_into_libs=$hardcode_into_libs
   14190 
   14191 # Flag to hardcode \$libdir into a binary during linking.
   14192 # This must work even if \$libdir does not exist.
   14193 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
   14194 
   14195 # If ld is used when linking, flag to hardcode \$libdir into
   14196 # a binary during linking. This must work even if \$libdir does
   14197 # not exist.
   14198 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
   14199 
   14200 # Whether we need a single -rpath flag with a separated argument.
   14201 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
   14202 
   14203 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
   14204 # resulting binary.
   14205 hardcode_direct=$hardcode_direct_CXX
   14206 
   14207 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
   14208 # resulting binary.
   14209 hardcode_minus_L=$hardcode_minus_L_CXX
   14210 
   14211 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
   14212 # the resulting binary.
   14213 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
   14214 
   14215 # Set to yes if building a shared library automatically hardcodes DIR into the library
   14216 # and all subsequent libraries and executables linked against it.
   14217 hardcode_automatic=$hardcode_automatic_CXX
   14218 
   14219 # Variables whose values should be saved in libtool wrapper scripts and
   14220 # restored at relink time.
   14221 variables_saved_for_relink="$variables_saved_for_relink"
   14222 
   14223 # Whether libtool must link a program against all its dependency libraries.
   14224 link_all_deplibs=$link_all_deplibs_CXX
   14225 
   14226 # Compile-time system search path for libraries
   14227 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   14228 
   14229 # Run-time system search path for libraries
   14230 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   14231 
   14232 # Fix the shell variable \$srcfile for the compiler.
   14233 fix_srcfile_path=$lt_fix_srcfile_path
   14234 
   14235 # Set to yes if exported symbols are required.
   14236 always_export_symbols=$always_export_symbols_CXX
   14237 
   14238 # The commands to list exported symbols.
   14239 export_symbols_cmds=$lt_export_symbols_cmds_CXX
   14240 
   14241 # The commands to extract the exported symbol list from a shared archive.
   14242 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   14243 
   14244 # Symbols that should not be listed in the preloaded symbols.
   14245 exclude_expsyms=$lt_exclude_expsyms_CXX
   14246 
   14247 # Symbols that must always be exported.
   14248 include_expsyms=$lt_include_expsyms_CXX
   14249 
   14250 # ### END LIBTOOL TAG CONFIG: $tagname
   14251 
   14252 __EOF__
   14253 
   14254 
   14255 else
   14256   # If there is no Makefile yet, we rely on a make rule to execute
   14257   # `config.status --recheck' to rerun these tests and create the
   14258   # libtool script then.
   14259   ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
   14260   if test -f "$ltmain_in"; then
   14261     test -f Makefile && make "$ltmain"
   14262   fi
   14263 fi
   14264 
   14265 
   14266 ac_ext=c
   14267 ac_cpp='$CPP $CPPFLAGS'
   14268 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   14269 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   14270 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   14271 
   14272 CC=$lt_save_CC
   14273 LDCXX=$LD
   14274 LD=$lt_save_LD
   14275 GCC=$lt_save_GCC
   14276 with_gnu_ldcxx=$with_gnu_ld
   14277 with_gnu_ld=$lt_save_with_gnu_ld
   14278 lt_cv_path_LDCXX=$lt_cv_path_LD
   14279 lt_cv_path_LD=$lt_save_path_LD
   14280 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
   14281 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
   14282 
   14283 	else
   14284 	  tagname=""
   14285 	fi
   14286 	;;
   14287 
   14288       F77)
   14289 	if test -n "$F77" && test "X$F77" != "Xno"; then
   14290 
   14291 ac_ext=f
   14292 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
   14293 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   14294 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
   14295 
   14296 
   14297 archive_cmds_need_lc_F77=no
   14298 allow_undefined_flag_F77=
   14299 always_export_symbols_F77=no
   14300 archive_expsym_cmds_F77=
   14301 export_dynamic_flag_spec_F77=
   14302 hardcode_direct_F77=no
   14303 hardcode_libdir_flag_spec_F77=
   14304 hardcode_libdir_flag_spec_ld_F77=
   14305 hardcode_libdir_separator_F77=
   14306 hardcode_minus_L_F77=no
   14307 hardcode_automatic_F77=no
   14308 module_cmds_F77=
   14309 module_expsym_cmds_F77=
   14310 link_all_deplibs_F77=unknown
   14311 old_archive_cmds_F77=$old_archive_cmds
   14312 no_undefined_flag_F77=
   14313 whole_archive_flag_spec_F77=
   14314 enable_shared_with_static_runtimes_F77=no
   14315 
   14316 # Source file extension for f77 test sources.
   14317 ac_ext=f
   14318 
   14319 # Object file extension for compiled f77 test sources.
   14320 objext=o
   14321 objext_F77=$objext
   14322 
   14323 # Code to be used in simple compile tests
   14324 lt_simple_compile_test_code="\
   14325       subroutine t
   14326       return
   14327       end
   14328 "
   14329 
   14330 # Code to be used in simple link tests
   14331 lt_simple_link_test_code="\
   14332       program t
   14333       end
   14334 "
   14335 
   14336 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
   14337 
   14338 # If no C compiler was specified, use CC.
   14339 LTCC=${LTCC-"$CC"}
   14340 
   14341 # If no C compiler flags were specified, use CFLAGS.
   14342 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   14343 
   14344 # Allow CC to be a program name with arguments.
   14345 compiler=$CC
   14346 
   14347 
   14348 # save warnings/boilerplate of simple test code
   14349 ac_outfile=conftest.$ac_objext
   14350 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   14351 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   14352 _lt_compiler_boilerplate=`cat conftest.err`
   14353 $rm conftest*
   14354 
   14355 ac_outfile=conftest.$ac_objext
   14356 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   14357 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   14358 _lt_linker_boilerplate=`cat conftest.err`
   14359 $rm -r conftest*
   14360 
   14361 
   14362 # Allow CC to be a program name with arguments.
   14363 lt_save_CC="$CC"
   14364 CC=${F77-"f77"}
   14365 compiler=$CC
   14366 compiler_F77=$CC
   14367 for cc_temp in $compiler""; do
   14368   case $cc_temp in
   14369     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   14370     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   14371     \-*) ;;
   14372     *) break;;
   14373   esac
   14374 done
   14375 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   14376 
   14377 
   14378 { $as_echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
   14379 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
   14380 { $as_echo "$as_me:$LINENO: result: $can_build_shared" >&5
   14381 $as_echo "$can_build_shared" >&6; }
   14382 
   14383 { $as_echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
   14384 $as_echo_n "checking whether to build shared libraries... " >&6; }
   14385 test "$can_build_shared" = "no" && enable_shared=no
   14386 
   14387 # On AIX, shared libraries and static libraries use the same namespace, and
   14388 # are all built from PIC.
   14389 case $host_os in
   14390 aix3*)
   14391   test "$enable_shared" = yes && enable_static=no
   14392   if test -n "$RANLIB"; then
   14393     archive_cmds="$archive_cmds~\$RANLIB \$lib"
   14394     postinstall_cmds='$RANLIB $lib'
   14395   fi
   14396   ;;
   14397 aix[4-9]*)
   14398   if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
   14399     test "$enable_shared" = yes && enable_static=no
   14400   fi
   14401   ;;
   14402 esac
   14403 { $as_echo "$as_me:$LINENO: result: $enable_shared" >&5
   14404 $as_echo "$enable_shared" >&6; }
   14405 
   14406 { $as_echo "$as_me:$LINENO: checking whether to build static libraries" >&5
   14407 $as_echo_n "checking whether to build static libraries... " >&6; }
   14408 # Make sure either enable_shared or enable_static is yes.
   14409 test "$enable_shared" = yes || enable_static=yes
   14410 { $as_echo "$as_me:$LINENO: result: $enable_static" >&5
   14411 $as_echo "$enable_static" >&6; }
   14412 
   14413 GCC_F77="$G77"
   14414 LD_F77="$LD"
   14415 
   14416 lt_prog_compiler_wl_F77=
   14417 lt_prog_compiler_pic_F77=
   14418 lt_prog_compiler_static_F77=
   14419 
   14420 { $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
   14421 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
   14422 
   14423   if test "$GCC" = yes; then
   14424     lt_prog_compiler_wl_F77='-Wl,'
   14425     lt_prog_compiler_static_F77='-static'
   14426 
   14427     case $host_os in
   14428       aix*)
   14429       # All AIX code is PIC.
   14430       if test "$host_cpu" = ia64; then
   14431 	# AIX 5 now supports IA64 processor
   14432 	lt_prog_compiler_static_F77='-Bstatic'
   14433       fi
   14434       ;;
   14435 
   14436     amigaos*)
   14437       # FIXME: we need at least 68020 code to build shared libraries, but
   14438       # adding the `-m68020' flag to GCC prevents building anything better,
   14439       # like `-m68040'.
   14440       lt_prog_compiler_pic_F77='-m68020 -resident32 -malways-restore-a4'
   14441       ;;
   14442 
   14443     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   14444       # PIC is the default for these OSes.
   14445       ;;
   14446 
   14447     mingw* | cygwin* | pw32* | os2*)
   14448       # This hack is so that the source file can tell whether it is being
   14449       # built for inclusion in a dll (and should export symbols for example).
   14450       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   14451       # (--disable-auto-import) libraries
   14452       lt_prog_compiler_pic_F77='-DDLL_EXPORT'
   14453       ;;
   14454 
   14455     darwin* | rhapsody*)
   14456       # PIC is the default on this platform
   14457       # Common symbols not allowed in MH_DYLIB files
   14458       lt_prog_compiler_pic_F77='-fno-common'
   14459       ;;
   14460 
   14461     interix[3-9]*)
   14462       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   14463       # Instead, we relocate shared libraries at runtime.
   14464       ;;
   14465 
   14466     msdosdjgpp*)
   14467       # Just because we use GCC doesn't mean we suddenly get shared libraries
   14468       # on systems that don't support them.
   14469       lt_prog_compiler_can_build_shared_F77=no
   14470       enable_shared=no
   14471       ;;
   14472 
   14473     sysv4*MP*)
   14474       if test -d /usr/nec; then
   14475 	lt_prog_compiler_pic_F77=-Kconform_pic
   14476       fi
   14477       ;;
   14478 
   14479     hpux*)
   14480       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   14481       # not for PA HP-UX.
   14482       case $host_cpu in
   14483       hppa*64*|ia64*)
   14484 	# +Z the default
   14485 	;;
   14486       *)
   14487 	lt_prog_compiler_pic_F77='-fPIC'
   14488 	;;
   14489       esac
   14490       ;;
   14491 
   14492     *)
   14493       lt_prog_compiler_pic_F77='-fPIC'
   14494       ;;
   14495     esac
   14496   else
   14497     # PORTME Check for flag to pass linker flags through the system compiler.
   14498     case $host_os in
   14499     aix*)
   14500       lt_prog_compiler_wl_F77='-Wl,'
   14501       if test "$host_cpu" = ia64; then
   14502 	# AIX 5 now supports IA64 processor
   14503 	lt_prog_compiler_static_F77='-Bstatic'
   14504       else
   14505 	lt_prog_compiler_static_F77='-bnso -bI:/lib/syscalls.exp'
   14506       fi
   14507       ;;
   14508       darwin*)
   14509         # PIC is the default on this platform
   14510         # Common symbols not allowed in MH_DYLIB files
   14511        case $cc_basename in
   14512          xlc*)
   14513          lt_prog_compiler_pic_F77='-qnocommon'
   14514          lt_prog_compiler_wl_F77='-Wl,'
   14515          ;;
   14516        esac
   14517        ;;
   14518 
   14519     mingw* | cygwin* | pw32* | os2*)
   14520       # This hack is so that the source file can tell whether it is being
   14521       # built for inclusion in a dll (and should export symbols for example).
   14522       lt_prog_compiler_pic_F77='-DDLL_EXPORT'
   14523       ;;
   14524 
   14525     hpux9* | hpux10* | hpux11*)
   14526       lt_prog_compiler_wl_F77='-Wl,'
   14527       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   14528       # not for PA HP-UX.
   14529       case $host_cpu in
   14530       hppa*64*|ia64*)
   14531 	# +Z the default
   14532 	;;
   14533       *)
   14534 	lt_prog_compiler_pic_F77='+Z'
   14535 	;;
   14536       esac
   14537       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   14538       lt_prog_compiler_static_F77='${wl}-a ${wl}archive'
   14539       ;;
   14540 
   14541     irix5* | irix6* | nonstopux*)
   14542       lt_prog_compiler_wl_F77='-Wl,'
   14543       # PIC (with -KPIC) is the default.
   14544       lt_prog_compiler_static_F77='-non_shared'
   14545       ;;
   14546 
   14547     newsos6)
   14548       lt_prog_compiler_pic_F77='-KPIC'
   14549       lt_prog_compiler_static_F77='-Bstatic'
   14550       ;;
   14551 
   14552     linux* | k*bsd*-gnu)
   14553       case $cc_basename in
   14554       icc* | ecc*)
   14555 	lt_prog_compiler_wl_F77='-Wl,'
   14556 	lt_prog_compiler_pic_F77='-KPIC'
   14557 	lt_prog_compiler_static_F77='-static'
   14558         ;;
   14559       pgcc* | pgf77* | pgf90* | pgf95*)
   14560         # Portland Group compilers (*not* the Pentium gcc compiler,
   14561 	# which looks to be a dead project)
   14562 	lt_prog_compiler_wl_F77='-Wl,'
   14563 	lt_prog_compiler_pic_F77='-fpic'
   14564 	lt_prog_compiler_static_F77='-Bstatic'
   14565         ;;
   14566       ccc*)
   14567         lt_prog_compiler_wl_F77='-Wl,'
   14568         # All Alpha code is PIC.
   14569         lt_prog_compiler_static_F77='-non_shared'
   14570         ;;
   14571       *)
   14572         case `$CC -V 2>&1 | sed 5q` in
   14573 	*Sun\ C*)
   14574 	  # Sun C 5.9
   14575 	  lt_prog_compiler_pic_F77='-KPIC'
   14576 	  lt_prog_compiler_static_F77='-Bstatic'
   14577 	  lt_prog_compiler_wl_F77='-Wl,'
   14578 	  ;;
   14579 	*Sun\ F*)
   14580 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   14581 	  lt_prog_compiler_pic_F77='-KPIC'
   14582 	  lt_prog_compiler_static_F77='-Bstatic'
   14583 	  lt_prog_compiler_wl_F77=''
   14584 	  ;;
   14585 	esac
   14586 	;;
   14587       esac
   14588       ;;
   14589 
   14590     osf3* | osf4* | osf5*)
   14591       lt_prog_compiler_wl_F77='-Wl,'
   14592       # All OSF/1 code is PIC.
   14593       lt_prog_compiler_static_F77='-non_shared'
   14594       ;;
   14595 
   14596     rdos*)
   14597       lt_prog_compiler_static_F77='-non_shared'
   14598       ;;
   14599 
   14600     solaris*)
   14601       lt_prog_compiler_pic_F77='-KPIC'
   14602       lt_prog_compiler_static_F77='-Bstatic'
   14603       case $cc_basename in
   14604       f77* | f90* | f95*)
   14605 	lt_prog_compiler_wl_F77='-Qoption ld ';;
   14606       *)
   14607 	lt_prog_compiler_wl_F77='-Wl,';;
   14608       esac
   14609       ;;
   14610 
   14611     sunos4*)
   14612       lt_prog_compiler_wl_F77='-Qoption ld '
   14613       lt_prog_compiler_pic_F77='-PIC'
   14614       lt_prog_compiler_static_F77='-Bstatic'
   14615       ;;
   14616 
   14617     sysv4 | sysv4.2uw2* | sysv4.3*)
   14618       lt_prog_compiler_wl_F77='-Wl,'
   14619       lt_prog_compiler_pic_F77='-KPIC'
   14620       lt_prog_compiler_static_F77='-Bstatic'
   14621       ;;
   14622 
   14623     sysv4*MP*)
   14624       if test -d /usr/nec ;then
   14625 	lt_prog_compiler_pic_F77='-Kconform_pic'
   14626 	lt_prog_compiler_static_F77='-Bstatic'
   14627       fi
   14628       ;;
   14629 
   14630     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   14631       lt_prog_compiler_wl_F77='-Wl,'
   14632       lt_prog_compiler_pic_F77='-KPIC'
   14633       lt_prog_compiler_static_F77='-Bstatic'
   14634       ;;
   14635 
   14636     unicos*)
   14637       lt_prog_compiler_wl_F77='-Wl,'
   14638       lt_prog_compiler_can_build_shared_F77=no
   14639       ;;
   14640 
   14641     uts4*)
   14642       lt_prog_compiler_pic_F77='-pic'
   14643       lt_prog_compiler_static_F77='-Bstatic'
   14644       ;;
   14645 
   14646     *)
   14647       lt_prog_compiler_can_build_shared_F77=no
   14648       ;;
   14649     esac
   14650   fi
   14651 
   14652 { $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
   14653 $as_echo "$lt_prog_compiler_pic_F77" >&6; }
   14654 
   14655 #
   14656 # Check to make sure the PIC flag actually works.
   14657 #
   14658 if test -n "$lt_prog_compiler_pic_F77"; then
   14659 
   14660 { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
   14661 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... " >&6; }
   14662 if test "${lt_cv_prog_compiler_pic_works_F77+set}" = set; then
   14663   $as_echo_n "(cached) " >&6
   14664 else
   14665   lt_cv_prog_compiler_pic_works_F77=no
   14666   ac_outfile=conftest.$ac_objext
   14667    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   14668    lt_compiler_flag="$lt_prog_compiler_pic_F77"
   14669    # Insert the option either (1) after the last *FLAGS variable, or
   14670    # (2) before a word containing "conftest.", or (3) at the end.
   14671    # Note that $ac_compile itself does not contain backslashes and begins
   14672    # with a dollar sign (not a hyphen), so the echo should work correctly.
   14673    # The option is referenced via a variable to avoid confusing sed.
   14674    lt_compile=`echo "$ac_compile" | $SED \
   14675    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   14676    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   14677    -e 's:$: $lt_compiler_flag:'`
   14678    (eval echo "\"\$as_me:14678: $lt_compile\"" >&5)
   14679    (eval "$lt_compile" 2>conftest.err)
   14680    ac_status=$?
   14681    cat conftest.err >&5
   14682    echo "$as_me:14682: \$? = $ac_status" >&5
   14683    if (exit $ac_status) && test -s "$ac_outfile"; then
   14684      # The compiler can only warn and ignore the option if not recognized
   14685      # So say no if there are warnings other than the usual output.
   14686      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   14687      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   14688      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   14689        lt_cv_prog_compiler_pic_works_F77=yes
   14690      fi
   14691    fi
   14692    $rm conftest*
   14693 
   14694 fi
   14695 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_F77" >&5
   14696 $as_echo "$lt_cv_prog_compiler_pic_works_F77" >&6; }
   14697 
   14698 if test x"$lt_cv_prog_compiler_pic_works_F77" = xyes; then
   14699     case $lt_prog_compiler_pic_F77 in
   14700      "" | " "*) ;;
   14701      *) lt_prog_compiler_pic_F77=" $lt_prog_compiler_pic_F77" ;;
   14702      esac
   14703 else
   14704     lt_prog_compiler_pic_F77=
   14705      lt_prog_compiler_can_build_shared_F77=no
   14706 fi
   14707 
   14708 fi
   14709 case $host_os in
   14710   # For platforms which do not support PIC, -DPIC is meaningless:
   14711   *djgpp*)
   14712     lt_prog_compiler_pic_F77=
   14713     ;;
   14714   *)
   14715     lt_prog_compiler_pic_F77="$lt_prog_compiler_pic_F77"
   14716     ;;
   14717 esac
   14718 
   14719 #
   14720 # Check to make sure the static flag actually works.
   14721 #
   14722 wl=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag=\"$lt_prog_compiler_static_F77\"
   14723 { $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   14724 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   14725 if test "${lt_cv_prog_compiler_static_works_F77+set}" = set; then
   14726   $as_echo_n "(cached) " >&6
   14727 else
   14728   lt_cv_prog_compiler_static_works_F77=no
   14729    save_LDFLAGS="$LDFLAGS"
   14730    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   14731    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   14732    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   14733      # The linker can only warn and ignore the option if not recognized
   14734      # So say no if there are warnings
   14735      if test -s conftest.err; then
   14736        # Append any errors to the config.log.
   14737        cat conftest.err 1>&5
   14738        $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
   14739        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   14740        if diff conftest.exp conftest.er2 >/dev/null; then
   14741          lt_cv_prog_compiler_static_works_F77=yes
   14742        fi
   14743      else
   14744        lt_cv_prog_compiler_static_works_F77=yes
   14745      fi
   14746    fi
   14747    $rm -r conftest*
   14748    LDFLAGS="$save_LDFLAGS"
   14749 
   14750 fi
   14751 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_F77" >&5
   14752 $as_echo "$lt_cv_prog_compiler_static_works_F77" >&6; }
   14753 
   14754 if test x"$lt_cv_prog_compiler_static_works_F77" = xyes; then
   14755     :
   14756 else
   14757     lt_prog_compiler_static_F77=
   14758 fi
   14759 
   14760 
   14761 { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
   14762 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   14763 if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
   14764   $as_echo_n "(cached) " >&6
   14765 else
   14766   lt_cv_prog_compiler_c_o_F77=no
   14767    $rm -r conftest 2>/dev/null
   14768    mkdir conftest
   14769    cd conftest
   14770    mkdir out
   14771    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   14772 
   14773    lt_compiler_flag="-o out/conftest2.$ac_objext"
   14774    # Insert the option either (1) after the last *FLAGS variable, or
   14775    # (2) before a word containing "conftest.", or (3) at the end.
   14776    # Note that $ac_compile itself does not contain backslashes and begins
   14777    # with a dollar sign (not a hyphen), so the echo should work correctly.
   14778    lt_compile=`echo "$ac_compile" | $SED \
   14779    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   14780    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   14781    -e 's:$: $lt_compiler_flag:'`
   14782    (eval echo "\"\$as_me:14782: $lt_compile\"" >&5)
   14783    (eval "$lt_compile" 2>out/conftest.err)
   14784    ac_status=$?
   14785    cat out/conftest.err >&5
   14786    echo "$as_me:14786: \$? = $ac_status" >&5
   14787    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   14788    then
   14789      # The compiler can only warn and ignore the option if not recognized
   14790      # So say no if there are warnings
   14791      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
   14792      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   14793      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   14794        lt_cv_prog_compiler_c_o_F77=yes
   14795      fi
   14796    fi
   14797    chmod u+w . 2>&5
   14798    $rm conftest*
   14799    # SGI C++ compiler will create directory out/ii_files/ for
   14800    # template instantiation
   14801    test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
   14802    $rm out/* && rmdir out
   14803    cd ..
   14804    rmdir conftest
   14805    $rm conftest*
   14806 
   14807 fi
   14808 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
   14809 $as_echo "$lt_cv_prog_compiler_c_o_F77" >&6; }
   14810 
   14811 
   14812 hard_links="nottested"
   14813 if test "$lt_cv_prog_compiler_c_o_F77" = no && test "$need_locks" != no; then
   14814   # do not overwrite the value of need_locks provided by the user
   14815   { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
   14816 $as_echo_n "checking if we can lock with hard links... " >&6; }
   14817   hard_links=yes
   14818   $rm conftest*
   14819   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   14820   touch conftest.a
   14821   ln conftest.a conftest.b 2>&5 || hard_links=no
   14822   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   14823   { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
   14824 $as_echo "$hard_links" >&6; }
   14825   if test "$hard_links" = no; then
   14826     { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   14827 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   14828     need_locks=warn
   14829   fi
   14830 else
   14831   need_locks=no
   14832 fi
   14833 
   14834 { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   14835 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   14836 
   14837   runpath_var=
   14838   allow_undefined_flag_F77=
   14839   enable_shared_with_static_runtimes_F77=no
   14840   archive_cmds_F77=
   14841   archive_expsym_cmds_F77=
   14842   old_archive_From_new_cmds_F77=
   14843   old_archive_from_expsyms_cmds_F77=
   14844   export_dynamic_flag_spec_F77=
   14845   whole_archive_flag_spec_F77=
   14846   thread_safe_flag_spec_F77=
   14847   hardcode_libdir_flag_spec_F77=
   14848   hardcode_libdir_flag_spec_ld_F77=
   14849   hardcode_libdir_separator_F77=
   14850   hardcode_direct_F77=no
   14851   hardcode_minus_L_F77=no
   14852   hardcode_shlibpath_var_F77=unsupported
   14853   link_all_deplibs_F77=unknown
   14854   hardcode_automatic_F77=no
   14855   module_cmds_F77=
   14856   module_expsym_cmds_F77=
   14857   always_export_symbols_F77=no
   14858   export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   14859   # include_expsyms should be a list of space-separated symbols to be *always*
   14860   # included in the symbol list
   14861   include_expsyms_F77=
   14862   # exclude_expsyms can be an extended regexp of symbols to exclude
   14863   # it will be wrapped by ` (' and `)$', so one must not match beginning or
   14864   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
   14865   # as well as any symbol that contains `d'.
   14866   exclude_expsyms_F77='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   14867   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   14868   # platforms (ab)use it in PIC code, but their linkers get confused if
   14869   # the symbol is explicitly referenced.  Since portable code cannot
   14870   # rely on this symbol name, it's probably fine to never include it in
   14871   # preloaded symbol tables.
   14872   # Exclude shared library initialization/finalization symbols.
   14873   extract_expsyms_cmds=
   14874   # Just being paranoid about ensuring that cc_basename is set.
   14875   for cc_temp in $compiler""; do
   14876   case $cc_temp in
   14877     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   14878     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   14879     \-*) ;;
   14880     *) break;;
   14881   esac
   14882 done
   14883 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   14884 
   14885   case $host_os in
   14886   cygwin* | mingw* | pw32*)
   14887     # FIXME: the MSVC++ port hasn't been tested in a loooong time
   14888     # When not using gcc, we currently assume that we are using
   14889     # Microsoft Visual C++.
   14890     if test "$GCC" != yes; then
   14891       with_gnu_ld=no
   14892     fi
   14893     ;;
   14894   interix*)
   14895     # we just hope/assume this is gcc and not c89 (= MSVC++)
   14896     with_gnu_ld=yes
   14897     ;;
   14898   openbsd*)
   14899     with_gnu_ld=no
   14900     ;;
   14901   esac
   14902 
   14903   ld_shlibs_F77=yes
   14904   if test "$with_gnu_ld" = yes; then
   14905     # If archive_cmds runs LD, not CC, wlarc should be empty
   14906     wlarc='${wl}'
   14907 
   14908     # Set some defaults for GNU ld with shared library support. These
   14909     # are reset later if shared libraries are not supported. Putting them
   14910     # here allows them to be overridden if necessary.
   14911     runpath_var=LD_RUN_PATH
   14912     hardcode_libdir_flag_spec_F77='${wl}--rpath ${wl}$libdir'
   14913     export_dynamic_flag_spec_F77='${wl}--export-dynamic'
   14914     # ancient GNU ld didn't support --whole-archive et. al.
   14915     if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
   14916 	whole_archive_flag_spec_F77="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   14917       else
   14918   	whole_archive_flag_spec_F77=
   14919     fi
   14920     supports_anon_versioning=no
   14921     case `$LD -v 2>/dev/null` in
   14922       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   14923       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   14924       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   14925       *\ 2.11.*) ;; # other 2.11 versions
   14926       *) supports_anon_versioning=yes ;;
   14927     esac
   14928 
   14929     # See if GNU ld supports shared libraries.
   14930     case $host_os in
   14931     aix[3-9]*)
   14932       # On AIX/PPC, the GNU linker is very broken
   14933       if test "$host_cpu" != ia64; then
   14934 	ld_shlibs_F77=no
   14935 	cat <<EOF 1>&2
   14936 
   14937 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
   14938 *** to be unable to reliably create shared libraries on AIX.
   14939 *** Therefore, libtool is disabling shared libraries support.  If you
   14940 *** really care for shared libraries, you may want to modify your PATH
   14941 *** so that a non-GNU linker is found, and then restart.
   14942 
   14943 EOF
   14944       fi
   14945       ;;
   14946 
   14947     amigaos*)
   14948       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)'
   14949       hardcode_libdir_flag_spec_F77='-L$libdir'
   14950       hardcode_minus_L_F77=yes
   14951 
   14952       # Samuel A. Falvo II <kc5tja (at] dolphin.openprojects.net> reports
   14953       # that the semantics of dynamic libraries on AmigaOS, at least up
   14954       # to version 4, is to share data among multiple programs linked
   14955       # with the same dynamic library.  Since this doesn't match the
   14956       # behavior of shared libraries on other platforms, we can't use
   14957       # them.
   14958       ld_shlibs_F77=no
   14959       ;;
   14960 
   14961     beos*)
   14962       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   14963 	allow_undefined_flag_F77=unsupported
   14964 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   14965 	# support --undefined.  This deserves some investigation.  FIXME
   14966 	archive_cmds_F77='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   14967       else
   14968 	ld_shlibs_F77=no
   14969       fi
   14970       ;;
   14971 
   14972     cygwin* | mingw* | pw32*)
   14973       # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
   14974       # as there is no search path for DLLs.
   14975       hardcode_libdir_flag_spec_F77='-L$libdir'
   14976       allow_undefined_flag_F77=unsupported
   14977       always_export_symbols_F77=no
   14978       enable_shared_with_static_runtimes_F77=yes
   14979       export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
   14980 
   14981       if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
   14982         archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   14983 	# If the export-symbols file already is a .def file (1st line
   14984 	# is EXPORTS), use it as is; otherwise, prepend...
   14985 	archive_expsym_cmds_F77='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   14986 	  cp $export_symbols $output_objdir/$soname.def;
   14987 	else
   14988 	  echo EXPORTS > $output_objdir/$soname.def;
   14989 	  cat $export_symbols >> $output_objdir/$soname.def;
   14990 	fi~
   14991 	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   14992       else
   14993 	ld_shlibs_F77=no
   14994       fi
   14995       ;;
   14996 
   14997     interix[3-9]*)
   14998       hardcode_direct_F77=no
   14999       hardcode_shlibpath_var_F77=no
   15000       hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
   15001       export_dynamic_flag_spec_F77='${wl}-E'
   15002       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   15003       # Instead, shared libraries are loaded at an image base (0x10000000 by
   15004       # default) and relocated if they conflict, which is a slow very memory
   15005       # consuming and fragmenting process.  To avoid this, we pick a random,
   15006       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   15007       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   15008       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'
   15009       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'
   15010       ;;
   15011 
   15012     gnu* | linux* | k*bsd*-gnu)
   15013       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   15014 	tmp_addflag=
   15015 	case $cc_basename,$host_cpu in
   15016 	pgcc*)				# Portland Group C compiler
   15017 	  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'
   15018 	  tmp_addflag=' $pic_flag'
   15019 	  ;;
   15020 	pgf77* | pgf90* | pgf95*)	# Portland Group f77 and f90 compilers
   15021 	  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'
   15022 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   15023 	ecc*,ia64* | icc*,ia64*)		# Intel C compiler on ia64
   15024 	  tmp_addflag=' -i_dynamic' ;;
   15025 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   15026 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   15027 	ifc* | ifort*)			# Intel Fortran compiler
   15028 	  tmp_addflag=' -nofor_main' ;;
   15029 	esac
   15030 	case `$CC -V 2>&1 | sed 5q` in
   15031 	*Sun\ C*)			# Sun C 5.9
   15032 	  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'
   15033 	  tmp_sharedflag='-G' ;;
   15034 	*Sun\ F*)			# Sun Fortran 8.3
   15035 	  tmp_sharedflag='-G' ;;
   15036 	*)
   15037 	  tmp_sharedflag='-shared' ;;
   15038 	esac
   15039 	archive_cmds_F77='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   15040 
   15041 	if test $supports_anon_versioning = yes; then
   15042 	  archive_expsym_cmds_F77='$echo "{ global:" > $output_objdir/$libname.ver~
   15043   cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   15044   $echo "local: *; };" >> $output_objdir/$libname.ver~
   15045 	  $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
   15046 	fi
   15047       else
   15048 	ld_shlibs_F77=no
   15049       fi
   15050       ;;
   15051 
   15052     netbsd*)
   15053       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   15054 	archive_cmds_F77='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   15055 	wlarc=
   15056       else
   15057 	archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   15058 	archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   15059       fi
   15060       ;;
   15061 
   15062     solaris*)
   15063       if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
   15064 	ld_shlibs_F77=no
   15065 	cat <<EOF 1>&2
   15066 
   15067 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   15068 *** create shared libraries on Solaris systems.  Therefore, libtool
   15069 *** is disabling shared libraries support.  We urge you to upgrade GNU
   15070 *** binutils to release 2.9.1 or newer.  Another option is to modify
   15071 *** your PATH or compiler configuration so that the native linker is
   15072 *** used, and then restart.
   15073 
   15074 EOF
   15075       elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   15076 	archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   15077 	archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   15078       else
   15079 	ld_shlibs_F77=no
   15080       fi
   15081       ;;
   15082 
   15083     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   15084       case `$LD -v 2>&1` in
   15085         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   15086 	ld_shlibs_F77=no
   15087 	cat <<_LT_EOF 1>&2
   15088 
   15089 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
   15090 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   15091 *** is disabling shared libraries support.  We urge you to upgrade GNU
   15092 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   15093 *** your PATH or compiler configuration so that the native linker is
   15094 *** used, and then restart.
   15095 
   15096 _LT_EOF
   15097 	;;
   15098 	*)
   15099 	  if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   15100 	    hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
   15101 	    archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
   15102 	    archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
   15103 	  else
   15104 	    ld_shlibs_F77=no
   15105 	  fi
   15106 	;;
   15107       esac
   15108       ;;
   15109 
   15110     sunos4*)
   15111       archive_cmds_F77='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   15112       wlarc=
   15113       hardcode_direct_F77=yes
   15114       hardcode_shlibpath_var_F77=no
   15115       ;;
   15116 
   15117     *)
   15118       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   15119 	archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   15120 	archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   15121       else
   15122 	ld_shlibs_F77=no
   15123       fi
   15124       ;;
   15125     esac
   15126 
   15127     if test "$ld_shlibs_F77" = no; then
   15128       runpath_var=
   15129       hardcode_libdir_flag_spec_F77=
   15130       export_dynamic_flag_spec_F77=
   15131       whole_archive_flag_spec_F77=
   15132     fi
   15133   else
   15134     # PORTME fill in a description of your system's linker (not GNU ld)
   15135     case $host_os in
   15136     aix3*)
   15137       allow_undefined_flag_F77=unsupported
   15138       always_export_symbols_F77=yes
   15139       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'
   15140       # Note: this linker hardcodes the directories in LIBPATH if there
   15141       # are no directories specified by -L.
   15142       hardcode_minus_L_F77=yes
   15143       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
   15144 	# Neither direct hardcoding nor static linking is supported with a
   15145 	# broken collect2.
   15146 	hardcode_direct_F77=unsupported
   15147       fi
   15148       ;;
   15149 
   15150     aix[4-9]*)
   15151       if test "$host_cpu" = ia64; then
   15152 	# On IA64, the linker does run time linking by default, so we don't
   15153 	# have to do anything special.
   15154 	aix_use_runtimelinking=no
   15155 	exp_sym_flag='-Bexport'
   15156 	no_entry_flag=""
   15157       else
   15158 	# If we're using GNU nm, then we don't want the "-C" option.
   15159 	# -C means demangle to AIX nm, but means don't demangle with GNU nm
   15160 	if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
   15161 	  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'
   15162 	else
   15163 	  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'
   15164 	fi
   15165 	aix_use_runtimelinking=no
   15166 
   15167 	# Test if we are trying to use run time linking or normal
   15168 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   15169 	# need to do runtime linking.
   15170 	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   15171 	  for ld_flag in $LDFLAGS; do
   15172   	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
   15173   	    aix_use_runtimelinking=yes
   15174   	    break
   15175   	  fi
   15176 	  done
   15177 	  ;;
   15178 	esac
   15179 
   15180 	exp_sym_flag='-bexport'
   15181 	no_entry_flag='-bnoentry'
   15182       fi
   15183 
   15184       # When large executables or shared objects are built, AIX ld can
   15185       # have problems creating the table of contents.  If linking a library
   15186       # or program results in "error TOC overflow" add -mminimal-toc to
   15187       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   15188       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   15189 
   15190       archive_cmds_F77=''
   15191       hardcode_direct_F77=yes
   15192       hardcode_libdir_separator_F77=':'
   15193       link_all_deplibs_F77=yes
   15194 
   15195       if test "$GCC" = yes; then
   15196 	case $host_os in aix4.[012]|aix4.[012].*)
   15197 	# We only want to do this on AIX 4.2 and lower, the check
   15198 	# below for broken collect2 doesn't work under 4.3+
   15199 	  collect2name=`${CC} -print-prog-name=collect2`
   15200 	  if test -f "$collect2name" && \
   15201   	   strings "$collect2name" | grep resolve_lib_name >/dev/null
   15202 	  then
   15203   	  # We have reworked collect2
   15204   	  :
   15205 	  else
   15206   	  # We have old collect2
   15207   	  hardcode_direct_F77=unsupported
   15208   	  # It fails to find uninstalled libraries when the uninstalled
   15209   	  # path is not listed in the libpath.  Setting hardcode_minus_L
   15210   	  # to unsupported forces relinking
   15211   	  hardcode_minus_L_F77=yes
   15212   	  hardcode_libdir_flag_spec_F77='-L$libdir'
   15213   	  hardcode_libdir_separator_F77=
   15214 	  fi
   15215 	  ;;
   15216 	esac
   15217 	shared_flag='-shared'
   15218 	if test "$aix_use_runtimelinking" = yes; then
   15219 	  shared_flag="$shared_flag "'${wl}-G'
   15220 	fi
   15221       else
   15222 	# not using gcc
   15223 	if test "$host_cpu" = ia64; then
   15224   	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   15225   	# chokes on -Wl,-G. The following line is correct:
   15226 	  shared_flag='-G'
   15227 	else
   15228 	  if test "$aix_use_runtimelinking" = yes; then
   15229 	    shared_flag='${wl}-G'
   15230 	  else
   15231 	    shared_flag='${wl}-bM:SRE'
   15232 	  fi
   15233 	fi
   15234       fi
   15235 
   15236       # It seems that -bexpall does not export symbols beginning with
   15237       # underscore (_), so it is better to generate a list of symbols to export.
   15238       always_export_symbols_F77=yes
   15239       if test "$aix_use_runtimelinking" = yes; then
   15240 	# Warning - without using the other runtime loading flags (-brtl),
   15241 	# -berok will link without error, but may produce a broken library.
   15242 	allow_undefined_flag_F77='-berok'
   15243        # Determine the default libpath from the value encoded in an empty executable.
   15244        cat >conftest.$ac_ext <<_ACEOF
   15245       program main
   15246 
   15247       end
   15248 _ACEOF
   15249 rm -f conftest.$ac_objext conftest$ac_exeext
   15250 if { (ac_try="$ac_link"
   15251 case "(($ac_try" in
   15252   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   15253   *) ac_try_echo=$ac_try;;
   15254 esac
   15255 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   15256 $as_echo "$ac_try_echo") >&5
   15257   (eval "$ac_link") 2>conftest.er1
   15258   ac_status=$?
   15259   grep -v '^ *+' conftest.er1 >conftest.err
   15260   rm -f conftest.er1
   15261   cat conftest.err >&5
   15262   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   15263   (exit $ac_status); } && {
   15264 	 test -z "$ac_f77_werror_flag" ||
   15265 	 test ! -s conftest.err
   15266        } && test -s conftest$ac_exeext && {
   15267 	 test "$cross_compiling" = yes ||
   15268 	 $as_test_x conftest$ac_exeext
   15269        }; then
   15270 
   15271 lt_aix_libpath_sed='
   15272     /Import File Strings/,/^$/ {
   15273 	/^0/ {
   15274 	    s/^0  *\(.*\)$/\1/
   15275 	    p
   15276 	}
   15277     }'
   15278 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   15279 # Check for a 64-bit object if we didn't find anything.
   15280 if test -z "$aix_libpath"; then
   15281   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   15282 fi
   15283 else
   15284   $as_echo "$as_me: failed program was:" >&5
   15285 sed 's/^/| /' conftest.$ac_ext >&5
   15286 
   15287 
   15288 fi
   15289 
   15290 rm -rf conftest.dSYM
   15291 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   15292       conftest$ac_exeext conftest.$ac_ext
   15293 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   15294 
   15295        hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
   15296 	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"
   15297        else
   15298 	if test "$host_cpu" = ia64; then
   15299 	  hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib'
   15300 	  allow_undefined_flag_F77="-z nodefs"
   15301 	  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"
   15302 	else
   15303 	 # Determine the default libpath from the value encoded in an empty executable.
   15304 	 cat >conftest.$ac_ext <<_ACEOF
   15305       program main
   15306 
   15307       end
   15308 _ACEOF
   15309 rm -f conftest.$ac_objext conftest$ac_exeext
   15310 if { (ac_try="$ac_link"
   15311 case "(($ac_try" in
   15312   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   15313   *) ac_try_echo=$ac_try;;
   15314 esac
   15315 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   15316 $as_echo "$ac_try_echo") >&5
   15317   (eval "$ac_link") 2>conftest.er1
   15318   ac_status=$?
   15319   grep -v '^ *+' conftest.er1 >conftest.err
   15320   rm -f conftest.er1
   15321   cat conftest.err >&5
   15322   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   15323   (exit $ac_status); } && {
   15324 	 test -z "$ac_f77_werror_flag" ||
   15325 	 test ! -s conftest.err
   15326        } && test -s conftest$ac_exeext && {
   15327 	 test "$cross_compiling" = yes ||
   15328 	 $as_test_x conftest$ac_exeext
   15329        }; then
   15330 
   15331 lt_aix_libpath_sed='
   15332     /Import File Strings/,/^$/ {
   15333 	/^0/ {
   15334 	    s/^0  *\(.*\)$/\1/
   15335 	    p
   15336 	}
   15337     }'
   15338 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   15339 # Check for a 64-bit object if we didn't find anything.
   15340 if test -z "$aix_libpath"; then
   15341   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   15342 fi
   15343 else
   15344   $as_echo "$as_me: failed program was:" >&5
   15345 sed 's/^/| /' conftest.$ac_ext >&5
   15346 
   15347 
   15348 fi
   15349 
   15350 rm -rf conftest.dSYM
   15351 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   15352       conftest$ac_exeext conftest.$ac_ext
   15353 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   15354 
   15355 	 hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
   15356 	  # Warning - without using the other run time loading flags,
   15357 	  # -berok will link without error, but may produce a broken library.
   15358 	  no_undefined_flag_F77=' ${wl}-bernotok'
   15359 	  allow_undefined_flag_F77=' ${wl}-berok'
   15360 	  # Exported symbols can be pulled into shared objects from archives
   15361 	  whole_archive_flag_spec_F77='$convenience'
   15362 	  archive_cmds_need_lc_F77=yes
   15363 	  # This is similar to how AIX traditionally builds its shared libraries.
   15364 	  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'
   15365 	fi
   15366       fi
   15367       ;;
   15368 
   15369     amigaos*)
   15370       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)'
   15371       hardcode_libdir_flag_spec_F77='-L$libdir'
   15372       hardcode_minus_L_F77=yes
   15373       # see comment about different semantics on the GNU ld section
   15374       ld_shlibs_F77=no
   15375       ;;
   15376 
   15377     bsdi[45]*)
   15378       export_dynamic_flag_spec_F77=-rdynamic
   15379       ;;
   15380 
   15381     cygwin* | mingw* | pw32*)
   15382       # When not using gcc, we currently assume that we are using
   15383       # Microsoft Visual C++.
   15384       # hardcode_libdir_flag_spec is actually meaningless, as there is
   15385       # no search path for DLLs.
   15386       hardcode_libdir_flag_spec_F77=' '
   15387       allow_undefined_flag_F77=unsupported
   15388       # Tell ltmain to make .lib files, not .a files.
   15389       libext=lib
   15390       # Tell ltmain to make .dll files, not .so files.
   15391       shrext_cmds=".dll"
   15392       # FIXME: Setting linknames here is a bad hack.
   15393       archive_cmds_F77='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
   15394       # The linker will automatically build a .lib file if we build a DLL.
   15395       old_archive_From_new_cmds_F77='true'
   15396       # FIXME: Should let the user specify the lib program.
   15397       old_archive_cmds_F77='lib -OUT:$oldlib$oldobjs$old_deplibs'
   15398       fix_srcfile_path_F77='`cygpath -w "$srcfile"`'
   15399       enable_shared_with_static_runtimes_F77=yes
   15400       ;;
   15401 
   15402     darwin* | rhapsody*)
   15403       case $host_os in
   15404         rhapsody* | darwin1.[012])
   15405          allow_undefined_flag_F77='${wl}-undefined ${wl}suppress'
   15406          ;;
   15407        *) # Darwin 1.3 on
   15408          if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
   15409            allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   15410          else
   15411            case ${MACOSX_DEPLOYMENT_TARGET} in
   15412              10.[012])
   15413                allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   15414                ;;
   15415              10.*)
   15416                allow_undefined_flag_F77='${wl}-undefined ${wl}dynamic_lookup'
   15417                ;;
   15418            esac
   15419          fi
   15420          ;;
   15421       esac
   15422       archive_cmds_need_lc_F77=no
   15423       hardcode_direct_F77=no
   15424       hardcode_automatic_F77=yes
   15425       hardcode_shlibpath_var_F77=unsupported
   15426       whole_archive_flag_spec_F77=''
   15427       link_all_deplibs_F77=yes
   15428     if test "$GCC" = yes ; then
   15429     	output_verbose_link_cmd='echo'
   15430         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}"
   15431         module_cmds_F77="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
   15432         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}"
   15433         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}"
   15434     else
   15435       case $cc_basename in
   15436         xlc*)
   15437          output_verbose_link_cmd='echo'
   15438          archive_cmds_F77='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
   15439          module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
   15440           # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
   15441          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}'
   15442           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}'
   15443           ;;
   15444        *)
   15445          ld_shlibs_F77=no
   15446           ;;
   15447       esac
   15448     fi
   15449       ;;
   15450 
   15451     dgux*)
   15452       archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15453       hardcode_libdir_flag_spec_F77='-L$libdir'
   15454       hardcode_shlibpath_var_F77=no
   15455       ;;
   15456 
   15457     freebsd1*)
   15458       ld_shlibs_F77=no
   15459       ;;
   15460 
   15461     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   15462     # support.  Future versions do this automatically, but an explicit c++rt0.o
   15463     # does not break anything, and helps significantly (at the cost of a little
   15464     # extra space).
   15465     freebsd2.2*)
   15466       archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   15467       hardcode_libdir_flag_spec_F77='-R$libdir'
   15468       hardcode_direct_F77=yes
   15469       hardcode_shlibpath_var_F77=no
   15470       ;;
   15471 
   15472     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   15473     freebsd2*)
   15474       archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   15475       hardcode_direct_F77=yes
   15476       hardcode_minus_L_F77=yes
   15477       hardcode_shlibpath_var_F77=no
   15478       ;;
   15479 
   15480     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   15481     freebsd* | dragonfly*)
   15482       archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
   15483       hardcode_libdir_flag_spec_F77='-R$libdir'
   15484       hardcode_direct_F77=yes
   15485       hardcode_shlibpath_var_F77=no
   15486       ;;
   15487 
   15488     hpux9*)
   15489       if test "$GCC" = yes; then
   15490 	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'
   15491       else
   15492 	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'
   15493       fi
   15494       hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
   15495       hardcode_libdir_separator_F77=:
   15496       hardcode_direct_F77=yes
   15497 
   15498       # hardcode_minus_L: Not really in the search PATH,
   15499       # but as the default location of the library.
   15500       hardcode_minus_L_F77=yes
   15501       export_dynamic_flag_spec_F77='${wl}-E'
   15502       ;;
   15503 
   15504     hpux10*)
   15505       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   15506 	archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   15507       else
   15508 	archive_cmds_F77='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   15509       fi
   15510       if test "$with_gnu_ld" = no; then
   15511 	hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
   15512 	hardcode_libdir_separator_F77=:
   15513 
   15514 	hardcode_direct_F77=yes
   15515 	export_dynamic_flag_spec_F77='${wl}-E'
   15516 
   15517 	# hardcode_minus_L: Not really in the search PATH,
   15518 	# but as the default location of the library.
   15519 	hardcode_minus_L_F77=yes
   15520       fi
   15521       ;;
   15522 
   15523     hpux11*)
   15524       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   15525 	case $host_cpu in
   15526 	hppa*64*)
   15527 	  archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   15528 	  ;;
   15529 	ia64*)
   15530 	  archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   15531 	  ;;
   15532 	*)
   15533 	  archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   15534 	  ;;
   15535 	esac
   15536       else
   15537 	case $host_cpu in
   15538 	hppa*64*)
   15539 	  archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   15540 	  ;;
   15541 	ia64*)
   15542 	  archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   15543 	  ;;
   15544 	*)
   15545 	  archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   15546 	  ;;
   15547 	esac
   15548       fi
   15549       if test "$with_gnu_ld" = no; then
   15550 	hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
   15551 	hardcode_libdir_separator_F77=:
   15552 
   15553 	case $host_cpu in
   15554 	hppa*64*|ia64*)
   15555 	  hardcode_libdir_flag_spec_ld_F77='+b $libdir'
   15556 	  hardcode_direct_F77=no
   15557 	  hardcode_shlibpath_var_F77=no
   15558 	  ;;
   15559 	*)
   15560 	  hardcode_direct_F77=yes
   15561 	  export_dynamic_flag_spec_F77='${wl}-E'
   15562 
   15563 	  # hardcode_minus_L: Not really in the search PATH,
   15564 	  # but as the default location of the library.
   15565 	  hardcode_minus_L_F77=yes
   15566 	  ;;
   15567 	esac
   15568       fi
   15569       ;;
   15570 
   15571     irix5* | irix6* | nonstopux*)
   15572       if test "$GCC" = yes; then
   15573 	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'
   15574       else
   15575 	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'
   15576 	hardcode_libdir_flag_spec_ld_F77='-rpath $libdir'
   15577       fi
   15578       hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
   15579       hardcode_libdir_separator_F77=:
   15580       link_all_deplibs_F77=yes
   15581       ;;
   15582 
   15583     netbsd*)
   15584       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   15585 	archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   15586       else
   15587 	archive_cmds_F77='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   15588       fi
   15589       hardcode_libdir_flag_spec_F77='-R$libdir'
   15590       hardcode_direct_F77=yes
   15591       hardcode_shlibpath_var_F77=no
   15592       ;;
   15593 
   15594     newsos6)
   15595       archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15596       hardcode_direct_F77=yes
   15597       hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
   15598       hardcode_libdir_separator_F77=:
   15599       hardcode_shlibpath_var_F77=no
   15600       ;;
   15601 
   15602     openbsd*)
   15603       if test -f /usr/libexec/ld.so; then
   15604 	hardcode_direct_F77=yes
   15605 	hardcode_shlibpath_var_F77=no
   15606 	if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   15607 	  archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   15608 	  archive_expsym_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
   15609 	  hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
   15610 	  export_dynamic_flag_spec_F77='${wl}-E'
   15611 	else
   15612 	  case $host_os in
   15613 	   openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
   15614 	     archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   15615 	     hardcode_libdir_flag_spec_F77='-R$libdir'
   15616 	     ;;
   15617 	   *)
   15618 	     archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   15619 	     hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
   15620 	     ;;
   15621 	  esac
   15622         fi
   15623       else
   15624 	ld_shlibs_F77=no
   15625       fi
   15626       ;;
   15627 
   15628     os2*)
   15629       hardcode_libdir_flag_spec_F77='-L$libdir'
   15630       hardcode_minus_L_F77=yes
   15631       allow_undefined_flag_F77=unsupported
   15632       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'
   15633       old_archive_From_new_cmds_F77='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
   15634       ;;
   15635 
   15636     osf3*)
   15637       if test "$GCC" = yes; then
   15638 	allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
   15639 	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'
   15640       else
   15641 	allow_undefined_flag_F77=' -expect_unresolved \*'
   15642 	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'
   15643       fi
   15644       hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
   15645       hardcode_libdir_separator_F77=:
   15646       ;;
   15647 
   15648     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   15649       if test "$GCC" = yes; then
   15650 	allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
   15651 	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'
   15652 	hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
   15653       else
   15654 	allow_undefined_flag_F77=' -expect_unresolved \*'
   15655 	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'
   15656 	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~
   15657 	$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'
   15658 
   15659 	# Both c and cxx compiler support -rpath directly
   15660 	hardcode_libdir_flag_spec_F77='-rpath $libdir'
   15661       fi
   15662       hardcode_libdir_separator_F77=:
   15663       ;;
   15664 
   15665     solaris*)
   15666       no_undefined_flag_F77=' -z text'
   15667       if test "$GCC" = yes; then
   15668 	wlarc='${wl}'
   15669 	archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   15670 	archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   15671 	  $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
   15672       else
   15673 	wlarc=''
   15674 	archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15675 	archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   15676   	$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
   15677       fi
   15678       hardcode_libdir_flag_spec_F77='-R$libdir'
   15679       hardcode_shlibpath_var_F77=no
   15680       case $host_os in
   15681       solaris2.[0-5] | solaris2.[0-5].*) ;;
   15682       *)
   15683 	# The compiler driver will combine and reorder linker options,
   15684 	# but understands `-z linker_flag'.  GCC discards it without `$wl',
   15685 	# but is careful enough not to reorder.
   15686  	# Supported since Solaris 2.6 (maybe 2.5.1?)
   15687 	if test "$GCC" = yes; then
   15688 	  whole_archive_flag_spec_F77='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
   15689 	else
   15690 	  whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract'
   15691 	fi
   15692 	;;
   15693       esac
   15694       link_all_deplibs_F77=yes
   15695       ;;
   15696 
   15697     sunos4*)
   15698       if test "x$host_vendor" = xsequent; then
   15699 	# Use $CC to link under sequent, because it throws in some extra .o
   15700 	# files that make .init and .fini sections work.
   15701 	archive_cmds_F77='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   15702       else
   15703 	archive_cmds_F77='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   15704       fi
   15705       hardcode_libdir_flag_spec_F77='-L$libdir'
   15706       hardcode_direct_F77=yes
   15707       hardcode_minus_L_F77=yes
   15708       hardcode_shlibpath_var_F77=no
   15709       ;;
   15710 
   15711     sysv4)
   15712       case $host_vendor in
   15713 	sni)
   15714 	  archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15715 	  hardcode_direct_F77=yes # is this really true???
   15716 	;;
   15717 	siemens)
   15718 	  ## LD is ld it makes a PLAMLIB
   15719 	  ## CC just makes a GrossModule.
   15720 	  archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   15721 	  reload_cmds_F77='$CC -r -o $output$reload_objs'
   15722 	  hardcode_direct_F77=no
   15723         ;;
   15724 	motorola)
   15725 	  archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15726 	  hardcode_direct_F77=no #Motorola manual says yes, but my tests say they lie
   15727 	;;
   15728       esac
   15729       runpath_var='LD_RUN_PATH'
   15730       hardcode_shlibpath_var_F77=no
   15731       ;;
   15732 
   15733     sysv4.3*)
   15734       archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15735       hardcode_shlibpath_var_F77=no
   15736       export_dynamic_flag_spec_F77='-Bexport'
   15737       ;;
   15738 
   15739     sysv4*MP*)
   15740       if test -d /usr/nec; then
   15741 	archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15742 	hardcode_shlibpath_var_F77=no
   15743 	runpath_var=LD_RUN_PATH
   15744 	hardcode_runpath_var=yes
   15745 	ld_shlibs_F77=yes
   15746       fi
   15747       ;;
   15748 
   15749     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   15750       no_undefined_flag_F77='${wl}-z,text'
   15751       archive_cmds_need_lc_F77=no
   15752       hardcode_shlibpath_var_F77=no
   15753       runpath_var='LD_RUN_PATH'
   15754 
   15755       if test "$GCC" = yes; then
   15756 	archive_cmds_F77='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   15757 	archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   15758       else
   15759 	archive_cmds_F77='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   15760 	archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   15761       fi
   15762       ;;
   15763 
   15764     sysv5* | sco3.2v5* | sco5v6*)
   15765       # Note: We can NOT use -z defs as we might desire, because we do not
   15766       # link with -lc, and that would cause any symbols used from libc to
   15767       # always be unresolved, which means just about no library would
   15768       # ever link correctly.  If we're not using GNU ld we use -z text
   15769       # though, which does catch some bad symbols but isn't as heavy-handed
   15770       # as -z defs.
   15771       no_undefined_flag_F77='${wl}-z,text'
   15772       allow_undefined_flag_F77='${wl}-z,nodefs'
   15773       archive_cmds_need_lc_F77=no
   15774       hardcode_shlibpath_var_F77=no
   15775       hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
   15776       hardcode_libdir_separator_F77=':'
   15777       link_all_deplibs_F77=yes
   15778       export_dynamic_flag_spec_F77='${wl}-Bexport'
   15779       runpath_var='LD_RUN_PATH'
   15780 
   15781       if test "$GCC" = yes; then
   15782 	archive_cmds_F77='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   15783 	archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   15784       else
   15785 	archive_cmds_F77='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   15786 	archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   15787       fi
   15788       ;;
   15789 
   15790     uts4*)
   15791       archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15792       hardcode_libdir_flag_spec_F77='-L$libdir'
   15793       hardcode_shlibpath_var_F77=no
   15794       ;;
   15795 
   15796     *)
   15797       ld_shlibs_F77=no
   15798       ;;
   15799     esac
   15800   fi
   15801 
   15802 { $as_echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
   15803 $as_echo "$ld_shlibs_F77" >&6; }
   15804 test "$ld_shlibs_F77" = no && can_build_shared=no
   15805 
   15806 #
   15807 # Do we need to explicitly link libc?
   15808 #
   15809 case "x$archive_cmds_need_lc_F77" in
   15810 x|xyes)
   15811   # Assume -lc should be added
   15812   archive_cmds_need_lc_F77=yes
   15813 
   15814   if test "$enable_shared" = yes && test "$GCC" = yes; then
   15815     case $archive_cmds_F77 in
   15816     *'~'*)
   15817       # FIXME: we may have to deal with multi-command sequences.
   15818       ;;
   15819     '$CC '*)
   15820       # Test whether the compiler implicitly links with -lc since on some
   15821       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   15822       # to ld, don't add -lc before -lgcc.
   15823       { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
   15824 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
   15825       $rm conftest*
   15826       echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   15827 
   15828       if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   15829   (eval $ac_compile) 2>&5
   15830   ac_status=$?
   15831   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   15832   (exit $ac_status); } 2>conftest.err; then
   15833         soname=conftest
   15834         lib=conftest
   15835         libobjs=conftest.$ac_objext
   15836         deplibs=
   15837         wl=$lt_prog_compiler_wl_F77
   15838 	pic_flag=$lt_prog_compiler_pic_F77
   15839         compiler_flags=-v
   15840         linker_flags=-v
   15841         verstring=
   15842         output_objdir=.
   15843         libname=conftest
   15844         lt_save_allow_undefined_flag=$allow_undefined_flag_F77
   15845         allow_undefined_flag_F77=
   15846         if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
   15847   (eval $archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
   15848   ac_status=$?
   15849   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   15850   (exit $ac_status); }
   15851         then
   15852 	  archive_cmds_need_lc_F77=no
   15853         else
   15854 	  archive_cmds_need_lc_F77=yes
   15855         fi
   15856         allow_undefined_flag_F77=$lt_save_allow_undefined_flag
   15857       else
   15858         cat conftest.err 1>&5
   15859       fi
   15860       $rm conftest*
   15861       { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
   15862 $as_echo "$archive_cmds_need_lc_F77" >&6; }
   15863       ;;
   15864     esac
   15865   fi
   15866   ;;
   15867 esac
   15868 
   15869 { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
   15870 $as_echo_n "checking dynamic linker characteristics... " >&6; }
   15871 library_names_spec=
   15872 libname_spec='lib$name'
   15873 soname_spec=
   15874 shrext_cmds=".so"
   15875 postinstall_cmds=
   15876 postuninstall_cmds=
   15877 finish_cmds=
   15878 finish_eval=
   15879 shlibpath_var=
   15880 shlibpath_overrides_runpath=unknown
   15881 version_type=none
   15882 dynamic_linker="$host_os ld.so"
   15883 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   15884 
   15885 need_lib_prefix=unknown
   15886 hardcode_into_libs=no
   15887 
   15888 # when you set need_version to no, make sure it does not cause -set_version
   15889 # flags to be left without arguments
   15890 need_version=unknown
   15891 
   15892 case $host_os in
   15893 aix3*)
   15894   version_type=linux
   15895   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   15896   shlibpath_var=LIBPATH
   15897 
   15898   # AIX 3 has no versioning support, so we append a major version to the name.
   15899   soname_spec='${libname}${release}${shared_ext}$major'
   15900   ;;
   15901 
   15902 aix[4-9]*)
   15903   version_type=linux
   15904   need_lib_prefix=no
   15905   need_version=no
   15906   hardcode_into_libs=yes
   15907   if test "$host_cpu" = ia64; then
   15908     # AIX 5 supports IA64
   15909     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
   15910     shlibpath_var=LD_LIBRARY_PATH
   15911   else
   15912     # With GCC up to 2.95.x, collect2 would create an import file
   15913     # for dependence libraries.  The import file would start with
   15914     # the line `#! .'.  This would cause the generated library to
   15915     # depend on `.', always an invalid library.  This was fixed in
   15916     # development snapshots of GCC prior to 3.0.
   15917     case $host_os in
   15918       aix4 | aix4.[01] | aix4.[01].*)
   15919       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   15920 	   echo ' yes '
   15921 	   echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
   15922 	:
   15923       else
   15924 	can_build_shared=no
   15925       fi
   15926       ;;
   15927     esac
   15928     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
   15929     # soname into executable. Probably we can add versioning support to
   15930     # collect2, so additional links can be useful in future.
   15931     if test "$aix_use_runtimelinking" = yes; then
   15932       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   15933       # instead of lib<name>.a to let people know that these are not
   15934       # typical AIX shared libraries.
   15935       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15936     else
   15937       # We preserve .a as extension for shared libraries through AIX4.2
   15938       # and later when we are not doing run time linking.
   15939       library_names_spec='${libname}${release}.a $libname.a'
   15940       soname_spec='${libname}${release}${shared_ext}$major'
   15941     fi
   15942     shlibpath_var=LIBPATH
   15943   fi
   15944   ;;
   15945 
   15946 amigaos*)
   15947   library_names_spec='$libname.ixlibrary $libname.a'
   15948   # Create ${libname}_ixlibrary.a entries in /sys/libs.
   15949   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'
   15950   ;;
   15951 
   15952 beos*)
   15953   library_names_spec='${libname}${shared_ext}'
   15954   dynamic_linker="$host_os ld.so"
   15955   shlibpath_var=LIBRARY_PATH
   15956   ;;
   15957 
   15958 bsdi[45]*)
   15959   version_type=linux
   15960   need_version=no
   15961   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15962   soname_spec='${libname}${release}${shared_ext}$major'
   15963   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   15964   shlibpath_var=LD_LIBRARY_PATH
   15965   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   15966   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   15967   # the default ld.so.conf also contains /usr/contrib/lib and
   15968   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   15969   # libtool to hard-code these into programs
   15970   ;;
   15971 
   15972 cygwin* | mingw* | pw32*)
   15973   version_type=windows
   15974   shrext_cmds=".dll"
   15975   need_version=no
   15976   need_lib_prefix=no
   15977 
   15978   case $GCC,$host_os in
   15979   yes,cygwin* | yes,mingw* | yes,pw32*)
   15980     library_names_spec='$libname.dll.a'
   15981     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   15982     postinstall_cmds='base_file=`basename \${file}`~
   15983       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
   15984       dldir=$destdir/`dirname \$dlpath`~
   15985       test -d \$dldir || mkdir -p \$dldir~
   15986       $install_prog $dir/$dlname \$dldir/$dlname~
   15987       chmod a+x \$dldir/$dlname'
   15988     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   15989       dlpath=$dir/\$dldll~
   15990        $rm \$dlpath'
   15991     shlibpath_overrides_runpath=yes
   15992 
   15993     case $host_os in
   15994     cygwin*)
   15995       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   15996       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   15997       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
   15998       ;;
   15999     mingw*)
   16000       # MinGW DLLs use traditional 'lib' prefix
   16001       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   16002       sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   16003       if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
   16004         # It is most probably a Windows format PATH printed by
   16005         # mingw gcc, but we are running on Cygwin. Gcc prints its search
   16006         # path with ; separators, and with drive letters. We can handle the
   16007         # drive letters (cygwin fileutils understands them), so leave them,
   16008         # especially as we might pass files found there to a mingw objdump,
   16009         # which wouldn't understand a cygwinified path. Ahh.
   16010         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   16011       else
   16012         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   16013       fi
   16014       ;;
   16015     pw32*)
   16016       # pw32 DLLs use 'pw' prefix rather than 'lib'
   16017       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   16018       ;;
   16019     esac
   16020     ;;
   16021 
   16022   *)
   16023     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
   16024     ;;
   16025   esac
   16026   dynamic_linker='Win32 ld.exe'
   16027   # FIXME: first we should search . and the directory the executable is in
   16028   shlibpath_var=PATH
   16029   ;;
   16030 
   16031 darwin* | rhapsody*)
   16032   dynamic_linker="$host_os dyld"
   16033   version_type=darwin
   16034   need_lib_prefix=no
   16035   need_version=no
   16036   library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
   16037   soname_spec='${libname}${release}${major}$shared_ext'
   16038   shlibpath_overrides_runpath=yes
   16039   shlibpath_var=DYLD_LIBRARY_PATH
   16040   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   16041 
   16042   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   16043   ;;
   16044 
   16045 dgux*)
   16046   version_type=linux
   16047   need_lib_prefix=no
   16048   need_version=no
   16049   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
   16050   soname_spec='${libname}${release}${shared_ext}$major'
   16051   shlibpath_var=LD_LIBRARY_PATH
   16052   ;;
   16053 
   16054 freebsd1*)
   16055   dynamic_linker=no
   16056   ;;
   16057 
   16058 freebsd* | dragonfly*)
   16059   # DragonFly does not have aout.  When/if they implement a new
   16060   # versioning mechanism, adjust this.
   16061   if test -x /usr/bin/objformat; then
   16062     objformat=`/usr/bin/objformat`
   16063   else
   16064     case $host_os in
   16065     freebsd[123]*) objformat=aout ;;
   16066     *) objformat=elf ;;
   16067     esac
   16068   fi
   16069   version_type=freebsd-$objformat
   16070   case $version_type in
   16071     freebsd-elf*)
   16072       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   16073       need_version=no
   16074       need_lib_prefix=no
   16075       ;;
   16076     freebsd-*)
   16077       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
   16078       need_version=yes
   16079       ;;
   16080   esac
   16081   shlibpath_var=LD_LIBRARY_PATH
   16082   case $host_os in
   16083   freebsd2*)
   16084     shlibpath_overrides_runpath=yes
   16085     ;;
   16086   freebsd3.[01]* | freebsdelf3.[01]*)
   16087     shlibpath_overrides_runpath=yes
   16088     hardcode_into_libs=yes
   16089     ;;
   16090   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   16091   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   16092     shlibpath_overrides_runpath=no
   16093     hardcode_into_libs=yes
   16094     ;;
   16095   *) # from 4.6 on, and DragonFly
   16096     shlibpath_overrides_runpath=yes
   16097     hardcode_into_libs=yes
   16098     ;;
   16099   esac
   16100   ;;
   16101 
   16102 gnu*)
   16103   version_type=linux
   16104   need_lib_prefix=no
   16105   need_version=no
   16106   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   16107   soname_spec='${libname}${release}${shared_ext}$major'
   16108   shlibpath_var=LD_LIBRARY_PATH
   16109   hardcode_into_libs=yes
   16110   ;;
   16111 
   16112 hpux9* | hpux10* | hpux11*)
   16113   # Give a soname corresponding to the major version so that dld.sl refuses to
   16114   # link against other versions.
   16115   version_type=sunos
   16116   need_lib_prefix=no
   16117   need_version=no
   16118   case $host_cpu in
   16119   ia64*)
   16120     shrext_cmds='.so'
   16121     hardcode_into_libs=yes
   16122     dynamic_linker="$host_os dld.so"
   16123     shlibpath_var=LD_LIBRARY_PATH
   16124     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   16125     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16126     soname_spec='${libname}${release}${shared_ext}$major'
   16127     if test "X$HPUX_IA64_MODE" = X32; then
   16128       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   16129     else
   16130       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   16131     fi
   16132     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   16133     ;;
   16134    hppa*64*)
   16135      shrext_cmds='.sl'
   16136      hardcode_into_libs=yes
   16137      dynamic_linker="$host_os dld.sl"
   16138      shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   16139      shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   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      sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   16143      sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   16144      ;;
   16145    *)
   16146     shrext_cmds='.sl'
   16147     dynamic_linker="$host_os dld.sl"
   16148     shlibpath_var=SHLIB_PATH
   16149     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   16150     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16151     soname_spec='${libname}${release}${shared_ext}$major'
   16152     ;;
   16153   esac
   16154   # HP-UX runs *really* slowly unless shared libraries are mode 555.
   16155   postinstall_cmds='chmod 555 $lib'
   16156   ;;
   16157 
   16158 interix[3-9]*)
   16159   version_type=linux
   16160   need_lib_prefix=no
   16161   need_version=no
   16162   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   16163   soname_spec='${libname}${release}${shared_ext}$major'
   16164   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   16165   shlibpath_var=LD_LIBRARY_PATH
   16166   shlibpath_overrides_runpath=no
   16167   hardcode_into_libs=yes
   16168   ;;
   16169 
   16170 irix5* | irix6* | nonstopux*)
   16171   case $host_os in
   16172     nonstopux*) version_type=nonstopux ;;
   16173     *)
   16174 	if test "$lt_cv_prog_gnu_ld" = yes; then
   16175 		version_type=linux
   16176 	else
   16177 		version_type=irix
   16178 	fi ;;
   16179   esac
   16180   need_lib_prefix=no
   16181   need_version=no
   16182   soname_spec='${libname}${release}${shared_ext}$major'
   16183   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
   16184   case $host_os in
   16185   irix5* | nonstopux*)
   16186     libsuff= shlibsuff=
   16187     ;;
   16188   *)
   16189     case $LD in # libtool.m4 will add one of these switches to LD
   16190     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   16191       libsuff= shlibsuff= libmagic=32-bit;;
   16192     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   16193       libsuff=32 shlibsuff=N32 libmagic=N32;;
   16194     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   16195       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   16196     *) libsuff= shlibsuff= libmagic=never-match;;
   16197     esac
   16198     ;;
   16199   esac
   16200   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   16201   shlibpath_overrides_runpath=no
   16202   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   16203   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   16204   hardcode_into_libs=yes
   16205   ;;
   16206 
   16207 # No shared lib support for Linux oldld, aout, or coff.
   16208 linux*oldld* | linux*aout* | linux*coff*)
   16209   dynamic_linker=no
   16210   ;;
   16211 
   16212 # This must be Linux ELF.
   16213 linux* | k*bsd*-gnu)
   16214   version_type=linux
   16215   need_lib_prefix=no
   16216   need_version=no
   16217   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16218   soname_spec='${libname}${release}${shared_ext}$major'
   16219   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   16220   shlibpath_var=LD_LIBRARY_PATH
   16221   shlibpath_overrides_runpath=no
   16222   # This implies no fast_install, which is unacceptable.
   16223   # Some rework will be needed to allow for fast_install
   16224   # before this can be enabled.
   16225   hardcode_into_libs=yes
   16226 
   16227   # Append ld.so.conf contents to the search path
   16228   if test -f /etc/ld.so.conf; then
   16229     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' ' '`
   16230     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   16231   fi
   16232 
   16233   # We used to test for /lib/ld.so.1 and disable shared libraries on
   16234   # powerpc, because MkLinux only supported shared libraries with the
   16235   # GNU dynamic linker.  Since this was broken with cross compilers,
   16236   # most powerpc-linux boxes support dynamic linking these days and
   16237   # people can always --disable-shared, the test was removed, and we
   16238   # assume the GNU/Linux dynamic linker is in use.
   16239   dynamic_linker='GNU/Linux ld.so'
   16240   ;;
   16241 
   16242 netbsd*)
   16243   version_type=sunos
   16244   need_lib_prefix=no
   16245   need_version=no
   16246   if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   16247     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   16248     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   16249     dynamic_linker='NetBSD (a.out) ld.so'
   16250   else
   16251     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   16252     soname_spec='${libname}${release}${shared_ext}$major'
   16253     dynamic_linker='NetBSD ld.elf_so'
   16254   fi
   16255   shlibpath_var=LD_LIBRARY_PATH
   16256   shlibpath_overrides_runpath=yes
   16257   hardcode_into_libs=yes
   16258   ;;
   16259 
   16260 newsos6)
   16261   version_type=linux
   16262   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16263   shlibpath_var=LD_LIBRARY_PATH
   16264   shlibpath_overrides_runpath=yes
   16265   ;;
   16266 
   16267 nto-qnx*)
   16268   version_type=linux
   16269   need_lib_prefix=no
   16270   need_version=no
   16271   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16272   soname_spec='${libname}${release}${shared_ext}$major'
   16273   shlibpath_var=LD_LIBRARY_PATH
   16274   shlibpath_overrides_runpath=yes
   16275   ;;
   16276 
   16277 openbsd*)
   16278   version_type=sunos
   16279   sys_lib_dlsearch_path_spec="/usr/lib"
   16280   need_lib_prefix=no
   16281   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
   16282   case $host_os in
   16283     openbsd3.3 | openbsd3.3.*) need_version=yes ;;
   16284     *)                         need_version=no  ;;
   16285   esac
   16286   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   16287   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   16288   shlibpath_var=LD_LIBRARY_PATH
   16289   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   16290     case $host_os in
   16291       openbsd2.[89] | openbsd2.[89].*)
   16292 	shlibpath_overrides_runpath=no
   16293 	;;
   16294       *)
   16295 	shlibpath_overrides_runpath=yes
   16296 	;;
   16297       esac
   16298   else
   16299     shlibpath_overrides_runpath=yes
   16300   fi
   16301   ;;
   16302 
   16303 os2*)
   16304   libname_spec='$name'
   16305   shrext_cmds=".dll"
   16306   need_lib_prefix=no
   16307   library_names_spec='$libname${shared_ext} $libname.a'
   16308   dynamic_linker='OS/2 ld.exe'
   16309   shlibpath_var=LIBPATH
   16310   ;;
   16311 
   16312 osf3* | osf4* | osf5*)
   16313   version_type=osf
   16314   need_lib_prefix=no
   16315   need_version=no
   16316   soname_spec='${libname}${release}${shared_ext}$major'
   16317   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16318   shlibpath_var=LD_LIBRARY_PATH
   16319   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   16320   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   16321   ;;
   16322 
   16323 rdos*)
   16324   dynamic_linker=no
   16325   ;;
   16326 
   16327 solaris*)
   16328   version_type=linux
   16329   need_lib_prefix=no
   16330   need_version=no
   16331   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16332   soname_spec='${libname}${release}${shared_ext}$major'
   16333   shlibpath_var=LD_LIBRARY_PATH
   16334   shlibpath_overrides_runpath=yes
   16335   hardcode_into_libs=yes
   16336   # ldd complains unless libraries are executable
   16337   postinstall_cmds='chmod +x $lib'
   16338   ;;
   16339 
   16340 sunos4*)
   16341   version_type=sunos
   16342   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   16343   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   16344   shlibpath_var=LD_LIBRARY_PATH
   16345   shlibpath_overrides_runpath=yes
   16346   if test "$with_gnu_ld" = yes; then
   16347     need_lib_prefix=no
   16348   fi
   16349   need_version=yes
   16350   ;;
   16351 
   16352 sysv4 | sysv4.3*)
   16353   version_type=linux
   16354   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16355   soname_spec='${libname}${release}${shared_ext}$major'
   16356   shlibpath_var=LD_LIBRARY_PATH
   16357   case $host_vendor in
   16358     sni)
   16359       shlibpath_overrides_runpath=no
   16360       need_lib_prefix=no
   16361       export_dynamic_flag_spec='${wl}-Blargedynsym'
   16362       runpath_var=LD_RUN_PATH
   16363       ;;
   16364     siemens)
   16365       need_lib_prefix=no
   16366       ;;
   16367     motorola)
   16368       need_lib_prefix=no
   16369       need_version=no
   16370       shlibpath_overrides_runpath=no
   16371       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   16372       ;;
   16373   esac
   16374   ;;
   16375 
   16376 sysv4*MP*)
   16377   if test -d /usr/nec ;then
   16378     version_type=linux
   16379     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
   16380     soname_spec='$libname${shared_ext}.$major'
   16381     shlibpath_var=LD_LIBRARY_PATH
   16382   fi
   16383   ;;
   16384 
   16385 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   16386   version_type=freebsd-elf
   16387   need_lib_prefix=no
   16388   need_version=no
   16389   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   16390   soname_spec='${libname}${release}${shared_ext}$major'
   16391   shlibpath_var=LD_LIBRARY_PATH
   16392   hardcode_into_libs=yes
   16393   if test "$with_gnu_ld" = yes; then
   16394     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   16395     shlibpath_overrides_runpath=no
   16396   else
   16397     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   16398     shlibpath_overrides_runpath=yes
   16399     case $host_os in
   16400       sco3.2v5*)
   16401         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   16402 	;;
   16403     esac
   16404   fi
   16405   sys_lib_dlsearch_path_spec='/usr/lib'
   16406   ;;
   16407 
   16408 uts4*)
   16409   version_type=linux
   16410   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16411   soname_spec='${libname}${release}${shared_ext}$major'
   16412   shlibpath_var=LD_LIBRARY_PATH
   16413   ;;
   16414 
   16415 *)
   16416   dynamic_linker=no
   16417   ;;
   16418 esac
   16419 { $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
   16420 $as_echo "$dynamic_linker" >&6; }
   16421 test "$dynamic_linker" = no && can_build_shared=no
   16422 
   16423 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
   16424   $as_echo_n "(cached) " >&6
   16425 else
   16426   lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
   16427 fi
   16428 
   16429 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
   16430 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
   16431   $as_echo_n "(cached) " >&6
   16432 else
   16433   lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
   16434 fi
   16435 
   16436 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
   16437 
   16438 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   16439 if test "$GCC" = yes; then
   16440   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   16441 fi
   16442 
   16443 { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
   16444 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
   16445 hardcode_action_F77=
   16446 if test -n "$hardcode_libdir_flag_spec_F77" || \
   16447    test -n "$runpath_var_F77" || \
   16448    test "X$hardcode_automatic_F77" = "Xyes" ; then
   16449 
   16450   # We can hardcode non-existant directories.
   16451   if test "$hardcode_direct_F77" != no &&
   16452      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   16453      # have to relink, otherwise we might link with an installed library
   16454      # when we should be linking with a yet-to-be-installed one
   16455      ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
   16456      test "$hardcode_minus_L_F77" != no; then
   16457     # Linking always hardcodes the temporary library directory.
   16458     hardcode_action_F77=relink
   16459   else
   16460     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   16461     hardcode_action_F77=immediate
   16462   fi
   16463 else
   16464   # We cannot hardcode anything, or else we can only hardcode existing
   16465   # directories.
   16466   hardcode_action_F77=unsupported
   16467 fi
   16468 { $as_echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
   16469 $as_echo "$hardcode_action_F77" >&6; }
   16470 
   16471 if test "$hardcode_action_F77" = relink; then
   16472   # Fast installation is not supported
   16473   enable_fast_install=no
   16474 elif test "$shlibpath_overrides_runpath" = yes ||
   16475      test "$enable_shared" = no; then
   16476   # Fast installation is not necessary
   16477   enable_fast_install=needless
   16478 fi
   16479 
   16480 
   16481 # The else clause should only fire when bootstrapping the
   16482 # libtool distribution, otherwise you forgot to ship ltmain.sh
   16483 # with your package, and you will get complaints that there are
   16484 # no rules to generate ltmain.sh.
   16485 if test -f "$ltmain"; then
   16486   # See if we are running on zsh, and set the options which allow our commands through
   16487   # without removal of \ escapes.
   16488   if test -n "${ZSH_VERSION+set}" ; then
   16489     setopt NO_GLOB_SUBST
   16490   fi
   16491   # Now quote all the things that may contain metacharacters while being
   16492   # careful not to overquote the AC_SUBSTed values.  We take copies of the
   16493   # variables and quote the copies for generation of the libtool script.
   16494   for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
   16495     SED SHELL STRIP \
   16496     libname_spec library_names_spec soname_spec extract_expsyms_cmds \
   16497     old_striplib striplib file_magic_cmd finish_cmds finish_eval \
   16498     deplibs_check_method reload_flag reload_cmds need_locks \
   16499     lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
   16500     lt_cv_sys_global_symbol_to_c_name_address \
   16501     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
   16502     old_postinstall_cmds old_postuninstall_cmds \
   16503     compiler_F77 \
   16504     CC_F77 \
   16505     LD_F77 \
   16506     lt_prog_compiler_wl_F77 \
   16507     lt_prog_compiler_pic_F77 \
   16508     lt_prog_compiler_static_F77 \
   16509     lt_prog_compiler_no_builtin_flag_F77 \
   16510     export_dynamic_flag_spec_F77 \
   16511     thread_safe_flag_spec_F77 \
   16512     whole_archive_flag_spec_F77 \
   16513     enable_shared_with_static_runtimes_F77 \
   16514     old_archive_cmds_F77 \
   16515     old_archive_from_new_cmds_F77 \
   16516     predep_objects_F77 \
   16517     postdep_objects_F77 \
   16518     predeps_F77 \
   16519     postdeps_F77 \
   16520     compiler_lib_search_path_F77 \
   16521     compiler_lib_search_dirs_F77 \
   16522     archive_cmds_F77 \
   16523     archive_expsym_cmds_F77 \
   16524     postinstall_cmds_F77 \
   16525     postuninstall_cmds_F77 \
   16526     old_archive_from_expsyms_cmds_F77 \
   16527     allow_undefined_flag_F77 \
   16528     no_undefined_flag_F77 \
   16529     export_symbols_cmds_F77 \
   16530     hardcode_libdir_flag_spec_F77 \
   16531     hardcode_libdir_flag_spec_ld_F77 \
   16532     hardcode_libdir_separator_F77 \
   16533     hardcode_automatic_F77 \
   16534     module_cmds_F77 \
   16535     module_expsym_cmds_F77 \
   16536     lt_cv_prog_compiler_c_o_F77 \
   16537     fix_srcfile_path_F77 \
   16538     exclude_expsyms_F77 \
   16539     include_expsyms_F77; do
   16540 
   16541     case $var in
   16542     old_archive_cmds_F77 | \
   16543     old_archive_from_new_cmds_F77 | \
   16544     archive_cmds_F77 | \
   16545     archive_expsym_cmds_F77 | \
   16546     module_cmds_F77 | \
   16547     module_expsym_cmds_F77 | \
   16548     old_archive_from_expsyms_cmds_F77 | \
   16549     export_symbols_cmds_F77 | \
   16550     extract_expsyms_cmds | reload_cmds | finish_cmds | \
   16551     postinstall_cmds | postuninstall_cmds | \
   16552     old_postinstall_cmds | old_postuninstall_cmds | \
   16553     sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
   16554       # Double-quote double-evaled strings.
   16555       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
   16556       ;;
   16557     *)
   16558       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
   16559       ;;
   16560     esac
   16561   done
   16562 
   16563   case $lt_echo in
   16564   *'\$0 --fallback-echo"')
   16565     lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
   16566     ;;
   16567   esac
   16568 
   16569 cfgfile="$ofile"
   16570 
   16571   cat <<__EOF__ >> "$cfgfile"
   16572 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
   16573 
   16574 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   16575 
   16576 # Shell to use when invoking shell scripts.
   16577 SHELL=$lt_SHELL
   16578 
   16579 # Whether or not to build shared libraries.
   16580 build_libtool_libs=$enable_shared
   16581 
   16582 # Whether or not to build static libraries.
   16583 build_old_libs=$enable_static
   16584 
   16585 # Whether or not to add -lc for building shared libraries.
   16586 build_libtool_need_lc=$archive_cmds_need_lc_F77
   16587 
   16588 # Whether or not to disallow shared libs when runtime libs are static
   16589 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
   16590 
   16591 # Whether or not to optimize for fast installation.
   16592 fast_install=$enable_fast_install
   16593 
   16594 # The host system.
   16595 host_alias=$host_alias
   16596 host=$host
   16597 host_os=$host_os
   16598 
   16599 # The build system.
   16600 build_alias=$build_alias
   16601 build=$build
   16602 build_os=$build_os
   16603 
   16604 # An echo program that does not interpret backslashes.
   16605 echo=$lt_echo
   16606 
   16607 # The archiver.
   16608 AR=$lt_AR
   16609 AR_FLAGS=$lt_AR_FLAGS
   16610 
   16611 # A C compiler.
   16612 LTCC=$lt_LTCC
   16613 
   16614 # LTCC compiler flags.
   16615 LTCFLAGS=$lt_LTCFLAGS
   16616 
   16617 # A language-specific compiler.
   16618 CC=$lt_compiler_F77
   16619 
   16620 # Is the compiler the GNU C compiler?
   16621 with_gcc=$GCC_F77
   16622 
   16623 # An ERE matcher.
   16624 EGREP=$lt_EGREP
   16625 
   16626 # The linker used to build libraries.
   16627 LD=$lt_LD_F77
   16628 
   16629 # Whether we need hard or soft links.
   16630 LN_S=$lt_LN_S
   16631 
   16632 # A BSD-compatible nm program.
   16633 NM=$lt_NM
   16634 
   16635 # A symbol stripping program
   16636 STRIP=$lt_STRIP
   16637 
   16638 # Used to examine libraries when file_magic_cmd begins "file"
   16639 MAGIC_CMD=$MAGIC_CMD
   16640 
   16641 # Used on cygwin: DLL creation program.
   16642 DLLTOOL="$DLLTOOL"
   16643 
   16644 # Used on cygwin: object dumper.
   16645 OBJDUMP="$OBJDUMP"
   16646 
   16647 # Used on cygwin: assembler.
   16648 AS="$AS"
   16649 
   16650 # The name of the directory that contains temporary libtool files.
   16651 objdir=$objdir
   16652 
   16653 # How to create reloadable object files.
   16654 reload_flag=$lt_reload_flag
   16655 reload_cmds=$lt_reload_cmds
   16656 
   16657 # How to pass a linker flag through the compiler.
   16658 wl=$lt_lt_prog_compiler_wl_F77
   16659 
   16660 # Object file suffix (normally "o").
   16661 objext="$ac_objext"
   16662 
   16663 # Old archive suffix (normally "a").
   16664 libext="$libext"
   16665 
   16666 # Shared library suffix (normally ".so").
   16667 shrext_cmds='$shrext_cmds'
   16668 
   16669 # Executable file suffix (normally "").
   16670 exeext="$exeext"
   16671 
   16672 # Additional compiler flags for building library objects.
   16673 pic_flag=$lt_lt_prog_compiler_pic_F77
   16674 pic_mode=$pic_mode
   16675 
   16676 # What is the maximum length of a command?
   16677 max_cmd_len=$lt_cv_sys_max_cmd_len
   16678 
   16679 # Does compiler simultaneously support -c and -o options?
   16680 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
   16681 
   16682 # Must we lock files when doing compilation?
   16683 need_locks=$lt_need_locks
   16684 
   16685 # Do we need the lib prefix for modules?
   16686 need_lib_prefix=$need_lib_prefix
   16687 
   16688 # Do we need a version for libraries?
   16689 need_version=$need_version
   16690 
   16691 # Whether dlopen is supported.
   16692 dlopen_support=$enable_dlopen
   16693 
   16694 # Whether dlopen of programs is supported.
   16695 dlopen_self=$enable_dlopen_self
   16696 
   16697 # Whether dlopen of statically linked programs is supported.
   16698 dlopen_self_static=$enable_dlopen_self_static
   16699 
   16700 # Compiler flag to prevent dynamic linking.
   16701 link_static_flag=$lt_lt_prog_compiler_static_F77
   16702 
   16703 # Compiler flag to turn off builtin functions.
   16704 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
   16705 
   16706 # Compiler flag to allow reflexive dlopens.
   16707 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
   16708 
   16709 # Compiler flag to generate shared objects directly from archives.
   16710 whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
   16711 
   16712 # Compiler flag to generate thread-safe objects.
   16713 thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
   16714 
   16715 # Library versioning type.
   16716 version_type=$version_type
   16717 
   16718 # Format of library name prefix.
   16719 libname_spec=$lt_libname_spec
   16720 
   16721 # List of archive names.  First name is the real one, the rest are links.
   16722 # The last name is the one that the linker finds with -lNAME.
   16723 library_names_spec=$lt_library_names_spec
   16724 
   16725 # The coded name of the library, if different from the real name.
   16726 soname_spec=$lt_soname_spec
   16727 
   16728 # Commands used to build and install an old-style archive.
   16729 RANLIB=$lt_RANLIB
   16730 old_archive_cmds=$lt_old_archive_cmds_F77
   16731 old_postinstall_cmds=$lt_old_postinstall_cmds
   16732 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   16733 
   16734 # Create an old-style archive from a shared archive.
   16735 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
   16736 
   16737 # Create a temporary old-style archive to link instead of a shared archive.
   16738 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
   16739 
   16740 # Commands used to build and install a shared archive.
   16741 archive_cmds=$lt_archive_cmds_F77
   16742 archive_expsym_cmds=$lt_archive_expsym_cmds_F77
   16743 postinstall_cmds=$lt_postinstall_cmds
   16744 postuninstall_cmds=$lt_postuninstall_cmds
   16745 
   16746 # Commands used to build a loadable module (assumed same as above if empty)
   16747 module_cmds=$lt_module_cmds_F77
   16748 module_expsym_cmds=$lt_module_expsym_cmds_F77
   16749 
   16750 # Commands to strip libraries.
   16751 old_striplib=$lt_old_striplib
   16752 striplib=$lt_striplib
   16753 
   16754 # Dependencies to place before the objects being linked to create a
   16755 # shared library.
   16756 predep_objects=$lt_predep_objects_F77
   16757 
   16758 # Dependencies to place after the objects being linked to create a
   16759 # shared library.
   16760 postdep_objects=$lt_postdep_objects_F77
   16761 
   16762 # Dependencies to place before the objects being linked to create a
   16763 # shared library.
   16764 predeps=$lt_predeps_F77
   16765 
   16766 # Dependencies to place after the objects being linked to create a
   16767 # shared library.
   16768 postdeps=$lt_postdeps_F77
   16769 
   16770 # The directories searched by this compiler when creating a shared
   16771 # library
   16772 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_F77
   16773 
   16774 # The library search path used internally by the compiler when linking
   16775 # a shared library.
   16776 compiler_lib_search_path=$lt_compiler_lib_search_path_F77
   16777 
   16778 # Method to check whether dependent libraries are shared objects.
   16779 deplibs_check_method=$lt_deplibs_check_method
   16780 
   16781 # Command to use when deplibs_check_method == file_magic.
   16782 file_magic_cmd=$lt_file_magic_cmd
   16783 
   16784 # Flag that allows shared libraries with undefined symbols to be built.
   16785 allow_undefined_flag=$lt_allow_undefined_flag_F77
   16786 
   16787 # Flag that forces no undefined symbols.
   16788 no_undefined_flag=$lt_no_undefined_flag_F77
   16789 
   16790 # Commands used to finish a libtool library installation in a directory.
   16791 finish_cmds=$lt_finish_cmds
   16792 
   16793 # Same as above, but a single script fragment to be evaled but not shown.
   16794 finish_eval=$lt_finish_eval
   16795 
   16796 # Take the output of nm and produce a listing of raw symbols and C names.
   16797 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   16798 
   16799 # Transform the output of nm in a proper C declaration
   16800 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   16801 
   16802 # Transform the output of nm in a C name address pair
   16803 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   16804 
   16805 # This is the shared library runtime path variable.
   16806 runpath_var=$runpath_var
   16807 
   16808 # This is the shared library path variable.
   16809 shlibpath_var=$shlibpath_var
   16810 
   16811 # Is shlibpath searched before the hard-coded library search path?
   16812 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   16813 
   16814 # How to hardcode a shared library path into an executable.
   16815 hardcode_action=$hardcode_action_F77
   16816 
   16817 # Whether we should hardcode library paths into libraries.
   16818 hardcode_into_libs=$hardcode_into_libs
   16819 
   16820 # Flag to hardcode \$libdir into a binary during linking.
   16821 # This must work even if \$libdir does not exist.
   16822 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
   16823 
   16824 # If ld is used when linking, flag to hardcode \$libdir into
   16825 # a binary during linking. This must work even if \$libdir does
   16826 # not exist.
   16827 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
   16828 
   16829 # Whether we need a single -rpath flag with a separated argument.
   16830 hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
   16831 
   16832 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
   16833 # resulting binary.
   16834 hardcode_direct=$hardcode_direct_F77
   16835 
   16836 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
   16837 # resulting binary.
   16838 hardcode_minus_L=$hardcode_minus_L_F77
   16839 
   16840 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
   16841 # the resulting binary.
   16842 hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
   16843 
   16844 # Set to yes if building a shared library automatically hardcodes DIR into the library
   16845 # and all subsequent libraries and executables linked against it.
   16846 hardcode_automatic=$hardcode_automatic_F77
   16847 
   16848 # Variables whose values should be saved in libtool wrapper scripts and
   16849 # restored at relink time.
   16850 variables_saved_for_relink="$variables_saved_for_relink"
   16851 
   16852 # Whether libtool must link a program against all its dependency libraries.
   16853 link_all_deplibs=$link_all_deplibs_F77
   16854 
   16855 # Compile-time system search path for libraries
   16856 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   16857 
   16858 # Run-time system search path for libraries
   16859 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   16860 
   16861 # Fix the shell variable \$srcfile for the compiler.
   16862 fix_srcfile_path=$lt_fix_srcfile_path
   16863 
   16864 # Set to yes if exported symbols are required.
   16865 always_export_symbols=$always_export_symbols_F77
   16866 
   16867 # The commands to list exported symbols.
   16868 export_symbols_cmds=$lt_export_symbols_cmds_F77
   16869 
   16870 # The commands to extract the exported symbol list from a shared archive.
   16871 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   16872 
   16873 # Symbols that should not be listed in the preloaded symbols.
   16874 exclude_expsyms=$lt_exclude_expsyms_F77
   16875 
   16876 # Symbols that must always be exported.
   16877 include_expsyms=$lt_include_expsyms_F77
   16878 
   16879 # ### END LIBTOOL TAG CONFIG: $tagname
   16880 
   16881 __EOF__
   16882 
   16883 
   16884 else
   16885   # If there is no Makefile yet, we rely on a make rule to execute
   16886   # `config.status --recheck' to rerun these tests and create the
   16887   # libtool script then.
   16888   ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
   16889   if test -f "$ltmain_in"; then
   16890     test -f Makefile && make "$ltmain"
   16891   fi
   16892 fi
   16893 
   16894 
   16895 ac_ext=c
   16896 ac_cpp='$CPP $CPPFLAGS'
   16897 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   16898 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   16899 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   16900 
   16901 CC="$lt_save_CC"
   16902 
   16903 	else
   16904 	  tagname=""
   16905 	fi
   16906 	;;
   16907 
   16908       GCJ)
   16909 	if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
   16910 
   16911 
   16912 # Source file extension for Java test sources.
   16913 ac_ext=java
   16914 
   16915 # Object file extension for compiled Java test sources.
   16916 objext=o
   16917 objext_GCJ=$objext
   16918 
   16919 # Code to be used in simple compile tests
   16920 lt_simple_compile_test_code="class foo {}"
   16921 
   16922 # Code to be used in simple link tests
   16923 lt_simple_link_test_code='public class conftest { public static void main(String[] argv) {}; }'
   16924 
   16925 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
   16926 
   16927 # If no C compiler was specified, use CC.
   16928 LTCC=${LTCC-"$CC"}
   16929 
   16930 # If no C compiler flags were specified, use CFLAGS.
   16931 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   16932 
   16933 # Allow CC to be a program name with arguments.
   16934 compiler=$CC
   16935 
   16936 
   16937 # save warnings/boilerplate of simple test code
   16938 ac_outfile=conftest.$ac_objext
   16939 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   16940 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   16941 _lt_compiler_boilerplate=`cat conftest.err`
   16942 $rm conftest*
   16943 
   16944 ac_outfile=conftest.$ac_objext
   16945 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   16946 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   16947 _lt_linker_boilerplate=`cat conftest.err`
   16948 $rm -r conftest*
   16949 
   16950 
   16951 # Allow CC to be a program name with arguments.
   16952 lt_save_CC="$CC"
   16953 CC=${GCJ-"gcj"}
   16954 compiler=$CC
   16955 compiler_GCJ=$CC
   16956 for cc_temp in $compiler""; do
   16957   case $cc_temp in
   16958     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   16959     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   16960     \-*) ;;
   16961     *) break;;
   16962   esac
   16963 done
   16964 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   16965 
   16966 
   16967 # GCJ did not exist at the time GCC didn't implicitly link libc in.
   16968 archive_cmds_need_lc_GCJ=no
   16969 
   16970 old_archive_cmds_GCJ=$old_archive_cmds
   16971 
   16972 
   16973 lt_prog_compiler_no_builtin_flag_GCJ=
   16974 
   16975 if test "$GCC" = yes; then
   16976   lt_prog_compiler_no_builtin_flag_GCJ=' -fno-builtin'
   16977 
   16978 
   16979 { $as_echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
   16980 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
   16981 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
   16982   $as_echo_n "(cached) " >&6
   16983 else
   16984   lt_cv_prog_compiler_rtti_exceptions=no
   16985   ac_outfile=conftest.$ac_objext
   16986    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   16987    lt_compiler_flag="-fno-rtti -fno-exceptions"
   16988    # Insert the option either (1) after the last *FLAGS variable, or
   16989    # (2) before a word containing "conftest.", or (3) at the end.
   16990    # Note that $ac_compile itself does not contain backslashes and begins
   16991    # with a dollar sign (not a hyphen), so the echo should work correctly.
   16992    # The option is referenced via a variable to avoid confusing sed.
   16993    lt_compile=`echo "$ac_compile" | $SED \
   16994    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   16995    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   16996    -e 's:$: $lt_compiler_flag:'`
   16997    (eval echo "\"\$as_me:16997: $lt_compile\"" >&5)
   16998    (eval "$lt_compile" 2>conftest.err)
   16999    ac_status=$?
   17000    cat conftest.err >&5
   17001    echo "$as_me:17001: \$? = $ac_status" >&5
   17002    if (exit $ac_status) && test -s "$ac_outfile"; then
   17003      # The compiler can only warn and ignore the option if not recognized
   17004      # So say no if there are warnings other than the usual output.
   17005      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   17006      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   17007      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   17008        lt_cv_prog_compiler_rtti_exceptions=yes
   17009      fi
   17010    fi
   17011    $rm conftest*
   17012 
   17013 fi
   17014 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
   17015 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
   17016 
   17017 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
   17018     lt_prog_compiler_no_builtin_flag_GCJ="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
   17019 else
   17020     :
   17021 fi
   17022 
   17023 fi
   17024 
   17025 lt_prog_compiler_wl_GCJ=
   17026 lt_prog_compiler_pic_GCJ=
   17027 lt_prog_compiler_static_GCJ=
   17028 
   17029 { $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
   17030 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
   17031 
   17032   if test "$GCC" = yes; then
   17033     lt_prog_compiler_wl_GCJ='-Wl,'
   17034     lt_prog_compiler_static_GCJ='-static'
   17035 
   17036     case $host_os in
   17037       aix*)
   17038       # All AIX code is PIC.
   17039       if test "$host_cpu" = ia64; then
   17040 	# AIX 5 now supports IA64 processor
   17041 	lt_prog_compiler_static_GCJ='-Bstatic'
   17042       fi
   17043       ;;
   17044 
   17045     amigaos*)
   17046       # FIXME: we need at least 68020 code to build shared libraries, but
   17047       # adding the `-m68020' flag to GCC prevents building anything better,
   17048       # like `-m68040'.
   17049       lt_prog_compiler_pic_GCJ='-m68020 -resident32 -malways-restore-a4'
   17050       ;;
   17051 
   17052     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   17053       # PIC is the default for these OSes.
   17054       ;;
   17055 
   17056     mingw* | cygwin* | pw32* | os2*)
   17057       # This hack is so that the source file can tell whether it is being
   17058       # built for inclusion in a dll (and should export symbols for example).
   17059       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   17060       # (--disable-auto-import) libraries
   17061 
   17062       ;;
   17063 
   17064     darwin* | rhapsody*)
   17065       # PIC is the default on this platform
   17066       # Common symbols not allowed in MH_DYLIB files
   17067       lt_prog_compiler_pic_GCJ='-fno-common'
   17068       ;;
   17069 
   17070     interix[3-9]*)
   17071       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   17072       # Instead, we relocate shared libraries at runtime.
   17073       ;;
   17074 
   17075     msdosdjgpp*)
   17076       # Just because we use GCC doesn't mean we suddenly get shared libraries
   17077       # on systems that don't support them.
   17078       lt_prog_compiler_can_build_shared_GCJ=no
   17079       enable_shared=no
   17080       ;;
   17081 
   17082     sysv4*MP*)
   17083       if test -d /usr/nec; then
   17084 	lt_prog_compiler_pic_GCJ=-Kconform_pic
   17085       fi
   17086       ;;
   17087 
   17088     hpux*)
   17089       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   17090       # not for PA HP-UX.
   17091       case $host_cpu in
   17092       hppa*64*|ia64*)
   17093 	# +Z the default
   17094 	;;
   17095       *)
   17096 	lt_prog_compiler_pic_GCJ='-fPIC'
   17097 	;;
   17098       esac
   17099       ;;
   17100 
   17101     *)
   17102       lt_prog_compiler_pic_GCJ='-fPIC'
   17103       ;;
   17104     esac
   17105   else
   17106     # PORTME Check for flag to pass linker flags through the system compiler.
   17107     case $host_os in
   17108     aix*)
   17109       lt_prog_compiler_wl_GCJ='-Wl,'
   17110       if test "$host_cpu" = ia64; then
   17111 	# AIX 5 now supports IA64 processor
   17112 	lt_prog_compiler_static_GCJ='-Bstatic'
   17113       else
   17114 	lt_prog_compiler_static_GCJ='-bnso -bI:/lib/syscalls.exp'
   17115       fi
   17116       ;;
   17117       darwin*)
   17118         # PIC is the default on this platform
   17119         # Common symbols not allowed in MH_DYLIB files
   17120        case $cc_basename in
   17121          xlc*)
   17122          lt_prog_compiler_pic_GCJ='-qnocommon'
   17123          lt_prog_compiler_wl_GCJ='-Wl,'
   17124          ;;
   17125        esac
   17126        ;;
   17127 
   17128     mingw* | cygwin* | pw32* | os2*)
   17129       # This hack is so that the source file can tell whether it is being
   17130       # built for inclusion in a dll (and should export symbols for example).
   17131 
   17132       ;;
   17133 
   17134     hpux9* | hpux10* | hpux11*)
   17135       lt_prog_compiler_wl_GCJ='-Wl,'
   17136       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   17137       # not for PA HP-UX.
   17138       case $host_cpu in
   17139       hppa*64*|ia64*)
   17140 	# +Z the default
   17141 	;;
   17142       *)
   17143 	lt_prog_compiler_pic_GCJ='+Z'
   17144 	;;
   17145       esac
   17146       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   17147       lt_prog_compiler_static_GCJ='${wl}-a ${wl}archive'
   17148       ;;
   17149 
   17150     irix5* | irix6* | nonstopux*)
   17151       lt_prog_compiler_wl_GCJ='-Wl,'
   17152       # PIC (with -KPIC) is the default.
   17153       lt_prog_compiler_static_GCJ='-non_shared'
   17154       ;;
   17155 
   17156     newsos6)
   17157       lt_prog_compiler_pic_GCJ='-KPIC'
   17158       lt_prog_compiler_static_GCJ='-Bstatic'
   17159       ;;
   17160 
   17161     linux* | k*bsd*-gnu)
   17162       case $cc_basename in
   17163       icc* | ecc*)
   17164 	lt_prog_compiler_wl_GCJ='-Wl,'
   17165 	lt_prog_compiler_pic_GCJ='-KPIC'
   17166 	lt_prog_compiler_static_GCJ='-static'
   17167         ;;
   17168       pgcc* | pgf77* | pgf90* | pgf95*)
   17169         # Portland Group compilers (*not* the Pentium gcc compiler,
   17170 	# which looks to be a dead project)
   17171 	lt_prog_compiler_wl_GCJ='-Wl,'
   17172 	lt_prog_compiler_pic_GCJ='-fpic'
   17173 	lt_prog_compiler_static_GCJ='-Bstatic'
   17174         ;;
   17175       ccc*)
   17176         lt_prog_compiler_wl_GCJ='-Wl,'
   17177         # All Alpha code is PIC.
   17178         lt_prog_compiler_static_GCJ='-non_shared'
   17179         ;;
   17180       *)
   17181         case `$CC -V 2>&1 | sed 5q` in
   17182 	*Sun\ C*)
   17183 	  # Sun C 5.9
   17184 	  lt_prog_compiler_pic_GCJ='-KPIC'
   17185 	  lt_prog_compiler_static_GCJ='-Bstatic'
   17186 	  lt_prog_compiler_wl_GCJ='-Wl,'
   17187 	  ;;
   17188 	*Sun\ F*)
   17189 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   17190 	  lt_prog_compiler_pic_GCJ='-KPIC'
   17191 	  lt_prog_compiler_static_GCJ='-Bstatic'
   17192 	  lt_prog_compiler_wl_GCJ=''
   17193 	  ;;
   17194 	esac
   17195 	;;
   17196       esac
   17197       ;;
   17198 
   17199     osf3* | osf4* | osf5*)
   17200       lt_prog_compiler_wl_GCJ='-Wl,'
   17201       # All OSF/1 code is PIC.
   17202       lt_prog_compiler_static_GCJ='-non_shared'
   17203       ;;
   17204 
   17205     rdos*)
   17206       lt_prog_compiler_static_GCJ='-non_shared'
   17207       ;;
   17208 
   17209     solaris*)
   17210       lt_prog_compiler_pic_GCJ='-KPIC'
   17211       lt_prog_compiler_static_GCJ='-Bstatic'
   17212       case $cc_basename in
   17213       f77* | f90* | f95*)
   17214 	lt_prog_compiler_wl_GCJ='-Qoption ld ';;
   17215       *)
   17216 	lt_prog_compiler_wl_GCJ='-Wl,';;
   17217       esac
   17218       ;;
   17219 
   17220     sunos4*)
   17221       lt_prog_compiler_wl_GCJ='-Qoption ld '
   17222       lt_prog_compiler_pic_GCJ='-PIC'
   17223       lt_prog_compiler_static_GCJ='-Bstatic'
   17224       ;;
   17225 
   17226     sysv4 | sysv4.2uw2* | sysv4.3*)
   17227       lt_prog_compiler_wl_GCJ='-Wl,'
   17228       lt_prog_compiler_pic_GCJ='-KPIC'
   17229       lt_prog_compiler_static_GCJ='-Bstatic'
   17230       ;;
   17231 
   17232     sysv4*MP*)
   17233       if test -d /usr/nec ;then
   17234 	lt_prog_compiler_pic_GCJ='-Kconform_pic'
   17235 	lt_prog_compiler_static_GCJ='-Bstatic'
   17236       fi
   17237       ;;
   17238 
   17239     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   17240       lt_prog_compiler_wl_GCJ='-Wl,'
   17241       lt_prog_compiler_pic_GCJ='-KPIC'
   17242       lt_prog_compiler_static_GCJ='-Bstatic'
   17243       ;;
   17244 
   17245     unicos*)
   17246       lt_prog_compiler_wl_GCJ='-Wl,'
   17247       lt_prog_compiler_can_build_shared_GCJ=no
   17248       ;;
   17249 
   17250     uts4*)
   17251       lt_prog_compiler_pic_GCJ='-pic'
   17252       lt_prog_compiler_static_GCJ='-Bstatic'
   17253       ;;
   17254 
   17255     *)
   17256       lt_prog_compiler_can_build_shared_GCJ=no
   17257       ;;
   17258     esac
   17259   fi
   17260 
   17261 { $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
   17262 $as_echo "$lt_prog_compiler_pic_GCJ" >&6; }
   17263 
   17264 #
   17265 # Check to make sure the PIC flag actually works.
   17266 #
   17267 if test -n "$lt_prog_compiler_pic_GCJ"; then
   17268 
   17269 { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
   17270 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... " >&6; }
   17271 if test "${lt_cv_prog_compiler_pic_works_GCJ+set}" = set; then
   17272   $as_echo_n "(cached) " >&6
   17273 else
   17274   lt_cv_prog_compiler_pic_works_GCJ=no
   17275   ac_outfile=conftest.$ac_objext
   17276    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   17277    lt_compiler_flag="$lt_prog_compiler_pic_GCJ"
   17278    # Insert the option either (1) after the last *FLAGS variable, or
   17279    # (2) before a word containing "conftest.", or (3) at the end.
   17280    # Note that $ac_compile itself does not contain backslashes and begins
   17281    # with a dollar sign (not a hyphen), so the echo should work correctly.
   17282    # The option is referenced via a variable to avoid confusing sed.
   17283    lt_compile=`echo "$ac_compile" | $SED \
   17284    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   17285    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   17286    -e 's:$: $lt_compiler_flag:'`
   17287    (eval echo "\"\$as_me:17287: $lt_compile\"" >&5)
   17288    (eval "$lt_compile" 2>conftest.err)
   17289    ac_status=$?
   17290    cat conftest.err >&5
   17291    echo "$as_me:17291: \$? = $ac_status" >&5
   17292    if (exit $ac_status) && test -s "$ac_outfile"; then
   17293      # The compiler can only warn and ignore the option if not recognized
   17294      # So say no if there are warnings other than the usual output.
   17295      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   17296      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   17297      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   17298        lt_cv_prog_compiler_pic_works_GCJ=yes
   17299      fi
   17300    fi
   17301    $rm conftest*
   17302 
   17303 fi
   17304 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_GCJ" >&5
   17305 $as_echo "$lt_cv_prog_compiler_pic_works_GCJ" >&6; }
   17306 
   17307 if test x"$lt_cv_prog_compiler_pic_works_GCJ" = xyes; then
   17308     case $lt_prog_compiler_pic_GCJ in
   17309      "" | " "*) ;;
   17310      *) lt_prog_compiler_pic_GCJ=" $lt_prog_compiler_pic_GCJ" ;;
   17311      esac
   17312 else
   17313     lt_prog_compiler_pic_GCJ=
   17314      lt_prog_compiler_can_build_shared_GCJ=no
   17315 fi
   17316 
   17317 fi
   17318 case $host_os in
   17319   # For platforms which do not support PIC, -DPIC is meaningless:
   17320   *djgpp*)
   17321     lt_prog_compiler_pic_GCJ=
   17322     ;;
   17323   *)
   17324     lt_prog_compiler_pic_GCJ="$lt_prog_compiler_pic_GCJ"
   17325     ;;
   17326 esac
   17327 
   17328 #
   17329 # Check to make sure the static flag actually works.
   17330 #
   17331 wl=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag=\"$lt_prog_compiler_static_GCJ\"
   17332 { $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   17333 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   17334 if test "${lt_cv_prog_compiler_static_works_GCJ+set}" = set; then
   17335   $as_echo_n "(cached) " >&6
   17336 else
   17337   lt_cv_prog_compiler_static_works_GCJ=no
   17338    save_LDFLAGS="$LDFLAGS"
   17339    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   17340    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   17341    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   17342      # The linker can only warn and ignore the option if not recognized
   17343      # So say no if there are warnings
   17344      if test -s conftest.err; then
   17345        # Append any errors to the config.log.
   17346        cat conftest.err 1>&5
   17347        $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
   17348        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   17349        if diff conftest.exp conftest.er2 >/dev/null; then
   17350          lt_cv_prog_compiler_static_works_GCJ=yes
   17351        fi
   17352      else
   17353        lt_cv_prog_compiler_static_works_GCJ=yes
   17354      fi
   17355    fi
   17356    $rm -r conftest*
   17357    LDFLAGS="$save_LDFLAGS"
   17358 
   17359 fi
   17360 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_GCJ" >&5
   17361 $as_echo "$lt_cv_prog_compiler_static_works_GCJ" >&6; }
   17362 
   17363 if test x"$lt_cv_prog_compiler_static_works_GCJ" = xyes; then
   17364     :
   17365 else
   17366     lt_prog_compiler_static_GCJ=
   17367 fi
   17368 
   17369 
   17370 { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
   17371 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   17372 if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
   17373   $as_echo_n "(cached) " >&6
   17374 else
   17375   lt_cv_prog_compiler_c_o_GCJ=no
   17376    $rm -r conftest 2>/dev/null
   17377    mkdir conftest
   17378    cd conftest
   17379    mkdir out
   17380    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   17381 
   17382    lt_compiler_flag="-o out/conftest2.$ac_objext"
   17383    # Insert the option either (1) after the last *FLAGS variable, or
   17384    # (2) before a word containing "conftest.", or (3) at the end.
   17385    # Note that $ac_compile itself does not contain backslashes and begins
   17386    # with a dollar sign (not a hyphen), so the echo should work correctly.
   17387    lt_compile=`echo "$ac_compile" | $SED \
   17388    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   17389    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   17390    -e 's:$: $lt_compiler_flag:'`
   17391    (eval echo "\"\$as_me:17391: $lt_compile\"" >&5)
   17392    (eval "$lt_compile" 2>out/conftest.err)
   17393    ac_status=$?
   17394    cat out/conftest.err >&5
   17395    echo "$as_me:17395: \$? = $ac_status" >&5
   17396    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   17397    then
   17398      # The compiler can only warn and ignore the option if not recognized
   17399      # So say no if there are warnings
   17400      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
   17401      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   17402      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   17403        lt_cv_prog_compiler_c_o_GCJ=yes
   17404      fi
   17405    fi
   17406    chmod u+w . 2>&5
   17407    $rm conftest*
   17408    # SGI C++ compiler will create directory out/ii_files/ for
   17409    # template instantiation
   17410    test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
   17411    $rm out/* && rmdir out
   17412    cd ..
   17413    rmdir conftest
   17414    $rm conftest*
   17415 
   17416 fi
   17417 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
   17418 $as_echo "$lt_cv_prog_compiler_c_o_GCJ" >&6; }
   17419 
   17420 
   17421 hard_links="nottested"
   17422 if test "$lt_cv_prog_compiler_c_o_GCJ" = no && test "$need_locks" != no; then
   17423   # do not overwrite the value of need_locks provided by the user
   17424   { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
   17425 $as_echo_n "checking if we can lock with hard links... " >&6; }
   17426   hard_links=yes
   17427   $rm conftest*
   17428   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   17429   touch conftest.a
   17430   ln conftest.a conftest.b 2>&5 || hard_links=no
   17431   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   17432   { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
   17433 $as_echo "$hard_links" >&6; }
   17434   if test "$hard_links" = no; then
   17435     { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   17436 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   17437     need_locks=warn
   17438   fi
   17439 else
   17440   need_locks=no
   17441 fi
   17442 
   17443 { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   17444 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   17445 
   17446   runpath_var=
   17447   allow_undefined_flag_GCJ=
   17448   enable_shared_with_static_runtimes_GCJ=no
   17449   archive_cmds_GCJ=
   17450   archive_expsym_cmds_GCJ=
   17451   old_archive_From_new_cmds_GCJ=
   17452   old_archive_from_expsyms_cmds_GCJ=
   17453   export_dynamic_flag_spec_GCJ=
   17454   whole_archive_flag_spec_GCJ=
   17455   thread_safe_flag_spec_GCJ=
   17456   hardcode_libdir_flag_spec_GCJ=
   17457   hardcode_libdir_flag_spec_ld_GCJ=
   17458   hardcode_libdir_separator_GCJ=
   17459   hardcode_direct_GCJ=no
   17460   hardcode_minus_L_GCJ=no
   17461   hardcode_shlibpath_var_GCJ=unsupported
   17462   link_all_deplibs_GCJ=unknown
   17463   hardcode_automatic_GCJ=no
   17464   module_cmds_GCJ=
   17465   module_expsym_cmds_GCJ=
   17466   always_export_symbols_GCJ=no
   17467   export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   17468   # include_expsyms should be a list of space-separated symbols to be *always*
   17469   # included in the symbol list
   17470   include_expsyms_GCJ=
   17471   # exclude_expsyms can be an extended regexp of symbols to exclude
   17472   # it will be wrapped by ` (' and `)$', so one must not match beginning or
   17473   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
   17474   # as well as any symbol that contains `d'.
   17475   exclude_expsyms_GCJ='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   17476   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   17477   # platforms (ab)use it in PIC code, but their linkers get confused if
   17478   # the symbol is explicitly referenced.  Since portable code cannot
   17479   # rely on this symbol name, it's probably fine to never include it in
   17480   # preloaded symbol tables.
   17481   # Exclude shared library initialization/finalization symbols.
   17482   extract_expsyms_cmds=
   17483   # Just being paranoid about ensuring that cc_basename is set.
   17484   for cc_temp in $compiler""; do
   17485   case $cc_temp in
   17486     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   17487     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   17488     \-*) ;;
   17489     *) break;;
   17490   esac
   17491 done
   17492 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   17493 
   17494   case $host_os in
   17495   cygwin* | mingw* | pw32*)
   17496     # FIXME: the MSVC++ port hasn't been tested in a loooong time
   17497     # When not using gcc, we currently assume that we are using
   17498     # Microsoft Visual C++.
   17499     if test "$GCC" != yes; then
   17500       with_gnu_ld=no
   17501     fi
   17502     ;;
   17503   interix*)
   17504     # we just hope/assume this is gcc and not c89 (= MSVC++)
   17505     with_gnu_ld=yes
   17506     ;;
   17507   openbsd*)
   17508     with_gnu_ld=no
   17509     ;;
   17510   esac
   17511 
   17512   ld_shlibs_GCJ=yes
   17513   if test "$with_gnu_ld" = yes; then
   17514     # If archive_cmds runs LD, not CC, wlarc should be empty
   17515     wlarc='${wl}'
   17516 
   17517     # Set some defaults for GNU ld with shared library support. These
   17518     # are reset later if shared libraries are not supported. Putting them
   17519     # here allows them to be overridden if necessary.
   17520     runpath_var=LD_RUN_PATH
   17521     hardcode_libdir_flag_spec_GCJ='${wl}--rpath ${wl}$libdir'
   17522     export_dynamic_flag_spec_GCJ='${wl}--export-dynamic'
   17523     # ancient GNU ld didn't support --whole-archive et. al.
   17524     if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
   17525 	whole_archive_flag_spec_GCJ="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   17526       else
   17527   	whole_archive_flag_spec_GCJ=
   17528     fi
   17529     supports_anon_versioning=no
   17530     case `$LD -v 2>/dev/null` in
   17531       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   17532       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   17533       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   17534       *\ 2.11.*) ;; # other 2.11 versions
   17535       *) supports_anon_versioning=yes ;;
   17536     esac
   17537 
   17538     # See if GNU ld supports shared libraries.
   17539     case $host_os in
   17540     aix[3-9]*)
   17541       # On AIX/PPC, the GNU linker is very broken
   17542       if test "$host_cpu" != ia64; then
   17543 	ld_shlibs_GCJ=no
   17544 	cat <<EOF 1>&2
   17545 
   17546 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
   17547 *** to be unable to reliably create shared libraries on AIX.
   17548 *** Therefore, libtool is disabling shared libraries support.  If you
   17549 *** really care for shared libraries, you may want to modify your PATH
   17550 *** so that a non-GNU linker is found, and then restart.
   17551 
   17552 EOF
   17553       fi
   17554       ;;
   17555 
   17556     amigaos*)
   17557       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)'
   17558       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   17559       hardcode_minus_L_GCJ=yes
   17560 
   17561       # Samuel A. Falvo II <kc5tja (at] dolphin.openprojects.net> reports
   17562       # that the semantics of dynamic libraries on AmigaOS, at least up
   17563       # to version 4, is to share data among multiple programs linked
   17564       # with the same dynamic library.  Since this doesn't match the
   17565       # behavior of shared libraries on other platforms, we can't use
   17566       # them.
   17567       ld_shlibs_GCJ=no
   17568       ;;
   17569 
   17570     beos*)
   17571       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   17572 	allow_undefined_flag_GCJ=unsupported
   17573 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   17574 	# support --undefined.  This deserves some investigation.  FIXME
   17575 	archive_cmds_GCJ='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   17576       else
   17577 	ld_shlibs_GCJ=no
   17578       fi
   17579       ;;
   17580 
   17581     cygwin* | mingw* | pw32*)
   17582       # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
   17583       # as there is no search path for DLLs.
   17584       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   17585       allow_undefined_flag_GCJ=unsupported
   17586       always_export_symbols_GCJ=no
   17587       enable_shared_with_static_runtimes_GCJ=yes
   17588       export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
   17589 
   17590       if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
   17591         archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   17592 	# If the export-symbols file already is a .def file (1st line
   17593 	# is EXPORTS), use it as is; otherwise, prepend...
   17594 	archive_expsym_cmds_GCJ='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   17595 	  cp $export_symbols $output_objdir/$soname.def;
   17596 	else
   17597 	  echo EXPORTS > $output_objdir/$soname.def;
   17598 	  cat $export_symbols >> $output_objdir/$soname.def;
   17599 	fi~
   17600 	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   17601       else
   17602 	ld_shlibs_GCJ=no
   17603       fi
   17604       ;;
   17605 
   17606     interix[3-9]*)
   17607       hardcode_direct_GCJ=no
   17608       hardcode_shlibpath_var_GCJ=no
   17609       hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
   17610       export_dynamic_flag_spec_GCJ='${wl}-E'
   17611       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   17612       # Instead, shared libraries are loaded at an image base (0x10000000 by
   17613       # default) and relocated if they conflict, which is a slow very memory
   17614       # consuming and fragmenting process.  To avoid this, we pick a random,
   17615       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   17616       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   17617       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'
   17618       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'
   17619       ;;
   17620 
   17621     gnu* | linux* | k*bsd*-gnu)
   17622       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   17623 	tmp_addflag=
   17624 	case $cc_basename,$host_cpu in
   17625 	pgcc*)				# Portland Group C compiler
   17626 	  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'
   17627 	  tmp_addflag=' $pic_flag'
   17628 	  ;;
   17629 	pgf77* | pgf90* | pgf95*)	# Portland Group f77 and f90 compilers
   17630 	  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'
   17631 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   17632 	ecc*,ia64* | icc*,ia64*)		# Intel C compiler on ia64
   17633 	  tmp_addflag=' -i_dynamic' ;;
   17634 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   17635 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   17636 	ifc* | ifort*)			# Intel Fortran compiler
   17637 	  tmp_addflag=' -nofor_main' ;;
   17638 	esac
   17639 	case `$CC -V 2>&1 | sed 5q` in
   17640 	*Sun\ C*)			# Sun C 5.9
   17641 	  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'
   17642 	  tmp_sharedflag='-G' ;;
   17643 	*Sun\ F*)			# Sun Fortran 8.3
   17644 	  tmp_sharedflag='-G' ;;
   17645 	*)
   17646 	  tmp_sharedflag='-shared' ;;
   17647 	esac
   17648 	archive_cmds_GCJ='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   17649 
   17650 	if test $supports_anon_versioning = yes; then
   17651 	  archive_expsym_cmds_GCJ='$echo "{ global:" > $output_objdir/$libname.ver~
   17652   cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   17653   $echo "local: *; };" >> $output_objdir/$libname.ver~
   17654 	  $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
   17655 	fi
   17656       else
   17657 	ld_shlibs_GCJ=no
   17658       fi
   17659       ;;
   17660 
   17661     netbsd*)
   17662       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   17663 	archive_cmds_GCJ='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   17664 	wlarc=
   17665       else
   17666 	archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   17667 	archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   17668       fi
   17669       ;;
   17670 
   17671     solaris*)
   17672       if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
   17673 	ld_shlibs_GCJ=no
   17674 	cat <<EOF 1>&2
   17675 
   17676 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   17677 *** create shared libraries on Solaris systems.  Therefore, libtool
   17678 *** is disabling shared libraries support.  We urge you to upgrade GNU
   17679 *** binutils to release 2.9.1 or newer.  Another option is to modify
   17680 *** your PATH or compiler configuration so that the native linker is
   17681 *** used, and then restart.
   17682 
   17683 EOF
   17684       elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   17685 	archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   17686 	archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   17687       else
   17688 	ld_shlibs_GCJ=no
   17689       fi
   17690       ;;
   17691 
   17692     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   17693       case `$LD -v 2>&1` in
   17694         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   17695 	ld_shlibs_GCJ=no
   17696 	cat <<_LT_EOF 1>&2
   17697 
   17698 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
   17699 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   17700 *** is disabling shared libraries support.  We urge you to upgrade GNU
   17701 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   17702 *** your PATH or compiler configuration so that the native linker is
   17703 *** used, and then restart.
   17704 
   17705 _LT_EOF
   17706 	;;
   17707 	*)
   17708 	  if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   17709 	    hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
   17710 	    archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
   17711 	    archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
   17712 	  else
   17713 	    ld_shlibs_GCJ=no
   17714 	  fi
   17715 	;;
   17716       esac
   17717       ;;
   17718 
   17719     sunos4*)
   17720       archive_cmds_GCJ='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   17721       wlarc=
   17722       hardcode_direct_GCJ=yes
   17723       hardcode_shlibpath_var_GCJ=no
   17724       ;;
   17725 
   17726     *)
   17727       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   17728 	archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   17729 	archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   17730       else
   17731 	ld_shlibs_GCJ=no
   17732       fi
   17733       ;;
   17734     esac
   17735 
   17736     if test "$ld_shlibs_GCJ" = no; then
   17737       runpath_var=
   17738       hardcode_libdir_flag_spec_GCJ=
   17739       export_dynamic_flag_spec_GCJ=
   17740       whole_archive_flag_spec_GCJ=
   17741     fi
   17742   else
   17743     # PORTME fill in a description of your system's linker (not GNU ld)
   17744     case $host_os in
   17745     aix3*)
   17746       allow_undefined_flag_GCJ=unsupported
   17747       always_export_symbols_GCJ=yes
   17748       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'
   17749       # Note: this linker hardcodes the directories in LIBPATH if there
   17750       # are no directories specified by -L.
   17751       hardcode_minus_L_GCJ=yes
   17752       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
   17753 	# Neither direct hardcoding nor static linking is supported with a
   17754 	# broken collect2.
   17755 	hardcode_direct_GCJ=unsupported
   17756       fi
   17757       ;;
   17758 
   17759     aix[4-9]*)
   17760       if test "$host_cpu" = ia64; then
   17761 	# On IA64, the linker does run time linking by default, so we don't
   17762 	# have to do anything special.
   17763 	aix_use_runtimelinking=no
   17764 	exp_sym_flag='-Bexport'
   17765 	no_entry_flag=""
   17766       else
   17767 	# If we're using GNU nm, then we don't want the "-C" option.
   17768 	# -C means demangle to AIX nm, but means don't demangle with GNU nm
   17769 	if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
   17770 	  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'
   17771 	else
   17772 	  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'
   17773 	fi
   17774 	aix_use_runtimelinking=no
   17775 
   17776 	# Test if we are trying to use run time linking or normal
   17777 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   17778 	# need to do runtime linking.
   17779 	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   17780 	  for ld_flag in $LDFLAGS; do
   17781   	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
   17782   	    aix_use_runtimelinking=yes
   17783   	    break
   17784   	  fi
   17785 	  done
   17786 	  ;;
   17787 	esac
   17788 
   17789 	exp_sym_flag='-bexport'
   17790 	no_entry_flag='-bnoentry'
   17791       fi
   17792 
   17793       # When large executables or shared objects are built, AIX ld can
   17794       # have problems creating the table of contents.  If linking a library
   17795       # or program results in "error TOC overflow" add -mminimal-toc to
   17796       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   17797       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   17798 
   17799       archive_cmds_GCJ=''
   17800       hardcode_direct_GCJ=yes
   17801       hardcode_libdir_separator_GCJ=':'
   17802       link_all_deplibs_GCJ=yes
   17803 
   17804       if test "$GCC" = yes; then
   17805 	case $host_os in aix4.[012]|aix4.[012].*)
   17806 	# We only want to do this on AIX 4.2 and lower, the check
   17807 	# below for broken collect2 doesn't work under 4.3+
   17808 	  collect2name=`${CC} -print-prog-name=collect2`
   17809 	  if test -f "$collect2name" && \
   17810   	   strings "$collect2name" | grep resolve_lib_name >/dev/null
   17811 	  then
   17812   	  # We have reworked collect2
   17813   	  :
   17814 	  else
   17815   	  # We have old collect2
   17816   	  hardcode_direct_GCJ=unsupported
   17817   	  # It fails to find uninstalled libraries when the uninstalled
   17818   	  # path is not listed in the libpath.  Setting hardcode_minus_L
   17819   	  # to unsupported forces relinking
   17820   	  hardcode_minus_L_GCJ=yes
   17821   	  hardcode_libdir_flag_spec_GCJ='-L$libdir'
   17822   	  hardcode_libdir_separator_GCJ=
   17823 	  fi
   17824 	  ;;
   17825 	esac
   17826 	shared_flag='-shared'
   17827 	if test "$aix_use_runtimelinking" = yes; then
   17828 	  shared_flag="$shared_flag "'${wl}-G'
   17829 	fi
   17830       else
   17831 	# not using gcc
   17832 	if test "$host_cpu" = ia64; then
   17833   	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   17834   	# chokes on -Wl,-G. The following line is correct:
   17835 	  shared_flag='-G'
   17836 	else
   17837 	  if test "$aix_use_runtimelinking" = yes; then
   17838 	    shared_flag='${wl}-G'
   17839 	  else
   17840 	    shared_flag='${wl}-bM:SRE'
   17841 	  fi
   17842 	fi
   17843       fi
   17844 
   17845       # It seems that -bexpall does not export symbols beginning with
   17846       # underscore (_), so it is better to generate a list of symbols to export.
   17847       always_export_symbols_GCJ=yes
   17848       if test "$aix_use_runtimelinking" = yes; then
   17849 	# Warning - without using the other runtime loading flags (-brtl),
   17850 	# -berok will link without error, but may produce a broken library.
   17851 	allow_undefined_flag_GCJ='-berok'
   17852        # Determine the default libpath from the value encoded in an empty executable.
   17853        cat >conftest.$ac_ext <<_ACEOF
   17854 /* confdefs.h.  */
   17855 _ACEOF
   17856 cat confdefs.h >>conftest.$ac_ext
   17857 cat >>conftest.$ac_ext <<_ACEOF
   17858 /* end confdefs.h.  */
   17859 
   17860 int
   17861 main ()
   17862 {
   17863 
   17864   ;
   17865   return 0;
   17866 }
   17867 _ACEOF
   17868 rm -f conftest.$ac_objext conftest$ac_exeext
   17869 if { (ac_try="$ac_link"
   17870 case "(($ac_try" in
   17871   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   17872   *) ac_try_echo=$ac_try;;
   17873 esac
   17874 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   17875 $as_echo "$ac_try_echo") >&5
   17876   (eval "$ac_link") 2>conftest.er1
   17877   ac_status=$?
   17878   grep -v '^ *+' conftest.er1 >conftest.err
   17879   rm -f conftest.er1
   17880   cat conftest.err >&5
   17881   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   17882   (exit $ac_status); } && {
   17883 	 test -z "$ac_c_werror_flag" ||
   17884 	 test ! -s conftest.err
   17885        } && test -s conftest$ac_exeext && {
   17886 	 test "$cross_compiling" = yes ||
   17887 	 $as_test_x conftest$ac_exeext
   17888        }; then
   17889 
   17890 lt_aix_libpath_sed='
   17891     /Import File Strings/,/^$/ {
   17892 	/^0/ {
   17893 	    s/^0  *\(.*\)$/\1/
   17894 	    p
   17895 	}
   17896     }'
   17897 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   17898 # Check for a 64-bit object if we didn't find anything.
   17899 if test -z "$aix_libpath"; then
   17900   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   17901 fi
   17902 else
   17903   $as_echo "$as_me: failed program was:" >&5
   17904 sed 's/^/| /' conftest.$ac_ext >&5
   17905 
   17906 
   17907 fi
   17908 
   17909 rm -rf conftest.dSYM
   17910 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   17911       conftest$ac_exeext conftest.$ac_ext
   17912 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   17913 
   17914        hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
   17915 	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"
   17916        else
   17917 	if test "$host_cpu" = ia64; then
   17918 	  hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib'
   17919 	  allow_undefined_flag_GCJ="-z nodefs"
   17920 	  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"
   17921 	else
   17922 	 # Determine the default libpath from the value encoded in an empty executable.
   17923 	 cat >conftest.$ac_ext <<_ACEOF
   17924 /* confdefs.h.  */
   17925 _ACEOF
   17926 cat confdefs.h >>conftest.$ac_ext
   17927 cat >>conftest.$ac_ext <<_ACEOF
   17928 /* end confdefs.h.  */
   17929 
   17930 int
   17931 main ()
   17932 {
   17933 
   17934   ;
   17935   return 0;
   17936 }
   17937 _ACEOF
   17938 rm -f conftest.$ac_objext conftest$ac_exeext
   17939 if { (ac_try="$ac_link"
   17940 case "(($ac_try" in
   17941   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   17942   *) ac_try_echo=$ac_try;;
   17943 esac
   17944 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   17945 $as_echo "$ac_try_echo") >&5
   17946   (eval "$ac_link") 2>conftest.er1
   17947   ac_status=$?
   17948   grep -v '^ *+' conftest.er1 >conftest.err
   17949   rm -f conftest.er1
   17950   cat conftest.err >&5
   17951   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   17952   (exit $ac_status); } && {
   17953 	 test -z "$ac_c_werror_flag" ||
   17954 	 test ! -s conftest.err
   17955        } && test -s conftest$ac_exeext && {
   17956 	 test "$cross_compiling" = yes ||
   17957 	 $as_test_x conftest$ac_exeext
   17958        }; then
   17959 
   17960 lt_aix_libpath_sed='
   17961     /Import File Strings/,/^$/ {
   17962 	/^0/ {
   17963 	    s/^0  *\(.*\)$/\1/
   17964 	    p
   17965 	}
   17966     }'
   17967 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   17968 # Check for a 64-bit object if we didn't find anything.
   17969 if test -z "$aix_libpath"; then
   17970   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   17971 fi
   17972 else
   17973   $as_echo "$as_me: failed program was:" >&5
   17974 sed 's/^/| /' conftest.$ac_ext >&5
   17975 
   17976 
   17977 fi
   17978 
   17979 rm -rf conftest.dSYM
   17980 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   17981       conftest$ac_exeext conftest.$ac_ext
   17982 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   17983 
   17984 	 hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
   17985 	  # Warning - without using the other run time loading flags,
   17986 	  # -berok will link without error, but may produce a broken library.
   17987 	  no_undefined_flag_GCJ=' ${wl}-bernotok'
   17988 	  allow_undefined_flag_GCJ=' ${wl}-berok'
   17989 	  # Exported symbols can be pulled into shared objects from archives
   17990 	  whole_archive_flag_spec_GCJ='$convenience'
   17991 	  archive_cmds_need_lc_GCJ=yes
   17992 	  # This is similar to how AIX traditionally builds its shared libraries.
   17993 	  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'
   17994 	fi
   17995       fi
   17996       ;;
   17997 
   17998     amigaos*)
   17999       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)'
   18000       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   18001       hardcode_minus_L_GCJ=yes
   18002       # see comment about different semantics on the GNU ld section
   18003       ld_shlibs_GCJ=no
   18004       ;;
   18005 
   18006     bsdi[45]*)
   18007       export_dynamic_flag_spec_GCJ=-rdynamic
   18008       ;;
   18009 
   18010     cygwin* | mingw* | pw32*)
   18011       # When not using gcc, we currently assume that we are using
   18012       # Microsoft Visual C++.
   18013       # hardcode_libdir_flag_spec is actually meaningless, as there is
   18014       # no search path for DLLs.
   18015       hardcode_libdir_flag_spec_GCJ=' '
   18016       allow_undefined_flag_GCJ=unsupported
   18017       # Tell ltmain to make .lib files, not .a files.
   18018       libext=lib
   18019       # Tell ltmain to make .dll files, not .so files.
   18020       shrext_cmds=".dll"
   18021       # FIXME: Setting linknames here is a bad hack.
   18022       archive_cmds_GCJ='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
   18023       # The linker will automatically build a .lib file if we build a DLL.
   18024       old_archive_From_new_cmds_GCJ='true'
   18025       # FIXME: Should let the user specify the lib program.
   18026       old_archive_cmds_GCJ='lib -OUT:$oldlib$oldobjs$old_deplibs'
   18027       fix_srcfile_path_GCJ='`cygpath -w "$srcfile"`'
   18028       enable_shared_with_static_runtimes_GCJ=yes
   18029       ;;
   18030 
   18031     darwin* | rhapsody*)
   18032       case $host_os in
   18033         rhapsody* | darwin1.[012])
   18034          allow_undefined_flag_GCJ='${wl}-undefined ${wl}suppress'
   18035          ;;
   18036        *) # Darwin 1.3 on
   18037          if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
   18038            allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   18039          else
   18040            case ${MACOSX_DEPLOYMENT_TARGET} in
   18041              10.[012])
   18042                allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   18043                ;;
   18044              10.*)
   18045                allow_undefined_flag_GCJ='${wl}-undefined ${wl}dynamic_lookup'
   18046                ;;
   18047            esac
   18048          fi
   18049          ;;
   18050       esac
   18051       archive_cmds_need_lc_GCJ=no
   18052       hardcode_direct_GCJ=no
   18053       hardcode_automatic_GCJ=yes
   18054       hardcode_shlibpath_var_GCJ=unsupported
   18055       whole_archive_flag_spec_GCJ=''
   18056       link_all_deplibs_GCJ=yes
   18057     if test "$GCC" = yes ; then
   18058     	output_verbose_link_cmd='echo'
   18059         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}"
   18060         module_cmds_GCJ="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
   18061         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}"
   18062         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}"
   18063     else
   18064       case $cc_basename in
   18065         xlc*)
   18066          output_verbose_link_cmd='echo'
   18067          archive_cmds_GCJ='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
   18068          module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
   18069           # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
   18070          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}'
   18071           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}'
   18072           ;;
   18073        *)
   18074          ld_shlibs_GCJ=no
   18075           ;;
   18076       esac
   18077     fi
   18078       ;;
   18079 
   18080     dgux*)
   18081       archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   18082       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   18083       hardcode_shlibpath_var_GCJ=no
   18084       ;;
   18085 
   18086     freebsd1*)
   18087       ld_shlibs_GCJ=no
   18088       ;;
   18089 
   18090     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   18091     # support.  Future versions do this automatically, but an explicit c++rt0.o
   18092     # does not break anything, and helps significantly (at the cost of a little
   18093     # extra space).
   18094     freebsd2.2*)
   18095       archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   18096       hardcode_libdir_flag_spec_GCJ='-R$libdir'
   18097       hardcode_direct_GCJ=yes
   18098       hardcode_shlibpath_var_GCJ=no
   18099       ;;
   18100 
   18101     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   18102     freebsd2*)
   18103       archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   18104       hardcode_direct_GCJ=yes
   18105       hardcode_minus_L_GCJ=yes
   18106       hardcode_shlibpath_var_GCJ=no
   18107       ;;
   18108 
   18109     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   18110     freebsd* | dragonfly*)
   18111       archive_cmds_GCJ='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
   18112       hardcode_libdir_flag_spec_GCJ='-R$libdir'
   18113       hardcode_direct_GCJ=yes
   18114       hardcode_shlibpath_var_GCJ=no
   18115       ;;
   18116 
   18117     hpux9*)
   18118       if test "$GCC" = yes; then
   18119 	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'
   18120       else
   18121 	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'
   18122       fi
   18123       hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
   18124       hardcode_libdir_separator_GCJ=:
   18125       hardcode_direct_GCJ=yes
   18126 
   18127       # hardcode_minus_L: Not really in the search PATH,
   18128       # but as the default location of the library.
   18129       hardcode_minus_L_GCJ=yes
   18130       export_dynamic_flag_spec_GCJ='${wl}-E'
   18131       ;;
   18132 
   18133     hpux10*)
   18134       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   18135 	archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   18136       else
   18137 	archive_cmds_GCJ='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   18138       fi
   18139       if test "$with_gnu_ld" = no; then
   18140 	hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
   18141 	hardcode_libdir_separator_GCJ=:
   18142 
   18143 	hardcode_direct_GCJ=yes
   18144 	export_dynamic_flag_spec_GCJ='${wl}-E'
   18145 
   18146 	# hardcode_minus_L: Not really in the search PATH,
   18147 	# but as the default location of the library.
   18148 	hardcode_minus_L_GCJ=yes
   18149       fi
   18150       ;;
   18151 
   18152     hpux11*)
   18153       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   18154 	case $host_cpu in
   18155 	hppa*64*)
   18156 	  archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   18157 	  ;;
   18158 	ia64*)
   18159 	  archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   18160 	  ;;
   18161 	*)
   18162 	  archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   18163 	  ;;
   18164 	esac
   18165       else
   18166 	case $host_cpu in
   18167 	hppa*64*)
   18168 	  archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   18169 	  ;;
   18170 	ia64*)
   18171 	  archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   18172 	  ;;
   18173 	*)
   18174 	  archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   18175 	  ;;
   18176 	esac
   18177       fi
   18178       if test "$with_gnu_ld" = no; then
   18179 	hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
   18180 	hardcode_libdir_separator_GCJ=:
   18181 
   18182 	case $host_cpu in
   18183 	hppa*64*|ia64*)
   18184 	  hardcode_libdir_flag_spec_ld_GCJ='+b $libdir'
   18185 	  hardcode_direct_GCJ=no
   18186 	  hardcode_shlibpath_var_GCJ=no
   18187 	  ;;
   18188 	*)
   18189 	  hardcode_direct_GCJ=yes
   18190 	  export_dynamic_flag_spec_GCJ='${wl}-E'
   18191 
   18192 	  # hardcode_minus_L: Not really in the search PATH,
   18193 	  # but as the default location of the library.
   18194 	  hardcode_minus_L_GCJ=yes
   18195 	  ;;
   18196 	esac
   18197       fi
   18198       ;;
   18199 
   18200     irix5* | irix6* | nonstopux*)
   18201       if test "$GCC" = yes; then
   18202 	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'
   18203       else
   18204 	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'
   18205 	hardcode_libdir_flag_spec_ld_GCJ='-rpath $libdir'
   18206       fi
   18207       hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
   18208       hardcode_libdir_separator_GCJ=:
   18209       link_all_deplibs_GCJ=yes
   18210       ;;
   18211 
   18212     netbsd*)
   18213       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   18214 	archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   18215       else
   18216 	archive_cmds_GCJ='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   18217       fi
   18218       hardcode_libdir_flag_spec_GCJ='-R$libdir'
   18219       hardcode_direct_GCJ=yes
   18220       hardcode_shlibpath_var_GCJ=no
   18221       ;;
   18222 
   18223     newsos6)
   18224       archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   18225       hardcode_direct_GCJ=yes
   18226       hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
   18227       hardcode_libdir_separator_GCJ=:
   18228       hardcode_shlibpath_var_GCJ=no
   18229       ;;
   18230 
   18231     openbsd*)
   18232       if test -f /usr/libexec/ld.so; then
   18233 	hardcode_direct_GCJ=yes
   18234 	hardcode_shlibpath_var_GCJ=no
   18235 	if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   18236 	  archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   18237 	  archive_expsym_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
   18238 	  hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
   18239 	  export_dynamic_flag_spec_GCJ='${wl}-E'
   18240 	else
   18241 	  case $host_os in
   18242 	   openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
   18243 	     archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   18244 	     hardcode_libdir_flag_spec_GCJ='-R$libdir'
   18245 	     ;;
   18246 	   *)
   18247 	     archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   18248 	     hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
   18249 	     ;;
   18250 	  esac
   18251         fi
   18252       else
   18253 	ld_shlibs_GCJ=no
   18254       fi
   18255       ;;
   18256 
   18257     os2*)
   18258       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   18259       hardcode_minus_L_GCJ=yes
   18260       allow_undefined_flag_GCJ=unsupported
   18261       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'
   18262       old_archive_From_new_cmds_GCJ='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
   18263       ;;
   18264 
   18265     osf3*)
   18266       if test "$GCC" = yes; then
   18267 	allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
   18268 	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'
   18269       else
   18270 	allow_undefined_flag_GCJ=' -expect_unresolved \*'
   18271 	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'
   18272       fi
   18273       hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
   18274       hardcode_libdir_separator_GCJ=:
   18275       ;;
   18276 
   18277     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   18278       if test "$GCC" = yes; then
   18279 	allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
   18280 	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'
   18281 	hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
   18282       else
   18283 	allow_undefined_flag_GCJ=' -expect_unresolved \*'
   18284 	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'
   18285 	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~
   18286 	$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'
   18287 
   18288 	# Both c and cxx compiler support -rpath directly
   18289 	hardcode_libdir_flag_spec_GCJ='-rpath $libdir'
   18290       fi
   18291       hardcode_libdir_separator_GCJ=:
   18292       ;;
   18293 
   18294     solaris*)
   18295       no_undefined_flag_GCJ=' -z text'
   18296       if test "$GCC" = yes; then
   18297 	wlarc='${wl}'
   18298 	archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   18299 	archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   18300 	  $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
   18301       else
   18302 	wlarc=''
   18303 	archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
   18304 	archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   18305   	$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
   18306       fi
   18307       hardcode_libdir_flag_spec_GCJ='-R$libdir'
   18308       hardcode_shlibpath_var_GCJ=no
   18309       case $host_os in
   18310       solaris2.[0-5] | solaris2.[0-5].*) ;;
   18311       *)
   18312 	# The compiler driver will combine and reorder linker options,
   18313 	# but understands `-z linker_flag'.  GCC discards it without `$wl',
   18314 	# but is careful enough not to reorder.
   18315  	# Supported since Solaris 2.6 (maybe 2.5.1?)
   18316 	if test "$GCC" = yes; then
   18317 	  whole_archive_flag_spec_GCJ='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
   18318 	else
   18319 	  whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract'
   18320 	fi
   18321 	;;
   18322       esac
   18323       link_all_deplibs_GCJ=yes
   18324       ;;
   18325 
   18326     sunos4*)
   18327       if test "x$host_vendor" = xsequent; then
   18328 	# Use $CC to link under sequent, because it throws in some extra .o
   18329 	# files that make .init and .fini sections work.
   18330 	archive_cmds_GCJ='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   18331       else
   18332 	archive_cmds_GCJ='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   18333       fi
   18334       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   18335       hardcode_direct_GCJ=yes
   18336       hardcode_minus_L_GCJ=yes
   18337       hardcode_shlibpath_var_GCJ=no
   18338       ;;
   18339 
   18340     sysv4)
   18341       case $host_vendor in
   18342 	sni)
   18343 	  archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   18344 	  hardcode_direct_GCJ=yes # is this really true???
   18345 	;;
   18346 	siemens)
   18347 	  ## LD is ld it makes a PLAMLIB
   18348 	  ## CC just makes a GrossModule.
   18349 	  archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   18350 	  reload_cmds_GCJ='$CC -r -o $output$reload_objs'
   18351 	  hardcode_direct_GCJ=no
   18352         ;;
   18353 	motorola)
   18354 	  archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   18355 	  hardcode_direct_GCJ=no #Motorola manual says yes, but my tests say they lie
   18356 	;;
   18357       esac
   18358       runpath_var='LD_RUN_PATH'
   18359       hardcode_shlibpath_var_GCJ=no
   18360       ;;
   18361 
   18362     sysv4.3*)
   18363       archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   18364       hardcode_shlibpath_var_GCJ=no
   18365       export_dynamic_flag_spec_GCJ='-Bexport'
   18366       ;;
   18367 
   18368     sysv4*MP*)
   18369       if test -d /usr/nec; then
   18370 	archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   18371 	hardcode_shlibpath_var_GCJ=no
   18372 	runpath_var=LD_RUN_PATH
   18373 	hardcode_runpath_var=yes
   18374 	ld_shlibs_GCJ=yes
   18375       fi
   18376       ;;
   18377 
   18378     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   18379       no_undefined_flag_GCJ='${wl}-z,text'
   18380       archive_cmds_need_lc_GCJ=no
   18381       hardcode_shlibpath_var_GCJ=no
   18382       runpath_var='LD_RUN_PATH'
   18383 
   18384       if test "$GCC" = yes; then
   18385 	archive_cmds_GCJ='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   18386 	archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   18387       else
   18388 	archive_cmds_GCJ='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   18389 	archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   18390       fi
   18391       ;;
   18392 
   18393     sysv5* | sco3.2v5* | sco5v6*)
   18394       # Note: We can NOT use -z defs as we might desire, because we do not
   18395       # link with -lc, and that would cause any symbols used from libc to
   18396       # always be unresolved, which means just about no library would
   18397       # ever link correctly.  If we're not using GNU ld we use -z text
   18398       # though, which does catch some bad symbols but isn't as heavy-handed
   18399       # as -z defs.
   18400       no_undefined_flag_GCJ='${wl}-z,text'
   18401       allow_undefined_flag_GCJ='${wl}-z,nodefs'
   18402       archive_cmds_need_lc_GCJ=no
   18403       hardcode_shlibpath_var_GCJ=no
   18404       hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
   18405       hardcode_libdir_separator_GCJ=':'
   18406       link_all_deplibs_GCJ=yes
   18407       export_dynamic_flag_spec_GCJ='${wl}-Bexport'
   18408       runpath_var='LD_RUN_PATH'
   18409 
   18410       if test "$GCC" = yes; then
   18411 	archive_cmds_GCJ='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   18412 	archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   18413       else
   18414 	archive_cmds_GCJ='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   18415 	archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   18416       fi
   18417       ;;
   18418 
   18419     uts4*)
   18420       archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   18421       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   18422       hardcode_shlibpath_var_GCJ=no
   18423       ;;
   18424 
   18425     *)
   18426       ld_shlibs_GCJ=no
   18427       ;;
   18428     esac
   18429   fi
   18430 
   18431 { $as_echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
   18432 $as_echo "$ld_shlibs_GCJ" >&6; }
   18433 test "$ld_shlibs_GCJ" = no && can_build_shared=no
   18434 
   18435 #
   18436 # Do we need to explicitly link libc?
   18437 #
   18438 case "x$archive_cmds_need_lc_GCJ" in
   18439 x|xyes)
   18440   # Assume -lc should be added
   18441   archive_cmds_need_lc_GCJ=yes
   18442 
   18443   if test "$enable_shared" = yes && test "$GCC" = yes; then
   18444     case $archive_cmds_GCJ in
   18445     *'~'*)
   18446       # FIXME: we may have to deal with multi-command sequences.
   18447       ;;
   18448     '$CC '*)
   18449       # Test whether the compiler implicitly links with -lc since on some
   18450       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   18451       # to ld, don't add -lc before -lgcc.
   18452       { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
   18453 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
   18454       $rm conftest*
   18455       echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   18456 
   18457       if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   18458   (eval $ac_compile) 2>&5
   18459   ac_status=$?
   18460   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   18461   (exit $ac_status); } 2>conftest.err; then
   18462         soname=conftest
   18463         lib=conftest
   18464         libobjs=conftest.$ac_objext
   18465         deplibs=
   18466         wl=$lt_prog_compiler_wl_GCJ
   18467 	pic_flag=$lt_prog_compiler_pic_GCJ
   18468         compiler_flags=-v
   18469         linker_flags=-v
   18470         verstring=
   18471         output_objdir=.
   18472         libname=conftest
   18473         lt_save_allow_undefined_flag=$allow_undefined_flag_GCJ
   18474         allow_undefined_flag_GCJ=
   18475         if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
   18476   (eval $archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
   18477   ac_status=$?
   18478   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   18479   (exit $ac_status); }
   18480         then
   18481 	  archive_cmds_need_lc_GCJ=no
   18482         else
   18483 	  archive_cmds_need_lc_GCJ=yes
   18484         fi
   18485         allow_undefined_flag_GCJ=$lt_save_allow_undefined_flag
   18486       else
   18487         cat conftest.err 1>&5
   18488       fi
   18489       $rm conftest*
   18490       { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
   18491 $as_echo "$archive_cmds_need_lc_GCJ" >&6; }
   18492       ;;
   18493     esac
   18494   fi
   18495   ;;
   18496 esac
   18497 
   18498 { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
   18499 $as_echo_n "checking dynamic linker characteristics... " >&6; }
   18500 library_names_spec=
   18501 libname_spec='lib$name'
   18502 soname_spec=
   18503 shrext_cmds=".so"
   18504 postinstall_cmds=
   18505 postuninstall_cmds=
   18506 finish_cmds=
   18507 finish_eval=
   18508 shlibpath_var=
   18509 shlibpath_overrides_runpath=unknown
   18510 version_type=none
   18511 dynamic_linker="$host_os ld.so"
   18512 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   18513 
   18514 need_lib_prefix=unknown
   18515 hardcode_into_libs=no
   18516 
   18517 # when you set need_version to no, make sure it does not cause -set_version
   18518 # flags to be left without arguments
   18519 need_version=unknown
   18520 
   18521 case $host_os in
   18522 aix3*)
   18523   version_type=linux
   18524   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   18525   shlibpath_var=LIBPATH
   18526 
   18527   # AIX 3 has no versioning support, so we append a major version to the name.
   18528   soname_spec='${libname}${release}${shared_ext}$major'
   18529   ;;
   18530 
   18531 aix[4-9]*)
   18532   version_type=linux
   18533   need_lib_prefix=no
   18534   need_version=no
   18535   hardcode_into_libs=yes
   18536   if test "$host_cpu" = ia64; then
   18537     # AIX 5 supports IA64
   18538     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
   18539     shlibpath_var=LD_LIBRARY_PATH
   18540   else
   18541     # With GCC up to 2.95.x, collect2 would create an import file
   18542     # for dependence libraries.  The import file would start with
   18543     # the line `#! .'.  This would cause the generated library to
   18544     # depend on `.', always an invalid library.  This was fixed in
   18545     # development snapshots of GCC prior to 3.0.
   18546     case $host_os in
   18547       aix4 | aix4.[01] | aix4.[01].*)
   18548       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   18549 	   echo ' yes '
   18550 	   echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
   18551 	:
   18552       else
   18553 	can_build_shared=no
   18554       fi
   18555       ;;
   18556     esac
   18557     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
   18558     # soname into executable. Probably we can add versioning support to
   18559     # collect2, so additional links can be useful in future.
   18560     if test "$aix_use_runtimelinking" = yes; then
   18561       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   18562       # instead of lib<name>.a to let people know that these are not
   18563       # typical AIX shared libraries.
   18564       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18565     else
   18566       # We preserve .a as extension for shared libraries through AIX4.2
   18567       # and later when we are not doing run time linking.
   18568       library_names_spec='${libname}${release}.a $libname.a'
   18569       soname_spec='${libname}${release}${shared_ext}$major'
   18570     fi
   18571     shlibpath_var=LIBPATH
   18572   fi
   18573   ;;
   18574 
   18575 amigaos*)
   18576   library_names_spec='$libname.ixlibrary $libname.a'
   18577   # Create ${libname}_ixlibrary.a entries in /sys/libs.
   18578   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'
   18579   ;;
   18580 
   18581 beos*)
   18582   library_names_spec='${libname}${shared_ext}'
   18583   dynamic_linker="$host_os ld.so"
   18584   shlibpath_var=LIBRARY_PATH
   18585   ;;
   18586 
   18587 bsdi[45]*)
   18588   version_type=linux
   18589   need_version=no
   18590   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18591   soname_spec='${libname}${release}${shared_ext}$major'
   18592   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   18593   shlibpath_var=LD_LIBRARY_PATH
   18594   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   18595   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   18596   # the default ld.so.conf also contains /usr/contrib/lib and
   18597   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   18598   # libtool to hard-code these into programs
   18599   ;;
   18600 
   18601 cygwin* | mingw* | pw32*)
   18602   version_type=windows
   18603   shrext_cmds=".dll"
   18604   need_version=no
   18605   need_lib_prefix=no
   18606 
   18607   case $GCC,$host_os in
   18608   yes,cygwin* | yes,mingw* | yes,pw32*)
   18609     library_names_spec='$libname.dll.a'
   18610     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   18611     postinstall_cmds='base_file=`basename \${file}`~
   18612       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
   18613       dldir=$destdir/`dirname \$dlpath`~
   18614       test -d \$dldir || mkdir -p \$dldir~
   18615       $install_prog $dir/$dlname \$dldir/$dlname~
   18616       chmod a+x \$dldir/$dlname'
   18617     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   18618       dlpath=$dir/\$dldll~
   18619        $rm \$dlpath'
   18620     shlibpath_overrides_runpath=yes
   18621 
   18622     case $host_os in
   18623     cygwin*)
   18624       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   18625       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   18626       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
   18627       ;;
   18628     mingw*)
   18629       # MinGW DLLs use traditional 'lib' prefix
   18630       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   18631       sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   18632       if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
   18633         # It is most probably a Windows format PATH printed by
   18634         # mingw gcc, but we are running on Cygwin. Gcc prints its search
   18635         # path with ; separators, and with drive letters. We can handle the
   18636         # drive letters (cygwin fileutils understands them), so leave them,
   18637         # especially as we might pass files found there to a mingw objdump,
   18638         # which wouldn't understand a cygwinified path. Ahh.
   18639         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   18640       else
   18641         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   18642       fi
   18643       ;;
   18644     pw32*)
   18645       # pw32 DLLs use 'pw' prefix rather than 'lib'
   18646       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   18647       ;;
   18648     esac
   18649     ;;
   18650 
   18651   *)
   18652     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
   18653     ;;
   18654   esac
   18655   dynamic_linker='Win32 ld.exe'
   18656   # FIXME: first we should search . and the directory the executable is in
   18657   shlibpath_var=PATH
   18658   ;;
   18659 
   18660 darwin* | rhapsody*)
   18661   dynamic_linker="$host_os dyld"
   18662   version_type=darwin
   18663   need_lib_prefix=no
   18664   need_version=no
   18665   library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
   18666   soname_spec='${libname}${release}${major}$shared_ext'
   18667   shlibpath_overrides_runpath=yes
   18668   shlibpath_var=DYLD_LIBRARY_PATH
   18669   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   18670 
   18671   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   18672   ;;
   18673 
   18674 dgux*)
   18675   version_type=linux
   18676   need_lib_prefix=no
   18677   need_version=no
   18678   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
   18679   soname_spec='${libname}${release}${shared_ext}$major'
   18680   shlibpath_var=LD_LIBRARY_PATH
   18681   ;;
   18682 
   18683 freebsd1*)
   18684   dynamic_linker=no
   18685   ;;
   18686 
   18687 freebsd* | dragonfly*)
   18688   # DragonFly does not have aout.  When/if they implement a new
   18689   # versioning mechanism, adjust this.
   18690   if test -x /usr/bin/objformat; then
   18691     objformat=`/usr/bin/objformat`
   18692   else
   18693     case $host_os in
   18694     freebsd[123]*) objformat=aout ;;
   18695     *) objformat=elf ;;
   18696     esac
   18697   fi
   18698   version_type=freebsd-$objformat
   18699   case $version_type in
   18700     freebsd-elf*)
   18701       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   18702       need_version=no
   18703       need_lib_prefix=no
   18704       ;;
   18705     freebsd-*)
   18706       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
   18707       need_version=yes
   18708       ;;
   18709   esac
   18710   shlibpath_var=LD_LIBRARY_PATH
   18711   case $host_os in
   18712   freebsd2*)
   18713     shlibpath_overrides_runpath=yes
   18714     ;;
   18715   freebsd3.[01]* | freebsdelf3.[01]*)
   18716     shlibpath_overrides_runpath=yes
   18717     hardcode_into_libs=yes
   18718     ;;
   18719   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   18720   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   18721     shlibpath_overrides_runpath=no
   18722     hardcode_into_libs=yes
   18723     ;;
   18724   *) # from 4.6 on, and DragonFly
   18725     shlibpath_overrides_runpath=yes
   18726     hardcode_into_libs=yes
   18727     ;;
   18728   esac
   18729   ;;
   18730 
   18731 gnu*)
   18732   version_type=linux
   18733   need_lib_prefix=no
   18734   need_version=no
   18735   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   18736   soname_spec='${libname}${release}${shared_ext}$major'
   18737   shlibpath_var=LD_LIBRARY_PATH
   18738   hardcode_into_libs=yes
   18739   ;;
   18740 
   18741 hpux9* | hpux10* | hpux11*)
   18742   # Give a soname corresponding to the major version so that dld.sl refuses to
   18743   # link against other versions.
   18744   version_type=sunos
   18745   need_lib_prefix=no
   18746   need_version=no
   18747   case $host_cpu in
   18748   ia64*)
   18749     shrext_cmds='.so'
   18750     hardcode_into_libs=yes
   18751     dynamic_linker="$host_os dld.so"
   18752     shlibpath_var=LD_LIBRARY_PATH
   18753     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   18754     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18755     soname_spec='${libname}${release}${shared_ext}$major'
   18756     if test "X$HPUX_IA64_MODE" = X32; then
   18757       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   18758     else
   18759       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   18760     fi
   18761     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   18762     ;;
   18763    hppa*64*)
   18764      shrext_cmds='.sl'
   18765      hardcode_into_libs=yes
   18766      dynamic_linker="$host_os dld.sl"
   18767      shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   18768      shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   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      sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   18772      sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   18773      ;;
   18774    *)
   18775     shrext_cmds='.sl'
   18776     dynamic_linker="$host_os dld.sl"
   18777     shlibpath_var=SHLIB_PATH
   18778     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   18779     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18780     soname_spec='${libname}${release}${shared_ext}$major'
   18781     ;;
   18782   esac
   18783   # HP-UX runs *really* slowly unless shared libraries are mode 555.
   18784   postinstall_cmds='chmod 555 $lib'
   18785   ;;
   18786 
   18787 interix[3-9]*)
   18788   version_type=linux
   18789   need_lib_prefix=no
   18790   need_version=no
   18791   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   18792   soname_spec='${libname}${release}${shared_ext}$major'
   18793   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   18794   shlibpath_var=LD_LIBRARY_PATH
   18795   shlibpath_overrides_runpath=no
   18796   hardcode_into_libs=yes
   18797   ;;
   18798 
   18799 irix5* | irix6* | nonstopux*)
   18800   case $host_os in
   18801     nonstopux*) version_type=nonstopux ;;
   18802     *)
   18803 	if test "$lt_cv_prog_gnu_ld" = yes; then
   18804 		version_type=linux
   18805 	else
   18806 		version_type=irix
   18807 	fi ;;
   18808   esac
   18809   need_lib_prefix=no
   18810   need_version=no
   18811   soname_spec='${libname}${release}${shared_ext}$major'
   18812   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
   18813   case $host_os in
   18814   irix5* | nonstopux*)
   18815     libsuff= shlibsuff=
   18816     ;;
   18817   *)
   18818     case $LD in # libtool.m4 will add one of these switches to LD
   18819     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   18820       libsuff= shlibsuff= libmagic=32-bit;;
   18821     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   18822       libsuff=32 shlibsuff=N32 libmagic=N32;;
   18823     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   18824       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   18825     *) libsuff= shlibsuff= libmagic=never-match;;
   18826     esac
   18827     ;;
   18828   esac
   18829   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   18830   shlibpath_overrides_runpath=no
   18831   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   18832   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   18833   hardcode_into_libs=yes
   18834   ;;
   18835 
   18836 # No shared lib support for Linux oldld, aout, or coff.
   18837 linux*oldld* | linux*aout* | linux*coff*)
   18838   dynamic_linker=no
   18839   ;;
   18840 
   18841 # This must be Linux ELF.
   18842 linux* | k*bsd*-gnu)
   18843   version_type=linux
   18844   need_lib_prefix=no
   18845   need_version=no
   18846   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18847   soname_spec='${libname}${release}${shared_ext}$major'
   18848   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   18849   shlibpath_var=LD_LIBRARY_PATH
   18850   shlibpath_overrides_runpath=no
   18851   # This implies no fast_install, which is unacceptable.
   18852   # Some rework will be needed to allow for fast_install
   18853   # before this can be enabled.
   18854   hardcode_into_libs=yes
   18855 
   18856   # Append ld.so.conf contents to the search path
   18857   if test -f /etc/ld.so.conf; then
   18858     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' ' '`
   18859     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   18860   fi
   18861 
   18862   # We used to test for /lib/ld.so.1 and disable shared libraries on
   18863   # powerpc, because MkLinux only supported shared libraries with the
   18864   # GNU dynamic linker.  Since this was broken with cross compilers,
   18865   # most powerpc-linux boxes support dynamic linking these days and
   18866   # people can always --disable-shared, the test was removed, and we
   18867   # assume the GNU/Linux dynamic linker is in use.
   18868   dynamic_linker='GNU/Linux ld.so'
   18869   ;;
   18870 
   18871 netbsd*)
   18872   version_type=sunos
   18873   need_lib_prefix=no
   18874   need_version=no
   18875   if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   18876     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   18877     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   18878     dynamic_linker='NetBSD (a.out) ld.so'
   18879   else
   18880     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   18881     soname_spec='${libname}${release}${shared_ext}$major'
   18882     dynamic_linker='NetBSD ld.elf_so'
   18883   fi
   18884   shlibpath_var=LD_LIBRARY_PATH
   18885   shlibpath_overrides_runpath=yes
   18886   hardcode_into_libs=yes
   18887   ;;
   18888 
   18889 newsos6)
   18890   version_type=linux
   18891   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18892   shlibpath_var=LD_LIBRARY_PATH
   18893   shlibpath_overrides_runpath=yes
   18894   ;;
   18895 
   18896 nto-qnx*)
   18897   version_type=linux
   18898   need_lib_prefix=no
   18899   need_version=no
   18900   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18901   soname_spec='${libname}${release}${shared_ext}$major'
   18902   shlibpath_var=LD_LIBRARY_PATH
   18903   shlibpath_overrides_runpath=yes
   18904   ;;
   18905 
   18906 openbsd*)
   18907   version_type=sunos
   18908   sys_lib_dlsearch_path_spec="/usr/lib"
   18909   need_lib_prefix=no
   18910   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
   18911   case $host_os in
   18912     openbsd3.3 | openbsd3.3.*) need_version=yes ;;
   18913     *)                         need_version=no  ;;
   18914   esac
   18915   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   18916   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   18917   shlibpath_var=LD_LIBRARY_PATH
   18918   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   18919     case $host_os in
   18920       openbsd2.[89] | openbsd2.[89].*)
   18921 	shlibpath_overrides_runpath=no
   18922 	;;
   18923       *)
   18924 	shlibpath_overrides_runpath=yes
   18925 	;;
   18926       esac
   18927   else
   18928     shlibpath_overrides_runpath=yes
   18929   fi
   18930   ;;
   18931 
   18932 os2*)
   18933   libname_spec='$name'
   18934   shrext_cmds=".dll"
   18935   need_lib_prefix=no
   18936   library_names_spec='$libname${shared_ext} $libname.a'
   18937   dynamic_linker='OS/2 ld.exe'
   18938   shlibpath_var=LIBPATH
   18939   ;;
   18940 
   18941 osf3* | osf4* | osf5*)
   18942   version_type=osf
   18943   need_lib_prefix=no
   18944   need_version=no
   18945   soname_spec='${libname}${release}${shared_ext}$major'
   18946   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18947   shlibpath_var=LD_LIBRARY_PATH
   18948   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   18949   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   18950   ;;
   18951 
   18952 rdos*)
   18953   dynamic_linker=no
   18954   ;;
   18955 
   18956 solaris*)
   18957   version_type=linux
   18958   need_lib_prefix=no
   18959   need_version=no
   18960   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18961   soname_spec='${libname}${release}${shared_ext}$major'
   18962   shlibpath_var=LD_LIBRARY_PATH
   18963   shlibpath_overrides_runpath=yes
   18964   hardcode_into_libs=yes
   18965   # ldd complains unless libraries are executable
   18966   postinstall_cmds='chmod +x $lib'
   18967   ;;
   18968 
   18969 sunos4*)
   18970   version_type=sunos
   18971   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   18972   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   18973   shlibpath_var=LD_LIBRARY_PATH
   18974   shlibpath_overrides_runpath=yes
   18975   if test "$with_gnu_ld" = yes; then
   18976     need_lib_prefix=no
   18977   fi
   18978   need_version=yes
   18979   ;;
   18980 
   18981 sysv4 | sysv4.3*)
   18982   version_type=linux
   18983   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18984   soname_spec='${libname}${release}${shared_ext}$major'
   18985   shlibpath_var=LD_LIBRARY_PATH
   18986   case $host_vendor in
   18987     sni)
   18988       shlibpath_overrides_runpath=no
   18989       need_lib_prefix=no
   18990       export_dynamic_flag_spec='${wl}-Blargedynsym'
   18991       runpath_var=LD_RUN_PATH
   18992       ;;
   18993     siemens)
   18994       need_lib_prefix=no
   18995       ;;
   18996     motorola)
   18997       need_lib_prefix=no
   18998       need_version=no
   18999       shlibpath_overrides_runpath=no
   19000       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   19001       ;;
   19002   esac
   19003   ;;
   19004 
   19005 sysv4*MP*)
   19006   if test -d /usr/nec ;then
   19007     version_type=linux
   19008     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
   19009     soname_spec='$libname${shared_ext}.$major'
   19010     shlibpath_var=LD_LIBRARY_PATH
   19011   fi
   19012   ;;
   19013 
   19014 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   19015   version_type=freebsd-elf
   19016   need_lib_prefix=no
   19017   need_version=no
   19018   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   19019   soname_spec='${libname}${release}${shared_ext}$major'
   19020   shlibpath_var=LD_LIBRARY_PATH
   19021   hardcode_into_libs=yes
   19022   if test "$with_gnu_ld" = yes; then
   19023     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   19024     shlibpath_overrides_runpath=no
   19025   else
   19026     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   19027     shlibpath_overrides_runpath=yes
   19028     case $host_os in
   19029       sco3.2v5*)
   19030         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   19031 	;;
   19032     esac
   19033   fi
   19034   sys_lib_dlsearch_path_spec='/usr/lib'
   19035   ;;
   19036 
   19037 uts4*)
   19038   version_type=linux
   19039   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   19040   soname_spec='${libname}${release}${shared_ext}$major'
   19041   shlibpath_var=LD_LIBRARY_PATH
   19042   ;;
   19043 
   19044 *)
   19045   dynamic_linker=no
   19046   ;;
   19047 esac
   19048 { $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
   19049 $as_echo "$dynamic_linker" >&6; }
   19050 test "$dynamic_linker" = no && can_build_shared=no
   19051 
   19052 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
   19053   $as_echo_n "(cached) " >&6
   19054 else
   19055   lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
   19056 fi
   19057 
   19058 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
   19059 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
   19060   $as_echo_n "(cached) " >&6
   19061 else
   19062   lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
   19063 fi
   19064 
   19065 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
   19066 
   19067 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   19068 if test "$GCC" = yes; then
   19069   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   19070 fi
   19071 
   19072 { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
   19073 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
   19074 hardcode_action_GCJ=
   19075 if test -n "$hardcode_libdir_flag_spec_GCJ" || \
   19076    test -n "$runpath_var_GCJ" || \
   19077    test "X$hardcode_automatic_GCJ" = "Xyes" ; then
   19078 
   19079   # We can hardcode non-existant directories.
   19080   if test "$hardcode_direct_GCJ" != no &&
   19081      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   19082      # have to relink, otherwise we might link with an installed library
   19083      # when we should be linking with a yet-to-be-installed one
   19084      ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
   19085      test "$hardcode_minus_L_GCJ" != no; then
   19086     # Linking always hardcodes the temporary library directory.
   19087     hardcode_action_GCJ=relink
   19088   else
   19089     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   19090     hardcode_action_GCJ=immediate
   19091   fi
   19092 else
   19093   # We cannot hardcode anything, or else we can only hardcode existing
   19094   # directories.
   19095   hardcode_action_GCJ=unsupported
   19096 fi
   19097 { $as_echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
   19098 $as_echo "$hardcode_action_GCJ" >&6; }
   19099 
   19100 if test "$hardcode_action_GCJ" = relink; then
   19101   # Fast installation is not supported
   19102   enable_fast_install=no
   19103 elif test "$shlibpath_overrides_runpath" = yes ||
   19104      test "$enable_shared" = no; then
   19105   # Fast installation is not necessary
   19106   enable_fast_install=needless
   19107 fi
   19108 
   19109 
   19110 # The else clause should only fire when bootstrapping the
   19111 # libtool distribution, otherwise you forgot to ship ltmain.sh
   19112 # with your package, and you will get complaints that there are
   19113 # no rules to generate ltmain.sh.
   19114 if test -f "$ltmain"; then
   19115   # See if we are running on zsh, and set the options which allow our commands through
   19116   # without removal of \ escapes.
   19117   if test -n "${ZSH_VERSION+set}" ; then
   19118     setopt NO_GLOB_SUBST
   19119   fi
   19120   # Now quote all the things that may contain metacharacters while being
   19121   # careful not to overquote the AC_SUBSTed values.  We take copies of the
   19122   # variables and quote the copies for generation of the libtool script.
   19123   for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
   19124     SED SHELL STRIP \
   19125     libname_spec library_names_spec soname_spec extract_expsyms_cmds \
   19126     old_striplib striplib file_magic_cmd finish_cmds finish_eval \
   19127     deplibs_check_method reload_flag reload_cmds need_locks \
   19128     lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
   19129     lt_cv_sys_global_symbol_to_c_name_address \
   19130     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
   19131     old_postinstall_cmds old_postuninstall_cmds \
   19132     compiler_GCJ \
   19133     CC_GCJ \
   19134     LD_GCJ \
   19135     lt_prog_compiler_wl_GCJ \
   19136     lt_prog_compiler_pic_GCJ \
   19137     lt_prog_compiler_static_GCJ \
   19138     lt_prog_compiler_no_builtin_flag_GCJ \
   19139     export_dynamic_flag_spec_GCJ \
   19140     thread_safe_flag_spec_GCJ \
   19141     whole_archive_flag_spec_GCJ \
   19142     enable_shared_with_static_runtimes_GCJ \
   19143     old_archive_cmds_GCJ \
   19144     old_archive_from_new_cmds_GCJ \
   19145     predep_objects_GCJ \
   19146     postdep_objects_GCJ \
   19147     predeps_GCJ \
   19148     postdeps_GCJ \
   19149     compiler_lib_search_path_GCJ \
   19150     compiler_lib_search_dirs_GCJ \
   19151     archive_cmds_GCJ \
   19152     archive_expsym_cmds_GCJ \
   19153     postinstall_cmds_GCJ \
   19154     postuninstall_cmds_GCJ \
   19155     old_archive_from_expsyms_cmds_GCJ \
   19156     allow_undefined_flag_GCJ \
   19157     no_undefined_flag_GCJ \
   19158     export_symbols_cmds_GCJ \
   19159     hardcode_libdir_flag_spec_GCJ \
   19160     hardcode_libdir_flag_spec_ld_GCJ \
   19161     hardcode_libdir_separator_GCJ \
   19162     hardcode_automatic_GCJ \
   19163     module_cmds_GCJ \
   19164     module_expsym_cmds_GCJ \
   19165     lt_cv_prog_compiler_c_o_GCJ \
   19166     fix_srcfile_path_GCJ \
   19167     exclude_expsyms_GCJ \
   19168     include_expsyms_GCJ; do
   19169 
   19170     case $var in
   19171     old_archive_cmds_GCJ | \
   19172     old_archive_from_new_cmds_GCJ | \
   19173     archive_cmds_GCJ | \
   19174     archive_expsym_cmds_GCJ | \
   19175     module_cmds_GCJ | \
   19176     module_expsym_cmds_GCJ | \
   19177     old_archive_from_expsyms_cmds_GCJ | \
   19178     export_symbols_cmds_GCJ | \
   19179     extract_expsyms_cmds | reload_cmds | finish_cmds | \
   19180     postinstall_cmds | postuninstall_cmds | \
   19181     old_postinstall_cmds | old_postuninstall_cmds | \
   19182     sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
   19183       # Double-quote double-evaled strings.
   19184       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
   19185       ;;
   19186     *)
   19187       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
   19188       ;;
   19189     esac
   19190   done
   19191 
   19192   case $lt_echo in
   19193   *'\$0 --fallback-echo"')
   19194     lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
   19195     ;;
   19196   esac
   19197 
   19198 cfgfile="$ofile"
   19199 
   19200   cat <<__EOF__ >> "$cfgfile"
   19201 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
   19202 
   19203 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   19204 
   19205 # Shell to use when invoking shell scripts.
   19206 SHELL=$lt_SHELL
   19207 
   19208 # Whether or not to build shared libraries.
   19209 build_libtool_libs=$enable_shared
   19210 
   19211 # Whether or not to build static libraries.
   19212 build_old_libs=$enable_static
   19213 
   19214 # Whether or not to add -lc for building shared libraries.
   19215 build_libtool_need_lc=$archive_cmds_need_lc_GCJ
   19216 
   19217 # Whether or not to disallow shared libs when runtime libs are static
   19218 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
   19219 
   19220 # Whether or not to optimize for fast installation.
   19221 fast_install=$enable_fast_install
   19222 
   19223 # The host system.
   19224 host_alias=$host_alias
   19225 host=$host
   19226 host_os=$host_os
   19227 
   19228 # The build system.
   19229 build_alias=$build_alias
   19230 build=$build
   19231 build_os=$build_os
   19232 
   19233 # An echo program that does not interpret backslashes.
   19234 echo=$lt_echo
   19235 
   19236 # The archiver.
   19237 AR=$lt_AR
   19238 AR_FLAGS=$lt_AR_FLAGS
   19239 
   19240 # A C compiler.
   19241 LTCC=$lt_LTCC
   19242 
   19243 # LTCC compiler flags.
   19244 LTCFLAGS=$lt_LTCFLAGS
   19245 
   19246 # A language-specific compiler.
   19247 CC=$lt_compiler_GCJ
   19248 
   19249 # Is the compiler the GNU C compiler?
   19250 with_gcc=$GCC_GCJ
   19251 
   19252 # An ERE matcher.
   19253 EGREP=$lt_EGREP
   19254 
   19255 # The linker used to build libraries.
   19256 LD=$lt_LD_GCJ
   19257 
   19258 # Whether we need hard or soft links.
   19259 LN_S=$lt_LN_S
   19260 
   19261 # A BSD-compatible nm program.
   19262 NM=$lt_NM
   19263 
   19264 # A symbol stripping program
   19265 STRIP=$lt_STRIP
   19266 
   19267 # Used to examine libraries when file_magic_cmd begins "file"
   19268 MAGIC_CMD=$MAGIC_CMD
   19269 
   19270 # Used on cygwin: DLL creation program.
   19271 DLLTOOL="$DLLTOOL"
   19272 
   19273 # Used on cygwin: object dumper.
   19274 OBJDUMP="$OBJDUMP"
   19275 
   19276 # Used on cygwin: assembler.
   19277 AS="$AS"
   19278 
   19279 # The name of the directory that contains temporary libtool files.
   19280 objdir=$objdir
   19281 
   19282 # How to create reloadable object files.
   19283 reload_flag=$lt_reload_flag
   19284 reload_cmds=$lt_reload_cmds
   19285 
   19286 # How to pass a linker flag through the compiler.
   19287 wl=$lt_lt_prog_compiler_wl_GCJ
   19288 
   19289 # Object file suffix (normally "o").
   19290 objext="$ac_objext"
   19291 
   19292 # Old archive suffix (normally "a").
   19293 libext="$libext"
   19294 
   19295 # Shared library suffix (normally ".so").
   19296 shrext_cmds='$shrext_cmds'
   19297 
   19298 # Executable file suffix (normally "").
   19299 exeext="$exeext"
   19300 
   19301 # Additional compiler flags for building library objects.
   19302 pic_flag=$lt_lt_prog_compiler_pic_GCJ
   19303 pic_mode=$pic_mode
   19304 
   19305 # What is the maximum length of a command?
   19306 max_cmd_len=$lt_cv_sys_max_cmd_len
   19307 
   19308 # Does compiler simultaneously support -c and -o options?
   19309 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
   19310 
   19311 # Must we lock files when doing compilation?
   19312 need_locks=$lt_need_locks
   19313 
   19314 # Do we need the lib prefix for modules?
   19315 need_lib_prefix=$need_lib_prefix
   19316 
   19317 # Do we need a version for libraries?
   19318 need_version=$need_version
   19319 
   19320 # Whether dlopen is supported.
   19321 dlopen_support=$enable_dlopen
   19322 
   19323 # Whether dlopen of programs is supported.
   19324 dlopen_self=$enable_dlopen_self
   19325 
   19326 # Whether dlopen of statically linked programs is supported.
   19327 dlopen_self_static=$enable_dlopen_self_static
   19328 
   19329 # Compiler flag to prevent dynamic linking.
   19330 link_static_flag=$lt_lt_prog_compiler_static_GCJ
   19331 
   19332 # Compiler flag to turn off builtin functions.
   19333 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
   19334 
   19335 # Compiler flag to allow reflexive dlopens.
   19336 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
   19337 
   19338 # Compiler flag to generate shared objects directly from archives.
   19339 whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
   19340 
   19341 # Compiler flag to generate thread-safe objects.
   19342 thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
   19343 
   19344 # Library versioning type.
   19345 version_type=$version_type
   19346 
   19347 # Format of library name prefix.
   19348 libname_spec=$lt_libname_spec
   19349 
   19350 # List of archive names.  First name is the real one, the rest are links.
   19351 # The last name is the one that the linker finds with -lNAME.
   19352 library_names_spec=$lt_library_names_spec
   19353 
   19354 # The coded name of the library, if different from the real name.
   19355 soname_spec=$lt_soname_spec
   19356 
   19357 # Commands used to build and install an old-style archive.
   19358 RANLIB=$lt_RANLIB
   19359 old_archive_cmds=$lt_old_archive_cmds_GCJ
   19360 old_postinstall_cmds=$lt_old_postinstall_cmds
   19361 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   19362 
   19363 # Create an old-style archive from a shared archive.
   19364 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
   19365 
   19366 # Create a temporary old-style archive to link instead of a shared archive.
   19367 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
   19368 
   19369 # Commands used to build and install a shared archive.
   19370 archive_cmds=$lt_archive_cmds_GCJ
   19371 archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
   19372 postinstall_cmds=$lt_postinstall_cmds
   19373 postuninstall_cmds=$lt_postuninstall_cmds
   19374 
   19375 # Commands used to build a loadable module (assumed same as above if empty)
   19376 module_cmds=$lt_module_cmds_GCJ
   19377 module_expsym_cmds=$lt_module_expsym_cmds_GCJ
   19378 
   19379 # Commands to strip libraries.
   19380 old_striplib=$lt_old_striplib
   19381 striplib=$lt_striplib
   19382 
   19383 # Dependencies to place before the objects being linked to create a
   19384 # shared library.
   19385 predep_objects=$lt_predep_objects_GCJ
   19386 
   19387 # Dependencies to place after the objects being linked to create a
   19388 # shared library.
   19389 postdep_objects=$lt_postdep_objects_GCJ
   19390 
   19391 # Dependencies to place before the objects being linked to create a
   19392 # shared library.
   19393 predeps=$lt_predeps_GCJ
   19394 
   19395 # Dependencies to place after the objects being linked to create a
   19396 # shared library.
   19397 postdeps=$lt_postdeps_GCJ
   19398 
   19399 # The directories searched by this compiler when creating a shared
   19400 # library
   19401 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_GCJ
   19402 
   19403 # The library search path used internally by the compiler when linking
   19404 # a shared library.
   19405 compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
   19406 
   19407 # Method to check whether dependent libraries are shared objects.
   19408 deplibs_check_method=$lt_deplibs_check_method
   19409 
   19410 # Command to use when deplibs_check_method == file_magic.
   19411 file_magic_cmd=$lt_file_magic_cmd
   19412 
   19413 # Flag that allows shared libraries with undefined symbols to be built.
   19414 allow_undefined_flag=$lt_allow_undefined_flag_GCJ
   19415 
   19416 # Flag that forces no undefined symbols.
   19417 no_undefined_flag=$lt_no_undefined_flag_GCJ
   19418 
   19419 # Commands used to finish a libtool library installation in a directory.
   19420 finish_cmds=$lt_finish_cmds
   19421 
   19422 # Same as above, but a single script fragment to be evaled but not shown.
   19423 finish_eval=$lt_finish_eval
   19424 
   19425 # Take the output of nm and produce a listing of raw symbols and C names.
   19426 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   19427 
   19428 # Transform the output of nm in a proper C declaration
   19429 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   19430 
   19431 # Transform the output of nm in a C name address pair
   19432 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   19433 
   19434 # This is the shared library runtime path variable.
   19435 runpath_var=$runpath_var
   19436 
   19437 # This is the shared library path variable.
   19438 shlibpath_var=$shlibpath_var
   19439 
   19440 # Is shlibpath searched before the hard-coded library search path?
   19441 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   19442 
   19443 # How to hardcode a shared library path into an executable.
   19444 hardcode_action=$hardcode_action_GCJ
   19445 
   19446 # Whether we should hardcode library paths into libraries.
   19447 hardcode_into_libs=$hardcode_into_libs
   19448 
   19449 # Flag to hardcode \$libdir into a binary during linking.
   19450 # This must work even if \$libdir does not exist.
   19451 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
   19452 
   19453 # If ld is used when linking, flag to hardcode \$libdir into
   19454 # a binary during linking. This must work even if \$libdir does
   19455 # not exist.
   19456 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
   19457 
   19458 # Whether we need a single -rpath flag with a separated argument.
   19459 hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
   19460 
   19461 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
   19462 # resulting binary.
   19463 hardcode_direct=$hardcode_direct_GCJ
   19464 
   19465 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
   19466 # resulting binary.
   19467 hardcode_minus_L=$hardcode_minus_L_GCJ
   19468 
   19469 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
   19470 # the resulting binary.
   19471 hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
   19472 
   19473 # Set to yes if building a shared library automatically hardcodes DIR into the library
   19474 # and all subsequent libraries and executables linked against it.
   19475 hardcode_automatic=$hardcode_automatic_GCJ
   19476 
   19477 # Variables whose values should be saved in libtool wrapper scripts and
   19478 # restored at relink time.
   19479 variables_saved_for_relink="$variables_saved_for_relink"
   19480 
   19481 # Whether libtool must link a program against all its dependency libraries.
   19482 link_all_deplibs=$link_all_deplibs_GCJ
   19483 
   19484 # Compile-time system search path for libraries
   19485 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   19486 
   19487 # Run-time system search path for libraries
   19488 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   19489 
   19490 # Fix the shell variable \$srcfile for the compiler.
   19491 fix_srcfile_path=$lt_fix_srcfile_path
   19492 
   19493 # Set to yes if exported symbols are required.
   19494 always_export_symbols=$always_export_symbols_GCJ
   19495 
   19496 # The commands to list exported symbols.
   19497 export_symbols_cmds=$lt_export_symbols_cmds_GCJ
   19498 
   19499 # The commands to extract the exported symbol list from a shared archive.
   19500 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   19501 
   19502 # Symbols that should not be listed in the preloaded symbols.
   19503 exclude_expsyms=$lt_exclude_expsyms_GCJ
   19504 
   19505 # Symbols that must always be exported.
   19506 include_expsyms=$lt_include_expsyms_GCJ
   19507 
   19508 # ### END LIBTOOL TAG CONFIG: $tagname
   19509 
   19510 __EOF__
   19511 
   19512 
   19513 else
   19514   # If there is no Makefile yet, we rely on a make rule to execute
   19515   # `config.status --recheck' to rerun these tests and create the
   19516   # libtool script then.
   19517   ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
   19518   if test -f "$ltmain_in"; then
   19519     test -f Makefile && make "$ltmain"
   19520   fi
   19521 fi
   19522 
   19523 
   19524 ac_ext=c
   19525 ac_cpp='$CPP $CPPFLAGS'
   19526 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   19527 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   19528 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   19529 
   19530 CC="$lt_save_CC"
   19531 
   19532 	else
   19533 	  tagname=""
   19534 	fi
   19535 	;;
   19536 
   19537       RC)
   19538 
   19539 
   19540 # Source file extension for RC test sources.
   19541 ac_ext=rc
   19542 
   19543 # Object file extension for compiled RC test sources.
   19544 objext=o
   19545 objext_RC=$objext
   19546 
   19547 # Code to be used in simple compile tests
   19548 lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }'
   19549 
   19550 # Code to be used in simple link tests
   19551 lt_simple_link_test_code="$lt_simple_compile_test_code"
   19552 
   19553 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
   19554 
   19555 # If no C compiler was specified, use CC.
   19556 LTCC=${LTCC-"$CC"}
   19557 
   19558 # If no C compiler flags were specified, use CFLAGS.
   19559 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   19560 
   19561 # Allow CC to be a program name with arguments.
   19562 compiler=$CC
   19563 
   19564 
   19565 # save warnings/boilerplate of simple test code
   19566 ac_outfile=conftest.$ac_objext
   19567 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   19568 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   19569 _lt_compiler_boilerplate=`cat conftest.err`
   19570 $rm conftest*
   19571 
   19572 ac_outfile=conftest.$ac_objext
   19573 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   19574 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   19575 _lt_linker_boilerplate=`cat conftest.err`
   19576 $rm -r conftest*
   19577 
   19578 
   19579 # Allow CC to be a program name with arguments.
   19580 lt_save_CC="$CC"
   19581 CC=${RC-"windres"}
   19582 compiler=$CC
   19583 compiler_RC=$CC
   19584 for cc_temp in $compiler""; do
   19585   case $cc_temp in
   19586     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   19587     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   19588     \-*) ;;
   19589     *) break;;
   19590   esac
   19591 done
   19592 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   19593 
   19594 lt_cv_prog_compiler_c_o_RC=yes
   19595 
   19596 # The else clause should only fire when bootstrapping the
   19597 # libtool distribution, otherwise you forgot to ship ltmain.sh
   19598 # with your package, and you will get complaints that there are
   19599 # no rules to generate ltmain.sh.
   19600 if test -f "$ltmain"; then
   19601   # See if we are running on zsh, and set the options which allow our commands through
   19602   # without removal of \ escapes.
   19603   if test -n "${ZSH_VERSION+set}" ; then
   19604     setopt NO_GLOB_SUBST
   19605   fi
   19606   # Now quote all the things that may contain metacharacters while being
   19607   # careful not to overquote the AC_SUBSTed values.  We take copies of the
   19608   # variables and quote the copies for generation of the libtool script.
   19609   for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
   19610     SED SHELL STRIP \
   19611     libname_spec library_names_spec soname_spec extract_expsyms_cmds \
   19612     old_striplib striplib file_magic_cmd finish_cmds finish_eval \
   19613     deplibs_check_method reload_flag reload_cmds need_locks \
   19614     lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
   19615     lt_cv_sys_global_symbol_to_c_name_address \
   19616     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
   19617     old_postinstall_cmds old_postuninstall_cmds \
   19618     compiler_RC \
   19619     CC_RC \
   19620     LD_RC \
   19621     lt_prog_compiler_wl_RC \
   19622     lt_prog_compiler_pic_RC \
   19623     lt_prog_compiler_static_RC \
   19624     lt_prog_compiler_no_builtin_flag_RC \
   19625     export_dynamic_flag_spec_RC \
   19626     thread_safe_flag_spec_RC \
   19627     whole_archive_flag_spec_RC \
   19628     enable_shared_with_static_runtimes_RC \
   19629     old_archive_cmds_RC \
   19630     old_archive_from_new_cmds_RC \
   19631     predep_objects_RC \
   19632     postdep_objects_RC \
   19633     predeps_RC \
   19634     postdeps_RC \
   19635     compiler_lib_search_path_RC \
   19636     compiler_lib_search_dirs_RC \
   19637     archive_cmds_RC \
   19638     archive_expsym_cmds_RC \
   19639     postinstall_cmds_RC \
   19640     postuninstall_cmds_RC \
   19641     old_archive_from_expsyms_cmds_RC \
   19642     allow_undefined_flag_RC \
   19643     no_undefined_flag_RC \
   19644     export_symbols_cmds_RC \
   19645     hardcode_libdir_flag_spec_RC \
   19646     hardcode_libdir_flag_spec_ld_RC \
   19647     hardcode_libdir_separator_RC \
   19648     hardcode_automatic_RC \
   19649     module_cmds_RC \
   19650     module_expsym_cmds_RC \
   19651     lt_cv_prog_compiler_c_o_RC \
   19652     fix_srcfile_path_RC \
   19653     exclude_expsyms_RC \
   19654     include_expsyms_RC; do
   19655 
   19656     case $var in
   19657     old_archive_cmds_RC | \
   19658     old_archive_from_new_cmds_RC | \
   19659     archive_cmds_RC | \
   19660     archive_expsym_cmds_RC | \
   19661     module_cmds_RC | \
   19662     module_expsym_cmds_RC | \
   19663     old_archive_from_expsyms_cmds_RC | \
   19664     export_symbols_cmds_RC | \
   19665     extract_expsyms_cmds | reload_cmds | finish_cmds | \
   19666     postinstall_cmds | postuninstall_cmds | \
   19667     old_postinstall_cmds | old_postuninstall_cmds | \
   19668     sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
   19669       # Double-quote double-evaled strings.
   19670       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
   19671       ;;
   19672     *)
   19673       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
   19674       ;;
   19675     esac
   19676   done
   19677 
   19678   case $lt_echo in
   19679   *'\$0 --fallback-echo"')
   19680     lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
   19681     ;;
   19682   esac
   19683 
   19684 cfgfile="$ofile"
   19685 
   19686   cat <<__EOF__ >> "$cfgfile"
   19687 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
   19688 
   19689 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   19690 
   19691 # Shell to use when invoking shell scripts.
   19692 SHELL=$lt_SHELL
   19693 
   19694 # Whether or not to build shared libraries.
   19695 build_libtool_libs=$enable_shared
   19696 
   19697 # Whether or not to build static libraries.
   19698 build_old_libs=$enable_static
   19699 
   19700 # Whether or not to add -lc for building shared libraries.
   19701 build_libtool_need_lc=$archive_cmds_need_lc_RC
   19702 
   19703 # Whether or not to disallow shared libs when runtime libs are static
   19704 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
   19705 
   19706 # Whether or not to optimize for fast installation.
   19707 fast_install=$enable_fast_install
   19708 
   19709 # The host system.
   19710 host_alias=$host_alias
   19711 host=$host
   19712 host_os=$host_os
   19713 
   19714 # The build system.
   19715 build_alias=$build_alias
   19716 build=$build
   19717 build_os=$build_os
   19718 
   19719 # An echo program that does not interpret backslashes.
   19720 echo=$lt_echo
   19721 
   19722 # The archiver.
   19723 AR=$lt_AR
   19724 AR_FLAGS=$lt_AR_FLAGS
   19725 
   19726 # A C compiler.
   19727 LTCC=$lt_LTCC
   19728 
   19729 # LTCC compiler flags.
   19730 LTCFLAGS=$lt_LTCFLAGS
   19731 
   19732 # A language-specific compiler.
   19733 CC=$lt_compiler_RC
   19734 
   19735 # Is the compiler the GNU C compiler?
   19736 with_gcc=$GCC_RC
   19737 
   19738 # An ERE matcher.
   19739 EGREP=$lt_EGREP
   19740 
   19741 # The linker used to build libraries.
   19742 LD=$lt_LD_RC
   19743 
   19744 # Whether we need hard or soft links.
   19745 LN_S=$lt_LN_S
   19746 
   19747 # A BSD-compatible nm program.
   19748 NM=$lt_NM
   19749 
   19750 # A symbol stripping program
   19751 STRIP=$lt_STRIP
   19752 
   19753 # Used to examine libraries when file_magic_cmd begins "file"
   19754 MAGIC_CMD=$MAGIC_CMD
   19755 
   19756 # Used on cygwin: DLL creation program.
   19757 DLLTOOL="$DLLTOOL"
   19758 
   19759 # Used on cygwin: object dumper.
   19760 OBJDUMP="$OBJDUMP"
   19761 
   19762 # Used on cygwin: assembler.
   19763 AS="$AS"
   19764 
   19765 # The name of the directory that contains temporary libtool files.
   19766 objdir=$objdir
   19767 
   19768 # How to create reloadable object files.
   19769 reload_flag=$lt_reload_flag
   19770 reload_cmds=$lt_reload_cmds
   19771 
   19772 # How to pass a linker flag through the compiler.
   19773 wl=$lt_lt_prog_compiler_wl_RC
   19774 
   19775 # Object file suffix (normally "o").
   19776 objext="$ac_objext"
   19777 
   19778 # Old archive suffix (normally "a").
   19779 libext="$libext"
   19780 
   19781 # Shared library suffix (normally ".so").
   19782 shrext_cmds='$shrext_cmds'
   19783 
   19784 # Executable file suffix (normally "").
   19785 exeext="$exeext"
   19786 
   19787 # Additional compiler flags for building library objects.
   19788 pic_flag=$lt_lt_prog_compiler_pic_RC
   19789 pic_mode=$pic_mode
   19790 
   19791 # What is the maximum length of a command?
   19792 max_cmd_len=$lt_cv_sys_max_cmd_len
   19793 
   19794 # Does compiler simultaneously support -c and -o options?
   19795 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
   19796 
   19797 # Must we lock files when doing compilation?
   19798 need_locks=$lt_need_locks
   19799 
   19800 # Do we need the lib prefix for modules?
   19801 need_lib_prefix=$need_lib_prefix
   19802 
   19803 # Do we need a version for libraries?
   19804 need_version=$need_version
   19805 
   19806 # Whether dlopen is supported.
   19807 dlopen_support=$enable_dlopen
   19808 
   19809 # Whether dlopen of programs is supported.
   19810 dlopen_self=$enable_dlopen_self
   19811 
   19812 # Whether dlopen of statically linked programs is supported.
   19813 dlopen_self_static=$enable_dlopen_self_static
   19814 
   19815 # Compiler flag to prevent dynamic linking.
   19816 link_static_flag=$lt_lt_prog_compiler_static_RC
   19817 
   19818 # Compiler flag to turn off builtin functions.
   19819 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
   19820 
   19821 # Compiler flag to allow reflexive dlopens.
   19822 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
   19823 
   19824 # Compiler flag to generate shared objects directly from archives.
   19825 whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
   19826 
   19827 # Compiler flag to generate thread-safe objects.
   19828 thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
   19829 
   19830 # Library versioning type.
   19831 version_type=$version_type
   19832 
   19833 # Format of library name prefix.
   19834 libname_spec=$lt_libname_spec
   19835 
   19836 # List of archive names.  First name is the real one, the rest are links.
   19837 # The last name is the one that the linker finds with -lNAME.
   19838 library_names_spec=$lt_library_names_spec
   19839 
   19840 # The coded name of the library, if different from the real name.
   19841 soname_spec=$lt_soname_spec
   19842 
   19843 # Commands used to build and install an old-style archive.
   19844 RANLIB=$lt_RANLIB
   19845 old_archive_cmds=$lt_old_archive_cmds_RC
   19846 old_postinstall_cmds=$lt_old_postinstall_cmds
   19847 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   19848 
   19849 # Create an old-style archive from a shared archive.
   19850 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
   19851 
   19852 # Create a temporary old-style archive to link instead of a shared archive.
   19853 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
   19854 
   19855 # Commands used to build and install a shared archive.
   19856 archive_cmds=$lt_archive_cmds_RC
   19857 archive_expsym_cmds=$lt_archive_expsym_cmds_RC
   19858 postinstall_cmds=$lt_postinstall_cmds
   19859 postuninstall_cmds=$lt_postuninstall_cmds
   19860 
   19861 # Commands used to build a loadable module (assumed same as above if empty)
   19862 module_cmds=$lt_module_cmds_RC
   19863 module_expsym_cmds=$lt_module_expsym_cmds_RC
   19864 
   19865 # Commands to strip libraries.
   19866 old_striplib=$lt_old_striplib
   19867 striplib=$lt_striplib
   19868 
   19869 # Dependencies to place before the objects being linked to create a
   19870 # shared library.
   19871 predep_objects=$lt_predep_objects_RC
   19872 
   19873 # Dependencies to place after the objects being linked to create a
   19874 # shared library.
   19875 postdep_objects=$lt_postdep_objects_RC
   19876 
   19877 # Dependencies to place before the objects being linked to create a
   19878 # shared library.
   19879 predeps=$lt_predeps_RC
   19880 
   19881 # Dependencies to place after the objects being linked to create a
   19882 # shared library.
   19883 postdeps=$lt_postdeps_RC
   19884 
   19885 # The directories searched by this compiler when creating a shared
   19886 # library
   19887 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_RC
   19888 
   19889 # The library search path used internally by the compiler when linking
   19890 # a shared library.
   19891 compiler_lib_search_path=$lt_compiler_lib_search_path_RC
   19892 
   19893 # Method to check whether dependent libraries are shared objects.
   19894 deplibs_check_method=$lt_deplibs_check_method
   19895 
   19896 # Command to use when deplibs_check_method == file_magic.
   19897 file_magic_cmd=$lt_file_magic_cmd
   19898 
   19899 # Flag that allows shared libraries with undefined symbols to be built.
   19900 allow_undefined_flag=$lt_allow_undefined_flag_RC
   19901 
   19902 # Flag that forces no undefined symbols.
   19903 no_undefined_flag=$lt_no_undefined_flag_RC
   19904 
   19905 # Commands used to finish a libtool library installation in a directory.
   19906 finish_cmds=$lt_finish_cmds
   19907 
   19908 # Same as above, but a single script fragment to be evaled but not shown.
   19909 finish_eval=$lt_finish_eval
   19910 
   19911 # Take the output of nm and produce a listing of raw symbols and C names.
   19912 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   19913 
   19914 # Transform the output of nm in a proper C declaration
   19915 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   19916 
   19917 # Transform the output of nm in a C name address pair
   19918 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   19919 
   19920 # This is the shared library runtime path variable.
   19921 runpath_var=$runpath_var
   19922 
   19923 # This is the shared library path variable.
   19924 shlibpath_var=$shlibpath_var
   19925 
   19926 # Is shlibpath searched before the hard-coded library search path?
   19927 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   19928 
   19929 # How to hardcode a shared library path into an executable.
   19930 hardcode_action=$hardcode_action_RC
   19931 
   19932 # Whether we should hardcode library paths into libraries.
   19933 hardcode_into_libs=$hardcode_into_libs
   19934 
   19935 # Flag to hardcode \$libdir into a binary during linking.
   19936 # This must work even if \$libdir does not exist.
   19937 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
   19938 
   19939 # If ld is used when linking, flag to hardcode \$libdir into
   19940 # a binary during linking. This must work even if \$libdir does
   19941 # not exist.
   19942 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
   19943 
   19944 # Whether we need a single -rpath flag with a separated argument.
   19945 hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
   19946 
   19947 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
   19948 # resulting binary.
   19949 hardcode_direct=$hardcode_direct_RC
   19950 
   19951 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
   19952 # resulting binary.
   19953 hardcode_minus_L=$hardcode_minus_L_RC
   19954 
   19955 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
   19956 # the resulting binary.
   19957 hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
   19958 
   19959 # Set to yes if building a shared library automatically hardcodes DIR into the library
   19960 # and all subsequent libraries and executables linked against it.
   19961 hardcode_automatic=$hardcode_automatic_RC
   19962 
   19963 # Variables whose values should be saved in libtool wrapper scripts and
   19964 # restored at relink time.
   19965 variables_saved_for_relink="$variables_saved_for_relink"
   19966 
   19967 # Whether libtool must link a program against all its dependency libraries.
   19968 link_all_deplibs=$link_all_deplibs_RC
   19969 
   19970 # Compile-time system search path for libraries
   19971 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   19972 
   19973 # Run-time system search path for libraries
   19974 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   19975 
   19976 # Fix the shell variable \$srcfile for the compiler.
   19977 fix_srcfile_path=$lt_fix_srcfile_path
   19978 
   19979 # Set to yes if exported symbols are required.
   19980 always_export_symbols=$always_export_symbols_RC
   19981 
   19982 # The commands to list exported symbols.
   19983 export_symbols_cmds=$lt_export_symbols_cmds_RC
   19984 
   19985 # The commands to extract the exported symbol list from a shared archive.
   19986 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   19987 
   19988 # Symbols that should not be listed in the preloaded symbols.
   19989 exclude_expsyms=$lt_exclude_expsyms_RC
   19990 
   19991 # Symbols that must always be exported.
   19992 include_expsyms=$lt_include_expsyms_RC
   19993 
   19994 # ### END LIBTOOL TAG CONFIG: $tagname
   19995 
   19996 __EOF__
   19997 
   19998 
   19999 else
   20000   # If there is no Makefile yet, we rely on a make rule to execute
   20001   # `config.status --recheck' to rerun these tests and create the
   20002   # libtool script then.
   20003   ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
   20004   if test -f "$ltmain_in"; then
   20005     test -f Makefile && make "$ltmain"
   20006   fi
   20007 fi
   20008 
   20009 
   20010 ac_ext=c
   20011 ac_cpp='$CPP $CPPFLAGS'
   20012 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   20013 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   20014 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   20015 
   20016 CC="$lt_save_CC"
   20017 
   20018 	;;
   20019 
   20020       *)
   20021 	{ { $as_echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
   20022 $as_echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
   20023    { (exit 1); exit 1; }; }
   20024 	;;
   20025       esac
   20026 
   20027       # Append the new tag name to the list of available tags.
   20028       if test -n "$tagname" ; then
   20029       available_tags="$available_tags $tagname"
   20030     fi
   20031     fi
   20032   done
   20033   IFS="$lt_save_ifs"
   20034 
   20035   # Now substitute the updated list of available tags.
   20036   if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
   20037     mv "${ofile}T" "$ofile"
   20038     chmod +x "$ofile"
   20039   else
   20040     rm -f "${ofile}T"
   20041     { { $as_echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
   20042 $as_echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
   20043    { (exit 1); exit 1; }; }
   20044   fi
   20045 fi
   20046 
   20047 
   20048 
   20049 # This can be used to rebuild libtool when needed
   20050 LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
   20051 
   20052 # Always use our own libtool.
   20053 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
   20054 
   20055 # Prevent multiple expansion
   20056 
   20057 
   20058 
   20059 
   20060 
   20061 
   20062 
   20063 
   20064 
   20065 
   20066 
   20067 
   20068 
   20069 
   20070 
   20071 
   20072 
   20073 
   20074 
   20075 
   20076 
   20077 
   20078 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   20079 	if test -n "$ac_tool_prefix"; then
   20080   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   20081 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   20082 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   20083 $as_echo_n "checking for $ac_word... " >&6; }
   20084 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
   20085   $as_echo_n "(cached) " >&6
   20086 else
   20087   case $PKG_CONFIG in
   20088   [\\/]* | ?:[\\/]*)
   20089   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   20090   ;;
   20091   *)
   20092   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   20093 for as_dir in $PATH
   20094 do
   20095   IFS=$as_save_IFS
   20096   test -z "$as_dir" && as_dir=.
   20097   for ac_exec_ext in '' $ac_executable_extensions; do
   20098   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   20099     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   20100     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   20101     break 2
   20102   fi
   20103 done
   20104 done
   20105 IFS=$as_save_IFS
   20106 
   20107   ;;
   20108 esac
   20109 fi
   20110 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   20111 if test -n "$PKG_CONFIG"; then
   20112   { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
   20113 $as_echo "$PKG_CONFIG" >&6; }
   20114 else
   20115   { $as_echo "$as_me:$LINENO: result: no" >&5
   20116 $as_echo "no" >&6; }
   20117 fi
   20118 
   20119 
   20120 fi
   20121 if test -z "$ac_cv_path_PKG_CONFIG"; then
   20122   ac_pt_PKG_CONFIG=$PKG_CONFIG
   20123   # Extract the first word of "pkg-config", so it can be a program name with args.
   20124 set dummy pkg-config; ac_word=$2
   20125 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   20126 $as_echo_n "checking for $ac_word... " >&6; }
   20127 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
   20128   $as_echo_n "(cached) " >&6
   20129 else
   20130   case $ac_pt_PKG_CONFIG in
   20131   [\\/]* | ?:[\\/]*)
   20132   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   20133   ;;
   20134   *)
   20135   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   20136 for as_dir in $PATH
   20137 do
   20138   IFS=$as_save_IFS
   20139   test -z "$as_dir" && as_dir=.
   20140   for ac_exec_ext in '' $ac_executable_extensions; do
   20141   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   20142     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   20143     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   20144     break 2
   20145   fi
   20146 done
   20147 done
   20148 IFS=$as_save_IFS
   20149 
   20150   ;;
   20151 esac
   20152 fi
   20153 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   20154 if test -n "$ac_pt_PKG_CONFIG"; then
   20155   { $as_echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
   20156 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
   20157 else
   20158   { $as_echo "$as_me:$LINENO: result: no" >&5
   20159 $as_echo "no" >&6; }
   20160 fi
   20161 
   20162   if test "x$ac_pt_PKG_CONFIG" = x; then
   20163     PKG_CONFIG=""
   20164   else
   20165     case $cross_compiling:$ac_tool_warned in
   20166 yes:)
   20167 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   20168 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   20169 ac_tool_warned=yes ;;
   20170 esac
   20171     PKG_CONFIG=$ac_pt_PKG_CONFIG
   20172   fi
   20173 else
   20174   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   20175 fi
   20176 
   20177 fi
   20178 if test -n "$PKG_CONFIG"; then
   20179 	_pkg_min_version=0.9.0
   20180 	{ $as_echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
   20181 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   20182 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   20183 		{ $as_echo "$as_me:$LINENO: result: yes" >&5
   20184 $as_echo "yes" >&6; }
   20185 	else
   20186 		{ $as_echo "$as_me:$LINENO: result: no" >&5
   20187 $as_echo "no" >&6; }
   20188 		PKG_CONFIG=""
   20189 	fi
   20190 
   20191 fi
   20192 
   20193    { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C99" >&5
   20194 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
   20195 if test "${ac_cv_prog_cc_c99+set}" = set; then
   20196   $as_echo_n "(cached) " >&6
   20197 else
   20198   ac_cv_prog_cc_c99=no
   20199 ac_save_CC=$CC
   20200 cat >conftest.$ac_ext <<_ACEOF
   20201 /* confdefs.h.  */
   20202 _ACEOF
   20203 cat confdefs.h >>conftest.$ac_ext
   20204 cat >>conftest.$ac_ext <<_ACEOF
   20205 /* end confdefs.h.  */
   20206 #include <stdarg.h>
   20207 #include <stdbool.h>
   20208 #include <stdlib.h>
   20209 #include <wchar.h>
   20210 #include <stdio.h>
   20211 
   20212 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
   20213 #define debug(...) fprintf (stderr, __VA_ARGS__)
   20214 #define showlist(...) puts (#__VA_ARGS__)
   20215 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
   20216 static void
   20217 test_varargs_macros (void)
   20218 {
   20219   int x = 1234;
   20220   int y = 5678;
   20221   debug ("Flag");
   20222   debug ("X = %d\n", x);
   20223   showlist (The first, second, and third items.);
   20224   report (x>y, "x is %d but y is %d", x, y);
   20225 }
   20226 
   20227 // Check long long types.
   20228 #define BIG64 18446744073709551615ull
   20229 #define BIG32 4294967295ul
   20230 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
   20231 #if !BIG_OK
   20232   your preprocessor is broken;
   20233 #endif
   20234 #if BIG_OK
   20235 #else
   20236   your preprocessor is broken;
   20237 #endif
   20238 static long long int bignum = -9223372036854775807LL;
   20239 static unsigned long long int ubignum = BIG64;
   20240 
   20241 struct incomplete_array
   20242 {
   20243   int datasize;
   20244   double data[];
   20245 };
   20246 
   20247 struct named_init {
   20248   int number;
   20249   const wchar_t *name;
   20250   double average;
   20251 };
   20252 
   20253 typedef const char *ccp;
   20254 
   20255 static inline int
   20256 test_restrict (ccp restrict text)
   20257 {
   20258   // See if C++-style comments work.
   20259   // Iterate through items via the restricted pointer.
   20260   // Also check for declarations in for loops.
   20261   for (unsigned int i = 0; *(text+i) != '\0'; ++i)
   20262     continue;
   20263   return 0;
   20264 }
   20265 
   20266 // Check varargs and va_copy.
   20267 static void
   20268 test_varargs (const char *format, ...)
   20269 {
   20270   va_list args;
   20271   va_start (args, format);
   20272   va_list args_copy;
   20273   va_copy (args_copy, args);
   20274 
   20275   const char *str;
   20276   int number;
   20277   float fnumber;
   20278 
   20279   while (*format)
   20280     {
   20281       switch (*format++)
   20282 	{
   20283 	case 's': // string
   20284 	  str = va_arg (args_copy, const char *);
   20285 	  break;
   20286 	case 'd': // int
   20287 	  number = va_arg (args_copy, int);
   20288 	  break;
   20289 	case 'f': // float
   20290 	  fnumber = va_arg (args_copy, double);
   20291 	  break;
   20292 	default:
   20293 	  break;
   20294 	}
   20295     }
   20296   va_end (args_copy);
   20297   va_end (args);
   20298 }
   20299 
   20300 int
   20301 main ()
   20302 {
   20303 
   20304   // Check bool.
   20305   _Bool success = false;
   20306 
   20307   // Check restrict.
   20308   if (test_restrict ("String literal") == 0)
   20309     success = true;
   20310   char *restrict newvar = "Another string";
   20311 
   20312   // Check varargs.
   20313   test_varargs ("s, d' f .", "string", 65, 34.234);
   20314   test_varargs_macros ();
   20315 
   20316   // Check flexible array members.
   20317   struct incomplete_array *ia =
   20318     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
   20319   ia->datasize = 10;
   20320   for (int i = 0; i < ia->datasize; ++i)
   20321     ia->data[i] = i * 1.234;
   20322 
   20323   // Check named initializers.
   20324   struct named_init ni = {
   20325     .number = 34,
   20326     .name = L"Test wide string",
   20327     .average = 543.34343,
   20328   };
   20329 
   20330   ni.number = 58;
   20331 
   20332   int dynamic_array[ni.number];
   20333   dynamic_array[ni.number - 1] = 543;
   20334 
   20335   // work around unused variable warnings
   20336   return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
   20337 	  || dynamic_array[ni.number - 1] != 543);
   20338 
   20339   ;
   20340   return 0;
   20341 }
   20342 _ACEOF
   20343 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99
   20344 do
   20345   CC="$ac_save_CC $ac_arg"
   20346   rm -f conftest.$ac_objext
   20347 if { (ac_try="$ac_compile"
   20348 case "(($ac_try" in
   20349   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20350   *) ac_try_echo=$ac_try;;
   20351 esac
   20352 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   20353 $as_echo "$ac_try_echo") >&5
   20354   (eval "$ac_compile") 2>conftest.er1
   20355   ac_status=$?
   20356   grep -v '^ *+' conftest.er1 >conftest.err
   20357   rm -f conftest.er1
   20358   cat conftest.err >&5
   20359   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20360   (exit $ac_status); } && {
   20361 	 test -z "$ac_c_werror_flag" ||
   20362 	 test ! -s conftest.err
   20363        } && test -s conftest.$ac_objext; then
   20364   ac_cv_prog_cc_c99=$ac_arg
   20365 else
   20366   $as_echo "$as_me: failed program was:" >&5
   20367 sed 's/^/| /' conftest.$ac_ext >&5
   20368 
   20369 
   20370 fi
   20371 
   20372 rm -f core conftest.err conftest.$ac_objext
   20373   test "x$ac_cv_prog_cc_c99" != "xno" && break
   20374 done
   20375 rm -f conftest.$ac_ext
   20376 CC=$ac_save_CC
   20377 
   20378 fi
   20379 # AC_CACHE_VAL
   20380 case "x$ac_cv_prog_cc_c99" in
   20381   x)
   20382     { $as_echo "$as_me:$LINENO: result: none needed" >&5
   20383 $as_echo "none needed" >&6; } ;;
   20384   xno)
   20385     { $as_echo "$as_me:$LINENO: result: unsupported" >&5
   20386 $as_echo "unsupported" >&6; } ;;
   20387   *)
   20388     CC="$CC $ac_cv_prog_cc_c99"
   20389     { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c99" >&5
   20390 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
   20391 esac
   20392 
   20393 
   20394 
   20395 
   20396 
   20397 
   20398 if  test "x$GCC" = xyes ; then
   20399     CWARNFLAGS="-Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes \
   20400 -Wmissing-declarations -Wnested-externs -fno-strict-aliasing \
   20401 -Wbad-function-cast"
   20402     case `$CC -dumpversion` in
   20403     3.4.* | 4.*)
   20404 	CWARNFLAGS="$CWARNFLAGS -Wold-style-definition -Wdeclaration-after-statement"
   20405 	;;
   20406     esac
   20407 else
   20408     { $as_echo "$as_me:$LINENO: checking whether __SUNPRO_C is declared" >&5
   20409 $as_echo_n "checking whether __SUNPRO_C is declared... " >&6; }
   20410 if test "${ac_cv_have_decl___SUNPRO_C+set}" = set; then
   20411   $as_echo_n "(cached) " >&6
   20412 else
   20413   cat >conftest.$ac_ext <<_ACEOF
   20414 /* confdefs.h.  */
   20415 _ACEOF
   20416 cat confdefs.h >>conftest.$ac_ext
   20417 cat >>conftest.$ac_ext <<_ACEOF
   20418 /* end confdefs.h.  */
   20419 $ac_includes_default
   20420 int
   20421 main ()
   20422 {
   20423 #ifndef __SUNPRO_C
   20424   (void) __SUNPRO_C;
   20425 #endif
   20426 
   20427   ;
   20428   return 0;
   20429 }
   20430 _ACEOF
   20431 rm -f conftest.$ac_objext
   20432 if { (ac_try="$ac_compile"
   20433 case "(($ac_try" in
   20434   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20435   *) ac_try_echo=$ac_try;;
   20436 esac
   20437 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   20438 $as_echo "$ac_try_echo") >&5
   20439   (eval "$ac_compile") 2>conftest.er1
   20440   ac_status=$?
   20441   grep -v '^ *+' conftest.er1 >conftest.err
   20442   rm -f conftest.er1
   20443   cat conftest.err >&5
   20444   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20445   (exit $ac_status); } && {
   20446 	 test -z "$ac_c_werror_flag" ||
   20447 	 test ! -s conftest.err
   20448        } && test -s conftest.$ac_objext; then
   20449   ac_cv_have_decl___SUNPRO_C=yes
   20450 else
   20451   $as_echo "$as_me: failed program was:" >&5
   20452 sed 's/^/| /' conftest.$ac_ext >&5
   20453 
   20454 	ac_cv_have_decl___SUNPRO_C=no
   20455 fi
   20456 
   20457 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   20458 fi
   20459 { $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl___SUNPRO_C" >&5
   20460 $as_echo "$ac_cv_have_decl___SUNPRO_C" >&6; }
   20461 if test "x$ac_cv_have_decl___SUNPRO_C" = x""yes; then
   20462   SUNCC="yes"
   20463 else
   20464   SUNCC="no"
   20465 fi
   20466 
   20467     if test "x$SUNCC" = "xyes"; then
   20468 	CWARNFLAGS="-v"
   20469     fi
   20470 fi
   20471 
   20472 # Check whether --enable-silent-rules was given.
   20473 if test "${enable_silent_rules+set}" = set; then
   20474   enableval=$enable_silent_rules;
   20475 fi
   20476 
   20477 case $enable_silent_rules in
   20478 yes) AM_DEFAULT_VERBOSITY=0;;
   20479 no)  AM_DEFAULT_VERBOSITY=1;;
   20480 *)   AM_DEFAULT_VERBOSITY=0;;
   20481 esac
   20482 AM_BACKSLASH='\'
   20483 
   20484 
   20485 
   20486 
   20487 
   20488 
   20489 
   20490 # Check whether --enable-strict-compilation was given.
   20491 if test "${enable_strict_compilation+set}" = set; then
   20492   enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
   20493 else
   20494   STRICT_COMPILE=no
   20495 fi
   20496 
   20497 if test "x$STRICT_COMPILE" = "xyes"; then
   20498 	{ $as_echo "$as_me:$LINENO: checking whether __SUNPRO_C is declared" >&5
   20499 $as_echo_n "checking whether __SUNPRO_C is declared... " >&6; }
   20500 if test "${ac_cv_have_decl___SUNPRO_C+set}" = set; then
   20501   $as_echo_n "(cached) " >&6
   20502 else
   20503   cat >conftest.$ac_ext <<_ACEOF
   20504 /* confdefs.h.  */
   20505 _ACEOF
   20506 cat confdefs.h >>conftest.$ac_ext
   20507 cat >>conftest.$ac_ext <<_ACEOF
   20508 /* end confdefs.h.  */
   20509 $ac_includes_default
   20510 int
   20511 main ()
   20512 {
   20513 #ifndef __SUNPRO_C
   20514   (void) __SUNPRO_C;
   20515 #endif
   20516 
   20517   ;
   20518   return 0;
   20519 }
   20520 _ACEOF
   20521 rm -f conftest.$ac_objext
   20522 if { (ac_try="$ac_compile"
   20523 case "(($ac_try" in
   20524   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20525   *) ac_try_echo=$ac_try;;
   20526 esac
   20527 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   20528 $as_echo "$ac_try_echo") >&5
   20529   (eval "$ac_compile") 2>conftest.er1
   20530   ac_status=$?
   20531   grep -v '^ *+' conftest.er1 >conftest.err
   20532   rm -f conftest.er1
   20533   cat conftest.err >&5
   20534   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20535   (exit $ac_status); } && {
   20536 	 test -z "$ac_c_werror_flag" ||
   20537 	 test ! -s conftest.err
   20538        } && test -s conftest.$ac_objext; then
   20539   ac_cv_have_decl___SUNPRO_C=yes
   20540 else
   20541   $as_echo "$as_me: failed program was:" >&5
   20542 sed 's/^/| /' conftest.$ac_ext >&5
   20543 
   20544 	ac_cv_have_decl___SUNPRO_C=no
   20545 fi
   20546 
   20547 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   20548 fi
   20549 { $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl___SUNPRO_C" >&5
   20550 $as_echo "$ac_cv_have_decl___SUNPRO_C" >&6; }
   20551 if test "x$ac_cv_have_decl___SUNPRO_C" = x""yes; then
   20552   SUNCC="yes"
   20553 else
   20554   SUNCC="no"
   20555 fi
   20556 
   20557 	{ $as_echo "$as_me:$LINENO: checking whether __INTEL_COMPILER is declared" >&5
   20558 $as_echo_n "checking whether __INTEL_COMPILER is declared... " >&6; }
   20559 if test "${ac_cv_have_decl___INTEL_COMPILER+set}" = set; then
   20560   $as_echo_n "(cached) " >&6
   20561 else
   20562   cat >conftest.$ac_ext <<_ACEOF
   20563 /* confdefs.h.  */
   20564 _ACEOF
   20565 cat confdefs.h >>conftest.$ac_ext
   20566 cat >>conftest.$ac_ext <<_ACEOF
   20567 /* end confdefs.h.  */
   20568 $ac_includes_default
   20569 int
   20570 main ()
   20571 {
   20572 #ifndef __INTEL_COMPILER
   20573   (void) __INTEL_COMPILER;
   20574 #endif
   20575 
   20576   ;
   20577   return 0;
   20578 }
   20579 _ACEOF
   20580 rm -f conftest.$ac_objext
   20581 if { (ac_try="$ac_compile"
   20582 case "(($ac_try" in
   20583   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20584   *) ac_try_echo=$ac_try;;
   20585 esac
   20586 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   20587 $as_echo "$ac_try_echo") >&5
   20588   (eval "$ac_compile") 2>conftest.er1
   20589   ac_status=$?
   20590   grep -v '^ *+' conftest.er1 >conftest.err
   20591   rm -f conftest.er1
   20592   cat conftest.err >&5
   20593   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20594   (exit $ac_status); } && {
   20595 	 test -z "$ac_c_werror_flag" ||
   20596 	 test ! -s conftest.err
   20597        } && test -s conftest.$ac_objext; then
   20598   ac_cv_have_decl___INTEL_COMPILER=yes
   20599 else
   20600   $as_echo "$as_me: failed program was:" >&5
   20601 sed 's/^/| /' conftest.$ac_ext >&5
   20602 
   20603 	ac_cv_have_decl___INTEL_COMPILER=no
   20604 fi
   20605 
   20606 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   20607 fi
   20608 { $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl___INTEL_COMPILER" >&5
   20609 $as_echo "$ac_cv_have_decl___INTEL_COMPILER" >&6; }
   20610 if test "x$ac_cv_have_decl___INTEL_COMPILER" = x""yes; then
   20611   INTELCC="yes"
   20612 else
   20613   INTELCC="no"
   20614 fi
   20615 
   20616 	if test "x$GCC" = xyes ; then
   20617 		STRICT_CFLAGS="-pedantic -Werror"
   20618 	elif test "x$SUNCC" = "xyes"; then
   20619 		STRICT_CFLAGS="-errwarn"
   20620     elif test "x$INTELCC" = "xyes"; then
   20621 		STRICT_CFLAGS="-Werror"
   20622 	fi
   20623 fi
   20624 CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
   20625 
   20626 
   20627 
   20628 
   20629 # Check whether --with-release-version was given.
   20630 if test "${with_release_version+set}" = set; then
   20631   withval=$with_release_version; RELEASE_VERSION="$withval"
   20632 else
   20633   RELEASE_VERSION=""
   20634 fi
   20635 
   20636 	if test "x$RELEASE_VERSION" != "x"; then
   20637 		PACKAGE="$PACKAGE-$RELEASE_VERSION"
   20638 		PACKAGE_TARNAME="$PACKAGE_TARNAME-$RELEASE_VERSION"
   20639 		{ $as_echo "$as_me:$LINENO: Building with package name set to $PACKAGE" >&5
   20640 $as_echo "$as_me: Building with package name set to $PACKAGE" >&6;}
   20641 	fi
   20642 
   20643 cat >>confdefs.h <<_ACEOF
   20644 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   20645 _ACEOF
   20646 
   20647 	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
   20648 	if test "x$PVM" = "x"; then
   20649 		PVM="0"
   20650 	fi
   20651 
   20652 cat >>confdefs.h <<_ACEOF
   20653 #define PACKAGE_VERSION_MINOR $PVM
   20654 _ACEOF
   20655 
   20656 	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
   20657 	if test "x$PVP" = "x"; then
   20658 		PVP="0"
   20659 	fi
   20660 
   20661 cat >>confdefs.h <<_ACEOF
   20662 #define PACKAGE_VERSION_PATCHLEVEL $PVP
   20663 _ACEOF
   20664 
   20665 
   20666 
   20667 CHANGELOG_CMD="(GIT_DIR=\$(top_srcdir)/.git git log > .changelog.tmp && \
   20668 mv .changelog.tmp ChangeLog) || (rm -f .changelog.tmp; touch ChangeLog; \
   20669 echo 'git directory not found: installing possibly empty changelog.' >&2)"
   20670 
   20671 distcleancheck_listfiles='find . -type f ! -name ChangeLog -print'
   20672 
   20673 
   20674 
   20675 
   20676 
   20677 if test x$APP_MAN_SUFFIX = x    ; then
   20678     APP_MAN_SUFFIX=1
   20679 fi
   20680 if test x$APP_MAN_DIR = x    ; then
   20681     APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
   20682 fi
   20683 
   20684 if test x$LIB_MAN_SUFFIX = x    ; then
   20685     LIB_MAN_SUFFIX=3
   20686 fi
   20687 if test x$LIB_MAN_DIR = x    ; then
   20688     LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
   20689 fi
   20690 
   20691 if test x$FILE_MAN_SUFFIX = x    ; then
   20692     case $host_os in
   20693 	solaris*)	FILE_MAN_SUFFIX=4  ;;
   20694 	*)		FILE_MAN_SUFFIX=5  ;;
   20695     esac
   20696 fi
   20697 if test x$FILE_MAN_DIR = x    ; then
   20698     FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
   20699 fi
   20700 
   20701 if test x$MISC_MAN_SUFFIX = x    ; then
   20702     case $host_os in
   20703 	solaris*)	MISC_MAN_SUFFIX=5  ;;
   20704 	*)		MISC_MAN_SUFFIX=7  ;;
   20705     esac
   20706 fi
   20707 if test x$MISC_MAN_DIR = x    ; then
   20708     MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
   20709 fi
   20710 
   20711 if test x$DRIVER_MAN_SUFFIX = x    ; then
   20712     case $host_os in
   20713 	solaris*)	DRIVER_MAN_SUFFIX=7  ;;
   20714 	*)		DRIVER_MAN_SUFFIX=4  ;;
   20715     esac
   20716 fi
   20717 if test x$DRIVER_MAN_DIR = x    ; then
   20718     DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
   20719 fi
   20720 
   20721 if test x$ADMIN_MAN_SUFFIX = x    ; then
   20722     case $host_os in
   20723 	solaris*)	ADMIN_MAN_SUFFIX=1m ;;
   20724 	*)		ADMIN_MAN_SUFFIX=8  ;;
   20725     esac
   20726 fi
   20727 if test x$ADMIN_MAN_DIR = x    ; then
   20728     ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
   20729 fi
   20730 
   20731 
   20732 
   20733 
   20734 
   20735 
   20736 
   20737 
   20738 
   20739 
   20740 
   20741 
   20742 
   20743 
   20744 
   20745 
   20746 
   20747 # xmlto is used to convert doc/fontlib.xml from DocBook to PDF/HTML
   20748 
   20749 # Extract the first word of "xmlto", so it can be a program name with args.
   20750 set dummy xmlto; ac_word=$2
   20751 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   20752 $as_echo_n "checking for $ac_word... " >&6; }
   20753 if test "${ac_cv_path_XMLTO+set}" = set; then
   20754   $as_echo_n "(cached) " >&6
   20755 else
   20756   case $XMLTO in
   20757   [\\/]* | ?:[\\/]*)
   20758   ac_cv_path_XMLTO="$XMLTO" # Let the user override the test with a path.
   20759   ;;
   20760   *)
   20761   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   20762 for as_dir in $PATH
   20763 do
   20764   IFS=$as_save_IFS
   20765   test -z "$as_dir" && as_dir=.
   20766   for ac_exec_ext in '' $ac_executable_extensions; do
   20767   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   20768     ac_cv_path_XMLTO="$as_dir/$ac_word$ac_exec_ext"
   20769     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   20770     break 2
   20771   fi
   20772 done
   20773 done
   20774 IFS=$as_save_IFS
   20775 
   20776   ;;
   20777 esac
   20778 fi
   20779 XMLTO=$ac_cv_path_XMLTO
   20780 if test -n "$XMLTO"; then
   20781   { $as_echo "$as_me:$LINENO: result: $XMLTO" >&5
   20782 $as_echo "$XMLTO" >&6; }
   20783 else
   20784   { $as_echo "$as_me:$LINENO: result: no" >&5
   20785 $as_echo "no" >&6; }
   20786 fi
   20787 
   20788 
   20789  if test "x$XMLTO" != "x"; then
   20790   HAVE_XMLTO_TRUE=
   20791   HAVE_XMLTO_FALSE='#'
   20792 else
   20793   HAVE_XMLTO_TRUE='#'
   20794   HAVE_XMLTO_FALSE=
   20795 fi
   20796 
   20797 
   20798 # Option to enable support for building developer internals docs
   20799 # Check whether --enable-devel-docs was given.
   20800 if test "${enable_devel_docs+set}" = set; then
   20801   enableval=$enable_devel_docs; DEVEL_DOCS=$enableval
   20802 else
   20803   DEVEL_DOCS=yes
   20804 fi
   20805 
   20806  if test "x$DEVEL_DOCS" = "xyes"; then
   20807   MAKE_DEVEL_DOCS_TRUE=
   20808   MAKE_DEVEL_DOCS_FALSE='#'
   20809 else
   20810   MAKE_DEVEL_DOCS_TRUE='#'
   20811   MAKE_DEVEL_DOCS_FALSE=
   20812 fi
   20813 
   20814 
   20815 # Look for headers
   20816 
   20817 
   20818 
   20819 for ac_header in endian.h poll.h sys/poll.h
   20820 do
   20821 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   20822 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   20823   { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
   20824 $as_echo_n "checking for $ac_header... " >&6; }
   20825 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   20826   $as_echo_n "(cached) " >&6
   20827 fi
   20828 ac_res=`eval 'as_val=${'$as_ac_Header'}
   20829 		 $as_echo "$as_val"'`
   20830 	       { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
   20831 $as_echo "$ac_res" >&6; }
   20832 else
   20833   # Is the header compilable?
   20834 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
   20835 $as_echo_n "checking $ac_header usability... " >&6; }
   20836 cat >conftest.$ac_ext <<_ACEOF
   20837 /* confdefs.h.  */
   20838 _ACEOF
   20839 cat confdefs.h >>conftest.$ac_ext
   20840 cat >>conftest.$ac_ext <<_ACEOF
   20841 /* end confdefs.h.  */
   20842 $ac_includes_default
   20843 #include <$ac_header>
   20844 _ACEOF
   20845 rm -f conftest.$ac_objext
   20846 if { (ac_try="$ac_compile"
   20847 case "(($ac_try" in
   20848   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20849   *) ac_try_echo=$ac_try;;
   20850 esac
   20851 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   20852 $as_echo "$ac_try_echo") >&5
   20853   (eval "$ac_compile") 2>conftest.er1
   20854   ac_status=$?
   20855   grep -v '^ *+' conftest.er1 >conftest.err
   20856   rm -f conftest.er1
   20857   cat conftest.err >&5
   20858   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20859   (exit $ac_status); } && {
   20860 	 test -z "$ac_c_werror_flag" ||
   20861 	 test ! -s conftest.err
   20862        } && test -s conftest.$ac_objext; then
   20863   ac_header_compiler=yes
   20864 else
   20865   $as_echo "$as_me: failed program was:" >&5
   20866 sed 's/^/| /' conftest.$ac_ext >&5
   20867 
   20868 	ac_header_compiler=no
   20869 fi
   20870 
   20871 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   20872 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
   20873 $as_echo "$ac_header_compiler" >&6; }
   20874 
   20875 # Is the header present?
   20876 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
   20877 $as_echo_n "checking $ac_header presence... " >&6; }
   20878 cat >conftest.$ac_ext <<_ACEOF
   20879 /* confdefs.h.  */
   20880 _ACEOF
   20881 cat confdefs.h >>conftest.$ac_ext
   20882 cat >>conftest.$ac_ext <<_ACEOF
   20883 /* end confdefs.h.  */
   20884 #include <$ac_header>
   20885 _ACEOF
   20886 if { (ac_try="$ac_cpp conftest.$ac_ext"
   20887 case "(($ac_try" in
   20888   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20889   *) ac_try_echo=$ac_try;;
   20890 esac
   20891 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   20892 $as_echo "$ac_try_echo") >&5
   20893   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   20894   ac_status=$?
   20895   grep -v '^ *+' conftest.er1 >conftest.err
   20896   rm -f conftest.er1
   20897   cat conftest.err >&5
   20898   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20899   (exit $ac_status); } >/dev/null && {
   20900 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   20901 	 test ! -s conftest.err
   20902        }; then
   20903   ac_header_preproc=yes
   20904 else
   20905   $as_echo "$as_me: failed program was:" >&5
   20906 sed 's/^/| /' conftest.$ac_ext >&5
   20907 
   20908   ac_header_preproc=no
   20909 fi
   20910 
   20911 rm -f conftest.err conftest.$ac_ext
   20912 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
   20913 $as_echo "$ac_header_preproc" >&6; }
   20914 
   20915 # So?  What about this header?
   20916 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
   20917   yes:no: )
   20918     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
   20919 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
   20920     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
   20921 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
   20922     ac_header_preproc=yes
   20923     ;;
   20924   no:yes:* )
   20925     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
   20926 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
   20927     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
   20928 $as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
   20929     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
   20930 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
   20931     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
   20932 $as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
   20933     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
   20934 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
   20935     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
   20936 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
   20937     ( cat <<\_ASBOX
   20938 ## ---------------------------------------------------------------------- ##
   20939 ## Report this to https://bugs.freedesktop.org/enter_bug.cgi?product=xorg ##
   20940 ## ---------------------------------------------------------------------- ##
   20941 _ASBOX
   20942      ) | sed "s/^/$as_me: WARNING:     /" >&2
   20943     ;;
   20944 esac
   20945 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
   20946 $as_echo_n "checking for $ac_header... " >&6; }
   20947 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   20948   $as_echo_n "(cached) " >&6
   20949 else
   20950   eval "$as_ac_Header=\$ac_header_preproc"
   20951 fi
   20952 ac_res=`eval 'as_val=${'$as_ac_Header'}
   20953 		 $as_echo "$as_val"'`
   20954 	       { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
   20955 $as_echo "$ac_res" >&6; }
   20956 
   20957 fi
   20958 as_val=`eval 'as_val=${'$as_ac_Header'}
   20959 		 $as_echo "$as_val"'`
   20960    if test "x$as_val" = x""yes; then
   20961   cat >>confdefs.h <<_ACEOF
   20962 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   20963 _ACEOF
   20964 
   20965 fi
   20966 
   20967 done
   20968 
   20969 
   20970 for ac_func in poll
   20971 do
   20972 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
   20973 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
   20974 $as_echo_n "checking for $ac_func... " >&6; }
   20975 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
   20976   $as_echo_n "(cached) " >&6
   20977 else
   20978   cat >conftest.$ac_ext <<_ACEOF
   20979 /* confdefs.h.  */
   20980 _ACEOF
   20981 cat confdefs.h >>conftest.$ac_ext
   20982 cat >>conftest.$ac_ext <<_ACEOF
   20983 /* end confdefs.h.  */
   20984 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
   20985    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   20986 #define $ac_func innocuous_$ac_func
   20987 
   20988 /* System header to define __stub macros and hopefully few prototypes,
   20989     which can conflict with char $ac_func (); below.
   20990     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   20991     <limits.h> exists even on freestanding compilers.  */
   20992 
   20993 #ifdef __STDC__
   20994 # include <limits.h>
   20995 #else
   20996 # include <assert.h>
   20997 #endif
   20998 
   20999 #undef $ac_func
   21000 
   21001 /* Override any GCC internal prototype to avoid an error.
   21002    Use char because int might match the return type of a GCC
   21003    builtin and then its argument prototype would still apply.  */
   21004 #ifdef __cplusplus
   21005 extern "C"
   21006 #endif
   21007 char $ac_func ();
   21008 /* The GNU C library defines this for functions which it implements
   21009     to always fail with ENOSYS.  Some functions are actually named
   21010     something starting with __ and the normal name is an alias.  */
   21011 #if defined __stub_$ac_func || defined __stub___$ac_func
   21012 choke me
   21013 #endif
   21014 
   21015 int
   21016 main ()
   21017 {
   21018 return $ac_func ();
   21019   ;
   21020   return 0;
   21021 }
   21022 _ACEOF
   21023 rm -f conftest.$ac_objext conftest$ac_exeext
   21024 if { (ac_try="$ac_link"
   21025 case "(($ac_try" in
   21026   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   21027   *) ac_try_echo=$ac_try;;
   21028 esac
   21029 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   21030 $as_echo "$ac_try_echo") >&5
   21031   (eval "$ac_link") 2>conftest.er1
   21032   ac_status=$?
   21033   grep -v '^ *+' conftest.er1 >conftest.err
   21034   rm -f conftest.er1
   21035   cat conftest.err >&5
   21036   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21037   (exit $ac_status); } && {
   21038 	 test -z "$ac_c_werror_flag" ||
   21039 	 test ! -s conftest.err
   21040        } && test -s conftest$ac_exeext && {
   21041 	 test "$cross_compiling" = yes ||
   21042 	 $as_test_x conftest$ac_exeext
   21043        }; then
   21044   eval "$as_ac_var=yes"
   21045 else
   21046   $as_echo "$as_me: failed program was:" >&5
   21047 sed 's/^/| /' conftest.$ac_ext >&5
   21048 
   21049 	eval "$as_ac_var=no"
   21050 fi
   21051 
   21052 rm -rf conftest.dSYM
   21053 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   21054       conftest$ac_exeext conftest.$ac_ext
   21055 fi
   21056 ac_res=`eval 'as_val=${'$as_ac_var'}
   21057 		 $as_echo "$as_val"'`
   21058 	       { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
   21059 $as_echo "$ac_res" >&6; }
   21060 as_val=`eval 'as_val=${'$as_ac_var'}
   21061 		 $as_echo "$as_val"'`
   21062    if test "x$as_val" = x""yes; then
   21063   cat >>confdefs.h <<_ACEOF
   21064 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
   21065 _ACEOF
   21066 
   21067 fi
   21068 done
   21069 
   21070 
   21071 
   21072 
   21073 #
   21074 # select libraries to include
   21075 #
   21076 
   21077 XFONT_FONTFILE=no
   21078 
   21079 #
   21080 # Scalable fonts in files:
   21081 # 	FreeType
   21082 #	Bitstream Speedo rasterizer
   21083 #
   21084 # Check whether --enable-freetype was given.
   21085 if test "${enable_freetype+set}" = set; then
   21086   enableval=$enable_freetype; XFONT_FREETYPE=$enableval
   21087 else
   21088   XFONT_FREETYPE=yes
   21089 fi
   21090 
   21091  if test x$XFONT_FREETYPE = xyes; then
   21092   XFONT_FREETYPE_TRUE=
   21093   XFONT_FREETYPE_FALSE='#'
   21094 else
   21095   XFONT_FREETYPE_TRUE='#'
   21096   XFONT_FREETYPE_FALSE=
   21097 fi
   21098 
   21099 if test x$XFONT_FREETYPE = xyes; then
   21100 
   21101 cat >>confdefs.h <<\_ACEOF
   21102 #define XFONT_FREETYPE 1
   21103 _ACEOF
   21104 
   21105 
   21106 # Check whether --with-freetype-config was given.
   21107 if test "${with_freetype_config+set}" = set; then
   21108   withval=$with_freetype_config; freetype_config=$withval
   21109 else
   21110   freetype_config=auto
   21111 fi
   21112 
   21113 
   21114 	if test "$freetype_config" = "auto" ; then
   21115 
   21116 pkg_failed=no
   21117 { $as_echo "$as_me:$LINENO: checking for FREETYPE" >&5
   21118 $as_echo_n "checking for FREETYPE... " >&6; }
   21119 
   21120 if test -n "$FREETYPE_CFLAGS"; then
   21121     pkg_cv_FREETYPE_CFLAGS="$FREETYPE_CFLAGS"
   21122  elif test -n "$PKG_CONFIG"; then
   21123     if test -n "$PKG_CONFIG" && \
   21124     { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"freetype2\"") >&5
   21125   ($PKG_CONFIG --exists --print-errors "freetype2") 2>&5
   21126   ac_status=$?
   21127   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21128   (exit $ac_status); }; then
   21129   pkg_cv_FREETYPE_CFLAGS=`$PKG_CONFIG --cflags "freetype2" 2>/dev/null`
   21130 else
   21131   pkg_failed=yes
   21132 fi
   21133  else
   21134     pkg_failed=untried
   21135 fi
   21136 if test -n "$FREETYPE_LIBS"; then
   21137     pkg_cv_FREETYPE_LIBS="$FREETYPE_LIBS"
   21138  elif test -n "$PKG_CONFIG"; then
   21139     if test -n "$PKG_CONFIG" && \
   21140     { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"freetype2\"") >&5
   21141   ($PKG_CONFIG --exists --print-errors "freetype2") 2>&5
   21142   ac_status=$?
   21143   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21144   (exit $ac_status); }; then
   21145   pkg_cv_FREETYPE_LIBS=`$PKG_CONFIG --libs "freetype2" 2>/dev/null`
   21146 else
   21147   pkg_failed=yes
   21148 fi
   21149  else
   21150     pkg_failed=untried
   21151 fi
   21152 
   21153 
   21154 
   21155 if test $pkg_failed = yes; then
   21156 
   21157 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   21158         _pkg_short_errors_supported=yes
   21159 else
   21160         _pkg_short_errors_supported=no
   21161 fi
   21162         if test $_pkg_short_errors_supported = yes; then
   21163 	        FREETYPE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "freetype2" 2>&1`
   21164         else
   21165 	        FREETYPE_PKG_ERRORS=`$PKG_CONFIG --print-errors "freetype2" 2>&1`
   21166         fi
   21167 	# Put the nasty error message in config.log where it belongs
   21168 	echo "$FREETYPE_PKG_ERRORS" >&5
   21169 
   21170 	{ $as_echo "$as_me:$LINENO: result: no" >&5
   21171 $as_echo "no" >&6; }
   21172                 freetype_config=yes
   21173 elif test $pkg_failed = untried; then
   21174 	freetype_config=yes
   21175 else
   21176 	FREETYPE_CFLAGS=$pkg_cv_FREETYPE_CFLAGS
   21177 	FREETYPE_LIBS=$pkg_cv_FREETYPE_LIBS
   21178         { $as_echo "$as_me:$LINENO: result: yes" >&5
   21179 $as_echo "yes" >&6; }
   21180 	freetype_config=no
   21181 fi
   21182 	fi
   21183 
   21184 	if test "$freetype_config" = "yes"; then
   21185 		# Extract the first word of "freetype-config", so it can be a program name with args.
   21186 set dummy freetype-config; ac_word=$2
   21187 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   21188 $as_echo_n "checking for $ac_word... " >&6; }
   21189 if test "${ac_cv_path_ft_config+set}" = set; then
   21190   $as_echo_n "(cached) " >&6
   21191 else
   21192   case $ft_config in
   21193   [\\/]* | ?:[\\/]*)
   21194   ac_cv_path_ft_config="$ft_config" # Let the user override the test with a path.
   21195   ;;
   21196   *)
   21197   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   21198 for as_dir in $PATH
   21199 do
   21200   IFS=$as_save_IFS
   21201   test -z "$as_dir" && as_dir=.
   21202   for ac_exec_ext in '' $ac_executable_extensions; do
   21203   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   21204     ac_cv_path_ft_config="$as_dir/$ac_word$ac_exec_ext"
   21205     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   21206     break 2
   21207   fi
   21208 done
   21209 done
   21210 IFS=$as_save_IFS
   21211 
   21212   test -z "$ac_cv_path_ft_config" && ac_cv_path_ft_config="no"
   21213   ;;
   21214 esac
   21215 fi
   21216 ft_config=$ac_cv_path_ft_config
   21217 if test -n "$ft_config"; then
   21218   { $as_echo "$as_me:$LINENO: result: $ft_config" >&5
   21219 $as_echo "$ft_config" >&6; }
   21220 else
   21221   { $as_echo "$as_me:$LINENO: result: no" >&5
   21222 $as_echo "no" >&6; }
   21223 fi
   21224 
   21225 
   21226 		if test "$ft_config" = "no"; then
   21227 			{ { $as_echo "$as_me:$LINENO: error: You must have freetype installed; see http://www.freetype.org/" >&5
   21228 $as_echo "$as_me: error: You must have freetype installed; see http://www.freetype.org/" >&2;}
   21229    { (exit 1); exit 1; }; }
   21230 		fi
   21231 	else
   21232 		ft_config="$freetype_config"
   21233 	fi
   21234 
   21235 	if test "$freetype_config" != "no"; then
   21236 		FREETYPE_CFLAGS="`$ft_config --cflags`"
   21237 		FREETYPE_LIBS="`$ft_config --libs`"
   21238 	fi
   21239 	FREETYPE_REQUIRES="freetype2"
   21240 	XFONT_FONTFILE=yes
   21241 else
   21242 	FREETYPE_CFLAGS=""
   21243 	FREETYPE_LIBS=""
   21244 	FREETYPE_REQUIRES=""
   21245 fi
   21246 
   21247 
   21248 
   21249 
   21250 #
   21251 # Bitmap fonts in files:
   21252 #	Builtins (gzipped pcf format in .text segment)
   21253 #	PCF
   21254 #	BDF
   21255 #	SNF
   21256 #
   21257 
   21258 
   21259 cat >>confdefs.h <<\_ACEOF
   21260 #define X_GZIP_FONT_COMPRESSION 1
   21261 _ACEOF
   21262 
   21263 X_GZIP_FONT_COMPRESSION=1
   21264 
   21265 { $as_echo "$as_me:$LINENO: checking for gzopen in -lz" >&5
   21266 $as_echo_n "checking for gzopen in -lz... " >&6; }
   21267 if test "${ac_cv_lib_z_gzopen+set}" = set; then
   21268   $as_echo_n "(cached) " >&6
   21269 else
   21270   ac_check_lib_save_LIBS=$LIBS
   21271 LIBS="-lz  $LIBS"
   21272 cat >conftest.$ac_ext <<_ACEOF
   21273 /* confdefs.h.  */
   21274 _ACEOF
   21275 cat confdefs.h >>conftest.$ac_ext
   21276 cat >>conftest.$ac_ext <<_ACEOF
   21277 /* end confdefs.h.  */
   21278 
   21279 /* Override any GCC internal prototype to avoid an error.
   21280    Use char because int might match the return type of a GCC
   21281    builtin and then its argument prototype would still apply.  */
   21282 #ifdef __cplusplus
   21283 extern "C"
   21284 #endif
   21285 char gzopen ();
   21286 int
   21287 main ()
   21288 {
   21289 return gzopen ();
   21290   ;
   21291   return 0;
   21292 }
   21293 _ACEOF
   21294 rm -f conftest.$ac_objext conftest$ac_exeext
   21295 if { (ac_try="$ac_link"
   21296 case "(($ac_try" in
   21297   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   21298   *) ac_try_echo=$ac_try;;
   21299 esac
   21300 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   21301 $as_echo "$ac_try_echo") >&5
   21302   (eval "$ac_link") 2>conftest.er1
   21303   ac_status=$?
   21304   grep -v '^ *+' conftest.er1 >conftest.err
   21305   rm -f conftest.er1
   21306   cat conftest.err >&5
   21307   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21308   (exit $ac_status); } && {
   21309 	 test -z "$ac_c_werror_flag" ||
   21310 	 test ! -s conftest.err
   21311        } && test -s conftest$ac_exeext && {
   21312 	 test "$cross_compiling" = yes ||
   21313 	 $as_test_x conftest$ac_exeext
   21314        }; then
   21315   ac_cv_lib_z_gzopen=yes
   21316 else
   21317   $as_echo "$as_me: failed program was:" >&5
   21318 sed 's/^/| /' conftest.$ac_ext >&5
   21319 
   21320 	ac_cv_lib_z_gzopen=no
   21321 fi
   21322 
   21323 rm -rf conftest.dSYM
   21324 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   21325       conftest$ac_exeext conftest.$ac_ext
   21326 LIBS=$ac_check_lib_save_LIBS
   21327 fi
   21328 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_z_gzopen" >&5
   21329 $as_echo "$ac_cv_lib_z_gzopen" >&6; }
   21330 if test "x$ac_cv_lib_z_gzopen" = x""yes; then
   21331   Z_LIBS=-lz
   21332 else
   21333   { { $as_echo "$as_me:$LINENO: error: *** zlib is required" >&5
   21334 $as_echo "$as_me: error: *** zlib is required" >&2;}
   21335    { (exit 1); exit 1; }; }
   21336 fi
   21337 
   21338 
   21339 
   21340 # Check whether --with-bzip2 was given.
   21341 if test "${with_bzip2+set}" = set; then
   21342   withval=$with_bzip2;
   21343 else
   21344   with_bzip2=no
   21345 fi
   21346 
   21347 if test "x$with_bzip2" = xyes; then
   21348 	{ $as_echo "$as_me:$LINENO: checking for BZ2_bzopen in -lbz2" >&5
   21349 $as_echo_n "checking for BZ2_bzopen in -lbz2... " >&6; }
   21350 if test "${ac_cv_lib_bz2_BZ2_bzopen+set}" = set; then
   21351   $as_echo_n "(cached) " >&6
   21352 else
   21353   ac_check_lib_save_LIBS=$LIBS
   21354 LIBS="-lbz2  $LIBS"
   21355 cat >conftest.$ac_ext <<_ACEOF
   21356 /* confdefs.h.  */
   21357 _ACEOF
   21358 cat confdefs.h >>conftest.$ac_ext
   21359 cat >>conftest.$ac_ext <<_ACEOF
   21360 /* end confdefs.h.  */
   21361 
   21362 /* Override any GCC internal prototype to avoid an error.
   21363    Use char because int might match the return type of a GCC
   21364    builtin and then its argument prototype would still apply.  */
   21365 #ifdef __cplusplus
   21366 extern "C"
   21367 #endif
   21368 char BZ2_bzopen ();
   21369 int
   21370 main ()
   21371 {
   21372 return BZ2_bzopen ();
   21373   ;
   21374   return 0;
   21375 }
   21376 _ACEOF
   21377 rm -f conftest.$ac_objext conftest$ac_exeext
   21378 if { (ac_try="$ac_link"
   21379 case "(($ac_try" in
   21380   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   21381   *) ac_try_echo=$ac_try;;
   21382 esac
   21383 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   21384 $as_echo "$ac_try_echo") >&5
   21385   (eval "$ac_link") 2>conftest.er1
   21386   ac_status=$?
   21387   grep -v '^ *+' conftest.er1 >conftest.err
   21388   rm -f conftest.er1
   21389   cat conftest.err >&5
   21390   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21391   (exit $ac_status); } && {
   21392 	 test -z "$ac_c_werror_flag" ||
   21393 	 test ! -s conftest.err
   21394        } && test -s conftest$ac_exeext && {
   21395 	 test "$cross_compiling" = yes ||
   21396 	 $as_test_x conftest$ac_exeext
   21397        }; then
   21398   ac_cv_lib_bz2_BZ2_bzopen=yes
   21399 else
   21400   $as_echo "$as_me: failed program was:" >&5
   21401 sed 's/^/| /' conftest.$ac_ext >&5
   21402 
   21403 	ac_cv_lib_bz2_BZ2_bzopen=no
   21404 fi
   21405 
   21406 rm -rf conftest.dSYM
   21407 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   21408       conftest$ac_exeext conftest.$ac_ext
   21409 LIBS=$ac_check_lib_save_LIBS
   21410 fi
   21411 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_bz2_BZ2_bzopen" >&5
   21412 $as_echo "$ac_cv_lib_bz2_BZ2_bzopen" >&6; }
   21413 if test "x$ac_cv_lib_bz2_BZ2_bzopen" = x""yes; then
   21414   Z_LIBS="$Z_LIBS -lbz2"
   21415 else
   21416   { { $as_echo "$as_me:$LINENO: error: *** libbz2 is required for bzip2 support" >&5
   21417 $as_echo "$as_me: error: *** libbz2 is required for bzip2 support" >&2;}
   21418    { (exit 1); exit 1; }; }
   21419 fi
   21420 
   21421 
   21422 cat >>confdefs.h <<\_ACEOF
   21423 #define X_BZIP2_FONT_COMPRESSION 1
   21424 _ACEOF
   21425 
   21426 fi
   21427  if test "x$with_bzip2" = xyes ; then
   21428   X_BZIP2_FONT_COMPRESSION_TRUE=
   21429   X_BZIP2_FONT_COMPRESSION_FALSE='#'
   21430 else
   21431   X_BZIP2_FONT_COMPRESSION_TRUE='#'
   21432   X_BZIP2_FONT_COMPRESSION_FALSE=
   21433 fi
   21434 
   21435 
   21436 
   21437 # Check whether --enable-builtins was given.
   21438 if test "${enable_builtins+set}" = set; then
   21439   enableval=$enable_builtins; XFONT_BUILTINS=$enableval
   21440 else
   21441   XFONT_BUILTINS=yes
   21442 fi
   21443 
   21444  if test "x$XFONT_BUILTINS" = xyes ; then
   21445   XFONT_BUILTINS_TRUE=
   21446   XFONT_BUILTINS_FALSE='#'
   21447 else
   21448   XFONT_BUILTINS_TRUE='#'
   21449   XFONT_BUILTINS_FALSE=
   21450 fi
   21451 
   21452 if test "x$XFONT_BUILTINS" = xyes; then
   21453 
   21454 cat >>confdefs.h <<\_ACEOF
   21455 #define XFONT_BUILTINS 1
   21456 _ACEOF
   21457 
   21458 	XFONT_BITMAP=yes
   21459 fi
   21460 
   21461 # Check whether --enable-pcfformat was given.
   21462 if test "${enable_pcfformat+set}" = set; then
   21463   enableval=$enable_pcfformat; XFONT_PCFFORMAT=$enableval
   21464 else
   21465   XFONT_PCFFORMAT=yes
   21466 fi
   21467 
   21468  if test "x$XFONT_PCFFORMAT" = xyes; then
   21469   XFONT_PCFFORMAT_TRUE=
   21470   XFONT_PCFFORMAT_FALSE='#'
   21471 else
   21472   XFONT_PCFFORMAT_TRUE='#'
   21473   XFONT_PCFFORMAT_FALSE=
   21474 fi
   21475 
   21476 if test "x$XFONT_PCFFORMAT" = xyes; then
   21477 
   21478 cat >>confdefs.h <<\_ACEOF
   21479 #define XFONT_PCFFORMAT 1
   21480 _ACEOF
   21481 
   21482 	XFONT_BITMAP=yes
   21483 fi
   21484 
   21485 # Check whether --enable-bdfformat was given.
   21486 if test "${enable_bdfformat+set}" = set; then
   21487   enableval=$enable_bdfformat; XFONT_BDFFORMAT=$enableval
   21488 else
   21489   XFONT_BDFFORMAT=yes
   21490 fi
   21491 
   21492  if test "x$XFONT_BDFFORMAT" = xyes; then
   21493   XFONT_BDFFORMAT_TRUE=
   21494   XFONT_BDFFORMAT_FALSE='#'
   21495 else
   21496   XFONT_BDFFORMAT_TRUE='#'
   21497   XFONT_BDFFORMAT_FALSE=
   21498 fi
   21499 
   21500 if test "x$XFONT_BDFFORMAT" = xyes; then
   21501 
   21502 cat >>confdefs.h <<\_ACEOF
   21503 #define XFONT_BDFFORMAT 1
   21504 _ACEOF
   21505 
   21506 	XFONT_BITMAP=yes
   21507 fi
   21508 
   21509 # Check whether --enable-snfformat was given.
   21510 if test "${enable_snfformat+set}" = set; then
   21511   enableval=$enable_snfformat; XFONT_SNFFORMAT=$enableval
   21512 else
   21513   XFONT_SNFFORMAT=yes
   21514 fi
   21515 
   21516  if test "x$XFONT_SNFFORMAT" = xyes; then
   21517   XFONT_SNFFORMAT_TRUE=
   21518   XFONT_SNFFORMAT_FALSE='#'
   21519 else
   21520   XFONT_SNFFORMAT_TRUE='#'
   21521   XFONT_SNFFORMAT_FALSE=
   21522 fi
   21523 
   21524 if test "x$XFONT_SNFFORMAT" = xyes; then
   21525 
   21526 cat >>confdefs.h <<\_ACEOF
   21527 #define XFONT_SNFFORMAT 1
   21528 _ACEOF
   21529 
   21530 	XFONT_BITMAP=yes
   21531 fi
   21532 
   21533  if test "x$XFONT_BITMAP" = xyes ; then
   21534   XFONT_BITMAP_TRUE=
   21535   XFONT_BITMAP_FALSE='#'
   21536 else
   21537   XFONT_BITMAP_TRUE='#'
   21538   XFONT_BITMAP_FALSE=
   21539 fi
   21540 
   21541 if test "x$XFONT_BITMAP" = xyes; then
   21542 
   21543 cat >>confdefs.h <<\_ACEOF
   21544 #define XFONT_BITMAP 1
   21545 _ACEOF
   21546 
   21547 	XFONT_FONTFILE=yes
   21548 fi
   21549 
   21550  if test "x$XFONT_FONTFILE" = xyes; then
   21551   XFONT_FONTFILE_TRUE=
   21552   XFONT_FONTFILE_FALSE='#'
   21553 else
   21554   XFONT_FONTFILE_TRUE='#'
   21555   XFONT_FONTFILE_FALSE=
   21556 fi
   21557 
   21558 if test "x$XFONT_FONTFILE" = xyes; then
   21559 
   21560 cat >>confdefs.h <<\_ACEOF
   21561 #define XFONT_FONTFILE 1
   21562 _ACEOF
   21563 
   21564 fi
   21565 
   21566 #
   21567 # Support connection to font servers?
   21568 #
   21569 
   21570 # Check whether --enable-fc was given.
   21571 if test "${enable_fc+set}" = set; then
   21572   enableval=$enable_fc; XFONT_FC=$enableval
   21573 else
   21574   XFONT_FC=yes
   21575 fi
   21576 
   21577  if test "x$XFONT_FC" = xyes; then
   21578   XFONT_FC_TRUE=
   21579   XFONT_FC_FALSE='#'
   21580 else
   21581   XFONT_FC_TRUE='#'
   21582   XFONT_FC_FALSE=
   21583 fi
   21584 
   21585 if test "x$XFONT_FC" = xyes; then
   21586 
   21587 cat >>confdefs.h <<\_ACEOF
   21588 #define XFONT_FC 1
   21589 _ACEOF
   21590 
   21591 fi
   21592 
   21593 
   21594 { $as_echo "$as_me:$LINENO: checking for hypot in -lm" >&5
   21595 $as_echo_n "checking for hypot in -lm... " >&6; }
   21596 if test "${ac_cv_lib_m_hypot+set}" = set; then
   21597   $as_echo_n "(cached) " >&6
   21598 else
   21599   ac_check_lib_save_LIBS=$LIBS
   21600 LIBS="-lm  $LIBS"
   21601 cat >conftest.$ac_ext <<_ACEOF
   21602 /* confdefs.h.  */
   21603 _ACEOF
   21604 cat confdefs.h >>conftest.$ac_ext
   21605 cat >>conftest.$ac_ext <<_ACEOF
   21606 /* end confdefs.h.  */
   21607 
   21608 /* Override any GCC internal prototype to avoid an error.
   21609    Use char because int might match the return type of a GCC
   21610    builtin and then its argument prototype would still apply.  */
   21611 #ifdef __cplusplus
   21612 extern "C"
   21613 #endif
   21614 char hypot ();
   21615 int
   21616 main ()
   21617 {
   21618 return hypot ();
   21619   ;
   21620   return 0;
   21621 }
   21622 _ACEOF
   21623 rm -f conftest.$ac_objext conftest$ac_exeext
   21624 if { (ac_try="$ac_link"
   21625 case "(($ac_try" in
   21626   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   21627   *) ac_try_echo=$ac_try;;
   21628 esac
   21629 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   21630 $as_echo "$ac_try_echo") >&5
   21631   (eval "$ac_link") 2>conftest.er1
   21632   ac_status=$?
   21633   grep -v '^ *+' conftest.er1 >conftest.err
   21634   rm -f conftest.er1
   21635   cat conftest.err >&5
   21636   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21637   (exit $ac_status); } && {
   21638 	 test -z "$ac_c_werror_flag" ||
   21639 	 test ! -s conftest.err
   21640        } && test -s conftest$ac_exeext && {
   21641 	 test "$cross_compiling" = yes ||
   21642 	 $as_test_x conftest$ac_exeext
   21643        }; then
   21644   ac_cv_lib_m_hypot=yes
   21645 else
   21646   $as_echo "$as_me: failed program was:" >&5
   21647 sed 's/^/| /' conftest.$ac_ext >&5
   21648 
   21649 	ac_cv_lib_m_hypot=no
   21650 fi
   21651 
   21652 rm -rf conftest.dSYM
   21653 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   21654       conftest$ac_exeext conftest.$ac_ext
   21655 LIBS=$ac_check_lib_save_LIBS
   21656 fi
   21657 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_m_hypot" >&5
   21658 $as_echo "$ac_cv_lib_m_hypot" >&6; }
   21659 if test "x$ac_cv_lib_m_hypot" = x""yes; then
   21660   MATH_LIBS=-lm
   21661 
   21662 else
   21663   { { $as_echo "$as_me:$LINENO: error: *** libm is required" >&5
   21664 $as_echo "$as_me: error: *** libm is required" >&2;}
   21665    { (exit 1); exit 1; }; }
   21666 fi
   21667 
   21668 
   21669 
   21670 pkg_failed=no
   21671 { $as_echo "$as_me:$LINENO: checking for XFONT" >&5
   21672 $as_echo_n "checking for XFONT... " >&6; }
   21673 
   21674 if test -n "$XFONT_CFLAGS"; then
   21675     pkg_cv_XFONT_CFLAGS="$XFONT_CFLAGS"
   21676  elif test -n "$PKG_CONFIG"; then
   21677     if test -n "$PKG_CONFIG" && \
   21678     { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xproto xtrans fontsproto fontenc\"") >&5
   21679   ($PKG_CONFIG --exists --print-errors "xproto xtrans fontsproto fontenc") 2>&5
   21680   ac_status=$?
   21681   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21682   (exit $ac_status); }; then
   21683   pkg_cv_XFONT_CFLAGS=`$PKG_CONFIG --cflags "xproto xtrans fontsproto fontenc" 2>/dev/null`
   21684 else
   21685   pkg_failed=yes
   21686 fi
   21687  else
   21688     pkg_failed=untried
   21689 fi
   21690 if test -n "$XFONT_LIBS"; then
   21691     pkg_cv_XFONT_LIBS="$XFONT_LIBS"
   21692  elif test -n "$PKG_CONFIG"; then
   21693     if test -n "$PKG_CONFIG" && \
   21694     { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xproto xtrans fontsproto fontenc\"") >&5
   21695   ($PKG_CONFIG --exists --print-errors "xproto xtrans fontsproto fontenc") 2>&5
   21696   ac_status=$?
   21697   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21698   (exit $ac_status); }; then
   21699   pkg_cv_XFONT_LIBS=`$PKG_CONFIG --libs "xproto xtrans fontsproto fontenc" 2>/dev/null`
   21700 else
   21701   pkg_failed=yes
   21702 fi
   21703  else
   21704     pkg_failed=untried
   21705 fi
   21706 
   21707 
   21708 
   21709 if test $pkg_failed = yes; then
   21710 
   21711 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   21712         _pkg_short_errors_supported=yes
   21713 else
   21714         _pkg_short_errors_supported=no
   21715 fi
   21716         if test $_pkg_short_errors_supported = yes; then
   21717 	        XFONT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "xproto xtrans fontsproto fontenc" 2>&1`
   21718         else
   21719 	        XFONT_PKG_ERRORS=`$PKG_CONFIG --print-errors "xproto xtrans fontsproto fontenc" 2>&1`
   21720         fi
   21721 	# Put the nasty error message in config.log where it belongs
   21722 	echo "$XFONT_PKG_ERRORS" >&5
   21723 
   21724 	{ { $as_echo "$as_me:$LINENO: error: Package requirements (xproto xtrans fontsproto fontenc) were not met:
   21725 
   21726 $XFONT_PKG_ERRORS
   21727 
   21728 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   21729 installed software in a non-standard prefix.
   21730 
   21731 Alternatively, you may set the environment variables XFONT_CFLAGS
   21732 and XFONT_LIBS to avoid the need to call pkg-config.
   21733 See the pkg-config man page for more details.
   21734 " >&5
   21735 $as_echo "$as_me: error: Package requirements (xproto xtrans fontsproto fontenc) were not met:
   21736 
   21737 $XFONT_PKG_ERRORS
   21738 
   21739 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   21740 installed software in a non-standard prefix.
   21741 
   21742 Alternatively, you may set the environment variables XFONT_CFLAGS
   21743 and XFONT_LIBS to avoid the need to call pkg-config.
   21744 See the pkg-config man page for more details.
   21745 " >&2;}
   21746    { (exit 1); exit 1; }; }
   21747 elif test $pkg_failed = untried; then
   21748 	{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   21749 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   21750 { { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
   21751 is in your PATH or set the PKG_CONFIG environment variable to the full
   21752 path to pkg-config.
   21753 
   21754 Alternatively, you may set the environment variables XFONT_CFLAGS
   21755 and XFONT_LIBS to avoid the need to call pkg-config.
   21756 See the pkg-config man page for more details.
   21757 
   21758 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   21759 See \`config.log' for more details." >&5
   21760 $as_echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
   21761 is in your PATH or set the PKG_CONFIG environment variable to the full
   21762 path to pkg-config.
   21763 
   21764 Alternatively, you may set the environment variables XFONT_CFLAGS
   21765 and XFONT_LIBS to avoid the need to call pkg-config.
   21766 See the pkg-config man page for more details.
   21767 
   21768 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   21769 See \`config.log' for more details." >&2;}
   21770    { (exit 1); exit 1; }; }; }
   21771 else
   21772 	XFONT_CFLAGS=$pkg_cv_XFONT_CFLAGS
   21773 	XFONT_LIBS=$pkg_cv_XFONT_LIBS
   21774         { $as_echo "$as_me:$LINENO: result: yes" >&5
   21775 $as_echo "yes" >&6; }
   21776 	:
   21777 fi
   21778 
   21779 # Transport selection macro from xtrans.m4
   21780 { $as_echo "$as_me:$LINENO: checking return type of signal handlers" >&5
   21781 $as_echo_n "checking return type of signal handlers... " >&6; }
   21782 if test "${ac_cv_type_signal+set}" = set; then
   21783   $as_echo_n "(cached) " >&6
   21784 else
   21785   cat >conftest.$ac_ext <<_ACEOF
   21786 /* confdefs.h.  */
   21787 _ACEOF
   21788 cat confdefs.h >>conftest.$ac_ext
   21789 cat >>conftest.$ac_ext <<_ACEOF
   21790 /* end confdefs.h.  */
   21791 #include <sys/types.h>
   21792 #include <signal.h>
   21793 
   21794 int
   21795 main ()
   21796 {
   21797 return *(signal (0, 0)) (0) == 1;
   21798   ;
   21799   return 0;
   21800 }
   21801 _ACEOF
   21802 rm -f conftest.$ac_objext
   21803 if { (ac_try="$ac_compile"
   21804 case "(($ac_try" in
   21805   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   21806   *) ac_try_echo=$ac_try;;
   21807 esac
   21808 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   21809 $as_echo "$ac_try_echo") >&5
   21810   (eval "$ac_compile") 2>conftest.er1
   21811   ac_status=$?
   21812   grep -v '^ *+' conftest.er1 >conftest.err
   21813   rm -f conftest.er1
   21814   cat conftest.err >&5
   21815   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21816   (exit $ac_status); } && {
   21817 	 test -z "$ac_c_werror_flag" ||
   21818 	 test ! -s conftest.err
   21819        } && test -s conftest.$ac_objext; then
   21820   ac_cv_type_signal=int
   21821 else
   21822   $as_echo "$as_me: failed program was:" >&5
   21823 sed 's/^/| /' conftest.$ac_ext >&5
   21824 
   21825 	ac_cv_type_signal=void
   21826 fi
   21827 
   21828 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   21829 fi
   21830 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
   21831 $as_echo "$ac_cv_type_signal" >&6; }
   21832 
   21833 cat >>confdefs.h <<_ACEOF
   21834 #define RETSIGTYPE $ac_cv_type_signal
   21835 _ACEOF
   21836 
   21837 
   21838 
   21839 
   21840 
   21841  case $host_os in
   21842 	mingw*)	unixdef="no"   ;;
   21843 	*)	unixdef="yes"  ;;
   21844  esac
   21845  # Check whether --enable-unix-transport was given.
   21846 if test "${enable_unix_transport+set}" = set; then
   21847   enableval=$enable_unix_transport; UNIXCONN=$enableval
   21848 else
   21849   UNIXCONN=$unixdef
   21850 fi
   21851 
   21852  { $as_echo "$as_me:$LINENO: checking if Xtrans should support UNIX socket connections" >&5
   21853 $as_echo_n "checking if Xtrans should support UNIX socket connections... " >&6; }
   21854  if test "$UNIXCONN" = "yes"; then
   21855 
   21856 cat >>confdefs.h <<\_ACEOF
   21857 #define UNIXCONN 1
   21858 _ACEOF
   21859 
   21860  fi
   21861  { $as_echo "$as_me:$LINENO: result: $UNIXCONN" >&5
   21862 $as_echo "$UNIXCONN" >&6; }
   21863  # Check whether --enable-tcp-transport was given.
   21864 if test "${enable_tcp_transport+set}" = set; then
   21865   enableval=$enable_tcp_transport; TCPCONN=$enableval
   21866 else
   21867   TCPCONN=yes
   21868 fi
   21869 
   21870  { $as_echo "$as_me:$LINENO: checking if Xtrans should support TCP socket connections" >&5
   21871 $as_echo_n "checking if Xtrans should support TCP socket connections... " >&6; }
   21872  { $as_echo "$as_me:$LINENO: result: $TCPCONN" >&5
   21873 $as_echo "$TCPCONN" >&6; }
   21874  if test "$TCPCONN" = "yes"; then
   21875 
   21876 cat >>confdefs.h <<\_ACEOF
   21877 #define TCPCONN 1
   21878 _ACEOF
   21879 
   21880 
   21881  # SVR4 hides these in libraries other than libc
   21882  { $as_echo "$as_me:$LINENO: checking for library containing socket" >&5
   21883 $as_echo_n "checking for library containing socket... " >&6; }
   21884 if test "${ac_cv_search_socket+set}" = set; then
   21885   $as_echo_n "(cached) " >&6
   21886 else
   21887   ac_func_search_save_LIBS=$LIBS
   21888 cat >conftest.$ac_ext <<_ACEOF
   21889 /* confdefs.h.  */
   21890 _ACEOF
   21891 cat confdefs.h >>conftest.$ac_ext
   21892 cat >>conftest.$ac_ext <<_ACEOF
   21893 /* end confdefs.h.  */
   21894 
   21895 /* Override any GCC internal prototype to avoid an error.
   21896    Use char because int might match the return type of a GCC
   21897    builtin and then its argument prototype would still apply.  */
   21898 #ifdef __cplusplus
   21899 extern "C"
   21900 #endif
   21901 char socket ();
   21902 int
   21903 main ()
   21904 {
   21905 return socket ();
   21906   ;
   21907   return 0;
   21908 }
   21909 _ACEOF
   21910 for ac_lib in '' socket; do
   21911   if test -z "$ac_lib"; then
   21912     ac_res="none required"
   21913   else
   21914     ac_res=-l$ac_lib
   21915     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   21916   fi
   21917   rm -f conftest.$ac_objext conftest$ac_exeext
   21918 if { (ac_try="$ac_link"
   21919 case "(($ac_try" in
   21920   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   21921   *) ac_try_echo=$ac_try;;
   21922 esac
   21923 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   21924 $as_echo "$ac_try_echo") >&5
   21925   (eval "$ac_link") 2>conftest.er1
   21926   ac_status=$?
   21927   grep -v '^ *+' conftest.er1 >conftest.err
   21928   rm -f conftest.er1
   21929   cat conftest.err >&5
   21930   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21931   (exit $ac_status); } && {
   21932 	 test -z "$ac_c_werror_flag" ||
   21933 	 test ! -s conftest.err
   21934        } && test -s conftest$ac_exeext && {
   21935 	 test "$cross_compiling" = yes ||
   21936 	 $as_test_x conftest$ac_exeext
   21937        }; then
   21938   ac_cv_search_socket=$ac_res
   21939 else
   21940   $as_echo "$as_me: failed program was:" >&5
   21941 sed 's/^/| /' conftest.$ac_ext >&5
   21942 
   21943 
   21944 fi
   21945 
   21946 rm -rf conftest.dSYM
   21947 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   21948       conftest$ac_exeext
   21949   if test "${ac_cv_search_socket+set}" = set; then
   21950   break
   21951 fi
   21952 done
   21953 if test "${ac_cv_search_socket+set}" = set; then
   21954   :
   21955 else
   21956   ac_cv_search_socket=no
   21957 fi
   21958 rm conftest.$ac_ext
   21959 LIBS=$ac_func_search_save_LIBS
   21960 fi
   21961 { $as_echo "$as_me:$LINENO: result: $ac_cv_search_socket" >&5
   21962 $as_echo "$ac_cv_search_socket" >&6; }
   21963 ac_res=$ac_cv_search_socket
   21964 if test "$ac_res" != no; then
   21965   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
   21966 
   21967 fi
   21968 
   21969  { $as_echo "$as_me:$LINENO: checking for library containing gethostbyname" >&5
   21970 $as_echo_n "checking for library containing gethostbyname... " >&6; }
   21971 if test "${ac_cv_search_gethostbyname+set}" = set; then
   21972   $as_echo_n "(cached) " >&6
   21973 else
   21974   ac_func_search_save_LIBS=$LIBS
   21975 cat >conftest.$ac_ext <<_ACEOF
   21976 /* confdefs.h.  */
   21977 _ACEOF
   21978 cat confdefs.h >>conftest.$ac_ext
   21979 cat >>conftest.$ac_ext <<_ACEOF
   21980 /* end confdefs.h.  */
   21981 
   21982 /* Override any GCC internal prototype to avoid an error.
   21983    Use char because int might match the return type of a GCC
   21984    builtin and then its argument prototype would still apply.  */
   21985 #ifdef __cplusplus
   21986 extern "C"
   21987 #endif
   21988 char gethostbyname ();
   21989 int
   21990 main ()
   21991 {
   21992 return gethostbyname ();
   21993   ;
   21994   return 0;
   21995 }
   21996 _ACEOF
   21997 for ac_lib in '' nsl; do
   21998   if test -z "$ac_lib"; then
   21999     ac_res="none required"
   22000   else
   22001     ac_res=-l$ac_lib
   22002     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   22003   fi
   22004   rm -f conftest.$ac_objext conftest$ac_exeext
   22005 if { (ac_try="$ac_link"
   22006 case "(($ac_try" in
   22007   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   22008   *) ac_try_echo=$ac_try;;
   22009 esac
   22010 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   22011 $as_echo "$ac_try_echo") >&5
   22012   (eval "$ac_link") 2>conftest.er1
   22013   ac_status=$?
   22014   grep -v '^ *+' conftest.er1 >conftest.err
   22015   rm -f conftest.er1
   22016   cat conftest.err >&5
   22017   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   22018   (exit $ac_status); } && {
   22019 	 test -z "$ac_c_werror_flag" ||
   22020 	 test ! -s conftest.err
   22021        } && test -s conftest$ac_exeext && {
   22022 	 test "$cross_compiling" = yes ||
   22023 	 $as_test_x conftest$ac_exeext
   22024        }; then
   22025   ac_cv_search_gethostbyname=$ac_res
   22026 else
   22027   $as_echo "$as_me: failed program was:" >&5
   22028 sed 's/^/| /' conftest.$ac_ext >&5
   22029 
   22030 
   22031 fi
   22032 
   22033 rm -rf conftest.dSYM
   22034 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   22035       conftest$ac_exeext
   22036   if test "${ac_cv_search_gethostbyname+set}" = set; then
   22037   break
   22038 fi
   22039 done
   22040 if test "${ac_cv_search_gethostbyname+set}" = set; then
   22041   :
   22042 else
   22043   ac_cv_search_gethostbyname=no
   22044 fi
   22045 rm conftest.$ac_ext
   22046 LIBS=$ac_func_search_save_LIBS
   22047 fi
   22048 { $as_echo "$as_me:$LINENO: result: $ac_cv_search_gethostbyname" >&5
   22049 $as_echo "$ac_cv_search_gethostbyname" >&6; }
   22050 ac_res=$ac_cv_search_gethostbyname
   22051 if test "$ac_res" != no; then
   22052   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
   22053 
   22054 fi
   22055 
   22056 
   22057 { $as_echo "$as_me:$LINENO: checking for main in -lws2_32" >&5
   22058 $as_echo_n "checking for main in -lws2_32... " >&6; }
   22059 if test "${ac_cv_lib_ws2_32_main+set}" = set; then
   22060   $as_echo_n "(cached) " >&6
   22061 else
   22062   ac_check_lib_save_LIBS=$LIBS
   22063 LIBS="-lws2_32  $LIBS"
   22064 cat >conftest.$ac_ext <<_ACEOF
   22065 /* confdefs.h.  */
   22066 _ACEOF
   22067 cat confdefs.h >>conftest.$ac_ext
   22068 cat >>conftest.$ac_ext <<_ACEOF
   22069 /* end confdefs.h.  */
   22070 
   22071 
   22072 int
   22073 main ()
   22074 {
   22075 return main ();
   22076   ;
   22077   return 0;
   22078 }
   22079 _ACEOF
   22080 rm -f conftest.$ac_objext conftest$ac_exeext
   22081 if { (ac_try="$ac_link"
   22082 case "(($ac_try" in
   22083   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   22084   *) ac_try_echo=$ac_try;;
   22085 esac
   22086 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   22087 $as_echo "$ac_try_echo") >&5
   22088   (eval "$ac_link") 2>conftest.er1
   22089   ac_status=$?
   22090   grep -v '^ *+' conftest.er1 >conftest.err
   22091   rm -f conftest.er1
   22092   cat conftest.err >&5
   22093   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   22094   (exit $ac_status); } && {
   22095 	 test -z "$ac_c_werror_flag" ||
   22096 	 test ! -s conftest.err
   22097        } && test -s conftest$ac_exeext && {
   22098 	 test "$cross_compiling" = yes ||
   22099 	 $as_test_x conftest$ac_exeext
   22100        }; then
   22101   ac_cv_lib_ws2_32_main=yes
   22102 else
   22103   $as_echo "$as_me: failed program was:" >&5
   22104 sed 's/^/| /' conftest.$ac_ext >&5
   22105 
   22106 	ac_cv_lib_ws2_32_main=no
   22107 fi
   22108 
   22109 rm -rf conftest.dSYM
   22110 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   22111       conftest$ac_exeext conftest.$ac_ext
   22112 LIBS=$ac_check_lib_save_LIBS
   22113 fi
   22114 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_ws2_32_main" >&5
   22115 $as_echo "$ac_cv_lib_ws2_32_main" >&6; }
   22116 if test "x$ac_cv_lib_ws2_32_main" = x""yes; then
   22117   cat >>confdefs.h <<_ACEOF
   22118 #define HAVE_LIBWS2_32 1
   22119 _ACEOF
   22120 
   22121   LIBS="-lws2_32 $LIBS"
   22122 
   22123 fi
   22124 ac_cv_lib_ws2_32=ac_cv_lib_ws2_32_main
   22125 
   22126 
   22127  # Needs to come after above checks for libsocket & libnsl for SVR4 systems
   22128  # Check whether --enable-ipv6 was given.
   22129 if test "${enable_ipv6+set}" = set; then
   22130   enableval=$enable_ipv6; IPV6CONN=$enableval
   22131 else
   22132   { $as_echo "$as_me:$LINENO: checking for getaddrinfo" >&5
   22133 $as_echo_n "checking for getaddrinfo... " >&6; }
   22134 if test "${ac_cv_func_getaddrinfo+set}" = set; then
   22135   $as_echo_n "(cached) " >&6
   22136 else
   22137   cat >conftest.$ac_ext <<_ACEOF
   22138 /* confdefs.h.  */
   22139 _ACEOF
   22140 cat confdefs.h >>conftest.$ac_ext
   22141 cat >>conftest.$ac_ext <<_ACEOF
   22142 /* end confdefs.h.  */
   22143 /* Define getaddrinfo to an innocuous variant, in case <limits.h> declares getaddrinfo.
   22144    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   22145 #define getaddrinfo innocuous_getaddrinfo
   22146 
   22147 /* System header to define __stub macros and hopefully few prototypes,
   22148     which can conflict with char getaddrinfo (); below.
   22149     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   22150     <limits.h> exists even on freestanding compilers.  */
   22151 
   22152 #ifdef __STDC__
   22153 # include <limits.h>
   22154 #else
   22155 # include <assert.h>
   22156 #endif
   22157 
   22158 #undef getaddrinfo
   22159 
   22160 /* Override any GCC internal prototype to avoid an error.
   22161    Use char because int might match the return type of a GCC
   22162    builtin and then its argument prototype would still apply.  */
   22163 #ifdef __cplusplus
   22164 extern "C"
   22165 #endif
   22166 char getaddrinfo ();
   22167 /* The GNU C library defines this for functions which it implements
   22168     to always fail with ENOSYS.  Some functions are actually named
   22169     something starting with __ and the normal name is an alias.  */
   22170 #if defined __stub_getaddrinfo || defined __stub___getaddrinfo
   22171 choke me
   22172 #endif
   22173 
   22174 int
   22175 main ()
   22176 {
   22177 return getaddrinfo ();
   22178   ;
   22179   return 0;
   22180 }
   22181 _ACEOF
   22182 rm -f conftest.$ac_objext conftest$ac_exeext
   22183 if { (ac_try="$ac_link"
   22184 case "(($ac_try" in
   22185   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   22186   *) ac_try_echo=$ac_try;;
   22187 esac
   22188 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   22189 $as_echo "$ac_try_echo") >&5
   22190   (eval "$ac_link") 2>conftest.er1
   22191   ac_status=$?
   22192   grep -v '^ *+' conftest.er1 >conftest.err
   22193   rm -f conftest.er1
   22194   cat conftest.err >&5
   22195   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   22196   (exit $ac_status); } && {
   22197 	 test -z "$ac_c_werror_flag" ||
   22198 	 test ! -s conftest.err
   22199        } && test -s conftest$ac_exeext && {
   22200 	 test "$cross_compiling" = yes ||
   22201 	 $as_test_x conftest$ac_exeext
   22202        }; then
   22203   ac_cv_func_getaddrinfo=yes
   22204 else
   22205   $as_echo "$as_me: failed program was:" >&5
   22206 sed 's/^/| /' conftest.$ac_ext >&5
   22207 
   22208 	ac_cv_func_getaddrinfo=no
   22209 fi
   22210 
   22211 rm -rf conftest.dSYM
   22212 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   22213       conftest$ac_exeext conftest.$ac_ext
   22214 fi
   22215 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_getaddrinfo" >&5
   22216 $as_echo "$ac_cv_func_getaddrinfo" >&6; }
   22217 if test "x$ac_cv_func_getaddrinfo" = x""yes; then
   22218   IPV6CONN=yes
   22219 else
   22220   IPV6CONN=no
   22221 fi
   22222 
   22223 fi
   22224 
   22225  { $as_echo "$as_me:$LINENO: checking if IPv6 support should be built" >&5
   22226 $as_echo_n "checking if IPv6 support should be built... " >&6; }
   22227  if test "$IPV6CONN" = "yes"; then
   22228 
   22229 cat >>confdefs.h <<\_ACEOF
   22230 #define IPv6 1
   22231 _ACEOF
   22232 
   22233  fi
   22234  { $as_echo "$as_me:$LINENO: result: $IPV6CONN" >&5
   22235 $as_echo "$IPV6CONN" >&6; }
   22236 
   22237  # 4.3BSD-Reno added a new member to struct sockaddr_in
   22238  { $as_echo "$as_me:$LINENO: checking for struct sockaddr_in.sin_len" >&5
   22239 $as_echo_n "checking for struct sockaddr_in.sin_len... " >&6; }
   22240 if test "${ac_cv_member_struct_sockaddr_in_sin_len+set}" = set; then
   22241   $as_echo_n "(cached) " >&6
   22242 else
   22243   cat >conftest.$ac_ext <<_ACEOF
   22244 /* confdefs.h.  */
   22245 _ACEOF
   22246 cat confdefs.h >>conftest.$ac_ext
   22247 cat >>conftest.$ac_ext <<_ACEOF
   22248 /* end confdefs.h.  */
   22249 
   22250 #include <sys/types.h>
   22251 #include <sys/socket.h>
   22252 #include <netinet/in.h>
   22253 
   22254 
   22255 int
   22256 main ()
   22257 {
   22258 static struct sockaddr_in ac_aggr;
   22259 if (ac_aggr.sin_len)
   22260 return 0;
   22261   ;
   22262   return 0;
   22263 }
   22264 _ACEOF
   22265 rm -f conftest.$ac_objext
   22266 if { (ac_try="$ac_compile"
   22267 case "(($ac_try" in
   22268   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   22269   *) ac_try_echo=$ac_try;;
   22270 esac
   22271 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   22272 $as_echo "$ac_try_echo") >&5
   22273   (eval "$ac_compile") 2>conftest.er1
   22274   ac_status=$?
   22275   grep -v '^ *+' conftest.er1 >conftest.err
   22276   rm -f conftest.er1
   22277   cat conftest.err >&5
   22278   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   22279   (exit $ac_status); } && {
   22280 	 test -z "$ac_c_werror_flag" ||
   22281 	 test ! -s conftest.err
   22282        } && test -s conftest.$ac_objext; then
   22283   ac_cv_member_struct_sockaddr_in_sin_len=yes
   22284 else
   22285   $as_echo "$as_me: failed program was:" >&5
   22286 sed 's/^/| /' conftest.$ac_ext >&5
   22287 
   22288 	cat >conftest.$ac_ext <<_ACEOF
   22289 /* confdefs.h.  */
   22290 _ACEOF
   22291 cat confdefs.h >>conftest.$ac_ext
   22292 cat >>conftest.$ac_ext <<_ACEOF
   22293 /* end confdefs.h.  */
   22294 
   22295 #include <sys/types.h>
   22296 #include <sys/socket.h>
   22297 #include <netinet/in.h>
   22298 
   22299 
   22300 int
   22301 main ()
   22302 {
   22303 static struct sockaddr_in ac_aggr;
   22304 if (sizeof ac_aggr.sin_len)
   22305 return 0;
   22306   ;
   22307   return 0;
   22308 }
   22309 _ACEOF
   22310 rm -f conftest.$ac_objext
   22311 if { (ac_try="$ac_compile"
   22312 case "(($ac_try" in
   22313   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   22314   *) ac_try_echo=$ac_try;;
   22315 esac
   22316 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   22317 $as_echo "$ac_try_echo") >&5
   22318   (eval "$ac_compile") 2>conftest.er1
   22319   ac_status=$?
   22320   grep -v '^ *+' conftest.er1 >conftest.err
   22321   rm -f conftest.er1
   22322   cat conftest.err >&5
   22323   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   22324   (exit $ac_status); } && {
   22325 	 test -z "$ac_c_werror_flag" ||
   22326 	 test ! -s conftest.err
   22327        } && test -s conftest.$ac_objext; then
   22328   ac_cv_member_struct_sockaddr_in_sin_len=yes
   22329 else
   22330   $as_echo "$as_me: failed program was:" >&5
   22331 sed 's/^/| /' conftest.$ac_ext >&5
   22332 
   22333 	ac_cv_member_struct_sockaddr_in_sin_len=no
   22334 fi
   22335 
   22336 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   22337 fi
   22338 
   22339 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   22340 fi
   22341 { $as_echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_in_sin_len" >&5
   22342 $as_echo "$ac_cv_member_struct_sockaddr_in_sin_len" >&6; }
   22343 if test "x$ac_cv_member_struct_sockaddr_in_sin_len" = x""yes; then
   22344 
   22345 cat >>confdefs.h <<\_ACEOF
   22346 #define BSD44SOCKETS 1
   22347 _ACEOF
   22348 
   22349 fi
   22350 
   22351 
   22352  # POSIX.1g changed the type of pointer passed to getsockname/getpeername/etc.
   22353  { $as_echo "$as_me:$LINENO: checking for socklen_t" >&5
   22354 $as_echo_n "checking for socklen_t... " >&6; }
   22355 if test "${ac_cv_type_socklen_t+set}" = set; then
   22356   $as_echo_n "(cached) " >&6
   22357 else
   22358   ac_cv_type_socklen_t=no
   22359 cat >conftest.$ac_ext <<_ACEOF
   22360 /* confdefs.h.  */
   22361 _ACEOF
   22362 cat confdefs.h >>conftest.$ac_ext
   22363 cat >>conftest.$ac_ext <<_ACEOF
   22364 /* end confdefs.h.  */
   22365 
   22366 $ac_includes_default
   22367 #include <sys/socket.h>
   22368 
   22369 int
   22370 main ()
   22371 {
   22372 if (sizeof (socklen_t))
   22373        return 0;
   22374   ;
   22375   return 0;
   22376 }
   22377 _ACEOF
   22378 rm -f conftest.$ac_objext
   22379 if { (ac_try="$ac_compile"
   22380 case "(($ac_try" in
   22381   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   22382   *) ac_try_echo=$ac_try;;
   22383 esac
   22384 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   22385 $as_echo "$ac_try_echo") >&5
   22386   (eval "$ac_compile") 2>conftest.er1
   22387   ac_status=$?
   22388   grep -v '^ *+' conftest.er1 >conftest.err
   22389   rm -f conftest.er1
   22390   cat conftest.err >&5
   22391   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   22392   (exit $ac_status); } && {
   22393 	 test -z "$ac_c_werror_flag" ||
   22394 	 test ! -s conftest.err
   22395        } && test -s conftest.$ac_objext; then
   22396   cat >conftest.$ac_ext <<_ACEOF
   22397 /* confdefs.h.  */
   22398 _ACEOF
   22399 cat confdefs.h >>conftest.$ac_ext
   22400 cat >>conftest.$ac_ext <<_ACEOF
   22401 /* end confdefs.h.  */
   22402 
   22403 $ac_includes_default
   22404 #include <sys/socket.h>
   22405 
   22406 int
   22407 main ()
   22408 {
   22409 if (sizeof ((socklen_t)))
   22410 	  return 0;
   22411   ;
   22412   return 0;
   22413 }
   22414 _ACEOF
   22415 rm -f conftest.$ac_objext
   22416 if { (ac_try="$ac_compile"
   22417 case "(($ac_try" in
   22418   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   22419   *) ac_try_echo=$ac_try;;
   22420 esac
   22421 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   22422 $as_echo "$ac_try_echo") >&5
   22423   (eval "$ac_compile") 2>conftest.er1
   22424   ac_status=$?
   22425   grep -v '^ *+' conftest.er1 >conftest.err
   22426   rm -f conftest.er1
   22427   cat conftest.err >&5
   22428   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   22429   (exit $ac_status); } && {
   22430 	 test -z "$ac_c_werror_flag" ||
   22431 	 test ! -s conftest.err
   22432        } && test -s conftest.$ac_objext; then
   22433   :
   22434 else
   22435   $as_echo "$as_me: failed program was:" >&5
   22436 sed 's/^/| /' conftest.$ac_ext >&5
   22437 
   22438 	ac_cv_type_socklen_t=yes
   22439 fi
   22440 
   22441 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   22442 else
   22443   $as_echo "$as_me: failed program was:" >&5
   22444 sed 's/^/| /' conftest.$ac_ext >&5
   22445 
   22446 
   22447 fi
   22448 
   22449 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   22450 fi
   22451 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_socklen_t" >&5
   22452 $as_echo "$ac_cv_type_socklen_t" >&6; }
   22453 if test "x$ac_cv_type_socklen_t" = x""yes; then
   22454 
   22455 cat >>confdefs.h <<_ACEOF
   22456 #define HAVE_SOCKLEN_T 1
   22457 _ACEOF
   22458 
   22459 
   22460 fi
   22461 
   22462 
   22463 
   22464  fi
   22465  case $host_os in
   22466 	solaris*|sco*|sysv4*)	localdef="yes" ;;
   22467 	*)			localdef="no"  ;;
   22468  esac
   22469  # Check whether --enable-local-transport was given.
   22470 if test "${enable_local_transport+set}" = set; then
   22471   enableval=$enable_local_transport; LOCALCONN=$enableval
   22472 else
   22473   LOCALCONN=$localdef
   22474 fi
   22475 
   22476  { $as_echo "$as_me:$LINENO: checking if Xtrans should support os-specific local connections" >&5
   22477 $as_echo_n "checking if Xtrans should support os-specific local connections... " >&6; }
   22478  { $as_echo "$as_me:$LINENO: result: $LOCALCONN" >&5
   22479 $as_echo "$LOCALCONN" >&6; }
   22480  if test "$LOCALCONN" = "yes"; then
   22481 
   22482 cat >>confdefs.h <<\_ACEOF
   22483 #define LOCALCONN 1
   22484 _ACEOF
   22485 
   22486  fi
   22487 
   22488 
   22489 
   22490 case $host_os in
   22491     linux*)
   22492         OS_CFLAGS="-D_XOPEN_SOURCE"
   22493         ;;
   22494     darwin*)
   22495         OS_CFLAGS="-Wl,-flat_namespace"
   22496 	;;
   22497     *)
   22498         OS_CFLAGS=
   22499         ;;
   22500 esac
   22501 
   22502 
   22503 ac_config_files="$ac_config_files Makefile src/Makefile src/fontfile/Makefile src/FreeType/Makefile src/builtins/Makefile src/bitmap/Makefile src/fc/Makefile src/util/Makefile src/stubs/Makefile xfont.pc"
   22504 
   22505 cat >confcache <<\_ACEOF
   22506 # This file is a shell script that caches the results of configure
   22507 # tests run on this system so they can be shared between configure
   22508 # scripts and configure runs, see configure's option --config-cache.
   22509 # It is not useful on other systems.  If it contains results you don't
   22510 # want to keep, you may remove or edit it.
   22511 #
   22512 # config.status only pays attention to the cache file if you give it
   22513 # the --recheck option to rerun configure.
   22514 #
   22515 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   22516 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   22517 # following values.
   22518 
   22519 _ACEOF
   22520 
   22521 # The following way of writing the cache mishandles newlines in values,
   22522 # but we know of no workaround that is simple, portable, and efficient.
   22523 # So, we kill variables containing newlines.
   22524 # Ultrix sh set writes to stderr and can't be redirected directly,
   22525 # and sets the high bit in the cache file unless we assign to the vars.
   22526 (
   22527   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   22528     eval ac_val=\$$ac_var
   22529     case $ac_val in #(
   22530     *${as_nl}*)
   22531       case $ac_var in #(
   22532       *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
   22533 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   22534       esac
   22535       case $ac_var in #(
   22536       _ | IFS | as_nl) ;; #(
   22537       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   22538       *) $as_unset $ac_var ;;
   22539       esac ;;
   22540     esac
   22541   done
   22542 
   22543   (set) 2>&1 |
   22544     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   22545     *${as_nl}ac_space=\ *)
   22546       # `set' does not quote correctly, so add quotes (double-quote
   22547       # substitution turns \\\\ into \\, and sed turns \\ into \).
   22548       sed -n \
   22549 	"s/'/'\\\\''/g;
   22550 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   22551       ;; #(
   22552     *)
   22553       # `set' quotes correctly as required by POSIX, so do not add quotes.
   22554       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   22555       ;;
   22556     esac |
   22557     sort
   22558 ) |
   22559   sed '
   22560      /^ac_cv_env_/b end
   22561      t clear
   22562      :clear
   22563      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
   22564      t end
   22565      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   22566      :end' >>confcache
   22567 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   22568   if test -w "$cache_file"; then
   22569     test "x$cache_file" != "x/dev/null" &&
   22570       { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
   22571 $as_echo "$as_me: updating cache $cache_file" >&6;}
   22572     cat confcache >$cache_file
   22573   else
   22574     { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
   22575 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
   22576   fi
   22577 fi
   22578 rm -f confcache
   22579 
   22580 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   22581 # Let make expand exec_prefix.
   22582 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   22583 
   22584 DEFS=-DHAVE_CONFIG_H
   22585 
   22586 ac_libobjs=
   22587 ac_ltlibobjs=
   22588 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   22589   # 1. Remove the extension, and $U if already installed.
   22590   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   22591   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
   22592   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   22593   #    will be set to the directory where LIBOBJS objects are built.
   22594   ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   22595   ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
   22596 done
   22597 LIBOBJS=$ac_libobjs
   22598 
   22599 LTLIBOBJS=$ac_ltlibobjs
   22600 
   22601 
   22602  if test -n "$EXEEXT"; then
   22603   am__EXEEXT_TRUE=
   22604   am__EXEEXT_FALSE='#'
   22605 else
   22606   am__EXEEXT_TRUE='#'
   22607   am__EXEEXT_FALSE=
   22608 fi
   22609 
   22610 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   22611   { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
   22612 Usually this means the macro was only invoked conditionally." >&5
   22613 $as_echo "$as_me: error: conditional \"AMDEP\" was never defined.
   22614 Usually this means the macro was only invoked conditionally." >&2;}
   22615    { (exit 1); exit 1; }; }
   22616 fi
   22617 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   22618   { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
   22619 Usually this means the macro was only invoked conditionally." >&5
   22620 $as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
   22621 Usually this means the macro was only invoked conditionally." >&2;}
   22622    { (exit 1); exit 1; }; }
   22623 fi
   22624 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
   22625   { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
   22626 Usually this means the macro was only invoked conditionally." >&5
   22627 $as_echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
   22628 Usually this means the macro was only invoked conditionally." >&2;}
   22629    { (exit 1); exit 1; }; }
   22630 fi
   22631 if test -z "${HAVE_XMLTO_TRUE}" && test -z "${HAVE_XMLTO_FALSE}"; then
   22632   { { $as_echo "$as_me:$LINENO: error: conditional \"HAVE_XMLTO\" was never defined.
   22633 Usually this means the macro was only invoked conditionally." >&5
   22634 $as_echo "$as_me: error: conditional \"HAVE_XMLTO\" was never defined.
   22635 Usually this means the macro was only invoked conditionally." >&2;}
   22636    { (exit 1); exit 1; }; }
   22637 fi
   22638 if test -z "${MAKE_DEVEL_DOCS_TRUE}" && test -z "${MAKE_DEVEL_DOCS_FALSE}"; then
   22639   { { $as_echo "$as_me:$LINENO: error: conditional \"MAKE_DEVEL_DOCS\" was never defined.
   22640 Usually this means the macro was only invoked conditionally." >&5
   22641 $as_echo "$as_me: error: conditional \"MAKE_DEVEL_DOCS\" was never defined.
   22642 Usually this means the macro was only invoked conditionally." >&2;}
   22643    { (exit 1); exit 1; }; }
   22644 fi
   22645 if test -z "${XFONT_FREETYPE_TRUE}" && test -z "${XFONT_FREETYPE_FALSE}"; then
   22646   { { $as_echo "$as_me:$LINENO: error: conditional \"XFONT_FREETYPE\" was never defined.
   22647 Usually this means the macro was only invoked conditionally." >&5
   22648 $as_echo "$as_me: error: conditional \"XFONT_FREETYPE\" was never defined.
   22649 Usually this means the macro was only invoked conditionally." >&2;}
   22650    { (exit 1); exit 1; }; }
   22651 fi
   22652 if test -z "${X_BZIP2_FONT_COMPRESSION_TRUE}" && test -z "${X_BZIP2_FONT_COMPRESSION_FALSE}"; then
   22653   { { $as_echo "$as_me:$LINENO: error: conditional \"X_BZIP2_FONT_COMPRESSION\" was never defined.
   22654 Usually this means the macro was only invoked conditionally." >&5
   22655 $as_echo "$as_me: error: conditional \"X_BZIP2_FONT_COMPRESSION\" was never defined.
   22656 Usually this means the macro was only invoked conditionally." >&2;}
   22657    { (exit 1); exit 1; }; }
   22658 fi
   22659 if test -z "${XFONT_BUILTINS_TRUE}" && test -z "${XFONT_BUILTINS_FALSE}"; then
   22660   { { $as_echo "$as_me:$LINENO: error: conditional \"XFONT_BUILTINS\" was never defined.
   22661 Usually this means the macro was only invoked conditionally." >&5
   22662 $as_echo "$as_me: error: conditional \"XFONT_BUILTINS\" was never defined.
   22663 Usually this means the macro was only invoked conditionally." >&2;}
   22664    { (exit 1); exit 1; }; }
   22665 fi
   22666 if test -z "${XFONT_PCFFORMAT_TRUE}" && test -z "${XFONT_PCFFORMAT_FALSE}"; then
   22667   { { $as_echo "$as_me:$LINENO: error: conditional \"XFONT_PCFFORMAT\" was never defined.
   22668 Usually this means the macro was only invoked conditionally." >&5
   22669 $as_echo "$as_me: error: conditional \"XFONT_PCFFORMAT\" was never defined.
   22670 Usually this means the macro was only invoked conditionally." >&2;}
   22671    { (exit 1); exit 1; }; }
   22672 fi
   22673 if test -z "${XFONT_BDFFORMAT_TRUE}" && test -z "${XFONT_BDFFORMAT_FALSE}"; then
   22674   { { $as_echo "$as_me:$LINENO: error: conditional \"XFONT_BDFFORMAT\" was never defined.
   22675 Usually this means the macro was only invoked conditionally." >&5
   22676 $as_echo "$as_me: error: conditional \"XFONT_BDFFORMAT\" was never defined.
   22677 Usually this means the macro was only invoked conditionally." >&2;}
   22678    { (exit 1); exit 1; }; }
   22679 fi
   22680 if test -z "${XFONT_SNFFORMAT_TRUE}" && test -z "${XFONT_SNFFORMAT_FALSE}"; then
   22681   { { $as_echo "$as_me:$LINENO: error: conditional \"XFONT_SNFFORMAT\" was never defined.
   22682 Usually this means the macro was only invoked conditionally." >&5
   22683 $as_echo "$as_me: error: conditional \"XFONT_SNFFORMAT\" was never defined.
   22684 Usually this means the macro was only invoked conditionally." >&2;}
   22685    { (exit 1); exit 1; }; }
   22686 fi
   22687 if test -z "${XFONT_BITMAP_TRUE}" && test -z "${XFONT_BITMAP_FALSE}"; then
   22688   { { $as_echo "$as_me:$LINENO: error: conditional \"XFONT_BITMAP\" was never defined.
   22689 Usually this means the macro was only invoked conditionally." >&5
   22690 $as_echo "$as_me: error: conditional \"XFONT_BITMAP\" was never defined.
   22691 Usually this means the macro was only invoked conditionally." >&2;}
   22692    { (exit 1); exit 1; }; }
   22693 fi
   22694 if test -z "${XFONT_FONTFILE_TRUE}" && test -z "${XFONT_FONTFILE_FALSE}"; then
   22695   { { $as_echo "$as_me:$LINENO: error: conditional \"XFONT_FONTFILE\" was never defined.
   22696 Usually this means the macro was only invoked conditionally." >&5
   22697 $as_echo "$as_me: error: conditional \"XFONT_FONTFILE\" was never defined.
   22698 Usually this means the macro was only invoked conditionally." >&2;}
   22699    { (exit 1); exit 1; }; }
   22700 fi
   22701 if test -z "${XFONT_FC_TRUE}" && test -z "${XFONT_FC_FALSE}"; then
   22702   { { $as_echo "$as_me:$LINENO: error: conditional \"XFONT_FC\" was never defined.
   22703 Usually this means the macro was only invoked conditionally." >&5
   22704 $as_echo "$as_me: error: conditional \"XFONT_FC\" was never defined.
   22705 Usually this means the macro was only invoked conditionally." >&2;}
   22706    { (exit 1); exit 1; }; }
   22707 fi
   22708 
   22709 : ${CONFIG_STATUS=./config.status}
   22710 ac_write_fail=0
   22711 ac_clean_files_save=$ac_clean_files
   22712 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   22713 { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
   22714 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
   22715 cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   22716 #! $SHELL
   22717 # Generated by $as_me.
   22718 # Run this file to recreate the current configuration.
   22719 # Compiler output produced by configure, useful for debugging
   22720 # configure, is in config.log if it exists.
   22721 
   22722 debug=false
   22723 ac_cs_recheck=false
   22724 ac_cs_silent=false
   22725 SHELL=\${CONFIG_SHELL-$SHELL}
   22726 _ACEOF
   22727 
   22728 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   22729 ## --------------------- ##
   22730 ## M4sh Initialization.  ##
   22731 ## --------------------- ##
   22732 
   22733 # Be more Bourne compatible
   22734 DUALCASE=1; export DUALCASE # for MKS sh
   22735 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
   22736   emulate sh
   22737   NULLCMD=:
   22738   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   22739   # is contrary to our usage.  Disable this feature.
   22740   alias -g '${1+"$@"}'='"$@"'
   22741   setopt NO_GLOB_SUBST
   22742 else
   22743   case `(set -o) 2>/dev/null` in
   22744   *posix*) set -o posix ;;
   22745 esac
   22746 
   22747 fi
   22748 
   22749 
   22750 
   22751 
   22752 # PATH needs CR
   22753 # Avoid depending upon Character Ranges.
   22754 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   22755 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   22756 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   22757 as_cr_digits='0123456789'
   22758 as_cr_alnum=$as_cr_Letters$as_cr_digits
   22759 
   22760 as_nl='
   22761 '
   22762 export as_nl
   22763 # Printing a long string crashes Solaris 7 /usr/bin/printf.
   22764 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   22765 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
   22766 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
   22767 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
   22768   as_echo='printf %s\n'
   22769   as_echo_n='printf %s'
   22770 else
   22771   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
   22772     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
   22773     as_echo_n='/usr/ucb/echo -n'
   22774   else
   22775     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
   22776     as_echo_n_body='eval
   22777       arg=$1;
   22778       case $arg in
   22779       *"$as_nl"*)
   22780 	expr "X$arg" : "X\\(.*\\)$as_nl";
   22781 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
   22782       esac;
   22783       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
   22784     '
   22785     export as_echo_n_body
   22786     as_echo_n='sh -c $as_echo_n_body as_echo'
   22787   fi
   22788   export as_echo_body
   22789   as_echo='sh -c $as_echo_body as_echo'
   22790 fi
   22791 
   22792 # The user is always right.
   22793 if test "${PATH_SEPARATOR+set}" != set; then
   22794   PATH_SEPARATOR=:
   22795   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   22796     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   22797       PATH_SEPARATOR=';'
   22798   }
   22799 fi
   22800 
   22801 # Support unset when possible.
   22802 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   22803   as_unset=unset
   22804 else
   22805   as_unset=false
   22806 fi
   22807 
   22808 
   22809 # IFS
   22810 # We need space, tab and new line, in precisely that order.  Quoting is
   22811 # there to prevent editors from complaining about space-tab.
   22812 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
   22813 # splitting by setting IFS to empty value.)
   22814 IFS=" ""	$as_nl"
   22815 
   22816 # Find who we are.  Look in the path if we contain no directory separator.
   22817 case $0 in
   22818   *[\\/]* ) as_myself=$0 ;;
   22819   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   22820 for as_dir in $PATH
   22821 do
   22822   IFS=$as_save_IFS
   22823   test -z "$as_dir" && as_dir=.
   22824   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   22825 done
   22826 IFS=$as_save_IFS
   22827 
   22828      ;;
   22829 esac
   22830 # We did not find ourselves, most probably we were run as `sh COMMAND'
   22831 # in which case we are not to be found in the path.
   22832 if test "x$as_myself" = x; then
   22833   as_myself=$0
   22834 fi
   22835 if test ! -f "$as_myself"; then
   22836   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   22837   { (exit 1); exit 1; }
   22838 fi
   22839 
   22840 # Work around bugs in pre-3.0 UWIN ksh.
   22841 for as_var in ENV MAIL MAILPATH
   22842 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
   22843 done
   22844 PS1='$ '
   22845 PS2='> '
   22846 PS4='+ '
   22847 
   22848 # NLS nuisances.
   22849 LC_ALL=C
   22850 export LC_ALL
   22851 LANGUAGE=C
   22852 export LANGUAGE
   22853 
   22854 # Required to use basename.
   22855 if expr a : '\(a\)' >/dev/null 2>&1 &&
   22856    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   22857   as_expr=expr
   22858 else
   22859   as_expr=false
   22860 fi
   22861 
   22862 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   22863   as_basename=basename
   22864 else
   22865   as_basename=false
   22866 fi
   22867 
   22868 
   22869 # Name of the executable.
   22870 as_me=`$as_basename -- "$0" ||
   22871 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   22872 	 X"$0" : 'X\(//\)$' \| \
   22873 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   22874 $as_echo X/"$0" |
   22875     sed '/^.*\/\([^/][^/]*\)\/*$/{
   22876 	    s//\1/
   22877 	    q
   22878 	  }
   22879 	  /^X\/\(\/\/\)$/{
   22880 	    s//\1/
   22881 	    q
   22882 	  }
   22883 	  /^X\/\(\/\).*/{
   22884 	    s//\1/
   22885 	    q
   22886 	  }
   22887 	  s/.*/./; q'`
   22888 
   22889 # CDPATH.
   22890 $as_unset CDPATH
   22891 
   22892 
   22893 
   22894   as_lineno_1=$LINENO
   22895   as_lineno_2=$LINENO
   22896   test "x$as_lineno_1" != "x$as_lineno_2" &&
   22897   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
   22898 
   22899   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
   22900   # uniformly replaced by the line number.  The first 'sed' inserts a
   22901   # line-number line after each line using $LINENO; the second 'sed'
   22902   # does the real work.  The second script uses 'N' to pair each
   22903   # line-number line with the line containing $LINENO, and appends
   22904   # trailing '-' during substitution so that $LINENO is not a special
   22905   # case at line end.
   22906   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
   22907   # scripts with optimization help from Paolo Bonzini.  Blame Lee
   22908   # E. McMahon (1931-1989) for sed's syntax.  :-)
   22909   sed -n '
   22910     p
   22911     /[$]LINENO/=
   22912   ' <$as_myself |
   22913     sed '
   22914       s/[$]LINENO.*/&-/
   22915       t lineno
   22916       b
   22917       :lineno
   22918       N
   22919       :loop
   22920       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
   22921       t loop
   22922       s/-\n.*//
   22923     ' >$as_me.lineno &&
   22924   chmod +x "$as_me.lineno" ||
   22925     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
   22926    { (exit 1); exit 1; }; }
   22927 
   22928   # Don't try to exec as it changes $[0], causing all sort of problems
   22929   # (the dirname of $[0] is not the place where we might find the
   22930   # original and so on.  Autoconf is especially sensitive to this).
   22931   . "./$as_me.lineno"
   22932   # Exit status is that of the last command.
   22933   exit
   22934 }
   22935 
   22936 
   22937 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   22938   as_dirname=dirname
   22939 else
   22940   as_dirname=false
   22941 fi
   22942 
   22943 ECHO_C= ECHO_N= ECHO_T=
   22944 case `echo -n x` in
   22945 -n*)
   22946   case `echo 'x\c'` in
   22947   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   22948   *)   ECHO_C='\c';;
   22949   esac;;
   22950 *)
   22951   ECHO_N='-n';;
   22952 esac
   22953 if expr a : '\(a\)' >/dev/null 2>&1 &&
   22954    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   22955   as_expr=expr
   22956 else
   22957   as_expr=false
   22958 fi
   22959 
   22960 rm -f conf$$ conf$$.exe conf$$.file
   22961 if test -d conf$$.dir; then
   22962   rm -f conf$$.dir/conf$$.file
   22963 else
   22964   rm -f conf$$.dir
   22965   mkdir conf$$.dir 2>/dev/null
   22966 fi
   22967 if (echo >conf$$.file) 2>/dev/null; then
   22968   if ln -s conf$$.file conf$$ 2>/dev/null; then
   22969     as_ln_s='ln -s'
   22970     # ... but there are two gotchas:
   22971     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   22972     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   22973     # In both cases, we have to default to `cp -p'.
   22974     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   22975       as_ln_s='cp -p'
   22976   elif ln conf$$.file conf$$ 2>/dev/null; then
   22977     as_ln_s=ln
   22978   else
   22979     as_ln_s='cp -p'
   22980   fi
   22981 else
   22982   as_ln_s='cp -p'
   22983 fi
   22984 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   22985 rmdir conf$$.dir 2>/dev/null
   22986 
   22987 if mkdir -p . 2>/dev/null; then
   22988   as_mkdir_p=:
   22989 else
   22990   test -d ./-p && rmdir ./-p
   22991   as_mkdir_p=false
   22992 fi
   22993 
   22994 if test -x / >/dev/null 2>&1; then
   22995   as_test_x='test -x'
   22996 else
   22997   if ls -dL / >/dev/null 2>&1; then
   22998     as_ls_L_option=L
   22999   else
   23000     as_ls_L_option=
   23001   fi
   23002   as_test_x='
   23003     eval sh -c '\''
   23004       if test -d "$1"; then
   23005 	test -d "$1/.";
   23006       else
   23007 	case $1 in
   23008 	-*)set "./$1";;
   23009 	esac;
   23010 	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
   23011 	???[sx]*):;;*)false;;esac;fi
   23012     '\'' sh
   23013   '
   23014 fi
   23015 as_executable_p=$as_test_x
   23016 
   23017 # Sed expression to map a string onto a valid CPP name.
   23018 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   23019 
   23020 # Sed expression to map a string onto a valid variable name.
   23021 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   23022 
   23023 
   23024 exec 6>&1
   23025 
   23026 # Save the log message, to keep $[0] and so on meaningful, and to
   23027 # report actual input values of CONFIG_FILES etc. instead of their
   23028 # values after options handling.
   23029 ac_log="
   23030 This file was extended by libXfont $as_me 1.4.1, which was
   23031 generated by GNU Autoconf 2.63.  Invocation command line was
   23032 
   23033   CONFIG_FILES    = $CONFIG_FILES
   23034   CONFIG_HEADERS  = $CONFIG_HEADERS
   23035   CONFIG_LINKS    = $CONFIG_LINKS
   23036   CONFIG_COMMANDS = $CONFIG_COMMANDS
   23037   $ $0 $@
   23038 
   23039 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   23040 "
   23041 
   23042 _ACEOF
   23043 
   23044 case $ac_config_files in *"
   23045 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   23046 esac
   23047 
   23048 case $ac_config_headers in *"
   23049 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   23050 esac
   23051 
   23052 
   23053 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   23054 # Files that config.status was made for.
   23055 config_files="$ac_config_files"
   23056 config_headers="$ac_config_headers"
   23057 config_commands="$ac_config_commands"
   23058 
   23059 _ACEOF
   23060 
   23061 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   23062 ac_cs_usage="\
   23063 \`$as_me' instantiates files from templates according to the
   23064 current configuration.
   23065 
   23066 Usage: $0 [OPTION]... [FILE]...
   23067 
   23068   -h, --help       print this help, then exit
   23069   -V, --version    print version number and configuration settings, then exit
   23070   -q, --quiet, --silent
   23071                    do not print progress messages
   23072   -d, --debug      don't remove temporary files
   23073       --recheck    update $as_me by reconfiguring in the same conditions
   23074       --file=FILE[:TEMPLATE]
   23075                    instantiate the configuration file FILE
   23076       --header=FILE[:TEMPLATE]
   23077                    instantiate the configuration header FILE
   23078 
   23079 Configuration files:
   23080 $config_files
   23081 
   23082 Configuration headers:
   23083 $config_headers
   23084 
   23085 Configuration commands:
   23086 $config_commands
   23087 
   23088 Report bugs to <bug-autoconf (at] gnu.org>."
   23089 
   23090 _ACEOF
   23091 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   23092 ac_cs_version="\\
   23093 libXfont config.status 1.4.1
   23094 configured by $0, generated by GNU Autoconf 2.63,
   23095   with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
   23096 
   23097 Copyright (C) 2008 Free Software Foundation, Inc.
   23098 This config.status script is free software; the Free Software Foundation
   23099 gives unlimited permission to copy, distribute and modify it."
   23100 
   23101 ac_pwd='$ac_pwd'
   23102 srcdir='$srcdir'
   23103 INSTALL='$INSTALL'
   23104 MKDIR_P='$MKDIR_P'
   23105 AWK='$AWK'
   23106 test -n "\$AWK" || AWK=awk
   23107 _ACEOF
   23108 
   23109 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   23110 # The default lists apply if the user does not specify any file.
   23111 ac_need_defaults=:
   23112 while test $# != 0
   23113 do
   23114   case $1 in
   23115   --*=*)
   23116     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   23117     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   23118     ac_shift=:
   23119     ;;
   23120   *)
   23121     ac_option=$1
   23122     ac_optarg=$2
   23123     ac_shift=shift
   23124     ;;
   23125   esac
   23126 
   23127   case $ac_option in
   23128   # Handling of the options.
   23129   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   23130     ac_cs_recheck=: ;;
   23131   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   23132     $as_echo "$ac_cs_version"; exit ;;
   23133   --debug | --debu | --deb | --de | --d | -d )
   23134     debug=: ;;
   23135   --file | --fil | --fi | --f )
   23136     $ac_shift
   23137     case $ac_optarg in
   23138     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   23139     esac
   23140     CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
   23141     ac_need_defaults=false;;
   23142   --header | --heade | --head | --hea )
   23143     $ac_shift
   23144     case $ac_optarg in
   23145     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   23146     esac
   23147     CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'"
   23148     ac_need_defaults=false;;
   23149   --he | --h)
   23150     # Conflict between --help and --header
   23151     { $as_echo "$as_me: error: ambiguous option: $1
   23152 Try \`$0 --help' for more information." >&2
   23153    { (exit 1); exit 1; }; };;
   23154   --help | --hel | -h )
   23155     $as_echo "$ac_cs_usage"; exit ;;
   23156   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   23157   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   23158     ac_cs_silent=: ;;
   23159 
   23160   # This is an error.
   23161   -*) { $as_echo "$as_me: error: unrecognized option: $1
   23162 Try \`$0 --help' for more information." >&2
   23163    { (exit 1); exit 1; }; } ;;
   23164 
   23165   *) ac_config_targets="$ac_config_targets $1"
   23166      ac_need_defaults=false ;;
   23167 
   23168   esac
   23169   shift
   23170 done
   23171 
   23172 ac_configure_extra_args=
   23173 
   23174 if $ac_cs_silent; then
   23175   exec 6>/dev/null
   23176   ac_configure_extra_args="$ac_configure_extra_args --silent"
   23177 fi
   23178 
   23179 _ACEOF
   23180 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   23181 if \$ac_cs_recheck; then
   23182   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   23183   shift
   23184   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
   23185   CONFIG_SHELL='$SHELL'
   23186   export CONFIG_SHELL
   23187   exec "\$@"
   23188 fi
   23189 
   23190 _ACEOF
   23191 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   23192 exec 5>>config.log
   23193 {
   23194   echo
   23195   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   23196 ## Running $as_me. ##
   23197 _ASBOX
   23198   $as_echo "$ac_log"
   23199 } >&5
   23200 
   23201 _ACEOF
   23202 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   23203 #
   23204 # INIT-COMMANDS
   23205 #
   23206 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
   23207 
   23208 _ACEOF
   23209 
   23210 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   23211 
   23212 # Handling of arguments.
   23213 for ac_config_target in $ac_config_targets
   23214 do
   23215   case $ac_config_target in
   23216     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   23217     "include/X11/fonts/fontconf.h") CONFIG_HEADERS="$CONFIG_HEADERS include/X11/fonts/fontconf.h" ;;
   23218     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   23219     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   23220     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
   23221     "src/fontfile/Makefile") CONFIG_FILES="$CONFIG_FILES src/fontfile/Makefile" ;;
   23222     "src/FreeType/Makefile") CONFIG_FILES="$CONFIG_FILES src/FreeType/Makefile" ;;
   23223     "src/builtins/Makefile") CONFIG_FILES="$CONFIG_FILES src/builtins/Makefile" ;;
   23224     "src/bitmap/Makefile") CONFIG_FILES="$CONFIG_FILES src/bitmap/Makefile" ;;
   23225     "src/fc/Makefile") CONFIG_FILES="$CONFIG_FILES src/fc/Makefile" ;;
   23226     "src/util/Makefile") CONFIG_FILES="$CONFIG_FILES src/util/Makefile" ;;
   23227     "src/stubs/Makefile") CONFIG_FILES="$CONFIG_FILES src/stubs/Makefile" ;;
   23228     "xfont.pc") CONFIG_FILES="$CONFIG_FILES xfont.pc" ;;
   23229 
   23230   *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
   23231 $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
   23232    { (exit 1); exit 1; }; };;
   23233   esac
   23234 done
   23235 
   23236 
   23237 # If the user did not use the arguments to specify the items to instantiate,
   23238 # then the envvar interface is used.  Set only those that are not.
   23239 # We use the long form for the default assignment because of an extremely
   23240 # bizarre bug on SunOS 4.1.3.
   23241 if $ac_need_defaults; then
   23242   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
   23243   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
   23244   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
   23245 fi
   23246 
   23247 # Have a temporary directory for convenience.  Make it in the build tree
   23248 # simply because there is no reason against having it here, and in addition,
   23249 # creating and moving files from /tmp can sometimes cause problems.
   23250 # Hook for its removal unless debugging.
   23251 # Note that there is a small window in which the directory will not be cleaned:
   23252 # after its creation but before its name has been assigned to `$tmp'.
   23253 $debug ||
   23254 {
   23255   tmp=
   23256   trap 'exit_status=$?
   23257   { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
   23258 ' 0
   23259   trap '{ (exit 1); exit 1; }' 1 2 13 15
   23260 }
   23261 # Create a (secure) tmp directory for tmp files.
   23262 
   23263 {
   23264   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   23265   test -n "$tmp" && test -d "$tmp"
   23266 }  ||
   23267 {
   23268   tmp=./conf$$-$RANDOM
   23269   (umask 077 && mkdir "$tmp")
   23270 } ||
   23271 {
   23272    $as_echo "$as_me: cannot create a temporary directory in ." >&2
   23273    { (exit 1); exit 1; }
   23274 }
   23275 
   23276 # Set up the scripts for CONFIG_FILES section.
   23277 # No need to generate them if there are no CONFIG_FILES.
   23278 # This happens for instance with `./config.status config.h'.
   23279 if test -n "$CONFIG_FILES"; then
   23280 
   23281 
   23282 ac_cr='
'
   23284 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   23285 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   23286   ac_cs_awk_cr='\\r'
   23287 else
   23288   ac_cs_awk_cr=$ac_cr
   23289 fi
   23290 
   23291 echo 'BEGIN {' >"$tmp/subs1.awk" &&
   23292 _ACEOF
   23293 
   23294 
   23295 {
   23296   echo "cat >conf$$subs.awk <<_ACEOF" &&
   23297   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   23298   echo "_ACEOF"
   23299 } >conf$$subs.sh ||
   23300   { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
   23301 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
   23302    { (exit 1); exit 1; }; }
   23303 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
   23304 ac_delim='%!_!# '
   23305 for ac_last_try in false false false false false :; do
   23306   . ./conf$$subs.sh ||
   23307     { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
   23308 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
   23309    { (exit 1); exit 1; }; }
   23310 
   23311   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   23312   if test $ac_delim_n = $ac_delim_num; then
   23313     break
   23314   elif $ac_last_try; then
   23315     { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
   23316 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
   23317    { (exit 1); exit 1; }; }
   23318   else
   23319     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   23320   fi
   23321 done
   23322 rm -f conf$$subs.sh
   23323 
   23324 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   23325 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
   23326 _ACEOF
   23327 sed -n '
   23328 h
   23329 s/^/S["/; s/!.*/"]=/
   23330 p
   23331 g
   23332 s/^[^!]*!//
   23333 :repl
   23334 t repl
   23335 s/'"$ac_delim"'$//
   23336 t delim
   23337 :nl
   23338 h
   23339 s/\(.\{148\}\).*/\1/
   23340 t more1
   23341 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   23342 p
   23343 n
   23344 b repl
   23345 :more1
   23346 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   23347 p
   23348 g
   23349 s/.\{148\}//
   23350 t nl
   23351 :delim
   23352 h
   23353 s/\(.\{148\}\).*/\1/
   23354 t more2
   23355 s/["\\]/\\&/g; s/^/"/; s/$/"/
   23356 p
   23357 b
   23358 :more2
   23359 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   23360 p
   23361 g
   23362 s/.\{148\}//
   23363 t delim
   23364 ' <conf$$subs.awk | sed '
   23365 /^[^""]/{
   23366   N
   23367   s/\n//
   23368 }
   23369 ' >>$CONFIG_STATUS || ac_write_fail=1
   23370 rm -f conf$$subs.awk
   23371 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   23372 _ACAWK
   23373 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
   23374   for (key in S) S_is_set[key] = 1
   23375   FS = ""
   23376 
   23377 }
   23378 {
   23379   line = $ 0
   23380   nfields = split(line, field, "@")
   23381   substed = 0
   23382   len = length(field[1])
   23383   for (i = 2; i < nfields; i++) {
   23384     key = field[i]
   23385     keylen = length(key)
   23386     if (S_is_set[key]) {
   23387       value = S[key]
   23388       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   23389       len += length(value) + length(field[++i])
   23390       substed = 1
   23391     } else
   23392       len += 1 + keylen
   23393   }
   23394 
   23395   print line
   23396 }
   23397 
   23398 _ACAWK
   23399 _ACEOF
   23400 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   23401 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   23402   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   23403 else
   23404   cat
   23405 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
   23406   || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
   23407 $as_echo "$as_me: error: could not setup config files machinery" >&2;}
   23408    { (exit 1); exit 1; }; }
   23409 _ACEOF
   23410 
   23411 # VPATH may cause trouble with some makes, so we remove $(srcdir),
   23412 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
   23413 # trailing colons and then remove the whole line if VPATH becomes empty
   23414 # (actually we leave an empty line to preserve line numbers).
   23415 if test "x$srcdir" = x.; then
   23416   ac_vpsub='/^[	 ]*VPATH[	 ]*=/{
   23417 s/:*\$(srcdir):*/:/
   23418 s/:*\${srcdir}:*/:/
   23419 s/:*@srcdir@:*/:/
   23420 s/^\([^=]*=[	 ]*\):*/\1/
   23421 s/:*$//
   23422 s/^[^=]*=[	 ]*$//
   23423 }'
   23424 fi
   23425 
   23426 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   23427 fi # test -n "$CONFIG_FILES"
   23428 
   23429 # Set up the scripts for CONFIG_HEADERS section.
   23430 # No need to generate them if there are no CONFIG_HEADERS.
   23431 # This happens for instance with `./config.status Makefile'.
   23432 if test -n "$CONFIG_HEADERS"; then
   23433 cat >"$tmp/defines.awk" <<\_ACAWK ||
   23434 BEGIN {
   23435 _ACEOF
   23436 
   23437 # Transform confdefs.h into an awk script `defines.awk', embedded as
   23438 # here-document in config.status, that substitutes the proper values into
   23439 # config.h.in to produce config.h.
   23440 
   23441 # Create a delimiter string that does not exist in confdefs.h, to ease
   23442 # handling of long lines.
   23443 ac_delim='%!_!# '
   23444 for ac_last_try in false false :; do
   23445   ac_t=`sed -n "/$ac_delim/p" confdefs.h`
   23446   if test -z "$ac_t"; then
   23447     break
   23448   elif $ac_last_try; then
   23449     { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5
   23450 $as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;}
   23451    { (exit 1); exit 1; }; }
   23452   else
   23453     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   23454   fi
   23455 done
   23456 
   23457 # For the awk script, D is an array of macro values keyed by name,
   23458 # likewise P contains macro parameters if any.  Preserve backslash
   23459 # newline sequences.
   23460 
   23461 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   23462 sed -n '
   23463 s/.\{148\}/&'"$ac_delim"'/g
   23464 t rset
   23465 :rset
   23466 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   23467 t def
   23468 d
   23469 :def
   23470 s/\\$//
   23471 t bsnl
   23472 s/["\\]/\\&/g
   23473 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   23474 D["\1"]=" \3"/p
   23475 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   23476 d
   23477 :bsnl
   23478 s/["\\]/\\&/g
   23479 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   23480 D["\1"]=" \3\\\\\\n"\\/p
   23481 t cont
   23482 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   23483 t cont
   23484 d
   23485 :cont
   23486 n
   23487 s/.\{148\}/&'"$ac_delim"'/g
   23488 t clear
   23489 :clear
   23490 s/\\$//
   23491 t bsnlc
   23492 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   23493 d
   23494 :bsnlc
   23495 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   23496 b cont
   23497 ' <confdefs.h | sed '
   23498 s/'"$ac_delim"'/"\\\
   23499 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   23500 
   23501 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   23502   for (key in D) D_is_set[key] = 1
   23503   FS = ""
   23504 }
   23505 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   23506   line = \$ 0
   23507   split(line, arg, " ")
   23508   if (arg[1] == "#") {
   23509     defundef = arg[2]
   23510     mac1 = arg[3]
   23511   } else {
   23512     defundef = substr(arg[1], 2)
   23513     mac1 = arg[2]
   23514   }
   23515   split(mac1, mac2, "(") #)
   23516   macro = mac2[1]
   23517   prefix = substr(line, 1, index(line, defundef) - 1)
   23518   if (D_is_set[macro]) {
   23519     # Preserve the white space surrounding the "#".
   23520     print prefix "define", macro P[macro] D[macro]
   23521     next
   23522   } else {
   23523     # Replace #undef with comments.  This is necessary, for example,
   23524     # in the case of _POSIX_SOURCE, which is predefined and required
   23525     # on some systems where configure will not decide to define it.
   23526     if (defundef == "undef") {
   23527       print "/*", prefix defundef, macro, "*/"
   23528       next
   23529     }
   23530   }
   23531 }
   23532 { print }
   23533 _ACAWK
   23534 _ACEOF
   23535 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   23536   { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
   23537 $as_echo "$as_me: error: could not setup config headers machinery" >&2;}
   23538    { (exit 1); exit 1; }; }
   23539 fi # test -n "$CONFIG_HEADERS"
   23540 
   23541 
   23542 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   23543 shift
   23544 for ac_tag
   23545 do
   23546   case $ac_tag in
   23547   :[FHLC]) ac_mode=$ac_tag; continue;;
   23548   esac
   23549   case $ac_mode$ac_tag in
   23550   :[FHL]*:*);;
   23551   :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
   23552 $as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
   23553    { (exit 1); exit 1; }; };;
   23554   :[FH]-) ac_tag=-:-;;
   23555   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   23556   esac
   23557   ac_save_IFS=$IFS
   23558   IFS=:
   23559   set x $ac_tag
   23560   IFS=$ac_save_IFS
   23561   shift
   23562   ac_file=$1
   23563   shift
   23564 
   23565   case $ac_mode in
   23566   :L) ac_source=$1;;
   23567   :[FH])
   23568     ac_file_inputs=
   23569     for ac_f
   23570     do
   23571       case $ac_f in
   23572       -) ac_f="$tmp/stdin";;
   23573       *) # Look for the file first in the build tree, then in the source tree
   23574 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   23575 	 # because $ac_f cannot contain `:'.
   23576 	 test -f "$ac_f" ||
   23577 	   case $ac_f in
   23578 	   [\\/$]*) false;;
   23579 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   23580 	   esac ||
   23581 	   { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
   23582 $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
   23583    { (exit 1); exit 1; }; };;
   23584       esac
   23585       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   23586       ac_file_inputs="$ac_file_inputs '$ac_f'"
   23587     done
   23588 
   23589     # Let's still pretend it is `configure' which instantiates (i.e., don't
   23590     # use $as_me), people would be surprised to read:
   23591     #    /* config.h.  Generated by config.status.  */
   23592     configure_input='Generated from '`
   23593 	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   23594 	`' by configure.'
   23595     if test x"$ac_file" != x-; then
   23596       configure_input="$ac_file.  $configure_input"
   23597       { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
   23598 $as_echo "$as_me: creating $ac_file" >&6;}
   23599     fi
   23600     # Neutralize special characters interpreted by sed in replacement strings.
   23601     case $configure_input in #(
   23602     *\&* | *\|* | *\\* )
   23603        ac_sed_conf_input=`$as_echo "$configure_input" |
   23604        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   23605     *) ac_sed_conf_input=$configure_input;;
   23606     esac
   23607 
   23608     case $ac_tag in
   23609     *:-:* | *:-) cat >"$tmp/stdin" \
   23610       || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
   23611 $as_echo "$as_me: error: could not create $ac_file" >&2;}
   23612    { (exit 1); exit 1; }; } ;;
   23613     esac
   23614     ;;
   23615   esac
   23616 
   23617   ac_dir=`$as_dirname -- "$ac_file" ||
   23618 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   23619 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   23620 	 X"$ac_file" : 'X\(//\)$' \| \
   23621 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   23622 $as_echo X"$ac_file" |
   23623     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   23624 	    s//\1/
   23625 	    q
   23626 	  }
   23627 	  /^X\(\/\/\)[^/].*/{
   23628 	    s//\1/
   23629 	    q
   23630 	  }
   23631 	  /^X\(\/\/\)$/{
   23632 	    s//\1/
   23633 	    q
   23634 	  }
   23635 	  /^X\(\/\).*/{
   23636 	    s//\1/
   23637 	    q
   23638 	  }
   23639 	  s/.*/./; q'`
   23640   { as_dir="$ac_dir"
   23641   case $as_dir in #(
   23642   -*) as_dir=./$as_dir;;
   23643   esac
   23644   test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
   23645     as_dirs=
   23646     while :; do
   23647       case $as_dir in #(
   23648       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   23649       *) as_qdir=$as_dir;;
   23650       esac
   23651       as_dirs="'$as_qdir' $as_dirs"
   23652       as_dir=`$as_dirname -- "$as_dir" ||
   23653 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   23654 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   23655 	 X"$as_dir" : 'X\(//\)$' \| \
   23656 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   23657 $as_echo X"$as_dir" |
   23658     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   23659 	    s//\1/
   23660 	    q
   23661 	  }
   23662 	  /^X\(\/\/\)[^/].*/{
   23663 	    s//\1/
   23664 	    q
   23665 	  }
   23666 	  /^X\(\/\/\)$/{
   23667 	    s//\1/
   23668 	    q
   23669 	  }
   23670 	  /^X\(\/\).*/{
   23671 	    s//\1/
   23672 	    q
   23673 	  }
   23674 	  s/.*/./; q'`
   23675       test -d "$as_dir" && break
   23676     done
   23677     test -z "$as_dirs" || eval "mkdir $as_dirs"
   23678   } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
   23679 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
   23680    { (exit 1); exit 1; }; }; }
   23681   ac_builddir=.
   23682 
   23683 case "$ac_dir" in
   23684 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   23685 *)
   23686   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   23687   # A ".." for each directory in $ac_dir_suffix.
   23688   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   23689   case $ac_top_builddir_sub in
   23690   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   23691   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   23692   esac ;;
   23693 esac
   23694 ac_abs_top_builddir=$ac_pwd
   23695 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   23696 # for backward compatibility:
   23697 ac_top_builddir=$ac_top_build_prefix
   23698 
   23699 case $srcdir in
   23700   .)  # We are building in place.
   23701     ac_srcdir=.
   23702     ac_top_srcdir=$ac_top_builddir_sub
   23703     ac_abs_top_srcdir=$ac_pwd ;;
   23704   [\\/]* | ?:[\\/]* )  # Absolute name.
   23705     ac_srcdir=$srcdir$ac_dir_suffix;
   23706     ac_top_srcdir=$srcdir
   23707     ac_abs_top_srcdir=$srcdir ;;
   23708   *) # Relative name.
   23709     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   23710     ac_top_srcdir=$ac_top_build_prefix$srcdir
   23711     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   23712 esac
   23713 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   23714 
   23715 
   23716   case $ac_mode in
   23717   :F)
   23718   #
   23719   # CONFIG_FILE
   23720   #
   23721 
   23722   case $INSTALL in
   23723   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   23724   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   23725   esac
   23726   ac_MKDIR_P=$MKDIR_P
   23727   case $MKDIR_P in
   23728   [\\/$]* | ?:[\\/]* ) ;;
   23729   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   23730   esac
   23731 _ACEOF
   23732 
   23733 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   23734 # If the template does not know about datarootdir, expand it.
   23735 # FIXME: This hack should be removed a few years after 2.60.
   23736 ac_datarootdir_hack=; ac_datarootdir_seen=
   23737 
   23738 ac_sed_dataroot='
   23739 /datarootdir/ {
   23740   p
   23741   q
   23742 }
   23743 /@datadir@/p
   23744 /@docdir@/p
   23745 /@infodir@/p
   23746 /@localedir@/p
   23747 /@mandir@/p
   23748 '
   23749 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   23750 *datarootdir*) ac_datarootdir_seen=yes;;
   23751 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   23752   { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   23753 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   23754 _ACEOF
   23755 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   23756   ac_datarootdir_hack='
   23757   s&@datadir@&$datadir&g
   23758   s&@docdir@&$docdir&g
   23759   s&@infodir@&$infodir&g
   23760   s&@localedir@&$localedir&g
   23761   s&@mandir@&$mandir&g
   23762     s&\\\${datarootdir}&$datarootdir&g' ;;
   23763 esac
   23764 _ACEOF
   23765 
   23766 # Neutralize VPATH when `$srcdir' = `.'.
   23767 # Shell code in configure.ac might set extrasub.
   23768 # FIXME: do we really want to maintain this feature?
   23769 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   23770 ac_sed_extra="$ac_vpsub
   23771 $extrasub
   23772 _ACEOF
   23773 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   23774 :t
   23775 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   23776 s|@configure_input@|$ac_sed_conf_input|;t t
   23777 s&@top_builddir@&$ac_top_builddir_sub&;t t
   23778 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   23779 s&@srcdir@&$ac_srcdir&;t t
   23780 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   23781 s&@top_srcdir@&$ac_top_srcdir&;t t
   23782 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   23783 s&@builddir@&$ac_builddir&;t t
   23784 s&@abs_builddir@&$ac_abs_builddir&;t t
   23785 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   23786 s&@INSTALL@&$ac_INSTALL&;t t
   23787 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   23788 $ac_datarootdir_hack
   23789 "
   23790 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
   23791   || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
   23792 $as_echo "$as_me: error: could not create $ac_file" >&2;}
   23793    { (exit 1); exit 1; }; }
   23794 
   23795 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   23796   { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
   23797   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
   23798   { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   23799 which seems to be undefined.  Please make sure it is defined." >&5
   23800 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   23801 which seems to be undefined.  Please make sure it is defined." >&2;}
   23802 
   23803   rm -f "$tmp/stdin"
   23804   case $ac_file in
   23805   -) cat "$tmp/out" && rm -f "$tmp/out";;
   23806   *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
   23807   esac \
   23808   || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
   23809 $as_echo "$as_me: error: could not create $ac_file" >&2;}
   23810    { (exit 1); exit 1; }; }
   23811  ;;
   23812   :H)
   23813   #
   23814   # CONFIG_HEADER
   23815   #
   23816   if test x"$ac_file" != x-; then
   23817     {
   23818       $as_echo "/* $configure_input  */" \
   23819       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
   23820     } >"$tmp/config.h" \
   23821       || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
   23822 $as_echo "$as_me: error: could not create $ac_file" >&2;}
   23823    { (exit 1); exit 1; }; }
   23824     if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
   23825       { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
   23826 $as_echo "$as_me: $ac_file is unchanged" >&6;}
   23827     else
   23828       rm -f "$ac_file"
   23829       mv "$tmp/config.h" "$ac_file" \
   23830 	|| { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
   23831 $as_echo "$as_me: error: could not create $ac_file" >&2;}
   23832    { (exit 1); exit 1; }; }
   23833     fi
   23834   else
   23835     $as_echo "/* $configure_input  */" \
   23836       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
   23837       || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
   23838 $as_echo "$as_me: error: could not create -" >&2;}
   23839    { (exit 1); exit 1; }; }
   23840   fi
   23841 # Compute "$ac_file"'s index in $config_headers.
   23842 _am_arg="$ac_file"
   23843 _am_stamp_count=1
   23844 for _am_header in $config_headers :; do
   23845   case $_am_header in
   23846     $_am_arg | $_am_arg:* )
   23847       break ;;
   23848     * )
   23849       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   23850   esac
   23851 done
   23852 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   23853 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   23854 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   23855 	 X"$_am_arg" : 'X\(//\)$' \| \
   23856 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   23857 $as_echo X"$_am_arg" |
   23858     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   23859 	    s//\1/
   23860 	    q
   23861 	  }
   23862 	  /^X\(\/\/\)[^/].*/{
   23863 	    s//\1/
   23864 	    q
   23865 	  }
   23866 	  /^X\(\/\/\)$/{
   23867 	    s//\1/
   23868 	    q
   23869 	  }
   23870 	  /^X\(\/\).*/{
   23871 	    s//\1/
   23872 	    q
   23873 	  }
   23874 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   23875  ;;
   23876 
   23877   :C)  { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
   23878 $as_echo "$as_me: executing $ac_file commands" >&6;}
   23879  ;;
   23880   esac
   23881 
   23882 
   23883   case $ac_file$ac_mode in
   23884     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   23885   # Autoconf 2.62 quotes --file arguments for eval, but not when files
   23886   # are listed without --file.  Let's play safe and only enable the eval
   23887   # if we detect the quoting.
   23888   case $CONFIG_FILES in
   23889   *\'*) eval set x "$CONFIG_FILES" ;;
   23890   *)   set x $CONFIG_FILES ;;
   23891   esac
   23892   shift
   23893   for mf
   23894   do
   23895     # Strip MF so we end up with the name of the file.
   23896     mf=`echo "$mf" | sed -e 's/:.*$//'`
   23897     # Check whether this is an Automake generated Makefile or not.
   23898     # We used to match only the files named `Makefile.in', but
   23899     # some people rename them; so instead we look at the file content.
   23900     # Grep'ing the first line is not enough: some people post-process
   23901     # each Makefile.in and add a new line on top of each file to say so.
   23902     # Grep'ing the whole file is not good either: AIX grep has a line
   23903     # limit of 2048, but all sed's we know have understand at least 4000.
   23904     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
   23905       dirpart=`$as_dirname -- "$mf" ||
   23906 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   23907 	 X"$mf" : 'X\(//\)[^/]' \| \
   23908 	 X"$mf" : 'X\(//\)$' \| \
   23909 	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
   23910 $as_echo X"$mf" |
   23911     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   23912 	    s//\1/
   23913 	    q
   23914 	  }
   23915 	  /^X\(\/\/\)[^/].*/{
   23916 	    s//\1/
   23917 	    q
   23918 	  }
   23919 	  /^X\(\/\/\)$/{
   23920 	    s//\1/
   23921 	    q
   23922 	  }
   23923 	  /^X\(\/\).*/{
   23924 	    s//\1/
   23925 	    q
   23926 	  }
   23927 	  s/.*/./; q'`
   23928     else
   23929       continue
   23930     fi
   23931     # Extract the definition of DEPDIR, am__include, and am__quote
   23932     # from the Makefile without running `make'.
   23933     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
   23934     test -z "$DEPDIR" && continue
   23935     am__include=`sed -n 's/^am__include = //p' < "$mf"`
   23936     test -z "am__include" && continue
   23937     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
   23938     # When using ansi2knr, U may be empty or an underscore; expand it
   23939     U=`sed -n 's/^U = //p' < "$mf"`
   23940     # Find all dependency output files, they are included files with
   23941     # $(DEPDIR) in their names.  We invoke sed twice because it is the
   23942     # simplest approach to changing $(DEPDIR) to its actual value in the
   23943     # expansion.
   23944     for file in `sed -n "
   23945       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
   23946 	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
   23947       # Make sure the directory exists.
   23948       test -f "$dirpart/$file" && continue
   23949       fdir=`$as_dirname -- "$file" ||
   23950 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   23951 	 X"$file" : 'X\(//\)[^/]' \| \
   23952 	 X"$file" : 'X\(//\)$' \| \
   23953 	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
   23954 $as_echo X"$file" |
   23955     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   23956 	    s//\1/
   23957 	    q
   23958 	  }
   23959 	  /^X\(\/\/\)[^/].*/{
   23960 	    s//\1/
   23961 	    q
   23962 	  }
   23963 	  /^X\(\/\/\)$/{
   23964 	    s//\1/
   23965 	    q
   23966 	  }
   23967 	  /^X\(\/\).*/{
   23968 	    s//\1/
   23969 	    q
   23970 	  }
   23971 	  s/.*/./; q'`
   23972       { as_dir=$dirpart/$fdir
   23973   case $as_dir in #(
   23974   -*) as_dir=./$as_dir;;
   23975   esac
   23976   test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
   23977     as_dirs=
   23978     while :; do
   23979       case $as_dir in #(
   23980       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   23981       *) as_qdir=$as_dir;;
   23982       esac
   23983       as_dirs="'$as_qdir' $as_dirs"
   23984       as_dir=`$as_dirname -- "$as_dir" ||
   23985 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   23986 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   23987 	 X"$as_dir" : 'X\(//\)$' \| \
   23988 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   23989 $as_echo X"$as_dir" |
   23990     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   23991 	    s//\1/
   23992 	    q
   23993 	  }
   23994 	  /^X\(\/\/\)[^/].*/{
   23995 	    s//\1/
   23996 	    q
   23997 	  }
   23998 	  /^X\(\/\/\)$/{
   23999 	    s//\1/
   24000 	    q
   24001 	  }
   24002 	  /^X\(\/\).*/{
   24003 	    s//\1/
   24004 	    q
   24005 	  }
   24006 	  s/.*/./; q'`
   24007       test -d "$as_dir" && break
   24008     done
   24009     test -z "$as_dirs" || eval "mkdir $as_dirs"
   24010   } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
   24011 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
   24012    { (exit 1); exit 1; }; }; }
   24013       # echo "creating $dirpart/$file"
   24014       echo '# dummy' > "$dirpart/$file"
   24015     done
   24016   done
   24017 }
   24018  ;;
   24019 
   24020   esac
   24021 done # for ac_tag
   24022 
   24023 
   24024 { (exit 0); exit 0; }
   24025 _ACEOF
   24026 chmod +x $CONFIG_STATUS
   24027 ac_clean_files=$ac_clean_files_save
   24028 
   24029 test $ac_write_fail = 0 ||
   24030   { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
   24031 $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
   24032    { (exit 1); exit 1; }; }
   24033 
   24034 
   24035 # configure is writing to config.log, and then calls config.status.
   24036 # config.status does its own redirection, appending to config.log.
   24037 # Unfortunately, on DOS this fails, as config.log is still kept open
   24038 # by configure, so config.status won't be able to write to it; its
   24039 # output is simply discarded.  So we exec the FD to /dev/null,
   24040 # effectively closing config.log, so it can be properly (re)opened and
   24041 # appended to by config.status.  When coming back to configure, we
   24042 # need to make the FD available again.
   24043 if test "$no_create" != yes; then
   24044   ac_cs_success=:
   24045   ac_config_status_args=
   24046   test "$silent" = yes &&
   24047     ac_config_status_args="$ac_config_status_args --quiet"
   24048   exec 5>/dev/null
   24049   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   24050   exec 5>>config.log
   24051   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   24052   # would make configure fail if this is the last instruction.
   24053   $ac_cs_success || { (exit 1); exit 1; }
   24054 fi
   24055 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   24056   { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   24057 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   24058 fi
   24059 
   24060