Home | History | Annotate | Line # | Download | only in dist
configure revision 1.1.1.2
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.63 for libXmu 1.0.5.
      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='libXmu'
    752 PACKAGE_TARNAME='libXmu'
    753 PACKAGE_VERSION='1.0.5'
    754 PACKAGE_STRING='libXmu 1.0.5'
    755 PACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=xorg'
    756 
    757 ac_unique_file="Makefile.am"
    758 # Factoring default headers for most tests.
    759 ac_includes_default="\
    760 #include <stdio.h>
    761 #ifdef HAVE_SYS_TYPES_H
    762 # include <sys/types.h>
    763 #endif
    764 #ifdef HAVE_SYS_STAT_H
    765 # include <sys/stat.h>
    766 #endif
    767 #ifdef STDC_HEADERS
    768 # include <stdlib.h>
    769 # include <stddef.h>
    770 #else
    771 # ifdef HAVE_STDLIB_H
    772 #  include <stdlib.h>
    773 # endif
    774 #endif
    775 #ifdef HAVE_STRING_H
    776 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
    777 #  include <memory.h>
    778 # endif
    779 # include <string.h>
    780 #endif
    781 #ifdef HAVE_STRINGS_H
    782 # include <strings.h>
    783 #endif
    784 #ifdef HAVE_INTTYPES_H
    785 # include <inttypes.h>
    786 #endif
    787 #ifdef HAVE_STDINT_H
    788 # include <stdint.h>
    789 #endif
    790 #ifdef HAVE_UNISTD_H
    791 # include <unistd.h>
    792 #endif"
    793 
    794 ac_subst_vars='am__EXEEXT_FALSE
    795 am__EXEEXT_TRUE
    796 LTLIBOBJS
    797 LIBOBJS
    798 LINTLIBUU
    799 MAKE_LINT_LIB_FALSE
    800 MAKE_LINT_LIB_TRUE
    801 LINTLIB
    802 LINT_FALSE
    803 LINT_TRUE
    804 LINT_FLAGS
    805 LINT
    806 HAS_SNPRINTF
    807 XMUU_LIBS
    808 XMUU_CFLAGS
    809 XMU_LIBS
    810 XMU_CFLAGS
    811 PKG_CONFIG
    812 ADMIN_MAN_DIR
    813 DRIVER_MAN_DIR
    814 MISC_MAN_DIR
    815 FILE_MAN_DIR
    816 LIB_MAN_DIR
    817 APP_MAN_DIR
    818 ADMIN_MAN_SUFFIX
    819 DRIVER_MAN_SUFFIX
    820 MISC_MAN_SUFFIX
    821 FILE_MAN_SUFFIX
    822 LIB_MAN_SUFFIX
    823 APP_MAN_SUFFIX
    824 distcleancheck_listfiles
    825 CHANGELOG_CMD
    826 AM_BACKSLASH
    827 AM_DEFAULT_VERBOSITY
    828 CWARNFLAGS
    829 LIBTOOL
    830 ac_ct_F77
    831 FFLAGS
    832 F77
    833 CXXCPP
    834 am__fastdepCXX_FALSE
    835 am__fastdepCXX_TRUE
    836 CXXDEPMODE
    837 ac_ct_CXX
    838 CXXFLAGS
    839 CXX
    840 CPP
    841 NMEDIT
    842 DSYMUTIL
    843 RANLIB
    844 AR
    845 ECHO
    846 LN_S
    847 EGREP
    848 GREP
    849 SED
    850 am__fastdepCC_FALSE
    851 am__fastdepCC_TRUE
    852 CCDEPMODE
    853 AMDEPBACKSLASH
    854 AMDEP_FALSE
    855 AMDEP_TRUE
    856 am__quote
    857 am__include
    858 DEPDIR
    859 OBJEXT
    860 EXEEXT
    861 ac_ct_CC
    862 CPPFLAGS
    863 LDFLAGS
    864 CFLAGS
    865 CC
    866 host_os
    867 host_vendor
    868 host_cpu
    869 host
    870 build_os
    871 build_vendor
    872 build_cpu
    873 build
    874 MAINT
    875 MAINTAINER_MODE_FALSE
    876 MAINTAINER_MODE_TRUE
    877 am__untar
    878 am__tar
    879 AMTAR
    880 am__leading_dot
    881 SET_MAKE
    882 AWK
    883 mkdir_p
    884 MKDIR_P
    885 INSTALL_STRIP_PROGRAM
    886 STRIP
    887 install_sh
    888 MAKEINFO
    889 AUTOHEADER
    890 AUTOMAKE
    891 AUTOCONF
    892 ACLOCAL
    893 VERSION
    894 PACKAGE
    895 CYGPATH_W
    896 am__isrc
    897 INSTALL_DATA
    898 INSTALL_SCRIPT
    899 INSTALL_PROGRAM
    900 target_alias
    901 host_alias
    902 build_alias
    903 LIBS
    904 ECHO_T
    905 ECHO_N
    906 ECHO_C
    907 DEFS
    908 mandir
    909 localedir
    910 libdir
    911 psdir
    912 pdfdir
    913 dvidir
    914 htmldir
    915 infodir
    916 docdir
    917 oldincludedir
    918 includedir
    919 localstatedir
    920 sharedstatedir
    921 sysconfdir
    922 datadir
    923 datarootdir
    924 libexecdir
    925 sbindir
    926 bindir
    927 program_transform_name
    928 prefix
    929 exec_prefix
    930 PACKAGE_BUGREPORT
    931 PACKAGE_STRING
    932 PACKAGE_VERSION
    933 PACKAGE_TARNAME
    934 PACKAGE_NAME
    935 PATH_SEPARATOR
    936 SHELL'
    937 ac_subst_files=''
    938 ac_user_opts='
    939 enable_option_checking
    940 enable_maintainer_mode
    941 enable_shared
    942 enable_static
    943 enable_fast_install
    944 enable_dependency_tracking
    945 with_gnu_ld
    946 enable_libtool_lock
    947 with_pic
    948 with_tags
    949 enable_silent_rules
    950 enable_strict_compilation
    951 with_release_version
    952 enable_unix_transport
    953 enable_tcp_transport
    954 enable_ipv6
    955 enable_local_transport
    956 with_lint
    957 enable_lint_library
    958 '
    959       ac_precious_vars='build_alias
    960 host_alias
    961 target_alias
    962 CC
    963 CFLAGS
    964 LDFLAGS
    965 LIBS
    966 CPPFLAGS
    967 CPP
    968 CXX
    969 CXXFLAGS
    970 CCC
    971 CXXCPP
    972 F77
    973 FFLAGS
    974 PKG_CONFIG
    975 XMU_CFLAGS
    976 XMU_LIBS
    977 XMUU_CFLAGS
    978 XMUU_LIBS'
    979 
    980 
    981 # Initialize some variables set by options.
    982 ac_init_help=
    983 ac_init_version=false
    984 ac_unrecognized_opts=
    985 ac_unrecognized_sep=
    986 # The variables have the same names as the options, with
    987 # dashes changed to underlines.
    988 cache_file=/dev/null
    989 exec_prefix=NONE
    990 no_create=
    991 no_recursion=
    992 prefix=NONE
    993 program_prefix=NONE
    994 program_suffix=NONE
    995 program_transform_name=s,x,x,
    996 silent=
    997 site=
    998 srcdir=
    999 verbose=
   1000 x_includes=NONE
   1001 x_libraries=NONE
   1002 
   1003 # Installation directory options.
   1004 # These are left unexpanded so users can "make install exec_prefix=/foo"
   1005 # and all the variables that are supposed to be based on exec_prefix
   1006 # by default will actually change.
   1007 # Use braces instead of parens because sh, perl, etc. also accept them.
   1008 # (The list follows the same order as the GNU Coding Standards.)
   1009 bindir='${exec_prefix}/bin'
   1010 sbindir='${exec_prefix}/sbin'
   1011 libexecdir='${exec_prefix}/libexec'
   1012 datarootdir='${prefix}/share'
   1013 datadir='${datarootdir}'
   1014 sysconfdir='${prefix}/etc'
   1015 sharedstatedir='${prefix}/com'
   1016 localstatedir='${prefix}/var'
   1017 includedir='${prefix}/include'
   1018 oldincludedir='/usr/include'
   1019 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
   1020 infodir='${datarootdir}/info'
   1021 htmldir='${docdir}'
   1022 dvidir='${docdir}'
   1023 pdfdir='${docdir}'
   1024 psdir='${docdir}'
   1025 libdir='${exec_prefix}/lib'
   1026 localedir='${datarootdir}/locale'
   1027 mandir='${datarootdir}/man'
   1028 
   1029 ac_prev=
   1030 ac_dashdash=
   1031 for ac_option
   1032 do
   1033   # If the previous option needs an argument, assign it.
   1034   if test -n "$ac_prev"; then
   1035     eval $ac_prev=\$ac_option
   1036     ac_prev=
   1037     continue
   1038   fi
   1039 
   1040   case $ac_option in
   1041   *=*)	ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
   1042   *)	ac_optarg=yes ;;
   1043   esac
   1044 
   1045   # Accept the important Cygnus configure options, so we can diagnose typos.
   1046 
   1047   case $ac_dashdash$ac_option in
   1048   --)
   1049     ac_dashdash=yes ;;
   1050 
   1051   -bindir | --bindir | --bindi | --bind | --bin | --bi)
   1052     ac_prev=bindir ;;
   1053   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
   1054     bindir=$ac_optarg ;;
   1055 
   1056   -build | --build | --buil | --bui | --bu)
   1057     ac_prev=build_alias ;;
   1058   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
   1059     build_alias=$ac_optarg ;;
   1060 
   1061   -cache-file | --cache-file | --cache-fil | --cache-fi \
   1062   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
   1063     ac_prev=cache_file ;;
   1064   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
   1065   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
   1066     cache_file=$ac_optarg ;;
   1067 
   1068   --config-cache | -C)
   1069     cache_file=config.cache ;;
   1070 
   1071   -datadir | --datadir | --datadi | --datad)
   1072     ac_prev=datadir ;;
   1073   -datadir=* | --datadir=* | --datadi=* | --datad=*)
   1074     datadir=$ac_optarg ;;
   1075 
   1076   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
   1077   | --dataroo | --dataro | --datar)
   1078     ac_prev=datarootdir ;;
   1079   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
   1080   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
   1081     datarootdir=$ac_optarg ;;
   1082 
   1083   -disable-* | --disable-*)
   1084     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
   1085     # Reject names that are not valid shell variable names.
   1086     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1087       { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
   1088    { (exit 1); exit 1; }; }
   1089     ac_useropt_orig=$ac_useropt
   1090     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1091     case $ac_user_opts in
   1092       *"
   1093 "enable_$ac_useropt"
   1094 "*) ;;
   1095       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
   1096 	 ac_unrecognized_sep=', ';;
   1097     esac
   1098     eval enable_$ac_useropt=no ;;
   1099 
   1100   -docdir | --docdir | --docdi | --doc | --do)
   1101     ac_prev=docdir ;;
   1102   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
   1103     docdir=$ac_optarg ;;
   1104 
   1105   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
   1106     ac_prev=dvidir ;;
   1107   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
   1108     dvidir=$ac_optarg ;;
   1109 
   1110   -enable-* | --enable-*)
   1111     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
   1112     # Reject names that are not valid shell variable names.
   1113     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1114       { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
   1115    { (exit 1); exit 1; }; }
   1116     ac_useropt_orig=$ac_useropt
   1117     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1118     case $ac_user_opts in
   1119       *"
   1120 "enable_$ac_useropt"
   1121 "*) ;;
   1122       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
   1123 	 ac_unrecognized_sep=', ';;
   1124     esac
   1125     eval enable_$ac_useropt=\$ac_optarg ;;
   1126 
   1127   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
   1128   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
   1129   | --exec | --exe | --ex)
   1130     ac_prev=exec_prefix ;;
   1131   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
   1132   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
   1133   | --exec=* | --exe=* | --ex=*)
   1134     exec_prefix=$ac_optarg ;;
   1135 
   1136   -gas | --gas | --ga | --g)
   1137     # Obsolete; use --with-gas.
   1138     with_gas=yes ;;
   1139 
   1140   -help | --help | --hel | --he | -h)
   1141     ac_init_help=long ;;
   1142   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
   1143     ac_init_help=recursive ;;
   1144   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
   1145     ac_init_help=short ;;
   1146 
   1147   -host | --host | --hos | --ho)
   1148     ac_prev=host_alias ;;
   1149   -host=* | --host=* | --hos=* | --ho=*)
   1150     host_alias=$ac_optarg ;;
   1151 
   1152   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
   1153     ac_prev=htmldir ;;
   1154   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
   1155   | --ht=*)
   1156     htmldir=$ac_optarg ;;
   1157 
   1158   -includedir | --includedir | --includedi | --included | --include \
   1159   | --includ | --inclu | --incl | --inc)
   1160     ac_prev=includedir ;;
   1161   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
   1162   | --includ=* | --inclu=* | --incl=* | --inc=*)
   1163     includedir=$ac_optarg ;;
   1164 
   1165   -infodir | --infodir | --infodi | --infod | --info | --inf)
   1166     ac_prev=infodir ;;
   1167   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
   1168     infodir=$ac_optarg ;;
   1169 
   1170   -libdir | --libdir | --libdi | --libd)
   1171     ac_prev=libdir ;;
   1172   -libdir=* | --libdir=* | --libdi=* | --libd=*)
   1173     libdir=$ac_optarg ;;
   1174 
   1175   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
   1176   | --libexe | --libex | --libe)
   1177     ac_prev=libexecdir ;;
   1178   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
   1179   | --libexe=* | --libex=* | --libe=*)
   1180     libexecdir=$ac_optarg ;;
   1181 
   1182   -localedir | --localedir | --localedi | --localed | --locale)
   1183     ac_prev=localedir ;;
   1184   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
   1185     localedir=$ac_optarg ;;
   1186 
   1187   -localstatedir | --localstatedir | --localstatedi | --localstated \
   1188   | --localstate | --localstat | --localsta | --localst | --locals)
   1189     ac_prev=localstatedir ;;
   1190   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   1191   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   1192     localstatedir=$ac_optarg ;;
   1193 
   1194   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1195     ac_prev=mandir ;;
   1196   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1197     mandir=$ac_optarg ;;
   1198 
   1199   -nfp | --nfp | --nf)
   1200     # Obsolete; use --without-fp.
   1201     with_fp=no ;;
   1202 
   1203   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1204   | --no-cr | --no-c | -n)
   1205     no_create=yes ;;
   1206 
   1207   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1208   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1209     no_recursion=yes ;;
   1210 
   1211   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1212   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1213   | --oldin | --oldi | --old | --ol | --o)
   1214     ac_prev=oldincludedir ;;
   1215   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1216   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1217   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1218     oldincludedir=$ac_optarg ;;
   1219 
   1220   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1221     ac_prev=prefix ;;
   1222   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1223     prefix=$ac_optarg ;;
   1224 
   1225   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1226   | --program-pre | --program-pr | --program-p)
   1227     ac_prev=program_prefix ;;
   1228   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1229   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1230     program_prefix=$ac_optarg ;;
   1231 
   1232   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1233   | --program-suf | --program-su | --program-s)
   1234     ac_prev=program_suffix ;;
   1235   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1236   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1237     program_suffix=$ac_optarg ;;
   1238 
   1239   -program-transform-name | --program-transform-name \
   1240   | --program-transform-nam | --program-transform-na \
   1241   | --program-transform-n | --program-transform- \
   1242   | --program-transform | --program-transfor \
   1243   | --program-transfo | --program-transf \
   1244   | --program-trans | --program-tran \
   1245   | --progr-tra | --program-tr | --program-t)
   1246     ac_prev=program_transform_name ;;
   1247   -program-transform-name=* | --program-transform-name=* \
   1248   | --program-transform-nam=* | --program-transform-na=* \
   1249   | --program-transform-n=* | --program-transform-=* \
   1250   | --program-transform=* | --program-transfor=* \
   1251   | --program-transfo=* | --program-transf=* \
   1252   | --program-trans=* | --program-tran=* \
   1253   | --progr-tra=* | --program-tr=* | --program-t=*)
   1254     program_transform_name=$ac_optarg ;;
   1255 
   1256   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1257     ac_prev=pdfdir ;;
   1258   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1259     pdfdir=$ac_optarg ;;
   1260 
   1261   -psdir | --psdir | --psdi | --psd | --ps)
   1262     ac_prev=psdir ;;
   1263   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1264     psdir=$ac_optarg ;;
   1265 
   1266   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1267   | -silent | --silent | --silen | --sile | --sil)
   1268     silent=yes ;;
   1269 
   1270   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1271     ac_prev=sbindir ;;
   1272   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1273   | --sbi=* | --sb=*)
   1274     sbindir=$ac_optarg ;;
   1275 
   1276   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1277   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1278   | --sharedst | --shareds | --shared | --share | --shar \
   1279   | --sha | --sh)
   1280     ac_prev=sharedstatedir ;;
   1281   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1282   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1283   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1284   | --sha=* | --sh=*)
   1285     sharedstatedir=$ac_optarg ;;
   1286 
   1287   -site | --site | --sit)
   1288     ac_prev=site ;;
   1289   -site=* | --site=* | --sit=*)
   1290     site=$ac_optarg ;;
   1291 
   1292   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1293     ac_prev=srcdir ;;
   1294   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1295     srcdir=$ac_optarg ;;
   1296 
   1297   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1298   | --syscon | --sysco | --sysc | --sys | --sy)
   1299     ac_prev=sysconfdir ;;
   1300   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1301   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1302     sysconfdir=$ac_optarg ;;
   1303 
   1304   -target | --target | --targe | --targ | --tar | --ta | --t)
   1305     ac_prev=target_alias ;;
   1306   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1307     target_alias=$ac_optarg ;;
   1308 
   1309   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1310     verbose=yes ;;
   1311 
   1312   -version | --version | --versio | --versi | --vers | -V)
   1313     ac_init_version=: ;;
   1314 
   1315   -with-* | --with-*)
   1316     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1317     # Reject names that are not valid shell variable names.
   1318     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1319       { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
   1320    { (exit 1); exit 1; }; }
   1321     ac_useropt_orig=$ac_useropt
   1322     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1323     case $ac_user_opts in
   1324       *"
   1325 "with_$ac_useropt"
   1326 "*) ;;
   1327       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1328 	 ac_unrecognized_sep=', ';;
   1329     esac
   1330     eval with_$ac_useropt=\$ac_optarg ;;
   1331 
   1332   -without-* | --without-*)
   1333     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1334     # Reject names that are not valid shell variable names.
   1335     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1336       { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
   1337    { (exit 1); exit 1; }; }
   1338     ac_useropt_orig=$ac_useropt
   1339     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1340     case $ac_user_opts in
   1341       *"
   1342 "with_$ac_useropt"
   1343 "*) ;;
   1344       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1345 	 ac_unrecognized_sep=', ';;
   1346     esac
   1347     eval with_$ac_useropt=no ;;
   1348 
   1349   --x)
   1350     # Obsolete; use --with-x.
   1351     with_x=yes ;;
   1352 
   1353   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1354   | --x-incl | --x-inc | --x-in | --x-i)
   1355     ac_prev=x_includes ;;
   1356   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1357   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1358     x_includes=$ac_optarg ;;
   1359 
   1360   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1361   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1362     ac_prev=x_libraries ;;
   1363   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1364   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1365     x_libraries=$ac_optarg ;;
   1366 
   1367   -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
   1368 Try \`$0 --help' for more information." >&2
   1369    { (exit 1); exit 1; }; }
   1370     ;;
   1371 
   1372   *=*)
   1373     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1374     # Reject names that are not valid shell variable names.
   1375     expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
   1376       { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
   1377    { (exit 1); exit 1; }; }
   1378     eval $ac_envvar=\$ac_optarg
   1379     export $ac_envvar ;;
   1380 
   1381   *)
   1382     # FIXME: should be removed in autoconf 3.0.
   1383     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
   1384     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1385       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
   1386     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
   1387     ;;
   1388 
   1389   esac
   1390 done
   1391 
   1392 if test -n "$ac_prev"; then
   1393   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1394   { $as_echo "$as_me: error: missing argument to $ac_option" >&2
   1395    { (exit 1); exit 1; }; }
   1396 fi
   1397 
   1398 if test -n "$ac_unrecognized_opts"; then
   1399   case $enable_option_checking in
   1400     no) ;;
   1401     fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
   1402    { (exit 1); exit 1; }; } ;;
   1403     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1404   esac
   1405 fi
   1406 
   1407 # Check all directory arguments for consistency.
   1408 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1409 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1410 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1411 		libdir localedir mandir
   1412 do
   1413   eval ac_val=\$$ac_var
   1414   # Remove trailing slashes.
   1415   case $ac_val in
   1416     */ )
   1417       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1418       eval $ac_var=\$ac_val;;
   1419   esac
   1420   # Be sure to have absolute directory names.
   1421   case $ac_val in
   1422     [\\/$]* | ?:[\\/]* )  continue;;
   1423     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1424   esac
   1425   { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
   1426    { (exit 1); exit 1; }; }
   1427 done
   1428 
   1429 # There might be people who depend on the old broken behavior: `$host'
   1430 # used to hold the argument of --host etc.
   1431 # FIXME: To remove some day.
   1432 build=$build_alias
   1433 host=$host_alias
   1434 target=$target_alias
   1435 
   1436 # FIXME: To remove some day.
   1437 if test "x$host_alias" != x; then
   1438   if test "x$build_alias" = x; then
   1439     cross_compiling=maybe
   1440     $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
   1441     If a cross compiler is detected then cross compile mode will be used." >&2
   1442   elif test "x$build_alias" != "x$host_alias"; then
   1443     cross_compiling=yes
   1444   fi
   1445 fi
   1446 
   1447 ac_tool_prefix=
   1448 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1449 
   1450 test "$silent" = yes && exec 6>/dev/null
   1451 
   1452 
   1453 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1454 ac_ls_di=`ls -di .` &&
   1455 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1456   { $as_echo "$as_me: error: working directory cannot be determined" >&2
   1457    { (exit 1); exit 1; }; }
   1458 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1459   { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
   1460    { (exit 1); exit 1; }; }
   1461 
   1462 
   1463 # Find the source files, if location was not specified.
   1464 if test -z "$srcdir"; then
   1465   ac_srcdir_defaulted=yes
   1466   # Try the directory containing this script, then the parent directory.
   1467   ac_confdir=`$as_dirname -- "$as_myself" ||
   1468 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1469 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1470 	 X"$as_myself" : 'X\(//\)$' \| \
   1471 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1472 $as_echo X"$as_myself" |
   1473     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1474 	    s//\1/
   1475 	    q
   1476 	  }
   1477 	  /^X\(\/\/\)[^/].*/{
   1478 	    s//\1/
   1479 	    q
   1480 	  }
   1481 	  /^X\(\/\/\)$/{
   1482 	    s//\1/
   1483 	    q
   1484 	  }
   1485 	  /^X\(\/\).*/{
   1486 	    s//\1/
   1487 	    q
   1488 	  }
   1489 	  s/.*/./; q'`
   1490   srcdir=$ac_confdir
   1491   if test ! -r "$srcdir/$ac_unique_file"; then
   1492     srcdir=..
   1493   fi
   1494 else
   1495   ac_srcdir_defaulted=no
   1496 fi
   1497 if test ! -r "$srcdir/$ac_unique_file"; then
   1498   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1499   { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
   1500    { (exit 1); exit 1; }; }
   1501 fi
   1502 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1503 ac_abs_confdir=`(
   1504 	cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
   1505    { (exit 1); exit 1; }; }
   1506 	pwd)`
   1507 # When building in place, set srcdir=.
   1508 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1509   srcdir=.
   1510 fi
   1511 # Remove unnecessary trailing slashes from srcdir.
   1512 # Double slashes in file names in object file debugging info
   1513 # mess up M-x gdb in Emacs.
   1514 case $srcdir in
   1515 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1516 esac
   1517 for ac_var in $ac_precious_vars; do
   1518   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1519   eval ac_env_${ac_var}_value=\$${ac_var}
   1520   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1521   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1522 done
   1523 
   1524 #
   1525 # Report the --help message.
   1526 #
   1527 if test "$ac_init_help" = "long"; then
   1528   # Omit some internal or obsolete options to make the list less imposing.
   1529   # This message is too long to be a string in the A/UX 3.1 sh.
   1530   cat <<_ACEOF
   1531 \`configure' configures libXmu 1.0.5 to adapt to many kinds of systems.
   1532 
   1533 Usage: $0 [OPTION]... [VAR=VALUE]...
   1534 
   1535 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1536 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1537 
   1538 Defaults for the options are specified in brackets.
   1539 
   1540 Configuration:
   1541   -h, --help              display this help and exit
   1542       --help=short        display options specific to this package
   1543       --help=recursive    display the short help of all the included packages
   1544   -V, --version           display version information and exit
   1545   -q, --quiet, --silent   do not print \`checking...' messages
   1546       --cache-file=FILE   cache test results in FILE [disabled]
   1547   -C, --config-cache      alias for \`--cache-file=config.cache'
   1548   -n, --no-create         do not create output files
   1549       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1550 
   1551 Installation directories:
   1552   --prefix=PREFIX         install architecture-independent files in PREFIX
   1553                           [$ac_default_prefix]
   1554   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1555                           [PREFIX]
   1556 
   1557 By default, \`make install' will install all the files in
   1558 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1559 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1560 for instance \`--prefix=\$HOME'.
   1561 
   1562 For better control, use the options below.
   1563 
   1564 Fine tuning of the installation directories:
   1565   --bindir=DIR            user executables [EPREFIX/bin]
   1566   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1567   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1568   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1569   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1570   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1571   --libdir=DIR            object code libraries [EPREFIX/lib]
   1572   --includedir=DIR        C header files [PREFIX/include]
   1573   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1574   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1575   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1576   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1577   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1578   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1579   --docdir=DIR            documentation root [DATAROOTDIR/doc/libXmu]
   1580   --htmldir=DIR           html documentation [DOCDIR]
   1581   --dvidir=DIR            dvi documentation [DOCDIR]
   1582   --pdfdir=DIR            pdf documentation [DOCDIR]
   1583   --psdir=DIR             ps documentation [DOCDIR]
   1584 _ACEOF
   1585 
   1586   cat <<\_ACEOF
   1587 
   1588 Program names:
   1589   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1590   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1591   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1592 
   1593 System types:
   1594   --build=BUILD     configure for building on BUILD [guessed]
   1595   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1596 _ACEOF
   1597 fi
   1598 
   1599 if test -n "$ac_init_help"; then
   1600   case $ac_init_help in
   1601      short | recursive ) echo "Configuration of libXmu 1.0.5:";;
   1602    esac
   1603   cat <<\_ACEOF
   1604 
   1605 Optional Features:
   1606   --disable-option-checking  ignore unrecognized --enable/--with options
   1607   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1608   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1609   --enable-maintainer-mode  enable make rules and dependencies not useful
   1610 			  (and sometimes confusing) to the casual installer
   1611   --enable-shared[=PKGS]  build shared libraries [default=yes]
   1612   --enable-static[=PKGS]  build static libraries [default=yes]
   1613   --enable-fast-install[=PKGS]
   1614                           optimize for fast installation [default=yes]
   1615   --disable-dependency-tracking  speeds up one-time build
   1616   --enable-dependency-tracking   do not reject slow dependency extractors
   1617   --disable-libtool-lock  avoid locking (might break parallel builds)
   1618   --enable-silent-rules          less verbose build output (undo: `make V=1')
   1619   --disable-silent-rules         verbose build output (undo: `make V=0')
   1620   --enable-strict-compilation
   1621                           Enable all warnings from compiler and make them
   1622                           errors (default: disabled)
   1623   --enable-unix-transport Enable UNIX domain socket transport
   1624   --enable-tcp-transport  Enable TCP socket transport
   1625   --enable-ipv6           Enable IPv6 support
   1626   --enable-local-transport
   1627                           Enable os-specific local transport
   1628   --enable-lint-library   Create lint library (default: disabled)
   1629 
   1630 Optional Packages:
   1631   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1632   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1633   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
   1634   --with-pic              try to use only PIC/non-PIC objects [default=use
   1635                           both]
   1636   --with-tags[=TAGS]      include additional configurations [automatic]
   1637   --with-release-version=STRING
   1638                           Use release version string in package name
   1639   --with-lint             Use a lint-style source code checker (default:
   1640                           disabled)
   1641 
   1642 Some influential environment variables:
   1643   CC          C compiler command
   1644   CFLAGS      C compiler flags
   1645   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1646               nonstandard directory <lib dir>
   1647   LIBS        libraries to pass to the linker, e.g. -l<library>
   1648   CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
   1649               you have headers in a nonstandard directory <include dir>
   1650   CPP         C preprocessor
   1651   CXX         C++ compiler command
   1652   CXXFLAGS    C++ compiler flags
   1653   CXXCPP      C++ preprocessor
   1654   F77         Fortran 77 compiler command
   1655   FFLAGS      Fortran 77 compiler flags
   1656   PKG_CONFIG  path to pkg-config utility
   1657   XMU_CFLAGS  C compiler flags for XMU, overriding pkg-config
   1658   XMU_LIBS    linker flags for XMU, overriding pkg-config
   1659   XMUU_CFLAGS C compiler flags for XMUU, overriding pkg-config
   1660   XMUU_LIBS   linker flags for XMUU, overriding pkg-config
   1661 
   1662 Use these variables to override the choices made by `configure' or to help
   1663 it to find libraries and programs with nonstandard names/locations.
   1664 
   1665 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
   1666 _ACEOF
   1667 ac_status=$?
   1668 fi
   1669 
   1670 if test "$ac_init_help" = "recursive"; then
   1671   # If there are subdirs, report their specific --help.
   1672   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1673     test -d "$ac_dir" ||
   1674       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1675       continue
   1676     ac_builddir=.
   1677 
   1678 case "$ac_dir" in
   1679 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1680 *)
   1681   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   1682   # A ".." for each directory in $ac_dir_suffix.
   1683   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1684   case $ac_top_builddir_sub in
   1685   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1686   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1687   esac ;;
   1688 esac
   1689 ac_abs_top_builddir=$ac_pwd
   1690 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1691 # for backward compatibility:
   1692 ac_top_builddir=$ac_top_build_prefix
   1693 
   1694 case $srcdir in
   1695   .)  # We are building in place.
   1696     ac_srcdir=.
   1697     ac_top_srcdir=$ac_top_builddir_sub
   1698     ac_abs_top_srcdir=$ac_pwd ;;
   1699   [\\/]* | ?:[\\/]* )  # Absolute name.
   1700     ac_srcdir=$srcdir$ac_dir_suffix;
   1701     ac_top_srcdir=$srcdir
   1702     ac_abs_top_srcdir=$srcdir ;;
   1703   *) # Relative name.
   1704     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1705     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1706     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1707 esac
   1708 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1709 
   1710     cd "$ac_dir" || { ac_status=$?; continue; }
   1711     # Check for guested configure.
   1712     if test -f "$ac_srcdir/configure.gnu"; then
   1713       echo &&
   1714       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1715     elif test -f "$ac_srcdir/configure"; then
   1716       echo &&
   1717       $SHELL "$ac_srcdir/configure" --help=recursive
   1718     else
   1719       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1720     fi || ac_status=$?
   1721     cd "$ac_pwd" || { ac_status=$?; break; }
   1722   done
   1723 fi
   1724 
   1725 test -n "$ac_init_help" && exit $ac_status
   1726 if $ac_init_version; then
   1727   cat <<\_ACEOF
   1728 libXmu configure 1.0.5
   1729 generated by GNU Autoconf 2.63
   1730 
   1731 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
   1732 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
   1733 This configure script is free software; the Free Software Foundation
   1734 gives unlimited permission to copy, distribute and modify it.
   1735 _ACEOF
   1736   exit
   1737 fi
   1738 cat >config.log <<_ACEOF
   1739 This file contains any messages produced by compilers while
   1740 running configure, to aid debugging if configure makes a mistake.
   1741 
   1742 It was created by libXmu $as_me 1.0.5, which was
   1743 generated by GNU Autoconf 2.63.  Invocation command line was
   1744 
   1745   $ $0 $@
   1746 
   1747 _ACEOF
   1748 exec 5>>config.log
   1749 {
   1750 cat <<_ASUNAME
   1751 ## --------- ##
   1752 ## Platform. ##
   1753 ## --------- ##
   1754 
   1755 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   1756 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   1757 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   1758 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   1759 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   1760 
   1761 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   1762 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   1763 
   1764 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   1765 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   1766 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   1767 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   1768 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   1769 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   1770 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   1771 
   1772 _ASUNAME
   1773 
   1774 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1775 for as_dir in $PATH
   1776 do
   1777   IFS=$as_save_IFS
   1778   test -z "$as_dir" && as_dir=.
   1779   $as_echo "PATH: $as_dir"
   1780 done
   1781 IFS=$as_save_IFS
   1782 
   1783 } >&5
   1784 
   1785 cat >&5 <<_ACEOF
   1786 
   1787 
   1788 ## ----------- ##
   1789 ## Core tests. ##
   1790 ## ----------- ##
   1791 
   1792 _ACEOF
   1793 
   1794 
   1795 # Keep a trace of the command line.
   1796 # Strip out --no-create and --no-recursion so they do not pile up.
   1797 # Strip out --silent because we don't want to record it for future runs.
   1798 # Also quote any args containing shell meta-characters.
   1799 # Make two passes to allow for proper duplicate-argument suppression.
   1800 ac_configure_args=
   1801 ac_configure_args0=
   1802 ac_configure_args1=
   1803 ac_must_keep_next=false
   1804 for ac_pass in 1 2
   1805 do
   1806   for ac_arg
   1807   do
   1808     case $ac_arg in
   1809     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   1810     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1811     | -silent | --silent | --silen | --sile | --sil)
   1812       continue ;;
   1813     *\'*)
   1814       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1815     esac
   1816     case $ac_pass in
   1817     1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
   1818     2)
   1819       ac_configure_args1="$ac_configure_args1 '$ac_arg'"
   1820       if test $ac_must_keep_next = true; then
   1821 	ac_must_keep_next=false # Got value, back to normal.
   1822       else
   1823 	case $ac_arg in
   1824 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   1825 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   1826 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   1827 	  | -with-* | --with-* | -without-* | --without-* | --x)
   1828 	    case "$ac_configure_args0 " in
   1829 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   1830 	    esac
   1831 	    ;;
   1832 	  -* ) ac_must_keep_next=true ;;
   1833 	esac
   1834       fi
   1835       ac_configure_args="$ac_configure_args '$ac_arg'"
   1836       ;;
   1837     esac
   1838   done
   1839 done
   1840 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
   1841 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
   1842 
   1843 # When interrupted or exit'd, cleanup temporary files, and complete
   1844 # config.log.  We remove comments because anyway the quotes in there
   1845 # would cause problems or look ugly.
   1846 # WARNING: Use '\'' to represent an apostrophe within the trap.
   1847 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   1848 trap 'exit_status=$?
   1849   # Save into config.log some information that might help in debugging.
   1850   {
   1851     echo
   1852 
   1853     cat <<\_ASBOX
   1854 ## ---------------- ##
   1855 ## Cache variables. ##
   1856 ## ---------------- ##
   1857 _ASBOX
   1858     echo
   1859     # The following way of writing the cache mishandles newlines in values,
   1860 (
   1861   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   1862     eval ac_val=\$$ac_var
   1863     case $ac_val in #(
   1864     *${as_nl}*)
   1865       case $ac_var in #(
   1866       *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
   1867 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   1868       esac
   1869       case $ac_var in #(
   1870       _ | IFS | as_nl) ;; #(
   1871       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   1872       *) $as_unset $ac_var ;;
   1873       esac ;;
   1874     esac
   1875   done
   1876   (set) 2>&1 |
   1877     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   1878     *${as_nl}ac_space=\ *)
   1879       sed -n \
   1880 	"s/'\''/'\''\\\\'\'''\''/g;
   1881 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   1882       ;; #(
   1883     *)
   1884       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   1885       ;;
   1886     esac |
   1887     sort
   1888 )
   1889     echo
   1890 
   1891     cat <<\_ASBOX
   1892 ## ----------------- ##
   1893 ## Output variables. ##
   1894 ## ----------------- ##
   1895 _ASBOX
   1896     echo
   1897     for ac_var in $ac_subst_vars
   1898     do
   1899       eval ac_val=\$$ac_var
   1900       case $ac_val in
   1901       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   1902       esac
   1903       $as_echo "$ac_var='\''$ac_val'\''"
   1904     done | sort
   1905     echo
   1906 
   1907     if test -n "$ac_subst_files"; then
   1908       cat <<\_ASBOX
   1909 ## ------------------- ##
   1910 ## File substitutions. ##
   1911 ## ------------------- ##
   1912 _ASBOX
   1913       echo
   1914       for ac_var in $ac_subst_files
   1915       do
   1916 	eval ac_val=\$$ac_var
   1917 	case $ac_val in
   1918 	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   1919 	esac
   1920 	$as_echo "$ac_var='\''$ac_val'\''"
   1921       done | sort
   1922       echo
   1923     fi
   1924 
   1925     if test -s confdefs.h; then
   1926       cat <<\_ASBOX
   1927 ## ----------- ##
   1928 ## confdefs.h. ##
   1929 ## ----------- ##
   1930 _ASBOX
   1931       echo
   1932       cat confdefs.h
   1933       echo
   1934     fi
   1935     test "$ac_signal" != 0 &&
   1936       $as_echo "$as_me: caught signal $ac_signal"
   1937     $as_echo "$as_me: exit $exit_status"
   1938   } >&5
   1939   rm -f core *.core core.conftest.* &&
   1940     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   1941     exit $exit_status
   1942 ' 0
   1943 for ac_signal in 1 2 13 15; do
   1944   trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
   1945 done
   1946 ac_signal=0
   1947 
   1948 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   1949 rm -f -r conftest* confdefs.h
   1950 
   1951 # Predefined preprocessor variables.
   1952 
   1953 cat >>confdefs.h <<_ACEOF
   1954 #define PACKAGE_NAME "$PACKAGE_NAME"
   1955 _ACEOF
   1956 
   1957 
   1958 cat >>confdefs.h <<_ACEOF
   1959 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
   1960 _ACEOF
   1961 
   1962 
   1963 cat >>confdefs.h <<_ACEOF
   1964 #define PACKAGE_VERSION "$PACKAGE_VERSION"
   1965 _ACEOF
   1966 
   1967 
   1968 cat >>confdefs.h <<_ACEOF
   1969 #define PACKAGE_STRING "$PACKAGE_STRING"
   1970 _ACEOF
   1971 
   1972 
   1973 cat >>confdefs.h <<_ACEOF
   1974 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
   1975 _ACEOF
   1976 
   1977 
   1978 # Let the site file select an alternate cache file if it wants to.
   1979 # Prefer an explicitly selected file to automatically selected ones.
   1980 ac_site_file1=NONE
   1981 ac_site_file2=NONE
   1982 if test -n "$CONFIG_SITE"; then
   1983   ac_site_file1=$CONFIG_SITE
   1984 elif test "x$prefix" != xNONE; then
   1985   ac_site_file1=$prefix/share/config.site
   1986   ac_site_file2=$prefix/etc/config.site
   1987 else
   1988   ac_site_file1=$ac_default_prefix/share/config.site
   1989   ac_site_file2=$ac_default_prefix/etc/config.site
   1990 fi
   1991 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
   1992 do
   1993   test "x$ac_site_file" = xNONE && continue
   1994   if test -r "$ac_site_file"; then
   1995     { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
   1996 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
   1997     sed 's/^/| /' "$ac_site_file" >&5
   1998     . "$ac_site_file"
   1999   fi
   2000 done
   2001 
   2002 if test -r "$cache_file"; then
   2003   # Some versions of bash will fail to source /dev/null (special
   2004   # files actually), so we avoid doing that.
   2005   if test -f "$cache_file"; then
   2006     { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
   2007 $as_echo "$as_me: loading cache $cache_file" >&6;}
   2008     case $cache_file in
   2009       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2010       *)                      . "./$cache_file";;
   2011     esac
   2012   fi
   2013 else
   2014   { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
   2015 $as_echo "$as_me: creating cache $cache_file" >&6;}
   2016   >$cache_file
   2017 fi
   2018 
   2019 # Check that the precious variables saved in the cache have kept the same
   2020 # value.
   2021 ac_cache_corrupted=false
   2022 for ac_var in $ac_precious_vars; do
   2023   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2024   eval ac_new_set=\$ac_env_${ac_var}_set
   2025   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2026   eval ac_new_val=\$ac_env_${ac_var}_value
   2027   case $ac_old_set,$ac_new_set in
   2028     set,)
   2029       { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   2030 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   2031       ac_cache_corrupted=: ;;
   2032     ,set)
   2033       { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
   2034 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   2035       ac_cache_corrupted=: ;;
   2036     ,);;
   2037     *)
   2038       if test "x$ac_old_val" != "x$ac_new_val"; then
   2039 	# differences in whitespace do not lead to failure.
   2040 	ac_old_val_w=`echo x $ac_old_val`
   2041 	ac_new_val_w=`echo x $ac_new_val`
   2042 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2043 	  { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
   2044 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   2045 	  ac_cache_corrupted=:
   2046 	else
   2047 	  { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
   2048 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
   2049 	  eval $ac_var=\$ac_old_val
   2050 	fi
   2051 	{ $as_echo "$as_me:$LINENO:   former value:  \`$ac_old_val'" >&5
   2052 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
   2053 	{ $as_echo "$as_me:$LINENO:   current value: \`$ac_new_val'" >&5
   2054 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
   2055       fi;;
   2056   esac
   2057   # Pass precious variables to config.status.
   2058   if test "$ac_new_set" = set; then
   2059     case $ac_new_val in
   2060     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2061     *) ac_arg=$ac_var=$ac_new_val ;;
   2062     esac
   2063     case " $ac_configure_args " in
   2064       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2065       *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
   2066     esac
   2067   fi
   2068 done
   2069 if $ac_cache_corrupted; then
   2070   { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   2071 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2072   { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
   2073 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
   2074   { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
   2075 $as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
   2076    { (exit 1); exit 1; }; }
   2077 fi
   2078 
   2079 
   2080 
   2081 
   2082 
   2083 
   2084 
   2085 
   2086 
   2087 
   2088 
   2089 
   2090 
   2091 
   2092 
   2093 
   2094 
   2095 
   2096 
   2097 
   2098 
   2099 
   2100 
   2101 
   2102 
   2103 ac_ext=c
   2104 ac_cpp='$CPP $CPPFLAGS'
   2105 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2106 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2107 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2108 
   2109 
   2110 
   2111 
   2112 ac_aux_dir=
   2113 for ac_dir in . "$srcdir"/.; do
   2114   if test -f "$ac_dir/install-sh"; then
   2115     ac_aux_dir=$ac_dir
   2116     ac_install_sh="$ac_aux_dir/install-sh -c"
   2117     break
   2118   elif test -f "$ac_dir/install.sh"; then
   2119     ac_aux_dir=$ac_dir
   2120     ac_install_sh="$ac_aux_dir/install.sh -c"
   2121     break
   2122   elif test -f "$ac_dir/shtool"; then
   2123     ac_aux_dir=$ac_dir
   2124     ac_install_sh="$ac_aux_dir/shtool install -c"
   2125     break
   2126   fi
   2127 done
   2128 if test -z "$ac_aux_dir"; then
   2129   { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in . \"$srcdir\"/." >&5
   2130 $as_echo "$as_me: error: cannot find install-sh or install.sh in . \"$srcdir\"/." >&2;}
   2131    { (exit 1); exit 1; }; }
   2132 fi
   2133 
   2134 # These three variables are undocumented and unsupported,
   2135 # and are intended to be withdrawn in a future Autoconf release.
   2136 # They can cause serious problems if a builder's source tree is in a directory
   2137 # whose full name contains unusual characters.
   2138 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
   2139 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
   2140 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
   2141 
   2142 
   2143 am__api_version='1.11'
   2144 
   2145 # Find a good install program.  We prefer a C program (faster),
   2146 # so one script is as good as another.  But avoid the broken or
   2147 # incompatible versions:
   2148 # SysV /etc/install, /usr/sbin/install
   2149 # SunOS /usr/etc/install
   2150 # IRIX /sbin/install
   2151 # AIX /bin/install
   2152 # AmigaOS /C/install, which installs bootblocks on floppy discs
   2153 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   2154 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   2155 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   2156 # OS/2's system install, which has a completely different semantic
   2157 # ./install, which can be erroneously created by make from ./install.sh.
   2158 # Reject install programs that cannot install multiple files.
   2159 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
   2160 $as_echo_n "checking for a BSD-compatible install... " >&6; }
   2161 if test -z "$INSTALL"; then
   2162 if test "${ac_cv_path_install+set}" = set; then
   2163   $as_echo_n "(cached) " >&6
   2164 else
   2165   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2166 for as_dir in $PATH
   2167 do
   2168   IFS=$as_save_IFS
   2169   test -z "$as_dir" && as_dir=.
   2170   # Account for people who put trailing slashes in PATH elements.
   2171 case $as_dir/ in
   2172   ./ | .// | /cC/* | \
   2173   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   2174   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
   2175   /usr/ucb/* ) ;;
   2176   *)
   2177     # OSF1 and SCO ODT 3.0 have their own names for install.
   2178     # Don't use installbsd from OSF since it installs stuff as root
   2179     # by default.
   2180     for ac_prog in ginstall scoinst install; do
   2181       for ac_exec_ext in '' $ac_executable_extensions; do
   2182 	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
   2183 	  if test $ac_prog = install &&
   2184 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2185 	    # AIX install.  It has an incompatible calling convention.
   2186 	    :
   2187 	  elif test $ac_prog = install &&
   2188 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2189 	    # program-specific install script used by HP pwplus--don't use.
   2190 	    :
   2191 	  else
   2192 	    rm -rf conftest.one conftest.two conftest.dir
   2193 	    echo one > conftest.one
   2194 	    echo two > conftest.two
   2195 	    mkdir conftest.dir
   2196 	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
   2197 	      test -s conftest.one && test -s conftest.two &&
   2198 	      test -s conftest.dir/conftest.one &&
   2199 	      test -s conftest.dir/conftest.two
   2200 	    then
   2201 	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
   2202 	      break 3
   2203 	    fi
   2204 	  fi
   2205 	fi
   2206       done
   2207     done
   2208     ;;
   2209 esac
   2210 
   2211 done
   2212 IFS=$as_save_IFS
   2213 
   2214 rm -rf conftest.one conftest.two conftest.dir
   2215 
   2216 fi
   2217   if test "${ac_cv_path_install+set}" = set; then
   2218     INSTALL=$ac_cv_path_install
   2219   else
   2220     # As a last resort, use the slow shell script.  Don't cache a
   2221     # value for INSTALL within a source directory, because that will
   2222     # break other packages using the cache if that directory is
   2223     # removed, or if the value is a relative name.
   2224     INSTALL=$ac_install_sh
   2225   fi
   2226 fi
   2227 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
   2228 $as_echo "$INSTALL" >&6; }
   2229 
   2230 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   2231 # It thinks the first close brace ends the variable substitution.
   2232 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   2233 
   2234 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   2235 
   2236 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   2237 
   2238 { $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5
   2239 $as_echo_n "checking whether build environment is sane... " >&6; }
   2240 # Just in case
   2241 sleep 1
   2242 echo timestamp > conftest.file
   2243 # Reject unsafe characters in $srcdir or the absolute working directory
   2244 # name.  Accept space and tab only in the latter.
   2245 am_lf='
   2246 '
   2247 case `pwd` in
   2248   *[\\\"\#\$\&\'\`$am_lf]*)
   2249     { { $as_echo "$as_me:$LINENO: error: unsafe absolute working directory name" >&5
   2250 $as_echo "$as_me: error: unsafe absolute working directory name" >&2;}
   2251    { (exit 1); exit 1; }; };;
   2252 esac
   2253 case $srcdir in
   2254   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   2255     { { $as_echo "$as_me:$LINENO: error: unsafe srcdir value: \`$srcdir'" >&5
   2256 $as_echo "$as_me: error: unsafe srcdir value: \`$srcdir'" >&2;}
   2257    { (exit 1); exit 1; }; };;
   2258 esac
   2259 
   2260 # Do `set' in a subshell so we don't clobber the current shell's
   2261 # arguments.  Must try -L first in case configure is actually a
   2262 # symlink; some systems play weird games with the mod time of symlinks
   2263 # (eg FreeBSD returns the mod time of the symlink's containing
   2264 # directory).
   2265 if (
   2266    set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   2267    if test "$*" = "X"; then
   2268       # -L didn't work.
   2269       set X `ls -t "$srcdir/configure" conftest.file`
   2270    fi
   2271    rm -f conftest.file
   2272    if test "$*" != "X $srcdir/configure conftest.file" \
   2273       && test "$*" != "X conftest.file $srcdir/configure"; then
   2274 
   2275       # If neither matched, then we have a broken ls.  This can happen
   2276       # if, for instance, CONFIG_SHELL is bash and it inherits a
   2277       # broken ls alias from the environment.  This has actually
   2278       # happened.  Such a system could not be considered "sane".
   2279       { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
   2280 alias in your environment" >&5
   2281 $as_echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
   2282 alias in your environment" >&2;}
   2283    { (exit 1); exit 1; }; }
   2284    fi
   2285 
   2286    test "$2" = conftest.file
   2287    )
   2288 then
   2289    # Ok.
   2290    :
   2291 else
   2292    { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files!
   2293 Check your system clock" >&5
   2294 $as_echo "$as_me: error: newly created file is older than distributed files!
   2295 Check your system clock" >&2;}
   2296    { (exit 1); exit 1; }; }
   2297 fi
   2298 { $as_echo "$as_me:$LINENO: result: yes" >&5
   2299 $as_echo "yes" >&6; }
   2300 test "$program_prefix" != NONE &&
   2301   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   2302 # Use a double $ so make ignores it.
   2303 test "$program_suffix" != NONE &&
   2304   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   2305 # Double any \ or $.
   2306 # By default was `s,x,x', remove it if useless.
   2307 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   2308 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
   2309 
   2310 # expand $ac_aux_dir to an absolute path
   2311 am_aux_dir=`cd $ac_aux_dir && pwd`
   2312 
   2313 if test x"${MISSING+set}" != xset; then
   2314   case $am_aux_dir in
   2315   *\ * | *\	*)
   2316     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
   2317   *)
   2318     MISSING="\${SHELL} $am_aux_dir/missing" ;;
   2319   esac
   2320 fi
   2321 # Use eval to expand $SHELL
   2322 if eval "$MISSING --run true"; then
   2323   am_missing_run="$MISSING --run "
   2324 else
   2325   am_missing_run=
   2326   { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
   2327 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
   2328 fi
   2329 
   2330 if test x"${install_sh}" != xset; then
   2331   case $am_aux_dir in
   2332   *\ * | *\	*)
   2333     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   2334   *)
   2335     install_sh="\${SHELL} $am_aux_dir/install-sh"
   2336   esac
   2337 fi
   2338 
   2339 # Installed binaries are usually stripped using `strip' when the user
   2340 # run `make install-strip'.  However `strip' might not be the right
   2341 # tool to use in cross-compilation environments, therefore Automake
   2342 # will honor the `STRIP' environment variable to overrule this program.
   2343 if test "$cross_compiling" != no; then
   2344   if test -n "$ac_tool_prefix"; then
   2345   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   2346 set dummy ${ac_tool_prefix}strip; ac_word=$2
   2347 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   2348 $as_echo_n "checking for $ac_word... " >&6; }
   2349 if test "${ac_cv_prog_STRIP+set}" = set; then
   2350   $as_echo_n "(cached) " >&6
   2351 else
   2352   if test -n "$STRIP"; then
   2353   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   2354 else
   2355 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2356 for as_dir in $PATH
   2357 do
   2358   IFS=$as_save_IFS
   2359   test -z "$as_dir" && as_dir=.
   2360   for ac_exec_ext in '' $ac_executable_extensions; do
   2361   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2362     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   2363     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2364     break 2
   2365   fi
   2366 done
   2367 done
   2368 IFS=$as_save_IFS
   2369 
   2370 fi
   2371 fi
   2372 STRIP=$ac_cv_prog_STRIP
   2373 if test -n "$STRIP"; then
   2374   { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
   2375 $as_echo "$STRIP" >&6; }
   2376 else
   2377   { $as_echo "$as_me:$LINENO: result: no" >&5
   2378 $as_echo "no" >&6; }
   2379 fi
   2380 
   2381 
   2382 fi
   2383 if test -z "$ac_cv_prog_STRIP"; then
   2384   ac_ct_STRIP=$STRIP
   2385   # Extract the first word of "strip", so it can be a program name with args.
   2386 set dummy strip; ac_word=$2
   2387 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   2388 $as_echo_n "checking for $ac_word... " >&6; }
   2389 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
   2390   $as_echo_n "(cached) " >&6
   2391 else
   2392   if test -n "$ac_ct_STRIP"; then
   2393   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   2394 else
   2395 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2396 for as_dir in $PATH
   2397 do
   2398   IFS=$as_save_IFS
   2399   test -z "$as_dir" && as_dir=.
   2400   for ac_exec_ext in '' $ac_executable_extensions; do
   2401   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2402     ac_cv_prog_ac_ct_STRIP="strip"
   2403     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2404     break 2
   2405   fi
   2406 done
   2407 done
   2408 IFS=$as_save_IFS
   2409 
   2410 fi
   2411 fi
   2412 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   2413 if test -n "$ac_ct_STRIP"; then
   2414   { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
   2415 $as_echo "$ac_ct_STRIP" >&6; }
   2416 else
   2417   { $as_echo "$as_me:$LINENO: result: no" >&5
   2418 $as_echo "no" >&6; }
   2419 fi
   2420 
   2421   if test "x$ac_ct_STRIP" = x; then
   2422     STRIP=":"
   2423   else
   2424     case $cross_compiling:$ac_tool_warned in
   2425 yes:)
   2426 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   2427 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2428 ac_tool_warned=yes ;;
   2429 esac
   2430     STRIP=$ac_ct_STRIP
   2431   fi
   2432 else
   2433   STRIP="$ac_cv_prog_STRIP"
   2434 fi
   2435 
   2436 fi
   2437 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   2438 
   2439 { $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
   2440 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
   2441 if test -z "$MKDIR_P"; then
   2442   if test "${ac_cv_path_mkdir+set}" = set; then
   2443   $as_echo_n "(cached) " >&6
   2444 else
   2445   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2446 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   2447 do
   2448   IFS=$as_save_IFS
   2449   test -z "$as_dir" && as_dir=.
   2450   for ac_prog in mkdir gmkdir; do
   2451 	 for ac_exec_ext in '' $ac_executable_extensions; do
   2452 	   { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
   2453 	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
   2454 	     'mkdir (GNU coreutils) '* | \
   2455 	     'mkdir (coreutils) '* | \
   2456 	     'mkdir (fileutils) '4.1*)
   2457 	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
   2458 	       break 3;;
   2459 	   esac
   2460 	 done
   2461        done
   2462 done
   2463 IFS=$as_save_IFS
   2464 
   2465 fi
   2466 
   2467   if test "${ac_cv_path_mkdir+set}" = set; then
   2468     MKDIR_P="$ac_cv_path_mkdir -p"
   2469   else
   2470     # As a last resort, use the slow shell script.  Don't cache a
   2471     # value for MKDIR_P within a source directory, because that will
   2472     # break other packages using the cache if that directory is
   2473     # removed, or if the value is a relative name.
   2474     test -d ./--version && rmdir ./--version
   2475     MKDIR_P="$ac_install_sh -d"
   2476   fi
   2477 fi
   2478 { $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5
   2479 $as_echo "$MKDIR_P" >&6; }
   2480 
   2481 mkdir_p="$MKDIR_P"
   2482 case $mkdir_p in
   2483   [\\/$]* | ?:[\\/]*) ;;
   2484   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
   2485 esac
   2486 
   2487 for ac_prog in gawk mawk nawk awk
   2488 do
   2489   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2490 set dummy $ac_prog; ac_word=$2
   2491 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   2492 $as_echo_n "checking for $ac_word... " >&6; }
   2493 if test "${ac_cv_prog_AWK+set}" = set; then
   2494   $as_echo_n "(cached) " >&6
   2495 else
   2496   if test -n "$AWK"; then
   2497   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   2498 else
   2499 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2500 for as_dir in $PATH
   2501 do
   2502   IFS=$as_save_IFS
   2503   test -z "$as_dir" && as_dir=.
   2504   for ac_exec_ext in '' $ac_executable_extensions; do
   2505   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2506     ac_cv_prog_AWK="$ac_prog"
   2507     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2508     break 2
   2509   fi
   2510 done
   2511 done
   2512 IFS=$as_save_IFS
   2513 
   2514 fi
   2515 fi
   2516 AWK=$ac_cv_prog_AWK
   2517 if test -n "$AWK"; then
   2518   { $as_echo "$as_me:$LINENO: result: $AWK" >&5
   2519 $as_echo "$AWK" >&6; }
   2520 else
   2521   { $as_echo "$as_me:$LINENO: result: no" >&5
   2522 $as_echo "no" >&6; }
   2523 fi
   2524 
   2525 
   2526   test -n "$AWK" && break
   2527 done
   2528 
   2529 { $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   2530 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   2531 set x ${MAKE-make}
   2532 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   2533 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
   2534   $as_echo_n "(cached) " >&6
   2535 else
   2536   cat >conftest.make <<\_ACEOF
   2537 SHELL = /bin/sh
   2538 all:
   2539 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   2540 _ACEOF
   2541 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
   2542 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   2543   *@@@%%%=?*=@@@%%%*)
   2544     eval ac_cv_prog_make_${ac_make}_set=yes;;
   2545   *)
   2546     eval ac_cv_prog_make_${ac_make}_set=no;;
   2547 esac
   2548 rm -f conftest.make
   2549 fi
   2550 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   2551   { $as_echo "$as_me:$LINENO: result: yes" >&5
   2552 $as_echo "yes" >&6; }
   2553   SET_MAKE=
   2554 else
   2555   { $as_echo "$as_me:$LINENO: result: no" >&5
   2556 $as_echo "no" >&6; }
   2557   SET_MAKE="MAKE=${MAKE-make}"
   2558 fi
   2559 
   2560 rm -rf .tst 2>/dev/null
   2561 mkdir .tst 2>/dev/null
   2562 if test -d .tst; then
   2563   am__leading_dot=.
   2564 else
   2565   am__leading_dot=_
   2566 fi
   2567 rmdir .tst 2>/dev/null
   2568 
   2569 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   2570   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   2571   # is not polluted with repeated "-I."
   2572   am__isrc=' -I$(srcdir)'
   2573   # test to see if srcdir already configured
   2574   if test -f $srcdir/config.status; then
   2575     { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
   2576 $as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
   2577    { (exit 1); exit 1; }; }
   2578   fi
   2579 fi
   2580 
   2581 # test whether we have cygpath
   2582 if test -z "$CYGPATH_W"; then
   2583   if (cygpath --version) >/dev/null 2>/dev/null; then
   2584     CYGPATH_W='cygpath -w'
   2585   else
   2586     CYGPATH_W=echo
   2587   fi
   2588 fi
   2589 
   2590 
   2591 # Define the identity of the package.
   2592  PACKAGE='libXmu'
   2593  VERSION='1.0.5'
   2594 
   2595 
   2596 cat >>confdefs.h <<_ACEOF
   2597 #define PACKAGE "$PACKAGE"
   2598 _ACEOF
   2599 
   2600 
   2601 cat >>confdefs.h <<_ACEOF
   2602 #define VERSION "$VERSION"
   2603 _ACEOF
   2604 
   2605 # Some tools Automake needs.
   2606 
   2607 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   2608 
   2609 
   2610 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   2611 
   2612 
   2613 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   2614 
   2615 
   2616 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   2617 
   2618 
   2619 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   2620 
   2621 # We need awk for the "check" target.  The system "awk" is bad on
   2622 # some platforms.
   2623 # Always define AMTAR for backward compatibility.
   2624 
   2625 AMTAR=${AMTAR-"${am_missing_run}tar"}
   2626 
   2627 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
   2628 
   2629 
   2630 
   2631 
   2632 
   2633 
   2634 
   2635 { $as_echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
   2636 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
   2637     # Check whether --enable-maintainer-mode was given.
   2638 if test "${enable_maintainer_mode+set}" = set; then
   2639   enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
   2640 else
   2641   USE_MAINTAINER_MODE=no
   2642 fi
   2643 
   2644   { $as_echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
   2645 $as_echo "$USE_MAINTAINER_MODE" >&6; }
   2646    if test $USE_MAINTAINER_MODE = yes; then
   2647   MAINTAINER_MODE_TRUE=
   2648   MAINTAINER_MODE_FALSE='#'
   2649 else
   2650   MAINTAINER_MODE_TRUE='#'
   2651   MAINTAINER_MODE_FALSE=
   2652 fi
   2653 
   2654   MAINT=$MAINTAINER_MODE_TRUE
   2655 
   2656 
   2657 
   2658 # Require xorg-macros: XORG_DEFAULT_OPTIONS, XORG_WITH_LINT
   2659 
   2660 
   2661 
   2662 
   2663 
   2664 
   2665 
   2666 
   2667 
   2668 
   2669 
   2670 ac_config_headers="$ac_config_headers config.h"
   2671 
   2672 
   2673 
   2674 # Checks for programs.
   2675 # Check whether --enable-shared was given.
   2676 if test "${enable_shared+set}" = set; then
   2677   enableval=$enable_shared; p=${PACKAGE-default}
   2678     case $enableval in
   2679     yes) enable_shared=yes ;;
   2680     no) enable_shared=no ;;
   2681     *)
   2682       enable_shared=no
   2683       # Look at the argument we got.  We use all the common list separators.
   2684       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   2685       for pkg in $enableval; do
   2686 	IFS="$lt_save_ifs"
   2687 	if test "X$pkg" = "X$p"; then
   2688 	  enable_shared=yes
   2689 	fi
   2690       done
   2691       IFS="$lt_save_ifs"
   2692       ;;
   2693     esac
   2694 else
   2695   enable_shared=yes
   2696 fi
   2697 
   2698 
   2699 # Check whether --enable-static was given.
   2700 if test "${enable_static+set}" = set; then
   2701   enableval=$enable_static; p=${PACKAGE-default}
   2702     case $enableval in
   2703     yes) enable_static=yes ;;
   2704     no) enable_static=no ;;
   2705     *)
   2706      enable_static=no
   2707       # Look at the argument we got.  We use all the common list separators.
   2708       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   2709       for pkg in $enableval; do
   2710 	IFS="$lt_save_ifs"
   2711 	if test "X$pkg" = "X$p"; then
   2712 	  enable_static=yes
   2713 	fi
   2714       done
   2715       IFS="$lt_save_ifs"
   2716       ;;
   2717     esac
   2718 else
   2719   enable_static=yes
   2720 fi
   2721 
   2722 
   2723 # Check whether --enable-fast-install was given.
   2724 if test "${enable_fast_install+set}" = set; then
   2725   enableval=$enable_fast_install; p=${PACKAGE-default}
   2726     case $enableval in
   2727     yes) enable_fast_install=yes ;;
   2728     no) enable_fast_install=no ;;
   2729     *)
   2730       enable_fast_install=no
   2731       # Look at the argument we got.  We use all the common list separators.
   2732       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   2733       for pkg in $enableval; do
   2734 	IFS="$lt_save_ifs"
   2735 	if test "X$pkg" = "X$p"; then
   2736 	  enable_fast_install=yes
   2737 	fi
   2738       done
   2739       IFS="$lt_save_ifs"
   2740       ;;
   2741     esac
   2742 else
   2743   enable_fast_install=yes
   2744 fi
   2745 
   2746 
   2747 # Make sure we can run config.sub.
   2748 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
   2749   { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
   2750 $as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
   2751    { (exit 1); exit 1; }; }
   2752 
   2753 { $as_echo "$as_me:$LINENO: checking build system type" >&5
   2754 $as_echo_n "checking build system type... " >&6; }
   2755 if test "${ac_cv_build+set}" = set; then
   2756   $as_echo_n "(cached) " >&6
   2757 else
   2758   ac_build_alias=$build_alias
   2759 test "x$ac_build_alias" = x &&
   2760   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
   2761 test "x$ac_build_alias" = x &&
   2762   { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
   2763 $as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
   2764    { (exit 1); exit 1; }; }
   2765 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
   2766   { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
   2767 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
   2768    { (exit 1); exit 1; }; }
   2769 
   2770 fi
   2771 { $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
   2772 $as_echo "$ac_cv_build" >&6; }
   2773 case $ac_cv_build in
   2774 *-*-*) ;;
   2775 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
   2776 $as_echo "$as_me: error: invalid value of canonical build" >&2;}
   2777    { (exit 1); exit 1; }; };;
   2778 esac
   2779 build=$ac_cv_build
   2780 ac_save_IFS=$IFS; IFS='-'
   2781 set x $ac_cv_build
   2782 shift
   2783 build_cpu=$1
   2784 build_vendor=$2
   2785 shift; shift
   2786 # Remember, the first character of IFS is used to create $*,
   2787 # except with old shells:
   2788 build_os=$*
   2789 IFS=$ac_save_IFS
   2790 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   2791 
   2792 
   2793 { $as_echo "$as_me:$LINENO: checking host system type" >&5
   2794 $as_echo_n "checking host system type... " >&6; }
   2795 if test "${ac_cv_host+set}" = set; then
   2796   $as_echo_n "(cached) " >&6
   2797 else
   2798   if test "x$host_alias" = x; then
   2799   ac_cv_host=$ac_cv_build
   2800 else
   2801   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
   2802     { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
   2803 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
   2804    { (exit 1); exit 1; }; }
   2805 fi
   2806 
   2807 fi
   2808 { $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
   2809 $as_echo "$ac_cv_host" >&6; }
   2810 case $ac_cv_host in
   2811 *-*-*) ;;
   2812 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
   2813 $as_echo "$as_me: error: invalid value of canonical host" >&2;}
   2814    { (exit 1); exit 1; }; };;
   2815 esac
   2816 host=$ac_cv_host
   2817 ac_save_IFS=$IFS; IFS='-'
   2818 set x $ac_cv_host
   2819 shift
   2820 host_cpu=$1
   2821 host_vendor=$2
   2822 shift; shift
   2823 # Remember, the first character of IFS is used to create $*,
   2824 # except with old shells:
   2825 host_os=$*
   2826 IFS=$ac_save_IFS
   2827 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   2828 
   2829 
   2830 DEPDIR="${am__leading_dot}deps"
   2831 
   2832 ac_config_commands="$ac_config_commands depfiles"
   2833 
   2834 
   2835 am_make=${MAKE-make}
   2836 cat > confinc << 'END'
   2837 am__doit:
   2838 	@echo this is the am__doit target
   2839 .PHONY: am__doit
   2840 END
   2841 # If we don't find an include directive, just comment out the code.
   2842 { $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
   2843 $as_echo_n "checking for style of include used by $am_make... " >&6; }
   2844 am__include="#"
   2845 am__quote=
   2846 _am_result=none
   2847 # First try GNU make style include.
   2848 echo "include confinc" > confmf
   2849 # Ignore all kinds of additional output from `make'.
   2850 case `$am_make -s -f confmf 2> /dev/null` in #(
   2851 *the\ am__doit\ target*)
   2852   am__include=include
   2853   am__quote=
   2854   _am_result=GNU
   2855   ;;
   2856 esac
   2857 # Now try BSD make style include.
   2858 if test "$am__include" = "#"; then
   2859    echo '.include "confinc"' > confmf
   2860    case `$am_make -s -f confmf 2> /dev/null` in #(
   2861    *the\ am__doit\ target*)
   2862      am__include=.include
   2863      am__quote="\""
   2864      _am_result=BSD
   2865      ;;
   2866    esac
   2867 fi
   2868 
   2869 
   2870 { $as_echo "$as_me:$LINENO: result: $_am_result" >&5
   2871 $as_echo "$_am_result" >&6; }
   2872 rm -f confinc confmf
   2873 
   2874 # Check whether --enable-dependency-tracking was given.
   2875 if test "${enable_dependency_tracking+set}" = set; then
   2876   enableval=$enable_dependency_tracking;
   2877 fi
   2878 
   2879 if test "x$enable_dependency_tracking" != xno; then
   2880   am_depcomp="$ac_aux_dir/depcomp"
   2881   AMDEPBACKSLASH='\'
   2882 fi
   2883  if test "x$enable_dependency_tracking" != xno; then
   2884   AMDEP_TRUE=
   2885   AMDEP_FALSE='#'
   2886 else
   2887   AMDEP_TRUE='#'
   2888   AMDEP_FALSE=
   2889 fi
   2890 
   2891 
   2892 ac_ext=c
   2893 ac_cpp='$CPP $CPPFLAGS'
   2894 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2895 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2896 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2897 if test -n "$ac_tool_prefix"; then
   2898   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   2899 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   2900 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   2901 $as_echo_n "checking for $ac_word... " >&6; }
   2902 if test "${ac_cv_prog_CC+set}" = set; then
   2903   $as_echo_n "(cached) " >&6
   2904 else
   2905   if test -n "$CC"; then
   2906   ac_cv_prog_CC="$CC" # Let the user override the test.
   2907 else
   2908 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2909 for as_dir in $PATH
   2910 do
   2911   IFS=$as_save_IFS
   2912   test -z "$as_dir" && as_dir=.
   2913   for ac_exec_ext in '' $ac_executable_extensions; do
   2914   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2915     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   2916     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2917     break 2
   2918   fi
   2919 done
   2920 done
   2921 IFS=$as_save_IFS
   2922 
   2923 fi
   2924 fi
   2925 CC=$ac_cv_prog_CC
   2926 if test -n "$CC"; then
   2927   { $as_echo "$as_me:$LINENO: result: $CC" >&5
   2928 $as_echo "$CC" >&6; }
   2929 else
   2930   { $as_echo "$as_me:$LINENO: result: no" >&5
   2931 $as_echo "no" >&6; }
   2932 fi
   2933 
   2934 
   2935 fi
   2936 if test -z "$ac_cv_prog_CC"; then
   2937   ac_ct_CC=$CC
   2938   # Extract the first word of "gcc", so it can be a program name with args.
   2939 set dummy gcc; ac_word=$2
   2940 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   2941 $as_echo_n "checking for $ac_word... " >&6; }
   2942 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
   2943   $as_echo_n "(cached) " >&6
   2944 else
   2945   if test -n "$ac_ct_CC"; then
   2946   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   2947 else
   2948 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2949 for as_dir in $PATH
   2950 do
   2951   IFS=$as_save_IFS
   2952   test -z "$as_dir" && as_dir=.
   2953   for ac_exec_ext in '' $ac_executable_extensions; do
   2954   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2955     ac_cv_prog_ac_ct_CC="gcc"
   2956     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2957     break 2
   2958   fi
   2959 done
   2960 done
   2961 IFS=$as_save_IFS
   2962 
   2963 fi
   2964 fi
   2965 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   2966 if test -n "$ac_ct_CC"; then
   2967   { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
   2968 $as_echo "$ac_ct_CC" >&6; }
   2969 else
   2970   { $as_echo "$as_me:$LINENO: result: no" >&5
   2971 $as_echo "no" >&6; }
   2972 fi
   2973 
   2974   if test "x$ac_ct_CC" = x; then
   2975     CC=""
   2976   else
   2977     case $cross_compiling:$ac_tool_warned in
   2978 yes:)
   2979 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   2980 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2981 ac_tool_warned=yes ;;
   2982 esac
   2983     CC=$ac_ct_CC
   2984   fi
   2985 else
   2986   CC="$ac_cv_prog_CC"
   2987 fi
   2988 
   2989 if test -z "$CC"; then
   2990           if test -n "$ac_tool_prefix"; then
   2991     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   2992 set dummy ${ac_tool_prefix}cc; ac_word=$2
   2993 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   2994 $as_echo_n "checking for $ac_word... " >&6; }
   2995 if test "${ac_cv_prog_CC+set}" = set; then
   2996   $as_echo_n "(cached) " >&6
   2997 else
   2998   if test -n "$CC"; then
   2999   ac_cv_prog_CC="$CC" # Let the user override the test.
   3000 else
   3001 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3002 for as_dir in $PATH
   3003 do
   3004   IFS=$as_save_IFS
   3005   test -z "$as_dir" && as_dir=.
   3006   for ac_exec_ext in '' $ac_executable_extensions; do
   3007   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3008     ac_cv_prog_CC="${ac_tool_prefix}cc"
   3009     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   3010     break 2
   3011   fi
   3012 done
   3013 done
   3014 IFS=$as_save_IFS
   3015 
   3016 fi
   3017 fi
   3018 CC=$ac_cv_prog_CC
   3019 if test -n "$CC"; then
   3020   { $as_echo "$as_me:$LINENO: result: $CC" >&5
   3021 $as_echo "$CC" >&6; }
   3022 else
   3023   { $as_echo "$as_me:$LINENO: result: no" >&5
   3024 $as_echo "no" >&6; }
   3025 fi
   3026 
   3027 
   3028   fi
   3029 fi
   3030 if test -z "$CC"; then
   3031   # Extract the first word of "cc", so it can be a program name with args.
   3032 set dummy cc; ac_word=$2
   3033 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   3034 $as_echo_n "checking for $ac_word... " >&6; }
   3035 if test "${ac_cv_prog_CC+set}" = set; then
   3036   $as_echo_n "(cached) " >&6
   3037 else
   3038   if test -n "$CC"; then
   3039   ac_cv_prog_CC="$CC" # Let the user override the test.
   3040 else
   3041   ac_prog_rejected=no
   3042 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3043 for as_dir in $PATH
   3044 do
   3045   IFS=$as_save_IFS
   3046   test -z "$as_dir" && as_dir=.
   3047   for ac_exec_ext in '' $ac_executable_extensions; do
   3048   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3049     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   3050        ac_prog_rejected=yes
   3051        continue
   3052      fi
   3053     ac_cv_prog_CC="cc"
   3054     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   3055     break 2
   3056   fi
   3057 done
   3058 done
   3059 IFS=$as_save_IFS
   3060 
   3061 if test $ac_prog_rejected = yes; then
   3062   # We found a bogon in the path, so make sure we never use it.
   3063   set dummy $ac_cv_prog_CC
   3064   shift
   3065   if test $# != 0; then
   3066     # We chose a different compiler from the bogus one.
   3067     # However, it has the same basename, so the bogon will be chosen
   3068     # first if we set CC to just the basename; use the full file name.
   3069     shift
   3070     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   3071   fi
   3072 fi
   3073 fi
   3074 fi
   3075 CC=$ac_cv_prog_CC
   3076 if test -n "$CC"; then
   3077   { $as_echo "$as_me:$LINENO: result: $CC" >&5
   3078 $as_echo "$CC" >&6; }
   3079 else
   3080   { $as_echo "$as_me:$LINENO: result: no" >&5
   3081 $as_echo "no" >&6; }
   3082 fi
   3083 
   3084 
   3085 fi
   3086 if test -z "$CC"; then
   3087   if test -n "$ac_tool_prefix"; then
   3088   for ac_prog in cl.exe
   3089   do
   3090     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   3091 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   3092 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   3093 $as_echo_n "checking for $ac_word... " >&6; }
   3094 if test "${ac_cv_prog_CC+set}" = set; then
   3095   $as_echo_n "(cached) " >&6
   3096 else
   3097   if test -n "$CC"; then
   3098   ac_cv_prog_CC="$CC" # Let the user override the test.
   3099 else
   3100 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3101 for as_dir in $PATH
   3102 do
   3103   IFS=$as_save_IFS
   3104   test -z "$as_dir" && as_dir=.
   3105   for ac_exec_ext in '' $ac_executable_extensions; do
   3106   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3107     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   3108     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   3109     break 2
   3110   fi
   3111 done
   3112 done
   3113 IFS=$as_save_IFS
   3114 
   3115 fi
   3116 fi
   3117 CC=$ac_cv_prog_CC
   3118 if test -n "$CC"; then
   3119   { $as_echo "$as_me:$LINENO: result: $CC" >&5
   3120 $as_echo "$CC" >&6; }
   3121 else
   3122   { $as_echo "$as_me:$LINENO: result: no" >&5
   3123 $as_echo "no" >&6; }
   3124 fi
   3125 
   3126 
   3127     test -n "$CC" && break
   3128   done
   3129 fi
   3130 if test -z "$CC"; then
   3131   ac_ct_CC=$CC
   3132   for ac_prog in cl.exe
   3133 do
   3134   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3135 set dummy $ac_prog; ac_word=$2
   3136 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   3137 $as_echo_n "checking for $ac_word... " >&6; }
   3138 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
   3139   $as_echo_n "(cached) " >&6
   3140 else
   3141   if test -n "$ac_ct_CC"; then
   3142   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3143 else
   3144 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3145 for as_dir in $PATH
   3146 do
   3147   IFS=$as_save_IFS
   3148   test -z "$as_dir" && as_dir=.
   3149   for ac_exec_ext in '' $ac_executable_extensions; do
   3150   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3151     ac_cv_prog_ac_ct_CC="$ac_prog"
   3152     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   3153     break 2
   3154   fi
   3155 done
   3156 done
   3157 IFS=$as_save_IFS
   3158 
   3159 fi
   3160 fi
   3161 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3162 if test -n "$ac_ct_CC"; then
   3163   { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
   3164 $as_echo "$ac_ct_CC" >&6; }
   3165 else
   3166   { $as_echo "$as_me:$LINENO: result: no" >&5
   3167 $as_echo "no" >&6; }
   3168 fi
   3169 
   3170 
   3171   test -n "$ac_ct_CC" && break
   3172 done
   3173 
   3174   if test "x$ac_ct_CC" = x; then
   3175     CC=""
   3176   else
   3177     case $cross_compiling:$ac_tool_warned in
   3178 yes:)
   3179 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   3180 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3181 ac_tool_warned=yes ;;
   3182 esac
   3183     CC=$ac_ct_CC
   3184   fi
   3185 fi
   3186 
   3187 fi
   3188 
   3189 
   3190 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   3191 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3192 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
   3193 See \`config.log' for more details." >&5
   3194 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
   3195 See \`config.log' for more details." >&2;}
   3196    { (exit 1); exit 1; }; }; }
   3197 
   3198 # Provide some information about the compiler.
   3199 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
   3200 set X $ac_compile
   3201 ac_compiler=$2
   3202 { (ac_try="$ac_compiler --version >&5"
   3203 case "(($ac_try" in
   3204   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3205   *) ac_try_echo=$ac_try;;
   3206 esac
   3207 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3208 $as_echo "$ac_try_echo") >&5
   3209   (eval "$ac_compiler --version >&5") 2>&5
   3210   ac_status=$?
   3211   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3212   (exit $ac_status); }
   3213 { (ac_try="$ac_compiler -v >&5"
   3214 case "(($ac_try" in
   3215   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3216   *) ac_try_echo=$ac_try;;
   3217 esac
   3218 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3219 $as_echo "$ac_try_echo") >&5
   3220   (eval "$ac_compiler -v >&5") 2>&5
   3221   ac_status=$?
   3222   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3223   (exit $ac_status); }
   3224 { (ac_try="$ac_compiler -V >&5"
   3225 case "(($ac_try" in
   3226   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3227   *) ac_try_echo=$ac_try;;
   3228 esac
   3229 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3230 $as_echo "$ac_try_echo") >&5
   3231   (eval "$ac_compiler -V >&5") 2>&5
   3232   ac_status=$?
   3233   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3234   (exit $ac_status); }
   3235 
   3236 cat >conftest.$ac_ext <<_ACEOF
   3237 /* confdefs.h.  */
   3238 _ACEOF
   3239 cat confdefs.h >>conftest.$ac_ext
   3240 cat >>conftest.$ac_ext <<_ACEOF
   3241 /* end confdefs.h.  */
   3242 
   3243 int
   3244 main ()
   3245 {
   3246 
   3247   ;
   3248   return 0;
   3249 }
   3250 _ACEOF
   3251 ac_clean_files_save=$ac_clean_files
   3252 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   3253 # Try to create an executable without -o first, disregard a.out.
   3254 # It will help us diagnose broken compilers, and finding out an intuition
   3255 # of exeext.
   3256 { $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
   3257 $as_echo_n "checking for C compiler default output file name... " >&6; }
   3258 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   3259 
   3260 # The possible output files:
   3261 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   3262 
   3263 ac_rmfiles=
   3264 for ac_file in $ac_files
   3265 do
   3266   case $ac_file in
   3267     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3268     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   3269   esac
   3270 done
   3271 rm -f $ac_rmfiles
   3272 
   3273 if { (ac_try="$ac_link_default"
   3274 case "(($ac_try" in
   3275   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3276   *) ac_try_echo=$ac_try;;
   3277 esac
   3278 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3279 $as_echo "$ac_try_echo") >&5
   3280   (eval "$ac_link_default") 2>&5
   3281   ac_status=$?
   3282   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3283   (exit $ac_status); }; then
   3284   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   3285 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   3286 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   3287 # so that the user can short-circuit this test for compilers unknown to
   3288 # Autoconf.
   3289 for ac_file in $ac_files ''
   3290 do
   3291   test -f "$ac_file" || continue
   3292   case $ac_file in
   3293     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   3294 	;;
   3295     [ab].out )
   3296 	# We found the default executable, but exeext='' is most
   3297 	# certainly right.
   3298 	break;;
   3299     *.* )
   3300         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
   3301 	then :; else
   3302 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3303 	fi
   3304 	# We set ac_cv_exeext here because the later test for it is not
   3305 	# safe: cross compilers may not add the suffix if given an `-o'
   3306 	# argument, so we may need to know it at that point already.
   3307 	# Even if this section looks crufty: it has the advantage of
   3308 	# actually working.
   3309 	break;;
   3310     * )
   3311 	break;;
   3312   esac
   3313 done
   3314 test "$ac_cv_exeext" = no && ac_cv_exeext=
   3315 
   3316 else
   3317   ac_file=''
   3318 fi
   3319 
   3320 { $as_echo "$as_me:$LINENO: result: $ac_file" >&5
   3321 $as_echo "$ac_file" >&6; }
   3322 if test -z "$ac_file"; then
   3323   $as_echo "$as_me: failed program was:" >&5
   3324 sed 's/^/| /' conftest.$ac_ext >&5
   3325 
   3326 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   3327 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3328 { { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
   3329 See \`config.log' for more details." >&5
   3330 $as_echo "$as_me: error: C compiler cannot create executables
   3331 See \`config.log' for more details." >&2;}
   3332    { (exit 77); exit 77; }; }; }
   3333 fi
   3334 
   3335 ac_exeext=$ac_cv_exeext
   3336 
   3337 # Check that the compiler produces executables we can run.  If not, either
   3338 # the compiler is broken, or we cross compile.
   3339 { $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
   3340 $as_echo_n "checking whether the C compiler works... " >&6; }
   3341 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
   3342 # If not cross compiling, check that we can run a simple program.
   3343 if test "$cross_compiling" != yes; then
   3344   if { ac_try='./$ac_file'
   3345   { (case "(($ac_try" in
   3346   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3347   *) ac_try_echo=$ac_try;;
   3348 esac
   3349 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3350 $as_echo "$ac_try_echo") >&5
   3351   (eval "$ac_try") 2>&5
   3352   ac_status=$?
   3353   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3354   (exit $ac_status); }; }; then
   3355     cross_compiling=no
   3356   else
   3357     if test "$cross_compiling" = maybe; then
   3358 	cross_compiling=yes
   3359     else
   3360 	{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   3361 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3362 { { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
   3363 If you meant to cross compile, use \`--host'.
   3364 See \`config.log' for more details." >&5
   3365 $as_echo "$as_me: error: cannot run C compiled programs.
   3366 If you meant to cross compile, use \`--host'.
   3367 See \`config.log' for more details." >&2;}
   3368    { (exit 1); exit 1; }; }; }
   3369     fi
   3370   fi
   3371 fi
   3372 { $as_echo "$as_me:$LINENO: result: yes" >&5
   3373 $as_echo "yes" >&6; }
   3374 
   3375 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   3376 ac_clean_files=$ac_clean_files_save
   3377 # Check that the compiler produces executables we can run.  If not, either
   3378 # the compiler is broken, or we cross compile.
   3379 { $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
   3380 $as_echo_n "checking whether we are cross compiling... " >&6; }
   3381 { $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
   3382 $as_echo "$cross_compiling" >&6; }
   3383 
   3384 { $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
   3385 $as_echo_n "checking for suffix of executables... " >&6; }
   3386 if { (ac_try="$ac_link"
   3387 case "(($ac_try" in
   3388   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3389   *) ac_try_echo=$ac_try;;
   3390 esac
   3391 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3392 $as_echo "$ac_try_echo") >&5
   3393   (eval "$ac_link") 2>&5
   3394   ac_status=$?
   3395   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3396   (exit $ac_status); }; then
   3397   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   3398 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   3399 # work properly (i.e., refer to `conftest.exe'), while it won't with
   3400 # `rm'.
   3401 for ac_file in conftest.exe conftest conftest.*; do
   3402   test -f "$ac_file" || continue
   3403   case $ac_file in
   3404     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3405     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3406 	  break;;
   3407     * ) break;;
   3408   esac
   3409 done
   3410 else
   3411   { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   3412 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3413 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
   3414 See \`config.log' for more details." >&5
   3415 $as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
   3416 See \`config.log' for more details." >&2;}
   3417    { (exit 1); exit 1; }; }; }
   3418 fi
   3419 
   3420 rm -f conftest$ac_cv_exeext
   3421 { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
   3422 $as_echo "$ac_cv_exeext" >&6; }
   3423 
   3424 rm -f conftest.$ac_ext
   3425 EXEEXT=$ac_cv_exeext
   3426 ac_exeext=$EXEEXT
   3427 { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
   3428 $as_echo_n "checking for suffix of object files... " >&6; }
   3429 if test "${ac_cv_objext+set}" = set; then
   3430   $as_echo_n "(cached) " >&6
   3431 else
   3432   cat >conftest.$ac_ext <<_ACEOF
   3433 /* confdefs.h.  */
   3434 _ACEOF
   3435 cat confdefs.h >>conftest.$ac_ext
   3436 cat >>conftest.$ac_ext <<_ACEOF
   3437 /* end confdefs.h.  */
   3438 
   3439 int
   3440 main ()
   3441 {
   3442 
   3443   ;
   3444   return 0;
   3445 }
   3446 _ACEOF
   3447 rm -f conftest.o conftest.obj
   3448 if { (ac_try="$ac_compile"
   3449 case "(($ac_try" in
   3450   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3451   *) ac_try_echo=$ac_try;;
   3452 esac
   3453 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3454 $as_echo "$ac_try_echo") >&5
   3455   (eval "$ac_compile") 2>&5
   3456   ac_status=$?
   3457   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3458   (exit $ac_status); }; then
   3459   for ac_file in conftest.o conftest.obj conftest.*; do
   3460   test -f "$ac_file" || continue;
   3461   case $ac_file in
   3462     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   3463     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   3464        break;;
   3465   esac
   3466 done
   3467 else
   3468   $as_echo "$as_me: failed program was:" >&5
   3469 sed 's/^/| /' conftest.$ac_ext >&5
   3470 
   3471 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   3472 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3473 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
   3474 See \`config.log' for more details." >&5
   3475 $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
   3476 See \`config.log' for more details." >&2;}
   3477    { (exit 1); exit 1; }; }; }
   3478 fi
   3479 
   3480 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   3481 fi
   3482 { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
   3483 $as_echo "$ac_cv_objext" >&6; }
   3484 OBJEXT=$ac_cv_objext
   3485 ac_objext=$OBJEXT
   3486 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
   3487 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
   3488 if test "${ac_cv_c_compiler_gnu+set}" = set; then
   3489   $as_echo_n "(cached) " >&6
   3490 else
   3491   cat >conftest.$ac_ext <<_ACEOF
   3492 /* confdefs.h.  */
   3493 _ACEOF
   3494 cat confdefs.h >>conftest.$ac_ext
   3495 cat >>conftest.$ac_ext <<_ACEOF
   3496 /* end confdefs.h.  */
   3497 
   3498 int
   3499 main ()
   3500 {
   3501 #ifndef __GNUC__
   3502        choke me
   3503 #endif
   3504 
   3505   ;
   3506   return 0;
   3507 }
   3508 _ACEOF
   3509 rm -f conftest.$ac_objext
   3510 if { (ac_try="$ac_compile"
   3511 case "(($ac_try" in
   3512   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3513   *) ac_try_echo=$ac_try;;
   3514 esac
   3515 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3516 $as_echo "$ac_try_echo") >&5
   3517   (eval "$ac_compile") 2>conftest.er1
   3518   ac_status=$?
   3519   grep -v '^ *+' conftest.er1 >conftest.err
   3520   rm -f conftest.er1
   3521   cat conftest.err >&5
   3522   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3523   (exit $ac_status); } && {
   3524 	 test -z "$ac_c_werror_flag" ||
   3525 	 test ! -s conftest.err
   3526        } && test -s conftest.$ac_objext; then
   3527   ac_compiler_gnu=yes
   3528 else
   3529   $as_echo "$as_me: failed program was:" >&5
   3530 sed 's/^/| /' conftest.$ac_ext >&5
   3531 
   3532 	ac_compiler_gnu=no
   3533 fi
   3534 
   3535 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3536 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   3537 
   3538 fi
   3539 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
   3540 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
   3541 if test $ac_compiler_gnu = yes; then
   3542   GCC=yes
   3543 else
   3544   GCC=
   3545 fi
   3546 ac_test_CFLAGS=${CFLAGS+set}
   3547 ac_save_CFLAGS=$CFLAGS
   3548 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
   3549 $as_echo_n "checking whether $CC accepts -g... " >&6; }
   3550 if test "${ac_cv_prog_cc_g+set}" = set; then
   3551   $as_echo_n "(cached) " >&6
   3552 else
   3553   ac_save_c_werror_flag=$ac_c_werror_flag
   3554    ac_c_werror_flag=yes
   3555    ac_cv_prog_cc_g=no
   3556    CFLAGS="-g"
   3557    cat >conftest.$ac_ext <<_ACEOF
   3558 /* confdefs.h.  */
   3559 _ACEOF
   3560 cat confdefs.h >>conftest.$ac_ext
   3561 cat >>conftest.$ac_ext <<_ACEOF
   3562 /* end confdefs.h.  */
   3563 
   3564 int
   3565 main ()
   3566 {
   3567 
   3568   ;
   3569   return 0;
   3570 }
   3571 _ACEOF
   3572 rm -f conftest.$ac_objext
   3573 if { (ac_try="$ac_compile"
   3574 case "(($ac_try" in
   3575   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3576   *) ac_try_echo=$ac_try;;
   3577 esac
   3578 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3579 $as_echo "$ac_try_echo") >&5
   3580   (eval "$ac_compile") 2>conftest.er1
   3581   ac_status=$?
   3582   grep -v '^ *+' conftest.er1 >conftest.err
   3583   rm -f conftest.er1
   3584   cat conftest.err >&5
   3585   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3586   (exit $ac_status); } && {
   3587 	 test -z "$ac_c_werror_flag" ||
   3588 	 test ! -s conftest.err
   3589        } && test -s conftest.$ac_objext; then
   3590   ac_cv_prog_cc_g=yes
   3591 else
   3592   $as_echo "$as_me: failed program was:" >&5
   3593 sed 's/^/| /' conftest.$ac_ext >&5
   3594 
   3595 	CFLAGS=""
   3596       cat >conftest.$ac_ext <<_ACEOF
   3597 /* confdefs.h.  */
   3598 _ACEOF
   3599 cat confdefs.h >>conftest.$ac_ext
   3600 cat >>conftest.$ac_ext <<_ACEOF
   3601 /* end confdefs.h.  */
   3602 
   3603 int
   3604 main ()
   3605 {
   3606 
   3607   ;
   3608   return 0;
   3609 }
   3610 _ACEOF
   3611 rm -f conftest.$ac_objext
   3612 if { (ac_try="$ac_compile"
   3613 case "(($ac_try" in
   3614   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3615   *) ac_try_echo=$ac_try;;
   3616 esac
   3617 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3618 $as_echo "$ac_try_echo") >&5
   3619   (eval "$ac_compile") 2>conftest.er1
   3620   ac_status=$?
   3621   grep -v '^ *+' conftest.er1 >conftest.err
   3622   rm -f conftest.er1
   3623   cat conftest.err >&5
   3624   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3625   (exit $ac_status); } && {
   3626 	 test -z "$ac_c_werror_flag" ||
   3627 	 test ! -s conftest.err
   3628        } && test -s conftest.$ac_objext; then
   3629   :
   3630 else
   3631   $as_echo "$as_me: failed program was:" >&5
   3632 sed 's/^/| /' conftest.$ac_ext >&5
   3633 
   3634 	ac_c_werror_flag=$ac_save_c_werror_flag
   3635 	 CFLAGS="-g"
   3636 	 cat >conftest.$ac_ext <<_ACEOF
   3637 /* confdefs.h.  */
   3638 _ACEOF
   3639 cat confdefs.h >>conftest.$ac_ext
   3640 cat >>conftest.$ac_ext <<_ACEOF
   3641 /* end confdefs.h.  */
   3642 
   3643 int
   3644 main ()
   3645 {
   3646 
   3647   ;
   3648   return 0;
   3649 }
   3650 _ACEOF
   3651 rm -f conftest.$ac_objext
   3652 if { (ac_try="$ac_compile"
   3653 case "(($ac_try" in
   3654   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3655   *) ac_try_echo=$ac_try;;
   3656 esac
   3657 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3658 $as_echo "$ac_try_echo") >&5
   3659   (eval "$ac_compile") 2>conftest.er1
   3660   ac_status=$?
   3661   grep -v '^ *+' conftest.er1 >conftest.err
   3662   rm -f conftest.er1
   3663   cat conftest.err >&5
   3664   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3665   (exit $ac_status); } && {
   3666 	 test -z "$ac_c_werror_flag" ||
   3667 	 test ! -s conftest.err
   3668        } && test -s conftest.$ac_objext; then
   3669   ac_cv_prog_cc_g=yes
   3670 else
   3671   $as_echo "$as_me: failed program was:" >&5
   3672 sed 's/^/| /' conftest.$ac_ext >&5
   3673 
   3674 
   3675 fi
   3676 
   3677 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3678 fi
   3679 
   3680 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3681 fi
   3682 
   3683 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3684    ac_c_werror_flag=$ac_save_c_werror_flag
   3685 fi
   3686 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
   3687 $as_echo "$ac_cv_prog_cc_g" >&6; }
   3688 if test "$ac_test_CFLAGS" = set; then
   3689   CFLAGS=$ac_save_CFLAGS
   3690 elif test $ac_cv_prog_cc_g = yes; then
   3691   if test "$GCC" = yes; then
   3692     CFLAGS="-g -O2"
   3693   else
   3694     CFLAGS="-g"
   3695   fi
   3696 else
   3697   if test "$GCC" = yes; then
   3698     CFLAGS="-O2"
   3699   else
   3700     CFLAGS=
   3701   fi
   3702 fi
   3703 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
   3704 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
   3705 if test "${ac_cv_prog_cc_c89+set}" = set; then
   3706   $as_echo_n "(cached) " >&6
   3707 else
   3708   ac_cv_prog_cc_c89=no
   3709 ac_save_CC=$CC
   3710 cat >conftest.$ac_ext <<_ACEOF
   3711 /* confdefs.h.  */
   3712 _ACEOF
   3713 cat confdefs.h >>conftest.$ac_ext
   3714 cat >>conftest.$ac_ext <<_ACEOF
   3715 /* end confdefs.h.  */
   3716 #include <stdarg.h>
   3717 #include <stdio.h>
   3718 #include <sys/types.h>
   3719 #include <sys/stat.h>
   3720 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   3721 struct buf { int x; };
   3722 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   3723 static char *e (p, i)
   3724      char **p;
   3725      int i;
   3726 {
   3727   return p[i];
   3728 }
   3729 static char *f (char * (*g) (char **, int), char **p, ...)
   3730 {
   3731   char *s;
   3732   va_list v;
   3733   va_start (v,p);
   3734   s = g (p, va_arg (v,int));
   3735   va_end (v);
   3736   return s;
   3737 }
   3738 
   3739 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   3740    function prototypes and stuff, but not '\xHH' hex character constants.
   3741    These don't provoke an error unfortunately, instead are silently treated
   3742    as 'x'.  The following induces an error, until -std is added to get
   3743    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   3744    array size at least.  It's necessary to write '\x00'==0 to get something
   3745    that's true only with -std.  */
   3746 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   3747 
   3748 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   3749    inside strings and character constants.  */
   3750 #define FOO(x) 'x'
   3751 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   3752 
   3753 int test (int i, double x);
   3754 struct s1 {int (*f) (int a);};
   3755 struct s2 {int (*f) (double a);};
   3756 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   3757 int argc;
   3758 char **argv;
   3759 int
   3760 main ()
   3761 {
   3762 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   3763   ;
   3764   return 0;
   3765 }
   3766 _ACEOF
   3767 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   3768 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   3769 do
   3770   CC="$ac_save_CC $ac_arg"
   3771   rm -f conftest.$ac_objext
   3772 if { (ac_try="$ac_compile"
   3773 case "(($ac_try" in
   3774   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3775   *) ac_try_echo=$ac_try;;
   3776 esac
   3777 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3778 $as_echo "$ac_try_echo") >&5
   3779   (eval "$ac_compile") 2>conftest.er1
   3780   ac_status=$?
   3781   grep -v '^ *+' conftest.er1 >conftest.err
   3782   rm -f conftest.er1
   3783   cat conftest.err >&5
   3784   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3785   (exit $ac_status); } && {
   3786 	 test -z "$ac_c_werror_flag" ||
   3787 	 test ! -s conftest.err
   3788        } && test -s conftest.$ac_objext; then
   3789   ac_cv_prog_cc_c89=$ac_arg
   3790 else
   3791   $as_echo "$as_me: failed program was:" >&5
   3792 sed 's/^/| /' conftest.$ac_ext >&5
   3793 
   3794 
   3795 fi
   3796 
   3797 rm -f core conftest.err conftest.$ac_objext
   3798   test "x$ac_cv_prog_cc_c89" != "xno" && break
   3799 done
   3800 rm -f conftest.$ac_ext
   3801 CC=$ac_save_CC
   3802 
   3803 fi
   3804 # AC_CACHE_VAL
   3805 case "x$ac_cv_prog_cc_c89" in
   3806   x)
   3807     { $as_echo "$as_me:$LINENO: result: none needed" >&5
   3808 $as_echo "none needed" >&6; } ;;
   3809   xno)
   3810     { $as_echo "$as_me:$LINENO: result: unsupported" >&5
   3811 $as_echo "unsupported" >&6; } ;;
   3812   *)
   3813     CC="$CC $ac_cv_prog_cc_c89"
   3814     { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
   3815 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
   3816 esac
   3817 
   3818 
   3819 ac_ext=c
   3820 ac_cpp='$CPP $CPPFLAGS'
   3821 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3822 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3823 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3824 
   3825 depcc="$CC"   am_compiler_list=
   3826 
   3827 { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
   3828 $as_echo_n "checking dependency style of $depcc... " >&6; }
   3829 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
   3830   $as_echo_n "(cached) " >&6
   3831 else
   3832   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   3833   # We make a subdir and do the tests there.  Otherwise we can end up
   3834   # making bogus files that we don't know about and never remove.  For
   3835   # instance it was reported that on HP-UX the gcc test will end up
   3836   # making a dummy file named `D' -- because `-MD' means `put the output
   3837   # in D'.
   3838   mkdir conftest.dir
   3839   # Copy depcomp to subdir because otherwise we won't find it if we're
   3840   # using a relative directory.
   3841   cp "$am_depcomp" conftest.dir
   3842   cd conftest.dir
   3843   # We will build objects and dependencies in a subdirectory because
   3844   # it helps to detect inapplicable dependency modes.  For instance
   3845   # both Tru64's cc and ICC support -MD to output dependencies as a
   3846   # side effect of compilation, but ICC will put the dependencies in
   3847   # the current directory while Tru64 will put them in the object
   3848   # directory.
   3849   mkdir sub
   3850 
   3851   am_cv_CC_dependencies_compiler_type=none
   3852   if test "$am_compiler_list" = ""; then
   3853      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   3854   fi
   3855   am__universal=false
   3856   case " $depcc " in #(
   3857      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   3858      esac
   3859 
   3860   for depmode in $am_compiler_list; do
   3861     # Setup a source with many dependencies, because some compilers
   3862     # like to wrap large dependency lists on column 80 (with \), and
   3863     # we should not choose a depcomp mode which is confused by this.
   3864     #
   3865     # We need to recreate these files for each test, as the compiler may
   3866     # overwrite some of them when testing with obscure command lines.
   3867     # This happens at least with the AIX C compiler.
   3868     : > sub/conftest.c
   3869     for i in 1 2 3 4 5 6; do
   3870       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   3871       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
   3872       # Solaris 8's {/usr,}/bin/sh.
   3873       touch sub/conftst$i.h
   3874     done
   3875     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   3876 
   3877     # We check with `-c' and `-o' for the sake of the "dashmstdout"
   3878     # mode.  It turns out that the SunPro C++ compiler does not properly
   3879     # handle `-M -o', and we need to detect this.  Also, some Intel
   3880     # versions had trouble with output in subdirs
   3881     am__obj=sub/conftest.${OBJEXT-o}
   3882     am__minus_obj="-o $am__obj"
   3883     case $depmode in
   3884     gcc)
   3885       # This depmode causes a compiler race in universal mode.
   3886       test "$am__universal" = false || continue
   3887       ;;
   3888     nosideeffect)
   3889       # after this tag, mechanisms are not by side-effect, so they'll
   3890       # only be used when explicitly requested
   3891       if test "x$enable_dependency_tracking" = xyes; then
   3892 	continue
   3893       else
   3894 	break
   3895       fi
   3896       ;;
   3897     msvisualcpp | msvcmsys)
   3898       # This compiler won't grok `-c -o', but also, the minuso test has
   3899       # not run yet.  These depmodes are late enough in the game, and
   3900       # so weak that their functioning should not be impacted.
   3901       am__obj=conftest.${OBJEXT-o}
   3902       am__minus_obj=
   3903       ;;
   3904     none) break ;;
   3905     esac
   3906     if depmode=$depmode \
   3907        source=sub/conftest.c object=$am__obj \
   3908        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   3909        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   3910          >/dev/null 2>conftest.err &&
   3911        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   3912        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   3913        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   3914        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   3915       # icc doesn't choke on unknown options, it will just issue warnings
   3916       # or remarks (even with -Werror).  So we grep stderr for any message
   3917       # that says an option was ignored or not supported.
   3918       # When given -MP, icc 7.0 and 7.1 complain thusly:
   3919       #   icc: Command line warning: ignoring option '-M'; no argument required
   3920       # The diagnosis changed in icc 8.0:
   3921       #   icc: Command line remark: option '-MP' not supported
   3922       if (grep 'ignoring option' conftest.err ||
   3923           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   3924         am_cv_CC_dependencies_compiler_type=$depmode
   3925         break
   3926       fi
   3927     fi
   3928   done
   3929 
   3930   cd ..
   3931   rm -rf conftest.dir
   3932 else
   3933   am_cv_CC_dependencies_compiler_type=none
   3934 fi
   3935 
   3936 fi
   3937 { $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
   3938 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
   3939 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   3940 
   3941  if
   3942   test "x$enable_dependency_tracking" != xno \
   3943   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   3944   am__fastdepCC_TRUE=
   3945   am__fastdepCC_FALSE='#'
   3946 else
   3947   am__fastdepCC_TRUE='#'
   3948   am__fastdepCC_FALSE=
   3949 fi
   3950 
   3951 
   3952 { $as_echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
   3953 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
   3954 if test "${lt_cv_path_SED+set}" = set; then
   3955   $as_echo_n "(cached) " >&6
   3956 else
   3957   # Loop through the user's path and test for sed and gsed.
   3958 # Then use that list of sed's as ones to test for truncation.
   3959 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3960 for as_dir in $PATH
   3961 do
   3962   IFS=$as_save_IFS
   3963   test -z "$as_dir" && as_dir=.
   3964   for lt_ac_prog in sed gsed; do
   3965     for ac_exec_ext in '' $ac_executable_extensions; do
   3966       if { test -f "$as_dir/$lt_ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$lt_ac_prog$ac_exec_ext"; }; then
   3967         lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
   3968       fi
   3969     done
   3970   done
   3971 done
   3972 IFS=$as_save_IFS
   3973 lt_ac_max=0
   3974 lt_ac_count=0
   3975 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
   3976 # along with /bin/sed that truncates output.
   3977 for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
   3978   test ! -f $lt_ac_sed && continue
   3979   cat /dev/null > conftest.in
   3980   lt_ac_count=0
   3981   echo $ECHO_N "0123456789$ECHO_C" >conftest.in
   3982   # Check for GNU sed and select it if it is found.
   3983   if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
   3984     lt_cv_path_SED=$lt_ac_sed
   3985     break
   3986   fi
   3987   while true; do
   3988     cat conftest.in conftest.in >conftest.tmp
   3989     mv conftest.tmp conftest.in
   3990     cp conftest.in conftest.nl
   3991     echo >>conftest.nl
   3992     $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
   3993     cmp -s conftest.out conftest.nl || break
   3994     # 10000 chars as input seems more than enough
   3995     test $lt_ac_count -gt 10 && break
   3996     lt_ac_count=`expr $lt_ac_count + 1`
   3997     if test $lt_ac_count -gt $lt_ac_max; then
   3998       lt_ac_max=$lt_ac_count
   3999       lt_cv_path_SED=$lt_ac_sed
   4000     fi
   4001   done
   4002 done
   4003 
   4004 fi
   4005 
   4006 SED=$lt_cv_path_SED
   4007 
   4008 { $as_echo "$as_me:$LINENO: result: $SED" >&5
   4009 $as_echo "$SED" >&6; }
   4010 
   4011 { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
   4012 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
   4013 if test "${ac_cv_path_GREP+set}" = set; then
   4014   $as_echo_n "(cached) " >&6
   4015 else
   4016   if test -z "$GREP"; then
   4017   ac_path_GREP_found=false
   4018   # Loop through the user's path and test for each of PROGNAME-LIST
   4019   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4020 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4021 do
   4022   IFS=$as_save_IFS
   4023   test -z "$as_dir" && as_dir=.
   4024   for ac_prog in grep ggrep; do
   4025     for ac_exec_ext in '' $ac_executable_extensions; do
   4026       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
   4027       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
   4028 # Check for GNU ac_path_GREP and select it if it is found.
   4029   # Check for GNU $ac_path_GREP
   4030 case `"$ac_path_GREP" --version 2>&1` in
   4031 *GNU*)
   4032   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   4033 *)
   4034   ac_count=0
   4035   $as_echo_n 0123456789 >"conftest.in"
   4036   while :
   4037   do
   4038     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4039     mv "conftest.tmp" "conftest.in"
   4040     cp "conftest.in" "conftest.nl"
   4041     $as_echo 'GREP' >> "conftest.nl"
   4042     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4043     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4044     ac_count=`expr $ac_count + 1`
   4045     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   4046       # Best one so far, save it but keep looking for a better one
   4047       ac_cv_path_GREP="$ac_path_GREP"
   4048       ac_path_GREP_max=$ac_count
   4049     fi
   4050     # 10*(2^10) chars as input seems more than enough
   4051     test $ac_count -gt 10 && break
   4052   done
   4053   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4054 esac
   4055 
   4056       $ac_path_GREP_found && break 3
   4057     done
   4058   done
   4059 done
   4060 IFS=$as_save_IFS
   4061   if test -z "$ac_cv_path_GREP"; then
   4062     { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
   4063 $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
   4064    { (exit 1); exit 1; }; }
   4065   fi
   4066 else
   4067   ac_cv_path_GREP=$GREP
   4068 fi
   4069 
   4070 fi
   4071 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
   4072 $as_echo "$ac_cv_path_GREP" >&6; }
   4073  GREP="$ac_cv_path_GREP"
   4074 
   4075 
   4076 { $as_echo "$as_me:$LINENO: checking for egrep" >&5
   4077 $as_echo_n "checking for egrep... " >&6; }
   4078 if test "${ac_cv_path_EGREP+set}" = set; then
   4079   $as_echo_n "(cached) " >&6
   4080 else
   4081   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   4082    then ac_cv_path_EGREP="$GREP -E"
   4083    else
   4084      if test -z "$EGREP"; then
   4085   ac_path_EGREP_found=false
   4086   # Loop through the user's path and test for each of PROGNAME-LIST
   4087   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4088 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4089 do
   4090   IFS=$as_save_IFS
   4091   test -z "$as_dir" && as_dir=.
   4092   for ac_prog in egrep; do
   4093     for ac_exec_ext in '' $ac_executable_extensions; do
   4094       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
   4095       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
   4096 # Check for GNU ac_path_EGREP and select it if it is found.
   4097   # Check for GNU $ac_path_EGREP
   4098 case `"$ac_path_EGREP" --version 2>&1` in
   4099 *GNU*)
   4100   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   4101 *)
   4102   ac_count=0
   4103   $as_echo_n 0123456789 >"conftest.in"
   4104   while :
   4105   do
   4106     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4107     mv "conftest.tmp" "conftest.in"
   4108     cp "conftest.in" "conftest.nl"
   4109     $as_echo 'EGREP' >> "conftest.nl"
   4110     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4111     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4112     ac_count=`expr $ac_count + 1`
   4113     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   4114       # Best one so far, save it but keep looking for a better one
   4115       ac_cv_path_EGREP="$ac_path_EGREP"
   4116       ac_path_EGREP_max=$ac_count
   4117     fi
   4118     # 10*(2^10) chars as input seems more than enough
   4119     test $ac_count -gt 10 && break
   4120   done
   4121   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4122 esac
   4123 
   4124       $ac_path_EGREP_found && break 3
   4125     done
   4126   done
   4127 done
   4128 IFS=$as_save_IFS
   4129   if test -z "$ac_cv_path_EGREP"; then
   4130     { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
   4131 $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
   4132    { (exit 1); exit 1; }; }
   4133   fi
   4134 else
   4135   ac_cv_path_EGREP=$EGREP
   4136 fi
   4137 
   4138    fi
   4139 fi
   4140 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
   4141 $as_echo "$ac_cv_path_EGREP" >&6; }
   4142  EGREP="$ac_cv_path_EGREP"
   4143 
   4144 
   4145 
   4146 # Check whether --with-gnu-ld was given.
   4147 if test "${with_gnu_ld+set}" = set; then
   4148   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
   4149 else
   4150   with_gnu_ld=no
   4151 fi
   4152 
   4153 ac_prog=ld
   4154 if test "$GCC" = yes; then
   4155   # Check if gcc -print-prog-name=ld gives a path.
   4156   { $as_echo "$as_me:$LINENO: checking for ld used by $CC" >&5
   4157 $as_echo_n "checking for ld used by $CC... " >&6; }
   4158   case $host in
   4159   *-*-mingw*)
   4160     # gcc leaves a trailing carriage return which upsets mingw
   4161     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   4162   *)
   4163     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   4164   esac
   4165   case $ac_prog in
   4166     # Accept absolute paths.
   4167     [\\/]* | ?:[\\/]*)
   4168       re_direlt='/[^/][^/]*/\.\./'
   4169       # Canonicalize the pathname of ld
   4170       ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
   4171       while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
   4172 	ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
   4173       done
   4174       test -z "$LD" && LD="$ac_prog"
   4175       ;;
   4176   "")
   4177     # If it fails, then pretend we aren't using GCC.
   4178     ac_prog=ld
   4179     ;;
   4180   *)
   4181     # If it is relative, then search for the first ld in PATH.
   4182     with_gnu_ld=unknown
   4183     ;;
   4184   esac
   4185 elif test "$with_gnu_ld" = yes; then
   4186   { $as_echo "$as_me:$LINENO: checking for GNU ld" >&5
   4187 $as_echo_n "checking for GNU ld... " >&6; }
   4188 else
   4189   { $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5
   4190 $as_echo_n "checking for non-GNU ld... " >&6; }
   4191 fi
   4192 if test "${lt_cv_path_LD+set}" = set; then
   4193   $as_echo_n "(cached) " >&6
   4194 else
   4195   if test -z "$LD"; then
   4196   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   4197   for ac_dir in $PATH; do
   4198     IFS="$lt_save_ifs"
   4199     test -z "$ac_dir" && ac_dir=.
   4200     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   4201       lt_cv_path_LD="$ac_dir/$ac_prog"
   4202       # Check to see if the program is GNU ld.  I'd rather use --version,
   4203       # but apparently some variants of GNU ld only accept -v.
   4204       # Break only if it was the GNU/non-GNU ld that we prefer.
   4205       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   4206       *GNU* | *'with BFD'*)
   4207 	test "$with_gnu_ld" != no && break
   4208 	;;
   4209       *)
   4210 	test "$with_gnu_ld" != yes && break
   4211 	;;
   4212       esac
   4213     fi
   4214   done
   4215   IFS="$lt_save_ifs"
   4216 else
   4217   lt_cv_path_LD="$LD" # Let the user override the test with a path.
   4218 fi
   4219 fi
   4220 
   4221 LD="$lt_cv_path_LD"
   4222 if test -n "$LD"; then
   4223   { $as_echo "$as_me:$LINENO: result: $LD" >&5
   4224 $as_echo "$LD" >&6; }
   4225 else
   4226   { $as_echo "$as_me:$LINENO: result: no" >&5
   4227 $as_echo "no" >&6; }
   4228 fi
   4229 test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
   4230 $as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
   4231    { (exit 1); exit 1; }; }
   4232 { $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
   4233 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
   4234 if test "${lt_cv_prog_gnu_ld+set}" = set; then
   4235   $as_echo_n "(cached) " >&6
   4236 else
   4237   # I'd rather use --version here, but apparently some GNU lds only accept -v.
   4238 case `$LD -v 2>&1 </dev/null` in
   4239 *GNU* | *'with BFD'*)
   4240   lt_cv_prog_gnu_ld=yes
   4241   ;;
   4242 *)
   4243   lt_cv_prog_gnu_ld=no
   4244   ;;
   4245 esac
   4246 fi
   4247 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
   4248 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
   4249 with_gnu_ld=$lt_cv_prog_gnu_ld
   4250 
   4251 
   4252 { $as_echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
   4253 $as_echo_n "checking for $LD option to reload object files... " >&6; }
   4254 if test "${lt_cv_ld_reload_flag+set}" = set; then
   4255   $as_echo_n "(cached) " >&6
   4256 else
   4257   lt_cv_ld_reload_flag='-r'
   4258 fi
   4259 { $as_echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
   4260 $as_echo "$lt_cv_ld_reload_flag" >&6; }
   4261 reload_flag=$lt_cv_ld_reload_flag
   4262 case $reload_flag in
   4263 "" | " "*) ;;
   4264 *) reload_flag=" $reload_flag" ;;
   4265 esac
   4266 reload_cmds='$LD$reload_flag -o $output$reload_objs'
   4267 case $host_os in
   4268   darwin*)
   4269     if test "$GCC" = yes; then
   4270       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
   4271     else
   4272       reload_cmds='$LD$reload_flag -o $output$reload_objs'
   4273     fi
   4274     ;;
   4275 esac
   4276 
   4277 { $as_echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
   4278 $as_echo_n "checking for BSD-compatible nm... " >&6; }
   4279 if test "${lt_cv_path_NM+set}" = set; then
   4280   $as_echo_n "(cached) " >&6
   4281 else
   4282   if test -n "$NM"; then
   4283   # Let the user override the test.
   4284   lt_cv_path_NM="$NM"
   4285 else
   4286   lt_nm_to_check="${ac_tool_prefix}nm"
   4287   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
   4288     lt_nm_to_check="$lt_nm_to_check nm"
   4289   fi
   4290   for lt_tmp_nm in $lt_nm_to_check; do
   4291     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   4292     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
   4293       IFS="$lt_save_ifs"
   4294       test -z "$ac_dir" && ac_dir=.
   4295       tmp_nm="$ac_dir/$lt_tmp_nm"
   4296       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
   4297 	# Check to see if the nm accepts a BSD-compat flag.
   4298 	# Adding the `sed 1q' prevents false positives on HP-UX, which says:
   4299 	#   nm: unknown option "B" ignored
   4300 	# Tru64's nm complains that /dev/null is an invalid object file
   4301 	case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
   4302 	*/dev/null* | *'Invalid file or object type'*)
   4303 	  lt_cv_path_NM="$tmp_nm -B"
   4304 	  break
   4305 	  ;;
   4306 	*)
   4307 	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
   4308 	  */dev/null*)
   4309 	    lt_cv_path_NM="$tmp_nm -p"
   4310 	    break
   4311 	    ;;
   4312 	  *)
   4313 	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
   4314 	    continue # so that we can try to find one that supports BSD flags
   4315 	    ;;
   4316 	  esac
   4317 	  ;;
   4318 	esac
   4319       fi
   4320     done
   4321     IFS="$lt_save_ifs"
   4322   done
   4323   test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
   4324 fi
   4325 fi
   4326 { $as_echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
   4327 $as_echo "$lt_cv_path_NM" >&6; }
   4328 NM="$lt_cv_path_NM"
   4329 
   4330 { $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5
   4331 $as_echo_n "checking whether ln -s works... " >&6; }
   4332 LN_S=$as_ln_s
   4333 if test "$LN_S" = "ln -s"; then
   4334   { $as_echo "$as_me:$LINENO: result: yes" >&5
   4335 $as_echo "yes" >&6; }
   4336 else
   4337   { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5
   4338 $as_echo "no, using $LN_S" >&6; }
   4339 fi
   4340 
   4341 { $as_echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
   4342 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
   4343 if test "${lt_cv_deplibs_check_method+set}" = set; then
   4344   $as_echo_n "(cached) " >&6
   4345 else
   4346   lt_cv_file_magic_cmd='$MAGIC_CMD'
   4347 lt_cv_file_magic_test_file=
   4348 lt_cv_deplibs_check_method='unknown'
   4349 # Need to set the preceding variable on all platforms that support
   4350 # interlibrary dependencies.
   4351 # 'none' -- dependencies not supported.
   4352 # `unknown' -- same as none, but documents that we really don't know.
   4353 # 'pass_all' -- all dependencies passed with no checks.
   4354 # 'test_compile' -- check by making test program.
   4355 # 'file_magic [[regex]]' -- check by looking for files in library path
   4356 # which responds to the $file_magic_cmd with a given extended regex.
   4357 # If you have `file' or equivalent on your system and you're not sure
   4358 # whether `pass_all' will *always* work, you probably want this one.
   4359 
   4360 case $host_os in
   4361 aix[4-9]*)
   4362   lt_cv_deplibs_check_method=pass_all
   4363   ;;
   4364 
   4365 beos*)
   4366   lt_cv_deplibs_check_method=pass_all
   4367   ;;
   4368 
   4369 bsdi[45]*)
   4370   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
   4371   lt_cv_file_magic_cmd='/usr/bin/file -L'
   4372   lt_cv_file_magic_test_file=/shlib/libc.so
   4373   ;;
   4374 
   4375 cygwin*)
   4376   # func_win32_libid is a shell function defined in ltmain.sh
   4377   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   4378   lt_cv_file_magic_cmd='func_win32_libid'
   4379   ;;
   4380 
   4381 mingw* | pw32*)
   4382   # Base MSYS/MinGW do not provide the 'file' command needed by
   4383   # func_win32_libid shell function, so use a weaker test based on 'objdump',
   4384   # unless we find 'file', for example because we are cross-compiling.
   4385   if ( file / ) >/dev/null 2>&1; then
   4386     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   4387     lt_cv_file_magic_cmd='func_win32_libid'
   4388   else
   4389     lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
   4390     lt_cv_file_magic_cmd='$OBJDUMP -f'
   4391   fi
   4392   ;;
   4393 
   4394 darwin* | rhapsody*)
   4395   lt_cv_deplibs_check_method=pass_all
   4396   ;;
   4397 
   4398 freebsd* | dragonfly*)
   4399   if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
   4400     case $host_cpu in
   4401     i*86 )
   4402       # Not sure whether the presence of OpenBSD here was a mistake.
   4403       # Let's accept both of them until this is cleared up.
   4404       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
   4405       lt_cv_file_magic_cmd=/usr/bin/file
   4406       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
   4407       ;;
   4408     esac
   4409   else
   4410     lt_cv_deplibs_check_method=pass_all
   4411   fi
   4412   ;;
   4413 
   4414 gnu*)
   4415   lt_cv_deplibs_check_method=pass_all
   4416   ;;
   4417 
   4418 hpux10.20* | hpux11*)
   4419   lt_cv_file_magic_cmd=/usr/bin/file
   4420   case $host_cpu in
   4421   ia64*)
   4422     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
   4423     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
   4424     ;;
   4425   hppa*64*)
   4426     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]'
   4427     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
   4428     ;;
   4429   *)
   4430     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
   4431     lt_cv_file_magic_test_file=/usr/lib/libc.sl
   4432     ;;
   4433   esac
   4434   ;;
   4435 
   4436 interix[3-9]*)
   4437   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
   4438   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
   4439   ;;
   4440 
   4441 irix5* | irix6* | nonstopux*)
   4442   case $LD in
   4443   *-32|*"-32 ") libmagic=32-bit;;
   4444   *-n32|*"-n32 ") libmagic=N32;;
   4445   *-64|*"-64 ") libmagic=64-bit;;
   4446   *) libmagic=never-match;;
   4447   esac
   4448   lt_cv_deplibs_check_method=pass_all
   4449   ;;
   4450 
   4451 # This must be Linux ELF.
   4452 linux* | k*bsd*-gnu)
   4453   lt_cv_deplibs_check_method=pass_all
   4454   ;;
   4455 
   4456 netbsd*)
   4457   if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
   4458     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   4459   else
   4460     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
   4461   fi
   4462   ;;
   4463 
   4464 newos6*)
   4465   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
   4466   lt_cv_file_magic_cmd=/usr/bin/file
   4467   lt_cv_file_magic_test_file=/usr/lib/libnls.so
   4468   ;;
   4469 
   4470 nto-qnx*)
   4471   lt_cv_deplibs_check_method=unknown
   4472   ;;
   4473 
   4474 openbsd*)
   4475   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   4476     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
   4477   else
   4478     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   4479   fi
   4480   ;;
   4481 
   4482 osf3* | osf4* | osf5*)
   4483   lt_cv_deplibs_check_method=pass_all
   4484   ;;
   4485 
   4486 rdos*)
   4487   lt_cv_deplibs_check_method=pass_all
   4488   ;;
   4489 
   4490 solaris*)
   4491   lt_cv_deplibs_check_method=pass_all
   4492   ;;
   4493 
   4494 sysv4 | sysv4.3*)
   4495   case $host_vendor in
   4496   motorola)
   4497     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]'
   4498     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
   4499     ;;
   4500   ncr)
   4501     lt_cv_deplibs_check_method=pass_all
   4502     ;;
   4503   sequent)
   4504     lt_cv_file_magic_cmd='/bin/file'
   4505     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
   4506     ;;
   4507   sni)
   4508     lt_cv_file_magic_cmd='/bin/file'
   4509     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
   4510     lt_cv_file_magic_test_file=/lib/libc.so
   4511     ;;
   4512   siemens)
   4513     lt_cv_deplibs_check_method=pass_all
   4514     ;;
   4515   pc)
   4516     lt_cv_deplibs_check_method=pass_all
   4517     ;;
   4518   esac
   4519   ;;
   4520 
   4521 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   4522   lt_cv_deplibs_check_method=pass_all
   4523   ;;
   4524 esac
   4525 
   4526 fi
   4527 { $as_echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
   4528 $as_echo "$lt_cv_deplibs_check_method" >&6; }
   4529 file_magic_cmd=$lt_cv_file_magic_cmd
   4530 deplibs_check_method=$lt_cv_deplibs_check_method
   4531 test -z "$deplibs_check_method" && deplibs_check_method=unknown
   4532 
   4533 
   4534 
   4535 
   4536 # If no C compiler was specified, use CC.
   4537 LTCC=${LTCC-"$CC"}
   4538 
   4539 # If no C compiler flags were specified, use CFLAGS.
   4540 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   4541 
   4542 # Allow CC to be a program name with arguments.
   4543 compiler=$CC
   4544 
   4545 
   4546 # Check whether --enable-libtool-lock was given.
   4547 if test "${enable_libtool_lock+set}" = set; then
   4548   enableval=$enable_libtool_lock;
   4549 fi
   4550 
   4551 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
   4552 
   4553 # Some flags need to be propagated to the compiler or linker for good
   4554 # libtool support.
   4555 case $host in
   4556 ia64-*-hpux*)
   4557   # Find out which ABI we are using.
   4558   echo 'int i;' > conftest.$ac_ext
   4559   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   4560   (eval $ac_compile) 2>&5
   4561   ac_status=$?
   4562   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4563   (exit $ac_status); }; then
   4564     case `/usr/bin/file conftest.$ac_objext` in
   4565     *ELF-32*)
   4566       HPUX_IA64_MODE="32"
   4567       ;;
   4568     *ELF-64*)
   4569       HPUX_IA64_MODE="64"
   4570       ;;
   4571     esac
   4572   fi
   4573   rm -rf conftest*
   4574   ;;
   4575 *-*-irix6*)
   4576   # Find out which ABI we are using.
   4577   echo '#line 4577 "configure"' > conftest.$ac_ext
   4578   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   4579   (eval $ac_compile) 2>&5
   4580   ac_status=$?
   4581   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4582   (exit $ac_status); }; then
   4583    if test "$lt_cv_prog_gnu_ld" = yes; then
   4584     case `/usr/bin/file conftest.$ac_objext` in
   4585     *32-bit*)
   4586       LD="${LD-ld} -melf32bsmip"
   4587       ;;
   4588     *N32*)
   4589       LD="${LD-ld} -melf32bmipn32"
   4590       ;;
   4591     *64-bit*)
   4592       LD="${LD-ld} -melf64bmip"
   4593       ;;
   4594     esac
   4595    else
   4596     case `/usr/bin/file conftest.$ac_objext` in
   4597     *32-bit*)
   4598       LD="${LD-ld} -32"
   4599       ;;
   4600     *N32*)
   4601       LD="${LD-ld} -n32"
   4602       ;;
   4603     *64-bit*)
   4604       LD="${LD-ld} -64"
   4605       ;;
   4606     esac
   4607    fi
   4608   fi
   4609   rm -rf conftest*
   4610   ;;
   4611 
   4612 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
   4613 s390*-*linux*|sparc*-*linux*)
   4614   # Find out which ABI we are using.
   4615   echo 'int i;' > conftest.$ac_ext
   4616   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   4617   (eval $ac_compile) 2>&5
   4618   ac_status=$?
   4619   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4620   (exit $ac_status); }; then
   4621     case `/usr/bin/file conftest.o` in
   4622     *32-bit*)
   4623       case $host in
   4624         x86_64-*kfreebsd*-gnu)
   4625           LD="${LD-ld} -m elf_i386_fbsd"
   4626           ;;
   4627         x86_64-*linux*)
   4628           LD="${LD-ld} -m elf_i386"
   4629           ;;
   4630         ppc64-*linux*|powerpc64-*linux*)
   4631           LD="${LD-ld} -m elf32ppclinux"
   4632           ;;
   4633         s390x-*linux*)
   4634           LD="${LD-ld} -m elf_s390"
   4635           ;;
   4636         sparc64-*linux*)
   4637           LD="${LD-ld} -m elf32_sparc"
   4638           ;;
   4639       esac
   4640       ;;
   4641     *64-bit*)
   4642       case $host in
   4643         x86_64-*kfreebsd*-gnu)
   4644           LD="${LD-ld} -m elf_x86_64_fbsd"
   4645           ;;
   4646         x86_64-*linux*)
   4647           LD="${LD-ld} -m elf_x86_64"
   4648           ;;
   4649         ppc*-*linux*|powerpc*-*linux*)
   4650           LD="${LD-ld} -m elf64ppc"
   4651           ;;
   4652         s390*-*linux*)
   4653           LD="${LD-ld} -m elf64_s390"
   4654           ;;
   4655         sparc*-*linux*)
   4656           LD="${LD-ld} -m elf64_sparc"
   4657           ;;
   4658       esac
   4659       ;;
   4660     esac
   4661   fi
   4662   rm -rf conftest*
   4663   ;;
   4664 
   4665 *-*-sco3.2v5*)
   4666   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
   4667   SAVE_CFLAGS="$CFLAGS"
   4668   CFLAGS="$CFLAGS -belf"
   4669   { $as_echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
   4670 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
   4671 if test "${lt_cv_cc_needs_belf+set}" = set; then
   4672   $as_echo_n "(cached) " >&6
   4673 else
   4674   ac_ext=c
   4675 ac_cpp='$CPP $CPPFLAGS'
   4676 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4677 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4678 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4679 
   4680      cat >conftest.$ac_ext <<_ACEOF
   4681 /* confdefs.h.  */
   4682 _ACEOF
   4683 cat confdefs.h >>conftest.$ac_ext
   4684 cat >>conftest.$ac_ext <<_ACEOF
   4685 /* end confdefs.h.  */
   4686 
   4687 int
   4688 main ()
   4689 {
   4690 
   4691   ;
   4692   return 0;
   4693 }
   4694 _ACEOF
   4695 rm -f conftest.$ac_objext conftest$ac_exeext
   4696 if { (ac_try="$ac_link"
   4697 case "(($ac_try" in
   4698   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4699   *) ac_try_echo=$ac_try;;
   4700 esac
   4701 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   4702 $as_echo "$ac_try_echo") >&5
   4703   (eval "$ac_link") 2>conftest.er1
   4704   ac_status=$?
   4705   grep -v '^ *+' conftest.er1 >conftest.err
   4706   rm -f conftest.er1
   4707   cat conftest.err >&5
   4708   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4709   (exit $ac_status); } && {
   4710 	 test -z "$ac_c_werror_flag" ||
   4711 	 test ! -s conftest.err
   4712        } && test -s conftest$ac_exeext && {
   4713 	 test "$cross_compiling" = yes ||
   4714 	 $as_test_x conftest$ac_exeext
   4715        }; then
   4716   lt_cv_cc_needs_belf=yes
   4717 else
   4718   $as_echo "$as_me: failed program was:" >&5
   4719 sed 's/^/| /' conftest.$ac_ext >&5
   4720 
   4721 	lt_cv_cc_needs_belf=no
   4722 fi
   4723 
   4724 rm -rf conftest.dSYM
   4725 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   4726       conftest$ac_exeext conftest.$ac_ext
   4727      ac_ext=c
   4728 ac_cpp='$CPP $CPPFLAGS'
   4729 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4730 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4731 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4732 
   4733 fi
   4734 { $as_echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
   4735 $as_echo "$lt_cv_cc_needs_belf" >&6; }
   4736   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
   4737     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
   4738     CFLAGS="$SAVE_CFLAGS"
   4739   fi
   4740   ;;
   4741 sparc*-*solaris*)
   4742   # Find out which ABI we are using.
   4743   echo 'int i;' > conftest.$ac_ext
   4744   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   4745   (eval $ac_compile) 2>&5
   4746   ac_status=$?
   4747   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4748   (exit $ac_status); }; then
   4749     case `/usr/bin/file conftest.o` in
   4750     *64-bit*)
   4751       case $lt_cv_prog_gnu_ld in
   4752       yes*) LD="${LD-ld} -m elf64_sparc" ;;
   4753       *)
   4754         if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
   4755 	  LD="${LD-ld} -64"
   4756 	fi
   4757 	;;
   4758       esac
   4759       ;;
   4760     esac
   4761   fi
   4762   rm -rf conftest*
   4763   ;;
   4764 
   4765 
   4766 esac
   4767 
   4768 need_locks="$enable_libtool_lock"
   4769 
   4770 
   4771 ac_ext=c
   4772 ac_cpp='$CPP $CPPFLAGS'
   4773 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4774 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4775 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4776 { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
   4777 $as_echo_n "checking how to run the C preprocessor... " >&6; }
   4778 # On Suns, sometimes $CPP names a directory.
   4779 if test -n "$CPP" && test -d "$CPP"; then
   4780   CPP=
   4781 fi
   4782 if test -z "$CPP"; then
   4783   if test "${ac_cv_prog_CPP+set}" = set; then
   4784   $as_echo_n "(cached) " >&6
   4785 else
   4786       # Double quotes because CPP needs to be expanded
   4787     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
   4788     do
   4789       ac_preproc_ok=false
   4790 for ac_c_preproc_warn_flag in '' yes
   4791 do
   4792   # Use a header file that comes with gcc, so configuring glibc
   4793   # with a fresh cross-compiler works.
   4794   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   4795   # <limits.h> exists even on freestanding compilers.
   4796   # On the NeXT, cc -E runs the code through the compiler's parser,
   4797   # not just through cpp. "Syntax error" is here to catch this case.
   4798   cat >conftest.$ac_ext <<_ACEOF
   4799 /* confdefs.h.  */
   4800 _ACEOF
   4801 cat confdefs.h >>conftest.$ac_ext
   4802 cat >>conftest.$ac_ext <<_ACEOF
   4803 /* end confdefs.h.  */
   4804 #ifdef __STDC__
   4805 # include <limits.h>
   4806 #else
   4807 # include <assert.h>
   4808 #endif
   4809 		     Syntax error
   4810 _ACEOF
   4811 if { (ac_try="$ac_cpp conftest.$ac_ext"
   4812 case "(($ac_try" in
   4813   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4814   *) ac_try_echo=$ac_try;;
   4815 esac
   4816 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   4817 $as_echo "$ac_try_echo") >&5
   4818   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   4819   ac_status=$?
   4820   grep -v '^ *+' conftest.er1 >conftest.err
   4821   rm -f conftest.er1
   4822   cat conftest.err >&5
   4823   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4824   (exit $ac_status); } >/dev/null && {
   4825 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   4826 	 test ! -s conftest.err
   4827        }; then
   4828   :
   4829 else
   4830   $as_echo "$as_me: failed program was:" >&5
   4831 sed 's/^/| /' conftest.$ac_ext >&5
   4832 
   4833   # Broken: fails on valid input.
   4834 continue
   4835 fi
   4836 
   4837 rm -f conftest.err conftest.$ac_ext
   4838 
   4839   # OK, works on sane cases.  Now check whether nonexistent headers
   4840   # can be detected and how.
   4841   cat >conftest.$ac_ext <<_ACEOF
   4842 /* confdefs.h.  */
   4843 _ACEOF
   4844 cat confdefs.h >>conftest.$ac_ext
   4845 cat >>conftest.$ac_ext <<_ACEOF
   4846 /* end confdefs.h.  */
   4847 #include <ac_nonexistent.h>
   4848 _ACEOF
   4849 if { (ac_try="$ac_cpp conftest.$ac_ext"
   4850 case "(($ac_try" in
   4851   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4852   *) ac_try_echo=$ac_try;;
   4853 esac
   4854 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   4855 $as_echo "$ac_try_echo") >&5
   4856   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   4857   ac_status=$?
   4858   grep -v '^ *+' conftest.er1 >conftest.err
   4859   rm -f conftest.er1
   4860   cat conftest.err >&5
   4861   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4862   (exit $ac_status); } >/dev/null && {
   4863 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   4864 	 test ! -s conftest.err
   4865        }; then
   4866   # Broken: success on invalid input.
   4867 continue
   4868 else
   4869   $as_echo "$as_me: failed program was:" >&5
   4870 sed 's/^/| /' conftest.$ac_ext >&5
   4871 
   4872   # Passes both tests.
   4873 ac_preproc_ok=:
   4874 break
   4875 fi
   4876 
   4877 rm -f conftest.err conftest.$ac_ext
   4878 
   4879 done
   4880 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   4881 rm -f conftest.err conftest.$ac_ext
   4882 if $ac_preproc_ok; then
   4883   break
   4884 fi
   4885 
   4886     done
   4887     ac_cv_prog_CPP=$CPP
   4888 
   4889 fi
   4890   CPP=$ac_cv_prog_CPP
   4891 else
   4892   ac_cv_prog_CPP=$CPP
   4893 fi
   4894 { $as_echo "$as_me:$LINENO: result: $CPP" >&5
   4895 $as_echo "$CPP" >&6; }
   4896 ac_preproc_ok=false
   4897 for ac_c_preproc_warn_flag in '' yes
   4898 do
   4899   # Use a header file that comes with gcc, so configuring glibc
   4900   # with a fresh cross-compiler works.
   4901   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   4902   # <limits.h> exists even on freestanding compilers.
   4903   # On the NeXT, cc -E runs the code through the compiler's parser,
   4904   # not just through cpp. "Syntax error" is here to catch this case.
   4905   cat >conftest.$ac_ext <<_ACEOF
   4906 /* confdefs.h.  */
   4907 _ACEOF
   4908 cat confdefs.h >>conftest.$ac_ext
   4909 cat >>conftest.$ac_ext <<_ACEOF
   4910 /* end confdefs.h.  */
   4911 #ifdef __STDC__
   4912 # include <limits.h>
   4913 #else
   4914 # include <assert.h>
   4915 #endif
   4916 		     Syntax error
   4917 _ACEOF
   4918 if { (ac_try="$ac_cpp conftest.$ac_ext"
   4919 case "(($ac_try" in
   4920   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4921   *) ac_try_echo=$ac_try;;
   4922 esac
   4923 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   4924 $as_echo "$ac_try_echo") >&5
   4925   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   4926   ac_status=$?
   4927   grep -v '^ *+' conftest.er1 >conftest.err
   4928   rm -f conftest.er1
   4929   cat conftest.err >&5
   4930   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4931   (exit $ac_status); } >/dev/null && {
   4932 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   4933 	 test ! -s conftest.err
   4934        }; then
   4935   :
   4936 else
   4937   $as_echo "$as_me: failed program was:" >&5
   4938 sed 's/^/| /' conftest.$ac_ext >&5
   4939 
   4940   # Broken: fails on valid input.
   4941 continue
   4942 fi
   4943 
   4944 rm -f conftest.err conftest.$ac_ext
   4945 
   4946   # OK, works on sane cases.  Now check whether nonexistent headers
   4947   # can be detected and how.
   4948   cat >conftest.$ac_ext <<_ACEOF
   4949 /* confdefs.h.  */
   4950 _ACEOF
   4951 cat confdefs.h >>conftest.$ac_ext
   4952 cat >>conftest.$ac_ext <<_ACEOF
   4953 /* end confdefs.h.  */
   4954 #include <ac_nonexistent.h>
   4955 _ACEOF
   4956 if { (ac_try="$ac_cpp conftest.$ac_ext"
   4957 case "(($ac_try" in
   4958   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4959   *) ac_try_echo=$ac_try;;
   4960 esac
   4961 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   4962 $as_echo "$ac_try_echo") >&5
   4963   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   4964   ac_status=$?
   4965   grep -v '^ *+' conftest.er1 >conftest.err
   4966   rm -f conftest.er1
   4967   cat conftest.err >&5
   4968   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4969   (exit $ac_status); } >/dev/null && {
   4970 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   4971 	 test ! -s conftest.err
   4972        }; then
   4973   # Broken: success on invalid input.
   4974 continue
   4975 else
   4976   $as_echo "$as_me: failed program was:" >&5
   4977 sed 's/^/| /' conftest.$ac_ext >&5
   4978 
   4979   # Passes both tests.
   4980 ac_preproc_ok=:
   4981 break
   4982 fi
   4983 
   4984 rm -f conftest.err conftest.$ac_ext
   4985 
   4986 done
   4987 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   4988 rm -f conftest.err conftest.$ac_ext
   4989 if $ac_preproc_ok; then
   4990   :
   4991 else
   4992   { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   4993 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   4994 { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
   4995 See \`config.log' for more details." >&5
   4996 $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
   4997 See \`config.log' for more details." >&2;}
   4998    { (exit 1); exit 1; }; }; }
   4999 fi
   5000 
   5001 ac_ext=c
   5002 ac_cpp='$CPP $CPPFLAGS'
   5003 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5004 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5005 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   5006 
   5007 
   5008 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
   5009 $as_echo_n "checking for ANSI C header files... " >&6; }
   5010 if test "${ac_cv_header_stdc+set}" = set; then
   5011   $as_echo_n "(cached) " >&6
   5012 else
   5013   cat >conftest.$ac_ext <<_ACEOF
   5014 /* confdefs.h.  */
   5015 _ACEOF
   5016 cat confdefs.h >>conftest.$ac_ext
   5017 cat >>conftest.$ac_ext <<_ACEOF
   5018 /* end confdefs.h.  */
   5019 #include <stdlib.h>
   5020 #include <stdarg.h>
   5021 #include <string.h>
   5022 #include <float.h>
   5023 
   5024 int
   5025 main ()
   5026 {
   5027 
   5028   ;
   5029   return 0;
   5030 }
   5031 _ACEOF
   5032 rm -f conftest.$ac_objext
   5033 if { (ac_try="$ac_compile"
   5034 case "(($ac_try" in
   5035   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5036   *) ac_try_echo=$ac_try;;
   5037 esac
   5038 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5039 $as_echo "$ac_try_echo") >&5
   5040   (eval "$ac_compile") 2>conftest.er1
   5041   ac_status=$?
   5042   grep -v '^ *+' conftest.er1 >conftest.err
   5043   rm -f conftest.er1
   5044   cat conftest.err >&5
   5045   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5046   (exit $ac_status); } && {
   5047 	 test -z "$ac_c_werror_flag" ||
   5048 	 test ! -s conftest.err
   5049        } && test -s conftest.$ac_objext; then
   5050   ac_cv_header_stdc=yes
   5051 else
   5052   $as_echo "$as_me: failed program was:" >&5
   5053 sed 's/^/| /' conftest.$ac_ext >&5
   5054 
   5055 	ac_cv_header_stdc=no
   5056 fi
   5057 
   5058 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5059 
   5060 if test $ac_cv_header_stdc = yes; then
   5061   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   5062   cat >conftest.$ac_ext <<_ACEOF
   5063 /* confdefs.h.  */
   5064 _ACEOF
   5065 cat confdefs.h >>conftest.$ac_ext
   5066 cat >>conftest.$ac_ext <<_ACEOF
   5067 /* end confdefs.h.  */
   5068 #include <string.h>
   5069 
   5070 _ACEOF
   5071 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   5072   $EGREP "memchr" >/dev/null 2>&1; then
   5073   :
   5074 else
   5075   ac_cv_header_stdc=no
   5076 fi
   5077 rm -f conftest*
   5078 
   5079 fi
   5080 
   5081 if test $ac_cv_header_stdc = yes; then
   5082   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   5083   cat >conftest.$ac_ext <<_ACEOF
   5084 /* confdefs.h.  */
   5085 _ACEOF
   5086 cat confdefs.h >>conftest.$ac_ext
   5087 cat >>conftest.$ac_ext <<_ACEOF
   5088 /* end confdefs.h.  */
   5089 #include <stdlib.h>
   5090 
   5091 _ACEOF
   5092 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   5093   $EGREP "free" >/dev/null 2>&1; then
   5094   :
   5095 else
   5096   ac_cv_header_stdc=no
   5097 fi
   5098 rm -f conftest*
   5099 
   5100 fi
   5101 
   5102 if test $ac_cv_header_stdc = yes; then
   5103   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   5104   if test "$cross_compiling" = yes; then
   5105   :
   5106 else
   5107   cat >conftest.$ac_ext <<_ACEOF
   5108 /* confdefs.h.  */
   5109 _ACEOF
   5110 cat confdefs.h >>conftest.$ac_ext
   5111 cat >>conftest.$ac_ext <<_ACEOF
   5112 /* end confdefs.h.  */
   5113 #include <ctype.h>
   5114 #include <stdlib.h>
   5115 #if ((' ' & 0x0FF) == 0x020)
   5116 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   5117 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   5118 #else
   5119 # define ISLOWER(c) \
   5120 		   (('a' <= (c) && (c) <= 'i') \
   5121 		     || ('j' <= (c) && (c) <= 'r') \
   5122 		     || ('s' <= (c) && (c) <= 'z'))
   5123 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   5124 #endif
   5125 
   5126 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   5127 int
   5128 main ()
   5129 {
   5130   int i;
   5131   for (i = 0; i < 256; i++)
   5132     if (XOR (islower (i), ISLOWER (i))
   5133 	|| toupper (i) != TOUPPER (i))
   5134       return 2;
   5135   return 0;
   5136 }
   5137 _ACEOF
   5138 rm -f conftest$ac_exeext
   5139 if { (ac_try="$ac_link"
   5140 case "(($ac_try" in
   5141   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5142   *) ac_try_echo=$ac_try;;
   5143 esac
   5144 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5145 $as_echo "$ac_try_echo") >&5
   5146   (eval "$ac_link") 2>&5
   5147   ac_status=$?
   5148   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5149   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
   5150   { (case "(($ac_try" in
   5151   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5152   *) ac_try_echo=$ac_try;;
   5153 esac
   5154 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5155 $as_echo "$ac_try_echo") >&5
   5156   (eval "$ac_try") 2>&5
   5157   ac_status=$?
   5158   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5159   (exit $ac_status); }; }; then
   5160   :
   5161 else
   5162   $as_echo "$as_me: program exited with status $ac_status" >&5
   5163 $as_echo "$as_me: failed program was:" >&5
   5164 sed 's/^/| /' conftest.$ac_ext >&5
   5165 
   5166 ( exit $ac_status )
   5167 ac_cv_header_stdc=no
   5168 fi
   5169 rm -rf conftest.dSYM
   5170 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
   5171 fi
   5172 
   5173 
   5174 fi
   5175 fi
   5176 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
   5177 $as_echo "$ac_cv_header_stdc" >&6; }
   5178 if test $ac_cv_header_stdc = yes; then
   5179 
   5180 cat >>confdefs.h <<\_ACEOF
   5181 #define STDC_HEADERS 1
   5182 _ACEOF
   5183 
   5184 fi
   5185 
   5186 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
   5187 
   5188 
   5189 
   5190 
   5191 
   5192 
   5193 
   5194 
   5195 
   5196 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
   5197 		  inttypes.h stdint.h unistd.h
   5198 do
   5199 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   5200 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
   5201 $as_echo_n "checking for $ac_header... " >&6; }
   5202 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   5203   $as_echo_n "(cached) " >&6
   5204 else
   5205   cat >conftest.$ac_ext <<_ACEOF
   5206 /* confdefs.h.  */
   5207 _ACEOF
   5208 cat confdefs.h >>conftest.$ac_ext
   5209 cat >>conftest.$ac_ext <<_ACEOF
   5210 /* end confdefs.h.  */
   5211 $ac_includes_default
   5212 
   5213 #include <$ac_header>
   5214 _ACEOF
   5215 rm -f conftest.$ac_objext
   5216 if { (ac_try="$ac_compile"
   5217 case "(($ac_try" in
   5218   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5219   *) ac_try_echo=$ac_try;;
   5220 esac
   5221 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5222 $as_echo "$ac_try_echo") >&5
   5223   (eval "$ac_compile") 2>conftest.er1
   5224   ac_status=$?
   5225   grep -v '^ *+' conftest.er1 >conftest.err
   5226   rm -f conftest.er1
   5227   cat conftest.err >&5
   5228   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5229   (exit $ac_status); } && {
   5230 	 test -z "$ac_c_werror_flag" ||
   5231 	 test ! -s conftest.err
   5232        } && test -s conftest.$ac_objext; then
   5233   eval "$as_ac_Header=yes"
   5234 else
   5235   $as_echo "$as_me: failed program was:" >&5
   5236 sed 's/^/| /' conftest.$ac_ext >&5
   5237 
   5238 	eval "$as_ac_Header=no"
   5239 fi
   5240 
   5241 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5242 fi
   5243 ac_res=`eval 'as_val=${'$as_ac_Header'}
   5244 		 $as_echo "$as_val"'`
   5245 	       { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
   5246 $as_echo "$ac_res" >&6; }
   5247 as_val=`eval 'as_val=${'$as_ac_Header'}
   5248 		 $as_echo "$as_val"'`
   5249    if test "x$as_val" = x""yes; then
   5250   cat >>confdefs.h <<_ACEOF
   5251 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   5252 _ACEOF
   5253 
   5254 fi
   5255 
   5256 done
   5257 
   5258 
   5259 
   5260 for ac_header in dlfcn.h
   5261 do
   5262 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   5263 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   5264   { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
   5265 $as_echo_n "checking for $ac_header... " >&6; }
   5266 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   5267   $as_echo_n "(cached) " >&6
   5268 fi
   5269 ac_res=`eval 'as_val=${'$as_ac_Header'}
   5270 		 $as_echo "$as_val"'`
   5271 	       { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
   5272 $as_echo "$ac_res" >&6; }
   5273 else
   5274   # Is the header compilable?
   5275 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
   5276 $as_echo_n "checking $ac_header usability... " >&6; }
   5277 cat >conftest.$ac_ext <<_ACEOF
   5278 /* confdefs.h.  */
   5279 _ACEOF
   5280 cat confdefs.h >>conftest.$ac_ext
   5281 cat >>conftest.$ac_ext <<_ACEOF
   5282 /* end confdefs.h.  */
   5283 $ac_includes_default
   5284 #include <$ac_header>
   5285 _ACEOF
   5286 rm -f conftest.$ac_objext
   5287 if { (ac_try="$ac_compile"
   5288 case "(($ac_try" in
   5289   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5290   *) ac_try_echo=$ac_try;;
   5291 esac
   5292 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5293 $as_echo "$ac_try_echo") >&5
   5294   (eval "$ac_compile") 2>conftest.er1
   5295   ac_status=$?
   5296   grep -v '^ *+' conftest.er1 >conftest.err
   5297   rm -f conftest.er1
   5298   cat conftest.err >&5
   5299   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5300   (exit $ac_status); } && {
   5301 	 test -z "$ac_c_werror_flag" ||
   5302 	 test ! -s conftest.err
   5303        } && test -s conftest.$ac_objext; then
   5304   ac_header_compiler=yes
   5305 else
   5306   $as_echo "$as_me: failed program was:" >&5
   5307 sed 's/^/| /' conftest.$ac_ext >&5
   5308 
   5309 	ac_header_compiler=no
   5310 fi
   5311 
   5312 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5313 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
   5314 $as_echo "$ac_header_compiler" >&6; }
   5315 
   5316 # Is the header present?
   5317 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
   5318 $as_echo_n "checking $ac_header presence... " >&6; }
   5319 cat >conftest.$ac_ext <<_ACEOF
   5320 /* confdefs.h.  */
   5321 _ACEOF
   5322 cat confdefs.h >>conftest.$ac_ext
   5323 cat >>conftest.$ac_ext <<_ACEOF
   5324 /* end confdefs.h.  */
   5325 #include <$ac_header>
   5326 _ACEOF
   5327 if { (ac_try="$ac_cpp conftest.$ac_ext"
   5328 case "(($ac_try" in
   5329   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5330   *) ac_try_echo=$ac_try;;
   5331 esac
   5332 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5333 $as_echo "$ac_try_echo") >&5
   5334   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   5335   ac_status=$?
   5336   grep -v '^ *+' conftest.er1 >conftest.err
   5337   rm -f conftest.er1
   5338   cat conftest.err >&5
   5339   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5340   (exit $ac_status); } >/dev/null && {
   5341 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   5342 	 test ! -s conftest.err
   5343        }; then
   5344   ac_header_preproc=yes
   5345 else
   5346   $as_echo "$as_me: failed program was:" >&5
   5347 sed 's/^/| /' conftest.$ac_ext >&5
   5348 
   5349   ac_header_preproc=no
   5350 fi
   5351 
   5352 rm -f conftest.err conftest.$ac_ext
   5353 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
   5354 $as_echo "$ac_header_preproc" >&6; }
   5355 
   5356 # So?  What about this header?
   5357 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
   5358   yes:no: )
   5359     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
   5360 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
   5361     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
   5362 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
   5363     ac_header_preproc=yes
   5364     ;;
   5365   no:yes:* )
   5366     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
   5367 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
   5368     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
   5369 $as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
   5370     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
   5371 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
   5372     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
   5373 $as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
   5374     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
   5375 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
   5376     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
   5377 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
   5378     ( cat <<\_ASBOX
   5379 ## ---------------------------------------------------------------------- ##
   5380 ## Report this to https://bugs.freedesktop.org/enter_bug.cgi?product=xorg ##
   5381 ## ---------------------------------------------------------------------- ##
   5382 _ASBOX
   5383      ) | sed "s/^/$as_me: WARNING:     /" >&2
   5384     ;;
   5385 esac
   5386 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
   5387 $as_echo_n "checking for $ac_header... " >&6; }
   5388 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   5389   $as_echo_n "(cached) " >&6
   5390 else
   5391   eval "$as_ac_Header=\$ac_header_preproc"
   5392 fi
   5393 ac_res=`eval 'as_val=${'$as_ac_Header'}
   5394 		 $as_echo "$as_val"'`
   5395 	       { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
   5396 $as_echo "$ac_res" >&6; }
   5397 
   5398 fi
   5399 as_val=`eval 'as_val=${'$as_ac_Header'}
   5400 		 $as_echo "$as_val"'`
   5401    if test "x$as_val" = x""yes; then
   5402   cat >>confdefs.h <<_ACEOF
   5403 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   5404 _ACEOF
   5405 
   5406 fi
   5407 
   5408 done
   5409 
   5410 ac_ext=cpp
   5411 ac_cpp='$CXXCPP $CPPFLAGS'
   5412 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5413 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5414 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   5415 if test -z "$CXX"; then
   5416   if test -n "$CCC"; then
   5417     CXX=$CCC
   5418   else
   5419     if test -n "$ac_tool_prefix"; then
   5420   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
   5421   do
   5422     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   5423 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   5424 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   5425 $as_echo_n "checking for $ac_word... " >&6; }
   5426 if test "${ac_cv_prog_CXX+set}" = set; then
   5427   $as_echo_n "(cached) " >&6
   5428 else
   5429   if test -n "$CXX"; then
   5430   ac_cv_prog_CXX="$CXX" # Let the user override the test.
   5431 else
   5432 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5433 for as_dir in $PATH
   5434 do
   5435   IFS=$as_save_IFS
   5436   test -z "$as_dir" && as_dir=.
   5437   for ac_exec_ext in '' $ac_executable_extensions; do
   5438   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5439     ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
   5440     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   5441     break 2
   5442   fi
   5443 done
   5444 done
   5445 IFS=$as_save_IFS
   5446 
   5447 fi
   5448 fi
   5449 CXX=$ac_cv_prog_CXX
   5450 if test -n "$CXX"; then
   5451   { $as_echo "$as_me:$LINENO: result: $CXX" >&5
   5452 $as_echo "$CXX" >&6; }
   5453 else
   5454   { $as_echo "$as_me:$LINENO: result: no" >&5
   5455 $as_echo "no" >&6; }
   5456 fi
   5457 
   5458 
   5459     test -n "$CXX" && break
   5460   done
   5461 fi
   5462 if test -z "$CXX"; then
   5463   ac_ct_CXX=$CXX
   5464   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
   5465 do
   5466   # Extract the first word of "$ac_prog", so it can be a program name with args.
   5467 set dummy $ac_prog; ac_word=$2
   5468 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   5469 $as_echo_n "checking for $ac_word... " >&6; }
   5470 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
   5471   $as_echo_n "(cached) " >&6
   5472 else
   5473   if test -n "$ac_ct_CXX"; then
   5474   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
   5475 else
   5476 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5477 for as_dir in $PATH
   5478 do
   5479   IFS=$as_save_IFS
   5480   test -z "$as_dir" && as_dir=.
   5481   for ac_exec_ext in '' $ac_executable_extensions; do
   5482   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5483     ac_cv_prog_ac_ct_CXX="$ac_prog"
   5484     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   5485     break 2
   5486   fi
   5487 done
   5488 done
   5489 IFS=$as_save_IFS
   5490 
   5491 fi
   5492 fi
   5493 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
   5494 if test -n "$ac_ct_CXX"; then
   5495   { $as_echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
   5496 $as_echo "$ac_ct_CXX" >&6; }
   5497 else
   5498   { $as_echo "$as_me:$LINENO: result: no" >&5
   5499 $as_echo "no" >&6; }
   5500 fi
   5501 
   5502 
   5503   test -n "$ac_ct_CXX" && break
   5504 done
   5505 
   5506   if test "x$ac_ct_CXX" = x; then
   5507     CXX="g++"
   5508   else
   5509     case $cross_compiling:$ac_tool_warned in
   5510 yes:)
   5511 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   5512 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5513 ac_tool_warned=yes ;;
   5514 esac
   5515     CXX=$ac_ct_CXX
   5516   fi
   5517 fi
   5518 
   5519   fi
   5520 fi
   5521 # Provide some information about the compiler.
   5522 $as_echo "$as_me:$LINENO: checking for C++ compiler version" >&5
   5523 set X $ac_compile
   5524 ac_compiler=$2
   5525 { (ac_try="$ac_compiler --version >&5"
   5526 case "(($ac_try" in
   5527   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5528   *) ac_try_echo=$ac_try;;
   5529 esac
   5530 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5531 $as_echo "$ac_try_echo") >&5
   5532   (eval "$ac_compiler --version >&5") 2>&5
   5533   ac_status=$?
   5534   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5535   (exit $ac_status); }
   5536 { (ac_try="$ac_compiler -v >&5"
   5537 case "(($ac_try" in
   5538   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5539   *) ac_try_echo=$ac_try;;
   5540 esac
   5541 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5542 $as_echo "$ac_try_echo") >&5
   5543   (eval "$ac_compiler -v >&5") 2>&5
   5544   ac_status=$?
   5545   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5546   (exit $ac_status); }
   5547 { (ac_try="$ac_compiler -V >&5"
   5548 case "(($ac_try" in
   5549   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5550   *) ac_try_echo=$ac_try;;
   5551 esac
   5552 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5553 $as_echo "$ac_try_echo") >&5
   5554   (eval "$ac_compiler -V >&5") 2>&5
   5555   ac_status=$?
   5556   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5557   (exit $ac_status); }
   5558 
   5559 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
   5560 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
   5561 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
   5562   $as_echo_n "(cached) " >&6
   5563 else
   5564   cat >conftest.$ac_ext <<_ACEOF
   5565 /* confdefs.h.  */
   5566 _ACEOF
   5567 cat confdefs.h >>conftest.$ac_ext
   5568 cat >>conftest.$ac_ext <<_ACEOF
   5569 /* end confdefs.h.  */
   5570 
   5571 int
   5572 main ()
   5573 {
   5574 #ifndef __GNUC__
   5575        choke me
   5576 #endif
   5577 
   5578   ;
   5579   return 0;
   5580 }
   5581 _ACEOF
   5582 rm -f conftest.$ac_objext
   5583 if { (ac_try="$ac_compile"
   5584 case "(($ac_try" in
   5585   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5586   *) ac_try_echo=$ac_try;;
   5587 esac
   5588 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5589 $as_echo "$ac_try_echo") >&5
   5590   (eval "$ac_compile") 2>conftest.er1
   5591   ac_status=$?
   5592   grep -v '^ *+' conftest.er1 >conftest.err
   5593   rm -f conftest.er1
   5594   cat conftest.err >&5
   5595   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5596   (exit $ac_status); } && {
   5597 	 test -z "$ac_cxx_werror_flag" ||
   5598 	 test ! -s conftest.err
   5599        } && test -s conftest.$ac_objext; then
   5600   ac_compiler_gnu=yes
   5601 else
   5602   $as_echo "$as_me: failed program was:" >&5
   5603 sed 's/^/| /' conftest.$ac_ext >&5
   5604 
   5605 	ac_compiler_gnu=no
   5606 fi
   5607 
   5608 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5609 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
   5610 
   5611 fi
   5612 { $as_echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
   5613 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
   5614 if test $ac_compiler_gnu = yes; then
   5615   GXX=yes
   5616 else
   5617   GXX=
   5618 fi
   5619 ac_test_CXXFLAGS=${CXXFLAGS+set}
   5620 ac_save_CXXFLAGS=$CXXFLAGS
   5621 { $as_echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
   5622 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
   5623 if test "${ac_cv_prog_cxx_g+set}" = set; then
   5624   $as_echo_n "(cached) " >&6
   5625 else
   5626   ac_save_cxx_werror_flag=$ac_cxx_werror_flag
   5627    ac_cxx_werror_flag=yes
   5628    ac_cv_prog_cxx_g=no
   5629    CXXFLAGS="-g"
   5630    cat >conftest.$ac_ext <<_ACEOF
   5631 /* confdefs.h.  */
   5632 _ACEOF
   5633 cat confdefs.h >>conftest.$ac_ext
   5634 cat >>conftest.$ac_ext <<_ACEOF
   5635 /* end confdefs.h.  */
   5636 
   5637 int
   5638 main ()
   5639 {
   5640 
   5641   ;
   5642   return 0;
   5643 }
   5644 _ACEOF
   5645 rm -f conftest.$ac_objext
   5646 if { (ac_try="$ac_compile"
   5647 case "(($ac_try" in
   5648   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5649   *) ac_try_echo=$ac_try;;
   5650 esac
   5651 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5652 $as_echo "$ac_try_echo") >&5
   5653   (eval "$ac_compile") 2>conftest.er1
   5654   ac_status=$?
   5655   grep -v '^ *+' conftest.er1 >conftest.err
   5656   rm -f conftest.er1
   5657   cat conftest.err >&5
   5658   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5659   (exit $ac_status); } && {
   5660 	 test -z "$ac_cxx_werror_flag" ||
   5661 	 test ! -s conftest.err
   5662        } && test -s conftest.$ac_objext; then
   5663   ac_cv_prog_cxx_g=yes
   5664 else
   5665   $as_echo "$as_me: failed program was:" >&5
   5666 sed 's/^/| /' conftest.$ac_ext >&5
   5667 
   5668 	CXXFLAGS=""
   5669       cat >conftest.$ac_ext <<_ACEOF
   5670 /* confdefs.h.  */
   5671 _ACEOF
   5672 cat confdefs.h >>conftest.$ac_ext
   5673 cat >>conftest.$ac_ext <<_ACEOF
   5674 /* end confdefs.h.  */
   5675 
   5676 int
   5677 main ()
   5678 {
   5679 
   5680   ;
   5681   return 0;
   5682 }
   5683 _ACEOF
   5684 rm -f conftest.$ac_objext
   5685 if { (ac_try="$ac_compile"
   5686 case "(($ac_try" in
   5687   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5688   *) ac_try_echo=$ac_try;;
   5689 esac
   5690 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5691 $as_echo "$ac_try_echo") >&5
   5692   (eval "$ac_compile") 2>conftest.er1
   5693   ac_status=$?
   5694   grep -v '^ *+' conftest.er1 >conftest.err
   5695   rm -f conftest.er1
   5696   cat conftest.err >&5
   5697   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5698   (exit $ac_status); } && {
   5699 	 test -z "$ac_cxx_werror_flag" ||
   5700 	 test ! -s conftest.err
   5701        } && test -s conftest.$ac_objext; then
   5702   :
   5703 else
   5704   $as_echo "$as_me: failed program was:" >&5
   5705 sed 's/^/| /' conftest.$ac_ext >&5
   5706 
   5707 	ac_cxx_werror_flag=$ac_save_cxx_werror_flag
   5708 	 CXXFLAGS="-g"
   5709 	 cat >conftest.$ac_ext <<_ACEOF
   5710 /* confdefs.h.  */
   5711 _ACEOF
   5712 cat confdefs.h >>conftest.$ac_ext
   5713 cat >>conftest.$ac_ext <<_ACEOF
   5714 /* end confdefs.h.  */
   5715 
   5716 int
   5717 main ()
   5718 {
   5719 
   5720   ;
   5721   return 0;
   5722 }
   5723 _ACEOF
   5724 rm -f conftest.$ac_objext
   5725 if { (ac_try="$ac_compile"
   5726 case "(($ac_try" in
   5727   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5728   *) ac_try_echo=$ac_try;;
   5729 esac
   5730 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5731 $as_echo "$ac_try_echo") >&5
   5732   (eval "$ac_compile") 2>conftest.er1
   5733   ac_status=$?
   5734   grep -v '^ *+' conftest.er1 >conftest.err
   5735   rm -f conftest.er1
   5736   cat conftest.err >&5
   5737   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5738   (exit $ac_status); } && {
   5739 	 test -z "$ac_cxx_werror_flag" ||
   5740 	 test ! -s conftest.err
   5741        } && test -s conftest.$ac_objext; then
   5742   ac_cv_prog_cxx_g=yes
   5743 else
   5744   $as_echo "$as_me: failed program was:" >&5
   5745 sed 's/^/| /' conftest.$ac_ext >&5
   5746 
   5747 
   5748 fi
   5749 
   5750 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5751 fi
   5752 
   5753 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5754 fi
   5755 
   5756 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5757    ac_cxx_werror_flag=$ac_save_cxx_werror_flag
   5758 fi
   5759 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
   5760 $as_echo "$ac_cv_prog_cxx_g" >&6; }
   5761 if test "$ac_test_CXXFLAGS" = set; then
   5762   CXXFLAGS=$ac_save_CXXFLAGS
   5763 elif test $ac_cv_prog_cxx_g = yes; then
   5764   if test "$GXX" = yes; then
   5765     CXXFLAGS="-g -O2"
   5766   else
   5767     CXXFLAGS="-g"
   5768   fi
   5769 else
   5770   if test "$GXX" = yes; then
   5771     CXXFLAGS="-O2"
   5772   else
   5773     CXXFLAGS=
   5774   fi
   5775 fi
   5776 ac_ext=cpp
   5777 ac_cpp='$CXXCPP $CPPFLAGS'
   5778 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5779 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5780 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   5781 
   5782 depcc="$CXX"  am_compiler_list=
   5783 
   5784 { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
   5785 $as_echo_n "checking dependency style of $depcc... " >&6; }
   5786 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
   5787   $as_echo_n "(cached) " >&6
   5788 else
   5789   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   5790   # We make a subdir and do the tests there.  Otherwise we can end up
   5791   # making bogus files that we don't know about and never remove.  For
   5792   # instance it was reported that on HP-UX the gcc test will end up
   5793   # making a dummy file named `D' -- because `-MD' means `put the output
   5794   # in D'.
   5795   mkdir conftest.dir
   5796   # Copy depcomp to subdir because otherwise we won't find it if we're
   5797   # using a relative directory.
   5798   cp "$am_depcomp" conftest.dir
   5799   cd conftest.dir
   5800   # We will build objects and dependencies in a subdirectory because
   5801   # it helps to detect inapplicable dependency modes.  For instance
   5802   # both Tru64's cc and ICC support -MD to output dependencies as a
   5803   # side effect of compilation, but ICC will put the dependencies in
   5804   # the current directory while Tru64 will put them in the object
   5805   # directory.
   5806   mkdir sub
   5807 
   5808   am_cv_CXX_dependencies_compiler_type=none
   5809   if test "$am_compiler_list" = ""; then
   5810      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   5811   fi
   5812   am__universal=false
   5813   case " $depcc " in #(
   5814      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   5815      esac
   5816 
   5817   for depmode in $am_compiler_list; do
   5818     # Setup a source with many dependencies, because some compilers
   5819     # like to wrap large dependency lists on column 80 (with \), and
   5820     # we should not choose a depcomp mode which is confused by this.
   5821     #
   5822     # We need to recreate these files for each test, as the compiler may
   5823     # overwrite some of them when testing with obscure command lines.
   5824     # This happens at least with the AIX C compiler.
   5825     : > sub/conftest.c
   5826     for i in 1 2 3 4 5 6; do
   5827       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   5828       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
   5829       # Solaris 8's {/usr,}/bin/sh.
   5830       touch sub/conftst$i.h
   5831     done
   5832     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   5833 
   5834     # We check with `-c' and `-o' for the sake of the "dashmstdout"
   5835     # mode.  It turns out that the SunPro C++ compiler does not properly
   5836     # handle `-M -o', and we need to detect this.  Also, some Intel
   5837     # versions had trouble with output in subdirs
   5838     am__obj=sub/conftest.${OBJEXT-o}
   5839     am__minus_obj="-o $am__obj"
   5840     case $depmode in
   5841     gcc)
   5842       # This depmode causes a compiler race in universal mode.
   5843       test "$am__universal" = false || continue
   5844       ;;
   5845     nosideeffect)
   5846       # after this tag, mechanisms are not by side-effect, so they'll
   5847       # only be used when explicitly requested
   5848       if test "x$enable_dependency_tracking" = xyes; then
   5849 	continue
   5850       else
   5851 	break
   5852       fi
   5853       ;;
   5854     msvisualcpp | msvcmsys)
   5855       # This compiler won't grok `-c -o', but also, the minuso test has
   5856       # not run yet.  These depmodes are late enough in the game, and
   5857       # so weak that their functioning should not be impacted.
   5858       am__obj=conftest.${OBJEXT-o}
   5859       am__minus_obj=
   5860       ;;
   5861     none) break ;;
   5862     esac
   5863     if depmode=$depmode \
   5864        source=sub/conftest.c object=$am__obj \
   5865        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   5866        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   5867          >/dev/null 2>conftest.err &&
   5868        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   5869        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   5870        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   5871        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   5872       # icc doesn't choke on unknown options, it will just issue warnings
   5873       # or remarks (even with -Werror).  So we grep stderr for any message
   5874       # that says an option was ignored or not supported.
   5875       # When given -MP, icc 7.0 and 7.1 complain thusly:
   5876       #   icc: Command line warning: ignoring option '-M'; no argument required
   5877       # The diagnosis changed in icc 8.0:
   5878       #   icc: Command line remark: option '-MP' not supported
   5879       if (grep 'ignoring option' conftest.err ||
   5880           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   5881         am_cv_CXX_dependencies_compiler_type=$depmode
   5882         break
   5883       fi
   5884     fi
   5885   done
   5886 
   5887   cd ..
   5888   rm -rf conftest.dir
   5889 else
   5890   am_cv_CXX_dependencies_compiler_type=none
   5891 fi
   5892 
   5893 fi
   5894 { $as_echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
   5895 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
   5896 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
   5897 
   5898  if
   5899   test "x$enable_dependency_tracking" != xno \
   5900   && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
   5901   am__fastdepCXX_TRUE=
   5902   am__fastdepCXX_FALSE='#'
   5903 else
   5904   am__fastdepCXX_TRUE='#'
   5905   am__fastdepCXX_FALSE=
   5906 fi
   5907 
   5908 
   5909 
   5910 
   5911 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
   5912     ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
   5913     (test "X$CXX" != "Xg++"))) ; then
   5914   ac_ext=cpp
   5915 ac_cpp='$CXXCPP $CPPFLAGS'
   5916 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5917 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5918 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   5919 { $as_echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
   5920 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
   5921 if test -z "$CXXCPP"; then
   5922   if test "${ac_cv_prog_CXXCPP+set}" = set; then
   5923   $as_echo_n "(cached) " >&6
   5924 else
   5925       # Double quotes because CXXCPP needs to be expanded
   5926     for CXXCPP in "$CXX -E" "/lib/cpp"
   5927     do
   5928       ac_preproc_ok=false
   5929 for ac_cxx_preproc_warn_flag in '' yes
   5930 do
   5931   # Use a header file that comes with gcc, so configuring glibc
   5932   # with a fresh cross-compiler works.
   5933   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   5934   # <limits.h> exists even on freestanding compilers.
   5935   # On the NeXT, cc -E runs the code through the compiler's parser,
   5936   # not just through cpp. "Syntax error" is here to catch this case.
   5937   cat >conftest.$ac_ext <<_ACEOF
   5938 /* confdefs.h.  */
   5939 _ACEOF
   5940 cat confdefs.h >>conftest.$ac_ext
   5941 cat >>conftest.$ac_ext <<_ACEOF
   5942 /* end confdefs.h.  */
   5943 #ifdef __STDC__
   5944 # include <limits.h>
   5945 #else
   5946 # include <assert.h>
   5947 #endif
   5948 		     Syntax error
   5949 _ACEOF
   5950 if { (ac_try="$ac_cpp conftest.$ac_ext"
   5951 case "(($ac_try" in
   5952   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5953   *) ac_try_echo=$ac_try;;
   5954 esac
   5955 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5956 $as_echo "$ac_try_echo") >&5
   5957   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   5958   ac_status=$?
   5959   grep -v '^ *+' conftest.er1 >conftest.err
   5960   rm -f conftest.er1
   5961   cat conftest.err >&5
   5962   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5963   (exit $ac_status); } >/dev/null && {
   5964 	 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
   5965 	 test ! -s conftest.err
   5966        }; then
   5967   :
   5968 else
   5969   $as_echo "$as_me: failed program was:" >&5
   5970 sed 's/^/| /' conftest.$ac_ext >&5
   5971 
   5972   # Broken: fails on valid input.
   5973 continue
   5974 fi
   5975 
   5976 rm -f conftest.err conftest.$ac_ext
   5977 
   5978   # OK, works on sane cases.  Now check whether nonexistent headers
   5979   # can be detected and how.
   5980   cat >conftest.$ac_ext <<_ACEOF
   5981 /* confdefs.h.  */
   5982 _ACEOF
   5983 cat confdefs.h >>conftest.$ac_ext
   5984 cat >>conftest.$ac_ext <<_ACEOF
   5985 /* end confdefs.h.  */
   5986 #include <ac_nonexistent.h>
   5987 _ACEOF
   5988 if { (ac_try="$ac_cpp conftest.$ac_ext"
   5989 case "(($ac_try" in
   5990   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5991   *) ac_try_echo=$ac_try;;
   5992 esac
   5993 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5994 $as_echo "$ac_try_echo") >&5
   5995   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   5996   ac_status=$?
   5997   grep -v '^ *+' conftest.er1 >conftest.err
   5998   rm -f conftest.er1
   5999   cat conftest.err >&5
   6000   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6001   (exit $ac_status); } >/dev/null && {
   6002 	 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
   6003 	 test ! -s conftest.err
   6004        }; then
   6005   # Broken: success on invalid input.
   6006 continue
   6007 else
   6008   $as_echo "$as_me: failed program was:" >&5
   6009 sed 's/^/| /' conftest.$ac_ext >&5
   6010 
   6011   # Passes both tests.
   6012 ac_preproc_ok=:
   6013 break
   6014 fi
   6015 
   6016 rm -f conftest.err conftest.$ac_ext
   6017 
   6018 done
   6019 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   6020 rm -f conftest.err conftest.$ac_ext
   6021 if $ac_preproc_ok; then
   6022   break
   6023 fi
   6024 
   6025     done
   6026     ac_cv_prog_CXXCPP=$CXXCPP
   6027 
   6028 fi
   6029   CXXCPP=$ac_cv_prog_CXXCPP
   6030 else
   6031   ac_cv_prog_CXXCPP=$CXXCPP
   6032 fi
   6033 { $as_echo "$as_me:$LINENO: result: $CXXCPP" >&5
   6034 $as_echo "$CXXCPP" >&6; }
   6035 ac_preproc_ok=false
   6036 for ac_cxx_preproc_warn_flag in '' yes
   6037 do
   6038   # Use a header file that comes with gcc, so configuring glibc
   6039   # with a fresh cross-compiler works.
   6040   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   6041   # <limits.h> exists even on freestanding compilers.
   6042   # On the NeXT, cc -E runs the code through the compiler's parser,
   6043   # not just through cpp. "Syntax error" is here to catch this case.
   6044   cat >conftest.$ac_ext <<_ACEOF
   6045 /* confdefs.h.  */
   6046 _ACEOF
   6047 cat confdefs.h >>conftest.$ac_ext
   6048 cat >>conftest.$ac_ext <<_ACEOF
   6049 /* end confdefs.h.  */
   6050 #ifdef __STDC__
   6051 # include <limits.h>
   6052 #else
   6053 # include <assert.h>
   6054 #endif
   6055 		     Syntax error
   6056 _ACEOF
   6057 if { (ac_try="$ac_cpp conftest.$ac_ext"
   6058 case "(($ac_try" in
   6059   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6060   *) ac_try_echo=$ac_try;;
   6061 esac
   6062 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   6063 $as_echo "$ac_try_echo") >&5
   6064   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   6065   ac_status=$?
   6066   grep -v '^ *+' conftest.er1 >conftest.err
   6067   rm -f conftest.er1
   6068   cat conftest.err >&5
   6069   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6070   (exit $ac_status); } >/dev/null && {
   6071 	 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
   6072 	 test ! -s conftest.err
   6073        }; then
   6074   :
   6075 else
   6076   $as_echo "$as_me: failed program was:" >&5
   6077 sed 's/^/| /' conftest.$ac_ext >&5
   6078 
   6079   # Broken: fails on valid input.
   6080 continue
   6081 fi
   6082 
   6083 rm -f conftest.err conftest.$ac_ext
   6084 
   6085   # OK, works on sane cases.  Now check whether nonexistent headers
   6086   # can be detected and how.
   6087   cat >conftest.$ac_ext <<_ACEOF
   6088 /* confdefs.h.  */
   6089 _ACEOF
   6090 cat confdefs.h >>conftest.$ac_ext
   6091 cat >>conftest.$ac_ext <<_ACEOF
   6092 /* end confdefs.h.  */
   6093 #include <ac_nonexistent.h>
   6094 _ACEOF
   6095 if { (ac_try="$ac_cpp conftest.$ac_ext"
   6096 case "(($ac_try" in
   6097   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6098   *) ac_try_echo=$ac_try;;
   6099 esac
   6100 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   6101 $as_echo "$ac_try_echo") >&5
   6102   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   6103   ac_status=$?
   6104   grep -v '^ *+' conftest.er1 >conftest.err
   6105   rm -f conftest.er1
   6106   cat conftest.err >&5
   6107   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6108   (exit $ac_status); } >/dev/null && {
   6109 	 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
   6110 	 test ! -s conftest.err
   6111        }; then
   6112   # Broken: success on invalid input.
   6113 continue
   6114 else
   6115   $as_echo "$as_me: failed program was:" >&5
   6116 sed 's/^/| /' conftest.$ac_ext >&5
   6117 
   6118   # Passes both tests.
   6119 ac_preproc_ok=:
   6120 break
   6121 fi
   6122 
   6123 rm -f conftest.err conftest.$ac_ext
   6124 
   6125 done
   6126 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   6127 rm -f conftest.err conftest.$ac_ext
   6128 if $ac_preproc_ok; then
   6129   :
   6130 else
   6131   { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   6132 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   6133 { { $as_echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
   6134 See \`config.log' for more details." >&5
   6135 $as_echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
   6136 See \`config.log' for more details." >&2;}
   6137    { (exit 1); exit 1; }; }; }
   6138 fi
   6139 
   6140 ac_ext=cpp
   6141 ac_cpp='$CXXCPP $CPPFLAGS'
   6142 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   6143 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   6144 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   6145 
   6146 fi
   6147 
   6148 
   6149 ac_ext=f
   6150 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
   6151 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   6152 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
   6153 if test -n "$ac_tool_prefix"; then
   6154   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
   6155   do
   6156     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   6157 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   6158 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   6159 $as_echo_n "checking for $ac_word... " >&6; }
   6160 if test "${ac_cv_prog_F77+set}" = set; then
   6161   $as_echo_n "(cached) " >&6
   6162 else
   6163   if test -n "$F77"; then
   6164   ac_cv_prog_F77="$F77" # Let the user override the test.
   6165 else
   6166 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6167 for as_dir in $PATH
   6168 do
   6169   IFS=$as_save_IFS
   6170   test -z "$as_dir" && as_dir=.
   6171   for ac_exec_ext in '' $ac_executable_extensions; do
   6172   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6173     ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
   6174     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6175     break 2
   6176   fi
   6177 done
   6178 done
   6179 IFS=$as_save_IFS
   6180 
   6181 fi
   6182 fi
   6183 F77=$ac_cv_prog_F77
   6184 if test -n "$F77"; then
   6185   { $as_echo "$as_me:$LINENO: result: $F77" >&5
   6186 $as_echo "$F77" >&6; }
   6187 else
   6188   { $as_echo "$as_me:$LINENO: result: no" >&5
   6189 $as_echo "no" >&6; }
   6190 fi
   6191 
   6192 
   6193     test -n "$F77" && break
   6194   done
   6195 fi
   6196 if test -z "$F77"; then
   6197   ac_ct_F77=$F77
   6198   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
   6199 do
   6200   # Extract the first word of "$ac_prog", so it can be a program name with args.
   6201 set dummy $ac_prog; ac_word=$2
   6202 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   6203 $as_echo_n "checking for $ac_word... " >&6; }
   6204 if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
   6205   $as_echo_n "(cached) " >&6
   6206 else
   6207   if test -n "$ac_ct_F77"; then
   6208   ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test.
   6209 else
   6210 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6211 for as_dir in $PATH
   6212 do
   6213   IFS=$as_save_IFS
   6214   test -z "$as_dir" && as_dir=.
   6215   for ac_exec_ext in '' $ac_executable_extensions; do
   6216   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6217     ac_cv_prog_ac_ct_F77="$ac_prog"
   6218     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6219     break 2
   6220   fi
   6221 done
   6222 done
   6223 IFS=$as_save_IFS
   6224 
   6225 fi
   6226 fi
   6227 ac_ct_F77=$ac_cv_prog_ac_ct_F77
   6228 if test -n "$ac_ct_F77"; then
   6229   { $as_echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
   6230 $as_echo "$ac_ct_F77" >&6; }
   6231 else
   6232   { $as_echo "$as_me:$LINENO: result: no" >&5
   6233 $as_echo "no" >&6; }
   6234 fi
   6235 
   6236 
   6237   test -n "$ac_ct_F77" && break
   6238 done
   6239 
   6240   if test "x$ac_ct_F77" = x; then
   6241     F77=""
   6242   else
   6243     case $cross_compiling:$ac_tool_warned in
   6244 yes:)
   6245 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   6246 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6247 ac_tool_warned=yes ;;
   6248 esac
   6249     F77=$ac_ct_F77
   6250   fi
   6251 fi
   6252 
   6253 
   6254 # Provide some information about the compiler.
   6255 $as_echo "$as_me:$LINENO: checking for Fortran 77 compiler version" >&5
   6256 set X $ac_compile
   6257 ac_compiler=$2
   6258 { (ac_try="$ac_compiler --version >&5"
   6259 case "(($ac_try" in
   6260   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6261   *) ac_try_echo=$ac_try;;
   6262 esac
   6263 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   6264 $as_echo "$ac_try_echo") >&5
   6265   (eval "$ac_compiler --version >&5") 2>&5
   6266   ac_status=$?
   6267   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6268   (exit $ac_status); }
   6269 { (ac_try="$ac_compiler -v >&5"
   6270 case "(($ac_try" in
   6271   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6272   *) ac_try_echo=$ac_try;;
   6273 esac
   6274 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   6275 $as_echo "$ac_try_echo") >&5
   6276   (eval "$ac_compiler -v >&5") 2>&5
   6277   ac_status=$?
   6278   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6279   (exit $ac_status); }
   6280 { (ac_try="$ac_compiler -V >&5"
   6281 case "(($ac_try" in
   6282   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6283   *) ac_try_echo=$ac_try;;
   6284 esac
   6285 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   6286 $as_echo "$ac_try_echo") >&5
   6287   (eval "$ac_compiler -V >&5") 2>&5
   6288   ac_status=$?
   6289   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6290   (exit $ac_status); }
   6291 rm -f a.out
   6292 
   6293 # If we don't use `.F' as extension, the preprocessor is not run on the
   6294 # input file.  (Note that this only needs to work for GNU compilers.)
   6295 ac_save_ext=$ac_ext
   6296 ac_ext=F
   6297 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
   6298 $as_echo_n "checking whether we are using the GNU Fortran 77 compiler... " >&6; }
   6299 if test "${ac_cv_f77_compiler_gnu+set}" = set; then
   6300   $as_echo_n "(cached) " >&6
   6301 else
   6302   cat >conftest.$ac_ext <<_ACEOF
   6303       program main
   6304 #ifndef __GNUC__
   6305        choke me
   6306 #endif
   6307 
   6308       end
   6309 _ACEOF
   6310 rm -f conftest.$ac_objext
   6311 if { (ac_try="$ac_compile"
   6312 case "(($ac_try" in
   6313   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6314   *) ac_try_echo=$ac_try;;
   6315 esac
   6316 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   6317 $as_echo "$ac_try_echo") >&5
   6318   (eval "$ac_compile") 2>conftest.er1
   6319   ac_status=$?
   6320   grep -v '^ *+' conftest.er1 >conftest.err
   6321   rm -f conftest.er1
   6322   cat conftest.err >&5
   6323   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6324   (exit $ac_status); } && {
   6325 	 test -z "$ac_f77_werror_flag" ||
   6326 	 test ! -s conftest.err
   6327        } && test -s conftest.$ac_objext; then
   6328   ac_compiler_gnu=yes
   6329 else
   6330   $as_echo "$as_me: failed program was:" >&5
   6331 sed 's/^/| /' conftest.$ac_ext >&5
   6332 
   6333 	ac_compiler_gnu=no
   6334 fi
   6335 
   6336 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6337 ac_cv_f77_compiler_gnu=$ac_compiler_gnu
   6338 
   6339 fi
   6340 { $as_echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
   6341 $as_echo "$ac_cv_f77_compiler_gnu" >&6; }
   6342 ac_ext=$ac_save_ext
   6343 ac_test_FFLAGS=${FFLAGS+set}
   6344 ac_save_FFLAGS=$FFLAGS
   6345 FFLAGS=
   6346 { $as_echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
   6347 $as_echo_n "checking whether $F77 accepts -g... " >&6; }
   6348 if test "${ac_cv_prog_f77_g+set}" = set; then
   6349   $as_echo_n "(cached) " >&6
   6350 else
   6351   FFLAGS=-g
   6352 cat >conftest.$ac_ext <<_ACEOF
   6353       program main
   6354 
   6355       end
   6356 _ACEOF
   6357 rm -f conftest.$ac_objext
   6358 if { (ac_try="$ac_compile"
   6359 case "(($ac_try" in
   6360   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6361   *) ac_try_echo=$ac_try;;
   6362 esac
   6363 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   6364 $as_echo "$ac_try_echo") >&5
   6365   (eval "$ac_compile") 2>conftest.er1
   6366   ac_status=$?
   6367   grep -v '^ *+' conftest.er1 >conftest.err
   6368   rm -f conftest.er1
   6369   cat conftest.err >&5
   6370   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6371   (exit $ac_status); } && {
   6372 	 test -z "$ac_f77_werror_flag" ||
   6373 	 test ! -s conftest.err
   6374        } && test -s conftest.$ac_objext; then
   6375   ac_cv_prog_f77_g=yes
   6376 else
   6377   $as_echo "$as_me: failed program was:" >&5
   6378 sed 's/^/| /' conftest.$ac_ext >&5
   6379 
   6380 	ac_cv_prog_f77_g=no
   6381 fi
   6382 
   6383 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6384 
   6385 fi
   6386 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
   6387 $as_echo "$ac_cv_prog_f77_g" >&6; }
   6388 if test "$ac_test_FFLAGS" = set; then
   6389   FFLAGS=$ac_save_FFLAGS
   6390 elif test $ac_cv_prog_f77_g = yes; then
   6391   if test "x$ac_cv_f77_compiler_gnu" = xyes; then
   6392     FFLAGS="-g -O2"
   6393   else
   6394     FFLAGS="-g"
   6395   fi
   6396 else
   6397   if test "x$ac_cv_f77_compiler_gnu" = xyes; then
   6398     FFLAGS="-O2"
   6399   else
   6400     FFLAGS=
   6401   fi
   6402 fi
   6403 
   6404 if test $ac_compiler_gnu = yes; then
   6405   G77=yes
   6406 else
   6407   G77=
   6408 fi
   6409 ac_ext=c
   6410 ac_cpp='$CPP $CPPFLAGS'
   6411 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   6412 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   6413 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   6414 
   6415 
   6416 
   6417 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
   6418 # find the maximum length of command line arguments
   6419 { $as_echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
   6420 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
   6421 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
   6422   $as_echo_n "(cached) " >&6
   6423 else
   6424     i=0
   6425   teststring="ABCD"
   6426 
   6427   case $build_os in
   6428   msdosdjgpp*)
   6429     # On DJGPP, this test can blow up pretty badly due to problems in libc
   6430     # (any single argument exceeding 2000 bytes causes a buffer overrun
   6431     # during glob expansion).  Even if it were fixed, the result of this
   6432     # check would be larger than it should be.
   6433     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
   6434     ;;
   6435 
   6436   gnu*)
   6437     # Under GNU Hurd, this test is not required because there is
   6438     # no limit to the length of command line arguments.
   6439     # Libtool will interpret -1 as no limit whatsoever
   6440     lt_cv_sys_max_cmd_len=-1;
   6441     ;;
   6442 
   6443   cygwin* | mingw*)
   6444     # On Win9x/ME, this test blows up -- it succeeds, but takes
   6445     # about 5 minutes as the teststring grows exponentially.
   6446     # Worse, since 9x/ME are not pre-emptively multitasking,
   6447     # you end up with a "frozen" computer, even though with patience
   6448     # the test eventually succeeds (with a max line length of 256k).
   6449     # Instead, let's just punt: use the minimum linelength reported by
   6450     # all of the supported platforms: 8192 (on NT/2K/XP).
   6451     lt_cv_sys_max_cmd_len=8192;
   6452     ;;
   6453 
   6454   amigaos*)
   6455     # On AmigaOS with pdksh, this test takes hours, literally.
   6456     # So we just punt and use a minimum line length of 8192.
   6457     lt_cv_sys_max_cmd_len=8192;
   6458     ;;
   6459 
   6460   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
   6461     # This has been around since 386BSD, at least.  Likely further.
   6462     if test -x /sbin/sysctl; then
   6463       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
   6464     elif test -x /usr/sbin/sysctl; then
   6465       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
   6466     else
   6467       lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
   6468     fi
   6469     # And add a safety zone
   6470     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   6471     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   6472     ;;
   6473 
   6474   interix*)
   6475     # We know the value 262144 and hardcode it with a safety zone (like BSD)
   6476     lt_cv_sys_max_cmd_len=196608
   6477     ;;
   6478 
   6479   osf*)
   6480     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
   6481     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
   6482     # nice to cause kernel panics so lets avoid the loop below.
   6483     # First set a reasonable default.
   6484     lt_cv_sys_max_cmd_len=16384
   6485     #
   6486     if test -x /sbin/sysconfig; then
   6487       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
   6488         *1*) lt_cv_sys_max_cmd_len=-1 ;;
   6489       esac
   6490     fi
   6491     ;;
   6492   sco3.2v5*)
   6493     lt_cv_sys_max_cmd_len=102400
   6494     ;;
   6495   sysv5* | sco5v6* | sysv4.2uw2*)
   6496     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
   6497     if test -n "$kargmax"; then
   6498       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ 	]//'`
   6499     else
   6500       lt_cv_sys_max_cmd_len=32768
   6501     fi
   6502     ;;
   6503   *)
   6504     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
   6505     if test -n "$lt_cv_sys_max_cmd_len"; then
   6506       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   6507       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   6508     else
   6509       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
   6510       while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
   6511 	       = "XX$teststring") >/dev/null 2>&1 &&
   6512 	      new_result=`expr "X$teststring" : ".*" 2>&1` &&
   6513 	      lt_cv_sys_max_cmd_len=$new_result &&
   6514 	      test $i != 17 # 1/2 MB should be enough
   6515       do
   6516         i=`expr $i + 1`
   6517         teststring=$teststring$teststring
   6518       done
   6519       teststring=
   6520       # Add a significant safety factor because C++ compilers can tack on massive
   6521       # amounts of additional arguments before passing them to the linker.
   6522       # It appears as though 1/2 is a usable value.
   6523       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
   6524     fi
   6525     ;;
   6526   esac
   6527 
   6528 fi
   6529 
   6530 if test -n $lt_cv_sys_max_cmd_len ; then
   6531   { $as_echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
   6532 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
   6533 else
   6534   { $as_echo "$as_me:$LINENO: result: none" >&5
   6535 $as_echo "none" >&6; }
   6536 fi
   6537 
   6538 
   6539 
   6540 
   6541 
   6542 # Check for command to grab the raw symbol name followed by C symbol from nm.
   6543 { $as_echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
   6544 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
   6545 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
   6546   $as_echo_n "(cached) " >&6
   6547 else
   6548 
   6549 # These are sane defaults that work on at least a few old systems.
   6550 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
   6551 
   6552 # Character class describing NM global symbol codes.
   6553 symcode='[BCDEGRST]'
   6554 
   6555 # Regexp to match symbols that can be accessed directly from C.
   6556 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
   6557 
   6558 # Transform an extracted symbol line into a proper C declaration
   6559 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
   6560 
   6561 # Transform an extracted symbol line into symbol name and symbol address
   6562 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'"
   6563 
   6564 # Define system-specific variables.
   6565 case $host_os in
   6566 aix*)
   6567   symcode='[BCDT]'
   6568   ;;
   6569 cygwin* | mingw* | pw32*)
   6570   symcode='[ABCDGISTW]'
   6571   ;;
   6572 hpux*) # Its linker distinguishes data from code symbols
   6573   if test "$host_cpu" = ia64; then
   6574     symcode='[ABCDEGRST]'
   6575   fi
   6576   lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
   6577   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'"
   6578   ;;
   6579 linux* | k*bsd*-gnu)
   6580   if test "$host_cpu" = ia64; then
   6581     symcode='[ABCDGIRSTW]'
   6582     lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
   6583     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'"
   6584   fi
   6585   ;;
   6586 irix* | nonstopux*)
   6587   symcode='[BCDEGRST]'
   6588   ;;
   6589 osf*)
   6590   symcode='[BCDEGQRST]'
   6591   ;;
   6592 solaris*)
   6593   symcode='[BDRT]'
   6594   ;;
   6595 sco3.2v5*)
   6596   symcode='[DT]'
   6597   ;;
   6598 sysv4.2uw2*)
   6599   symcode='[DT]'
   6600   ;;
   6601 sysv5* | sco5v6* | unixware* | OpenUNIX*)
   6602   symcode='[ABDT]'
   6603   ;;
   6604 sysv4)
   6605   symcode='[DFNSTU]'
   6606   ;;
   6607 esac
   6608 
   6609 # Handle CRLF in mingw tool chain
   6610 opt_cr=
   6611 case $build_os in
   6612 mingw*)
   6613   opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
   6614   ;;
   6615 esac
   6616 
   6617 # If we're using GNU nm, then use its standard symbol codes.
   6618 case `$NM -V 2>&1` in
   6619 *GNU* | *'with BFD'*)
   6620   symcode='[ABCDGIRSTW]' ;;
   6621 esac
   6622 
   6623 # Try without a prefix undercore, then with it.
   6624 for ac_symprfx in "" "_"; do
   6625 
   6626   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
   6627   symxfrm="\\1 $ac_symprfx\\2 \\2"
   6628 
   6629   # Write the raw and C identifiers.
   6630   lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ 	]\($symcode$symcode*\)[ 	][ 	]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
   6631 
   6632   # Check to see that the pipe works correctly.
   6633   pipe_works=no
   6634 
   6635   rm -f conftest*
   6636   cat > conftest.$ac_ext <<EOF
   6637 #ifdef __cplusplus
   6638 extern "C" {
   6639 #endif
   6640 char nm_test_var;
   6641 void nm_test_func(){}
   6642 #ifdef __cplusplus
   6643 }
   6644 #endif
   6645 int main(){nm_test_var='a';nm_test_func();return(0);}
   6646 EOF
   6647 
   6648   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   6649   (eval $ac_compile) 2>&5
   6650   ac_status=$?
   6651   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6652   (exit $ac_status); }; then
   6653     # Now try to grab the symbols.
   6654     nlist=conftest.nm
   6655     if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
   6656   (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
   6657   ac_status=$?
   6658   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6659   (exit $ac_status); } && test -s "$nlist"; then
   6660       # Try sorting and uniquifying the output.
   6661       if sort "$nlist" | uniq > "$nlist"T; then
   6662 	mv -f "$nlist"T "$nlist"
   6663       else
   6664 	rm -f "$nlist"T
   6665       fi
   6666 
   6667       # Make sure that we snagged all the symbols we need.
   6668       if grep ' nm_test_var$' "$nlist" >/dev/null; then
   6669 	if grep ' nm_test_func$' "$nlist" >/dev/null; then
   6670 	  cat <<EOF > conftest.$ac_ext
   6671 #ifdef __cplusplus
   6672 extern "C" {
   6673 #endif
   6674 
   6675 EOF
   6676 	  # Now generate the symbol file.
   6677 	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
   6678 
   6679 	  cat <<EOF >> conftest.$ac_ext
   6680 #if defined (__STDC__) && __STDC__
   6681 # define lt_ptr_t void *
   6682 #else
   6683 # define lt_ptr_t char *
   6684 # define const
   6685 #endif
   6686 
   6687 /* The mapping between symbol names and symbols. */
   6688 const struct {
   6689   const char *name;
   6690   lt_ptr_t address;
   6691 }
   6692 lt_preloaded_symbols[] =
   6693 {
   6694 EOF
   6695 	  $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext
   6696 	  cat <<\EOF >> conftest.$ac_ext
   6697   {0, (lt_ptr_t) 0}
   6698 };
   6699 
   6700 #ifdef __cplusplus
   6701 }
   6702 #endif
   6703 EOF
   6704 	  # Now try linking the two files.
   6705 	  mv conftest.$ac_objext conftstm.$ac_objext
   6706 	  lt_save_LIBS="$LIBS"
   6707 	  lt_save_CFLAGS="$CFLAGS"
   6708 	  LIBS="conftstm.$ac_objext"
   6709 	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
   6710 	  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   6711   (eval $ac_link) 2>&5
   6712   ac_status=$?
   6713   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6714   (exit $ac_status); } && test -s conftest${ac_exeext}; then
   6715 	    pipe_works=yes
   6716 	  fi
   6717 	  LIBS="$lt_save_LIBS"
   6718 	  CFLAGS="$lt_save_CFLAGS"
   6719 	else
   6720 	  echo "cannot find nm_test_func in $nlist" >&5
   6721 	fi
   6722       else
   6723 	echo "cannot find nm_test_var in $nlist" >&5
   6724       fi
   6725     else
   6726       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
   6727     fi
   6728   else
   6729     echo "$progname: failed program was:" >&5
   6730     cat conftest.$ac_ext >&5
   6731   fi
   6732   rm -rf conftest* conftst*
   6733 
   6734   # Do not use the global_symbol_pipe unless it works.
   6735   if test "$pipe_works" = yes; then
   6736     break
   6737   else
   6738     lt_cv_sys_global_symbol_pipe=
   6739   fi
   6740 done
   6741 
   6742 fi
   6743 
   6744 if test -z "$lt_cv_sys_global_symbol_pipe"; then
   6745   lt_cv_sys_global_symbol_to_cdecl=
   6746 fi
   6747 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
   6748   { $as_echo "$as_me:$LINENO: result: failed" >&5
   6749 $as_echo "failed" >&6; }
   6750 else
   6751   { $as_echo "$as_me:$LINENO: result: ok" >&5
   6752 $as_echo "ok" >&6; }
   6753 fi
   6754 
   6755 { $as_echo "$as_me:$LINENO: checking for objdir" >&5
   6756 $as_echo_n "checking for objdir... " >&6; }
   6757 if test "${lt_cv_objdir+set}" = set; then
   6758   $as_echo_n "(cached) " >&6
   6759 else
   6760   rm -f .libs 2>/dev/null
   6761 mkdir .libs 2>/dev/null
   6762 if test -d .libs; then
   6763   lt_cv_objdir=.libs
   6764 else
   6765   # MS-DOS does not allow filenames that begin with a dot.
   6766   lt_cv_objdir=_libs
   6767 fi
   6768 rmdir .libs 2>/dev/null
   6769 fi
   6770 { $as_echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
   6771 $as_echo "$lt_cv_objdir" >&6; }
   6772 objdir=$lt_cv_objdir
   6773 
   6774 
   6775 
   6776 
   6777 
   6778 case $host_os in
   6779 aix3*)
   6780   # AIX sometimes has problems with the GCC collect2 program.  For some
   6781   # reason, if we set the COLLECT_NAMES environment variable, the problems
   6782   # vanish in a puff of smoke.
   6783   if test "X${COLLECT_NAMES+set}" != Xset; then
   6784     COLLECT_NAMES=
   6785     export COLLECT_NAMES
   6786   fi
   6787   ;;
   6788 esac
   6789 
   6790 # Sed substitution that helps us do robust quoting.  It backslashifies
   6791 # metacharacters that are still active within double-quoted strings.
   6792 Xsed='sed -e 1s/^X//'
   6793 sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g'
   6794 
   6795 # Same as above, but do not quote variable references.
   6796 double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g'
   6797 
   6798 # Sed substitution to delay expansion of an escaped shell variable in a
   6799 # double_quote_subst'ed string.
   6800 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
   6801 
   6802 # Sed substitution to avoid accidental globbing in evaled expressions
   6803 no_glob_subst='s/\*/\\\*/g'
   6804 
   6805 # Constants:
   6806 rm="rm -f"
   6807 
   6808 # Global variables:
   6809 default_ofile=libtool
   6810 can_build_shared=yes
   6811 
   6812 # All known linkers require a `.a' archive for static linking (except MSVC,
   6813 # which needs '.lib').
   6814 libext=a
   6815 ltmain="$ac_aux_dir/ltmain.sh"
   6816 ofile="$default_ofile"
   6817 with_gnu_ld="$lt_cv_prog_gnu_ld"
   6818 
   6819 if test -n "$ac_tool_prefix"; then
   6820   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
   6821 set dummy ${ac_tool_prefix}ar; ac_word=$2
   6822 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   6823 $as_echo_n "checking for $ac_word... " >&6; }
   6824 if test "${ac_cv_prog_AR+set}" = set; then
   6825   $as_echo_n "(cached) " >&6
   6826 else
   6827   if test -n "$AR"; then
   6828   ac_cv_prog_AR="$AR" # Let the user override the test.
   6829 else
   6830 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6831 for as_dir in $PATH
   6832 do
   6833   IFS=$as_save_IFS
   6834   test -z "$as_dir" && as_dir=.
   6835   for ac_exec_ext in '' $ac_executable_extensions; do
   6836   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6837     ac_cv_prog_AR="${ac_tool_prefix}ar"
   6838     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6839     break 2
   6840   fi
   6841 done
   6842 done
   6843 IFS=$as_save_IFS
   6844 
   6845 fi
   6846 fi
   6847 AR=$ac_cv_prog_AR
   6848 if test -n "$AR"; then
   6849   { $as_echo "$as_me:$LINENO: result: $AR" >&5
   6850 $as_echo "$AR" >&6; }
   6851 else
   6852   { $as_echo "$as_me:$LINENO: result: no" >&5
   6853 $as_echo "no" >&6; }
   6854 fi
   6855 
   6856 
   6857 fi
   6858 if test -z "$ac_cv_prog_AR"; then
   6859   ac_ct_AR=$AR
   6860   # Extract the first word of "ar", so it can be a program name with args.
   6861 set dummy ar; ac_word=$2
   6862 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   6863 $as_echo_n "checking for $ac_word... " >&6; }
   6864 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
   6865   $as_echo_n "(cached) " >&6
   6866 else
   6867   if test -n "$ac_ct_AR"; then
   6868   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
   6869 else
   6870 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6871 for as_dir in $PATH
   6872 do
   6873   IFS=$as_save_IFS
   6874   test -z "$as_dir" && as_dir=.
   6875   for ac_exec_ext in '' $ac_executable_extensions; do
   6876   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6877     ac_cv_prog_ac_ct_AR="ar"
   6878     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6879     break 2
   6880   fi
   6881 done
   6882 done
   6883 IFS=$as_save_IFS
   6884 
   6885 fi
   6886 fi
   6887 ac_ct_AR=$ac_cv_prog_ac_ct_AR
   6888 if test -n "$ac_ct_AR"; then
   6889   { $as_echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
   6890 $as_echo "$ac_ct_AR" >&6; }
   6891 else
   6892   { $as_echo "$as_me:$LINENO: result: no" >&5
   6893 $as_echo "no" >&6; }
   6894 fi
   6895 
   6896   if test "x$ac_ct_AR" = x; then
   6897     AR="false"
   6898   else
   6899     case $cross_compiling:$ac_tool_warned in
   6900 yes:)
   6901 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   6902 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6903 ac_tool_warned=yes ;;
   6904 esac
   6905     AR=$ac_ct_AR
   6906   fi
   6907 else
   6908   AR="$ac_cv_prog_AR"
   6909 fi
   6910 
   6911 if test -n "$ac_tool_prefix"; then
   6912   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
   6913 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
   6914 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   6915 $as_echo_n "checking for $ac_word... " >&6; }
   6916 if test "${ac_cv_prog_RANLIB+set}" = set; then
   6917   $as_echo_n "(cached) " >&6
   6918 else
   6919   if test -n "$RANLIB"; then
   6920   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
   6921 else
   6922 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6923 for as_dir in $PATH
   6924 do
   6925   IFS=$as_save_IFS
   6926   test -z "$as_dir" && as_dir=.
   6927   for ac_exec_ext in '' $ac_executable_extensions; do
   6928   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6929     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
   6930     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6931     break 2
   6932   fi
   6933 done
   6934 done
   6935 IFS=$as_save_IFS
   6936 
   6937 fi
   6938 fi
   6939 RANLIB=$ac_cv_prog_RANLIB
   6940 if test -n "$RANLIB"; then
   6941   { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
   6942 $as_echo "$RANLIB" >&6; }
   6943 else
   6944   { $as_echo "$as_me:$LINENO: result: no" >&5
   6945 $as_echo "no" >&6; }
   6946 fi
   6947 
   6948 
   6949 fi
   6950 if test -z "$ac_cv_prog_RANLIB"; then
   6951   ac_ct_RANLIB=$RANLIB
   6952   # Extract the first word of "ranlib", so it can be a program name with args.
   6953 set dummy ranlib; ac_word=$2
   6954 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   6955 $as_echo_n "checking for $ac_word... " >&6; }
   6956 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
   6957   $as_echo_n "(cached) " >&6
   6958 else
   6959   if test -n "$ac_ct_RANLIB"; then
   6960   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
   6961 else
   6962 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6963 for as_dir in $PATH
   6964 do
   6965   IFS=$as_save_IFS
   6966   test -z "$as_dir" && as_dir=.
   6967   for ac_exec_ext in '' $ac_executable_extensions; do
   6968   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6969     ac_cv_prog_ac_ct_RANLIB="ranlib"
   6970     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6971     break 2
   6972   fi
   6973 done
   6974 done
   6975 IFS=$as_save_IFS
   6976 
   6977 fi
   6978 fi
   6979 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
   6980 if test -n "$ac_ct_RANLIB"; then
   6981   { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
   6982 $as_echo "$ac_ct_RANLIB" >&6; }
   6983 else
   6984   { $as_echo "$as_me:$LINENO: result: no" >&5
   6985 $as_echo "no" >&6; }
   6986 fi
   6987 
   6988   if test "x$ac_ct_RANLIB" = x; then
   6989     RANLIB=":"
   6990   else
   6991     case $cross_compiling:$ac_tool_warned in
   6992 yes:)
   6993 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   6994 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6995 ac_tool_warned=yes ;;
   6996 esac
   6997     RANLIB=$ac_ct_RANLIB
   6998   fi
   6999 else
   7000   RANLIB="$ac_cv_prog_RANLIB"
   7001 fi
   7002 
   7003 if test -n "$ac_tool_prefix"; then
   7004   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   7005 set dummy ${ac_tool_prefix}strip; ac_word=$2
   7006 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   7007 $as_echo_n "checking for $ac_word... " >&6; }
   7008 if test "${ac_cv_prog_STRIP+set}" = set; then
   7009   $as_echo_n "(cached) " >&6
   7010 else
   7011   if test -n "$STRIP"; then
   7012   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   7013 else
   7014 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7015 for as_dir in $PATH
   7016 do
   7017   IFS=$as_save_IFS
   7018   test -z "$as_dir" && as_dir=.
   7019   for ac_exec_ext in '' $ac_executable_extensions; do
   7020   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7021     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   7022     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   7023     break 2
   7024   fi
   7025 done
   7026 done
   7027 IFS=$as_save_IFS
   7028 
   7029 fi
   7030 fi
   7031 STRIP=$ac_cv_prog_STRIP
   7032 if test -n "$STRIP"; then
   7033   { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
   7034 $as_echo "$STRIP" >&6; }
   7035 else
   7036   { $as_echo "$as_me:$LINENO: result: no" >&5
   7037 $as_echo "no" >&6; }
   7038 fi
   7039 
   7040 
   7041 fi
   7042 if test -z "$ac_cv_prog_STRIP"; then
   7043   ac_ct_STRIP=$STRIP
   7044   # Extract the first word of "strip", so it can be a program name with args.
   7045 set dummy strip; ac_word=$2
   7046 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   7047 $as_echo_n "checking for $ac_word... " >&6; }
   7048 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
   7049   $as_echo_n "(cached) " >&6
   7050 else
   7051   if test -n "$ac_ct_STRIP"; then
   7052   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   7053 else
   7054 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7055 for as_dir in $PATH
   7056 do
   7057   IFS=$as_save_IFS
   7058   test -z "$as_dir" && as_dir=.
   7059   for ac_exec_ext in '' $ac_executable_extensions; do
   7060   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7061     ac_cv_prog_ac_ct_STRIP="strip"
   7062     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   7063     break 2
   7064   fi
   7065 done
   7066 done
   7067 IFS=$as_save_IFS
   7068 
   7069 fi
   7070 fi
   7071 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   7072 if test -n "$ac_ct_STRIP"; then
   7073   { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
   7074 $as_echo "$ac_ct_STRIP" >&6; }
   7075 else
   7076   { $as_echo "$as_me:$LINENO: result: no" >&5
   7077 $as_echo "no" >&6; }
   7078 fi
   7079 
   7080   if test "x$ac_ct_STRIP" = x; then
   7081     STRIP=":"
   7082   else
   7083     case $cross_compiling:$ac_tool_warned in
   7084 yes:)
   7085 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   7086 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7087 ac_tool_warned=yes ;;
   7088 esac
   7089     STRIP=$ac_ct_STRIP
   7090   fi
   7091 else
   7092   STRIP="$ac_cv_prog_STRIP"
   7093 fi
   7094 
   7095 
   7096 old_CC="$CC"
   7097 old_CFLAGS="$CFLAGS"
   7098 
   7099 # Set sane defaults for various variables
   7100 test -z "$AR" && AR=ar
   7101 test -z "$AR_FLAGS" && AR_FLAGS=cru
   7102 test -z "$AS" && AS=as
   7103 test -z "$CC" && CC=cc
   7104 test -z "$LTCC" && LTCC=$CC
   7105 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
   7106 test -z "$DLLTOOL" && DLLTOOL=dlltool
   7107 test -z "$LD" && LD=ld
   7108 test -z "$LN_S" && LN_S="ln -s"
   7109 test -z "$MAGIC_CMD" && MAGIC_CMD=file
   7110 test -z "$NM" && NM=nm
   7111 test -z "$SED" && SED=sed
   7112 test -z "$OBJDUMP" && OBJDUMP=objdump
   7113 test -z "$RANLIB" && RANLIB=:
   7114 test -z "$STRIP" && STRIP=:
   7115 test -z "$ac_objext" && ac_objext=o
   7116 
   7117 # Determine commands to create old-style static archives.
   7118 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
   7119 old_postinstall_cmds='chmod 644 $oldlib'
   7120 old_postuninstall_cmds=
   7121 
   7122 if test -n "$RANLIB"; then
   7123   case $host_os in
   7124   openbsd*)
   7125     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
   7126     ;;
   7127   *)
   7128     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
   7129     ;;
   7130   esac
   7131   old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
   7132 fi
   7133 
   7134 for cc_temp in $compiler""; do
   7135   case $cc_temp in
   7136     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   7137     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   7138     \-*) ;;
   7139     *) break;;
   7140   esac
   7141 done
   7142 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   7143 
   7144 
   7145 # Only perform the check for file, if the check method requires it
   7146 case $deplibs_check_method in
   7147 file_magic*)
   7148   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
   7149     { $as_echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
   7150 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
   7151 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
   7152   $as_echo_n "(cached) " >&6
   7153 else
   7154   case $MAGIC_CMD in
   7155 [\\/*] |  ?:[\\/]*)
   7156   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   7157   ;;
   7158 *)
   7159   lt_save_MAGIC_CMD="$MAGIC_CMD"
   7160   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   7161   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   7162   for ac_dir in $ac_dummy; do
   7163     IFS="$lt_save_ifs"
   7164     test -z "$ac_dir" && ac_dir=.
   7165     if test -f $ac_dir/${ac_tool_prefix}file; then
   7166       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
   7167       if test -n "$file_magic_test_file"; then
   7168 	case $deplibs_check_method in
   7169 	"file_magic "*)
   7170 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   7171 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7172 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   7173 	    $EGREP "$file_magic_regex" > /dev/null; then
   7174 	    :
   7175 	  else
   7176 	    cat <<EOF 1>&2
   7177 
   7178 *** Warning: the command libtool uses to detect shared libraries,
   7179 *** $file_magic_cmd, produces output that libtool cannot recognize.
   7180 *** The result is that libtool may fail to recognize shared libraries
   7181 *** as such.  This will affect the creation of libtool libraries that
   7182 *** depend on shared libraries, but programs linked with such libtool
   7183 *** libraries will work regardless of this problem.  Nevertheless, you
   7184 *** may want to report the problem to your system manager and/or to
   7185 *** bug-libtool@gnu.org
   7186 
   7187 EOF
   7188 	  fi ;;
   7189 	esac
   7190       fi
   7191       break
   7192     fi
   7193   done
   7194   IFS="$lt_save_ifs"
   7195   MAGIC_CMD="$lt_save_MAGIC_CMD"
   7196   ;;
   7197 esac
   7198 fi
   7199 
   7200 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7201 if test -n "$MAGIC_CMD"; then
   7202   { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
   7203 $as_echo "$MAGIC_CMD" >&6; }
   7204 else
   7205   { $as_echo "$as_me:$LINENO: result: no" >&5
   7206 $as_echo "no" >&6; }
   7207 fi
   7208 
   7209 if test -z "$lt_cv_path_MAGIC_CMD"; then
   7210   if test -n "$ac_tool_prefix"; then
   7211     { $as_echo "$as_me:$LINENO: checking for file" >&5
   7212 $as_echo_n "checking for file... " >&6; }
   7213 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
   7214   $as_echo_n "(cached) " >&6
   7215 else
   7216   case $MAGIC_CMD in
   7217 [\\/*] |  ?:[\\/]*)
   7218   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   7219   ;;
   7220 *)
   7221   lt_save_MAGIC_CMD="$MAGIC_CMD"
   7222   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   7223   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   7224   for ac_dir in $ac_dummy; do
   7225     IFS="$lt_save_ifs"
   7226     test -z "$ac_dir" && ac_dir=.
   7227     if test -f $ac_dir/file; then
   7228       lt_cv_path_MAGIC_CMD="$ac_dir/file"
   7229       if test -n "$file_magic_test_file"; then
   7230 	case $deplibs_check_method in
   7231 	"file_magic "*)
   7232 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   7233 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7234 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   7235 	    $EGREP "$file_magic_regex" > /dev/null; then
   7236 	    :
   7237 	  else
   7238 	    cat <<EOF 1>&2
   7239 
   7240 *** Warning: the command libtool uses to detect shared libraries,
   7241 *** $file_magic_cmd, produces output that libtool cannot recognize.
   7242 *** The result is that libtool may fail to recognize shared libraries
   7243 *** as such.  This will affect the creation of libtool libraries that
   7244 *** depend on shared libraries, but programs linked with such libtool
   7245 *** libraries will work regardless of this problem.  Nevertheless, you
   7246 *** may want to report the problem to your system manager and/or to
   7247 *** bug-libtool@gnu.org
   7248 
   7249 EOF
   7250 	  fi ;;
   7251 	esac
   7252       fi
   7253       break
   7254     fi
   7255   done
   7256   IFS="$lt_save_ifs"
   7257   MAGIC_CMD="$lt_save_MAGIC_CMD"
   7258   ;;
   7259 esac
   7260 fi
   7261 
   7262 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7263 if test -n "$MAGIC_CMD"; then
   7264   { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
   7265 $as_echo "$MAGIC_CMD" >&6; }
   7266 else
   7267   { $as_echo "$as_me:$LINENO: result: no" >&5
   7268 $as_echo "no" >&6; }
   7269 fi
   7270 
   7271   else
   7272     MAGIC_CMD=:
   7273   fi
   7274 fi
   7275 
   7276   fi
   7277   ;;
   7278 esac
   7279 
   7280 
   7281   case $host_os in
   7282     rhapsody* | darwin*)
   7283     if test -n "$ac_tool_prefix"; then
   7284   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
   7285 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
   7286 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   7287 $as_echo_n "checking for $ac_word... " >&6; }
   7288 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then
   7289   $as_echo_n "(cached) " >&6
   7290 else
   7291   if test -n "$DSYMUTIL"; then
   7292   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
   7293 else
   7294 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7295 for as_dir in $PATH
   7296 do
   7297   IFS=$as_save_IFS
   7298   test -z "$as_dir" && as_dir=.
   7299   for ac_exec_ext in '' $ac_executable_extensions; do
   7300   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7301     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
   7302     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   7303     break 2
   7304   fi
   7305 done
   7306 done
   7307 IFS=$as_save_IFS
   7308 
   7309 fi
   7310 fi
   7311 DSYMUTIL=$ac_cv_prog_DSYMUTIL
   7312 if test -n "$DSYMUTIL"; then
   7313   { $as_echo "$as_me:$LINENO: result: $DSYMUTIL" >&5
   7314 $as_echo "$DSYMUTIL" >&6; }
   7315 else
   7316   { $as_echo "$as_me:$LINENO: result: no" >&5
   7317 $as_echo "no" >&6; }
   7318 fi
   7319 
   7320 
   7321 fi
   7322 if test -z "$ac_cv_prog_DSYMUTIL"; then
   7323   ac_ct_DSYMUTIL=$DSYMUTIL
   7324   # Extract the first word of "dsymutil", so it can be a program name with args.
   7325 set dummy dsymutil; ac_word=$2
   7326 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   7327 $as_echo_n "checking for $ac_word... " >&6; }
   7328 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then
   7329   $as_echo_n "(cached) " >&6
   7330 else
   7331   if test -n "$ac_ct_DSYMUTIL"; then
   7332   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
   7333 else
   7334 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7335 for as_dir in $PATH
   7336 do
   7337   IFS=$as_save_IFS
   7338   test -z "$as_dir" && as_dir=.
   7339   for ac_exec_ext in '' $ac_executable_extensions; do
   7340   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7341     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
   7342     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   7343     break 2
   7344   fi
   7345 done
   7346 done
   7347 IFS=$as_save_IFS
   7348 
   7349 fi
   7350 fi
   7351 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
   7352 if test -n "$ac_ct_DSYMUTIL"; then
   7353   { $as_echo "$as_me:$LINENO: result: $ac_ct_DSYMUTIL" >&5
   7354 $as_echo "$ac_ct_DSYMUTIL" >&6; }
   7355 else
   7356   { $as_echo "$as_me:$LINENO: result: no" >&5
   7357 $as_echo "no" >&6; }
   7358 fi
   7359 
   7360   if test "x$ac_ct_DSYMUTIL" = x; then
   7361     DSYMUTIL=":"
   7362   else
   7363     case $cross_compiling:$ac_tool_warned in
   7364 yes:)
   7365 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   7366 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7367 ac_tool_warned=yes ;;
   7368 esac
   7369     DSYMUTIL=$ac_ct_DSYMUTIL
   7370   fi
   7371 else
   7372   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
   7373 fi
   7374 
   7375     if test -n "$ac_tool_prefix"; then
   7376   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
   7377 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
   7378 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   7379 $as_echo_n "checking for $ac_word... " >&6; }
   7380 if test "${ac_cv_prog_NMEDIT+set}" = set; then
   7381   $as_echo_n "(cached) " >&6
   7382 else
   7383   if test -n "$NMEDIT"; then
   7384   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
   7385 else
   7386 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7387 for as_dir in $PATH
   7388 do
   7389   IFS=$as_save_IFS
   7390   test -z "$as_dir" && as_dir=.
   7391   for ac_exec_ext in '' $ac_executable_extensions; do
   7392   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7393     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
   7394     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   7395     break 2
   7396   fi
   7397 done
   7398 done
   7399 IFS=$as_save_IFS
   7400 
   7401 fi
   7402 fi
   7403 NMEDIT=$ac_cv_prog_NMEDIT
   7404 if test -n "$NMEDIT"; then
   7405   { $as_echo "$as_me:$LINENO: result: $NMEDIT" >&5
   7406 $as_echo "$NMEDIT" >&6; }
   7407 else
   7408   { $as_echo "$as_me:$LINENO: result: no" >&5
   7409 $as_echo "no" >&6; }
   7410 fi
   7411 
   7412 
   7413 fi
   7414 if test -z "$ac_cv_prog_NMEDIT"; then
   7415   ac_ct_NMEDIT=$NMEDIT
   7416   # Extract the first word of "nmedit", so it can be a program name with args.
   7417 set dummy nmedit; ac_word=$2
   7418 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   7419 $as_echo_n "checking for $ac_word... " >&6; }
   7420 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then
   7421   $as_echo_n "(cached) " >&6
   7422 else
   7423   if test -n "$ac_ct_NMEDIT"; then
   7424   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
   7425 else
   7426 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7427 for as_dir in $PATH
   7428 do
   7429   IFS=$as_save_IFS
   7430   test -z "$as_dir" && as_dir=.
   7431   for ac_exec_ext in '' $ac_executable_extensions; do
   7432   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7433     ac_cv_prog_ac_ct_NMEDIT="nmedit"
   7434     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   7435     break 2
   7436   fi
   7437 done
   7438 done
   7439 IFS=$as_save_IFS
   7440 
   7441 fi
   7442 fi
   7443 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
   7444 if test -n "$ac_ct_NMEDIT"; then
   7445   { $as_echo "$as_me:$LINENO: result: $ac_ct_NMEDIT" >&5
   7446 $as_echo "$ac_ct_NMEDIT" >&6; }
   7447 else
   7448   { $as_echo "$as_me:$LINENO: result: no" >&5
   7449 $as_echo "no" >&6; }
   7450 fi
   7451 
   7452   if test "x$ac_ct_NMEDIT" = x; then
   7453     NMEDIT=":"
   7454   else
   7455     case $cross_compiling:$ac_tool_warned in
   7456 yes:)
   7457 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   7458 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7459 ac_tool_warned=yes ;;
   7460 esac
   7461     NMEDIT=$ac_ct_NMEDIT
   7462   fi
   7463 else
   7464   NMEDIT="$ac_cv_prog_NMEDIT"
   7465 fi
   7466 
   7467 
   7468     { $as_echo "$as_me:$LINENO: checking for -single_module linker flag" >&5
   7469 $as_echo_n "checking for -single_module linker flag... " >&6; }
   7470 if test "${lt_cv_apple_cc_single_mod+set}" = set; then
   7471   $as_echo_n "(cached) " >&6
   7472 else
   7473   lt_cv_apple_cc_single_mod=no
   7474       if test -z "${LT_MULTI_MODULE}"; then
   7475    # By default we will add the -single_module flag. You can override
   7476    # by either setting the environment variable LT_MULTI_MODULE
   7477    # non-empty at configure time, or by adding -multi_module to the
   7478    # link flags.
   7479    echo "int foo(void){return 1;}" > conftest.c
   7480    $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   7481      -dynamiclib ${wl}-single_module conftest.c
   7482    if test -f libconftest.dylib; then
   7483      lt_cv_apple_cc_single_mod=yes
   7484      rm -rf libconftest.dylib*
   7485    fi
   7486    rm conftest.c
   7487       fi
   7488 fi
   7489 { $as_echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5
   7490 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
   7491     { $as_echo "$as_me:$LINENO: checking for -exported_symbols_list linker flag" >&5
   7492 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
   7493 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then
   7494   $as_echo_n "(cached) " >&6
   7495 else
   7496   lt_cv_ld_exported_symbols_list=no
   7497       save_LDFLAGS=$LDFLAGS
   7498       echo "_main" > conftest.sym
   7499       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
   7500       cat >conftest.$ac_ext <<_ACEOF
   7501 /* confdefs.h.  */
   7502 _ACEOF
   7503 cat confdefs.h >>conftest.$ac_ext
   7504 cat >>conftest.$ac_ext <<_ACEOF
   7505 /* end confdefs.h.  */
   7506 
   7507 int
   7508 main ()
   7509 {
   7510 
   7511   ;
   7512   return 0;
   7513 }
   7514 _ACEOF
   7515 rm -f conftest.$ac_objext conftest$ac_exeext
   7516 if { (ac_try="$ac_link"
   7517 case "(($ac_try" in
   7518   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   7519   *) ac_try_echo=$ac_try;;
   7520 esac
   7521 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   7522 $as_echo "$ac_try_echo") >&5
   7523   (eval "$ac_link") 2>conftest.er1
   7524   ac_status=$?
   7525   grep -v '^ *+' conftest.er1 >conftest.err
   7526   rm -f conftest.er1
   7527   cat conftest.err >&5
   7528   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7529   (exit $ac_status); } && {
   7530 	 test -z "$ac_c_werror_flag" ||
   7531 	 test ! -s conftest.err
   7532        } && test -s conftest$ac_exeext && {
   7533 	 test "$cross_compiling" = yes ||
   7534 	 $as_test_x conftest$ac_exeext
   7535        }; then
   7536   lt_cv_ld_exported_symbols_list=yes
   7537 else
   7538   $as_echo "$as_me: failed program was:" >&5
   7539 sed 's/^/| /' conftest.$ac_ext >&5
   7540 
   7541 	lt_cv_ld_exported_symbols_list=no
   7542 fi
   7543 
   7544 rm -rf conftest.dSYM
   7545 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   7546       conftest$ac_exeext conftest.$ac_ext
   7547    LDFLAGS="$save_LDFLAGS"
   7548 
   7549 fi
   7550 { $as_echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5
   7551 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
   7552     case $host_os in
   7553     rhapsody* | darwin1.[0123])
   7554       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
   7555     darwin1.*)
   7556      _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
   7557     darwin*)
   7558       # if running on 10.5 or later, the deployment target defaults
   7559       # to the OS version, if on x86, and 10.4, the deployment
   7560       # target defaults to 10.4. Don't you love it?
   7561       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
   7562    10.0,*86*-darwin8*|10.0,*-darwin[91]*)
   7563      _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
   7564    10.[012]*)
   7565      _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
   7566    10.*)
   7567      _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
   7568       esac
   7569     ;;
   7570   esac
   7571     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
   7572       _lt_dar_single_mod='$single_module'
   7573     fi
   7574     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
   7575       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
   7576     else
   7577       _lt_dar_export_syms="~$NMEDIT -s \$output_objdir/\${libname}-symbols.expsym \${lib}"
   7578     fi
   7579     if test "$DSYMUTIL" != ":"; then
   7580       _lt_dsymutil="~$DSYMUTIL \$lib || :"
   7581     else
   7582       _lt_dsymutil=
   7583     fi
   7584     ;;
   7585   esac
   7586 
   7587 
   7588 enable_dlopen=no
   7589 enable_win32_dll=no
   7590 
   7591 # Check whether --enable-libtool-lock was given.
   7592 if test "${enable_libtool_lock+set}" = set; then
   7593   enableval=$enable_libtool_lock;
   7594 fi
   7595 
   7596 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
   7597 
   7598 
   7599 # Check whether --with-pic was given.
   7600 if test "${with_pic+set}" = set; then
   7601   withval=$with_pic; pic_mode="$withval"
   7602 else
   7603   pic_mode=default
   7604 fi
   7605 
   7606 test -z "$pic_mode" && pic_mode=default
   7607 
   7608 # Use C for the default configuration in the libtool script
   7609 tagname=
   7610 lt_save_CC="$CC"
   7611 ac_ext=c
   7612 ac_cpp='$CPP $CPPFLAGS'
   7613 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7614 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7615 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7616 
   7617 
   7618 # Source file extension for C test sources.
   7619 ac_ext=c
   7620 
   7621 # Object file extension for compiled C test sources.
   7622 objext=o
   7623 objext=$objext
   7624 
   7625 # Code to be used in simple compile tests
   7626 lt_simple_compile_test_code="int some_variable = 0;"
   7627 
   7628 # Code to be used in simple link tests
   7629 lt_simple_link_test_code='int main(){return(0);}'
   7630 
   7631 
   7632 # If no C compiler was specified, use CC.
   7633 LTCC=${LTCC-"$CC"}
   7634 
   7635 # If no C compiler flags were specified, use CFLAGS.
   7636 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   7637 
   7638 # Allow CC to be a program name with arguments.
   7639 compiler=$CC
   7640 
   7641 
   7642 # save warnings/boilerplate of simple test code
   7643 ac_outfile=conftest.$ac_objext
   7644 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   7645 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   7646 _lt_compiler_boilerplate=`cat conftest.err`
   7647 $rm conftest*
   7648 
   7649 ac_outfile=conftest.$ac_objext
   7650 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   7651 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   7652 _lt_linker_boilerplate=`cat conftest.err`
   7653 $rm -r conftest*
   7654 
   7655 
   7656 
   7657 lt_prog_compiler_no_builtin_flag=
   7658 
   7659 if test "$GCC" = yes; then
   7660   lt_prog_compiler_no_builtin_flag=' -fno-builtin'
   7661 
   7662 
   7663 { $as_echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
   7664 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
   7665 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
   7666   $as_echo_n "(cached) " >&6
   7667 else
   7668   lt_cv_prog_compiler_rtti_exceptions=no
   7669   ac_outfile=conftest.$ac_objext
   7670    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   7671    lt_compiler_flag="-fno-rtti -fno-exceptions"
   7672    # Insert the option either (1) after the last *FLAGS variable, or
   7673    # (2) before a word containing "conftest.", or (3) at the end.
   7674    # Note that $ac_compile itself does not contain backslashes and begins
   7675    # with a dollar sign (not a hyphen), so the echo should work correctly.
   7676    # The option is referenced via a variable to avoid confusing sed.
   7677    lt_compile=`echo "$ac_compile" | $SED \
   7678    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   7679    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   7680    -e 's:$: $lt_compiler_flag:'`
   7681    (eval echo "\"\$as_me:7681: $lt_compile\"" >&5)
   7682    (eval "$lt_compile" 2>conftest.err)
   7683    ac_status=$?
   7684    cat conftest.err >&5
   7685    echo "$as_me:7685: \$? = $ac_status" >&5
   7686    if (exit $ac_status) && test -s "$ac_outfile"; then
   7687      # The compiler can only warn and ignore the option if not recognized
   7688      # So say no if there are warnings other than the usual output.
   7689      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   7690      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   7691      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   7692        lt_cv_prog_compiler_rtti_exceptions=yes
   7693      fi
   7694    fi
   7695    $rm conftest*
   7696 
   7697 fi
   7698 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
   7699 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
   7700 
   7701 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
   7702     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
   7703 else
   7704     :
   7705 fi
   7706 
   7707 fi
   7708 
   7709 lt_prog_compiler_wl=
   7710 lt_prog_compiler_pic=
   7711 lt_prog_compiler_static=
   7712 
   7713 { $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
   7714 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
   7715 
   7716   if test "$GCC" = yes; then
   7717     lt_prog_compiler_wl='-Wl,'
   7718     lt_prog_compiler_static='-static'
   7719 
   7720     case $host_os in
   7721       aix*)
   7722       # All AIX code is PIC.
   7723       if test "$host_cpu" = ia64; then
   7724 	# AIX 5 now supports IA64 processor
   7725 	lt_prog_compiler_static='-Bstatic'
   7726       fi
   7727       ;;
   7728 
   7729     amigaos*)
   7730       # FIXME: we need at least 68020 code to build shared libraries, but
   7731       # adding the `-m68020' flag to GCC prevents building anything better,
   7732       # like `-m68040'.
   7733       lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
   7734       ;;
   7735 
   7736     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   7737       # PIC is the default for these OSes.
   7738       ;;
   7739 
   7740     mingw* | cygwin* | pw32* | os2*)
   7741       # This hack is so that the source file can tell whether it is being
   7742       # built for inclusion in a dll (and should export symbols for example).
   7743       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   7744       # (--disable-auto-import) libraries
   7745       lt_prog_compiler_pic='-DDLL_EXPORT'
   7746       ;;
   7747 
   7748     darwin* | rhapsody*)
   7749       # PIC is the default on this platform
   7750       # Common symbols not allowed in MH_DYLIB files
   7751       lt_prog_compiler_pic='-fno-common'
   7752       ;;
   7753 
   7754     interix[3-9]*)
   7755       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   7756       # Instead, we relocate shared libraries at runtime.
   7757       ;;
   7758 
   7759     msdosdjgpp*)
   7760       # Just because we use GCC doesn't mean we suddenly get shared libraries
   7761       # on systems that don't support them.
   7762       lt_prog_compiler_can_build_shared=no
   7763       enable_shared=no
   7764       ;;
   7765 
   7766     sysv4*MP*)
   7767       if test -d /usr/nec; then
   7768 	lt_prog_compiler_pic=-Kconform_pic
   7769       fi
   7770       ;;
   7771 
   7772     hpux*)
   7773       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   7774       # not for PA HP-UX.
   7775       case $host_cpu in
   7776       hppa*64*|ia64*)
   7777 	# +Z the default
   7778 	;;
   7779       *)
   7780 	lt_prog_compiler_pic='-fPIC'
   7781 	;;
   7782       esac
   7783       ;;
   7784 
   7785     *)
   7786       lt_prog_compiler_pic='-fPIC'
   7787       ;;
   7788     esac
   7789   else
   7790     # PORTME Check for flag to pass linker flags through the system compiler.
   7791     case $host_os in
   7792     aix*)
   7793       lt_prog_compiler_wl='-Wl,'
   7794       if test "$host_cpu" = ia64; then
   7795 	# AIX 5 now supports IA64 processor
   7796 	lt_prog_compiler_static='-Bstatic'
   7797       else
   7798 	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
   7799       fi
   7800       ;;
   7801       darwin*)
   7802         # PIC is the default on this platform
   7803         # Common symbols not allowed in MH_DYLIB files
   7804        case $cc_basename in
   7805          xlc*)
   7806          lt_prog_compiler_pic='-qnocommon'
   7807          lt_prog_compiler_wl='-Wl,'
   7808          ;;
   7809        esac
   7810        ;;
   7811 
   7812     mingw* | cygwin* | pw32* | os2*)
   7813       # This hack is so that the source file can tell whether it is being
   7814       # built for inclusion in a dll (and should export symbols for example).
   7815       lt_prog_compiler_pic='-DDLL_EXPORT'
   7816       ;;
   7817 
   7818     hpux9* | hpux10* | hpux11*)
   7819       lt_prog_compiler_wl='-Wl,'
   7820       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   7821       # not for PA HP-UX.
   7822       case $host_cpu in
   7823       hppa*64*|ia64*)
   7824 	# +Z the default
   7825 	;;
   7826       *)
   7827 	lt_prog_compiler_pic='+Z'
   7828 	;;
   7829       esac
   7830       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   7831       lt_prog_compiler_static='${wl}-a ${wl}archive'
   7832       ;;
   7833 
   7834     irix5* | irix6* | nonstopux*)
   7835       lt_prog_compiler_wl='-Wl,'
   7836       # PIC (with -KPIC) is the default.
   7837       lt_prog_compiler_static='-non_shared'
   7838       ;;
   7839 
   7840     newsos6)
   7841       lt_prog_compiler_pic='-KPIC'
   7842       lt_prog_compiler_static='-Bstatic'
   7843       ;;
   7844 
   7845     linux* | k*bsd*-gnu)
   7846       case $cc_basename in
   7847       icc* | ecc*)
   7848 	lt_prog_compiler_wl='-Wl,'
   7849 	lt_prog_compiler_pic='-KPIC'
   7850 	lt_prog_compiler_static='-static'
   7851         ;;
   7852       pgcc* | pgf77* | pgf90* | pgf95*)
   7853         # Portland Group compilers (*not* the Pentium gcc compiler,
   7854 	# which looks to be a dead project)
   7855 	lt_prog_compiler_wl='-Wl,'
   7856 	lt_prog_compiler_pic='-fpic'
   7857 	lt_prog_compiler_static='-Bstatic'
   7858         ;;
   7859       ccc*)
   7860         lt_prog_compiler_wl='-Wl,'
   7861         # All Alpha code is PIC.
   7862         lt_prog_compiler_static='-non_shared'
   7863         ;;
   7864       *)
   7865         case `$CC -V 2>&1 | sed 5q` in
   7866 	*Sun\ C*)
   7867 	  # Sun C 5.9
   7868 	  lt_prog_compiler_pic='-KPIC'
   7869 	  lt_prog_compiler_static='-Bstatic'
   7870 	  lt_prog_compiler_wl='-Wl,'
   7871 	  ;;
   7872 	*Sun\ F*)
   7873 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   7874 	  lt_prog_compiler_pic='-KPIC'
   7875 	  lt_prog_compiler_static='-Bstatic'
   7876 	  lt_prog_compiler_wl=''
   7877 	  ;;
   7878 	esac
   7879 	;;
   7880       esac
   7881       ;;
   7882 
   7883     osf3* | osf4* | osf5*)
   7884       lt_prog_compiler_wl='-Wl,'
   7885       # All OSF/1 code is PIC.
   7886       lt_prog_compiler_static='-non_shared'
   7887       ;;
   7888 
   7889     rdos*)
   7890       lt_prog_compiler_static='-non_shared'
   7891       ;;
   7892 
   7893     solaris*)
   7894       lt_prog_compiler_pic='-KPIC'
   7895       lt_prog_compiler_static='-Bstatic'
   7896       case $cc_basename in
   7897       f77* | f90* | f95*)
   7898 	lt_prog_compiler_wl='-Qoption ld ';;
   7899       *)
   7900 	lt_prog_compiler_wl='-Wl,';;
   7901       esac
   7902       ;;
   7903 
   7904     sunos4*)
   7905       lt_prog_compiler_wl='-Qoption ld '
   7906       lt_prog_compiler_pic='-PIC'
   7907       lt_prog_compiler_static='-Bstatic'
   7908       ;;
   7909 
   7910     sysv4 | sysv4.2uw2* | sysv4.3*)
   7911       lt_prog_compiler_wl='-Wl,'
   7912       lt_prog_compiler_pic='-KPIC'
   7913       lt_prog_compiler_static='-Bstatic'
   7914       ;;
   7915 
   7916     sysv4*MP*)
   7917       if test -d /usr/nec ;then
   7918 	lt_prog_compiler_pic='-Kconform_pic'
   7919 	lt_prog_compiler_static='-Bstatic'
   7920       fi
   7921       ;;
   7922 
   7923     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   7924       lt_prog_compiler_wl='-Wl,'
   7925       lt_prog_compiler_pic='-KPIC'
   7926       lt_prog_compiler_static='-Bstatic'
   7927       ;;
   7928 
   7929     unicos*)
   7930       lt_prog_compiler_wl='-Wl,'
   7931       lt_prog_compiler_can_build_shared=no
   7932       ;;
   7933 
   7934     uts4*)
   7935       lt_prog_compiler_pic='-pic'
   7936       lt_prog_compiler_static='-Bstatic'
   7937       ;;
   7938 
   7939     *)
   7940       lt_prog_compiler_can_build_shared=no
   7941       ;;
   7942     esac
   7943   fi
   7944 
   7945 { $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
   7946 $as_echo "$lt_prog_compiler_pic" >&6; }
   7947 
   7948 #
   7949 # Check to make sure the PIC flag actually works.
   7950 #
   7951 if test -n "$lt_prog_compiler_pic"; then
   7952 
   7953 { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
   7954 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
   7955 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then
   7956   $as_echo_n "(cached) " >&6
   7957 else
   7958   lt_cv_prog_compiler_pic_works=no
   7959   ac_outfile=conftest.$ac_objext
   7960    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   7961    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
   7962    # Insert the option either (1) after the last *FLAGS variable, or
   7963    # (2) before a word containing "conftest.", or (3) at the end.
   7964    # Note that $ac_compile itself does not contain backslashes and begins
   7965    # with a dollar sign (not a hyphen), so the echo should work correctly.
   7966    # The option is referenced via a variable to avoid confusing sed.
   7967    lt_compile=`echo "$ac_compile" | $SED \
   7968    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   7969    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   7970    -e 's:$: $lt_compiler_flag:'`
   7971    (eval echo "\"\$as_me:7971: $lt_compile\"" >&5)
   7972    (eval "$lt_compile" 2>conftest.err)
   7973    ac_status=$?
   7974    cat conftest.err >&5
   7975    echo "$as_me:7975: \$? = $ac_status" >&5
   7976    if (exit $ac_status) && test -s "$ac_outfile"; then
   7977      # The compiler can only warn and ignore the option if not recognized
   7978      # So say no if there are warnings other than the usual output.
   7979      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   7980      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   7981      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   7982        lt_cv_prog_compiler_pic_works=yes
   7983      fi
   7984    fi
   7985    $rm conftest*
   7986 
   7987 fi
   7988 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5
   7989 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
   7990 
   7991 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
   7992     case $lt_prog_compiler_pic in
   7993      "" | " "*) ;;
   7994      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
   7995      esac
   7996 else
   7997     lt_prog_compiler_pic=
   7998      lt_prog_compiler_can_build_shared=no
   7999 fi
   8000 
   8001 fi
   8002 case $host_os in
   8003   # For platforms which do not support PIC, -DPIC is meaningless:
   8004   *djgpp*)
   8005     lt_prog_compiler_pic=
   8006     ;;
   8007   *)
   8008     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
   8009     ;;
   8010 esac
   8011 
   8012 #
   8013 # Check to make sure the static flag actually works.
   8014 #
   8015 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
   8016 { $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   8017 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   8018 if test "${lt_cv_prog_compiler_static_works+set}" = set; then
   8019   $as_echo_n "(cached) " >&6
   8020 else
   8021   lt_cv_prog_compiler_static_works=no
   8022    save_LDFLAGS="$LDFLAGS"
   8023    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   8024    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   8025    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   8026      # The linker can only warn and ignore the option if not recognized
   8027      # So say no if there are warnings
   8028      if test -s conftest.err; then
   8029        # Append any errors to the config.log.
   8030        cat conftest.err 1>&5
   8031        $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
   8032        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   8033        if diff conftest.exp conftest.er2 >/dev/null; then
   8034          lt_cv_prog_compiler_static_works=yes
   8035        fi
   8036      else
   8037        lt_cv_prog_compiler_static_works=yes
   8038      fi
   8039    fi
   8040    $rm -r conftest*
   8041    LDFLAGS="$save_LDFLAGS"
   8042 
   8043 fi
   8044 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5
   8045 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
   8046 
   8047 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
   8048     :
   8049 else
   8050     lt_prog_compiler_static=
   8051 fi
   8052 
   8053 
   8054 { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
   8055 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   8056 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
   8057   $as_echo_n "(cached) " >&6
   8058 else
   8059   lt_cv_prog_compiler_c_o=no
   8060    $rm -r conftest 2>/dev/null
   8061    mkdir conftest
   8062    cd conftest
   8063    mkdir out
   8064    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8065 
   8066    lt_compiler_flag="-o out/conftest2.$ac_objext"
   8067    # Insert the option either (1) after the last *FLAGS variable, or
   8068    # (2) before a word containing "conftest.", or (3) at the end.
   8069    # Note that $ac_compile itself does not contain backslashes and begins
   8070    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8071    lt_compile=`echo "$ac_compile" | $SED \
   8072    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8073    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8074    -e 's:$: $lt_compiler_flag:'`
   8075    (eval echo "\"\$as_me:8075: $lt_compile\"" >&5)
   8076    (eval "$lt_compile" 2>out/conftest.err)
   8077    ac_status=$?
   8078    cat out/conftest.err >&5
   8079    echo "$as_me:8079: \$? = $ac_status" >&5
   8080    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   8081    then
   8082      # The compiler can only warn and ignore the option if not recognized
   8083      # So say no if there are warnings
   8084      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
   8085      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   8086      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   8087        lt_cv_prog_compiler_c_o=yes
   8088      fi
   8089    fi
   8090    chmod u+w . 2>&5
   8091    $rm conftest*
   8092    # SGI C++ compiler will create directory out/ii_files/ for
   8093    # template instantiation
   8094    test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
   8095    $rm out/* && rmdir out
   8096    cd ..
   8097    rmdir conftest
   8098    $rm conftest*
   8099 
   8100 fi
   8101 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
   8102 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   8103 
   8104 
   8105 hard_links="nottested"
   8106 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
   8107   # do not overwrite the value of need_locks provided by the user
   8108   { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
   8109 $as_echo_n "checking if we can lock with hard links... " >&6; }
   8110   hard_links=yes
   8111   $rm conftest*
   8112   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   8113   touch conftest.a
   8114   ln conftest.a conftest.b 2>&5 || hard_links=no
   8115   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   8116   { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
   8117 $as_echo "$hard_links" >&6; }
   8118   if test "$hard_links" = no; then
   8119     { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   8120 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   8121     need_locks=warn
   8122   fi
   8123 else
   8124   need_locks=no
   8125 fi
   8126 
   8127 { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   8128 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   8129 
   8130   runpath_var=
   8131   allow_undefined_flag=
   8132   enable_shared_with_static_runtimes=no
   8133   archive_cmds=
   8134   archive_expsym_cmds=
   8135   old_archive_From_new_cmds=
   8136   old_archive_from_expsyms_cmds=
   8137   export_dynamic_flag_spec=
   8138   whole_archive_flag_spec=
   8139   thread_safe_flag_spec=
   8140   hardcode_libdir_flag_spec=
   8141   hardcode_libdir_flag_spec_ld=
   8142   hardcode_libdir_separator=
   8143   hardcode_direct=no
   8144   hardcode_minus_L=no
   8145   hardcode_shlibpath_var=unsupported
   8146   link_all_deplibs=unknown
   8147   hardcode_automatic=no
   8148   module_cmds=
   8149   module_expsym_cmds=
   8150   always_export_symbols=no
   8151   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   8152   # include_expsyms should be a list of space-separated symbols to be *always*
   8153   # included in the symbol list
   8154   include_expsyms=
   8155   # exclude_expsyms can be an extended regexp of symbols to exclude
   8156   # it will be wrapped by ` (' and `)$', so one must not match beginning or
   8157   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
   8158   # as well as any symbol that contains `d'.
   8159   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   8160   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   8161   # platforms (ab)use it in PIC code, but their linkers get confused if
   8162   # the symbol is explicitly referenced.  Since portable code cannot
   8163   # rely on this symbol name, it's probably fine to never include it in
   8164   # preloaded symbol tables.
   8165   # Exclude shared library initialization/finalization symbols.
   8166   extract_expsyms_cmds=
   8167   # Just being paranoid about ensuring that cc_basename is set.
   8168   for cc_temp in $compiler""; do
   8169   case $cc_temp in
   8170     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   8171     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   8172     \-*) ;;
   8173     *) break;;
   8174   esac
   8175 done
   8176 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   8177 
   8178   case $host_os in
   8179   cygwin* | mingw* | pw32*)
   8180     # FIXME: the MSVC++ port hasn't been tested in a loooong time
   8181     # When not using gcc, we currently assume that we are using
   8182     # Microsoft Visual C++.
   8183     if test "$GCC" != yes; then
   8184       with_gnu_ld=no
   8185     fi
   8186     ;;
   8187   interix*)
   8188     # we just hope/assume this is gcc and not c89 (= MSVC++)
   8189     with_gnu_ld=yes
   8190     ;;
   8191   openbsd*)
   8192     with_gnu_ld=no
   8193     ;;
   8194   esac
   8195 
   8196   ld_shlibs=yes
   8197   if test "$with_gnu_ld" = yes; then
   8198     # If archive_cmds runs LD, not CC, wlarc should be empty
   8199     wlarc='${wl}'
   8200 
   8201     # Set some defaults for GNU ld with shared library support. These
   8202     # are reset later if shared libraries are not supported. Putting them
   8203     # here allows them to be overridden if necessary.
   8204     runpath_var=LD_RUN_PATH
   8205     hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
   8206     export_dynamic_flag_spec='${wl}--export-dynamic'
   8207     # ancient GNU ld didn't support --whole-archive et. al.
   8208     if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
   8209 	whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   8210       else
   8211   	whole_archive_flag_spec=
   8212     fi
   8213     supports_anon_versioning=no
   8214     case `$LD -v 2>/dev/null` in
   8215       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   8216       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   8217       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   8218       *\ 2.11.*) ;; # other 2.11 versions
   8219       *) supports_anon_versioning=yes ;;
   8220     esac
   8221 
   8222     # See if GNU ld supports shared libraries.
   8223     case $host_os in
   8224     aix[3-9]*)
   8225       # On AIX/PPC, the GNU linker is very broken
   8226       if test "$host_cpu" != ia64; then
   8227 	ld_shlibs=no
   8228 	cat <<EOF 1>&2
   8229 
   8230 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
   8231 *** to be unable to reliably create shared libraries on AIX.
   8232 *** Therefore, libtool is disabling shared libraries support.  If you
   8233 *** really care for shared libraries, you may want to modify your PATH
   8234 *** so that a non-GNU linker is found, and then restart.
   8235 
   8236 EOF
   8237       fi
   8238       ;;
   8239 
   8240     amigaos*)
   8241       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)'
   8242       hardcode_libdir_flag_spec='-L$libdir'
   8243       hardcode_minus_L=yes
   8244 
   8245       # Samuel A. Falvo II <kc5tja (at] dolphin.openprojects.net> reports
   8246       # that the semantics of dynamic libraries on AmigaOS, at least up
   8247       # to version 4, is to share data among multiple programs linked
   8248       # with the same dynamic library.  Since this doesn't match the
   8249       # behavior of shared libraries on other platforms, we can't use
   8250       # them.
   8251       ld_shlibs=no
   8252       ;;
   8253 
   8254     beos*)
   8255       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   8256 	allow_undefined_flag=unsupported
   8257 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   8258 	# support --undefined.  This deserves some investigation.  FIXME
   8259 	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8260       else
   8261 	ld_shlibs=no
   8262       fi
   8263       ;;
   8264 
   8265     cygwin* | mingw* | pw32*)
   8266       # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
   8267       # as there is no search path for DLLs.
   8268       hardcode_libdir_flag_spec='-L$libdir'
   8269       allow_undefined_flag=unsupported
   8270       always_export_symbols=no
   8271       enable_shared_with_static_runtimes=yes
   8272       export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
   8273 
   8274       if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
   8275         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   8276 	# If the export-symbols file already is a .def file (1st line
   8277 	# is EXPORTS), use it as is; otherwise, prepend...
   8278 	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   8279 	  cp $export_symbols $output_objdir/$soname.def;
   8280 	else
   8281 	  echo EXPORTS > $output_objdir/$soname.def;
   8282 	  cat $export_symbols >> $output_objdir/$soname.def;
   8283 	fi~
   8284 	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   8285       else
   8286 	ld_shlibs=no
   8287       fi
   8288       ;;
   8289 
   8290     interix[3-9]*)
   8291       hardcode_direct=no
   8292       hardcode_shlibpath_var=no
   8293       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   8294       export_dynamic_flag_spec='${wl}-E'
   8295       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   8296       # Instead, shared libraries are loaded at an image base (0x10000000 by
   8297       # default) and relocated if they conflict, which is a slow very memory
   8298       # consuming and fragmenting process.  To avoid this, we pick a random,
   8299       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   8300       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   8301       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
   8302       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'
   8303       ;;
   8304 
   8305     gnu* | linux* | k*bsd*-gnu)
   8306       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   8307 	tmp_addflag=
   8308 	case $cc_basename,$host_cpu in
   8309 	pgcc*)				# Portland Group C compiler
   8310 	  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'
   8311 	  tmp_addflag=' $pic_flag'
   8312 	  ;;
   8313 	pgf77* | pgf90* | pgf95*)	# Portland Group f77 and f90 compilers
   8314 	  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'
   8315 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   8316 	ecc*,ia64* | icc*,ia64*)		# Intel C compiler on ia64
   8317 	  tmp_addflag=' -i_dynamic' ;;
   8318 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   8319 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   8320 	ifc* | ifort*)			# Intel Fortran compiler
   8321 	  tmp_addflag=' -nofor_main' ;;
   8322 	esac
   8323 	case `$CC -V 2>&1 | sed 5q` in
   8324 	*Sun\ C*)			# Sun C 5.9
   8325 	  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'
   8326 	  tmp_sharedflag='-G' ;;
   8327 	*Sun\ F*)			# Sun Fortran 8.3
   8328 	  tmp_sharedflag='-G' ;;
   8329 	*)
   8330 	  tmp_sharedflag='-shared' ;;
   8331 	esac
   8332 	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8333 
   8334 	if test $supports_anon_versioning = yes; then
   8335 	  archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~
   8336   cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   8337   $echo "local: *; };" >> $output_objdir/$libname.ver~
   8338 	  $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
   8339 	fi
   8340       else
   8341 	ld_shlibs=no
   8342       fi
   8343       ;;
   8344 
   8345     netbsd*)
   8346       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   8347 	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   8348 	wlarc=
   8349       else
   8350 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8351 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8352       fi
   8353       ;;
   8354 
   8355     solaris*)
   8356       if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
   8357 	ld_shlibs=no
   8358 	cat <<EOF 1>&2
   8359 
   8360 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   8361 *** create shared libraries on Solaris systems.  Therefore, libtool
   8362 *** is disabling shared libraries support.  We urge you to upgrade GNU
   8363 *** binutils to release 2.9.1 or newer.  Another option is to modify
   8364 *** your PATH or compiler configuration so that the native linker is
   8365 *** used, and then restart.
   8366 
   8367 EOF
   8368       elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   8369 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8370 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8371       else
   8372 	ld_shlibs=no
   8373       fi
   8374       ;;
   8375 
   8376     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   8377       case `$LD -v 2>&1` in
   8378         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   8379 	ld_shlibs=no
   8380 	cat <<_LT_EOF 1>&2
   8381 
   8382 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
   8383 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   8384 *** is disabling shared libraries support.  We urge you to upgrade GNU
   8385 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   8386 *** your PATH or compiler configuration so that the native linker is
   8387 *** used, and then restart.
   8388 
   8389 _LT_EOF
   8390 	;;
   8391 	*)
   8392 	  if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   8393 	    hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
   8394 	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
   8395 	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
   8396 	  else
   8397 	    ld_shlibs=no
   8398 	  fi
   8399 	;;
   8400       esac
   8401       ;;
   8402 
   8403     sunos4*)
   8404       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   8405       wlarc=
   8406       hardcode_direct=yes
   8407       hardcode_shlibpath_var=no
   8408       ;;
   8409 
   8410     *)
   8411       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   8412 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8413 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8414       else
   8415 	ld_shlibs=no
   8416       fi
   8417       ;;
   8418     esac
   8419 
   8420     if test "$ld_shlibs" = no; then
   8421       runpath_var=
   8422       hardcode_libdir_flag_spec=
   8423       export_dynamic_flag_spec=
   8424       whole_archive_flag_spec=
   8425     fi
   8426   else
   8427     # PORTME fill in a description of your system's linker (not GNU ld)
   8428     case $host_os in
   8429     aix3*)
   8430       allow_undefined_flag=unsupported
   8431       always_export_symbols=yes
   8432       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'
   8433       # Note: this linker hardcodes the directories in LIBPATH if there
   8434       # are no directories specified by -L.
   8435       hardcode_minus_L=yes
   8436       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
   8437 	# Neither direct hardcoding nor static linking is supported with a
   8438 	# broken collect2.
   8439 	hardcode_direct=unsupported
   8440       fi
   8441       ;;
   8442 
   8443     aix[4-9]*)
   8444       if test "$host_cpu" = ia64; then
   8445 	# On IA64, the linker does run time linking by default, so we don't
   8446 	# have to do anything special.
   8447 	aix_use_runtimelinking=no
   8448 	exp_sym_flag='-Bexport'
   8449 	no_entry_flag=""
   8450       else
   8451 	# If we're using GNU nm, then we don't want the "-C" option.
   8452 	# -C means demangle to AIX nm, but means don't demangle with GNU nm
   8453 	if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
   8454 	  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'
   8455 	else
   8456 	  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'
   8457 	fi
   8458 	aix_use_runtimelinking=no
   8459 
   8460 	# Test if we are trying to use run time linking or normal
   8461 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   8462 	# need to do runtime linking.
   8463 	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   8464 	  for ld_flag in $LDFLAGS; do
   8465   	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
   8466   	    aix_use_runtimelinking=yes
   8467   	    break
   8468   	  fi
   8469 	  done
   8470 	  ;;
   8471 	esac
   8472 
   8473 	exp_sym_flag='-bexport'
   8474 	no_entry_flag='-bnoentry'
   8475       fi
   8476 
   8477       # When large executables or shared objects are built, AIX ld can
   8478       # have problems creating the table of contents.  If linking a library
   8479       # or program results in "error TOC overflow" add -mminimal-toc to
   8480       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   8481       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   8482 
   8483       archive_cmds=''
   8484       hardcode_direct=yes
   8485       hardcode_libdir_separator=':'
   8486       link_all_deplibs=yes
   8487 
   8488       if test "$GCC" = yes; then
   8489 	case $host_os in aix4.[012]|aix4.[012].*)
   8490 	# We only want to do this on AIX 4.2 and lower, the check
   8491 	# below for broken collect2 doesn't work under 4.3+
   8492 	  collect2name=`${CC} -print-prog-name=collect2`
   8493 	  if test -f "$collect2name" && \
   8494   	   strings "$collect2name" | grep resolve_lib_name >/dev/null
   8495 	  then
   8496   	  # We have reworked collect2
   8497   	  :
   8498 	  else
   8499   	  # We have old collect2
   8500   	  hardcode_direct=unsupported
   8501   	  # It fails to find uninstalled libraries when the uninstalled
   8502   	  # path is not listed in the libpath.  Setting hardcode_minus_L
   8503   	  # to unsupported forces relinking
   8504   	  hardcode_minus_L=yes
   8505   	  hardcode_libdir_flag_spec='-L$libdir'
   8506   	  hardcode_libdir_separator=
   8507 	  fi
   8508 	  ;;
   8509 	esac
   8510 	shared_flag='-shared'
   8511 	if test "$aix_use_runtimelinking" = yes; then
   8512 	  shared_flag="$shared_flag "'${wl}-G'
   8513 	fi
   8514       else
   8515 	# not using gcc
   8516 	if test "$host_cpu" = ia64; then
   8517   	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   8518   	# chokes on -Wl,-G. The following line is correct:
   8519 	  shared_flag='-G'
   8520 	else
   8521 	  if test "$aix_use_runtimelinking" = yes; then
   8522 	    shared_flag='${wl}-G'
   8523 	  else
   8524 	    shared_flag='${wl}-bM:SRE'
   8525 	  fi
   8526 	fi
   8527       fi
   8528 
   8529       # It seems that -bexpall does not export symbols beginning with
   8530       # underscore (_), so it is better to generate a list of symbols to export.
   8531       always_export_symbols=yes
   8532       if test "$aix_use_runtimelinking" = yes; then
   8533 	# Warning - without using the other runtime loading flags (-brtl),
   8534 	# -berok will link without error, but may produce a broken library.
   8535 	allow_undefined_flag='-berok'
   8536        # Determine the default libpath from the value encoded in an empty executable.
   8537        cat >conftest.$ac_ext <<_ACEOF
   8538 /* confdefs.h.  */
   8539 _ACEOF
   8540 cat confdefs.h >>conftest.$ac_ext
   8541 cat >>conftest.$ac_ext <<_ACEOF
   8542 /* end confdefs.h.  */
   8543 
   8544 int
   8545 main ()
   8546 {
   8547 
   8548   ;
   8549   return 0;
   8550 }
   8551 _ACEOF
   8552 rm -f conftest.$ac_objext conftest$ac_exeext
   8553 if { (ac_try="$ac_link"
   8554 case "(($ac_try" in
   8555   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   8556   *) ac_try_echo=$ac_try;;
   8557 esac
   8558 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   8559 $as_echo "$ac_try_echo") >&5
   8560   (eval "$ac_link") 2>conftest.er1
   8561   ac_status=$?
   8562   grep -v '^ *+' conftest.er1 >conftest.err
   8563   rm -f conftest.er1
   8564   cat conftest.err >&5
   8565   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8566   (exit $ac_status); } && {
   8567 	 test -z "$ac_c_werror_flag" ||
   8568 	 test ! -s conftest.err
   8569        } && test -s conftest$ac_exeext && {
   8570 	 test "$cross_compiling" = yes ||
   8571 	 $as_test_x conftest$ac_exeext
   8572        }; then
   8573 
   8574 lt_aix_libpath_sed='
   8575     /Import File Strings/,/^$/ {
   8576 	/^0/ {
   8577 	    s/^0  *\(.*\)$/\1/
   8578 	    p
   8579 	}
   8580     }'
   8581 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   8582 # Check for a 64-bit object if we didn't find anything.
   8583 if test -z "$aix_libpath"; then
   8584   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   8585 fi
   8586 else
   8587   $as_echo "$as_me: failed program was:" >&5
   8588 sed 's/^/| /' conftest.$ac_ext >&5
   8589 
   8590 
   8591 fi
   8592 
   8593 rm -rf conftest.dSYM
   8594 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   8595       conftest$ac_exeext conftest.$ac_ext
   8596 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   8597 
   8598        hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   8599 	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"
   8600        else
   8601 	if test "$host_cpu" = ia64; then
   8602 	  hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
   8603 	  allow_undefined_flag="-z nodefs"
   8604 	  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"
   8605 	else
   8606 	 # Determine the default libpath from the value encoded in an empty executable.
   8607 	 cat >conftest.$ac_ext <<_ACEOF
   8608 /* confdefs.h.  */
   8609 _ACEOF
   8610 cat confdefs.h >>conftest.$ac_ext
   8611 cat >>conftest.$ac_ext <<_ACEOF
   8612 /* end confdefs.h.  */
   8613 
   8614 int
   8615 main ()
   8616 {
   8617 
   8618   ;
   8619   return 0;
   8620 }
   8621 _ACEOF
   8622 rm -f conftest.$ac_objext conftest$ac_exeext
   8623 if { (ac_try="$ac_link"
   8624 case "(($ac_try" in
   8625   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   8626   *) ac_try_echo=$ac_try;;
   8627 esac
   8628 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   8629 $as_echo "$ac_try_echo") >&5
   8630   (eval "$ac_link") 2>conftest.er1
   8631   ac_status=$?
   8632   grep -v '^ *+' conftest.er1 >conftest.err
   8633   rm -f conftest.er1
   8634   cat conftest.err >&5
   8635   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8636   (exit $ac_status); } && {
   8637 	 test -z "$ac_c_werror_flag" ||
   8638 	 test ! -s conftest.err
   8639        } && test -s conftest$ac_exeext && {
   8640 	 test "$cross_compiling" = yes ||
   8641 	 $as_test_x conftest$ac_exeext
   8642        }; then
   8643 
   8644 lt_aix_libpath_sed='
   8645     /Import File Strings/,/^$/ {
   8646 	/^0/ {
   8647 	    s/^0  *\(.*\)$/\1/
   8648 	    p
   8649 	}
   8650     }'
   8651 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   8652 # Check for a 64-bit object if we didn't find anything.
   8653 if test -z "$aix_libpath"; then
   8654   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   8655 fi
   8656 else
   8657   $as_echo "$as_me: failed program was:" >&5
   8658 sed 's/^/| /' conftest.$ac_ext >&5
   8659 
   8660 
   8661 fi
   8662 
   8663 rm -rf conftest.dSYM
   8664 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   8665       conftest$ac_exeext conftest.$ac_ext
   8666 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   8667 
   8668 	 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   8669 	  # Warning - without using the other run time loading flags,
   8670 	  # -berok will link without error, but may produce a broken library.
   8671 	  no_undefined_flag=' ${wl}-bernotok'
   8672 	  allow_undefined_flag=' ${wl}-berok'
   8673 	  # Exported symbols can be pulled into shared objects from archives
   8674 	  whole_archive_flag_spec='$convenience'
   8675 	  archive_cmds_need_lc=yes
   8676 	  # This is similar to how AIX traditionally builds its shared libraries.
   8677 	  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'
   8678 	fi
   8679       fi
   8680       ;;
   8681 
   8682     amigaos*)
   8683       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)'
   8684       hardcode_libdir_flag_spec='-L$libdir'
   8685       hardcode_minus_L=yes
   8686       # see comment about different semantics on the GNU ld section
   8687       ld_shlibs=no
   8688       ;;
   8689 
   8690     bsdi[45]*)
   8691       export_dynamic_flag_spec=-rdynamic
   8692       ;;
   8693 
   8694     cygwin* | mingw* | pw32*)
   8695       # When not using gcc, we currently assume that we are using
   8696       # Microsoft Visual C++.
   8697       # hardcode_libdir_flag_spec is actually meaningless, as there is
   8698       # no search path for DLLs.
   8699       hardcode_libdir_flag_spec=' '
   8700       allow_undefined_flag=unsupported
   8701       # Tell ltmain to make .lib files, not .a files.
   8702       libext=lib
   8703       # Tell ltmain to make .dll files, not .so files.
   8704       shrext_cmds=".dll"
   8705       # FIXME: Setting linknames here is a bad hack.
   8706       archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
   8707       # The linker will automatically build a .lib file if we build a DLL.
   8708       old_archive_From_new_cmds='true'
   8709       # FIXME: Should let the user specify the lib program.
   8710       old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
   8711       fix_srcfile_path='`cygpath -w "$srcfile"`'
   8712       enable_shared_with_static_runtimes=yes
   8713       ;;
   8714 
   8715     darwin* | rhapsody*)
   8716       case $host_os in
   8717         rhapsody* | darwin1.[012])
   8718          allow_undefined_flag='${wl}-undefined ${wl}suppress'
   8719          ;;
   8720        *) # Darwin 1.3 on
   8721          if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
   8722            allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   8723          else
   8724            case ${MACOSX_DEPLOYMENT_TARGET} in
   8725              10.[012])
   8726                allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   8727                ;;
   8728              10.*)
   8729                allow_undefined_flag='${wl}-undefined ${wl}dynamic_lookup'
   8730                ;;
   8731            esac
   8732          fi
   8733          ;;
   8734       esac
   8735       archive_cmds_need_lc=no
   8736       hardcode_direct=no
   8737       hardcode_automatic=yes
   8738       hardcode_shlibpath_var=unsupported
   8739       whole_archive_flag_spec=''
   8740       link_all_deplibs=yes
   8741     if test "$GCC" = yes ; then
   8742     	output_verbose_link_cmd='echo'
   8743         archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
   8744         module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
   8745         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}"
   8746         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}"
   8747     else
   8748       case $cc_basename in
   8749         xlc*)
   8750          output_verbose_link_cmd='echo'
   8751          archive_cmds='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
   8752          module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
   8753           # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
   8754          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}'
   8755           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}'
   8756           ;;
   8757        *)
   8758          ld_shlibs=no
   8759           ;;
   8760       esac
   8761     fi
   8762       ;;
   8763 
   8764     dgux*)
   8765       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8766       hardcode_libdir_flag_spec='-L$libdir'
   8767       hardcode_shlibpath_var=no
   8768       ;;
   8769 
   8770     freebsd1*)
   8771       ld_shlibs=no
   8772       ;;
   8773 
   8774     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   8775     # support.  Future versions do this automatically, but an explicit c++rt0.o
   8776     # does not break anything, and helps significantly (at the cost of a little
   8777     # extra space).
   8778     freebsd2.2*)
   8779       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   8780       hardcode_libdir_flag_spec='-R$libdir'
   8781       hardcode_direct=yes
   8782       hardcode_shlibpath_var=no
   8783       ;;
   8784 
   8785     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   8786     freebsd2*)
   8787       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   8788       hardcode_direct=yes
   8789       hardcode_minus_L=yes
   8790       hardcode_shlibpath_var=no
   8791       ;;
   8792 
   8793     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   8794     freebsd* | dragonfly*)
   8795       archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
   8796       hardcode_libdir_flag_spec='-R$libdir'
   8797       hardcode_direct=yes
   8798       hardcode_shlibpath_var=no
   8799       ;;
   8800 
   8801     hpux9*)
   8802       if test "$GCC" = yes; then
   8803 	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'
   8804       else
   8805 	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'
   8806       fi
   8807       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   8808       hardcode_libdir_separator=:
   8809       hardcode_direct=yes
   8810 
   8811       # hardcode_minus_L: Not really in the search PATH,
   8812       # but as the default location of the library.
   8813       hardcode_minus_L=yes
   8814       export_dynamic_flag_spec='${wl}-E'
   8815       ;;
   8816 
   8817     hpux10*)
   8818       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   8819 	archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   8820       else
   8821 	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   8822       fi
   8823       if test "$with_gnu_ld" = no; then
   8824 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   8825 	hardcode_libdir_separator=:
   8826 
   8827 	hardcode_direct=yes
   8828 	export_dynamic_flag_spec='${wl}-E'
   8829 
   8830 	# hardcode_minus_L: Not really in the search PATH,
   8831 	# but as the default location of the library.
   8832 	hardcode_minus_L=yes
   8833       fi
   8834       ;;
   8835 
   8836     hpux11*)
   8837       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   8838 	case $host_cpu in
   8839 	hppa*64*)
   8840 	  archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   8841 	  ;;
   8842 	ia64*)
   8843 	  archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   8844 	  ;;
   8845 	*)
   8846 	  archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   8847 	  ;;
   8848 	esac
   8849       else
   8850 	case $host_cpu in
   8851 	hppa*64*)
   8852 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   8853 	  ;;
   8854 	ia64*)
   8855 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   8856 	  ;;
   8857 	*)
   8858 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   8859 	  ;;
   8860 	esac
   8861       fi
   8862       if test "$with_gnu_ld" = no; then
   8863 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   8864 	hardcode_libdir_separator=:
   8865 
   8866 	case $host_cpu in
   8867 	hppa*64*|ia64*)
   8868 	  hardcode_libdir_flag_spec_ld='+b $libdir'
   8869 	  hardcode_direct=no
   8870 	  hardcode_shlibpath_var=no
   8871 	  ;;
   8872 	*)
   8873 	  hardcode_direct=yes
   8874 	  export_dynamic_flag_spec='${wl}-E'
   8875 
   8876 	  # hardcode_minus_L: Not really in the search PATH,
   8877 	  # but as the default location of the library.
   8878 	  hardcode_minus_L=yes
   8879 	  ;;
   8880 	esac
   8881       fi
   8882       ;;
   8883 
   8884     irix5* | irix6* | nonstopux*)
   8885       if test "$GCC" = yes; then
   8886 	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'
   8887       else
   8888 	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'
   8889 	hardcode_libdir_flag_spec_ld='-rpath $libdir'
   8890       fi
   8891       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8892       hardcode_libdir_separator=:
   8893       link_all_deplibs=yes
   8894       ;;
   8895 
   8896     netbsd*)
   8897       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   8898 	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   8899       else
   8900 	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   8901       fi
   8902       hardcode_libdir_flag_spec='-R$libdir'
   8903       hardcode_direct=yes
   8904       hardcode_shlibpath_var=no
   8905       ;;
   8906 
   8907     newsos6)
   8908       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8909       hardcode_direct=yes
   8910       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8911       hardcode_libdir_separator=:
   8912       hardcode_shlibpath_var=no
   8913       ;;
   8914 
   8915     openbsd*)
   8916       if test -f /usr/libexec/ld.so; then
   8917 	hardcode_direct=yes
   8918 	hardcode_shlibpath_var=no
   8919 	if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   8920 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   8921 	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
   8922 	  hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   8923 	  export_dynamic_flag_spec='${wl}-E'
   8924 	else
   8925 	  case $host_os in
   8926 	   openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
   8927 	     archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   8928 	     hardcode_libdir_flag_spec='-R$libdir'
   8929 	     ;;
   8930 	   *)
   8931 	     archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   8932 	     hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   8933 	     ;;
   8934 	  esac
   8935         fi
   8936       else
   8937 	ld_shlibs=no
   8938       fi
   8939       ;;
   8940 
   8941     os2*)
   8942       hardcode_libdir_flag_spec='-L$libdir'
   8943       hardcode_minus_L=yes
   8944       allow_undefined_flag=unsupported
   8945       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'
   8946       old_archive_From_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
   8947       ;;
   8948 
   8949     osf3*)
   8950       if test "$GCC" = yes; then
   8951 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   8952 	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'
   8953       else
   8954 	allow_undefined_flag=' -expect_unresolved \*'
   8955 	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'
   8956       fi
   8957       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8958       hardcode_libdir_separator=:
   8959       ;;
   8960 
   8961     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   8962       if test "$GCC" = yes; then
   8963 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   8964 	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'
   8965 	hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8966       else
   8967 	allow_undefined_flag=' -expect_unresolved \*'
   8968 	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'
   8969 	archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
   8970 	$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'
   8971 
   8972 	# Both c and cxx compiler support -rpath directly
   8973 	hardcode_libdir_flag_spec='-rpath $libdir'
   8974       fi
   8975       hardcode_libdir_separator=:
   8976       ;;
   8977 
   8978     solaris*)
   8979       no_undefined_flag=' -z text'
   8980       if test "$GCC" = yes; then
   8981 	wlarc='${wl}'
   8982 	archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   8983 	archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   8984 	  $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
   8985       else
   8986 	wlarc=''
   8987 	archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8988 	archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   8989   	$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
   8990       fi
   8991       hardcode_libdir_flag_spec='-R$libdir'
   8992       hardcode_shlibpath_var=no
   8993       case $host_os in
   8994       solaris2.[0-5] | solaris2.[0-5].*) ;;
   8995       *)
   8996 	# The compiler driver will combine and reorder linker options,
   8997 	# but understands `-z linker_flag'.  GCC discards it without `$wl',
   8998 	# but is careful enough not to reorder.
   8999  	# Supported since Solaris 2.6 (maybe 2.5.1?)
   9000 	if test "$GCC" = yes; then
   9001 	  whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
   9002 	else
   9003 	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
   9004 	fi
   9005 	;;
   9006       esac
   9007       link_all_deplibs=yes
   9008       ;;
   9009 
   9010     sunos4*)
   9011       if test "x$host_vendor" = xsequent; then
   9012 	# Use $CC to link under sequent, because it throws in some extra .o
   9013 	# files that make .init and .fini sections work.
   9014 	archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   9015       else
   9016 	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   9017       fi
   9018       hardcode_libdir_flag_spec='-L$libdir'
   9019       hardcode_direct=yes
   9020       hardcode_minus_L=yes
   9021       hardcode_shlibpath_var=no
   9022       ;;
   9023 
   9024     sysv4)
   9025       case $host_vendor in
   9026 	sni)
   9027 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9028 	  hardcode_direct=yes # is this really true???
   9029 	;;
   9030 	siemens)
   9031 	  ## LD is ld it makes a PLAMLIB
   9032 	  ## CC just makes a GrossModule.
   9033 	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   9034 	  reload_cmds='$CC -r -o $output$reload_objs'
   9035 	  hardcode_direct=no
   9036         ;;
   9037 	motorola)
   9038 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9039 	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
   9040 	;;
   9041       esac
   9042       runpath_var='LD_RUN_PATH'
   9043       hardcode_shlibpath_var=no
   9044       ;;
   9045 
   9046     sysv4.3*)
   9047       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9048       hardcode_shlibpath_var=no
   9049       export_dynamic_flag_spec='-Bexport'
   9050       ;;
   9051 
   9052     sysv4*MP*)
   9053       if test -d /usr/nec; then
   9054 	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9055 	hardcode_shlibpath_var=no
   9056 	runpath_var=LD_RUN_PATH
   9057 	hardcode_runpath_var=yes
   9058 	ld_shlibs=yes
   9059       fi
   9060       ;;
   9061 
   9062     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   9063       no_undefined_flag='${wl}-z,text'
   9064       archive_cmds_need_lc=no
   9065       hardcode_shlibpath_var=no
   9066       runpath_var='LD_RUN_PATH'
   9067 
   9068       if test "$GCC" = yes; then
   9069 	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9070 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9071       else
   9072 	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9073 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9074       fi
   9075       ;;
   9076 
   9077     sysv5* | sco3.2v5* | sco5v6*)
   9078       # Note: We can NOT use -z defs as we might desire, because we do not
   9079       # link with -lc, and that would cause any symbols used from libc to
   9080       # always be unresolved, which means just about no library would
   9081       # ever link correctly.  If we're not using GNU ld we use -z text
   9082       # though, which does catch some bad symbols but isn't as heavy-handed
   9083       # as -z defs.
   9084       no_undefined_flag='${wl}-z,text'
   9085       allow_undefined_flag='${wl}-z,nodefs'
   9086       archive_cmds_need_lc=no
   9087       hardcode_shlibpath_var=no
   9088       hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
   9089       hardcode_libdir_separator=':'
   9090       link_all_deplibs=yes
   9091       export_dynamic_flag_spec='${wl}-Bexport'
   9092       runpath_var='LD_RUN_PATH'
   9093 
   9094       if test "$GCC" = yes; then
   9095 	archive_cmds='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   9096 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   9097       else
   9098 	archive_cmds='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   9099 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   9100       fi
   9101       ;;
   9102 
   9103     uts4*)
   9104       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9105       hardcode_libdir_flag_spec='-L$libdir'
   9106       hardcode_shlibpath_var=no
   9107       ;;
   9108 
   9109     *)
   9110       ld_shlibs=no
   9111       ;;
   9112     esac
   9113   fi
   9114 
   9115 { $as_echo "$as_me:$LINENO: result: $ld_shlibs" >&5
   9116 $as_echo "$ld_shlibs" >&6; }
   9117 test "$ld_shlibs" = no && can_build_shared=no
   9118 
   9119 #
   9120 # Do we need to explicitly link libc?
   9121 #
   9122 case "x$archive_cmds_need_lc" in
   9123 x|xyes)
   9124   # Assume -lc should be added
   9125   archive_cmds_need_lc=yes
   9126 
   9127   if test "$enable_shared" = yes && test "$GCC" = yes; then
   9128     case $archive_cmds in
   9129     *'~'*)
   9130       # FIXME: we may have to deal with multi-command sequences.
   9131       ;;
   9132     '$CC '*)
   9133       # Test whether the compiler implicitly links with -lc since on some
   9134       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   9135       # to ld, don't add -lc before -lgcc.
   9136       { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
   9137 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
   9138       $rm conftest*
   9139       echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   9140 
   9141       if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   9142   (eval $ac_compile) 2>&5
   9143   ac_status=$?
   9144   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9145   (exit $ac_status); } 2>conftest.err; then
   9146         soname=conftest
   9147         lib=conftest
   9148         libobjs=conftest.$ac_objext
   9149         deplibs=
   9150         wl=$lt_prog_compiler_wl
   9151 	pic_flag=$lt_prog_compiler_pic
   9152         compiler_flags=-v
   9153         linker_flags=-v
   9154         verstring=
   9155         output_objdir=.
   9156         libname=conftest
   9157         lt_save_allow_undefined_flag=$allow_undefined_flag
   9158         allow_undefined_flag=
   9159         if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
   9160   (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
   9161   ac_status=$?
   9162   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9163   (exit $ac_status); }
   9164         then
   9165 	  archive_cmds_need_lc=no
   9166         else
   9167 	  archive_cmds_need_lc=yes
   9168         fi
   9169         allow_undefined_flag=$lt_save_allow_undefined_flag
   9170       else
   9171         cat conftest.err 1>&5
   9172       fi
   9173       $rm conftest*
   9174       { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
   9175 $as_echo "$archive_cmds_need_lc" >&6; }
   9176       ;;
   9177     esac
   9178   fi
   9179   ;;
   9180 esac
   9181 
   9182 { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
   9183 $as_echo_n "checking dynamic linker characteristics... " >&6; }
   9184 library_names_spec=
   9185 libname_spec='lib$name'
   9186 soname_spec=
   9187 shrext_cmds=".so"
   9188 postinstall_cmds=
   9189 postuninstall_cmds=
   9190 finish_cmds=
   9191 finish_eval=
   9192 shlibpath_var=
   9193 shlibpath_overrides_runpath=unknown
   9194 version_type=none
   9195 dynamic_linker="$host_os ld.so"
   9196 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   9197 
   9198 if test "$GCC" = yes; then
   9199   case $host_os in
   9200     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
   9201     *) lt_awk_arg="/^libraries:/" ;;
   9202   esac
   9203   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   9204   if echo "$lt_search_path_spec" | grep ';' >/dev/null ; then
   9205     # if the path contains ";" then we assume it to be the separator
   9206     # otherwise default to the standard path separator (i.e. ":") - it is
   9207     # assumed that no part of a normal pathname contains ";" but that should
   9208     # okay in the real world where ";" in dirpaths is itself problematic.
   9209     lt_search_path_spec=`echo "$lt_search_path_spec" | $SED -e 's/;/ /g'`
   9210   else
   9211     lt_search_path_spec=`echo "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   9212   fi
   9213   # Ok, now we have the path, separated by spaces, we can step through it
   9214   # and add multilib dir if necessary.
   9215   lt_tmp_lt_search_path_spec=
   9216   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
   9217   for lt_sys_path in $lt_search_path_spec; do
   9218     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
   9219       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
   9220     else
   9221       test -d "$lt_sys_path" && \
   9222 	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
   9223     fi
   9224   done
   9225   lt_search_path_spec=`echo $lt_tmp_lt_search_path_spec | awk '
   9226 BEGIN {RS=" "; FS="/|\n";} {
   9227   lt_foo="";
   9228   lt_count=0;
   9229   for (lt_i = NF; lt_i > 0; lt_i--) {
   9230     if ($lt_i != "" && $lt_i != ".") {
   9231       if ($lt_i == "..") {
   9232         lt_count++;
   9233       } else {
   9234         if (lt_count == 0) {
   9235           lt_foo="/" $lt_i lt_foo;
   9236         } else {
   9237           lt_count--;
   9238         }
   9239       }
   9240     }
   9241   }
   9242   if (lt_foo != "") { lt_freq[lt_foo]++; }
   9243   if (lt_freq[lt_foo] == 1) { print lt_foo; }
   9244 }'`
   9245   sys_lib_search_path_spec=`echo $lt_search_path_spec`
   9246 else
   9247   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   9248 fi
   9249 need_lib_prefix=unknown
   9250 hardcode_into_libs=no
   9251 
   9252 # when you set need_version to no, make sure it does not cause -set_version
   9253 # flags to be left without arguments
   9254 need_version=unknown
   9255 
   9256 case $host_os in
   9257 aix3*)
   9258   version_type=linux
   9259   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   9260   shlibpath_var=LIBPATH
   9261 
   9262   # AIX 3 has no versioning support, so we append a major version to the name.
   9263   soname_spec='${libname}${release}${shared_ext}$major'
   9264   ;;
   9265 
   9266 aix[4-9]*)
   9267   version_type=linux
   9268   need_lib_prefix=no
   9269   need_version=no
   9270   hardcode_into_libs=yes
   9271   if test "$host_cpu" = ia64; then
   9272     # AIX 5 supports IA64
   9273     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
   9274     shlibpath_var=LD_LIBRARY_PATH
   9275   else
   9276     # With GCC up to 2.95.x, collect2 would create an import file
   9277     # for dependence libraries.  The import file would start with
   9278     # the line `#! .'.  This would cause the generated library to
   9279     # depend on `.', always an invalid library.  This was fixed in
   9280     # development snapshots of GCC prior to 3.0.
   9281     case $host_os in
   9282       aix4 | aix4.[01] | aix4.[01].*)
   9283       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   9284 	   echo ' yes '
   9285 	   echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
   9286 	:
   9287       else
   9288 	can_build_shared=no
   9289       fi
   9290       ;;
   9291     esac
   9292     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
   9293     # soname into executable. Probably we can add versioning support to
   9294     # collect2, so additional links can be useful in future.
   9295     if test "$aix_use_runtimelinking" = yes; then
   9296       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   9297       # instead of lib<name>.a to let people know that these are not
   9298       # typical AIX shared libraries.
   9299       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9300     else
   9301       # We preserve .a as extension for shared libraries through AIX4.2
   9302       # and later when we are not doing run time linking.
   9303       library_names_spec='${libname}${release}.a $libname.a'
   9304       soname_spec='${libname}${release}${shared_ext}$major'
   9305     fi
   9306     shlibpath_var=LIBPATH
   9307   fi
   9308   ;;
   9309 
   9310 amigaos*)
   9311   library_names_spec='$libname.ixlibrary $libname.a'
   9312   # Create ${libname}_ixlibrary.a entries in /sys/libs.
   9313   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'
   9314   ;;
   9315 
   9316 beos*)
   9317   library_names_spec='${libname}${shared_ext}'
   9318   dynamic_linker="$host_os ld.so"
   9319   shlibpath_var=LIBRARY_PATH
   9320   ;;
   9321 
   9322 bsdi[45]*)
   9323   version_type=linux
   9324   need_version=no
   9325   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9326   soname_spec='${libname}${release}${shared_ext}$major'
   9327   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   9328   shlibpath_var=LD_LIBRARY_PATH
   9329   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   9330   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   9331   # the default ld.so.conf also contains /usr/contrib/lib and
   9332   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   9333   # libtool to hard-code these into programs
   9334   ;;
   9335 
   9336 cygwin* | mingw* | pw32*)
   9337   version_type=windows
   9338   shrext_cmds=".dll"
   9339   need_version=no
   9340   need_lib_prefix=no
   9341 
   9342   case $GCC,$host_os in
   9343   yes,cygwin* | yes,mingw* | yes,pw32*)
   9344     library_names_spec='$libname.dll.a'
   9345     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   9346     postinstall_cmds='base_file=`basename \${file}`~
   9347       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
   9348       dldir=$destdir/`dirname \$dlpath`~
   9349       test -d \$dldir || mkdir -p \$dldir~
   9350       $install_prog $dir/$dlname \$dldir/$dlname~
   9351       chmod a+x \$dldir/$dlname'
   9352     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   9353       dlpath=$dir/\$dldll~
   9354        $rm \$dlpath'
   9355     shlibpath_overrides_runpath=yes
   9356 
   9357     case $host_os in
   9358     cygwin*)
   9359       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   9360       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   9361       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
   9362       ;;
   9363     mingw*)
   9364       # MinGW DLLs use traditional 'lib' prefix
   9365       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   9366       sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   9367       if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
   9368         # It is most probably a Windows format PATH printed by
   9369         # mingw gcc, but we are running on Cygwin. Gcc prints its search
   9370         # path with ; separators, and with drive letters. We can handle the
   9371         # drive letters (cygwin fileutils understands them), so leave them,
   9372         # especially as we might pass files found there to a mingw objdump,
   9373         # which wouldn't understand a cygwinified path. Ahh.
   9374         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   9375       else
   9376         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   9377       fi
   9378       ;;
   9379     pw32*)
   9380       # pw32 DLLs use 'pw' prefix rather than 'lib'
   9381       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   9382       ;;
   9383     esac
   9384     ;;
   9385 
   9386   *)
   9387     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
   9388     ;;
   9389   esac
   9390   dynamic_linker='Win32 ld.exe'
   9391   # FIXME: first we should search . and the directory the executable is in
   9392   shlibpath_var=PATH
   9393   ;;
   9394 
   9395 darwin* | rhapsody*)
   9396   dynamic_linker="$host_os dyld"
   9397   version_type=darwin
   9398   need_lib_prefix=no
   9399   need_version=no
   9400   library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
   9401   soname_spec='${libname}${release}${major}$shared_ext'
   9402   shlibpath_overrides_runpath=yes
   9403   shlibpath_var=DYLD_LIBRARY_PATH
   9404   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   9405 
   9406   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
   9407   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   9408   ;;
   9409 
   9410 dgux*)
   9411   version_type=linux
   9412   need_lib_prefix=no
   9413   need_version=no
   9414   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
   9415   soname_spec='${libname}${release}${shared_ext}$major'
   9416   shlibpath_var=LD_LIBRARY_PATH
   9417   ;;
   9418 
   9419 freebsd1*)
   9420   dynamic_linker=no
   9421   ;;
   9422 
   9423 freebsd* | dragonfly*)
   9424   # DragonFly does not have aout.  When/if they implement a new
   9425   # versioning mechanism, adjust this.
   9426   if test -x /usr/bin/objformat; then
   9427     objformat=`/usr/bin/objformat`
   9428   else
   9429     case $host_os in
   9430     freebsd[123]*) objformat=aout ;;
   9431     *) objformat=elf ;;
   9432     esac
   9433   fi
   9434   version_type=freebsd-$objformat
   9435   case $version_type in
   9436     freebsd-elf*)
   9437       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   9438       need_version=no
   9439       need_lib_prefix=no
   9440       ;;
   9441     freebsd-*)
   9442       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
   9443       need_version=yes
   9444       ;;
   9445   esac
   9446   shlibpath_var=LD_LIBRARY_PATH
   9447   case $host_os in
   9448   freebsd2*)
   9449     shlibpath_overrides_runpath=yes
   9450     ;;
   9451   freebsd3.[01]* | freebsdelf3.[01]*)
   9452     shlibpath_overrides_runpath=yes
   9453     hardcode_into_libs=yes
   9454     ;;
   9455   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   9456   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   9457     shlibpath_overrides_runpath=no
   9458     hardcode_into_libs=yes
   9459     ;;
   9460   *) # from 4.6 on, and DragonFly
   9461     shlibpath_overrides_runpath=yes
   9462     hardcode_into_libs=yes
   9463     ;;
   9464   esac
   9465   ;;
   9466 
   9467 gnu*)
   9468   version_type=linux
   9469   need_lib_prefix=no
   9470   need_version=no
   9471   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   9472   soname_spec='${libname}${release}${shared_ext}$major'
   9473   shlibpath_var=LD_LIBRARY_PATH
   9474   hardcode_into_libs=yes
   9475   ;;
   9476 
   9477 hpux9* | hpux10* | hpux11*)
   9478   # Give a soname corresponding to the major version so that dld.sl refuses to
   9479   # link against other versions.
   9480   version_type=sunos
   9481   need_lib_prefix=no
   9482   need_version=no
   9483   case $host_cpu in
   9484   ia64*)
   9485     shrext_cmds='.so'
   9486     hardcode_into_libs=yes
   9487     dynamic_linker="$host_os dld.so"
   9488     shlibpath_var=LD_LIBRARY_PATH
   9489     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   9490     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9491     soname_spec='${libname}${release}${shared_ext}$major'
   9492     if test "X$HPUX_IA64_MODE" = X32; then
   9493       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   9494     else
   9495       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   9496     fi
   9497     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   9498     ;;
   9499    hppa*64*)
   9500      shrext_cmds='.sl'
   9501      hardcode_into_libs=yes
   9502      dynamic_linker="$host_os dld.sl"
   9503      shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   9504      shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   9505      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9506      soname_spec='${libname}${release}${shared_ext}$major'
   9507      sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   9508      sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   9509      ;;
   9510    *)
   9511     shrext_cmds='.sl'
   9512     dynamic_linker="$host_os dld.sl"
   9513     shlibpath_var=SHLIB_PATH
   9514     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   9515     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9516     soname_spec='${libname}${release}${shared_ext}$major'
   9517     ;;
   9518   esac
   9519   # HP-UX runs *really* slowly unless shared libraries are mode 555.
   9520   postinstall_cmds='chmod 555 $lib'
   9521   ;;
   9522 
   9523 interix[3-9]*)
   9524   version_type=linux
   9525   need_lib_prefix=no
   9526   need_version=no
   9527   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   9528   soname_spec='${libname}${release}${shared_ext}$major'
   9529   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   9530   shlibpath_var=LD_LIBRARY_PATH
   9531   shlibpath_overrides_runpath=no
   9532   hardcode_into_libs=yes
   9533   ;;
   9534 
   9535 irix5* | irix6* | nonstopux*)
   9536   case $host_os in
   9537     nonstopux*) version_type=nonstopux ;;
   9538     *)
   9539 	if test "$lt_cv_prog_gnu_ld" = yes; then
   9540 		version_type=linux
   9541 	else
   9542 		version_type=irix
   9543 	fi ;;
   9544   esac
   9545   need_lib_prefix=no
   9546   need_version=no
   9547   soname_spec='${libname}${release}${shared_ext}$major'
   9548   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
   9549   case $host_os in
   9550   irix5* | nonstopux*)
   9551     libsuff= shlibsuff=
   9552     ;;
   9553   *)
   9554     case $LD in # libtool.m4 will add one of these switches to LD
   9555     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   9556       libsuff= shlibsuff= libmagic=32-bit;;
   9557     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   9558       libsuff=32 shlibsuff=N32 libmagic=N32;;
   9559     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   9560       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   9561     *) libsuff= shlibsuff= libmagic=never-match;;
   9562     esac
   9563     ;;
   9564   esac
   9565   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   9566   shlibpath_overrides_runpath=no
   9567   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   9568   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   9569   hardcode_into_libs=yes
   9570   ;;
   9571 
   9572 # No shared lib support for Linux oldld, aout, or coff.
   9573 linux*oldld* | linux*aout* | linux*coff*)
   9574   dynamic_linker=no
   9575   ;;
   9576 
   9577 # This must be Linux ELF.
   9578 linux* | k*bsd*-gnu)
   9579   version_type=linux
   9580   need_lib_prefix=no
   9581   need_version=no
   9582   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9583   soname_spec='${libname}${release}${shared_ext}$major'
   9584   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   9585   shlibpath_var=LD_LIBRARY_PATH
   9586   shlibpath_overrides_runpath=no
   9587   # This implies no fast_install, which is unacceptable.
   9588   # Some rework will be needed to allow for fast_install
   9589   # before this can be enabled.
   9590   hardcode_into_libs=yes
   9591 
   9592   # Append ld.so.conf contents to the search path
   9593   if test -f /etc/ld.so.conf; then
   9594     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' ' '`
   9595     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   9596   fi
   9597 
   9598   # We used to test for /lib/ld.so.1 and disable shared libraries on
   9599   # powerpc, because MkLinux only supported shared libraries with the
   9600   # GNU dynamic linker.  Since this was broken with cross compilers,
   9601   # most powerpc-linux boxes support dynamic linking these days and
   9602   # people can always --disable-shared, the test was removed, and we
   9603   # assume the GNU/Linux dynamic linker is in use.
   9604   dynamic_linker='GNU/Linux ld.so'
   9605   ;;
   9606 
   9607 netbsd*)
   9608   version_type=sunos
   9609   need_lib_prefix=no
   9610   need_version=no
   9611   if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   9612     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   9613     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   9614     dynamic_linker='NetBSD (a.out) ld.so'
   9615   else
   9616     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   9617     soname_spec='${libname}${release}${shared_ext}$major'
   9618     dynamic_linker='NetBSD ld.elf_so'
   9619   fi
   9620   shlibpath_var=LD_LIBRARY_PATH
   9621   shlibpath_overrides_runpath=yes
   9622   hardcode_into_libs=yes
   9623   ;;
   9624 
   9625 newsos6)
   9626   version_type=linux
   9627   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9628   shlibpath_var=LD_LIBRARY_PATH
   9629   shlibpath_overrides_runpath=yes
   9630   ;;
   9631 
   9632 nto-qnx*)
   9633   version_type=linux
   9634   need_lib_prefix=no
   9635   need_version=no
   9636   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9637   soname_spec='${libname}${release}${shared_ext}$major'
   9638   shlibpath_var=LD_LIBRARY_PATH
   9639   shlibpath_overrides_runpath=yes
   9640   ;;
   9641 
   9642 openbsd*)
   9643   version_type=sunos
   9644   sys_lib_dlsearch_path_spec="/usr/lib"
   9645   need_lib_prefix=no
   9646   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
   9647   case $host_os in
   9648     openbsd3.3 | openbsd3.3.*) need_version=yes ;;
   9649     *)                         need_version=no  ;;
   9650   esac
   9651   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   9652   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   9653   shlibpath_var=LD_LIBRARY_PATH
   9654   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   9655     case $host_os in
   9656       openbsd2.[89] | openbsd2.[89].*)
   9657 	shlibpath_overrides_runpath=no
   9658 	;;
   9659       *)
   9660 	shlibpath_overrides_runpath=yes
   9661 	;;
   9662       esac
   9663   else
   9664     shlibpath_overrides_runpath=yes
   9665   fi
   9666   ;;
   9667 
   9668 os2*)
   9669   libname_spec='$name'
   9670   shrext_cmds=".dll"
   9671   need_lib_prefix=no
   9672   library_names_spec='$libname${shared_ext} $libname.a'
   9673   dynamic_linker='OS/2 ld.exe'
   9674   shlibpath_var=LIBPATH
   9675   ;;
   9676 
   9677 osf3* | osf4* | osf5*)
   9678   version_type=osf
   9679   need_lib_prefix=no
   9680   need_version=no
   9681   soname_spec='${libname}${release}${shared_ext}$major'
   9682   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9683   shlibpath_var=LD_LIBRARY_PATH
   9684   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   9685   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   9686   ;;
   9687 
   9688 rdos*)
   9689   dynamic_linker=no
   9690   ;;
   9691 
   9692 solaris*)
   9693   version_type=linux
   9694   need_lib_prefix=no
   9695   need_version=no
   9696   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9697   soname_spec='${libname}${release}${shared_ext}$major'
   9698   shlibpath_var=LD_LIBRARY_PATH
   9699   shlibpath_overrides_runpath=yes
   9700   hardcode_into_libs=yes
   9701   # ldd complains unless libraries are executable
   9702   postinstall_cmds='chmod +x $lib'
   9703   ;;
   9704 
   9705 sunos4*)
   9706   version_type=sunos
   9707   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   9708   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   9709   shlibpath_var=LD_LIBRARY_PATH
   9710   shlibpath_overrides_runpath=yes
   9711   if test "$with_gnu_ld" = yes; then
   9712     need_lib_prefix=no
   9713   fi
   9714   need_version=yes
   9715   ;;
   9716 
   9717 sysv4 | sysv4.3*)
   9718   version_type=linux
   9719   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9720   soname_spec='${libname}${release}${shared_ext}$major'
   9721   shlibpath_var=LD_LIBRARY_PATH
   9722   case $host_vendor in
   9723     sni)
   9724       shlibpath_overrides_runpath=no
   9725       need_lib_prefix=no
   9726       export_dynamic_flag_spec='${wl}-Blargedynsym'
   9727       runpath_var=LD_RUN_PATH
   9728       ;;
   9729     siemens)
   9730       need_lib_prefix=no
   9731       ;;
   9732     motorola)
   9733       need_lib_prefix=no
   9734       need_version=no
   9735       shlibpath_overrides_runpath=no
   9736       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   9737       ;;
   9738   esac
   9739   ;;
   9740 
   9741 sysv4*MP*)
   9742   if test -d /usr/nec ;then
   9743     version_type=linux
   9744     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
   9745     soname_spec='$libname${shared_ext}.$major'
   9746     shlibpath_var=LD_LIBRARY_PATH
   9747   fi
   9748   ;;
   9749 
   9750 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   9751   version_type=freebsd-elf
   9752   need_lib_prefix=no
   9753   need_version=no
   9754   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   9755   soname_spec='${libname}${release}${shared_ext}$major'
   9756   shlibpath_var=LD_LIBRARY_PATH
   9757   hardcode_into_libs=yes
   9758   if test "$with_gnu_ld" = yes; then
   9759     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   9760     shlibpath_overrides_runpath=no
   9761   else
   9762     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   9763     shlibpath_overrides_runpath=yes
   9764     case $host_os in
   9765       sco3.2v5*)
   9766         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   9767 	;;
   9768     esac
   9769   fi
   9770   sys_lib_dlsearch_path_spec='/usr/lib'
   9771   ;;
   9772 
   9773 uts4*)
   9774   version_type=linux
   9775   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9776   soname_spec='${libname}${release}${shared_ext}$major'
   9777   shlibpath_var=LD_LIBRARY_PATH
   9778   ;;
   9779 
   9780 *)
   9781   dynamic_linker=no
   9782   ;;
   9783 esac
   9784 { $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
   9785 $as_echo "$dynamic_linker" >&6; }
   9786 test "$dynamic_linker" = no && can_build_shared=no
   9787 
   9788 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
   9789   $as_echo_n "(cached) " >&6
   9790 else
   9791   lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
   9792 fi
   9793 
   9794 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
   9795 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
   9796   $as_echo_n "(cached) " >&6
   9797 else
   9798   lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
   9799 fi
   9800 
   9801 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
   9802 
   9803 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   9804 if test "$GCC" = yes; then
   9805   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   9806 fi
   9807 
   9808 { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
   9809 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
   9810 hardcode_action=
   9811 if test -n "$hardcode_libdir_flag_spec" || \
   9812    test -n "$runpath_var" || \
   9813    test "X$hardcode_automatic" = "Xyes" ; then
   9814 
   9815   # We can hardcode non-existant directories.
   9816   if test "$hardcode_direct" != no &&
   9817      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   9818      # have to relink, otherwise we might link with an installed library
   9819      # when we should be linking with a yet-to-be-installed one
   9820      ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
   9821      test "$hardcode_minus_L" != no; then
   9822     # Linking always hardcodes the temporary library directory.
   9823     hardcode_action=relink
   9824   else
   9825     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   9826     hardcode_action=immediate
   9827   fi
   9828 else
   9829   # We cannot hardcode anything, or else we can only hardcode existing
   9830   # directories.
   9831   hardcode_action=unsupported
   9832 fi
   9833 { $as_echo "$as_me:$LINENO: result: $hardcode_action" >&5
   9834 $as_echo "$hardcode_action" >&6; }
   9835 
   9836 if test "$hardcode_action" = relink; then
   9837   # Fast installation is not supported
   9838   enable_fast_install=no
   9839 elif test "$shlibpath_overrides_runpath" = yes ||
   9840      test "$enable_shared" = no; then
   9841   # Fast installation is not necessary
   9842   enable_fast_install=needless
   9843 fi
   9844 
   9845 striplib=
   9846 old_striplib=
   9847 { $as_echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
   9848 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
   9849 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
   9850   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
   9851   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
   9852   { $as_echo "$as_me:$LINENO: result: yes" >&5
   9853 $as_echo "yes" >&6; }
   9854 else
   9855 # FIXME - insert some real tests, host_os isn't really good enough
   9856   case $host_os in
   9857    darwin*)
   9858        if test -n "$STRIP" ; then
   9859          striplib="$STRIP -x"
   9860          old_striplib="$STRIP -S"
   9861          { $as_echo "$as_me:$LINENO: result: yes" >&5
   9862 $as_echo "yes" >&6; }
   9863        else
   9864   { $as_echo "$as_me:$LINENO: result: no" >&5
   9865 $as_echo "no" >&6; }
   9866 fi
   9867        ;;
   9868    *)
   9869   { $as_echo "$as_me:$LINENO: result: no" >&5
   9870 $as_echo "no" >&6; }
   9871     ;;
   9872   esac
   9873 fi
   9874 
   9875 if test "x$enable_dlopen" != xyes; then
   9876   enable_dlopen=unknown
   9877   enable_dlopen_self=unknown
   9878   enable_dlopen_self_static=unknown
   9879 else
   9880   lt_cv_dlopen=no
   9881   lt_cv_dlopen_libs=
   9882 
   9883   case $host_os in
   9884   beos*)
   9885     lt_cv_dlopen="load_add_on"
   9886     lt_cv_dlopen_libs=
   9887     lt_cv_dlopen_self=yes
   9888     ;;
   9889 
   9890   mingw* | pw32*)
   9891     lt_cv_dlopen="LoadLibrary"
   9892     lt_cv_dlopen_libs=
   9893    ;;
   9894 
   9895   cygwin*)
   9896     lt_cv_dlopen="dlopen"
   9897     lt_cv_dlopen_libs=
   9898    ;;
   9899 
   9900   darwin*)
   9901   # if libdl is installed we need to link against it
   9902     { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
   9903 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   9904 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
   9905   $as_echo_n "(cached) " >&6
   9906 else
   9907   ac_check_lib_save_LIBS=$LIBS
   9908 LIBS="-ldl  $LIBS"
   9909 cat >conftest.$ac_ext <<_ACEOF
   9910 /* confdefs.h.  */
   9911 _ACEOF
   9912 cat confdefs.h >>conftest.$ac_ext
   9913 cat >>conftest.$ac_ext <<_ACEOF
   9914 /* end confdefs.h.  */
   9915 
   9916 /* Override any GCC internal prototype to avoid an error.
   9917    Use char because int might match the return type of a GCC
   9918    builtin and then its argument prototype would still apply.  */
   9919 #ifdef __cplusplus
   9920 extern "C"
   9921 #endif
   9922 char dlopen ();
   9923 int
   9924 main ()
   9925 {
   9926 return dlopen ();
   9927   ;
   9928   return 0;
   9929 }
   9930 _ACEOF
   9931 rm -f conftest.$ac_objext conftest$ac_exeext
   9932 if { (ac_try="$ac_link"
   9933 case "(($ac_try" in
   9934   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   9935   *) ac_try_echo=$ac_try;;
   9936 esac
   9937 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   9938 $as_echo "$ac_try_echo") >&5
   9939   (eval "$ac_link") 2>conftest.er1
   9940   ac_status=$?
   9941   grep -v '^ *+' conftest.er1 >conftest.err
   9942   rm -f conftest.er1
   9943   cat conftest.err >&5
   9944   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9945   (exit $ac_status); } && {
   9946 	 test -z "$ac_c_werror_flag" ||
   9947 	 test ! -s conftest.err
   9948        } && test -s conftest$ac_exeext && {
   9949 	 test "$cross_compiling" = yes ||
   9950 	 $as_test_x conftest$ac_exeext
   9951        }; then
   9952   ac_cv_lib_dl_dlopen=yes
   9953 else
   9954   $as_echo "$as_me: failed program was:" >&5
   9955 sed 's/^/| /' conftest.$ac_ext >&5
   9956 
   9957 	ac_cv_lib_dl_dlopen=no
   9958 fi
   9959 
   9960 rm -rf conftest.dSYM
   9961 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   9962       conftest$ac_exeext conftest.$ac_ext
   9963 LIBS=$ac_check_lib_save_LIBS
   9964 fi
   9965 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
   9966 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   9967 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
   9968   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   9969 else
   9970 
   9971     lt_cv_dlopen="dyld"
   9972     lt_cv_dlopen_libs=
   9973     lt_cv_dlopen_self=yes
   9974 
   9975 fi
   9976 
   9977    ;;
   9978 
   9979   *)
   9980     { $as_echo "$as_me:$LINENO: checking for shl_load" >&5
   9981 $as_echo_n "checking for shl_load... " >&6; }
   9982 if test "${ac_cv_func_shl_load+set}" = set; then
   9983   $as_echo_n "(cached) " >&6
   9984 else
   9985   cat >conftest.$ac_ext <<_ACEOF
   9986 /* confdefs.h.  */
   9987 _ACEOF
   9988 cat confdefs.h >>conftest.$ac_ext
   9989 cat >>conftest.$ac_ext <<_ACEOF
   9990 /* end confdefs.h.  */
   9991 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
   9992    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   9993 #define shl_load innocuous_shl_load
   9994 
   9995 /* System header to define __stub macros and hopefully few prototypes,
   9996     which can conflict with char shl_load (); below.
   9997     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   9998     <limits.h> exists even on freestanding compilers.  */
   9999 
   10000 #ifdef __STDC__
   10001 # include <limits.h>
   10002 #else
   10003 # include <assert.h>
   10004 #endif
   10005 
   10006 #undef shl_load
   10007 
   10008 /* Override any GCC internal prototype to avoid an error.
   10009    Use char because int might match the return type of a GCC
   10010    builtin and then its argument prototype would still apply.  */
   10011 #ifdef __cplusplus
   10012 extern "C"
   10013 #endif
   10014 char shl_load ();
   10015 /* The GNU C library defines this for functions which it implements
   10016     to always fail with ENOSYS.  Some functions are actually named
   10017     something starting with __ and the normal name is an alias.  */
   10018 #if defined __stub_shl_load || defined __stub___shl_load
   10019 choke me
   10020 #endif
   10021 
   10022 int
   10023 main ()
   10024 {
   10025 return shl_load ();
   10026   ;
   10027   return 0;
   10028 }
   10029 _ACEOF
   10030 rm -f conftest.$ac_objext conftest$ac_exeext
   10031 if { (ac_try="$ac_link"
   10032 case "(($ac_try" in
   10033   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   10034   *) ac_try_echo=$ac_try;;
   10035 esac
   10036 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   10037 $as_echo "$ac_try_echo") >&5
   10038   (eval "$ac_link") 2>conftest.er1
   10039   ac_status=$?
   10040   grep -v '^ *+' conftest.er1 >conftest.err
   10041   rm -f conftest.er1
   10042   cat conftest.err >&5
   10043   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10044   (exit $ac_status); } && {
   10045 	 test -z "$ac_c_werror_flag" ||
   10046 	 test ! -s conftest.err
   10047        } && test -s conftest$ac_exeext && {
   10048 	 test "$cross_compiling" = yes ||
   10049 	 $as_test_x conftest$ac_exeext
   10050        }; then
   10051   ac_cv_func_shl_load=yes
   10052 else
   10053   $as_echo "$as_me: failed program was:" >&5
   10054 sed 's/^/| /' conftest.$ac_ext >&5
   10055 
   10056 	ac_cv_func_shl_load=no
   10057 fi
   10058 
   10059 rm -rf conftest.dSYM
   10060 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   10061       conftest$ac_exeext conftest.$ac_ext
   10062 fi
   10063 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
   10064 $as_echo "$ac_cv_func_shl_load" >&6; }
   10065 if test "x$ac_cv_func_shl_load" = x""yes; then
   10066   lt_cv_dlopen="shl_load"
   10067 else
   10068   { $as_echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
   10069 $as_echo_n "checking for shl_load in -ldld... " >&6; }
   10070 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
   10071   $as_echo_n "(cached) " >&6
   10072 else
   10073   ac_check_lib_save_LIBS=$LIBS
   10074 LIBS="-ldld  $LIBS"
   10075 cat >conftest.$ac_ext <<_ACEOF
   10076 /* confdefs.h.  */
   10077 _ACEOF
   10078 cat confdefs.h >>conftest.$ac_ext
   10079 cat >>conftest.$ac_ext <<_ACEOF
   10080 /* end confdefs.h.  */
   10081 
   10082 /* Override any GCC internal prototype to avoid an error.
   10083    Use char because int might match the return type of a GCC
   10084    builtin and then its argument prototype would still apply.  */
   10085 #ifdef __cplusplus
   10086 extern "C"
   10087 #endif
   10088 char shl_load ();
   10089 int
   10090 main ()
   10091 {
   10092 return shl_load ();
   10093   ;
   10094   return 0;
   10095 }
   10096 _ACEOF
   10097 rm -f conftest.$ac_objext conftest$ac_exeext
   10098 if { (ac_try="$ac_link"
   10099 case "(($ac_try" in
   10100   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   10101   *) ac_try_echo=$ac_try;;
   10102 esac
   10103 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   10104 $as_echo "$ac_try_echo") >&5
   10105   (eval "$ac_link") 2>conftest.er1
   10106   ac_status=$?
   10107   grep -v '^ *+' conftest.er1 >conftest.err
   10108   rm -f conftest.er1
   10109   cat conftest.err >&5
   10110   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10111   (exit $ac_status); } && {
   10112 	 test -z "$ac_c_werror_flag" ||
   10113 	 test ! -s conftest.err
   10114        } && test -s conftest$ac_exeext && {
   10115 	 test "$cross_compiling" = yes ||
   10116 	 $as_test_x conftest$ac_exeext
   10117        }; then
   10118   ac_cv_lib_dld_shl_load=yes
   10119 else
   10120   $as_echo "$as_me: failed program was:" >&5
   10121 sed 's/^/| /' conftest.$ac_ext >&5
   10122 
   10123 	ac_cv_lib_dld_shl_load=no
   10124 fi
   10125 
   10126 rm -rf conftest.dSYM
   10127 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   10128       conftest$ac_exeext conftest.$ac_ext
   10129 LIBS=$ac_check_lib_save_LIBS
   10130 fi
   10131 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
   10132 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
   10133 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then
   10134   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
   10135 else
   10136   { $as_echo "$as_me:$LINENO: checking for dlopen" >&5
   10137 $as_echo_n "checking for dlopen... " >&6; }
   10138 if test "${ac_cv_func_dlopen+set}" = set; then
   10139   $as_echo_n "(cached) " >&6
   10140 else
   10141   cat >conftest.$ac_ext <<_ACEOF
   10142 /* confdefs.h.  */
   10143 _ACEOF
   10144 cat confdefs.h >>conftest.$ac_ext
   10145 cat >>conftest.$ac_ext <<_ACEOF
   10146 /* end confdefs.h.  */
   10147 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
   10148    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   10149 #define dlopen innocuous_dlopen
   10150 
   10151 /* System header to define __stub macros and hopefully few prototypes,
   10152     which can conflict with char dlopen (); below.
   10153     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   10154     <limits.h> exists even on freestanding compilers.  */
   10155 
   10156 #ifdef __STDC__
   10157 # include <limits.h>
   10158 #else
   10159 # include <assert.h>
   10160 #endif
   10161 
   10162 #undef dlopen
   10163 
   10164 /* Override any GCC internal prototype to avoid an error.
   10165    Use char because int might match the return type of a GCC
   10166    builtin and then its argument prototype would still apply.  */
   10167 #ifdef __cplusplus
   10168 extern "C"
   10169 #endif
   10170 char dlopen ();
   10171 /* The GNU C library defines this for functions which it implements
   10172     to always fail with ENOSYS.  Some functions are actually named
   10173     something starting with __ and the normal name is an alias.  */
   10174 #if defined __stub_dlopen || defined __stub___dlopen
   10175 choke me
   10176 #endif
   10177 
   10178 int
   10179 main ()
   10180 {
   10181 return dlopen ();
   10182   ;
   10183   return 0;
   10184 }
   10185 _ACEOF
   10186 rm -f conftest.$ac_objext conftest$ac_exeext
   10187 if { (ac_try="$ac_link"
   10188 case "(($ac_try" in
   10189   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   10190   *) ac_try_echo=$ac_try;;
   10191 esac
   10192 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   10193 $as_echo "$ac_try_echo") >&5
   10194   (eval "$ac_link") 2>conftest.er1
   10195   ac_status=$?
   10196   grep -v '^ *+' conftest.er1 >conftest.err
   10197   rm -f conftest.er1
   10198   cat conftest.err >&5
   10199   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10200   (exit $ac_status); } && {
   10201 	 test -z "$ac_c_werror_flag" ||
   10202 	 test ! -s conftest.err
   10203        } && test -s conftest$ac_exeext && {
   10204 	 test "$cross_compiling" = yes ||
   10205 	 $as_test_x conftest$ac_exeext
   10206        }; then
   10207   ac_cv_func_dlopen=yes
   10208 else
   10209   $as_echo "$as_me: failed program was:" >&5
   10210 sed 's/^/| /' conftest.$ac_ext >&5
   10211 
   10212 	ac_cv_func_dlopen=no
   10213 fi
   10214 
   10215 rm -rf conftest.dSYM
   10216 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   10217       conftest$ac_exeext conftest.$ac_ext
   10218 fi
   10219 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
   10220 $as_echo "$ac_cv_func_dlopen" >&6; }
   10221 if test "x$ac_cv_func_dlopen" = x""yes; then
   10222   lt_cv_dlopen="dlopen"
   10223 else
   10224   { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
   10225 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   10226 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
   10227   $as_echo_n "(cached) " >&6
   10228 else
   10229   ac_check_lib_save_LIBS=$LIBS
   10230 LIBS="-ldl  $LIBS"
   10231 cat >conftest.$ac_ext <<_ACEOF
   10232 /* confdefs.h.  */
   10233 _ACEOF
   10234 cat confdefs.h >>conftest.$ac_ext
   10235 cat >>conftest.$ac_ext <<_ACEOF
   10236 /* end confdefs.h.  */
   10237 
   10238 /* Override any GCC internal prototype to avoid an error.
   10239    Use char because int might match the return type of a GCC
   10240    builtin and then its argument prototype would still apply.  */
   10241 #ifdef __cplusplus
   10242 extern "C"
   10243 #endif
   10244 char dlopen ();
   10245 int
   10246 main ()
   10247 {
   10248 return dlopen ();
   10249   ;
   10250   return 0;
   10251 }
   10252 _ACEOF
   10253 rm -f conftest.$ac_objext conftest$ac_exeext
   10254 if { (ac_try="$ac_link"
   10255 case "(($ac_try" in
   10256   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   10257   *) ac_try_echo=$ac_try;;
   10258 esac
   10259 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   10260 $as_echo "$ac_try_echo") >&5
   10261   (eval "$ac_link") 2>conftest.er1
   10262   ac_status=$?
   10263   grep -v '^ *+' conftest.er1 >conftest.err
   10264   rm -f conftest.er1
   10265   cat conftest.err >&5
   10266   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10267   (exit $ac_status); } && {
   10268 	 test -z "$ac_c_werror_flag" ||
   10269 	 test ! -s conftest.err
   10270        } && test -s conftest$ac_exeext && {
   10271 	 test "$cross_compiling" = yes ||
   10272 	 $as_test_x conftest$ac_exeext
   10273        }; then
   10274   ac_cv_lib_dl_dlopen=yes
   10275 else
   10276   $as_echo "$as_me: failed program was:" >&5
   10277 sed 's/^/| /' conftest.$ac_ext >&5
   10278 
   10279 	ac_cv_lib_dl_dlopen=no
   10280 fi
   10281 
   10282 rm -rf conftest.dSYM
   10283 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   10284       conftest$ac_exeext conftest.$ac_ext
   10285 LIBS=$ac_check_lib_save_LIBS
   10286 fi
   10287 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
   10288 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   10289 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
   10290   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   10291 else
   10292   { $as_echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
   10293 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
   10294 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
   10295   $as_echo_n "(cached) " >&6
   10296 else
   10297   ac_check_lib_save_LIBS=$LIBS
   10298 LIBS="-lsvld  $LIBS"
   10299 cat >conftest.$ac_ext <<_ACEOF
   10300 /* confdefs.h.  */
   10301 _ACEOF
   10302 cat confdefs.h >>conftest.$ac_ext
   10303 cat >>conftest.$ac_ext <<_ACEOF
   10304 /* end confdefs.h.  */
   10305 
   10306 /* Override any GCC internal prototype to avoid an error.
   10307    Use char because int might match the return type of a GCC
   10308    builtin and then its argument prototype would still apply.  */
   10309 #ifdef __cplusplus
   10310 extern "C"
   10311 #endif
   10312 char dlopen ();
   10313 int
   10314 main ()
   10315 {
   10316 return dlopen ();
   10317   ;
   10318   return 0;
   10319 }
   10320 _ACEOF
   10321 rm -f conftest.$ac_objext conftest$ac_exeext
   10322 if { (ac_try="$ac_link"
   10323 case "(($ac_try" in
   10324   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   10325   *) ac_try_echo=$ac_try;;
   10326 esac
   10327 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   10328 $as_echo "$ac_try_echo") >&5
   10329   (eval "$ac_link") 2>conftest.er1
   10330   ac_status=$?
   10331   grep -v '^ *+' conftest.er1 >conftest.err
   10332   rm -f conftest.er1
   10333   cat conftest.err >&5
   10334   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10335   (exit $ac_status); } && {
   10336 	 test -z "$ac_c_werror_flag" ||
   10337 	 test ! -s conftest.err
   10338        } && test -s conftest$ac_exeext && {
   10339 	 test "$cross_compiling" = yes ||
   10340 	 $as_test_x conftest$ac_exeext
   10341        }; then
   10342   ac_cv_lib_svld_dlopen=yes
   10343 else
   10344   $as_echo "$as_me: failed program was:" >&5
   10345 sed 's/^/| /' conftest.$ac_ext >&5
   10346 
   10347 	ac_cv_lib_svld_dlopen=no
   10348 fi
   10349 
   10350 rm -rf conftest.dSYM
   10351 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   10352       conftest$ac_exeext conftest.$ac_ext
   10353 LIBS=$ac_check_lib_save_LIBS
   10354 fi
   10355 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
   10356 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
   10357 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then
   10358   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
   10359 else
   10360   { $as_echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
   10361 $as_echo_n "checking for dld_link in -ldld... " >&6; }
   10362 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
   10363   $as_echo_n "(cached) " >&6
   10364 else
   10365   ac_check_lib_save_LIBS=$LIBS
   10366 LIBS="-ldld  $LIBS"
   10367 cat >conftest.$ac_ext <<_ACEOF
   10368 /* confdefs.h.  */
   10369 _ACEOF
   10370 cat confdefs.h >>conftest.$ac_ext
   10371 cat >>conftest.$ac_ext <<_ACEOF
   10372 /* end confdefs.h.  */
   10373 
   10374 /* Override any GCC internal prototype to avoid an error.
   10375    Use char because int might match the return type of a GCC
   10376    builtin and then its argument prototype would still apply.  */
   10377 #ifdef __cplusplus
   10378 extern "C"
   10379 #endif
   10380 char dld_link ();
   10381 int
   10382 main ()
   10383 {
   10384 return dld_link ();
   10385   ;
   10386   return 0;
   10387 }
   10388 _ACEOF
   10389 rm -f conftest.$ac_objext conftest$ac_exeext
   10390 if { (ac_try="$ac_link"
   10391 case "(($ac_try" in
   10392   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   10393   *) ac_try_echo=$ac_try;;
   10394 esac
   10395 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   10396 $as_echo "$ac_try_echo") >&5
   10397   (eval "$ac_link") 2>conftest.er1
   10398   ac_status=$?
   10399   grep -v '^ *+' conftest.er1 >conftest.err
   10400   rm -f conftest.er1
   10401   cat conftest.err >&5
   10402   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10403   (exit $ac_status); } && {
   10404 	 test -z "$ac_c_werror_flag" ||
   10405 	 test ! -s conftest.err
   10406        } && test -s conftest$ac_exeext && {
   10407 	 test "$cross_compiling" = yes ||
   10408 	 $as_test_x conftest$ac_exeext
   10409        }; then
   10410   ac_cv_lib_dld_dld_link=yes
   10411 else
   10412   $as_echo "$as_me: failed program was:" >&5
   10413 sed 's/^/| /' conftest.$ac_ext >&5
   10414 
   10415 	ac_cv_lib_dld_dld_link=no
   10416 fi
   10417 
   10418 rm -rf conftest.dSYM
   10419 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   10420       conftest$ac_exeext conftest.$ac_ext
   10421 LIBS=$ac_check_lib_save_LIBS
   10422 fi
   10423 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
   10424 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
   10425 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then
   10426   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
   10427 fi
   10428 
   10429 
   10430 fi
   10431 
   10432 
   10433 fi
   10434 
   10435 
   10436 fi
   10437 
   10438 
   10439 fi
   10440 
   10441 
   10442 fi
   10443 
   10444     ;;
   10445   esac
   10446 
   10447   if test "x$lt_cv_dlopen" != xno; then
   10448     enable_dlopen=yes
   10449   else
   10450     enable_dlopen=no
   10451   fi
   10452 
   10453   case $lt_cv_dlopen in
   10454   dlopen)
   10455     save_CPPFLAGS="$CPPFLAGS"
   10456     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
   10457 
   10458     save_LDFLAGS="$LDFLAGS"
   10459     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
   10460 
   10461     save_LIBS="$LIBS"
   10462     LIBS="$lt_cv_dlopen_libs $LIBS"
   10463 
   10464     { $as_echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
   10465 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
   10466 if test "${lt_cv_dlopen_self+set}" = set; then
   10467   $as_echo_n "(cached) " >&6
   10468 else
   10469   	  if test "$cross_compiling" = yes; then :
   10470   lt_cv_dlopen_self=cross
   10471 else
   10472   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   10473   lt_status=$lt_dlunknown
   10474   cat > conftest.$ac_ext <<EOF
   10475 #line 10475 "configure"
   10476 #include "confdefs.h"
   10477 
   10478 #if HAVE_DLFCN_H
   10479 #include <dlfcn.h>
   10480 #endif
   10481 
   10482 #include <stdio.h>
   10483 
   10484 #ifdef RTLD_GLOBAL
   10485 #  define LT_DLGLOBAL		RTLD_GLOBAL
   10486 #else
   10487 #  ifdef DL_GLOBAL
   10488 #    define LT_DLGLOBAL		DL_GLOBAL
   10489 #  else
   10490 #    define LT_DLGLOBAL		0
   10491 #  endif
   10492 #endif
   10493 
   10494 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   10495    find out it does not work in some platform. */
   10496 #ifndef LT_DLLAZY_OR_NOW
   10497 #  ifdef RTLD_LAZY
   10498 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   10499 #  else
   10500 #    ifdef DL_LAZY
   10501 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   10502 #    else
   10503 #      ifdef RTLD_NOW
   10504 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   10505 #      else
   10506 #        ifdef DL_NOW
   10507 #          define LT_DLLAZY_OR_NOW	DL_NOW
   10508 #        else
   10509 #          define LT_DLLAZY_OR_NOW	0
   10510 #        endif
   10511 #      endif
   10512 #    endif
   10513 #  endif
   10514 #endif
   10515 
   10516 #ifdef __cplusplus
   10517 extern "C" void exit (int);
   10518 #endif
   10519 
   10520 void fnord() { int i=42;}
   10521 int main ()
   10522 {
   10523   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   10524   int status = $lt_dlunknown;
   10525 
   10526   if (self)
   10527     {
   10528       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   10529       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
   10530       /* dlclose (self); */
   10531     }
   10532   else
   10533     puts (dlerror ());
   10534 
   10535     exit (status);
   10536 }
   10537 EOF
   10538   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   10539   (eval $ac_link) 2>&5
   10540   ac_status=$?
   10541   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10542   (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
   10543     (./conftest; exit; ) >&5 2>/dev/null
   10544     lt_status=$?
   10545     case x$lt_status in
   10546       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
   10547       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
   10548       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
   10549     esac
   10550   else :
   10551     # compilation failed
   10552     lt_cv_dlopen_self=no
   10553   fi
   10554 fi
   10555 rm -fr conftest*
   10556 
   10557 
   10558 fi
   10559 { $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
   10560 $as_echo "$lt_cv_dlopen_self" >&6; }
   10561 
   10562     if test "x$lt_cv_dlopen_self" = xyes; then
   10563       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
   10564       { $as_echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
   10565 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
   10566 if test "${lt_cv_dlopen_self_static+set}" = set; then
   10567   $as_echo_n "(cached) " >&6
   10568 else
   10569   	  if test "$cross_compiling" = yes; then :
   10570   lt_cv_dlopen_self_static=cross
   10571 else
   10572   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   10573   lt_status=$lt_dlunknown
   10574   cat > conftest.$ac_ext <<EOF
   10575 #line 10575 "configure"
   10576 #include "confdefs.h"
   10577 
   10578 #if HAVE_DLFCN_H
   10579 #include <dlfcn.h>
   10580 #endif
   10581 
   10582 #include <stdio.h>
   10583 
   10584 #ifdef RTLD_GLOBAL
   10585 #  define LT_DLGLOBAL		RTLD_GLOBAL
   10586 #else
   10587 #  ifdef DL_GLOBAL
   10588 #    define LT_DLGLOBAL		DL_GLOBAL
   10589 #  else
   10590 #    define LT_DLGLOBAL		0
   10591 #  endif
   10592 #endif
   10593 
   10594 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   10595    find out it does not work in some platform. */
   10596 #ifndef LT_DLLAZY_OR_NOW
   10597 #  ifdef RTLD_LAZY
   10598 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   10599 #  else
   10600 #    ifdef DL_LAZY
   10601 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   10602 #    else
   10603 #      ifdef RTLD_NOW
   10604 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   10605 #      else
   10606 #        ifdef DL_NOW
   10607 #          define LT_DLLAZY_OR_NOW	DL_NOW
   10608 #        else
   10609 #          define LT_DLLAZY_OR_NOW	0
   10610 #        endif
   10611 #      endif
   10612 #    endif
   10613 #  endif
   10614 #endif
   10615 
   10616 #ifdef __cplusplus
   10617 extern "C" void exit (int);
   10618 #endif
   10619 
   10620 void fnord() { int i=42;}
   10621 int main ()
   10622 {
   10623   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   10624   int status = $lt_dlunknown;
   10625 
   10626   if (self)
   10627     {
   10628       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   10629       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
   10630       /* dlclose (self); */
   10631     }
   10632   else
   10633     puts (dlerror ());
   10634 
   10635     exit (status);
   10636 }
   10637 EOF
   10638   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   10639   (eval $ac_link) 2>&5
   10640   ac_status=$?
   10641   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10642   (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
   10643     (./conftest; exit; ) >&5 2>/dev/null
   10644     lt_status=$?
   10645     case x$lt_status in
   10646       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
   10647       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
   10648       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
   10649     esac
   10650   else :
   10651     # compilation failed
   10652     lt_cv_dlopen_self_static=no
   10653   fi
   10654 fi
   10655 rm -fr conftest*
   10656 
   10657 
   10658 fi
   10659 { $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
   10660 $as_echo "$lt_cv_dlopen_self_static" >&6; }
   10661     fi
   10662 
   10663     CPPFLAGS="$save_CPPFLAGS"
   10664     LDFLAGS="$save_LDFLAGS"
   10665     LIBS="$save_LIBS"
   10666     ;;
   10667   esac
   10668 
   10669   case $lt_cv_dlopen_self in
   10670   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
   10671   *) enable_dlopen_self=unknown ;;
   10672   esac
   10673 
   10674   case $lt_cv_dlopen_self_static in
   10675   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
   10676   *) enable_dlopen_self_static=unknown ;;
   10677   esac
   10678 fi
   10679 
   10680 
   10681 # Report which library types will actually be built
   10682 { $as_echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
   10683 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
   10684 { $as_echo "$as_me:$LINENO: result: $can_build_shared" >&5
   10685 $as_echo "$can_build_shared" >&6; }
   10686 
   10687 { $as_echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
   10688 $as_echo_n "checking whether to build shared libraries... " >&6; }
   10689 test "$can_build_shared" = "no" && enable_shared=no
   10690 
   10691 # On AIX, shared libraries and static libraries use the same namespace, and
   10692 # are all built from PIC.
   10693 case $host_os in
   10694 aix3*)
   10695   test "$enable_shared" = yes && enable_static=no
   10696   if test -n "$RANLIB"; then
   10697     archive_cmds="$archive_cmds~\$RANLIB \$lib"
   10698     postinstall_cmds='$RANLIB $lib'
   10699   fi
   10700   ;;
   10701 
   10702 aix[4-9]*)
   10703   if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
   10704     test "$enable_shared" = yes && enable_static=no
   10705   fi
   10706     ;;
   10707 esac
   10708 { $as_echo "$as_me:$LINENO: result: $enable_shared" >&5
   10709 $as_echo "$enable_shared" >&6; }
   10710 
   10711 { $as_echo "$as_me:$LINENO: checking whether to build static libraries" >&5
   10712 $as_echo_n "checking whether to build static libraries... " >&6; }
   10713 # Make sure either enable_shared or enable_static is yes.
   10714 test "$enable_shared" = yes || enable_static=yes
   10715 { $as_echo "$as_me:$LINENO: result: $enable_static" >&5
   10716 $as_echo "$enable_static" >&6; }
   10717 
   10718 # The else clause should only fire when bootstrapping the
   10719 # libtool distribution, otherwise you forgot to ship ltmain.sh
   10720 # with your package, and you will get complaints that there are
   10721 # no rules to generate ltmain.sh.
   10722 if test -f "$ltmain"; then
   10723   # See if we are running on zsh, and set the options which allow our commands through
   10724   # without removal of \ escapes.
   10725   if test -n "${ZSH_VERSION+set}" ; then
   10726     setopt NO_GLOB_SUBST
   10727   fi
   10728   # Now quote all the things that may contain metacharacters while being
   10729   # careful not to overquote the AC_SUBSTed values.  We take copies of the
   10730   # variables and quote the copies for generation of the libtool script.
   10731   for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
   10732     SED SHELL STRIP \
   10733     libname_spec library_names_spec soname_spec extract_expsyms_cmds \
   10734     old_striplib striplib file_magic_cmd finish_cmds finish_eval \
   10735     deplibs_check_method reload_flag reload_cmds need_locks \
   10736     lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
   10737     lt_cv_sys_global_symbol_to_c_name_address \
   10738     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
   10739     old_postinstall_cmds old_postuninstall_cmds \
   10740     compiler \
   10741     CC \
   10742     LD \
   10743     lt_prog_compiler_wl \
   10744     lt_prog_compiler_pic \
   10745     lt_prog_compiler_static \
   10746     lt_prog_compiler_no_builtin_flag \
   10747     export_dynamic_flag_spec \
   10748     thread_safe_flag_spec \
   10749     whole_archive_flag_spec \
   10750     enable_shared_with_static_runtimes \
   10751     old_archive_cmds \
   10752     old_archive_from_new_cmds \
   10753     predep_objects \
   10754     postdep_objects \
   10755     predeps \
   10756     postdeps \
   10757     compiler_lib_search_path \
   10758     compiler_lib_search_dirs \
   10759     archive_cmds \
   10760     archive_expsym_cmds \
   10761     postinstall_cmds \
   10762     postuninstall_cmds \
   10763     old_archive_from_expsyms_cmds \
   10764     allow_undefined_flag \
   10765     no_undefined_flag \
   10766     export_symbols_cmds \
   10767     hardcode_libdir_flag_spec \
   10768     hardcode_libdir_flag_spec_ld \
   10769     hardcode_libdir_separator \
   10770     hardcode_automatic \
   10771     module_cmds \
   10772     module_expsym_cmds \
   10773     lt_cv_prog_compiler_c_o \
   10774     fix_srcfile_path \
   10775     exclude_expsyms \
   10776     include_expsyms; do
   10777 
   10778     case $var in
   10779     old_archive_cmds | \
   10780     old_archive_from_new_cmds | \
   10781     archive_cmds | \
   10782     archive_expsym_cmds | \
   10783     module_cmds | \
   10784     module_expsym_cmds | \
   10785     old_archive_from_expsyms_cmds | \
   10786     export_symbols_cmds | \
   10787     extract_expsyms_cmds | reload_cmds | finish_cmds | \
   10788     postinstall_cmds | postuninstall_cmds | \
   10789     old_postinstall_cmds | old_postuninstall_cmds | \
   10790     sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
   10791       # Double-quote double-evaled strings.
   10792       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
   10793       ;;
   10794     *)
   10795       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
   10796       ;;
   10797     esac
   10798   done
   10799 
   10800   case $lt_echo in
   10801   *'\$0 --fallback-echo"')
   10802     lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
   10803     ;;
   10804   esac
   10805 
   10806 cfgfile="${ofile}T"
   10807   trap "$rm \"$cfgfile\"; exit 1" 1 2 15
   10808   $rm -f "$cfgfile"
   10809   { $as_echo "$as_me:$LINENO: creating $ofile" >&5
   10810 $as_echo "$as_me: creating $ofile" >&6;}
   10811 
   10812   cat <<__EOF__ >> "$cfgfile"
   10813 #! $SHELL
   10814 
   10815 # `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
   10816 # Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
   10817 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
   10818 #
   10819 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008
   10820 # Free Software Foundation, Inc.
   10821 #
   10822 # This file is part of GNU Libtool:
   10823 # Originally by Gordon Matzigkeit <gord (at] gnu.ai.mit.edu>, 1996
   10824 #
   10825 # This program is free software; you can redistribute it and/or modify
   10826 # it under the terms of the GNU General Public License as published by
   10827 # the Free Software Foundation; either version 2 of the License, or
   10828 # (at your option) any later version.
   10829 #
   10830 # This program is distributed in the hope that it will be useful, but
   10831 # WITHOUT ANY WARRANTY; without even the implied warranty of
   10832 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
   10833 # General Public License for more details.
   10834 #
   10835 # You should have received a copy of the GNU General Public License
   10836 # along with this program; if not, write to the Free Software
   10837 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
   10838 #
   10839 # As a special exception to the GNU General Public License, if you
   10840 # distribute this file as part of a program that contains a
   10841 # configuration script generated by Autoconf, you may include it under
   10842 # the same distribution terms that you use for the rest of that program.
   10843 
   10844 # A sed program that does not truncate output.
   10845 SED=$lt_SED
   10846 
   10847 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
   10848 Xsed="$SED -e 1s/^X//"
   10849 
   10850 # The HP-UX ksh and POSIX shell print the target directory to stdout
   10851 # if CDPATH is set.
   10852 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   10853 
   10854 # The names of the tagged configurations supported by this script.
   10855 available_tags=
   10856 
   10857 # ### BEGIN LIBTOOL CONFIG
   10858 
   10859 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   10860 
   10861 # Shell to use when invoking shell scripts.
   10862 SHELL=$lt_SHELL
   10863 
   10864 # Whether or not to build shared libraries.
   10865 build_libtool_libs=$enable_shared
   10866 
   10867 # Whether or not to build static libraries.
   10868 build_old_libs=$enable_static
   10869 
   10870 # Whether or not to add -lc for building shared libraries.
   10871 build_libtool_need_lc=$archive_cmds_need_lc
   10872 
   10873 # Whether or not to disallow shared libs when runtime libs are static
   10874 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
   10875 
   10876 # Whether or not to optimize for fast installation.
   10877 fast_install=$enable_fast_install
   10878 
   10879 # The host system.
   10880 host_alias=$host_alias
   10881 host=$host
   10882 host_os=$host_os
   10883 
   10884 # The build system.
   10885 build_alias=$build_alias
   10886 build=$build
   10887 build_os=$build_os
   10888 
   10889 # An echo program that does not interpret backslashes.
   10890 echo=$lt_echo
   10891 
   10892 # The archiver.
   10893 AR=$lt_AR
   10894 AR_FLAGS=$lt_AR_FLAGS
   10895 
   10896 # A C compiler.
   10897 LTCC=$lt_LTCC
   10898 
   10899 # LTCC compiler flags.
   10900 LTCFLAGS=$lt_LTCFLAGS
   10901 
   10902 # A language-specific compiler.
   10903 CC=$lt_compiler
   10904 
   10905 # Is the compiler the GNU C compiler?
   10906 with_gcc=$GCC
   10907 
   10908 # An ERE matcher.
   10909 EGREP=$lt_EGREP
   10910 
   10911 # The linker used to build libraries.
   10912 LD=$lt_LD
   10913 
   10914 # Whether we need hard or soft links.
   10915 LN_S=$lt_LN_S
   10916 
   10917 # A BSD-compatible nm program.
   10918 NM=$lt_NM
   10919 
   10920 # A symbol stripping program
   10921 STRIP=$lt_STRIP
   10922 
   10923 # Used to examine libraries when file_magic_cmd begins "file"
   10924 MAGIC_CMD=$MAGIC_CMD
   10925 
   10926 # Used on cygwin: DLL creation program.
   10927 DLLTOOL="$DLLTOOL"
   10928 
   10929 # Used on cygwin: object dumper.
   10930 OBJDUMP="$OBJDUMP"
   10931 
   10932 # Used on cygwin: assembler.
   10933 AS="$AS"
   10934 
   10935 # The name of the directory that contains temporary libtool files.
   10936 objdir=$objdir
   10937 
   10938 # How to create reloadable object files.
   10939 reload_flag=$lt_reload_flag
   10940 reload_cmds=$lt_reload_cmds
   10941 
   10942 # How to pass a linker flag through the compiler.
   10943 wl=$lt_lt_prog_compiler_wl
   10944 
   10945 # Object file suffix (normally "o").
   10946 objext="$ac_objext"
   10947 
   10948 # Old archive suffix (normally "a").
   10949 libext="$libext"
   10950 
   10951 # Shared library suffix (normally ".so").
   10952 shrext_cmds='$shrext_cmds'
   10953 
   10954 # Executable file suffix (normally "").
   10955 exeext="$exeext"
   10956 
   10957 # Additional compiler flags for building library objects.
   10958 pic_flag=$lt_lt_prog_compiler_pic
   10959 pic_mode=$pic_mode
   10960 
   10961 # What is the maximum length of a command?
   10962 max_cmd_len=$lt_cv_sys_max_cmd_len
   10963 
   10964 # Does compiler simultaneously support -c and -o options?
   10965 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
   10966 
   10967 # Must we lock files when doing compilation?
   10968 need_locks=$lt_need_locks
   10969 
   10970 # Do we need the lib prefix for modules?
   10971 need_lib_prefix=$need_lib_prefix
   10972 
   10973 # Do we need a version for libraries?
   10974 need_version=$need_version
   10975 
   10976 # Whether dlopen is supported.
   10977 dlopen_support=$enable_dlopen
   10978 
   10979 # Whether dlopen of programs is supported.
   10980 dlopen_self=$enable_dlopen_self
   10981 
   10982 # Whether dlopen of statically linked programs is supported.
   10983 dlopen_self_static=$enable_dlopen_self_static
   10984 
   10985 # Compiler flag to prevent dynamic linking.
   10986 link_static_flag=$lt_lt_prog_compiler_static
   10987 
   10988 # Compiler flag to turn off builtin functions.
   10989 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
   10990 
   10991 # Compiler flag to allow reflexive dlopens.
   10992 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
   10993 
   10994 # Compiler flag to generate shared objects directly from archives.
   10995 whole_archive_flag_spec=$lt_whole_archive_flag_spec
   10996 
   10997 # Compiler flag to generate thread-safe objects.
   10998 thread_safe_flag_spec=$lt_thread_safe_flag_spec
   10999 
   11000 # Library versioning type.
   11001 version_type=$version_type
   11002 
   11003 # Format of library name prefix.
   11004 libname_spec=$lt_libname_spec
   11005 
   11006 # List of archive names.  First name is the real one, the rest are links.
   11007 # The last name is the one that the linker finds with -lNAME.
   11008 library_names_spec=$lt_library_names_spec
   11009 
   11010 # The coded name of the library, if different from the real name.
   11011 soname_spec=$lt_soname_spec
   11012 
   11013 # Commands used to build and install an old-style archive.
   11014 RANLIB=$lt_RANLIB
   11015 old_archive_cmds=$lt_old_archive_cmds
   11016 old_postinstall_cmds=$lt_old_postinstall_cmds
   11017 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   11018 
   11019 # Create an old-style archive from a shared archive.
   11020 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
   11021 
   11022 # Create a temporary old-style archive to link instead of a shared archive.
   11023 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
   11024 
   11025 # Commands used to build and install a shared archive.
   11026 archive_cmds=$lt_archive_cmds
   11027 archive_expsym_cmds=$lt_archive_expsym_cmds
   11028 postinstall_cmds=$lt_postinstall_cmds
   11029 postuninstall_cmds=$lt_postuninstall_cmds
   11030 
   11031 # Commands used to build a loadable module (assumed same as above if empty)
   11032 module_cmds=$lt_module_cmds
   11033 module_expsym_cmds=$lt_module_expsym_cmds
   11034 
   11035 # Commands to strip libraries.
   11036 old_striplib=$lt_old_striplib
   11037 striplib=$lt_striplib
   11038 
   11039 # Dependencies to place before the objects being linked to create a
   11040 # shared library.
   11041 predep_objects=$lt_predep_objects
   11042 
   11043 # Dependencies to place after the objects being linked to create a
   11044 # shared library.
   11045 postdep_objects=$lt_postdep_objects
   11046 
   11047 # Dependencies to place before the objects being linked to create a
   11048 # shared library.
   11049 predeps=$lt_predeps
   11050 
   11051 # Dependencies to place after the objects being linked to create a
   11052 # shared library.
   11053 postdeps=$lt_postdeps
   11054 
   11055 # The directories searched by this compiler when creating a shared
   11056 # library
   11057 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
   11058 
   11059 # The library search path used internally by the compiler when linking
   11060 # a shared library.
   11061 compiler_lib_search_path=$lt_compiler_lib_search_path
   11062 
   11063 # Method to check whether dependent libraries are shared objects.
   11064 deplibs_check_method=$lt_deplibs_check_method
   11065 
   11066 # Command to use when deplibs_check_method == file_magic.
   11067 file_magic_cmd=$lt_file_magic_cmd
   11068 
   11069 # Flag that allows shared libraries with undefined symbols to be built.
   11070 allow_undefined_flag=$lt_allow_undefined_flag
   11071 
   11072 # Flag that forces no undefined symbols.
   11073 no_undefined_flag=$lt_no_undefined_flag
   11074 
   11075 # Commands used to finish a libtool library installation in a directory.
   11076 finish_cmds=$lt_finish_cmds
   11077 
   11078 # Same as above, but a single script fragment to be evaled but not shown.
   11079 finish_eval=$lt_finish_eval
   11080 
   11081 # Take the output of nm and produce a listing of raw symbols and C names.
   11082 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   11083 
   11084 # Transform the output of nm in a proper C declaration
   11085 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   11086 
   11087 # Transform the output of nm in a C name address pair
   11088 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   11089 
   11090 # This is the shared library runtime path variable.
   11091 runpath_var=$runpath_var
   11092 
   11093 # This is the shared library path variable.
   11094 shlibpath_var=$shlibpath_var
   11095 
   11096 # Is shlibpath searched before the hard-coded library search path?
   11097 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   11098 
   11099 # How to hardcode a shared library path into an executable.
   11100 hardcode_action=$hardcode_action
   11101 
   11102 # Whether we should hardcode library paths into libraries.
   11103 hardcode_into_libs=$hardcode_into_libs
   11104 
   11105 # Flag to hardcode \$libdir into a binary during linking.
   11106 # This must work even if \$libdir does not exist.
   11107 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
   11108 
   11109 # If ld is used when linking, flag to hardcode \$libdir into
   11110 # a binary during linking. This must work even if \$libdir does
   11111 # not exist.
   11112 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
   11113 
   11114 # Whether we need a single -rpath flag with a separated argument.
   11115 hardcode_libdir_separator=$lt_hardcode_libdir_separator
   11116 
   11117 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
   11118 # resulting binary.
   11119 hardcode_direct=$hardcode_direct
   11120 
   11121 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
   11122 # resulting binary.
   11123 hardcode_minus_L=$hardcode_minus_L
   11124 
   11125 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
   11126 # the resulting binary.
   11127 hardcode_shlibpath_var=$hardcode_shlibpath_var
   11128 
   11129 # Set to yes if building a shared library automatically hardcodes DIR into the library
   11130 # and all subsequent libraries and executables linked against it.
   11131 hardcode_automatic=$hardcode_automatic
   11132 
   11133 # Variables whose values should be saved in libtool wrapper scripts and
   11134 # restored at relink time.
   11135 variables_saved_for_relink="$variables_saved_for_relink"
   11136 
   11137 # Whether libtool must link a program against all its dependency libraries.
   11138 link_all_deplibs=$link_all_deplibs
   11139 
   11140 # Compile-time system search path for libraries
   11141 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   11142 
   11143 # Run-time system search path for libraries
   11144 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   11145 
   11146 # Fix the shell variable \$srcfile for the compiler.
   11147 fix_srcfile_path=$lt_fix_srcfile_path
   11148 
   11149 # Set to yes if exported symbols are required.
   11150 always_export_symbols=$always_export_symbols
   11151 
   11152 # The commands to list exported symbols.
   11153 export_symbols_cmds=$lt_export_symbols_cmds
   11154 
   11155 # The commands to extract the exported symbol list from a shared archive.
   11156 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   11157 
   11158 # Symbols that should not be listed in the preloaded symbols.
   11159 exclude_expsyms=$lt_exclude_expsyms
   11160 
   11161 # Symbols that must always be exported.
   11162 include_expsyms=$lt_include_expsyms
   11163 
   11164 # ### END LIBTOOL CONFIG
   11165 
   11166 __EOF__
   11167 
   11168 
   11169   case $host_os in
   11170   aix3*)
   11171     cat <<\EOF >> "$cfgfile"
   11172 
   11173 # AIX sometimes has problems with the GCC collect2 program.  For some
   11174 # reason, if we set the COLLECT_NAMES environment variable, the problems
   11175 # vanish in a puff of smoke.
   11176 if test "X${COLLECT_NAMES+set}" != Xset; then
   11177   COLLECT_NAMES=
   11178   export COLLECT_NAMES
   11179 fi
   11180 EOF
   11181     ;;
   11182   esac
   11183 
   11184   # We use sed instead of cat because bash on DJGPP gets confused if
   11185   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
   11186   # text mode, it properly converts lines to CR/LF.  This bash problem
   11187   # is reportedly fixed, but why not run on old versions too?
   11188   sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
   11189 
   11190   mv -f "$cfgfile" "$ofile" || \
   11191     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
   11192   chmod +x "$ofile"
   11193 
   11194 else
   11195   # If there is no Makefile yet, we rely on a make rule to execute
   11196   # `config.status --recheck' to rerun these tests and create the
   11197   # libtool script then.
   11198   ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
   11199   if test -f "$ltmain_in"; then
   11200     test -f Makefile && make "$ltmain"
   11201   fi
   11202 fi
   11203 
   11204 
   11205 ac_ext=c
   11206 ac_cpp='$CPP $CPPFLAGS'
   11207 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   11208 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   11209 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   11210 
   11211 CC="$lt_save_CC"
   11212 
   11213 
   11214 # Check whether --with-tags was given.
   11215 if test "${with_tags+set}" = set; then
   11216   withval=$with_tags; tagnames="$withval"
   11217 fi
   11218 
   11219 
   11220 if test -f "$ltmain" && test -n "$tagnames"; then
   11221   if test ! -f "${ofile}"; then
   11222     { $as_echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist" >&5
   11223 $as_echo "$as_me: WARNING: output file \`$ofile' does not exist" >&2;}
   11224   fi
   11225 
   11226   if test -z "$LTCC"; then
   11227     eval "`$SHELL ${ofile} --config | grep '^LTCC='`"
   11228     if test -z "$LTCC"; then
   11229       { $as_echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
   11230 $as_echo "$as_me: WARNING: output file \`$ofile' does not look like a libtool script" >&2;}
   11231     else
   11232       { $as_echo "$as_me:$LINENO: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&5
   11233 $as_echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;}
   11234     fi
   11235   fi
   11236   if test -z "$LTCFLAGS"; then
   11237     eval "`$SHELL ${ofile} --config | grep '^LTCFLAGS='`"
   11238   fi
   11239 
   11240   # Extract list of available tagged configurations in $ofile.
   11241   # Note that this assumes the entire list is on one line.
   11242   available_tags=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
   11243 
   11244   lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   11245   for tagname in $tagnames; do
   11246     IFS="$lt_save_ifs"
   11247     # Check whether tagname contains only valid characters
   11248     case `$echo "X$tagname" | $Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
   11249     "") ;;
   11250     *)  { { $as_echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
   11251 $as_echo "$as_me: error: invalid tag name: $tagname" >&2;}
   11252    { (exit 1); exit 1; }; }
   11253 	;;
   11254     esac
   11255 
   11256     if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
   11257     then
   11258       { { $as_echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
   11259 $as_echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
   11260    { (exit 1); exit 1; }; }
   11261     fi
   11262 
   11263     # Update the list of available tags.
   11264     if test -n "$tagname"; then
   11265       echo appending configuration tag \"$tagname\" to $ofile
   11266 
   11267       case $tagname in
   11268       CXX)
   11269 	if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
   11270 	    ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
   11271 	    (test "X$CXX" != "Xg++"))) ; then
   11272 	  ac_ext=cpp
   11273 ac_cpp='$CXXCPP $CPPFLAGS'
   11274 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   11275 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   11276 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   11277 
   11278 
   11279 
   11280 
   11281 archive_cmds_need_lc_CXX=no
   11282 allow_undefined_flag_CXX=
   11283 always_export_symbols_CXX=no
   11284 archive_expsym_cmds_CXX=
   11285 export_dynamic_flag_spec_CXX=
   11286 hardcode_direct_CXX=no
   11287 hardcode_libdir_flag_spec_CXX=
   11288 hardcode_libdir_flag_spec_ld_CXX=
   11289 hardcode_libdir_separator_CXX=
   11290 hardcode_minus_L_CXX=no
   11291 hardcode_shlibpath_var_CXX=unsupported
   11292 hardcode_automatic_CXX=no
   11293 module_cmds_CXX=
   11294 module_expsym_cmds_CXX=
   11295 link_all_deplibs_CXX=unknown
   11296 old_archive_cmds_CXX=$old_archive_cmds
   11297 no_undefined_flag_CXX=
   11298 whole_archive_flag_spec_CXX=
   11299 enable_shared_with_static_runtimes_CXX=no
   11300 
   11301 # Dependencies to place before and after the object being linked:
   11302 predep_objects_CXX=
   11303 postdep_objects_CXX=
   11304 predeps_CXX=
   11305 postdeps_CXX=
   11306 compiler_lib_search_path_CXX=
   11307 compiler_lib_search_dirs_CXX=
   11308 
   11309 # Source file extension for C++ test sources.
   11310 ac_ext=cpp
   11311 
   11312 # Object file extension for compiled C++ test sources.
   11313 objext=o
   11314 objext_CXX=$objext
   11315 
   11316 # Code to be used in simple compile tests
   11317 lt_simple_compile_test_code="int some_variable = 0;"
   11318 
   11319 # Code to be used in simple link tests
   11320 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
   11321 
   11322 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
   11323 
   11324 # If no C compiler was specified, use CC.
   11325 LTCC=${LTCC-"$CC"}
   11326 
   11327 # If no C compiler flags were specified, use CFLAGS.
   11328 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   11329 
   11330 # Allow CC to be a program name with arguments.
   11331 compiler=$CC
   11332 
   11333 
   11334 # save warnings/boilerplate of simple test code
   11335 ac_outfile=conftest.$ac_objext
   11336 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   11337 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   11338 _lt_compiler_boilerplate=`cat conftest.err`
   11339 $rm conftest*
   11340 
   11341 ac_outfile=conftest.$ac_objext
   11342 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   11343 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   11344 _lt_linker_boilerplate=`cat conftest.err`
   11345 $rm -r conftest*
   11346 
   11347 
   11348 # Allow CC to be a program name with arguments.
   11349 lt_save_CC=$CC
   11350 lt_save_LD=$LD
   11351 lt_save_GCC=$GCC
   11352 GCC=$GXX
   11353 lt_save_with_gnu_ld=$with_gnu_ld
   11354 lt_save_path_LD=$lt_cv_path_LD
   11355 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
   11356   lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
   11357 else
   11358   $as_unset lt_cv_prog_gnu_ld
   11359 fi
   11360 if test -n "${lt_cv_path_LDCXX+set}"; then
   11361   lt_cv_path_LD=$lt_cv_path_LDCXX
   11362 else
   11363   $as_unset lt_cv_path_LD
   11364 fi
   11365 test -z "${LDCXX+set}" || LD=$LDCXX
   11366 CC=${CXX-"c++"}
   11367 compiler=$CC
   11368 compiler_CXX=$CC
   11369 for cc_temp in $compiler""; do
   11370   case $cc_temp in
   11371     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   11372     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   11373     \-*) ;;
   11374     *) break;;
   11375   esac
   11376 done
   11377 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   11378 
   11379 
   11380 # We don't want -fno-exception wen compiling C++ code, so set the
   11381 # no_builtin_flag separately
   11382 if test "$GXX" = yes; then
   11383   lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
   11384 else
   11385   lt_prog_compiler_no_builtin_flag_CXX=
   11386 fi
   11387 
   11388 if test "$GXX" = yes; then
   11389   # Set up default GNU C++ configuration
   11390 
   11391 
   11392 # Check whether --with-gnu-ld was given.
   11393 if test "${with_gnu_ld+set}" = set; then
   11394   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
   11395 else
   11396   with_gnu_ld=no
   11397 fi
   11398 
   11399 ac_prog=ld
   11400 if test "$GCC" = yes; then
   11401   # Check if gcc -print-prog-name=ld gives a path.
   11402   { $as_echo "$as_me:$LINENO: checking for ld used by $CC" >&5
   11403 $as_echo_n "checking for ld used by $CC... " >&6; }
   11404   case $host in
   11405   *-*-mingw*)
   11406     # gcc leaves a trailing carriage return which upsets mingw
   11407     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   11408   *)
   11409     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   11410   esac
   11411   case $ac_prog in
   11412     # Accept absolute paths.
   11413     [\\/]* | ?:[\\/]*)
   11414       re_direlt='/[^/][^/]*/\.\./'
   11415       # Canonicalize the pathname of ld
   11416       ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
   11417       while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
   11418 	ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
   11419       done
   11420       test -z "$LD" && LD="$ac_prog"
   11421       ;;
   11422   "")
   11423     # If it fails, then pretend we aren't using GCC.
   11424     ac_prog=ld
   11425     ;;
   11426   *)
   11427     # If it is relative, then search for the first ld in PATH.
   11428     with_gnu_ld=unknown
   11429     ;;
   11430   esac
   11431 elif test "$with_gnu_ld" = yes; then
   11432   { $as_echo "$as_me:$LINENO: checking for GNU ld" >&5
   11433 $as_echo_n "checking for GNU ld... " >&6; }
   11434 else
   11435   { $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5
   11436 $as_echo_n "checking for non-GNU ld... " >&6; }
   11437 fi
   11438 if test "${lt_cv_path_LD+set}" = set; then
   11439   $as_echo_n "(cached) " >&6
   11440 else
   11441   if test -z "$LD"; then
   11442   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   11443   for ac_dir in $PATH; do
   11444     IFS="$lt_save_ifs"
   11445     test -z "$ac_dir" && ac_dir=.
   11446     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   11447       lt_cv_path_LD="$ac_dir/$ac_prog"
   11448       # Check to see if the program is GNU ld.  I'd rather use --version,
   11449       # but apparently some variants of GNU ld only accept -v.
   11450       # Break only if it was the GNU/non-GNU ld that we prefer.
   11451       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   11452       *GNU* | *'with BFD'*)
   11453 	test "$with_gnu_ld" != no && break
   11454 	;;
   11455       *)
   11456 	test "$with_gnu_ld" != yes && break
   11457 	;;
   11458       esac
   11459     fi
   11460   done
   11461   IFS="$lt_save_ifs"
   11462 else
   11463   lt_cv_path_LD="$LD" # Let the user override the test with a path.
   11464 fi
   11465 fi
   11466 
   11467 LD="$lt_cv_path_LD"
   11468 if test -n "$LD"; then
   11469   { $as_echo "$as_me:$LINENO: result: $LD" >&5
   11470 $as_echo "$LD" >&6; }
   11471 else
   11472   { $as_echo "$as_me:$LINENO: result: no" >&5
   11473 $as_echo "no" >&6; }
   11474 fi
   11475 test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
   11476 $as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
   11477    { (exit 1); exit 1; }; }
   11478 { $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
   11479 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
   11480 if test "${lt_cv_prog_gnu_ld+set}" = set; then
   11481   $as_echo_n "(cached) " >&6
   11482 else
   11483   # I'd rather use --version here, but apparently some GNU lds only accept -v.
   11484 case `$LD -v 2>&1 </dev/null` in
   11485 *GNU* | *'with BFD'*)
   11486   lt_cv_prog_gnu_ld=yes
   11487   ;;
   11488 *)
   11489   lt_cv_prog_gnu_ld=no
   11490   ;;
   11491 esac
   11492 fi
   11493 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
   11494 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
   11495 with_gnu_ld=$lt_cv_prog_gnu_ld
   11496 
   11497 
   11498 
   11499   # Check if GNU C++ uses GNU ld as the underlying linker, since the
   11500   # archiving commands below assume that GNU ld is being used.
   11501   if test "$with_gnu_ld" = yes; then
   11502     archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
   11503     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'
   11504 
   11505     hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
   11506     export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
   11507 
   11508     # If archive_cmds runs LD, not CC, wlarc should be empty
   11509     # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
   11510     #     investigate it a little bit more. (MM)
   11511     wlarc='${wl}'
   11512 
   11513     # ancient GNU ld didn't support --whole-archive et. al.
   11514     if eval "`$CC -print-prog-name=ld` --help 2>&1" | \
   11515 	grep 'no-whole-archive' > /dev/null; then
   11516       whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   11517     else
   11518       whole_archive_flag_spec_CXX=
   11519     fi
   11520   else
   11521     with_gnu_ld=no
   11522     wlarc=
   11523 
   11524     # A generic and very simple default shared library creation
   11525     # command for GNU C++ for the case where it uses the native
   11526     # linker, instead of GNU ld.  If possible, this setting should
   11527     # overridden to take advantage of the native linker features on
   11528     # the platform it is being used on.
   11529     archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
   11530   fi
   11531 
   11532   # Commands to make compiler produce verbose output that lists
   11533   # what "hidden" libraries, object files and flags are used when
   11534   # linking a shared library.
   11535   output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
   11536 
   11537 else
   11538   GXX=no
   11539   with_gnu_ld=no
   11540   wlarc=
   11541 fi
   11542 
   11543 # PORTME: fill in a description of your system's C++ link characteristics
   11544 { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   11545 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   11546 ld_shlibs_CXX=yes
   11547 case $host_os in
   11548   aix3*)
   11549     # FIXME: insert proper C++ library support
   11550     ld_shlibs_CXX=no
   11551     ;;
   11552   aix[4-9]*)
   11553     if test "$host_cpu" = ia64; then
   11554       # On IA64, the linker does run time linking by default, so we don't
   11555       # have to do anything special.
   11556       aix_use_runtimelinking=no
   11557       exp_sym_flag='-Bexport'
   11558       no_entry_flag=""
   11559     else
   11560       aix_use_runtimelinking=no
   11561 
   11562       # Test if we are trying to use run time linking or normal
   11563       # AIX style linking. If -brtl is somewhere in LDFLAGS, we
   11564       # need to do runtime linking.
   11565       case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   11566 	for ld_flag in $LDFLAGS; do
   11567 	  case $ld_flag in
   11568 	  *-brtl*)
   11569 	    aix_use_runtimelinking=yes
   11570 	    break
   11571 	    ;;
   11572 	  esac
   11573 	done
   11574 	;;
   11575       esac
   11576 
   11577       exp_sym_flag='-bexport'
   11578       no_entry_flag='-bnoentry'
   11579     fi
   11580 
   11581     # When large executables or shared objects are built, AIX ld can
   11582     # have problems creating the table of contents.  If linking a library
   11583     # or program results in "error TOC overflow" add -mminimal-toc to
   11584     # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   11585     # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   11586 
   11587     archive_cmds_CXX=''
   11588     hardcode_direct_CXX=yes
   11589     hardcode_libdir_separator_CXX=':'
   11590     link_all_deplibs_CXX=yes
   11591 
   11592     if test "$GXX" = yes; then
   11593       case $host_os in aix4.[012]|aix4.[012].*)
   11594       # We only want to do this on AIX 4.2 and lower, the check
   11595       # below for broken collect2 doesn't work under 4.3+
   11596 	collect2name=`${CC} -print-prog-name=collect2`
   11597 	if test -f "$collect2name" && \
   11598 	   strings "$collect2name" | grep resolve_lib_name >/dev/null
   11599 	then
   11600 	  # We have reworked collect2
   11601 	  :
   11602 	else
   11603 	  # We have old collect2
   11604 	  hardcode_direct_CXX=unsupported
   11605 	  # It fails to find uninstalled libraries when the uninstalled
   11606 	  # path is not listed in the libpath.  Setting hardcode_minus_L
   11607 	  # to unsupported forces relinking
   11608 	  hardcode_minus_L_CXX=yes
   11609 	  hardcode_libdir_flag_spec_CXX='-L$libdir'
   11610 	  hardcode_libdir_separator_CXX=
   11611 	fi
   11612 	;;
   11613       esac
   11614       shared_flag='-shared'
   11615       if test "$aix_use_runtimelinking" = yes; then
   11616 	shared_flag="$shared_flag "'${wl}-G'
   11617       fi
   11618     else
   11619       # not using gcc
   11620       if test "$host_cpu" = ia64; then
   11621 	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   11622 	# chokes on -Wl,-G. The following line is correct:
   11623 	shared_flag='-G'
   11624       else
   11625 	if test "$aix_use_runtimelinking" = yes; then
   11626 	  shared_flag='${wl}-G'
   11627 	else
   11628 	  shared_flag='${wl}-bM:SRE'
   11629 	fi
   11630       fi
   11631     fi
   11632 
   11633     # It seems that -bexpall does not export symbols beginning with
   11634     # underscore (_), so it is better to generate a list of symbols to export.
   11635     always_export_symbols_CXX=yes
   11636     if test "$aix_use_runtimelinking" = yes; then
   11637       # Warning - without using the other runtime loading flags (-brtl),
   11638       # -berok will link without error, but may produce a broken library.
   11639       allow_undefined_flag_CXX='-berok'
   11640       # Determine the default libpath from the value encoded in an empty executable.
   11641       cat >conftest.$ac_ext <<_ACEOF
   11642 /* confdefs.h.  */
   11643 _ACEOF
   11644 cat confdefs.h >>conftest.$ac_ext
   11645 cat >>conftest.$ac_ext <<_ACEOF
   11646 /* end confdefs.h.  */
   11647 
   11648 int
   11649 main ()
   11650 {
   11651 
   11652   ;
   11653   return 0;
   11654 }
   11655 _ACEOF
   11656 rm -f conftest.$ac_objext conftest$ac_exeext
   11657 if { (ac_try="$ac_link"
   11658 case "(($ac_try" in
   11659   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   11660   *) ac_try_echo=$ac_try;;
   11661 esac
   11662 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   11663 $as_echo "$ac_try_echo") >&5
   11664   (eval "$ac_link") 2>conftest.er1
   11665   ac_status=$?
   11666   grep -v '^ *+' conftest.er1 >conftest.err
   11667   rm -f conftest.er1
   11668   cat conftest.err >&5
   11669   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11670   (exit $ac_status); } && {
   11671 	 test -z "$ac_cxx_werror_flag" ||
   11672 	 test ! -s conftest.err
   11673        } && test -s conftest$ac_exeext && {
   11674 	 test "$cross_compiling" = yes ||
   11675 	 $as_test_x conftest$ac_exeext
   11676        }; then
   11677 
   11678 lt_aix_libpath_sed='
   11679     /Import File Strings/,/^$/ {
   11680 	/^0/ {
   11681 	    s/^0  *\(.*\)$/\1/
   11682 	    p
   11683 	}
   11684     }'
   11685 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   11686 # Check for a 64-bit object if we didn't find anything.
   11687 if test -z "$aix_libpath"; then
   11688   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   11689 fi
   11690 else
   11691   $as_echo "$as_me: failed program was:" >&5
   11692 sed 's/^/| /' conftest.$ac_ext >&5
   11693 
   11694 
   11695 fi
   11696 
   11697 rm -rf conftest.dSYM
   11698 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   11699       conftest$ac_exeext conftest.$ac_ext
   11700 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   11701 
   11702       hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
   11703 
   11704       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"
   11705      else
   11706       if test "$host_cpu" = ia64; then
   11707 	hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
   11708 	allow_undefined_flag_CXX="-z nodefs"
   11709 	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"
   11710       else
   11711 	# Determine the default libpath from the value encoded in an empty executable.
   11712 	cat >conftest.$ac_ext <<_ACEOF
   11713 /* confdefs.h.  */
   11714 _ACEOF
   11715 cat confdefs.h >>conftest.$ac_ext
   11716 cat >>conftest.$ac_ext <<_ACEOF
   11717 /* end confdefs.h.  */
   11718 
   11719 int
   11720 main ()
   11721 {
   11722 
   11723   ;
   11724   return 0;
   11725 }
   11726 _ACEOF
   11727 rm -f conftest.$ac_objext conftest$ac_exeext
   11728 if { (ac_try="$ac_link"
   11729 case "(($ac_try" in
   11730   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   11731   *) ac_try_echo=$ac_try;;
   11732 esac
   11733 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   11734 $as_echo "$ac_try_echo") >&5
   11735   (eval "$ac_link") 2>conftest.er1
   11736   ac_status=$?
   11737   grep -v '^ *+' conftest.er1 >conftest.err
   11738   rm -f conftest.er1
   11739   cat conftest.err >&5
   11740   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11741   (exit $ac_status); } && {
   11742 	 test -z "$ac_cxx_werror_flag" ||
   11743 	 test ! -s conftest.err
   11744        } && test -s conftest$ac_exeext && {
   11745 	 test "$cross_compiling" = yes ||
   11746 	 $as_test_x conftest$ac_exeext
   11747        }; then
   11748 
   11749 lt_aix_libpath_sed='
   11750     /Import File Strings/,/^$/ {
   11751 	/^0/ {
   11752 	    s/^0  *\(.*\)$/\1/
   11753 	    p
   11754 	}
   11755     }'
   11756 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   11757 # Check for a 64-bit object if we didn't find anything.
   11758 if test -z "$aix_libpath"; then
   11759   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   11760 fi
   11761 else
   11762   $as_echo "$as_me: failed program was:" >&5
   11763 sed 's/^/| /' conftest.$ac_ext >&5
   11764 
   11765 
   11766 fi
   11767 
   11768 rm -rf conftest.dSYM
   11769 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   11770       conftest$ac_exeext conftest.$ac_ext
   11771 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   11772 
   11773 	hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
   11774 	# Warning - without using the other run time loading flags,
   11775 	# -berok will link without error, but may produce a broken library.
   11776 	no_undefined_flag_CXX=' ${wl}-bernotok'
   11777 	allow_undefined_flag_CXX=' ${wl}-berok'
   11778 	# Exported symbols can be pulled into shared objects from archives
   11779 	whole_archive_flag_spec_CXX='$convenience'
   11780 	archive_cmds_need_lc_CXX=yes
   11781 	# This is similar to how AIX traditionally builds its shared libraries.
   11782 	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'
   11783       fi
   11784     fi
   11785     ;;
   11786 
   11787   beos*)
   11788     if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   11789       allow_undefined_flag_CXX=unsupported
   11790       # Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   11791       # support --undefined.  This deserves some investigation.  FIXME
   11792       archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   11793     else
   11794       ld_shlibs_CXX=no
   11795     fi
   11796     ;;
   11797 
   11798   chorus*)
   11799     case $cc_basename in
   11800       *)
   11801 	# FIXME: insert proper C++ library support
   11802 	ld_shlibs_CXX=no
   11803 	;;
   11804     esac
   11805     ;;
   11806 
   11807   cygwin* | mingw* | pw32*)
   11808     # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
   11809     # as there is no search path for DLLs.
   11810     hardcode_libdir_flag_spec_CXX='-L$libdir'
   11811     allow_undefined_flag_CXX=unsupported
   11812     always_export_symbols_CXX=no
   11813     enable_shared_with_static_runtimes_CXX=yes
   11814 
   11815     if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
   11816       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'
   11817       # If the export-symbols file already is a .def file (1st line
   11818       # is EXPORTS), use it as is; otherwise, prepend...
   11819       archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   11820 	cp $export_symbols $output_objdir/$soname.def;
   11821       else
   11822 	echo EXPORTS > $output_objdir/$soname.def;
   11823 	cat $export_symbols >> $output_objdir/$soname.def;
   11824       fi~
   11825       $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'
   11826     else
   11827       ld_shlibs_CXX=no
   11828     fi
   11829   ;;
   11830       darwin* | rhapsody*)
   11831       archive_cmds_need_lc_CXX=no
   11832       hardcode_direct_CXX=no
   11833       hardcode_automatic_CXX=yes
   11834       hardcode_shlibpath_var_CXX=unsupported
   11835       whole_archive_flag_spec_CXX=''
   11836       link_all_deplibs_CXX=yes
   11837       allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
   11838       if test "$GXX" = yes ; then
   11839       output_verbose_link_cmd='echo'
   11840       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}"
   11841       module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
   11842       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}"
   11843       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}"
   11844       if test "$lt_cv_apple_cc_single_mod" != "yes"; then
   11845         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}"
   11846         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}"
   11847       fi
   11848       else
   11849       case $cc_basename in
   11850         xlc*)
   11851          output_verbose_link_cmd='echo'
   11852           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'
   11853           module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
   11854           # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
   11855           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}'
   11856           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}'
   11857           ;;
   11858        *)
   11859          ld_shlibs_CXX=no
   11860           ;;
   11861       esac
   11862       fi
   11863         ;;
   11864 
   11865   dgux*)
   11866     case $cc_basename in
   11867       ec++*)
   11868 	# FIXME: insert proper C++ library support
   11869 	ld_shlibs_CXX=no
   11870 	;;
   11871       ghcx*)
   11872 	# Green Hills C++ Compiler
   11873 	# FIXME: insert proper C++ library support
   11874 	ld_shlibs_CXX=no
   11875 	;;
   11876       *)
   11877 	# FIXME: insert proper C++ library support
   11878 	ld_shlibs_CXX=no
   11879 	;;
   11880     esac
   11881     ;;
   11882   freebsd[12]*)
   11883     # C++ shared libraries reported to be fairly broken before switch to ELF
   11884     ld_shlibs_CXX=no
   11885     ;;
   11886   freebsd-elf*)
   11887     archive_cmds_need_lc_CXX=no
   11888     ;;
   11889   freebsd* | dragonfly*)
   11890     # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
   11891     # conventions
   11892     ld_shlibs_CXX=yes
   11893     ;;
   11894   gnu*)
   11895     ;;
   11896   hpux9*)
   11897     hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
   11898     hardcode_libdir_separator_CXX=:
   11899     export_dynamic_flag_spec_CXX='${wl}-E'
   11900     hardcode_direct_CXX=yes
   11901     hardcode_minus_L_CXX=yes # Not in the search PATH,
   11902 				# but as the default
   11903 				# location of the library.
   11904 
   11905     case $cc_basename in
   11906     CC*)
   11907       # FIXME: insert proper C++ library support
   11908       ld_shlibs_CXX=no
   11909       ;;
   11910     aCC*)
   11911       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'
   11912       # Commands to make compiler produce verbose output that lists
   11913       # what "hidden" libraries, object files and flags are used when
   11914       # linking a shared library.
   11915       #
   11916       # There doesn't appear to be a way to prevent this compiler from
   11917       # explicitly linking system object files so we need to strip them
   11918       # from the output so that they don't get included in the library
   11919       # dependencies.
   11920       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'
   11921       ;;
   11922     *)
   11923       if test "$GXX" = yes; then
   11924         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'
   11925       else
   11926         # FIXME: insert proper C++ library support
   11927         ld_shlibs_CXX=no
   11928       fi
   11929       ;;
   11930     esac
   11931     ;;
   11932   hpux10*|hpux11*)
   11933     if test $with_gnu_ld = no; then
   11934       hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
   11935       hardcode_libdir_separator_CXX=:
   11936 
   11937       case $host_cpu in
   11938       hppa*64*|ia64*) ;;
   11939       *)
   11940 	export_dynamic_flag_spec_CXX='${wl}-E'
   11941         ;;
   11942       esac
   11943     fi
   11944     case $host_cpu in
   11945     hppa*64*|ia64*)
   11946       hardcode_direct_CXX=no
   11947       hardcode_shlibpath_var_CXX=no
   11948       ;;
   11949     *)
   11950       hardcode_direct_CXX=yes
   11951       hardcode_minus_L_CXX=yes # Not in the search PATH,
   11952 					      # but as the default
   11953 					      # location of the library.
   11954       ;;
   11955     esac
   11956 
   11957     case $cc_basename in
   11958       CC*)
   11959 	# FIXME: insert proper C++ library support
   11960 	ld_shlibs_CXX=no
   11961 	;;
   11962       aCC*)
   11963 	case $host_cpu in
   11964 	hppa*64*)
   11965 	  archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   11966 	  ;;
   11967 	ia64*)
   11968 	  archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   11969 	  ;;
   11970 	*)
   11971 	  archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   11972 	  ;;
   11973 	esac
   11974 	# Commands to make compiler produce verbose output that lists
   11975 	# what "hidden" libraries, object files and flags are used when
   11976 	# linking a shared library.
   11977 	#
   11978 	# There doesn't appear to be a way to prevent this compiler from
   11979 	# explicitly linking system object files so we need to strip them
   11980 	# from the output so that they don't get included in the library
   11981 	# dependencies.
   11982 	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'
   11983 	;;
   11984       *)
   11985 	if test "$GXX" = yes; then
   11986 	  if test $with_gnu_ld = no; then
   11987 	    case $host_cpu in
   11988 	    hppa*64*)
   11989 	      archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   11990 	      ;;
   11991 	    ia64*)
   11992 	      archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   11993 	      ;;
   11994 	    *)
   11995 	      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'
   11996 	      ;;
   11997 	    esac
   11998 	  fi
   11999 	else
   12000 	  # FIXME: insert proper C++ library support
   12001 	  ld_shlibs_CXX=no
   12002 	fi
   12003 	;;
   12004     esac
   12005     ;;
   12006   interix[3-9]*)
   12007     hardcode_direct_CXX=no
   12008     hardcode_shlibpath_var_CXX=no
   12009     hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
   12010     export_dynamic_flag_spec_CXX='${wl}-E'
   12011     # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   12012     # Instead, shared libraries are loaded at an image base (0x10000000 by
   12013     # default) and relocated if they conflict, which is a slow very memory
   12014     # consuming and fragmenting process.  To avoid this, we pick a random,
   12015     # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   12016     # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   12017     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'
   12018     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'
   12019     ;;
   12020   irix5* | irix6*)
   12021     case $cc_basename in
   12022       CC*)
   12023 	# SGI C++
   12024 	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'
   12025 
   12026 	# Archives containing C++ object files must be created using
   12027 	# "CC -ar", where "CC" is the IRIX C++ compiler.  This is
   12028 	# necessary to make sure instantiated templates are included
   12029 	# in the archive.
   12030 	old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
   12031 	;;
   12032       *)
   12033 	if test "$GXX" = yes; then
   12034 	  if test "$with_gnu_ld" = no; then
   12035 	    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'
   12036 	  else
   12037 	    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'
   12038 	  fi
   12039 	fi
   12040 	link_all_deplibs_CXX=yes
   12041 	;;
   12042     esac
   12043     hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
   12044     hardcode_libdir_separator_CXX=:
   12045     ;;
   12046   linux* | k*bsd*-gnu)
   12047     case $cc_basename in
   12048       KCC*)
   12049 	# Kuck and Associates, Inc. (KAI) C++ Compiler
   12050 
   12051 	# KCC will only create a shared library if the output file
   12052 	# ends with ".so" (or ".sl" for HP-UX), so rename the library
   12053 	# to its proper name (with version) after linking.
   12054 	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'
   12055 	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'
   12056 	# Commands to make compiler produce verbose output that lists
   12057 	# what "hidden" libraries, object files and flags are used when
   12058 	# linking a shared library.
   12059 	#
   12060 	# There doesn't appear to be a way to prevent this compiler from
   12061 	# explicitly linking system object files so we need to strip them
   12062 	# from the output so that they don't get included in the library
   12063 	# dependencies.
   12064 	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'
   12065 
   12066 	hardcode_libdir_flag_spec_CXX='${wl}--rpath,$libdir'
   12067 	export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
   12068 
   12069 	# Archives containing C++ object files must be created using
   12070 	# "CC -Bstatic", where "CC" is the KAI C++ compiler.
   12071 	old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
   12072 	;;
   12073       icpc*)
   12074 	# Intel C++
   12075 	with_gnu_ld=yes
   12076 	# version 8.0 and above of icpc choke on multiply defined symbols
   12077 	# if we add $predep_objects and $postdep_objects, however 7.1 and
   12078 	# earlier do not add the objects themselves.
   12079 	case `$CC -V 2>&1` in
   12080 	*"Version 7."*)
   12081   	  archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
   12082   	  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'
   12083 	  ;;
   12084 	*)  # Version 8.0 or newer
   12085 	  tmp_idyn=
   12086 	  case $host_cpu in
   12087 	    ia64*) tmp_idyn=' -i_dynamic';;
   12088 	  esac
   12089   	  archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   12090 	  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'
   12091 	  ;;
   12092 	esac
   12093 	archive_cmds_need_lc_CXX=no
   12094 	hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
   12095 	export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
   12096 	whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
   12097 	;;
   12098       pgCC* | pgcpp*)
   12099         # Portland Group C++ compiler
   12100 	archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
   12101   	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'
   12102 
   12103 	hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
   12104 	export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
   12105 	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'
   12106         ;;
   12107       cxx*)
   12108 	# Compaq C++
   12109 	archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
   12110 	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'
   12111 
   12112 	runpath_var=LD_RUN_PATH
   12113 	hardcode_libdir_flag_spec_CXX='-rpath $libdir'
   12114 	hardcode_libdir_separator_CXX=:
   12115 
   12116 	# Commands to make compiler produce verbose output that lists
   12117 	# what "hidden" libraries, object files and flags are used when
   12118 	# linking a shared library.
   12119 	#
   12120 	# There doesn't appear to be a way to prevent this compiler from
   12121 	# explicitly linking system object files so we need to strip them
   12122 	# from the output so that they don't get included in the library
   12123 	# dependencies.
   12124 	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'
   12125 	;;
   12126       *)
   12127 	case `$CC -V 2>&1 | sed 5q` in
   12128 	*Sun\ C*)
   12129 	  # Sun C++ 5.9
   12130 	  no_undefined_flag_CXX=' -zdefs'
   12131 	  archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   12132 	  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'
   12133 	  hardcode_libdir_flag_spec_CXX='-R$libdir'
   12134 	  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'
   12135 
   12136 	  # Not sure whether something based on
   12137 	  # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
   12138 	  # would be better.
   12139 	  output_verbose_link_cmd='echo'
   12140 
   12141 	  # Archives containing C++ object files must be created using
   12142 	  # "CC -xar", where "CC" is the Sun C++ compiler.  This is
   12143 	  # necessary to make sure instantiated templates are included
   12144 	  # in the archive.
   12145 	  old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
   12146 	  ;;
   12147 	esac
   12148 	;;
   12149     esac
   12150     ;;
   12151   lynxos*)
   12152     # FIXME: insert proper C++ library support
   12153     ld_shlibs_CXX=no
   12154     ;;
   12155   m88k*)
   12156     # FIXME: insert proper C++ library support
   12157     ld_shlibs_CXX=no
   12158     ;;
   12159   mvs*)
   12160     case $cc_basename in
   12161       cxx*)
   12162 	# FIXME: insert proper C++ library support
   12163 	ld_shlibs_CXX=no
   12164 	;;
   12165       *)
   12166 	# FIXME: insert proper C++ library support
   12167 	ld_shlibs_CXX=no
   12168 	;;
   12169     esac
   12170     ;;
   12171   netbsd*)
   12172     if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   12173       archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
   12174       wlarc=
   12175       hardcode_libdir_flag_spec_CXX='-R$libdir'
   12176       hardcode_direct_CXX=yes
   12177       hardcode_shlibpath_var_CXX=no
   12178     fi
   12179     # Workaround some broken pre-1.5 toolchains
   12180     output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
   12181     ;;
   12182   openbsd2*)
   12183     # C++ shared libraries are fairly broken
   12184     ld_shlibs_CXX=no
   12185     ;;
   12186   openbsd*)
   12187     if test -f /usr/libexec/ld.so; then
   12188       hardcode_direct_CXX=yes
   12189       hardcode_shlibpath_var_CXX=no
   12190       archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
   12191       hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
   12192       if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   12193 	archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
   12194 	export_dynamic_flag_spec_CXX='${wl}-E'
   12195 	whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   12196       fi
   12197       output_verbose_link_cmd='echo'
   12198     else
   12199       ld_shlibs_CXX=no
   12200     fi
   12201     ;;
   12202   osf3*)
   12203     case $cc_basename in
   12204       KCC*)
   12205 	# Kuck and Associates, Inc. (KAI) C++ Compiler
   12206 
   12207 	# KCC will only create a shared library if the output file
   12208 	# ends with ".so" (or ".sl" for HP-UX), so rename the library
   12209 	# to its proper name (with version) after linking.
   12210 	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'
   12211 
   12212 	hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
   12213 	hardcode_libdir_separator_CXX=:
   12214 
   12215 	# Archives containing C++ object files must be created using
   12216 	# "CC -Bstatic", where "CC" is the KAI C++ compiler.
   12217 	old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
   12218 
   12219 	;;
   12220       RCC*)
   12221 	# Rational C++ 2.4.1
   12222 	# FIXME: insert proper C++ library support
   12223 	ld_shlibs_CXX=no
   12224 	;;
   12225       cxx*)
   12226 	allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
   12227 	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'
   12228 
   12229 	hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
   12230 	hardcode_libdir_separator_CXX=:
   12231 
   12232 	# Commands to make compiler produce verbose output that lists
   12233 	# what "hidden" libraries, object files and flags are used when
   12234 	# linking a shared library.
   12235 	#
   12236 	# There doesn't appear to be a way to prevent this compiler from
   12237 	# explicitly linking system object files so we need to strip them
   12238 	# from the output so that they don't get included in the library
   12239 	# dependencies.
   12240 	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'
   12241 	;;
   12242       *)
   12243 	if test "$GXX" = yes && test "$with_gnu_ld" = no; then
   12244 	  allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
   12245 	  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'
   12246 
   12247 	  hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
   12248 	  hardcode_libdir_separator_CXX=:
   12249 
   12250 	  # Commands to make compiler produce verbose output that lists
   12251 	  # what "hidden" libraries, object files and flags are used when
   12252 	  # linking a shared library.
   12253 	  output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
   12254 
   12255 	else
   12256 	  # FIXME: insert proper C++ library support
   12257 	  ld_shlibs_CXX=no
   12258 	fi
   12259 	;;
   12260     esac
   12261     ;;
   12262   osf4* | osf5*)
   12263     case $cc_basename in
   12264       KCC*)
   12265 	# Kuck and Associates, Inc. (KAI) C++ Compiler
   12266 
   12267 	# KCC will only create a shared library if the output file
   12268 	# ends with ".so" (or ".sl" for HP-UX), so rename the library
   12269 	# to its proper name (with version) after linking.
   12270 	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'
   12271 
   12272 	hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
   12273 	hardcode_libdir_separator_CXX=:
   12274 
   12275 	# Archives containing C++ object files must be created using
   12276 	# the KAI C++ compiler.
   12277 	old_archive_cmds_CXX='$CC -o $oldlib $oldobjs'
   12278 	;;
   12279       RCC*)
   12280 	# Rational C++ 2.4.1
   12281 	# FIXME: insert proper C++ library support
   12282 	ld_shlibs_CXX=no
   12283 	;;
   12284       cxx*)
   12285 	allow_undefined_flag_CXX=' -expect_unresolved \*'
   12286 	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'
   12287 	archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
   12288 	  echo "-hidden">> $lib.exp~
   12289 	  $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~
   12290 	  $rm $lib.exp'
   12291 
   12292 	hardcode_libdir_flag_spec_CXX='-rpath $libdir'
   12293 	hardcode_libdir_separator_CXX=:
   12294 
   12295 	# Commands to make compiler produce verbose output that lists
   12296 	# what "hidden" libraries, object files and flags are used when
   12297 	# linking a shared library.
   12298 	#
   12299 	# There doesn't appear to be a way to prevent this compiler from
   12300 	# explicitly linking system object files so we need to strip them
   12301 	# from the output so that they don't get included in the library
   12302 	# dependencies.
   12303 	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'
   12304 	;;
   12305       *)
   12306 	if test "$GXX" = yes && test "$with_gnu_ld" = no; then
   12307 	  allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
   12308 	 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'
   12309 
   12310 	  hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
   12311 	  hardcode_libdir_separator_CXX=:
   12312 
   12313 	  # Commands to make compiler produce verbose output that lists
   12314 	  # what "hidden" libraries, object files and flags are used when
   12315 	  # linking a shared library.
   12316 	  output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
   12317 
   12318 	else
   12319 	  # FIXME: insert proper C++ library support
   12320 	  ld_shlibs_CXX=no
   12321 	fi
   12322 	;;
   12323     esac
   12324     ;;
   12325   psos*)
   12326     # FIXME: insert proper C++ library support
   12327     ld_shlibs_CXX=no
   12328     ;;
   12329   sunos4*)
   12330     case $cc_basename in
   12331       CC*)
   12332 	# Sun C++ 4.x
   12333 	# FIXME: insert proper C++ library support
   12334 	ld_shlibs_CXX=no
   12335 	;;
   12336       lcc*)
   12337 	# Lucid
   12338 	# FIXME: insert proper C++ library support
   12339 	ld_shlibs_CXX=no
   12340 	;;
   12341       *)
   12342 	# FIXME: insert proper C++ library support
   12343 	ld_shlibs_CXX=no
   12344 	;;
   12345     esac
   12346     ;;
   12347   solaris*)
   12348     case $cc_basename in
   12349       CC*)
   12350 	# Sun C++ 4.2, 5.x and Centerline C++
   12351         archive_cmds_need_lc_CXX=yes
   12352 	no_undefined_flag_CXX=' -zdefs'
   12353 	archive_cmds_CXX='$CC -G${allow_undefined_flag}  -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   12354 	archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   12355 	$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'
   12356 
   12357 	hardcode_libdir_flag_spec_CXX='-R$libdir'
   12358 	hardcode_shlibpath_var_CXX=no
   12359 	case $host_os in
   12360 	  solaris2.[0-5] | solaris2.[0-5].*) ;;
   12361 	  *)
   12362 	    # The compiler driver will combine and reorder linker options,
   12363 	    # but understands `-z linker_flag'.
   12364 	    # Supported since Solaris 2.6 (maybe 2.5.1?)
   12365 	    whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
   12366 	    ;;
   12367 	esac
   12368 	link_all_deplibs_CXX=yes
   12369 
   12370 	output_verbose_link_cmd='echo'
   12371 
   12372 	# Archives containing C++ object files must be created using
   12373 	# "CC -xar", where "CC" is the Sun C++ compiler.  This is
   12374 	# necessary to make sure instantiated templates are included
   12375 	# in the archive.
   12376 	old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
   12377 	;;
   12378       gcx*)
   12379 	# Green Hills C++ Compiler
   12380 	archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
   12381 
   12382 	# The C++ compiler must be used to create the archive.
   12383 	old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
   12384 	;;
   12385       *)
   12386 	# GNU C++ compiler with Solaris linker
   12387 	if test "$GXX" = yes && test "$with_gnu_ld" = no; then
   12388 	  no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
   12389 	  if $CC --version | grep -v '^2\.7' > /dev/null; then
   12390 	    archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
   12391 	    archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   12392 		$CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
   12393 
   12394 	    # Commands to make compiler produce verbose output that lists
   12395 	    # what "hidden" libraries, object files and flags are used when
   12396 	    # linking a shared library.
   12397 	    output_verbose_link_cmd="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
   12398 	  else
   12399 	    # g++ 2.7 appears to require `-G' NOT `-shared' on this
   12400 	    # platform.
   12401 	    archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
   12402 	    archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   12403 		$CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
   12404 
   12405 	    # Commands to make compiler produce verbose output that lists
   12406 	    # what "hidden" libraries, object files and flags are used when
   12407 	    # linking a shared library.
   12408 	    output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
   12409 	  fi
   12410 
   12411 	  hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
   12412 	  case $host_os in
   12413 	  solaris2.[0-5] | solaris2.[0-5].*) ;;
   12414 	  *)
   12415 	    whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
   12416 	    ;;
   12417 	  esac
   12418 	fi
   12419 	;;
   12420     esac
   12421     ;;
   12422   sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   12423     no_undefined_flag_CXX='${wl}-z,text'
   12424     archive_cmds_need_lc_CXX=no
   12425     hardcode_shlibpath_var_CXX=no
   12426     runpath_var='LD_RUN_PATH'
   12427 
   12428     case $cc_basename in
   12429       CC*)
   12430 	archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   12431 	archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   12432 	;;
   12433       *)
   12434 	archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   12435 	archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   12436 	;;
   12437     esac
   12438     ;;
   12439   sysv5* | sco3.2v5* | sco5v6*)
   12440     # Note: We can NOT use -z defs as we might desire, because we do not
   12441     # link with -lc, and that would cause any symbols used from libc to
   12442     # always be unresolved, which means just about no library would
   12443     # ever link correctly.  If we're not using GNU ld we use -z text
   12444     # though, which does catch some bad symbols but isn't as heavy-handed
   12445     # as -z defs.
   12446     # For security reasons, it is highly recommended that you always
   12447     # use absolute paths for naming shared libraries, and exclude the
   12448     # DT_RUNPATH tag from executables and libraries.  But doing so
   12449     # requires that you compile everything twice, which is a pain.
   12450     # So that behaviour is only enabled if SCOABSPATH is set to a
   12451     # non-empty value in the environment.  Most likely only useful for
   12452     # creating official distributions of packages.
   12453     # This is a hack until libtool officially supports absolute path
   12454     # names for shared libraries.
   12455     no_undefined_flag_CXX='${wl}-z,text'
   12456     allow_undefined_flag_CXX='${wl}-z,nodefs'
   12457     archive_cmds_need_lc_CXX=no
   12458     hardcode_shlibpath_var_CXX=no
   12459     hardcode_libdir_flag_spec_CXX='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
   12460     hardcode_libdir_separator_CXX=':'
   12461     link_all_deplibs_CXX=yes
   12462     export_dynamic_flag_spec_CXX='${wl}-Bexport'
   12463     runpath_var='LD_RUN_PATH'
   12464 
   12465     case $cc_basename in
   12466       CC*)
   12467 	archive_cmds_CXX='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   12468 	archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   12469 	;;
   12470       *)
   12471 	archive_cmds_CXX='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   12472 	archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   12473 	;;
   12474     esac
   12475     ;;
   12476   tandem*)
   12477     case $cc_basename in
   12478       NCC*)
   12479 	# NonStop-UX NCC 3.20
   12480 	# FIXME: insert proper C++ library support
   12481 	ld_shlibs_CXX=no
   12482 	;;
   12483       *)
   12484 	# FIXME: insert proper C++ library support
   12485 	ld_shlibs_CXX=no
   12486 	;;
   12487     esac
   12488     ;;
   12489   vxworks*)
   12490     # FIXME: insert proper C++ library support
   12491     ld_shlibs_CXX=no
   12492     ;;
   12493   *)
   12494     # FIXME: insert proper C++ library support
   12495     ld_shlibs_CXX=no
   12496     ;;
   12497 esac
   12498 { $as_echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
   12499 $as_echo "$ld_shlibs_CXX" >&6; }
   12500 test "$ld_shlibs_CXX" = no && can_build_shared=no
   12501 
   12502 GCC_CXX="$GXX"
   12503 LD_CXX="$LD"
   12504 
   12505 cat > conftest.$ac_ext <<EOF
   12506 class Foo
   12507 {
   12508 public:
   12509   Foo (void) { a = 0; }
   12510 private:
   12511   int a;
   12512 };
   12513 EOF
   12514 
   12515 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   12516   (eval $ac_compile) 2>&5
   12517   ac_status=$?
   12518   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12519   (exit $ac_status); }; then
   12520   # Parse the compiler output and extract the necessary
   12521   # objects, libraries and library flags.
   12522 
   12523   # Sentinel used to keep track of whether or not we are before
   12524   # the conftest object file.
   12525   pre_test_object_deps_done=no
   12526 
   12527   # The `*' in the case matches for architectures that use `case' in
   12528   # $output_verbose_cmd can trigger glob expansion during the loop
   12529   # eval without this substitution.
   12530   output_verbose_link_cmd=`$echo "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
   12531 
   12532   for p in `eval $output_verbose_link_cmd`; do
   12533     case $p in
   12534 
   12535     -L* | -R* | -l*)
   12536        # Some compilers place space between "-{L,R}" and the path.
   12537        # Remove the space.
   12538        if test $p = "-L" \
   12539 	  || test $p = "-R"; then
   12540 	 prev=$p
   12541 	 continue
   12542        else
   12543 	 prev=
   12544        fi
   12545 
   12546        if test "$pre_test_object_deps_done" = no; then
   12547 	 case $p in
   12548 	 -L* | -R*)
   12549 	   # Internal compiler library paths should come after those
   12550 	   # provided the user.  The postdeps already come after the
   12551 	   # user supplied libs so there is no need to process them.
   12552 	   if test -z "$compiler_lib_search_path_CXX"; then
   12553 	     compiler_lib_search_path_CXX="${prev}${p}"
   12554 	   else
   12555 	     compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
   12556 	   fi
   12557 	   ;;
   12558 	 # The "-l" case would never come before the object being
   12559 	 # linked, so don't bother handling this case.
   12560 	 esac
   12561        else
   12562 	 if test -z "$postdeps_CXX"; then
   12563 	   postdeps_CXX="${prev}${p}"
   12564 	 else
   12565 	   postdeps_CXX="${postdeps_CXX} ${prev}${p}"
   12566 	 fi
   12567        fi
   12568        ;;
   12569 
   12570     *.$objext)
   12571        # This assumes that the test object file only shows up
   12572        # once in the compiler output.
   12573        if test "$p" = "conftest.$objext"; then
   12574 	 pre_test_object_deps_done=yes
   12575 	 continue
   12576        fi
   12577 
   12578        if test "$pre_test_object_deps_done" = no; then
   12579 	 if test -z "$predep_objects_CXX"; then
   12580 	   predep_objects_CXX="$p"
   12581 	 else
   12582 	   predep_objects_CXX="$predep_objects_CXX $p"
   12583 	 fi
   12584        else
   12585 	 if test -z "$postdep_objects_CXX"; then
   12586 	   postdep_objects_CXX="$p"
   12587 	 else
   12588 	   postdep_objects_CXX="$postdep_objects_CXX $p"
   12589 	 fi
   12590        fi
   12591        ;;
   12592 
   12593     *) ;; # Ignore the rest.
   12594 
   12595     esac
   12596   done
   12597 
   12598   # Clean up.
   12599   rm -f a.out a.exe
   12600 else
   12601   echo "libtool.m4: error: problem compiling CXX test program"
   12602 fi
   12603 
   12604 $rm -f confest.$objext
   12605 
   12606 compiler_lib_search_dirs_CXX=
   12607 if test -n "$compiler_lib_search_path_CXX"; then
   12608   compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
   12609 fi
   12610 
   12611 # PORTME: override above test on systems where it is broken
   12612 case $host_os in
   12613 interix[3-9]*)
   12614   # Interix 3.5 installs completely hosed .la files for C++, so rather than
   12615   # hack all around it, let's just trust "g++" to DTRT.
   12616   predep_objects_CXX=
   12617   postdep_objects_CXX=
   12618   postdeps_CXX=
   12619   ;;
   12620 
   12621 linux*)
   12622   case `$CC -V 2>&1 | sed 5q` in
   12623   *Sun\ C*)
   12624     # Sun C++ 5.9
   12625     #
   12626     # The more standards-conforming stlport4 library is
   12627     # incompatible with the Cstd library. Avoid specifying
   12628     # it if it's in CXXFLAGS. Ignore libCrun as
   12629     # -library=stlport4 depends on it.
   12630     case " $CXX $CXXFLAGS " in
   12631     *" -library=stlport4 "*)
   12632       solaris_use_stlport4=yes
   12633       ;;
   12634     esac
   12635     if test "$solaris_use_stlport4" != yes; then
   12636       postdeps_CXX='-library=Cstd -library=Crun'
   12637     fi
   12638     ;;
   12639   esac
   12640   ;;
   12641 
   12642 solaris*)
   12643   case $cc_basename in
   12644   CC*)
   12645     # The more standards-conforming stlport4 library is
   12646     # incompatible with the Cstd library. Avoid specifying
   12647     # it if it's in CXXFLAGS. Ignore libCrun as
   12648     # -library=stlport4 depends on it.
   12649     case " $CXX $CXXFLAGS " in
   12650     *" -library=stlport4 "*)
   12651       solaris_use_stlport4=yes
   12652       ;;
   12653     esac
   12654 
   12655     # Adding this requires a known-good setup of shared libraries for
   12656     # Sun compiler versions before 5.6, else PIC objects from an old
   12657     # archive will be linked into the output, leading to subtle bugs.
   12658     if test "$solaris_use_stlport4" != yes; then
   12659       postdeps_CXX='-library=Cstd -library=Crun'
   12660     fi
   12661     ;;
   12662   esac
   12663   ;;
   12664 esac
   12665 
   12666 case " $postdeps_CXX " in
   12667 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
   12668 esac
   12669 
   12670 lt_prog_compiler_wl_CXX=
   12671 lt_prog_compiler_pic_CXX=
   12672 lt_prog_compiler_static_CXX=
   12673 
   12674 { $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
   12675 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
   12676 
   12677   # C++ specific cases for pic, static, wl, etc.
   12678   if test "$GXX" = yes; then
   12679     lt_prog_compiler_wl_CXX='-Wl,'
   12680     lt_prog_compiler_static_CXX='-static'
   12681 
   12682     case $host_os in
   12683     aix*)
   12684       # All AIX code is PIC.
   12685       if test "$host_cpu" = ia64; then
   12686 	# AIX 5 now supports IA64 processor
   12687 	lt_prog_compiler_static_CXX='-Bstatic'
   12688       fi
   12689       ;;
   12690     amigaos*)
   12691       # FIXME: we need at least 68020 code to build shared libraries, but
   12692       # adding the `-m68020' flag to GCC prevents building anything better,
   12693       # like `-m68040'.
   12694       lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
   12695       ;;
   12696     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   12697       # PIC is the default for these OSes.
   12698       ;;
   12699     mingw* | cygwin* | os2* | pw32*)
   12700       # This hack is so that the source file can tell whether it is being
   12701       # built for inclusion in a dll (and should export symbols for example).
   12702       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   12703       # (--disable-auto-import) libraries
   12704       lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
   12705       ;;
   12706     darwin* | rhapsody*)
   12707       # PIC is the default on this platform
   12708       # Common symbols not allowed in MH_DYLIB files
   12709       lt_prog_compiler_pic_CXX='-fno-common'
   12710       ;;
   12711     *djgpp*)
   12712       # DJGPP does not support shared libraries at all
   12713       lt_prog_compiler_pic_CXX=
   12714       ;;
   12715     interix[3-9]*)
   12716       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   12717       # Instead, we relocate shared libraries at runtime.
   12718       ;;
   12719     sysv4*MP*)
   12720       if test -d /usr/nec; then
   12721 	lt_prog_compiler_pic_CXX=-Kconform_pic
   12722       fi
   12723       ;;
   12724     hpux*)
   12725       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   12726       # not for PA HP-UX.
   12727       case $host_cpu in
   12728       hppa*64*|ia64*)
   12729 	;;
   12730       *)
   12731 	lt_prog_compiler_pic_CXX='-fPIC'
   12732 	;;
   12733       esac
   12734       ;;
   12735     *)
   12736       lt_prog_compiler_pic_CXX='-fPIC'
   12737       ;;
   12738     esac
   12739   else
   12740     case $host_os in
   12741       aix[4-9]*)
   12742 	# All AIX code is PIC.
   12743 	if test "$host_cpu" = ia64; then
   12744 	  # AIX 5 now supports IA64 processor
   12745 	  lt_prog_compiler_static_CXX='-Bstatic'
   12746 	else
   12747 	  lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
   12748 	fi
   12749 	;;
   12750       chorus*)
   12751 	case $cc_basename in
   12752 	cxch68*)
   12753 	  # Green Hills C++ Compiler
   12754 	  # _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"
   12755 	  ;;
   12756 	esac
   12757 	;;
   12758        darwin*)
   12759          # PIC is the default on this platform
   12760          # Common symbols not allowed in MH_DYLIB files
   12761          case $cc_basename in
   12762            xlc*)
   12763            lt_prog_compiler_pic_CXX='-qnocommon'
   12764            lt_prog_compiler_wl_CXX='-Wl,'
   12765            ;;
   12766          esac
   12767        ;;
   12768       dgux*)
   12769 	case $cc_basename in
   12770 	  ec++*)
   12771 	    lt_prog_compiler_pic_CXX='-KPIC'
   12772 	    ;;
   12773 	  ghcx*)
   12774 	    # Green Hills C++ Compiler
   12775 	    lt_prog_compiler_pic_CXX='-pic'
   12776 	    ;;
   12777 	  *)
   12778 	    ;;
   12779 	esac
   12780 	;;
   12781       freebsd* | dragonfly*)
   12782 	# FreeBSD uses GNU C++
   12783 	;;
   12784       hpux9* | hpux10* | hpux11*)
   12785 	case $cc_basename in
   12786 	  CC*)
   12787 	    lt_prog_compiler_wl_CXX='-Wl,'
   12788 	    lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
   12789 	    if test "$host_cpu" != ia64; then
   12790 	      lt_prog_compiler_pic_CXX='+Z'
   12791 	    fi
   12792 	    ;;
   12793 	  aCC*)
   12794 	    lt_prog_compiler_wl_CXX='-Wl,'
   12795 	    lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
   12796 	    case $host_cpu in
   12797 	    hppa*64*|ia64*)
   12798 	      # +Z the default
   12799 	      ;;
   12800 	    *)
   12801 	      lt_prog_compiler_pic_CXX='+Z'
   12802 	      ;;
   12803 	    esac
   12804 	    ;;
   12805 	  *)
   12806 	    ;;
   12807 	esac
   12808 	;;
   12809       interix*)
   12810 	# This is c89, which is MS Visual C++ (no shared libs)
   12811 	# Anyone wants to do a port?
   12812 	;;
   12813       irix5* | irix6* | nonstopux*)
   12814 	case $cc_basename in
   12815 	  CC*)
   12816 	    lt_prog_compiler_wl_CXX='-Wl,'
   12817 	    lt_prog_compiler_static_CXX='-non_shared'
   12818 	    # CC pic flag -KPIC is the default.
   12819 	    ;;
   12820 	  *)
   12821 	    ;;
   12822 	esac
   12823 	;;
   12824       linux* | k*bsd*-gnu)
   12825 	case $cc_basename in
   12826 	  KCC*)
   12827 	    # KAI C++ Compiler
   12828 	    lt_prog_compiler_wl_CXX='--backend -Wl,'
   12829 	    lt_prog_compiler_pic_CXX='-fPIC'
   12830 	    ;;
   12831 	  icpc* | ecpc*)
   12832 	    # Intel C++
   12833 	    lt_prog_compiler_wl_CXX='-Wl,'
   12834 	    lt_prog_compiler_pic_CXX='-KPIC'
   12835 	    lt_prog_compiler_static_CXX='-static'
   12836 	    ;;
   12837 	  pgCC* | pgcpp*)
   12838 	    # Portland Group C++ compiler.
   12839 	    lt_prog_compiler_wl_CXX='-Wl,'
   12840 	    lt_prog_compiler_pic_CXX='-fpic'
   12841 	    lt_prog_compiler_static_CXX='-Bstatic'
   12842 	    ;;
   12843 	  cxx*)
   12844 	    # Compaq C++
   12845 	    # Make sure the PIC flag is empty.  It appears that all Alpha
   12846 	    # Linux and Compaq Tru64 Unix objects are PIC.
   12847 	    lt_prog_compiler_pic_CXX=
   12848 	    lt_prog_compiler_static_CXX='-non_shared'
   12849 	    ;;
   12850 	  *)
   12851 	    case `$CC -V 2>&1 | sed 5q` in
   12852 	    *Sun\ C*)
   12853 	      # Sun C++ 5.9
   12854 	      lt_prog_compiler_pic_CXX='-KPIC'
   12855 	      lt_prog_compiler_static_CXX='-Bstatic'
   12856 	      lt_prog_compiler_wl_CXX='-Qoption ld '
   12857 	      ;;
   12858 	    esac
   12859 	    ;;
   12860 	esac
   12861 	;;
   12862       lynxos*)
   12863 	;;
   12864       m88k*)
   12865 	;;
   12866       mvs*)
   12867 	case $cc_basename in
   12868 	  cxx*)
   12869 	    lt_prog_compiler_pic_CXX='-W c,exportall'
   12870 	    ;;
   12871 	  *)
   12872 	    ;;
   12873 	esac
   12874 	;;
   12875       netbsd*)
   12876 	;;
   12877       osf3* | osf4* | osf5*)
   12878 	case $cc_basename in
   12879 	  KCC*)
   12880 	    lt_prog_compiler_wl_CXX='--backend -Wl,'
   12881 	    ;;
   12882 	  RCC*)
   12883 	    # Rational C++ 2.4.1
   12884 	    lt_prog_compiler_pic_CXX='-pic'
   12885 	    ;;
   12886 	  cxx*)
   12887 	    # Digital/Compaq C++
   12888 	    lt_prog_compiler_wl_CXX='-Wl,'
   12889 	    # Make sure the PIC flag is empty.  It appears that all Alpha
   12890 	    # Linux and Compaq Tru64 Unix objects are PIC.
   12891 	    lt_prog_compiler_pic_CXX=
   12892 	    lt_prog_compiler_static_CXX='-non_shared'
   12893 	    ;;
   12894 	  *)
   12895 	    ;;
   12896 	esac
   12897 	;;
   12898       psos*)
   12899 	;;
   12900       solaris*)
   12901 	case $cc_basename in
   12902 	  CC*)
   12903 	    # Sun C++ 4.2, 5.x and Centerline C++
   12904 	    lt_prog_compiler_pic_CXX='-KPIC'
   12905 	    lt_prog_compiler_static_CXX='-Bstatic'
   12906 	    lt_prog_compiler_wl_CXX='-Qoption ld '
   12907 	    ;;
   12908 	  gcx*)
   12909 	    # Green Hills C++ Compiler
   12910 	    lt_prog_compiler_pic_CXX='-PIC'
   12911 	    ;;
   12912 	  *)
   12913 	    ;;
   12914 	esac
   12915 	;;
   12916       sunos4*)
   12917 	case $cc_basename in
   12918 	  CC*)
   12919 	    # Sun C++ 4.x
   12920 	    lt_prog_compiler_pic_CXX='-pic'
   12921 	    lt_prog_compiler_static_CXX='-Bstatic'
   12922 	    ;;
   12923 	  lcc*)
   12924 	    # Lucid
   12925 	    lt_prog_compiler_pic_CXX='-pic'
   12926 	    ;;
   12927 	  *)
   12928 	    ;;
   12929 	esac
   12930 	;;
   12931       tandem*)
   12932 	case $cc_basename in
   12933 	  NCC*)
   12934 	    # NonStop-UX NCC 3.20
   12935 	    lt_prog_compiler_pic_CXX='-KPIC'
   12936 	    ;;
   12937 	  *)
   12938 	    ;;
   12939 	esac
   12940 	;;
   12941       sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   12942 	case $cc_basename in
   12943 	  CC*)
   12944 	    lt_prog_compiler_wl_CXX='-Wl,'
   12945 	    lt_prog_compiler_pic_CXX='-KPIC'
   12946 	    lt_prog_compiler_static_CXX='-Bstatic'
   12947 	    ;;
   12948 	esac
   12949 	;;
   12950       vxworks*)
   12951 	;;
   12952       *)
   12953 	lt_prog_compiler_can_build_shared_CXX=no
   12954 	;;
   12955     esac
   12956   fi
   12957 
   12958 { $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
   12959 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
   12960 
   12961 #
   12962 # Check to make sure the PIC flag actually works.
   12963 #
   12964 if test -n "$lt_prog_compiler_pic_CXX"; then
   12965 
   12966 { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
   12967 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
   12968 if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then
   12969   $as_echo_n "(cached) " >&6
   12970 else
   12971   lt_cv_prog_compiler_pic_works_CXX=no
   12972   ac_outfile=conftest.$ac_objext
   12973    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   12974    lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
   12975    # Insert the option either (1) after the last *FLAGS variable, or
   12976    # (2) before a word containing "conftest.", or (3) at the end.
   12977    # Note that $ac_compile itself does not contain backslashes and begins
   12978    # with a dollar sign (not a hyphen), so the echo should work correctly.
   12979    # The option is referenced via a variable to avoid confusing sed.
   12980    lt_compile=`echo "$ac_compile" | $SED \
   12981    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   12982    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   12983    -e 's:$: $lt_compiler_flag:'`
   12984    (eval echo "\"\$as_me:12984: $lt_compile\"" >&5)
   12985    (eval "$lt_compile" 2>conftest.err)
   12986    ac_status=$?
   12987    cat conftest.err >&5
   12988    echo "$as_me:12988: \$? = $ac_status" >&5
   12989    if (exit $ac_status) && test -s "$ac_outfile"; then
   12990      # The compiler can only warn and ignore the option if not recognized
   12991      # So say no if there are warnings other than the usual output.
   12992      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   12993      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   12994      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   12995        lt_cv_prog_compiler_pic_works_CXX=yes
   12996      fi
   12997    fi
   12998    $rm conftest*
   12999 
   13000 fi
   13001 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
   13002 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
   13003 
   13004 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
   13005     case $lt_prog_compiler_pic_CXX in
   13006      "" | " "*) ;;
   13007      *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
   13008      esac
   13009 else
   13010     lt_prog_compiler_pic_CXX=
   13011      lt_prog_compiler_can_build_shared_CXX=no
   13012 fi
   13013 
   13014 fi
   13015 case $host_os in
   13016   # For platforms which do not support PIC, -DPIC is meaningless:
   13017   *djgpp*)
   13018     lt_prog_compiler_pic_CXX=
   13019     ;;
   13020   *)
   13021     lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
   13022     ;;
   13023 esac
   13024 
   13025 #
   13026 # Check to make sure the static flag actually works.
   13027 #
   13028 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
   13029 { $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   13030 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   13031 if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then
   13032   $as_echo_n "(cached) " >&6
   13033 else
   13034   lt_cv_prog_compiler_static_works_CXX=no
   13035    save_LDFLAGS="$LDFLAGS"
   13036    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   13037    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   13038    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   13039      # The linker can only warn and ignore the option if not recognized
   13040      # So say no if there are warnings
   13041      if test -s conftest.err; then
   13042        # Append any errors to the config.log.
   13043        cat conftest.err 1>&5
   13044        $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
   13045        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   13046        if diff conftest.exp conftest.er2 >/dev/null; then
   13047          lt_cv_prog_compiler_static_works_CXX=yes
   13048        fi
   13049      else
   13050        lt_cv_prog_compiler_static_works_CXX=yes
   13051      fi
   13052    fi
   13053    $rm -r conftest*
   13054    LDFLAGS="$save_LDFLAGS"
   13055 
   13056 fi
   13057 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_CXX" >&5
   13058 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
   13059 
   13060 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
   13061     :
   13062 else
   13063     lt_prog_compiler_static_CXX=
   13064 fi
   13065 
   13066 
   13067 { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
   13068 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   13069 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
   13070   $as_echo_n "(cached) " >&6
   13071 else
   13072   lt_cv_prog_compiler_c_o_CXX=no
   13073    $rm -r conftest 2>/dev/null
   13074    mkdir conftest
   13075    cd conftest
   13076    mkdir out
   13077    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   13078 
   13079    lt_compiler_flag="-o out/conftest2.$ac_objext"
   13080    # Insert the option either (1) after the last *FLAGS variable, or
   13081    # (2) before a word containing "conftest.", or (3) at the end.
   13082    # Note that $ac_compile itself does not contain backslashes and begins
   13083    # with a dollar sign (not a hyphen), so the echo should work correctly.
   13084    lt_compile=`echo "$ac_compile" | $SED \
   13085    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   13086    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   13087    -e 's:$: $lt_compiler_flag:'`
   13088    (eval echo "\"\$as_me:13088: $lt_compile\"" >&5)
   13089    (eval "$lt_compile" 2>out/conftest.err)
   13090    ac_status=$?
   13091    cat out/conftest.err >&5
   13092    echo "$as_me:13092: \$? = $ac_status" >&5
   13093    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   13094    then
   13095      # The compiler can only warn and ignore the option if not recognized
   13096      # So say no if there are warnings
   13097      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
   13098      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   13099      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   13100        lt_cv_prog_compiler_c_o_CXX=yes
   13101      fi
   13102    fi
   13103    chmod u+w . 2>&5
   13104    $rm conftest*
   13105    # SGI C++ compiler will create directory out/ii_files/ for
   13106    # template instantiation
   13107    test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
   13108    $rm out/* && rmdir out
   13109    cd ..
   13110    rmdir conftest
   13111    $rm conftest*
   13112 
   13113 fi
   13114 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
   13115 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
   13116 
   13117 
   13118 hard_links="nottested"
   13119 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
   13120   # do not overwrite the value of need_locks provided by the user
   13121   { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
   13122 $as_echo_n "checking if we can lock with hard links... " >&6; }
   13123   hard_links=yes
   13124   $rm conftest*
   13125   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   13126   touch conftest.a
   13127   ln conftest.a conftest.b 2>&5 || hard_links=no
   13128   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   13129   { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
   13130 $as_echo "$hard_links" >&6; }
   13131   if test "$hard_links" = no; then
   13132     { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   13133 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   13134     need_locks=warn
   13135   fi
   13136 else
   13137   need_locks=no
   13138 fi
   13139 
   13140 { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   13141 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   13142 
   13143   export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   13144   case $host_os in
   13145   aix[4-9]*)
   13146     # If we're using GNU nm, then we don't want the "-C" option.
   13147     # -C means demangle to AIX nm, but means don't demangle with GNU nm
   13148     if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
   13149       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'
   13150     else
   13151       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'
   13152     fi
   13153     ;;
   13154   pw32*)
   13155     export_symbols_cmds_CXX="$ltdll_cmds"
   13156   ;;
   13157   cygwin* | mingw*)
   13158     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'
   13159   ;;
   13160   *)
   13161     export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   13162   ;;
   13163   esac
   13164   exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   13165 
   13166 { $as_echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
   13167 $as_echo "$ld_shlibs_CXX" >&6; }
   13168 test "$ld_shlibs_CXX" = no && can_build_shared=no
   13169 
   13170 #
   13171 # Do we need to explicitly link libc?
   13172 #
   13173 case "x$archive_cmds_need_lc_CXX" in
   13174 x|xyes)
   13175   # Assume -lc should be added
   13176   archive_cmds_need_lc_CXX=yes
   13177 
   13178   if test "$enable_shared" = yes && test "$GCC" = yes; then
   13179     case $archive_cmds_CXX in
   13180     *'~'*)
   13181       # FIXME: we may have to deal with multi-command sequences.
   13182       ;;
   13183     '$CC '*)
   13184       # Test whether the compiler implicitly links with -lc since on some
   13185       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   13186       # to ld, don't add -lc before -lgcc.
   13187       { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
   13188 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
   13189       $rm conftest*
   13190       echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   13191 
   13192       if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   13193   (eval $ac_compile) 2>&5
   13194   ac_status=$?
   13195   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   13196   (exit $ac_status); } 2>conftest.err; then
   13197         soname=conftest
   13198         lib=conftest
   13199         libobjs=conftest.$ac_objext
   13200         deplibs=
   13201         wl=$lt_prog_compiler_wl_CXX
   13202 	pic_flag=$lt_prog_compiler_pic_CXX
   13203         compiler_flags=-v
   13204         linker_flags=-v
   13205         verstring=
   13206         output_objdir=.
   13207         libname=conftest
   13208         lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
   13209         allow_undefined_flag_CXX=
   13210         if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
   13211   (eval $archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
   13212   ac_status=$?
   13213   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   13214   (exit $ac_status); }
   13215         then
   13216 	  archive_cmds_need_lc_CXX=no
   13217         else
   13218 	  archive_cmds_need_lc_CXX=yes
   13219         fi
   13220         allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
   13221       else
   13222         cat conftest.err 1>&5
   13223       fi
   13224       $rm conftest*
   13225       { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
   13226 $as_echo "$archive_cmds_need_lc_CXX" >&6; }
   13227       ;;
   13228     esac
   13229   fi
   13230   ;;
   13231 esac
   13232 
   13233 { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
   13234 $as_echo_n "checking dynamic linker characteristics... " >&6; }
   13235 library_names_spec=
   13236 libname_spec='lib$name'
   13237 soname_spec=
   13238 shrext_cmds=".so"
   13239 postinstall_cmds=
   13240 postuninstall_cmds=
   13241 finish_cmds=
   13242 finish_eval=
   13243 shlibpath_var=
   13244 shlibpath_overrides_runpath=unknown
   13245 version_type=none
   13246 dynamic_linker="$host_os ld.so"
   13247 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   13248 
   13249 need_lib_prefix=unknown
   13250 hardcode_into_libs=no
   13251 
   13252 # when you set need_version to no, make sure it does not cause -set_version
   13253 # flags to be left without arguments
   13254 need_version=unknown
   13255 
   13256 case $host_os in
   13257 aix3*)
   13258   version_type=linux
   13259   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   13260   shlibpath_var=LIBPATH
   13261 
   13262   # AIX 3 has no versioning support, so we append a major version to the name.
   13263   soname_spec='${libname}${release}${shared_ext}$major'
   13264   ;;
   13265 
   13266 aix[4-9]*)
   13267   version_type=linux
   13268   need_lib_prefix=no
   13269   need_version=no
   13270   hardcode_into_libs=yes
   13271   if test "$host_cpu" = ia64; then
   13272     # AIX 5 supports IA64
   13273     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
   13274     shlibpath_var=LD_LIBRARY_PATH
   13275   else
   13276     # With GCC up to 2.95.x, collect2 would create an import file
   13277     # for dependence libraries.  The import file would start with
   13278     # the line `#! .'.  This would cause the generated library to
   13279     # depend on `.', always an invalid library.  This was fixed in
   13280     # development snapshots of GCC prior to 3.0.
   13281     case $host_os in
   13282       aix4 | aix4.[01] | aix4.[01].*)
   13283       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   13284 	   echo ' yes '
   13285 	   echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
   13286 	:
   13287       else
   13288 	can_build_shared=no
   13289       fi
   13290       ;;
   13291     esac
   13292     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
   13293     # soname into executable. Probably we can add versioning support to
   13294     # collect2, so additional links can be useful in future.
   13295     if test "$aix_use_runtimelinking" = yes; then
   13296       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   13297       # instead of lib<name>.a to let people know that these are not
   13298       # typical AIX shared libraries.
   13299       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13300     else
   13301       # We preserve .a as extension for shared libraries through AIX4.2
   13302       # and later when we are not doing run time linking.
   13303       library_names_spec='${libname}${release}.a $libname.a'
   13304       soname_spec='${libname}${release}${shared_ext}$major'
   13305     fi
   13306     shlibpath_var=LIBPATH
   13307   fi
   13308   ;;
   13309 
   13310 amigaos*)
   13311   library_names_spec='$libname.ixlibrary $libname.a'
   13312   # Create ${libname}_ixlibrary.a entries in /sys/libs.
   13313   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'
   13314   ;;
   13315 
   13316 beos*)
   13317   library_names_spec='${libname}${shared_ext}'
   13318   dynamic_linker="$host_os ld.so"
   13319   shlibpath_var=LIBRARY_PATH
   13320   ;;
   13321 
   13322 bsdi[45]*)
   13323   version_type=linux
   13324   need_version=no
   13325   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13326   soname_spec='${libname}${release}${shared_ext}$major'
   13327   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   13328   shlibpath_var=LD_LIBRARY_PATH
   13329   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   13330   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   13331   # the default ld.so.conf also contains /usr/contrib/lib and
   13332   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   13333   # libtool to hard-code these into programs
   13334   ;;
   13335 
   13336 cygwin* | mingw* | pw32*)
   13337   version_type=windows
   13338   shrext_cmds=".dll"
   13339   need_version=no
   13340   need_lib_prefix=no
   13341 
   13342   case $GCC,$host_os in
   13343   yes,cygwin* | yes,mingw* | yes,pw32*)
   13344     library_names_spec='$libname.dll.a'
   13345     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   13346     postinstall_cmds='base_file=`basename \${file}`~
   13347       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
   13348       dldir=$destdir/`dirname \$dlpath`~
   13349       test -d \$dldir || mkdir -p \$dldir~
   13350       $install_prog $dir/$dlname \$dldir/$dlname~
   13351       chmod a+x \$dldir/$dlname'
   13352     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   13353       dlpath=$dir/\$dldll~
   13354        $rm \$dlpath'
   13355     shlibpath_overrides_runpath=yes
   13356 
   13357     case $host_os in
   13358     cygwin*)
   13359       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   13360       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   13361       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
   13362       ;;
   13363     mingw*)
   13364       # MinGW DLLs use traditional 'lib' prefix
   13365       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   13366       sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   13367       if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
   13368         # It is most probably a Windows format PATH printed by
   13369         # mingw gcc, but we are running on Cygwin. Gcc prints its search
   13370         # path with ; separators, and with drive letters. We can handle the
   13371         # drive letters (cygwin fileutils understands them), so leave them,
   13372         # especially as we might pass files found there to a mingw objdump,
   13373         # which wouldn't understand a cygwinified path. Ahh.
   13374         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   13375       else
   13376         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   13377       fi
   13378       ;;
   13379     pw32*)
   13380       # pw32 DLLs use 'pw' prefix rather than 'lib'
   13381       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   13382       ;;
   13383     esac
   13384     ;;
   13385 
   13386   *)
   13387     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
   13388     ;;
   13389   esac
   13390   dynamic_linker='Win32 ld.exe'
   13391   # FIXME: first we should search . and the directory the executable is in
   13392   shlibpath_var=PATH
   13393   ;;
   13394 
   13395 darwin* | rhapsody*)
   13396   dynamic_linker="$host_os dyld"
   13397   version_type=darwin
   13398   need_lib_prefix=no
   13399   need_version=no
   13400   library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
   13401   soname_spec='${libname}${release}${major}$shared_ext'
   13402   shlibpath_overrides_runpath=yes
   13403   shlibpath_var=DYLD_LIBRARY_PATH
   13404   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   13405 
   13406   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   13407   ;;
   13408 
   13409 dgux*)
   13410   version_type=linux
   13411   need_lib_prefix=no
   13412   need_version=no
   13413   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
   13414   soname_spec='${libname}${release}${shared_ext}$major'
   13415   shlibpath_var=LD_LIBRARY_PATH
   13416   ;;
   13417 
   13418 freebsd1*)
   13419   dynamic_linker=no
   13420   ;;
   13421 
   13422 freebsd* | dragonfly*)
   13423   # DragonFly does not have aout.  When/if they implement a new
   13424   # versioning mechanism, adjust this.
   13425   if test -x /usr/bin/objformat; then
   13426     objformat=`/usr/bin/objformat`
   13427   else
   13428     case $host_os in
   13429     freebsd[123]*) objformat=aout ;;
   13430     *) objformat=elf ;;
   13431     esac
   13432   fi
   13433   version_type=freebsd-$objformat
   13434   case $version_type in
   13435     freebsd-elf*)
   13436       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   13437       need_version=no
   13438       need_lib_prefix=no
   13439       ;;
   13440     freebsd-*)
   13441       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
   13442       need_version=yes
   13443       ;;
   13444   esac
   13445   shlibpath_var=LD_LIBRARY_PATH
   13446   case $host_os in
   13447   freebsd2*)
   13448     shlibpath_overrides_runpath=yes
   13449     ;;
   13450   freebsd3.[01]* | freebsdelf3.[01]*)
   13451     shlibpath_overrides_runpath=yes
   13452     hardcode_into_libs=yes
   13453     ;;
   13454   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   13455   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   13456     shlibpath_overrides_runpath=no
   13457     hardcode_into_libs=yes
   13458     ;;
   13459   *) # from 4.6 on, and DragonFly
   13460     shlibpath_overrides_runpath=yes
   13461     hardcode_into_libs=yes
   13462     ;;
   13463   esac
   13464   ;;
   13465 
   13466 gnu*)
   13467   version_type=linux
   13468   need_lib_prefix=no
   13469   need_version=no
   13470   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   13471   soname_spec='${libname}${release}${shared_ext}$major'
   13472   shlibpath_var=LD_LIBRARY_PATH
   13473   hardcode_into_libs=yes
   13474   ;;
   13475 
   13476 hpux9* | hpux10* | hpux11*)
   13477   # Give a soname corresponding to the major version so that dld.sl refuses to
   13478   # link against other versions.
   13479   version_type=sunos
   13480   need_lib_prefix=no
   13481   need_version=no
   13482   case $host_cpu in
   13483   ia64*)
   13484     shrext_cmds='.so'
   13485     hardcode_into_libs=yes
   13486     dynamic_linker="$host_os dld.so"
   13487     shlibpath_var=LD_LIBRARY_PATH
   13488     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   13489     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13490     soname_spec='${libname}${release}${shared_ext}$major'
   13491     if test "X$HPUX_IA64_MODE" = X32; then
   13492       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   13493     else
   13494       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   13495     fi
   13496     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   13497     ;;
   13498    hppa*64*)
   13499      shrext_cmds='.sl'
   13500      hardcode_into_libs=yes
   13501      dynamic_linker="$host_os dld.sl"
   13502      shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   13503      shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   13504      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13505      soname_spec='${libname}${release}${shared_ext}$major'
   13506      sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   13507      sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   13508      ;;
   13509    *)
   13510     shrext_cmds='.sl'
   13511     dynamic_linker="$host_os dld.sl"
   13512     shlibpath_var=SHLIB_PATH
   13513     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   13514     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13515     soname_spec='${libname}${release}${shared_ext}$major'
   13516     ;;
   13517   esac
   13518   # HP-UX runs *really* slowly unless shared libraries are mode 555.
   13519   postinstall_cmds='chmod 555 $lib'
   13520   ;;
   13521 
   13522 interix[3-9]*)
   13523   version_type=linux
   13524   need_lib_prefix=no
   13525   need_version=no
   13526   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   13527   soname_spec='${libname}${release}${shared_ext}$major'
   13528   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   13529   shlibpath_var=LD_LIBRARY_PATH
   13530   shlibpath_overrides_runpath=no
   13531   hardcode_into_libs=yes
   13532   ;;
   13533 
   13534 irix5* | irix6* | nonstopux*)
   13535   case $host_os in
   13536     nonstopux*) version_type=nonstopux ;;
   13537     *)
   13538 	if test "$lt_cv_prog_gnu_ld" = yes; then
   13539 		version_type=linux
   13540 	else
   13541 		version_type=irix
   13542 	fi ;;
   13543   esac
   13544   need_lib_prefix=no
   13545   need_version=no
   13546   soname_spec='${libname}${release}${shared_ext}$major'
   13547   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
   13548   case $host_os in
   13549   irix5* | nonstopux*)
   13550     libsuff= shlibsuff=
   13551     ;;
   13552   *)
   13553     case $LD in # libtool.m4 will add one of these switches to LD
   13554     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   13555       libsuff= shlibsuff= libmagic=32-bit;;
   13556     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   13557       libsuff=32 shlibsuff=N32 libmagic=N32;;
   13558     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   13559       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   13560     *) libsuff= shlibsuff= libmagic=never-match;;
   13561     esac
   13562     ;;
   13563   esac
   13564   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   13565   shlibpath_overrides_runpath=no
   13566   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   13567   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   13568   hardcode_into_libs=yes
   13569   ;;
   13570 
   13571 # No shared lib support for Linux oldld, aout, or coff.
   13572 linux*oldld* | linux*aout* | linux*coff*)
   13573   dynamic_linker=no
   13574   ;;
   13575 
   13576 # This must be Linux ELF.
   13577 linux* | k*bsd*-gnu)
   13578   version_type=linux
   13579   need_lib_prefix=no
   13580   need_version=no
   13581   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13582   soname_spec='${libname}${release}${shared_ext}$major'
   13583   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   13584   shlibpath_var=LD_LIBRARY_PATH
   13585   shlibpath_overrides_runpath=no
   13586   # This implies no fast_install, which is unacceptable.
   13587   # Some rework will be needed to allow for fast_install
   13588   # before this can be enabled.
   13589   hardcode_into_libs=yes
   13590 
   13591   # Append ld.so.conf contents to the search path
   13592   if test -f /etc/ld.so.conf; then
   13593     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' ' '`
   13594     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   13595   fi
   13596 
   13597   # We used to test for /lib/ld.so.1 and disable shared libraries on
   13598   # powerpc, because MkLinux only supported shared libraries with the
   13599   # GNU dynamic linker.  Since this was broken with cross compilers,
   13600   # most powerpc-linux boxes support dynamic linking these days and
   13601   # people can always --disable-shared, the test was removed, and we
   13602   # assume the GNU/Linux dynamic linker is in use.
   13603   dynamic_linker='GNU/Linux ld.so'
   13604   ;;
   13605 
   13606 netbsd*)
   13607   version_type=sunos
   13608   need_lib_prefix=no
   13609   need_version=no
   13610   if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   13611     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   13612     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   13613     dynamic_linker='NetBSD (a.out) ld.so'
   13614   else
   13615     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   13616     soname_spec='${libname}${release}${shared_ext}$major'
   13617     dynamic_linker='NetBSD ld.elf_so'
   13618   fi
   13619   shlibpath_var=LD_LIBRARY_PATH
   13620   shlibpath_overrides_runpath=yes
   13621   hardcode_into_libs=yes
   13622   ;;
   13623 
   13624 newsos6)
   13625   version_type=linux
   13626   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13627   shlibpath_var=LD_LIBRARY_PATH
   13628   shlibpath_overrides_runpath=yes
   13629   ;;
   13630 
   13631 nto-qnx*)
   13632   version_type=linux
   13633   need_lib_prefix=no
   13634   need_version=no
   13635   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13636   soname_spec='${libname}${release}${shared_ext}$major'
   13637   shlibpath_var=LD_LIBRARY_PATH
   13638   shlibpath_overrides_runpath=yes
   13639   ;;
   13640 
   13641 openbsd*)
   13642   version_type=sunos
   13643   sys_lib_dlsearch_path_spec="/usr/lib"
   13644   need_lib_prefix=no
   13645   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
   13646   case $host_os in
   13647     openbsd3.3 | openbsd3.3.*) need_version=yes ;;
   13648     *)                         need_version=no  ;;
   13649   esac
   13650   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   13651   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   13652   shlibpath_var=LD_LIBRARY_PATH
   13653   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   13654     case $host_os in
   13655       openbsd2.[89] | openbsd2.[89].*)
   13656 	shlibpath_overrides_runpath=no
   13657 	;;
   13658       *)
   13659 	shlibpath_overrides_runpath=yes
   13660 	;;
   13661       esac
   13662   else
   13663     shlibpath_overrides_runpath=yes
   13664   fi
   13665   ;;
   13666 
   13667 os2*)
   13668   libname_spec='$name'
   13669   shrext_cmds=".dll"
   13670   need_lib_prefix=no
   13671   library_names_spec='$libname${shared_ext} $libname.a'
   13672   dynamic_linker='OS/2 ld.exe'
   13673   shlibpath_var=LIBPATH
   13674   ;;
   13675 
   13676 osf3* | osf4* | osf5*)
   13677   version_type=osf
   13678   need_lib_prefix=no
   13679   need_version=no
   13680   soname_spec='${libname}${release}${shared_ext}$major'
   13681   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13682   shlibpath_var=LD_LIBRARY_PATH
   13683   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   13684   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   13685   ;;
   13686 
   13687 rdos*)
   13688   dynamic_linker=no
   13689   ;;
   13690 
   13691 solaris*)
   13692   version_type=linux
   13693   need_lib_prefix=no
   13694   need_version=no
   13695   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13696   soname_spec='${libname}${release}${shared_ext}$major'
   13697   shlibpath_var=LD_LIBRARY_PATH
   13698   shlibpath_overrides_runpath=yes
   13699   hardcode_into_libs=yes
   13700   # ldd complains unless libraries are executable
   13701   postinstall_cmds='chmod +x $lib'
   13702   ;;
   13703 
   13704 sunos4*)
   13705   version_type=sunos
   13706   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   13707   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   13708   shlibpath_var=LD_LIBRARY_PATH
   13709   shlibpath_overrides_runpath=yes
   13710   if test "$with_gnu_ld" = yes; then
   13711     need_lib_prefix=no
   13712   fi
   13713   need_version=yes
   13714   ;;
   13715 
   13716 sysv4 | sysv4.3*)
   13717   version_type=linux
   13718   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13719   soname_spec='${libname}${release}${shared_ext}$major'
   13720   shlibpath_var=LD_LIBRARY_PATH
   13721   case $host_vendor in
   13722     sni)
   13723       shlibpath_overrides_runpath=no
   13724       need_lib_prefix=no
   13725       export_dynamic_flag_spec='${wl}-Blargedynsym'
   13726       runpath_var=LD_RUN_PATH
   13727       ;;
   13728     siemens)
   13729       need_lib_prefix=no
   13730       ;;
   13731     motorola)
   13732       need_lib_prefix=no
   13733       need_version=no
   13734       shlibpath_overrides_runpath=no
   13735       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   13736       ;;
   13737   esac
   13738   ;;
   13739 
   13740 sysv4*MP*)
   13741   if test -d /usr/nec ;then
   13742     version_type=linux
   13743     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
   13744     soname_spec='$libname${shared_ext}.$major'
   13745     shlibpath_var=LD_LIBRARY_PATH
   13746   fi
   13747   ;;
   13748 
   13749 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   13750   version_type=freebsd-elf
   13751   need_lib_prefix=no
   13752   need_version=no
   13753   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   13754   soname_spec='${libname}${release}${shared_ext}$major'
   13755   shlibpath_var=LD_LIBRARY_PATH
   13756   hardcode_into_libs=yes
   13757   if test "$with_gnu_ld" = yes; then
   13758     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   13759     shlibpath_overrides_runpath=no
   13760   else
   13761     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   13762     shlibpath_overrides_runpath=yes
   13763     case $host_os in
   13764       sco3.2v5*)
   13765         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   13766 	;;
   13767     esac
   13768   fi
   13769   sys_lib_dlsearch_path_spec='/usr/lib'
   13770   ;;
   13771 
   13772 uts4*)
   13773   version_type=linux
   13774   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13775   soname_spec='${libname}${release}${shared_ext}$major'
   13776   shlibpath_var=LD_LIBRARY_PATH
   13777   ;;
   13778 
   13779 *)
   13780   dynamic_linker=no
   13781   ;;
   13782 esac
   13783 { $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
   13784 $as_echo "$dynamic_linker" >&6; }
   13785 test "$dynamic_linker" = no && can_build_shared=no
   13786 
   13787 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
   13788   $as_echo_n "(cached) " >&6
   13789 else
   13790   lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
   13791 fi
   13792 
   13793 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
   13794 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
   13795   $as_echo_n "(cached) " >&6
   13796 else
   13797   lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
   13798 fi
   13799 
   13800 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
   13801 
   13802 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   13803 if test "$GCC" = yes; then
   13804   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   13805 fi
   13806 
   13807 { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
   13808 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
   13809 hardcode_action_CXX=
   13810 if test -n "$hardcode_libdir_flag_spec_CXX" || \
   13811    test -n "$runpath_var_CXX" || \
   13812    test "X$hardcode_automatic_CXX" = "Xyes" ; then
   13813 
   13814   # We can hardcode non-existant directories.
   13815   if test "$hardcode_direct_CXX" != no &&
   13816      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   13817      # have to relink, otherwise we might link with an installed library
   13818      # when we should be linking with a yet-to-be-installed one
   13819      ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
   13820      test "$hardcode_minus_L_CXX" != no; then
   13821     # Linking always hardcodes the temporary library directory.
   13822     hardcode_action_CXX=relink
   13823   else
   13824     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   13825     hardcode_action_CXX=immediate
   13826   fi
   13827 else
   13828   # We cannot hardcode anything, or else we can only hardcode existing
   13829   # directories.
   13830   hardcode_action_CXX=unsupported
   13831 fi
   13832 { $as_echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
   13833 $as_echo "$hardcode_action_CXX" >&6; }
   13834 
   13835 if test "$hardcode_action_CXX" = relink; then
   13836   # Fast installation is not supported
   13837   enable_fast_install=no
   13838 elif test "$shlibpath_overrides_runpath" = yes ||
   13839      test "$enable_shared" = no; then
   13840   # Fast installation is not necessary
   13841   enable_fast_install=needless
   13842 fi
   13843 
   13844 
   13845 # The else clause should only fire when bootstrapping the
   13846 # libtool distribution, otherwise you forgot to ship ltmain.sh
   13847 # with your package, and you will get complaints that there are
   13848 # no rules to generate ltmain.sh.
   13849 if test -f "$ltmain"; then
   13850   # See if we are running on zsh, and set the options which allow our commands through
   13851   # without removal of \ escapes.
   13852   if test -n "${ZSH_VERSION+set}" ; then
   13853     setopt NO_GLOB_SUBST
   13854   fi
   13855   # Now quote all the things that may contain metacharacters while being
   13856   # careful not to overquote the AC_SUBSTed values.  We take copies of the
   13857   # variables and quote the copies for generation of the libtool script.
   13858   for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
   13859     SED SHELL STRIP \
   13860     libname_spec library_names_spec soname_spec extract_expsyms_cmds \
   13861     old_striplib striplib file_magic_cmd finish_cmds finish_eval \
   13862     deplibs_check_method reload_flag reload_cmds need_locks \
   13863     lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
   13864     lt_cv_sys_global_symbol_to_c_name_address \
   13865     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
   13866     old_postinstall_cmds old_postuninstall_cmds \
   13867     compiler_CXX \
   13868     CC_CXX \
   13869     LD_CXX \
   13870     lt_prog_compiler_wl_CXX \
   13871     lt_prog_compiler_pic_CXX \
   13872     lt_prog_compiler_static_CXX \
   13873     lt_prog_compiler_no_builtin_flag_CXX \
   13874     export_dynamic_flag_spec_CXX \
   13875     thread_safe_flag_spec_CXX \
   13876     whole_archive_flag_spec_CXX \
   13877     enable_shared_with_static_runtimes_CXX \
   13878     old_archive_cmds_CXX \
   13879     old_archive_from_new_cmds_CXX \
   13880     predep_objects_CXX \
   13881     postdep_objects_CXX \
   13882     predeps_CXX \
   13883     postdeps_CXX \
   13884     compiler_lib_search_path_CXX \
   13885     compiler_lib_search_dirs_CXX \
   13886     archive_cmds_CXX \
   13887     archive_expsym_cmds_CXX \
   13888     postinstall_cmds_CXX \
   13889     postuninstall_cmds_CXX \
   13890     old_archive_from_expsyms_cmds_CXX \
   13891     allow_undefined_flag_CXX \
   13892     no_undefined_flag_CXX \
   13893     export_symbols_cmds_CXX \
   13894     hardcode_libdir_flag_spec_CXX \
   13895     hardcode_libdir_flag_spec_ld_CXX \
   13896     hardcode_libdir_separator_CXX \
   13897     hardcode_automatic_CXX \
   13898     module_cmds_CXX \
   13899     module_expsym_cmds_CXX \
   13900     lt_cv_prog_compiler_c_o_CXX \
   13901     fix_srcfile_path_CXX \
   13902     exclude_expsyms_CXX \
   13903     include_expsyms_CXX; do
   13904 
   13905     case $var in
   13906     old_archive_cmds_CXX | \
   13907     old_archive_from_new_cmds_CXX | \
   13908     archive_cmds_CXX | \
   13909     archive_expsym_cmds_CXX | \
   13910     module_cmds_CXX | \
   13911     module_expsym_cmds_CXX | \
   13912     old_archive_from_expsyms_cmds_CXX | \
   13913     export_symbols_cmds_CXX | \
   13914     extract_expsyms_cmds | reload_cmds | finish_cmds | \
   13915     postinstall_cmds | postuninstall_cmds | \
   13916     old_postinstall_cmds | old_postuninstall_cmds | \
   13917     sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
   13918       # Double-quote double-evaled strings.
   13919       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
   13920       ;;
   13921     *)
   13922       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
   13923       ;;
   13924     esac
   13925   done
   13926 
   13927   case $lt_echo in
   13928   *'\$0 --fallback-echo"')
   13929     lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
   13930     ;;
   13931   esac
   13932 
   13933 cfgfile="$ofile"
   13934 
   13935   cat <<__EOF__ >> "$cfgfile"
   13936 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
   13937 
   13938 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   13939 
   13940 # Shell to use when invoking shell scripts.
   13941 SHELL=$lt_SHELL
   13942 
   13943 # Whether or not to build shared libraries.
   13944 build_libtool_libs=$enable_shared
   13945 
   13946 # Whether or not to build static libraries.
   13947 build_old_libs=$enable_static
   13948 
   13949 # Whether or not to add -lc for building shared libraries.
   13950 build_libtool_need_lc=$archive_cmds_need_lc_CXX
   13951 
   13952 # Whether or not to disallow shared libs when runtime libs are static
   13953 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
   13954 
   13955 # Whether or not to optimize for fast installation.
   13956 fast_install=$enable_fast_install
   13957 
   13958 # The host system.
   13959 host_alias=$host_alias
   13960 host=$host
   13961 host_os=$host_os
   13962 
   13963 # The build system.
   13964 build_alias=$build_alias
   13965 build=$build
   13966 build_os=$build_os
   13967 
   13968 # An echo program that does not interpret backslashes.
   13969 echo=$lt_echo
   13970 
   13971 # The archiver.
   13972 AR=$lt_AR
   13973 AR_FLAGS=$lt_AR_FLAGS
   13974 
   13975 # A C compiler.
   13976 LTCC=$lt_LTCC
   13977 
   13978 # LTCC compiler flags.
   13979 LTCFLAGS=$lt_LTCFLAGS
   13980 
   13981 # A language-specific compiler.
   13982 CC=$lt_compiler_CXX
   13983 
   13984 # Is the compiler the GNU C compiler?
   13985 with_gcc=$GCC_CXX
   13986 
   13987 # An ERE matcher.
   13988 EGREP=$lt_EGREP
   13989 
   13990 # The linker used to build libraries.
   13991 LD=$lt_LD_CXX
   13992 
   13993 # Whether we need hard or soft links.
   13994 LN_S=$lt_LN_S
   13995 
   13996 # A BSD-compatible nm program.
   13997 NM=$lt_NM
   13998 
   13999 # A symbol stripping program
   14000 STRIP=$lt_STRIP
   14001 
   14002 # Used to examine libraries when file_magic_cmd begins "file"
   14003 MAGIC_CMD=$MAGIC_CMD
   14004 
   14005 # Used on cygwin: DLL creation program.
   14006 DLLTOOL="$DLLTOOL"
   14007 
   14008 # Used on cygwin: object dumper.
   14009 OBJDUMP="$OBJDUMP"
   14010 
   14011 # Used on cygwin: assembler.
   14012 AS="$AS"
   14013 
   14014 # The name of the directory that contains temporary libtool files.
   14015 objdir=$objdir
   14016 
   14017 # How to create reloadable object files.
   14018 reload_flag=$lt_reload_flag
   14019 reload_cmds=$lt_reload_cmds
   14020 
   14021 # How to pass a linker flag through the compiler.
   14022 wl=$lt_lt_prog_compiler_wl_CXX
   14023 
   14024 # Object file suffix (normally "o").
   14025 objext="$ac_objext"
   14026 
   14027 # Old archive suffix (normally "a").
   14028 libext="$libext"
   14029 
   14030 # Shared library suffix (normally ".so").
   14031 shrext_cmds='$shrext_cmds'
   14032 
   14033 # Executable file suffix (normally "").
   14034 exeext="$exeext"
   14035 
   14036 # Additional compiler flags for building library objects.
   14037 pic_flag=$lt_lt_prog_compiler_pic_CXX
   14038 pic_mode=$pic_mode
   14039 
   14040 # What is the maximum length of a command?
   14041 max_cmd_len=$lt_cv_sys_max_cmd_len
   14042 
   14043 # Does compiler simultaneously support -c and -o options?
   14044 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
   14045 
   14046 # Must we lock files when doing compilation?
   14047 need_locks=$lt_need_locks
   14048 
   14049 # Do we need the lib prefix for modules?
   14050 need_lib_prefix=$need_lib_prefix
   14051 
   14052 # Do we need a version for libraries?
   14053 need_version=$need_version
   14054 
   14055 # Whether dlopen is supported.
   14056 dlopen_support=$enable_dlopen
   14057 
   14058 # Whether dlopen of programs is supported.
   14059 dlopen_self=$enable_dlopen_self
   14060 
   14061 # Whether dlopen of statically linked programs is supported.
   14062 dlopen_self_static=$enable_dlopen_self_static
   14063 
   14064 # Compiler flag to prevent dynamic linking.
   14065 link_static_flag=$lt_lt_prog_compiler_static_CXX
   14066 
   14067 # Compiler flag to turn off builtin functions.
   14068 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
   14069 
   14070 # Compiler flag to allow reflexive dlopens.
   14071 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
   14072 
   14073 # Compiler flag to generate shared objects directly from archives.
   14074 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
   14075 
   14076 # Compiler flag to generate thread-safe objects.
   14077 thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
   14078 
   14079 # Library versioning type.
   14080 version_type=$version_type
   14081 
   14082 # Format of library name prefix.
   14083 libname_spec=$lt_libname_spec
   14084 
   14085 # List of archive names.  First name is the real one, the rest are links.
   14086 # The last name is the one that the linker finds with -lNAME.
   14087 library_names_spec=$lt_library_names_spec
   14088 
   14089 # The coded name of the library, if different from the real name.
   14090 soname_spec=$lt_soname_spec
   14091 
   14092 # Commands used to build and install an old-style archive.
   14093 RANLIB=$lt_RANLIB
   14094 old_archive_cmds=$lt_old_archive_cmds_CXX
   14095 old_postinstall_cmds=$lt_old_postinstall_cmds
   14096 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   14097 
   14098 # Create an old-style archive from a shared archive.
   14099 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
   14100 
   14101 # Create a temporary old-style archive to link instead of a shared archive.
   14102 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
   14103 
   14104 # Commands used to build and install a shared archive.
   14105 archive_cmds=$lt_archive_cmds_CXX
   14106 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
   14107 postinstall_cmds=$lt_postinstall_cmds
   14108 postuninstall_cmds=$lt_postuninstall_cmds
   14109 
   14110 # Commands used to build a loadable module (assumed same as above if empty)
   14111 module_cmds=$lt_module_cmds_CXX
   14112 module_expsym_cmds=$lt_module_expsym_cmds_CXX
   14113 
   14114 # Commands to strip libraries.
   14115 old_striplib=$lt_old_striplib
   14116 striplib=$lt_striplib
   14117 
   14118 # Dependencies to place before the objects being linked to create a
   14119 # shared library.
   14120 predep_objects=$lt_predep_objects_CXX
   14121 
   14122 # Dependencies to place after the objects being linked to create a
   14123 # shared library.
   14124 postdep_objects=$lt_postdep_objects_CXX
   14125 
   14126 # Dependencies to place before the objects being linked to create a
   14127 # shared library.
   14128 predeps=$lt_predeps_CXX
   14129 
   14130 # Dependencies to place after the objects being linked to create a
   14131 # shared library.
   14132 postdeps=$lt_postdeps_CXX
   14133 
   14134 # The directories searched by this compiler when creating a shared
   14135 # library
   14136 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
   14137 
   14138 # The library search path used internally by the compiler when linking
   14139 # a shared library.
   14140 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
   14141 
   14142 # Method to check whether dependent libraries are shared objects.
   14143 deplibs_check_method=$lt_deplibs_check_method
   14144 
   14145 # Command to use when deplibs_check_method == file_magic.
   14146 file_magic_cmd=$lt_file_magic_cmd
   14147 
   14148 # Flag that allows shared libraries with undefined symbols to be built.
   14149 allow_undefined_flag=$lt_allow_undefined_flag_CXX
   14150 
   14151 # Flag that forces no undefined symbols.
   14152 no_undefined_flag=$lt_no_undefined_flag_CXX
   14153 
   14154 # Commands used to finish a libtool library installation in a directory.
   14155 finish_cmds=$lt_finish_cmds
   14156 
   14157 # Same as above, but a single script fragment to be evaled but not shown.
   14158 finish_eval=$lt_finish_eval
   14159 
   14160 # Take the output of nm and produce a listing of raw symbols and C names.
   14161 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   14162 
   14163 # Transform the output of nm in a proper C declaration
   14164 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   14165 
   14166 # Transform the output of nm in a C name address pair
   14167 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   14168 
   14169 # This is the shared library runtime path variable.
   14170 runpath_var=$runpath_var
   14171 
   14172 # This is the shared library path variable.
   14173 shlibpath_var=$shlibpath_var
   14174 
   14175 # Is shlibpath searched before the hard-coded library search path?
   14176 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   14177 
   14178 # How to hardcode a shared library path into an executable.
   14179 hardcode_action=$hardcode_action_CXX
   14180 
   14181 # Whether we should hardcode library paths into libraries.
   14182 hardcode_into_libs=$hardcode_into_libs
   14183 
   14184 # Flag to hardcode \$libdir into a binary during linking.
   14185 # This must work even if \$libdir does not exist.
   14186 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
   14187 
   14188 # If ld is used when linking, flag to hardcode \$libdir into
   14189 # a binary during linking. This must work even if \$libdir does
   14190 # not exist.
   14191 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
   14192 
   14193 # Whether we need a single -rpath flag with a separated argument.
   14194 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
   14195 
   14196 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
   14197 # resulting binary.
   14198 hardcode_direct=$hardcode_direct_CXX
   14199 
   14200 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
   14201 # resulting binary.
   14202 hardcode_minus_L=$hardcode_minus_L_CXX
   14203 
   14204 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
   14205 # the resulting binary.
   14206 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
   14207 
   14208 # Set to yes if building a shared library automatically hardcodes DIR into the library
   14209 # and all subsequent libraries and executables linked against it.
   14210 hardcode_automatic=$hardcode_automatic_CXX
   14211 
   14212 # Variables whose values should be saved in libtool wrapper scripts and
   14213 # restored at relink time.
   14214 variables_saved_for_relink="$variables_saved_for_relink"
   14215 
   14216 # Whether libtool must link a program against all its dependency libraries.
   14217 link_all_deplibs=$link_all_deplibs_CXX
   14218 
   14219 # Compile-time system search path for libraries
   14220 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   14221 
   14222 # Run-time system search path for libraries
   14223 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   14224 
   14225 # Fix the shell variable \$srcfile for the compiler.
   14226 fix_srcfile_path=$lt_fix_srcfile_path
   14227 
   14228 # Set to yes if exported symbols are required.
   14229 always_export_symbols=$always_export_symbols_CXX
   14230 
   14231 # The commands to list exported symbols.
   14232 export_symbols_cmds=$lt_export_symbols_cmds_CXX
   14233 
   14234 # The commands to extract the exported symbol list from a shared archive.
   14235 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   14236 
   14237 # Symbols that should not be listed in the preloaded symbols.
   14238 exclude_expsyms=$lt_exclude_expsyms_CXX
   14239 
   14240 # Symbols that must always be exported.
   14241 include_expsyms=$lt_include_expsyms_CXX
   14242 
   14243 # ### END LIBTOOL TAG CONFIG: $tagname
   14244 
   14245 __EOF__
   14246 
   14247 
   14248 else
   14249   # If there is no Makefile yet, we rely on a make rule to execute
   14250   # `config.status --recheck' to rerun these tests and create the
   14251   # libtool script then.
   14252   ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
   14253   if test -f "$ltmain_in"; then
   14254     test -f Makefile && make "$ltmain"
   14255   fi
   14256 fi
   14257 
   14258 
   14259 ac_ext=c
   14260 ac_cpp='$CPP $CPPFLAGS'
   14261 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   14262 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   14263 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   14264 
   14265 CC=$lt_save_CC
   14266 LDCXX=$LD
   14267 LD=$lt_save_LD
   14268 GCC=$lt_save_GCC
   14269 with_gnu_ldcxx=$with_gnu_ld
   14270 with_gnu_ld=$lt_save_with_gnu_ld
   14271 lt_cv_path_LDCXX=$lt_cv_path_LD
   14272 lt_cv_path_LD=$lt_save_path_LD
   14273 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
   14274 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
   14275 
   14276 	else
   14277 	  tagname=""
   14278 	fi
   14279 	;;
   14280 
   14281       F77)
   14282 	if test -n "$F77" && test "X$F77" != "Xno"; then
   14283 
   14284 ac_ext=f
   14285 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
   14286 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   14287 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
   14288 
   14289 
   14290 archive_cmds_need_lc_F77=no
   14291 allow_undefined_flag_F77=
   14292 always_export_symbols_F77=no
   14293 archive_expsym_cmds_F77=
   14294 export_dynamic_flag_spec_F77=
   14295 hardcode_direct_F77=no
   14296 hardcode_libdir_flag_spec_F77=
   14297 hardcode_libdir_flag_spec_ld_F77=
   14298 hardcode_libdir_separator_F77=
   14299 hardcode_minus_L_F77=no
   14300 hardcode_automatic_F77=no
   14301 module_cmds_F77=
   14302 module_expsym_cmds_F77=
   14303 link_all_deplibs_F77=unknown
   14304 old_archive_cmds_F77=$old_archive_cmds
   14305 no_undefined_flag_F77=
   14306 whole_archive_flag_spec_F77=
   14307 enable_shared_with_static_runtimes_F77=no
   14308 
   14309 # Source file extension for f77 test sources.
   14310 ac_ext=f
   14311 
   14312 # Object file extension for compiled f77 test sources.
   14313 objext=o
   14314 objext_F77=$objext
   14315 
   14316 # Code to be used in simple compile tests
   14317 lt_simple_compile_test_code="\
   14318       subroutine t
   14319       return
   14320       end
   14321 "
   14322 
   14323 # Code to be used in simple link tests
   14324 lt_simple_link_test_code="\
   14325       program t
   14326       end
   14327 "
   14328 
   14329 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
   14330 
   14331 # If no C compiler was specified, use CC.
   14332 LTCC=${LTCC-"$CC"}
   14333 
   14334 # If no C compiler flags were specified, use CFLAGS.
   14335 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   14336 
   14337 # Allow CC to be a program name with arguments.
   14338 compiler=$CC
   14339 
   14340 
   14341 # save warnings/boilerplate of simple test code
   14342 ac_outfile=conftest.$ac_objext
   14343 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   14344 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   14345 _lt_compiler_boilerplate=`cat conftest.err`
   14346 $rm conftest*
   14347 
   14348 ac_outfile=conftest.$ac_objext
   14349 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   14350 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   14351 _lt_linker_boilerplate=`cat conftest.err`
   14352 $rm -r conftest*
   14353 
   14354 
   14355 # Allow CC to be a program name with arguments.
   14356 lt_save_CC="$CC"
   14357 CC=${F77-"f77"}
   14358 compiler=$CC
   14359 compiler_F77=$CC
   14360 for cc_temp in $compiler""; do
   14361   case $cc_temp in
   14362     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   14363     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   14364     \-*) ;;
   14365     *) break;;
   14366   esac
   14367 done
   14368 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   14369 
   14370 
   14371 { $as_echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
   14372 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
   14373 { $as_echo "$as_me:$LINENO: result: $can_build_shared" >&5
   14374 $as_echo "$can_build_shared" >&6; }
   14375 
   14376 { $as_echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
   14377 $as_echo_n "checking whether to build shared libraries... " >&6; }
   14378 test "$can_build_shared" = "no" && enable_shared=no
   14379 
   14380 # On AIX, shared libraries and static libraries use the same namespace, and
   14381 # are all built from PIC.
   14382 case $host_os in
   14383 aix3*)
   14384   test "$enable_shared" = yes && enable_static=no
   14385   if test -n "$RANLIB"; then
   14386     archive_cmds="$archive_cmds~\$RANLIB \$lib"
   14387     postinstall_cmds='$RANLIB $lib'
   14388   fi
   14389   ;;
   14390 aix[4-9]*)
   14391   if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
   14392     test "$enable_shared" = yes && enable_static=no
   14393   fi
   14394   ;;
   14395 esac
   14396 { $as_echo "$as_me:$LINENO: result: $enable_shared" >&5
   14397 $as_echo "$enable_shared" >&6; }
   14398 
   14399 { $as_echo "$as_me:$LINENO: checking whether to build static libraries" >&5
   14400 $as_echo_n "checking whether to build static libraries... " >&6; }
   14401 # Make sure either enable_shared or enable_static is yes.
   14402 test "$enable_shared" = yes || enable_static=yes
   14403 { $as_echo "$as_me:$LINENO: result: $enable_static" >&5
   14404 $as_echo "$enable_static" >&6; }
   14405 
   14406 GCC_F77="$G77"
   14407 LD_F77="$LD"
   14408 
   14409 lt_prog_compiler_wl_F77=
   14410 lt_prog_compiler_pic_F77=
   14411 lt_prog_compiler_static_F77=
   14412 
   14413 { $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
   14414 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
   14415 
   14416   if test "$GCC" = yes; then
   14417     lt_prog_compiler_wl_F77='-Wl,'
   14418     lt_prog_compiler_static_F77='-static'
   14419 
   14420     case $host_os in
   14421       aix*)
   14422       # All AIX code is PIC.
   14423       if test "$host_cpu" = ia64; then
   14424 	# AIX 5 now supports IA64 processor
   14425 	lt_prog_compiler_static_F77='-Bstatic'
   14426       fi
   14427       ;;
   14428 
   14429     amigaos*)
   14430       # FIXME: we need at least 68020 code to build shared libraries, but
   14431       # adding the `-m68020' flag to GCC prevents building anything better,
   14432       # like `-m68040'.
   14433       lt_prog_compiler_pic_F77='-m68020 -resident32 -malways-restore-a4'
   14434       ;;
   14435 
   14436     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   14437       # PIC is the default for these OSes.
   14438       ;;
   14439 
   14440     mingw* | cygwin* | pw32* | os2*)
   14441       # This hack is so that the source file can tell whether it is being
   14442       # built for inclusion in a dll (and should export symbols for example).
   14443       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   14444       # (--disable-auto-import) libraries
   14445       lt_prog_compiler_pic_F77='-DDLL_EXPORT'
   14446       ;;
   14447 
   14448     darwin* | rhapsody*)
   14449       # PIC is the default on this platform
   14450       # Common symbols not allowed in MH_DYLIB files
   14451       lt_prog_compiler_pic_F77='-fno-common'
   14452       ;;
   14453 
   14454     interix[3-9]*)
   14455       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   14456       # Instead, we relocate shared libraries at runtime.
   14457       ;;
   14458 
   14459     msdosdjgpp*)
   14460       # Just because we use GCC doesn't mean we suddenly get shared libraries
   14461       # on systems that don't support them.
   14462       lt_prog_compiler_can_build_shared_F77=no
   14463       enable_shared=no
   14464       ;;
   14465 
   14466     sysv4*MP*)
   14467       if test -d /usr/nec; then
   14468 	lt_prog_compiler_pic_F77=-Kconform_pic
   14469       fi
   14470       ;;
   14471 
   14472     hpux*)
   14473       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   14474       # not for PA HP-UX.
   14475       case $host_cpu in
   14476       hppa*64*|ia64*)
   14477 	# +Z the default
   14478 	;;
   14479       *)
   14480 	lt_prog_compiler_pic_F77='-fPIC'
   14481 	;;
   14482       esac
   14483       ;;
   14484 
   14485     *)
   14486       lt_prog_compiler_pic_F77='-fPIC'
   14487       ;;
   14488     esac
   14489   else
   14490     # PORTME Check for flag to pass linker flags through the system compiler.
   14491     case $host_os in
   14492     aix*)
   14493       lt_prog_compiler_wl_F77='-Wl,'
   14494       if test "$host_cpu" = ia64; then
   14495 	# AIX 5 now supports IA64 processor
   14496 	lt_prog_compiler_static_F77='-Bstatic'
   14497       else
   14498 	lt_prog_compiler_static_F77='-bnso -bI:/lib/syscalls.exp'
   14499       fi
   14500       ;;
   14501       darwin*)
   14502         # PIC is the default on this platform
   14503         # Common symbols not allowed in MH_DYLIB files
   14504        case $cc_basename in
   14505          xlc*)
   14506          lt_prog_compiler_pic_F77='-qnocommon'
   14507          lt_prog_compiler_wl_F77='-Wl,'
   14508          ;;
   14509        esac
   14510        ;;
   14511 
   14512     mingw* | cygwin* | pw32* | os2*)
   14513       # This hack is so that the source file can tell whether it is being
   14514       # built for inclusion in a dll (and should export symbols for example).
   14515       lt_prog_compiler_pic_F77='-DDLL_EXPORT'
   14516       ;;
   14517 
   14518     hpux9* | hpux10* | hpux11*)
   14519       lt_prog_compiler_wl_F77='-Wl,'
   14520       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   14521       # not for PA HP-UX.
   14522       case $host_cpu in
   14523       hppa*64*|ia64*)
   14524 	# +Z the default
   14525 	;;
   14526       *)
   14527 	lt_prog_compiler_pic_F77='+Z'
   14528 	;;
   14529       esac
   14530       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   14531       lt_prog_compiler_static_F77='${wl}-a ${wl}archive'
   14532       ;;
   14533 
   14534     irix5* | irix6* | nonstopux*)
   14535       lt_prog_compiler_wl_F77='-Wl,'
   14536       # PIC (with -KPIC) is the default.
   14537       lt_prog_compiler_static_F77='-non_shared'
   14538       ;;
   14539 
   14540     newsos6)
   14541       lt_prog_compiler_pic_F77='-KPIC'
   14542       lt_prog_compiler_static_F77='-Bstatic'
   14543       ;;
   14544 
   14545     linux* | k*bsd*-gnu)
   14546       case $cc_basename in
   14547       icc* | ecc*)
   14548 	lt_prog_compiler_wl_F77='-Wl,'
   14549 	lt_prog_compiler_pic_F77='-KPIC'
   14550 	lt_prog_compiler_static_F77='-static'
   14551         ;;
   14552       pgcc* | pgf77* | pgf90* | pgf95*)
   14553         # Portland Group compilers (*not* the Pentium gcc compiler,
   14554 	# which looks to be a dead project)
   14555 	lt_prog_compiler_wl_F77='-Wl,'
   14556 	lt_prog_compiler_pic_F77='-fpic'
   14557 	lt_prog_compiler_static_F77='-Bstatic'
   14558         ;;
   14559       ccc*)
   14560         lt_prog_compiler_wl_F77='-Wl,'
   14561         # All Alpha code is PIC.
   14562         lt_prog_compiler_static_F77='-non_shared'
   14563         ;;
   14564       *)
   14565         case `$CC -V 2>&1 | sed 5q` in
   14566 	*Sun\ C*)
   14567 	  # Sun C 5.9
   14568 	  lt_prog_compiler_pic_F77='-KPIC'
   14569 	  lt_prog_compiler_static_F77='-Bstatic'
   14570 	  lt_prog_compiler_wl_F77='-Wl,'
   14571 	  ;;
   14572 	*Sun\ F*)
   14573 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   14574 	  lt_prog_compiler_pic_F77='-KPIC'
   14575 	  lt_prog_compiler_static_F77='-Bstatic'
   14576 	  lt_prog_compiler_wl_F77=''
   14577 	  ;;
   14578 	esac
   14579 	;;
   14580       esac
   14581       ;;
   14582 
   14583     osf3* | osf4* | osf5*)
   14584       lt_prog_compiler_wl_F77='-Wl,'
   14585       # All OSF/1 code is PIC.
   14586       lt_prog_compiler_static_F77='-non_shared'
   14587       ;;
   14588 
   14589     rdos*)
   14590       lt_prog_compiler_static_F77='-non_shared'
   14591       ;;
   14592 
   14593     solaris*)
   14594       lt_prog_compiler_pic_F77='-KPIC'
   14595       lt_prog_compiler_static_F77='-Bstatic'
   14596       case $cc_basename in
   14597       f77* | f90* | f95*)
   14598 	lt_prog_compiler_wl_F77='-Qoption ld ';;
   14599       *)
   14600 	lt_prog_compiler_wl_F77='-Wl,';;
   14601       esac
   14602       ;;
   14603 
   14604     sunos4*)
   14605       lt_prog_compiler_wl_F77='-Qoption ld '
   14606       lt_prog_compiler_pic_F77='-PIC'
   14607       lt_prog_compiler_static_F77='-Bstatic'
   14608       ;;
   14609 
   14610     sysv4 | sysv4.2uw2* | sysv4.3*)
   14611       lt_prog_compiler_wl_F77='-Wl,'
   14612       lt_prog_compiler_pic_F77='-KPIC'
   14613       lt_prog_compiler_static_F77='-Bstatic'
   14614       ;;
   14615 
   14616     sysv4*MP*)
   14617       if test -d /usr/nec ;then
   14618 	lt_prog_compiler_pic_F77='-Kconform_pic'
   14619 	lt_prog_compiler_static_F77='-Bstatic'
   14620       fi
   14621       ;;
   14622 
   14623     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   14624       lt_prog_compiler_wl_F77='-Wl,'
   14625       lt_prog_compiler_pic_F77='-KPIC'
   14626       lt_prog_compiler_static_F77='-Bstatic'
   14627       ;;
   14628 
   14629     unicos*)
   14630       lt_prog_compiler_wl_F77='-Wl,'
   14631       lt_prog_compiler_can_build_shared_F77=no
   14632       ;;
   14633 
   14634     uts4*)
   14635       lt_prog_compiler_pic_F77='-pic'
   14636       lt_prog_compiler_static_F77='-Bstatic'
   14637       ;;
   14638 
   14639     *)
   14640       lt_prog_compiler_can_build_shared_F77=no
   14641       ;;
   14642     esac
   14643   fi
   14644 
   14645 { $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
   14646 $as_echo "$lt_prog_compiler_pic_F77" >&6; }
   14647 
   14648 #
   14649 # Check to make sure the PIC flag actually works.
   14650 #
   14651 if test -n "$lt_prog_compiler_pic_F77"; then
   14652 
   14653 { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
   14654 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... " >&6; }
   14655 if test "${lt_cv_prog_compiler_pic_works_F77+set}" = set; then
   14656   $as_echo_n "(cached) " >&6
   14657 else
   14658   lt_cv_prog_compiler_pic_works_F77=no
   14659   ac_outfile=conftest.$ac_objext
   14660    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   14661    lt_compiler_flag="$lt_prog_compiler_pic_F77"
   14662    # Insert the option either (1) after the last *FLAGS variable, or
   14663    # (2) before a word containing "conftest.", or (3) at the end.
   14664    # Note that $ac_compile itself does not contain backslashes and begins
   14665    # with a dollar sign (not a hyphen), so the echo should work correctly.
   14666    # The option is referenced via a variable to avoid confusing sed.
   14667    lt_compile=`echo "$ac_compile" | $SED \
   14668    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   14669    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   14670    -e 's:$: $lt_compiler_flag:'`
   14671    (eval echo "\"\$as_me:14671: $lt_compile\"" >&5)
   14672    (eval "$lt_compile" 2>conftest.err)
   14673    ac_status=$?
   14674    cat conftest.err >&5
   14675    echo "$as_me:14675: \$? = $ac_status" >&5
   14676    if (exit $ac_status) && test -s "$ac_outfile"; then
   14677      # The compiler can only warn and ignore the option if not recognized
   14678      # So say no if there are warnings other than the usual output.
   14679      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   14680      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   14681      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   14682        lt_cv_prog_compiler_pic_works_F77=yes
   14683      fi
   14684    fi
   14685    $rm conftest*
   14686 
   14687 fi
   14688 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_F77" >&5
   14689 $as_echo "$lt_cv_prog_compiler_pic_works_F77" >&6; }
   14690 
   14691 if test x"$lt_cv_prog_compiler_pic_works_F77" = xyes; then
   14692     case $lt_prog_compiler_pic_F77 in
   14693      "" | " "*) ;;
   14694      *) lt_prog_compiler_pic_F77=" $lt_prog_compiler_pic_F77" ;;
   14695      esac
   14696 else
   14697     lt_prog_compiler_pic_F77=
   14698      lt_prog_compiler_can_build_shared_F77=no
   14699 fi
   14700 
   14701 fi
   14702 case $host_os in
   14703   # For platforms which do not support PIC, -DPIC is meaningless:
   14704   *djgpp*)
   14705     lt_prog_compiler_pic_F77=
   14706     ;;
   14707   *)
   14708     lt_prog_compiler_pic_F77="$lt_prog_compiler_pic_F77"
   14709     ;;
   14710 esac
   14711 
   14712 #
   14713 # Check to make sure the static flag actually works.
   14714 #
   14715 wl=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag=\"$lt_prog_compiler_static_F77\"
   14716 { $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   14717 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   14718 if test "${lt_cv_prog_compiler_static_works_F77+set}" = set; then
   14719   $as_echo_n "(cached) " >&6
   14720 else
   14721   lt_cv_prog_compiler_static_works_F77=no
   14722    save_LDFLAGS="$LDFLAGS"
   14723    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   14724    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   14725    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   14726      # The linker can only warn and ignore the option if not recognized
   14727      # So say no if there are warnings
   14728      if test -s conftest.err; then
   14729        # Append any errors to the config.log.
   14730        cat conftest.err 1>&5
   14731        $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
   14732        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   14733        if diff conftest.exp conftest.er2 >/dev/null; then
   14734          lt_cv_prog_compiler_static_works_F77=yes
   14735        fi
   14736      else
   14737        lt_cv_prog_compiler_static_works_F77=yes
   14738      fi
   14739    fi
   14740    $rm -r conftest*
   14741    LDFLAGS="$save_LDFLAGS"
   14742 
   14743 fi
   14744 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_F77" >&5
   14745 $as_echo "$lt_cv_prog_compiler_static_works_F77" >&6; }
   14746 
   14747 if test x"$lt_cv_prog_compiler_static_works_F77" = xyes; then
   14748     :
   14749 else
   14750     lt_prog_compiler_static_F77=
   14751 fi
   14752 
   14753 
   14754 { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
   14755 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   14756 if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
   14757   $as_echo_n "(cached) " >&6
   14758 else
   14759   lt_cv_prog_compiler_c_o_F77=no
   14760    $rm -r conftest 2>/dev/null
   14761    mkdir conftest
   14762    cd conftest
   14763    mkdir out
   14764    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   14765 
   14766    lt_compiler_flag="-o out/conftest2.$ac_objext"
   14767    # Insert the option either (1) after the last *FLAGS variable, or
   14768    # (2) before a word containing "conftest.", or (3) at the end.
   14769    # Note that $ac_compile itself does not contain backslashes and begins
   14770    # with a dollar sign (not a hyphen), so the echo should work correctly.
   14771    lt_compile=`echo "$ac_compile" | $SED \
   14772    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   14773    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   14774    -e 's:$: $lt_compiler_flag:'`
   14775    (eval echo "\"\$as_me:14775: $lt_compile\"" >&5)
   14776    (eval "$lt_compile" 2>out/conftest.err)
   14777    ac_status=$?
   14778    cat out/conftest.err >&5
   14779    echo "$as_me:14779: \$? = $ac_status" >&5
   14780    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   14781    then
   14782      # The compiler can only warn and ignore the option if not recognized
   14783      # So say no if there are warnings
   14784      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
   14785      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   14786      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   14787        lt_cv_prog_compiler_c_o_F77=yes
   14788      fi
   14789    fi
   14790    chmod u+w . 2>&5
   14791    $rm conftest*
   14792    # SGI C++ compiler will create directory out/ii_files/ for
   14793    # template instantiation
   14794    test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
   14795    $rm out/* && rmdir out
   14796    cd ..
   14797    rmdir conftest
   14798    $rm conftest*
   14799 
   14800 fi
   14801 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
   14802 $as_echo "$lt_cv_prog_compiler_c_o_F77" >&6; }
   14803 
   14804 
   14805 hard_links="nottested"
   14806 if test "$lt_cv_prog_compiler_c_o_F77" = no && test "$need_locks" != no; then
   14807   # do not overwrite the value of need_locks provided by the user
   14808   { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
   14809 $as_echo_n "checking if we can lock with hard links... " >&6; }
   14810   hard_links=yes
   14811   $rm conftest*
   14812   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   14813   touch conftest.a
   14814   ln conftest.a conftest.b 2>&5 || hard_links=no
   14815   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   14816   { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
   14817 $as_echo "$hard_links" >&6; }
   14818   if test "$hard_links" = no; then
   14819     { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   14820 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   14821     need_locks=warn
   14822   fi
   14823 else
   14824   need_locks=no
   14825 fi
   14826 
   14827 { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   14828 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   14829 
   14830   runpath_var=
   14831   allow_undefined_flag_F77=
   14832   enable_shared_with_static_runtimes_F77=no
   14833   archive_cmds_F77=
   14834   archive_expsym_cmds_F77=
   14835   old_archive_From_new_cmds_F77=
   14836   old_archive_from_expsyms_cmds_F77=
   14837   export_dynamic_flag_spec_F77=
   14838   whole_archive_flag_spec_F77=
   14839   thread_safe_flag_spec_F77=
   14840   hardcode_libdir_flag_spec_F77=
   14841   hardcode_libdir_flag_spec_ld_F77=
   14842   hardcode_libdir_separator_F77=
   14843   hardcode_direct_F77=no
   14844   hardcode_minus_L_F77=no
   14845   hardcode_shlibpath_var_F77=unsupported
   14846   link_all_deplibs_F77=unknown
   14847   hardcode_automatic_F77=no
   14848   module_cmds_F77=
   14849   module_expsym_cmds_F77=
   14850   always_export_symbols_F77=no
   14851   export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   14852   # include_expsyms should be a list of space-separated symbols to be *always*
   14853   # included in the symbol list
   14854   include_expsyms_F77=
   14855   # exclude_expsyms can be an extended regexp of symbols to exclude
   14856   # it will be wrapped by ` (' and `)$', so one must not match beginning or
   14857   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
   14858   # as well as any symbol that contains `d'.
   14859   exclude_expsyms_F77='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   14860   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   14861   # platforms (ab)use it in PIC code, but their linkers get confused if
   14862   # the symbol is explicitly referenced.  Since portable code cannot
   14863   # rely on this symbol name, it's probably fine to never include it in
   14864   # preloaded symbol tables.
   14865   # Exclude shared library initialization/finalization symbols.
   14866   extract_expsyms_cmds=
   14867   # Just being paranoid about ensuring that cc_basename is set.
   14868   for cc_temp in $compiler""; do
   14869   case $cc_temp in
   14870     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   14871     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   14872     \-*) ;;
   14873     *) break;;
   14874   esac
   14875 done
   14876 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   14877 
   14878   case $host_os in
   14879   cygwin* | mingw* | pw32*)
   14880     # FIXME: the MSVC++ port hasn't been tested in a loooong time
   14881     # When not using gcc, we currently assume that we are using
   14882     # Microsoft Visual C++.
   14883     if test "$GCC" != yes; then
   14884       with_gnu_ld=no
   14885     fi
   14886     ;;
   14887   interix*)
   14888     # we just hope/assume this is gcc and not c89 (= MSVC++)
   14889     with_gnu_ld=yes
   14890     ;;
   14891   openbsd*)
   14892     with_gnu_ld=no
   14893     ;;
   14894   esac
   14895 
   14896   ld_shlibs_F77=yes
   14897   if test "$with_gnu_ld" = yes; then
   14898     # If archive_cmds runs LD, not CC, wlarc should be empty
   14899     wlarc='${wl}'
   14900 
   14901     # Set some defaults for GNU ld with shared library support. These
   14902     # are reset later if shared libraries are not supported. Putting them
   14903     # here allows them to be overridden if necessary.
   14904     runpath_var=LD_RUN_PATH
   14905     hardcode_libdir_flag_spec_F77='${wl}--rpath ${wl}$libdir'
   14906     export_dynamic_flag_spec_F77='${wl}--export-dynamic'
   14907     # ancient GNU ld didn't support --whole-archive et. al.
   14908     if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
   14909 	whole_archive_flag_spec_F77="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   14910       else
   14911   	whole_archive_flag_spec_F77=
   14912     fi
   14913     supports_anon_versioning=no
   14914     case `$LD -v 2>/dev/null` in
   14915       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   14916       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   14917       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   14918       *\ 2.11.*) ;; # other 2.11 versions
   14919       *) supports_anon_versioning=yes ;;
   14920     esac
   14921 
   14922     # See if GNU ld supports shared libraries.
   14923     case $host_os in
   14924     aix[3-9]*)
   14925       # On AIX/PPC, the GNU linker is very broken
   14926       if test "$host_cpu" != ia64; then
   14927 	ld_shlibs_F77=no
   14928 	cat <<EOF 1>&2
   14929 
   14930 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
   14931 *** to be unable to reliably create shared libraries on AIX.
   14932 *** Therefore, libtool is disabling shared libraries support.  If you
   14933 *** really care for shared libraries, you may want to modify your PATH
   14934 *** so that a non-GNU linker is found, and then restart.
   14935 
   14936 EOF
   14937       fi
   14938       ;;
   14939 
   14940     amigaos*)
   14941       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)'
   14942       hardcode_libdir_flag_spec_F77='-L$libdir'
   14943       hardcode_minus_L_F77=yes
   14944 
   14945       # Samuel A. Falvo II <kc5tja (at] dolphin.openprojects.net> reports
   14946       # that the semantics of dynamic libraries on AmigaOS, at least up
   14947       # to version 4, is to share data among multiple programs linked
   14948       # with the same dynamic library.  Since this doesn't match the
   14949       # behavior of shared libraries on other platforms, we can't use
   14950       # them.
   14951       ld_shlibs_F77=no
   14952       ;;
   14953 
   14954     beos*)
   14955       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   14956 	allow_undefined_flag_F77=unsupported
   14957 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   14958 	# support --undefined.  This deserves some investigation.  FIXME
   14959 	archive_cmds_F77='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   14960       else
   14961 	ld_shlibs_F77=no
   14962       fi
   14963       ;;
   14964 
   14965     cygwin* | mingw* | pw32*)
   14966       # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
   14967       # as there is no search path for DLLs.
   14968       hardcode_libdir_flag_spec_F77='-L$libdir'
   14969       allow_undefined_flag_F77=unsupported
   14970       always_export_symbols_F77=no
   14971       enable_shared_with_static_runtimes_F77=yes
   14972       export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
   14973 
   14974       if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
   14975         archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   14976 	# If the export-symbols file already is a .def file (1st line
   14977 	# is EXPORTS), use it as is; otherwise, prepend...
   14978 	archive_expsym_cmds_F77='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   14979 	  cp $export_symbols $output_objdir/$soname.def;
   14980 	else
   14981 	  echo EXPORTS > $output_objdir/$soname.def;
   14982 	  cat $export_symbols >> $output_objdir/$soname.def;
   14983 	fi~
   14984 	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   14985       else
   14986 	ld_shlibs_F77=no
   14987       fi
   14988       ;;
   14989 
   14990     interix[3-9]*)
   14991       hardcode_direct_F77=no
   14992       hardcode_shlibpath_var_F77=no
   14993       hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
   14994       export_dynamic_flag_spec_F77='${wl}-E'
   14995       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   14996       # Instead, shared libraries are loaded at an image base (0x10000000 by
   14997       # default) and relocated if they conflict, which is a slow very memory
   14998       # consuming and fragmenting process.  To avoid this, we pick a random,
   14999       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   15000       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   15001       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'
   15002       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'
   15003       ;;
   15004 
   15005     gnu* | linux* | k*bsd*-gnu)
   15006       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   15007 	tmp_addflag=
   15008 	case $cc_basename,$host_cpu in
   15009 	pgcc*)				# Portland Group C compiler
   15010 	  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'
   15011 	  tmp_addflag=' $pic_flag'
   15012 	  ;;
   15013 	pgf77* | pgf90* | pgf95*)	# Portland Group f77 and f90 compilers
   15014 	  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'
   15015 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   15016 	ecc*,ia64* | icc*,ia64*)		# Intel C compiler on ia64
   15017 	  tmp_addflag=' -i_dynamic' ;;
   15018 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   15019 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   15020 	ifc* | ifort*)			# Intel Fortran compiler
   15021 	  tmp_addflag=' -nofor_main' ;;
   15022 	esac
   15023 	case `$CC -V 2>&1 | sed 5q` in
   15024 	*Sun\ C*)			# Sun C 5.9
   15025 	  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'
   15026 	  tmp_sharedflag='-G' ;;
   15027 	*Sun\ F*)			# Sun Fortran 8.3
   15028 	  tmp_sharedflag='-G' ;;
   15029 	*)
   15030 	  tmp_sharedflag='-shared' ;;
   15031 	esac
   15032 	archive_cmds_F77='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   15033 
   15034 	if test $supports_anon_versioning = yes; then
   15035 	  archive_expsym_cmds_F77='$echo "{ global:" > $output_objdir/$libname.ver~
   15036   cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   15037   $echo "local: *; };" >> $output_objdir/$libname.ver~
   15038 	  $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
   15039 	fi
   15040       else
   15041 	ld_shlibs_F77=no
   15042       fi
   15043       ;;
   15044 
   15045     netbsd*)
   15046       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   15047 	archive_cmds_F77='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   15048 	wlarc=
   15049       else
   15050 	archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   15051 	archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   15052       fi
   15053       ;;
   15054 
   15055     solaris*)
   15056       if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
   15057 	ld_shlibs_F77=no
   15058 	cat <<EOF 1>&2
   15059 
   15060 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   15061 *** create shared libraries on Solaris systems.  Therefore, libtool
   15062 *** is disabling shared libraries support.  We urge you to upgrade GNU
   15063 *** binutils to release 2.9.1 or newer.  Another option is to modify
   15064 *** your PATH or compiler configuration so that the native linker is
   15065 *** used, and then restart.
   15066 
   15067 EOF
   15068       elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   15069 	archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   15070 	archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   15071       else
   15072 	ld_shlibs_F77=no
   15073       fi
   15074       ;;
   15075 
   15076     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   15077       case `$LD -v 2>&1` in
   15078         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   15079 	ld_shlibs_F77=no
   15080 	cat <<_LT_EOF 1>&2
   15081 
   15082 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
   15083 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   15084 *** is disabling shared libraries support.  We urge you to upgrade GNU
   15085 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   15086 *** your PATH or compiler configuration so that the native linker is
   15087 *** used, and then restart.
   15088 
   15089 _LT_EOF
   15090 	;;
   15091 	*)
   15092 	  if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   15093 	    hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
   15094 	    archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
   15095 	    archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
   15096 	  else
   15097 	    ld_shlibs_F77=no
   15098 	  fi
   15099 	;;
   15100       esac
   15101       ;;
   15102 
   15103     sunos4*)
   15104       archive_cmds_F77='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   15105       wlarc=
   15106       hardcode_direct_F77=yes
   15107       hardcode_shlibpath_var_F77=no
   15108       ;;
   15109 
   15110     *)
   15111       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   15112 	archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   15113 	archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   15114       else
   15115 	ld_shlibs_F77=no
   15116       fi
   15117       ;;
   15118     esac
   15119 
   15120     if test "$ld_shlibs_F77" = no; then
   15121       runpath_var=
   15122       hardcode_libdir_flag_spec_F77=
   15123       export_dynamic_flag_spec_F77=
   15124       whole_archive_flag_spec_F77=
   15125     fi
   15126   else
   15127     # PORTME fill in a description of your system's linker (not GNU ld)
   15128     case $host_os in
   15129     aix3*)
   15130       allow_undefined_flag_F77=unsupported
   15131       always_export_symbols_F77=yes
   15132       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'
   15133       # Note: this linker hardcodes the directories in LIBPATH if there
   15134       # are no directories specified by -L.
   15135       hardcode_minus_L_F77=yes
   15136       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
   15137 	# Neither direct hardcoding nor static linking is supported with a
   15138 	# broken collect2.
   15139 	hardcode_direct_F77=unsupported
   15140       fi
   15141       ;;
   15142 
   15143     aix[4-9]*)
   15144       if test "$host_cpu" = ia64; then
   15145 	# On IA64, the linker does run time linking by default, so we don't
   15146 	# have to do anything special.
   15147 	aix_use_runtimelinking=no
   15148 	exp_sym_flag='-Bexport'
   15149 	no_entry_flag=""
   15150       else
   15151 	# If we're using GNU nm, then we don't want the "-C" option.
   15152 	# -C means demangle to AIX nm, but means don't demangle with GNU nm
   15153 	if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
   15154 	  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'
   15155 	else
   15156 	  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'
   15157 	fi
   15158 	aix_use_runtimelinking=no
   15159 
   15160 	# Test if we are trying to use run time linking or normal
   15161 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   15162 	# need to do runtime linking.
   15163 	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   15164 	  for ld_flag in $LDFLAGS; do
   15165   	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
   15166   	    aix_use_runtimelinking=yes
   15167   	    break
   15168   	  fi
   15169 	  done
   15170 	  ;;
   15171 	esac
   15172 
   15173 	exp_sym_flag='-bexport'
   15174 	no_entry_flag='-bnoentry'
   15175       fi
   15176 
   15177       # When large executables or shared objects are built, AIX ld can
   15178       # have problems creating the table of contents.  If linking a library
   15179       # or program results in "error TOC overflow" add -mminimal-toc to
   15180       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   15181       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   15182 
   15183       archive_cmds_F77=''
   15184       hardcode_direct_F77=yes
   15185       hardcode_libdir_separator_F77=':'
   15186       link_all_deplibs_F77=yes
   15187 
   15188       if test "$GCC" = yes; then
   15189 	case $host_os in aix4.[012]|aix4.[012].*)
   15190 	# We only want to do this on AIX 4.2 and lower, the check
   15191 	# below for broken collect2 doesn't work under 4.3+
   15192 	  collect2name=`${CC} -print-prog-name=collect2`
   15193 	  if test -f "$collect2name" && \
   15194   	   strings "$collect2name" | grep resolve_lib_name >/dev/null
   15195 	  then
   15196   	  # We have reworked collect2
   15197   	  :
   15198 	  else
   15199   	  # We have old collect2
   15200   	  hardcode_direct_F77=unsupported
   15201   	  # It fails to find uninstalled libraries when the uninstalled
   15202   	  # path is not listed in the libpath.  Setting hardcode_minus_L
   15203   	  # to unsupported forces relinking
   15204   	  hardcode_minus_L_F77=yes
   15205   	  hardcode_libdir_flag_spec_F77='-L$libdir'
   15206   	  hardcode_libdir_separator_F77=
   15207 	  fi
   15208 	  ;;
   15209 	esac
   15210 	shared_flag='-shared'
   15211 	if test "$aix_use_runtimelinking" = yes; then
   15212 	  shared_flag="$shared_flag "'${wl}-G'
   15213 	fi
   15214       else
   15215 	# not using gcc
   15216 	if test "$host_cpu" = ia64; then
   15217   	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   15218   	# chokes on -Wl,-G. The following line is correct:
   15219 	  shared_flag='-G'
   15220 	else
   15221 	  if test "$aix_use_runtimelinking" = yes; then
   15222 	    shared_flag='${wl}-G'
   15223 	  else
   15224 	    shared_flag='${wl}-bM:SRE'
   15225 	  fi
   15226 	fi
   15227       fi
   15228 
   15229       # It seems that -bexpall does not export symbols beginning with
   15230       # underscore (_), so it is better to generate a list of symbols to export.
   15231       always_export_symbols_F77=yes
   15232       if test "$aix_use_runtimelinking" = yes; then
   15233 	# Warning - without using the other runtime loading flags (-brtl),
   15234 	# -berok will link without error, but may produce a broken library.
   15235 	allow_undefined_flag_F77='-berok'
   15236        # Determine the default libpath from the value encoded in an empty executable.
   15237        cat >conftest.$ac_ext <<_ACEOF
   15238       program main
   15239 
   15240       end
   15241 _ACEOF
   15242 rm -f conftest.$ac_objext conftest$ac_exeext
   15243 if { (ac_try="$ac_link"
   15244 case "(($ac_try" in
   15245   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   15246   *) ac_try_echo=$ac_try;;
   15247 esac
   15248 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   15249 $as_echo "$ac_try_echo") >&5
   15250   (eval "$ac_link") 2>conftest.er1
   15251   ac_status=$?
   15252   grep -v '^ *+' conftest.er1 >conftest.err
   15253   rm -f conftest.er1
   15254   cat conftest.err >&5
   15255   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   15256   (exit $ac_status); } && {
   15257 	 test -z "$ac_f77_werror_flag" ||
   15258 	 test ! -s conftest.err
   15259        } && test -s conftest$ac_exeext && {
   15260 	 test "$cross_compiling" = yes ||
   15261 	 $as_test_x conftest$ac_exeext
   15262        }; then
   15263 
   15264 lt_aix_libpath_sed='
   15265     /Import File Strings/,/^$/ {
   15266 	/^0/ {
   15267 	    s/^0  *\(.*\)$/\1/
   15268 	    p
   15269 	}
   15270     }'
   15271 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   15272 # Check for a 64-bit object if we didn't find anything.
   15273 if test -z "$aix_libpath"; then
   15274   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   15275 fi
   15276 else
   15277   $as_echo "$as_me: failed program was:" >&5
   15278 sed 's/^/| /' conftest.$ac_ext >&5
   15279 
   15280 
   15281 fi
   15282 
   15283 rm -rf conftest.dSYM
   15284 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   15285       conftest$ac_exeext conftest.$ac_ext
   15286 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   15287 
   15288        hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
   15289 	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"
   15290        else
   15291 	if test "$host_cpu" = ia64; then
   15292 	  hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib'
   15293 	  allow_undefined_flag_F77="-z nodefs"
   15294 	  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"
   15295 	else
   15296 	 # Determine the default libpath from the value encoded in an empty executable.
   15297 	 cat >conftest.$ac_ext <<_ACEOF
   15298       program main
   15299 
   15300       end
   15301 _ACEOF
   15302 rm -f conftest.$ac_objext conftest$ac_exeext
   15303 if { (ac_try="$ac_link"
   15304 case "(($ac_try" in
   15305   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   15306   *) ac_try_echo=$ac_try;;
   15307 esac
   15308 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   15309 $as_echo "$ac_try_echo") >&5
   15310   (eval "$ac_link") 2>conftest.er1
   15311   ac_status=$?
   15312   grep -v '^ *+' conftest.er1 >conftest.err
   15313   rm -f conftest.er1
   15314   cat conftest.err >&5
   15315   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   15316   (exit $ac_status); } && {
   15317 	 test -z "$ac_f77_werror_flag" ||
   15318 	 test ! -s conftest.err
   15319        } && test -s conftest$ac_exeext && {
   15320 	 test "$cross_compiling" = yes ||
   15321 	 $as_test_x conftest$ac_exeext
   15322        }; then
   15323 
   15324 lt_aix_libpath_sed='
   15325     /Import File Strings/,/^$/ {
   15326 	/^0/ {
   15327 	    s/^0  *\(.*\)$/\1/
   15328 	    p
   15329 	}
   15330     }'
   15331 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   15332 # Check for a 64-bit object if we didn't find anything.
   15333 if test -z "$aix_libpath"; then
   15334   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   15335 fi
   15336 else
   15337   $as_echo "$as_me: failed program was:" >&5
   15338 sed 's/^/| /' conftest.$ac_ext >&5
   15339 
   15340 
   15341 fi
   15342 
   15343 rm -rf conftest.dSYM
   15344 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   15345       conftest$ac_exeext conftest.$ac_ext
   15346 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   15347 
   15348 	 hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
   15349 	  # Warning - without using the other run time loading flags,
   15350 	  # -berok will link without error, but may produce a broken library.
   15351 	  no_undefined_flag_F77=' ${wl}-bernotok'
   15352 	  allow_undefined_flag_F77=' ${wl}-berok'
   15353 	  # Exported symbols can be pulled into shared objects from archives
   15354 	  whole_archive_flag_spec_F77='$convenience'
   15355 	  archive_cmds_need_lc_F77=yes
   15356 	  # This is similar to how AIX traditionally builds its shared libraries.
   15357 	  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'
   15358 	fi
   15359       fi
   15360       ;;
   15361 
   15362     amigaos*)
   15363       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)'
   15364       hardcode_libdir_flag_spec_F77='-L$libdir'
   15365       hardcode_minus_L_F77=yes
   15366       # see comment about different semantics on the GNU ld section
   15367       ld_shlibs_F77=no
   15368       ;;
   15369 
   15370     bsdi[45]*)
   15371       export_dynamic_flag_spec_F77=-rdynamic
   15372       ;;
   15373 
   15374     cygwin* | mingw* | pw32*)
   15375       # When not using gcc, we currently assume that we are using
   15376       # Microsoft Visual C++.
   15377       # hardcode_libdir_flag_spec is actually meaningless, as there is
   15378       # no search path for DLLs.
   15379       hardcode_libdir_flag_spec_F77=' '
   15380       allow_undefined_flag_F77=unsupported
   15381       # Tell ltmain to make .lib files, not .a files.
   15382       libext=lib
   15383       # Tell ltmain to make .dll files, not .so files.
   15384       shrext_cmds=".dll"
   15385       # FIXME: Setting linknames here is a bad hack.
   15386       archive_cmds_F77='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
   15387       # The linker will automatically build a .lib file if we build a DLL.
   15388       old_archive_From_new_cmds_F77='true'
   15389       # FIXME: Should let the user specify the lib program.
   15390       old_archive_cmds_F77='lib -OUT:$oldlib$oldobjs$old_deplibs'
   15391       fix_srcfile_path_F77='`cygpath -w "$srcfile"`'
   15392       enable_shared_with_static_runtimes_F77=yes
   15393       ;;
   15394 
   15395     darwin* | rhapsody*)
   15396       case $host_os in
   15397         rhapsody* | darwin1.[012])
   15398          allow_undefined_flag_F77='${wl}-undefined ${wl}suppress'
   15399          ;;
   15400        *) # Darwin 1.3 on
   15401          if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
   15402            allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   15403          else
   15404            case ${MACOSX_DEPLOYMENT_TARGET} in
   15405              10.[012])
   15406                allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   15407                ;;
   15408              10.*)
   15409                allow_undefined_flag_F77='${wl}-undefined ${wl}dynamic_lookup'
   15410                ;;
   15411            esac
   15412          fi
   15413          ;;
   15414       esac
   15415       archive_cmds_need_lc_F77=no
   15416       hardcode_direct_F77=no
   15417       hardcode_automatic_F77=yes
   15418       hardcode_shlibpath_var_F77=unsupported
   15419       whole_archive_flag_spec_F77=''
   15420       link_all_deplibs_F77=yes
   15421     if test "$GCC" = yes ; then
   15422     	output_verbose_link_cmd='echo'
   15423         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}"
   15424         module_cmds_F77="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
   15425         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}"
   15426         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}"
   15427     else
   15428       case $cc_basename in
   15429         xlc*)
   15430          output_verbose_link_cmd='echo'
   15431          archive_cmds_F77='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
   15432          module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
   15433           # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
   15434          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}'
   15435           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}'
   15436           ;;
   15437        *)
   15438          ld_shlibs_F77=no
   15439           ;;
   15440       esac
   15441     fi
   15442       ;;
   15443 
   15444     dgux*)
   15445       archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15446       hardcode_libdir_flag_spec_F77='-L$libdir'
   15447       hardcode_shlibpath_var_F77=no
   15448       ;;
   15449 
   15450     freebsd1*)
   15451       ld_shlibs_F77=no
   15452       ;;
   15453 
   15454     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   15455     # support.  Future versions do this automatically, but an explicit c++rt0.o
   15456     # does not break anything, and helps significantly (at the cost of a little
   15457     # extra space).
   15458     freebsd2.2*)
   15459       archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   15460       hardcode_libdir_flag_spec_F77='-R$libdir'
   15461       hardcode_direct_F77=yes
   15462       hardcode_shlibpath_var_F77=no
   15463       ;;
   15464 
   15465     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   15466     freebsd2*)
   15467       archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   15468       hardcode_direct_F77=yes
   15469       hardcode_minus_L_F77=yes
   15470       hardcode_shlibpath_var_F77=no
   15471       ;;
   15472 
   15473     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   15474     freebsd* | dragonfly*)
   15475       archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
   15476       hardcode_libdir_flag_spec_F77='-R$libdir'
   15477       hardcode_direct_F77=yes
   15478       hardcode_shlibpath_var_F77=no
   15479       ;;
   15480 
   15481     hpux9*)
   15482       if test "$GCC" = yes; then
   15483 	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'
   15484       else
   15485 	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'
   15486       fi
   15487       hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
   15488       hardcode_libdir_separator_F77=:
   15489       hardcode_direct_F77=yes
   15490 
   15491       # hardcode_minus_L: Not really in the search PATH,
   15492       # but as the default location of the library.
   15493       hardcode_minus_L_F77=yes
   15494       export_dynamic_flag_spec_F77='${wl}-E'
   15495       ;;
   15496 
   15497     hpux10*)
   15498       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   15499 	archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   15500       else
   15501 	archive_cmds_F77='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   15502       fi
   15503       if test "$with_gnu_ld" = no; then
   15504 	hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
   15505 	hardcode_libdir_separator_F77=:
   15506 
   15507 	hardcode_direct_F77=yes
   15508 	export_dynamic_flag_spec_F77='${wl}-E'
   15509 
   15510 	# hardcode_minus_L: Not really in the search PATH,
   15511 	# but as the default location of the library.
   15512 	hardcode_minus_L_F77=yes
   15513       fi
   15514       ;;
   15515 
   15516     hpux11*)
   15517       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   15518 	case $host_cpu in
   15519 	hppa*64*)
   15520 	  archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   15521 	  ;;
   15522 	ia64*)
   15523 	  archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   15524 	  ;;
   15525 	*)
   15526 	  archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   15527 	  ;;
   15528 	esac
   15529       else
   15530 	case $host_cpu in
   15531 	hppa*64*)
   15532 	  archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   15533 	  ;;
   15534 	ia64*)
   15535 	  archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   15536 	  ;;
   15537 	*)
   15538 	  archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   15539 	  ;;
   15540 	esac
   15541       fi
   15542       if test "$with_gnu_ld" = no; then
   15543 	hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
   15544 	hardcode_libdir_separator_F77=:
   15545 
   15546 	case $host_cpu in
   15547 	hppa*64*|ia64*)
   15548 	  hardcode_libdir_flag_spec_ld_F77='+b $libdir'
   15549 	  hardcode_direct_F77=no
   15550 	  hardcode_shlibpath_var_F77=no
   15551 	  ;;
   15552 	*)
   15553 	  hardcode_direct_F77=yes
   15554 	  export_dynamic_flag_spec_F77='${wl}-E'
   15555 
   15556 	  # hardcode_minus_L: Not really in the search PATH,
   15557 	  # but as the default location of the library.
   15558 	  hardcode_minus_L_F77=yes
   15559 	  ;;
   15560 	esac
   15561       fi
   15562       ;;
   15563 
   15564     irix5* | irix6* | nonstopux*)
   15565       if test "$GCC" = yes; then
   15566 	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'
   15567       else
   15568 	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'
   15569 	hardcode_libdir_flag_spec_ld_F77='-rpath $libdir'
   15570       fi
   15571       hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
   15572       hardcode_libdir_separator_F77=:
   15573       link_all_deplibs_F77=yes
   15574       ;;
   15575 
   15576     netbsd*)
   15577       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   15578 	archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   15579       else
   15580 	archive_cmds_F77='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   15581       fi
   15582       hardcode_libdir_flag_spec_F77='-R$libdir'
   15583       hardcode_direct_F77=yes
   15584       hardcode_shlibpath_var_F77=no
   15585       ;;
   15586 
   15587     newsos6)
   15588       archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15589       hardcode_direct_F77=yes
   15590       hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
   15591       hardcode_libdir_separator_F77=:
   15592       hardcode_shlibpath_var_F77=no
   15593       ;;
   15594 
   15595     openbsd*)
   15596       if test -f /usr/libexec/ld.so; then
   15597 	hardcode_direct_F77=yes
   15598 	hardcode_shlibpath_var_F77=no
   15599 	if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   15600 	  archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   15601 	  archive_expsym_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
   15602 	  hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
   15603 	  export_dynamic_flag_spec_F77='${wl}-E'
   15604 	else
   15605 	  case $host_os in
   15606 	   openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
   15607 	     archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   15608 	     hardcode_libdir_flag_spec_F77='-R$libdir'
   15609 	     ;;
   15610 	   *)
   15611 	     archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   15612 	     hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
   15613 	     ;;
   15614 	  esac
   15615         fi
   15616       else
   15617 	ld_shlibs_F77=no
   15618       fi
   15619       ;;
   15620 
   15621     os2*)
   15622       hardcode_libdir_flag_spec_F77='-L$libdir'
   15623       hardcode_minus_L_F77=yes
   15624       allow_undefined_flag_F77=unsupported
   15625       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'
   15626       old_archive_From_new_cmds_F77='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
   15627       ;;
   15628 
   15629     osf3*)
   15630       if test "$GCC" = yes; then
   15631 	allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
   15632 	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'
   15633       else
   15634 	allow_undefined_flag_F77=' -expect_unresolved \*'
   15635 	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'
   15636       fi
   15637       hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
   15638       hardcode_libdir_separator_F77=:
   15639       ;;
   15640 
   15641     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   15642       if test "$GCC" = yes; then
   15643 	allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
   15644 	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'
   15645 	hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
   15646       else
   15647 	allow_undefined_flag_F77=' -expect_unresolved \*'
   15648 	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'
   15649 	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~
   15650 	$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'
   15651 
   15652 	# Both c and cxx compiler support -rpath directly
   15653 	hardcode_libdir_flag_spec_F77='-rpath $libdir'
   15654       fi
   15655       hardcode_libdir_separator_F77=:
   15656       ;;
   15657 
   15658     solaris*)
   15659       no_undefined_flag_F77=' -z text'
   15660       if test "$GCC" = yes; then
   15661 	wlarc='${wl}'
   15662 	archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   15663 	archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   15664 	  $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
   15665       else
   15666 	wlarc=''
   15667 	archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15668 	archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   15669   	$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
   15670       fi
   15671       hardcode_libdir_flag_spec_F77='-R$libdir'
   15672       hardcode_shlibpath_var_F77=no
   15673       case $host_os in
   15674       solaris2.[0-5] | solaris2.[0-5].*) ;;
   15675       *)
   15676 	# The compiler driver will combine and reorder linker options,
   15677 	# but understands `-z linker_flag'.  GCC discards it without `$wl',
   15678 	# but is careful enough not to reorder.
   15679  	# Supported since Solaris 2.6 (maybe 2.5.1?)
   15680 	if test "$GCC" = yes; then
   15681 	  whole_archive_flag_spec_F77='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
   15682 	else
   15683 	  whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract'
   15684 	fi
   15685 	;;
   15686       esac
   15687       link_all_deplibs_F77=yes
   15688       ;;
   15689 
   15690     sunos4*)
   15691       if test "x$host_vendor" = xsequent; then
   15692 	# Use $CC to link under sequent, because it throws in some extra .o
   15693 	# files that make .init and .fini sections work.
   15694 	archive_cmds_F77='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   15695       else
   15696 	archive_cmds_F77='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   15697       fi
   15698       hardcode_libdir_flag_spec_F77='-L$libdir'
   15699       hardcode_direct_F77=yes
   15700       hardcode_minus_L_F77=yes
   15701       hardcode_shlibpath_var_F77=no
   15702       ;;
   15703 
   15704     sysv4)
   15705       case $host_vendor in
   15706 	sni)
   15707 	  archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15708 	  hardcode_direct_F77=yes # is this really true???
   15709 	;;
   15710 	siemens)
   15711 	  ## LD is ld it makes a PLAMLIB
   15712 	  ## CC just makes a GrossModule.
   15713 	  archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   15714 	  reload_cmds_F77='$CC -r -o $output$reload_objs'
   15715 	  hardcode_direct_F77=no
   15716         ;;
   15717 	motorola)
   15718 	  archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15719 	  hardcode_direct_F77=no #Motorola manual says yes, but my tests say they lie
   15720 	;;
   15721       esac
   15722       runpath_var='LD_RUN_PATH'
   15723       hardcode_shlibpath_var_F77=no
   15724       ;;
   15725 
   15726     sysv4.3*)
   15727       archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15728       hardcode_shlibpath_var_F77=no
   15729       export_dynamic_flag_spec_F77='-Bexport'
   15730       ;;
   15731 
   15732     sysv4*MP*)
   15733       if test -d /usr/nec; then
   15734 	archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15735 	hardcode_shlibpath_var_F77=no
   15736 	runpath_var=LD_RUN_PATH
   15737 	hardcode_runpath_var=yes
   15738 	ld_shlibs_F77=yes
   15739       fi
   15740       ;;
   15741 
   15742     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   15743       no_undefined_flag_F77='${wl}-z,text'
   15744       archive_cmds_need_lc_F77=no
   15745       hardcode_shlibpath_var_F77=no
   15746       runpath_var='LD_RUN_PATH'
   15747 
   15748       if test "$GCC" = yes; then
   15749 	archive_cmds_F77='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   15750 	archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   15751       else
   15752 	archive_cmds_F77='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   15753 	archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   15754       fi
   15755       ;;
   15756 
   15757     sysv5* | sco3.2v5* | sco5v6*)
   15758       # Note: We can NOT use -z defs as we might desire, because we do not
   15759       # link with -lc, and that would cause any symbols used from libc to
   15760       # always be unresolved, which means just about no library would
   15761       # ever link correctly.  If we're not using GNU ld we use -z text
   15762       # though, which does catch some bad symbols but isn't as heavy-handed
   15763       # as -z defs.
   15764       no_undefined_flag_F77='${wl}-z,text'
   15765       allow_undefined_flag_F77='${wl}-z,nodefs'
   15766       archive_cmds_need_lc_F77=no
   15767       hardcode_shlibpath_var_F77=no
   15768       hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
   15769       hardcode_libdir_separator_F77=':'
   15770       link_all_deplibs_F77=yes
   15771       export_dynamic_flag_spec_F77='${wl}-Bexport'
   15772       runpath_var='LD_RUN_PATH'
   15773 
   15774       if test "$GCC" = yes; then
   15775 	archive_cmds_F77='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   15776 	archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   15777       else
   15778 	archive_cmds_F77='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   15779 	archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   15780       fi
   15781       ;;
   15782 
   15783     uts4*)
   15784       archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15785       hardcode_libdir_flag_spec_F77='-L$libdir'
   15786       hardcode_shlibpath_var_F77=no
   15787       ;;
   15788 
   15789     *)
   15790       ld_shlibs_F77=no
   15791       ;;
   15792     esac
   15793   fi
   15794 
   15795 { $as_echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
   15796 $as_echo "$ld_shlibs_F77" >&6; }
   15797 test "$ld_shlibs_F77" = no && can_build_shared=no
   15798 
   15799 #
   15800 # Do we need to explicitly link libc?
   15801 #
   15802 case "x$archive_cmds_need_lc_F77" in
   15803 x|xyes)
   15804   # Assume -lc should be added
   15805   archive_cmds_need_lc_F77=yes
   15806 
   15807   if test "$enable_shared" = yes && test "$GCC" = yes; then
   15808     case $archive_cmds_F77 in
   15809     *'~'*)
   15810       # FIXME: we may have to deal with multi-command sequences.
   15811       ;;
   15812     '$CC '*)
   15813       # Test whether the compiler implicitly links with -lc since on some
   15814       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   15815       # to ld, don't add -lc before -lgcc.
   15816       { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
   15817 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
   15818       $rm conftest*
   15819       echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   15820 
   15821       if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   15822   (eval $ac_compile) 2>&5
   15823   ac_status=$?
   15824   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   15825   (exit $ac_status); } 2>conftest.err; then
   15826         soname=conftest
   15827         lib=conftest
   15828         libobjs=conftest.$ac_objext
   15829         deplibs=
   15830         wl=$lt_prog_compiler_wl_F77
   15831 	pic_flag=$lt_prog_compiler_pic_F77
   15832         compiler_flags=-v
   15833         linker_flags=-v
   15834         verstring=
   15835         output_objdir=.
   15836         libname=conftest
   15837         lt_save_allow_undefined_flag=$allow_undefined_flag_F77
   15838         allow_undefined_flag_F77=
   15839         if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
   15840   (eval $archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
   15841   ac_status=$?
   15842   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   15843   (exit $ac_status); }
   15844         then
   15845 	  archive_cmds_need_lc_F77=no
   15846         else
   15847 	  archive_cmds_need_lc_F77=yes
   15848         fi
   15849         allow_undefined_flag_F77=$lt_save_allow_undefined_flag
   15850       else
   15851         cat conftest.err 1>&5
   15852       fi
   15853       $rm conftest*
   15854       { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
   15855 $as_echo "$archive_cmds_need_lc_F77" >&6; }
   15856       ;;
   15857     esac
   15858   fi
   15859   ;;
   15860 esac
   15861 
   15862 { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
   15863 $as_echo_n "checking dynamic linker characteristics... " >&6; }
   15864 library_names_spec=
   15865 libname_spec='lib$name'
   15866 soname_spec=
   15867 shrext_cmds=".so"
   15868 postinstall_cmds=
   15869 postuninstall_cmds=
   15870 finish_cmds=
   15871 finish_eval=
   15872 shlibpath_var=
   15873 shlibpath_overrides_runpath=unknown
   15874 version_type=none
   15875 dynamic_linker="$host_os ld.so"
   15876 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   15877 
   15878 need_lib_prefix=unknown
   15879 hardcode_into_libs=no
   15880 
   15881 # when you set need_version to no, make sure it does not cause -set_version
   15882 # flags to be left without arguments
   15883 need_version=unknown
   15884 
   15885 case $host_os in
   15886 aix3*)
   15887   version_type=linux
   15888   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   15889   shlibpath_var=LIBPATH
   15890 
   15891   # AIX 3 has no versioning support, so we append a major version to the name.
   15892   soname_spec='${libname}${release}${shared_ext}$major'
   15893   ;;
   15894 
   15895 aix[4-9]*)
   15896   version_type=linux
   15897   need_lib_prefix=no
   15898   need_version=no
   15899   hardcode_into_libs=yes
   15900   if test "$host_cpu" = ia64; then
   15901     # AIX 5 supports IA64
   15902     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
   15903     shlibpath_var=LD_LIBRARY_PATH
   15904   else
   15905     # With GCC up to 2.95.x, collect2 would create an import file
   15906     # for dependence libraries.  The import file would start with
   15907     # the line `#! .'.  This would cause the generated library to
   15908     # depend on `.', always an invalid library.  This was fixed in
   15909     # development snapshots of GCC prior to 3.0.
   15910     case $host_os in
   15911       aix4 | aix4.[01] | aix4.[01].*)
   15912       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   15913 	   echo ' yes '
   15914 	   echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
   15915 	:
   15916       else
   15917 	can_build_shared=no
   15918       fi
   15919       ;;
   15920     esac
   15921     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
   15922     # soname into executable. Probably we can add versioning support to
   15923     # collect2, so additional links can be useful in future.
   15924     if test "$aix_use_runtimelinking" = yes; then
   15925       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   15926       # instead of lib<name>.a to let people know that these are not
   15927       # typical AIX shared libraries.
   15928       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15929     else
   15930       # We preserve .a as extension for shared libraries through AIX4.2
   15931       # and later when we are not doing run time linking.
   15932       library_names_spec='${libname}${release}.a $libname.a'
   15933       soname_spec='${libname}${release}${shared_ext}$major'
   15934     fi
   15935     shlibpath_var=LIBPATH
   15936   fi
   15937   ;;
   15938 
   15939 amigaos*)
   15940   library_names_spec='$libname.ixlibrary $libname.a'
   15941   # Create ${libname}_ixlibrary.a entries in /sys/libs.
   15942   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'
   15943   ;;
   15944 
   15945 beos*)
   15946   library_names_spec='${libname}${shared_ext}'
   15947   dynamic_linker="$host_os ld.so"
   15948   shlibpath_var=LIBRARY_PATH
   15949   ;;
   15950 
   15951 bsdi[45]*)
   15952   version_type=linux
   15953   need_version=no
   15954   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15955   soname_spec='${libname}${release}${shared_ext}$major'
   15956   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   15957   shlibpath_var=LD_LIBRARY_PATH
   15958   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   15959   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   15960   # the default ld.so.conf also contains /usr/contrib/lib and
   15961   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   15962   # libtool to hard-code these into programs
   15963   ;;
   15964 
   15965 cygwin* | mingw* | pw32*)
   15966   version_type=windows
   15967   shrext_cmds=".dll"
   15968   need_version=no
   15969   need_lib_prefix=no
   15970 
   15971   case $GCC,$host_os in
   15972   yes,cygwin* | yes,mingw* | yes,pw32*)
   15973     library_names_spec='$libname.dll.a'
   15974     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   15975     postinstall_cmds='base_file=`basename \${file}`~
   15976       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
   15977       dldir=$destdir/`dirname \$dlpath`~
   15978       test -d \$dldir || mkdir -p \$dldir~
   15979       $install_prog $dir/$dlname \$dldir/$dlname~
   15980       chmod a+x \$dldir/$dlname'
   15981     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   15982       dlpath=$dir/\$dldll~
   15983        $rm \$dlpath'
   15984     shlibpath_overrides_runpath=yes
   15985 
   15986     case $host_os in
   15987     cygwin*)
   15988       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   15989       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   15990       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
   15991       ;;
   15992     mingw*)
   15993       # MinGW DLLs use traditional 'lib' prefix
   15994       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   15995       sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   15996       if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
   15997         # It is most probably a Windows format PATH printed by
   15998         # mingw gcc, but we are running on Cygwin. Gcc prints its search
   15999         # path with ; separators, and with drive letters. We can handle the
   16000         # drive letters (cygwin fileutils understands them), so leave them,
   16001         # especially as we might pass files found there to a mingw objdump,
   16002         # which wouldn't understand a cygwinified path. Ahh.
   16003         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   16004       else
   16005         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   16006       fi
   16007       ;;
   16008     pw32*)
   16009       # pw32 DLLs use 'pw' prefix rather than 'lib'
   16010       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   16011       ;;
   16012     esac
   16013     ;;
   16014 
   16015   *)
   16016     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
   16017     ;;
   16018   esac
   16019   dynamic_linker='Win32 ld.exe'
   16020   # FIXME: first we should search . and the directory the executable is in
   16021   shlibpath_var=PATH
   16022   ;;
   16023 
   16024 darwin* | rhapsody*)
   16025   dynamic_linker="$host_os dyld"
   16026   version_type=darwin
   16027   need_lib_prefix=no
   16028   need_version=no
   16029   library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
   16030   soname_spec='${libname}${release}${major}$shared_ext'
   16031   shlibpath_overrides_runpath=yes
   16032   shlibpath_var=DYLD_LIBRARY_PATH
   16033   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   16034 
   16035   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   16036   ;;
   16037 
   16038 dgux*)
   16039   version_type=linux
   16040   need_lib_prefix=no
   16041   need_version=no
   16042   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
   16043   soname_spec='${libname}${release}${shared_ext}$major'
   16044   shlibpath_var=LD_LIBRARY_PATH
   16045   ;;
   16046 
   16047 freebsd1*)
   16048   dynamic_linker=no
   16049   ;;
   16050 
   16051 freebsd* | dragonfly*)
   16052   # DragonFly does not have aout.  When/if they implement a new
   16053   # versioning mechanism, adjust this.
   16054   if test -x /usr/bin/objformat; then
   16055     objformat=`/usr/bin/objformat`
   16056   else
   16057     case $host_os in
   16058     freebsd[123]*) objformat=aout ;;
   16059     *) objformat=elf ;;
   16060     esac
   16061   fi
   16062   version_type=freebsd-$objformat
   16063   case $version_type in
   16064     freebsd-elf*)
   16065       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   16066       need_version=no
   16067       need_lib_prefix=no
   16068       ;;
   16069     freebsd-*)
   16070       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
   16071       need_version=yes
   16072       ;;
   16073   esac
   16074   shlibpath_var=LD_LIBRARY_PATH
   16075   case $host_os in
   16076   freebsd2*)
   16077     shlibpath_overrides_runpath=yes
   16078     ;;
   16079   freebsd3.[01]* | freebsdelf3.[01]*)
   16080     shlibpath_overrides_runpath=yes
   16081     hardcode_into_libs=yes
   16082     ;;
   16083   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   16084   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   16085     shlibpath_overrides_runpath=no
   16086     hardcode_into_libs=yes
   16087     ;;
   16088   *) # from 4.6 on, and DragonFly
   16089     shlibpath_overrides_runpath=yes
   16090     hardcode_into_libs=yes
   16091     ;;
   16092   esac
   16093   ;;
   16094 
   16095 gnu*)
   16096   version_type=linux
   16097   need_lib_prefix=no
   16098   need_version=no
   16099   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   16100   soname_spec='${libname}${release}${shared_ext}$major'
   16101   shlibpath_var=LD_LIBRARY_PATH
   16102   hardcode_into_libs=yes
   16103   ;;
   16104 
   16105 hpux9* | hpux10* | hpux11*)
   16106   # Give a soname corresponding to the major version so that dld.sl refuses to
   16107   # link against other versions.
   16108   version_type=sunos
   16109   need_lib_prefix=no
   16110   need_version=no
   16111   case $host_cpu in
   16112   ia64*)
   16113     shrext_cmds='.so'
   16114     hardcode_into_libs=yes
   16115     dynamic_linker="$host_os dld.so"
   16116     shlibpath_var=LD_LIBRARY_PATH
   16117     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   16118     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16119     soname_spec='${libname}${release}${shared_ext}$major'
   16120     if test "X$HPUX_IA64_MODE" = X32; then
   16121       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   16122     else
   16123       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   16124     fi
   16125     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   16126     ;;
   16127    hppa*64*)
   16128      shrext_cmds='.sl'
   16129      hardcode_into_libs=yes
   16130      dynamic_linker="$host_os dld.sl"
   16131      shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   16132      shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   16133      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16134      soname_spec='${libname}${release}${shared_ext}$major'
   16135      sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   16136      sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   16137      ;;
   16138    *)
   16139     shrext_cmds='.sl'
   16140     dynamic_linker="$host_os dld.sl"
   16141     shlibpath_var=SHLIB_PATH
   16142     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   16143     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16144     soname_spec='${libname}${release}${shared_ext}$major'
   16145     ;;
   16146   esac
   16147   # HP-UX runs *really* slowly unless shared libraries are mode 555.
   16148   postinstall_cmds='chmod 555 $lib'
   16149   ;;
   16150 
   16151 interix[3-9]*)
   16152   version_type=linux
   16153   need_lib_prefix=no
   16154   need_version=no
   16155   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   16156   soname_spec='${libname}${release}${shared_ext}$major'
   16157   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   16158   shlibpath_var=LD_LIBRARY_PATH
   16159   shlibpath_overrides_runpath=no
   16160   hardcode_into_libs=yes
   16161   ;;
   16162 
   16163 irix5* | irix6* | nonstopux*)
   16164   case $host_os in
   16165     nonstopux*) version_type=nonstopux ;;
   16166     *)
   16167 	if test "$lt_cv_prog_gnu_ld" = yes; then
   16168 		version_type=linux
   16169 	else
   16170 		version_type=irix
   16171 	fi ;;
   16172   esac
   16173   need_lib_prefix=no
   16174   need_version=no
   16175   soname_spec='${libname}${release}${shared_ext}$major'
   16176   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
   16177   case $host_os in
   16178   irix5* | nonstopux*)
   16179     libsuff= shlibsuff=
   16180     ;;
   16181   *)
   16182     case $LD in # libtool.m4 will add one of these switches to LD
   16183     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   16184       libsuff= shlibsuff= libmagic=32-bit;;
   16185     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   16186       libsuff=32 shlibsuff=N32 libmagic=N32;;
   16187     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   16188       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   16189     *) libsuff= shlibsuff= libmagic=never-match;;
   16190     esac
   16191     ;;
   16192   esac
   16193   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   16194   shlibpath_overrides_runpath=no
   16195   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   16196   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   16197   hardcode_into_libs=yes
   16198   ;;
   16199 
   16200 # No shared lib support for Linux oldld, aout, or coff.
   16201 linux*oldld* | linux*aout* | linux*coff*)
   16202   dynamic_linker=no
   16203   ;;
   16204 
   16205 # This must be Linux ELF.
   16206 linux* | k*bsd*-gnu)
   16207   version_type=linux
   16208   need_lib_prefix=no
   16209   need_version=no
   16210   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16211   soname_spec='${libname}${release}${shared_ext}$major'
   16212   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   16213   shlibpath_var=LD_LIBRARY_PATH
   16214   shlibpath_overrides_runpath=no
   16215   # This implies no fast_install, which is unacceptable.
   16216   # Some rework will be needed to allow for fast_install
   16217   # before this can be enabled.
   16218   hardcode_into_libs=yes
   16219 
   16220   # Append ld.so.conf contents to the search path
   16221   if test -f /etc/ld.so.conf; then
   16222     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' ' '`
   16223     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   16224   fi
   16225 
   16226   # We used to test for /lib/ld.so.1 and disable shared libraries on
   16227   # powerpc, because MkLinux only supported shared libraries with the
   16228   # GNU dynamic linker.  Since this was broken with cross compilers,
   16229   # most powerpc-linux boxes support dynamic linking these days and
   16230   # people can always --disable-shared, the test was removed, and we
   16231   # assume the GNU/Linux dynamic linker is in use.
   16232   dynamic_linker='GNU/Linux ld.so'
   16233   ;;
   16234 
   16235 netbsd*)
   16236   version_type=sunos
   16237   need_lib_prefix=no
   16238   need_version=no
   16239   if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   16240     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   16241     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   16242     dynamic_linker='NetBSD (a.out) ld.so'
   16243   else
   16244     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   16245     soname_spec='${libname}${release}${shared_ext}$major'
   16246     dynamic_linker='NetBSD ld.elf_so'
   16247   fi
   16248   shlibpath_var=LD_LIBRARY_PATH
   16249   shlibpath_overrides_runpath=yes
   16250   hardcode_into_libs=yes
   16251   ;;
   16252 
   16253 newsos6)
   16254   version_type=linux
   16255   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16256   shlibpath_var=LD_LIBRARY_PATH
   16257   shlibpath_overrides_runpath=yes
   16258   ;;
   16259 
   16260 nto-qnx*)
   16261   version_type=linux
   16262   need_lib_prefix=no
   16263   need_version=no
   16264   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16265   soname_spec='${libname}${release}${shared_ext}$major'
   16266   shlibpath_var=LD_LIBRARY_PATH
   16267   shlibpath_overrides_runpath=yes
   16268   ;;
   16269 
   16270 openbsd*)
   16271   version_type=sunos
   16272   sys_lib_dlsearch_path_spec="/usr/lib"
   16273   need_lib_prefix=no
   16274   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
   16275   case $host_os in
   16276     openbsd3.3 | openbsd3.3.*) need_version=yes ;;
   16277     *)                         need_version=no  ;;
   16278   esac
   16279   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   16280   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   16281   shlibpath_var=LD_LIBRARY_PATH
   16282   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   16283     case $host_os in
   16284       openbsd2.[89] | openbsd2.[89].*)
   16285 	shlibpath_overrides_runpath=no
   16286 	;;
   16287       *)
   16288 	shlibpath_overrides_runpath=yes
   16289 	;;
   16290       esac
   16291   else
   16292     shlibpath_overrides_runpath=yes
   16293   fi
   16294   ;;
   16295 
   16296 os2*)
   16297   libname_spec='$name'
   16298   shrext_cmds=".dll"
   16299   need_lib_prefix=no
   16300   library_names_spec='$libname${shared_ext} $libname.a'
   16301   dynamic_linker='OS/2 ld.exe'
   16302   shlibpath_var=LIBPATH
   16303   ;;
   16304 
   16305 osf3* | osf4* | osf5*)
   16306   version_type=osf
   16307   need_lib_prefix=no
   16308   need_version=no
   16309   soname_spec='${libname}${release}${shared_ext}$major'
   16310   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16311   shlibpath_var=LD_LIBRARY_PATH
   16312   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   16313   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   16314   ;;
   16315 
   16316 rdos*)
   16317   dynamic_linker=no
   16318   ;;
   16319 
   16320 solaris*)
   16321   version_type=linux
   16322   need_lib_prefix=no
   16323   need_version=no
   16324   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16325   soname_spec='${libname}${release}${shared_ext}$major'
   16326   shlibpath_var=LD_LIBRARY_PATH
   16327   shlibpath_overrides_runpath=yes
   16328   hardcode_into_libs=yes
   16329   # ldd complains unless libraries are executable
   16330   postinstall_cmds='chmod +x $lib'
   16331   ;;
   16332 
   16333 sunos4*)
   16334   version_type=sunos
   16335   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   16336   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   16337   shlibpath_var=LD_LIBRARY_PATH
   16338   shlibpath_overrides_runpath=yes
   16339   if test "$with_gnu_ld" = yes; then
   16340     need_lib_prefix=no
   16341   fi
   16342   need_version=yes
   16343   ;;
   16344 
   16345 sysv4 | sysv4.3*)
   16346   version_type=linux
   16347   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16348   soname_spec='${libname}${release}${shared_ext}$major'
   16349   shlibpath_var=LD_LIBRARY_PATH
   16350   case $host_vendor in
   16351     sni)
   16352       shlibpath_overrides_runpath=no
   16353       need_lib_prefix=no
   16354       export_dynamic_flag_spec='${wl}-Blargedynsym'
   16355       runpath_var=LD_RUN_PATH
   16356       ;;
   16357     siemens)
   16358       need_lib_prefix=no
   16359       ;;
   16360     motorola)
   16361       need_lib_prefix=no
   16362       need_version=no
   16363       shlibpath_overrides_runpath=no
   16364       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   16365       ;;
   16366   esac
   16367   ;;
   16368 
   16369 sysv4*MP*)
   16370   if test -d /usr/nec ;then
   16371     version_type=linux
   16372     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
   16373     soname_spec='$libname${shared_ext}.$major'
   16374     shlibpath_var=LD_LIBRARY_PATH
   16375   fi
   16376   ;;
   16377 
   16378 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   16379   version_type=freebsd-elf
   16380   need_lib_prefix=no
   16381   need_version=no
   16382   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   16383   soname_spec='${libname}${release}${shared_ext}$major'
   16384   shlibpath_var=LD_LIBRARY_PATH
   16385   hardcode_into_libs=yes
   16386   if test "$with_gnu_ld" = yes; then
   16387     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   16388     shlibpath_overrides_runpath=no
   16389   else
   16390     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   16391     shlibpath_overrides_runpath=yes
   16392     case $host_os in
   16393       sco3.2v5*)
   16394         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   16395 	;;
   16396     esac
   16397   fi
   16398   sys_lib_dlsearch_path_spec='/usr/lib'
   16399   ;;
   16400 
   16401 uts4*)
   16402   version_type=linux
   16403   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16404   soname_spec='${libname}${release}${shared_ext}$major'
   16405   shlibpath_var=LD_LIBRARY_PATH
   16406   ;;
   16407 
   16408 *)
   16409   dynamic_linker=no
   16410   ;;
   16411 esac
   16412 { $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
   16413 $as_echo "$dynamic_linker" >&6; }
   16414 test "$dynamic_linker" = no && can_build_shared=no
   16415 
   16416 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
   16417   $as_echo_n "(cached) " >&6
   16418 else
   16419   lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
   16420 fi
   16421 
   16422 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
   16423 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
   16424   $as_echo_n "(cached) " >&6
   16425 else
   16426   lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
   16427 fi
   16428 
   16429 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
   16430 
   16431 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   16432 if test "$GCC" = yes; then
   16433   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   16434 fi
   16435 
   16436 { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
   16437 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
   16438 hardcode_action_F77=
   16439 if test -n "$hardcode_libdir_flag_spec_F77" || \
   16440    test -n "$runpath_var_F77" || \
   16441    test "X$hardcode_automatic_F77" = "Xyes" ; then
   16442 
   16443   # We can hardcode non-existant directories.
   16444   if test "$hardcode_direct_F77" != no &&
   16445      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   16446      # have to relink, otherwise we might link with an installed library
   16447      # when we should be linking with a yet-to-be-installed one
   16448      ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
   16449      test "$hardcode_minus_L_F77" != no; then
   16450     # Linking always hardcodes the temporary library directory.
   16451     hardcode_action_F77=relink
   16452   else
   16453     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   16454     hardcode_action_F77=immediate
   16455   fi
   16456 else
   16457   # We cannot hardcode anything, or else we can only hardcode existing
   16458   # directories.
   16459   hardcode_action_F77=unsupported
   16460 fi
   16461 { $as_echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
   16462 $as_echo "$hardcode_action_F77" >&6; }
   16463 
   16464 if test "$hardcode_action_F77" = relink; then
   16465   # Fast installation is not supported
   16466   enable_fast_install=no
   16467 elif test "$shlibpath_overrides_runpath" = yes ||
   16468      test "$enable_shared" = no; then
   16469   # Fast installation is not necessary
   16470   enable_fast_install=needless
   16471 fi
   16472 
   16473 
   16474 # The else clause should only fire when bootstrapping the
   16475 # libtool distribution, otherwise you forgot to ship ltmain.sh
   16476 # with your package, and you will get complaints that there are
   16477 # no rules to generate ltmain.sh.
   16478 if test -f "$ltmain"; then
   16479   # See if we are running on zsh, and set the options which allow our commands through
   16480   # without removal of \ escapes.
   16481   if test -n "${ZSH_VERSION+set}" ; then
   16482     setopt NO_GLOB_SUBST
   16483   fi
   16484   # Now quote all the things that may contain metacharacters while being
   16485   # careful not to overquote the AC_SUBSTed values.  We take copies of the
   16486   # variables and quote the copies for generation of the libtool script.
   16487   for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
   16488     SED SHELL STRIP \
   16489     libname_spec library_names_spec soname_spec extract_expsyms_cmds \
   16490     old_striplib striplib file_magic_cmd finish_cmds finish_eval \
   16491     deplibs_check_method reload_flag reload_cmds need_locks \
   16492     lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
   16493     lt_cv_sys_global_symbol_to_c_name_address \
   16494     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
   16495     old_postinstall_cmds old_postuninstall_cmds \
   16496     compiler_F77 \
   16497     CC_F77 \
   16498     LD_F77 \
   16499     lt_prog_compiler_wl_F77 \
   16500     lt_prog_compiler_pic_F77 \
   16501     lt_prog_compiler_static_F77 \
   16502     lt_prog_compiler_no_builtin_flag_F77 \
   16503     export_dynamic_flag_spec_F77 \
   16504     thread_safe_flag_spec_F77 \
   16505     whole_archive_flag_spec_F77 \
   16506     enable_shared_with_static_runtimes_F77 \
   16507     old_archive_cmds_F77 \
   16508     old_archive_from_new_cmds_F77 \
   16509     predep_objects_F77 \
   16510     postdep_objects_F77 \
   16511     predeps_F77 \
   16512     postdeps_F77 \
   16513     compiler_lib_search_path_F77 \
   16514     compiler_lib_search_dirs_F77 \
   16515     archive_cmds_F77 \
   16516     archive_expsym_cmds_F77 \
   16517     postinstall_cmds_F77 \
   16518     postuninstall_cmds_F77 \
   16519     old_archive_from_expsyms_cmds_F77 \
   16520     allow_undefined_flag_F77 \
   16521     no_undefined_flag_F77 \
   16522     export_symbols_cmds_F77 \
   16523     hardcode_libdir_flag_spec_F77 \
   16524     hardcode_libdir_flag_spec_ld_F77 \
   16525     hardcode_libdir_separator_F77 \
   16526     hardcode_automatic_F77 \
   16527     module_cmds_F77 \
   16528     module_expsym_cmds_F77 \
   16529     lt_cv_prog_compiler_c_o_F77 \
   16530     fix_srcfile_path_F77 \
   16531     exclude_expsyms_F77 \
   16532     include_expsyms_F77; do
   16533 
   16534     case $var in
   16535     old_archive_cmds_F77 | \
   16536     old_archive_from_new_cmds_F77 | \
   16537     archive_cmds_F77 | \
   16538     archive_expsym_cmds_F77 | \
   16539     module_cmds_F77 | \
   16540     module_expsym_cmds_F77 | \
   16541     old_archive_from_expsyms_cmds_F77 | \
   16542     export_symbols_cmds_F77 | \
   16543     extract_expsyms_cmds | reload_cmds | finish_cmds | \
   16544     postinstall_cmds | postuninstall_cmds | \
   16545     old_postinstall_cmds | old_postuninstall_cmds | \
   16546     sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
   16547       # Double-quote double-evaled strings.
   16548       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
   16549       ;;
   16550     *)
   16551       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
   16552       ;;
   16553     esac
   16554   done
   16555 
   16556   case $lt_echo in
   16557   *'\$0 --fallback-echo"')
   16558     lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
   16559     ;;
   16560   esac
   16561 
   16562 cfgfile="$ofile"
   16563 
   16564   cat <<__EOF__ >> "$cfgfile"
   16565 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
   16566 
   16567 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   16568 
   16569 # Shell to use when invoking shell scripts.
   16570 SHELL=$lt_SHELL
   16571 
   16572 # Whether or not to build shared libraries.
   16573 build_libtool_libs=$enable_shared
   16574 
   16575 # Whether or not to build static libraries.
   16576 build_old_libs=$enable_static
   16577 
   16578 # Whether or not to add -lc for building shared libraries.
   16579 build_libtool_need_lc=$archive_cmds_need_lc_F77
   16580 
   16581 # Whether or not to disallow shared libs when runtime libs are static
   16582 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
   16583 
   16584 # Whether or not to optimize for fast installation.
   16585 fast_install=$enable_fast_install
   16586 
   16587 # The host system.
   16588 host_alias=$host_alias
   16589 host=$host
   16590 host_os=$host_os
   16591 
   16592 # The build system.
   16593 build_alias=$build_alias
   16594 build=$build
   16595 build_os=$build_os
   16596 
   16597 # An echo program that does not interpret backslashes.
   16598 echo=$lt_echo
   16599 
   16600 # The archiver.
   16601 AR=$lt_AR
   16602 AR_FLAGS=$lt_AR_FLAGS
   16603 
   16604 # A C compiler.
   16605 LTCC=$lt_LTCC
   16606 
   16607 # LTCC compiler flags.
   16608 LTCFLAGS=$lt_LTCFLAGS
   16609 
   16610 # A language-specific compiler.
   16611 CC=$lt_compiler_F77
   16612 
   16613 # Is the compiler the GNU C compiler?
   16614 with_gcc=$GCC_F77
   16615 
   16616 # An ERE matcher.
   16617 EGREP=$lt_EGREP
   16618 
   16619 # The linker used to build libraries.
   16620 LD=$lt_LD_F77
   16621 
   16622 # Whether we need hard or soft links.
   16623 LN_S=$lt_LN_S
   16624 
   16625 # A BSD-compatible nm program.
   16626 NM=$lt_NM
   16627 
   16628 # A symbol stripping program
   16629 STRIP=$lt_STRIP
   16630 
   16631 # Used to examine libraries when file_magic_cmd begins "file"
   16632 MAGIC_CMD=$MAGIC_CMD
   16633 
   16634 # Used on cygwin: DLL creation program.
   16635 DLLTOOL="$DLLTOOL"
   16636 
   16637 # Used on cygwin: object dumper.
   16638 OBJDUMP="$OBJDUMP"
   16639 
   16640 # Used on cygwin: assembler.
   16641 AS="$AS"
   16642 
   16643 # The name of the directory that contains temporary libtool files.
   16644 objdir=$objdir
   16645 
   16646 # How to create reloadable object files.
   16647 reload_flag=$lt_reload_flag
   16648 reload_cmds=$lt_reload_cmds
   16649 
   16650 # How to pass a linker flag through the compiler.
   16651 wl=$lt_lt_prog_compiler_wl_F77
   16652 
   16653 # Object file suffix (normally "o").
   16654 objext="$ac_objext"
   16655 
   16656 # Old archive suffix (normally "a").
   16657 libext="$libext"
   16658 
   16659 # Shared library suffix (normally ".so").
   16660 shrext_cmds='$shrext_cmds'
   16661 
   16662 # Executable file suffix (normally "").
   16663 exeext="$exeext"
   16664 
   16665 # Additional compiler flags for building library objects.
   16666 pic_flag=$lt_lt_prog_compiler_pic_F77
   16667 pic_mode=$pic_mode
   16668 
   16669 # What is the maximum length of a command?
   16670 max_cmd_len=$lt_cv_sys_max_cmd_len
   16671 
   16672 # Does compiler simultaneously support -c and -o options?
   16673 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
   16674 
   16675 # Must we lock files when doing compilation?
   16676 need_locks=$lt_need_locks
   16677 
   16678 # Do we need the lib prefix for modules?
   16679 need_lib_prefix=$need_lib_prefix
   16680 
   16681 # Do we need a version for libraries?
   16682 need_version=$need_version
   16683 
   16684 # Whether dlopen is supported.
   16685 dlopen_support=$enable_dlopen
   16686 
   16687 # Whether dlopen of programs is supported.
   16688 dlopen_self=$enable_dlopen_self
   16689 
   16690 # Whether dlopen of statically linked programs is supported.
   16691 dlopen_self_static=$enable_dlopen_self_static
   16692 
   16693 # Compiler flag to prevent dynamic linking.
   16694 link_static_flag=$lt_lt_prog_compiler_static_F77
   16695 
   16696 # Compiler flag to turn off builtin functions.
   16697 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
   16698 
   16699 # Compiler flag to allow reflexive dlopens.
   16700 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
   16701 
   16702 # Compiler flag to generate shared objects directly from archives.
   16703 whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
   16704 
   16705 # Compiler flag to generate thread-safe objects.
   16706 thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
   16707 
   16708 # Library versioning type.
   16709 version_type=$version_type
   16710 
   16711 # Format of library name prefix.
   16712 libname_spec=$lt_libname_spec
   16713 
   16714 # List of archive names.  First name is the real one, the rest are links.
   16715 # The last name is the one that the linker finds with -lNAME.
   16716 library_names_spec=$lt_library_names_spec
   16717 
   16718 # The coded name of the library, if different from the real name.
   16719 soname_spec=$lt_soname_spec
   16720 
   16721 # Commands used to build and install an old-style archive.
   16722 RANLIB=$lt_RANLIB
   16723 old_archive_cmds=$lt_old_archive_cmds_F77
   16724 old_postinstall_cmds=$lt_old_postinstall_cmds
   16725 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   16726 
   16727 # Create an old-style archive from a shared archive.
   16728 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
   16729 
   16730 # Create a temporary old-style archive to link instead of a shared archive.
   16731 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
   16732 
   16733 # Commands used to build and install a shared archive.
   16734 archive_cmds=$lt_archive_cmds_F77
   16735 archive_expsym_cmds=$lt_archive_expsym_cmds_F77
   16736 postinstall_cmds=$lt_postinstall_cmds
   16737 postuninstall_cmds=$lt_postuninstall_cmds
   16738 
   16739 # Commands used to build a loadable module (assumed same as above if empty)
   16740 module_cmds=$lt_module_cmds_F77
   16741 module_expsym_cmds=$lt_module_expsym_cmds_F77
   16742 
   16743 # Commands to strip libraries.
   16744 old_striplib=$lt_old_striplib
   16745 striplib=$lt_striplib
   16746 
   16747 # Dependencies to place before the objects being linked to create a
   16748 # shared library.
   16749 predep_objects=$lt_predep_objects_F77
   16750 
   16751 # Dependencies to place after the objects being linked to create a
   16752 # shared library.
   16753 postdep_objects=$lt_postdep_objects_F77
   16754 
   16755 # Dependencies to place before the objects being linked to create a
   16756 # shared library.
   16757 predeps=$lt_predeps_F77
   16758 
   16759 # Dependencies to place after the objects being linked to create a
   16760 # shared library.
   16761 postdeps=$lt_postdeps_F77
   16762 
   16763 # The directories searched by this compiler when creating a shared
   16764 # library
   16765 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_F77
   16766 
   16767 # The library search path used internally by the compiler when linking
   16768 # a shared library.
   16769 compiler_lib_search_path=$lt_compiler_lib_search_path_F77
   16770 
   16771 # Method to check whether dependent libraries are shared objects.
   16772 deplibs_check_method=$lt_deplibs_check_method
   16773 
   16774 # Command to use when deplibs_check_method == file_magic.
   16775 file_magic_cmd=$lt_file_magic_cmd
   16776 
   16777 # Flag that allows shared libraries with undefined symbols to be built.
   16778 allow_undefined_flag=$lt_allow_undefined_flag_F77
   16779 
   16780 # Flag that forces no undefined symbols.
   16781 no_undefined_flag=$lt_no_undefined_flag_F77
   16782 
   16783 # Commands used to finish a libtool library installation in a directory.
   16784 finish_cmds=$lt_finish_cmds
   16785 
   16786 # Same as above, but a single script fragment to be evaled but not shown.
   16787 finish_eval=$lt_finish_eval
   16788 
   16789 # Take the output of nm and produce a listing of raw symbols and C names.
   16790 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   16791 
   16792 # Transform the output of nm in a proper C declaration
   16793 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   16794 
   16795 # Transform the output of nm in a C name address pair
   16796 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   16797 
   16798 # This is the shared library runtime path variable.
   16799 runpath_var=$runpath_var
   16800 
   16801 # This is the shared library path variable.
   16802 shlibpath_var=$shlibpath_var
   16803 
   16804 # Is shlibpath searched before the hard-coded library search path?
   16805 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   16806 
   16807 # How to hardcode a shared library path into an executable.
   16808 hardcode_action=$hardcode_action_F77
   16809 
   16810 # Whether we should hardcode library paths into libraries.
   16811 hardcode_into_libs=$hardcode_into_libs
   16812 
   16813 # Flag to hardcode \$libdir into a binary during linking.
   16814 # This must work even if \$libdir does not exist.
   16815 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
   16816 
   16817 # If ld is used when linking, flag to hardcode \$libdir into
   16818 # a binary during linking. This must work even if \$libdir does
   16819 # not exist.
   16820 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
   16821 
   16822 # Whether we need a single -rpath flag with a separated argument.
   16823 hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
   16824 
   16825 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
   16826 # resulting binary.
   16827 hardcode_direct=$hardcode_direct_F77
   16828 
   16829 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
   16830 # resulting binary.
   16831 hardcode_minus_L=$hardcode_minus_L_F77
   16832 
   16833 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
   16834 # the resulting binary.
   16835 hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
   16836 
   16837 # Set to yes if building a shared library automatically hardcodes DIR into the library
   16838 # and all subsequent libraries and executables linked against it.
   16839 hardcode_automatic=$hardcode_automatic_F77
   16840 
   16841 # Variables whose values should be saved in libtool wrapper scripts and
   16842 # restored at relink time.
   16843 variables_saved_for_relink="$variables_saved_for_relink"
   16844 
   16845 # Whether libtool must link a program against all its dependency libraries.
   16846 link_all_deplibs=$link_all_deplibs_F77
   16847 
   16848 # Compile-time system search path for libraries
   16849 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   16850 
   16851 # Run-time system search path for libraries
   16852 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   16853 
   16854 # Fix the shell variable \$srcfile for the compiler.
   16855 fix_srcfile_path=$lt_fix_srcfile_path
   16856 
   16857 # Set to yes if exported symbols are required.
   16858 always_export_symbols=$always_export_symbols_F77
   16859 
   16860 # The commands to list exported symbols.
   16861 export_symbols_cmds=$lt_export_symbols_cmds_F77
   16862 
   16863 # The commands to extract the exported symbol list from a shared archive.
   16864 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   16865 
   16866 # Symbols that should not be listed in the preloaded symbols.
   16867 exclude_expsyms=$lt_exclude_expsyms_F77
   16868 
   16869 # Symbols that must always be exported.
   16870 include_expsyms=$lt_include_expsyms_F77
   16871 
   16872 # ### END LIBTOOL TAG CONFIG: $tagname
   16873 
   16874 __EOF__
   16875 
   16876 
   16877 else
   16878   # If there is no Makefile yet, we rely on a make rule to execute
   16879   # `config.status --recheck' to rerun these tests and create the
   16880   # libtool script then.
   16881   ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
   16882   if test -f "$ltmain_in"; then
   16883     test -f Makefile && make "$ltmain"
   16884   fi
   16885 fi
   16886 
   16887 
   16888 ac_ext=c
   16889 ac_cpp='$CPP $CPPFLAGS'
   16890 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   16891 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   16892 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   16893 
   16894 CC="$lt_save_CC"
   16895 
   16896 	else
   16897 	  tagname=""
   16898 	fi
   16899 	;;
   16900 
   16901       GCJ)
   16902 	if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
   16903 
   16904 
   16905 # Source file extension for Java test sources.
   16906 ac_ext=java
   16907 
   16908 # Object file extension for compiled Java test sources.
   16909 objext=o
   16910 objext_GCJ=$objext
   16911 
   16912 # Code to be used in simple compile tests
   16913 lt_simple_compile_test_code="class foo {}"
   16914 
   16915 # Code to be used in simple link tests
   16916 lt_simple_link_test_code='public class conftest { public static void main(String[] argv) {}; }'
   16917 
   16918 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
   16919 
   16920 # If no C compiler was specified, use CC.
   16921 LTCC=${LTCC-"$CC"}
   16922 
   16923 # If no C compiler flags were specified, use CFLAGS.
   16924 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   16925 
   16926 # Allow CC to be a program name with arguments.
   16927 compiler=$CC
   16928 
   16929 
   16930 # save warnings/boilerplate of simple test code
   16931 ac_outfile=conftest.$ac_objext
   16932 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   16933 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   16934 _lt_compiler_boilerplate=`cat conftest.err`
   16935 $rm conftest*
   16936 
   16937 ac_outfile=conftest.$ac_objext
   16938 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   16939 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   16940 _lt_linker_boilerplate=`cat conftest.err`
   16941 $rm -r conftest*
   16942 
   16943 
   16944 # Allow CC to be a program name with arguments.
   16945 lt_save_CC="$CC"
   16946 CC=${GCJ-"gcj"}
   16947 compiler=$CC
   16948 compiler_GCJ=$CC
   16949 for cc_temp in $compiler""; do
   16950   case $cc_temp in
   16951     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   16952     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   16953     \-*) ;;
   16954     *) break;;
   16955   esac
   16956 done
   16957 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   16958 
   16959 
   16960 # GCJ did not exist at the time GCC didn't implicitly link libc in.
   16961 archive_cmds_need_lc_GCJ=no
   16962 
   16963 old_archive_cmds_GCJ=$old_archive_cmds
   16964 
   16965 
   16966 lt_prog_compiler_no_builtin_flag_GCJ=
   16967 
   16968 if test "$GCC" = yes; then
   16969   lt_prog_compiler_no_builtin_flag_GCJ=' -fno-builtin'
   16970 
   16971 
   16972 { $as_echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
   16973 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
   16974 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
   16975   $as_echo_n "(cached) " >&6
   16976 else
   16977   lt_cv_prog_compiler_rtti_exceptions=no
   16978   ac_outfile=conftest.$ac_objext
   16979    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   16980    lt_compiler_flag="-fno-rtti -fno-exceptions"
   16981    # Insert the option either (1) after the last *FLAGS variable, or
   16982    # (2) before a word containing "conftest.", or (3) at the end.
   16983    # Note that $ac_compile itself does not contain backslashes and begins
   16984    # with a dollar sign (not a hyphen), so the echo should work correctly.
   16985    # The option is referenced via a variable to avoid confusing sed.
   16986    lt_compile=`echo "$ac_compile" | $SED \
   16987    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   16988    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   16989    -e 's:$: $lt_compiler_flag:'`
   16990    (eval echo "\"\$as_me:16990: $lt_compile\"" >&5)
   16991    (eval "$lt_compile" 2>conftest.err)
   16992    ac_status=$?
   16993    cat conftest.err >&5
   16994    echo "$as_me:16994: \$? = $ac_status" >&5
   16995    if (exit $ac_status) && test -s "$ac_outfile"; then
   16996      # The compiler can only warn and ignore the option if not recognized
   16997      # So say no if there are warnings other than the usual output.
   16998      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   16999      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   17000      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   17001        lt_cv_prog_compiler_rtti_exceptions=yes
   17002      fi
   17003    fi
   17004    $rm conftest*
   17005 
   17006 fi
   17007 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
   17008 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
   17009 
   17010 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
   17011     lt_prog_compiler_no_builtin_flag_GCJ="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
   17012 else
   17013     :
   17014 fi
   17015 
   17016 fi
   17017 
   17018 lt_prog_compiler_wl_GCJ=
   17019 lt_prog_compiler_pic_GCJ=
   17020 lt_prog_compiler_static_GCJ=
   17021 
   17022 { $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
   17023 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
   17024 
   17025   if test "$GCC" = yes; then
   17026     lt_prog_compiler_wl_GCJ='-Wl,'
   17027     lt_prog_compiler_static_GCJ='-static'
   17028 
   17029     case $host_os in
   17030       aix*)
   17031       # All AIX code is PIC.
   17032       if test "$host_cpu" = ia64; then
   17033 	# AIX 5 now supports IA64 processor
   17034 	lt_prog_compiler_static_GCJ='-Bstatic'
   17035       fi
   17036       ;;
   17037 
   17038     amigaos*)
   17039       # FIXME: we need at least 68020 code to build shared libraries, but
   17040       # adding the `-m68020' flag to GCC prevents building anything better,
   17041       # like `-m68040'.
   17042       lt_prog_compiler_pic_GCJ='-m68020 -resident32 -malways-restore-a4'
   17043       ;;
   17044 
   17045     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   17046       # PIC is the default for these OSes.
   17047       ;;
   17048 
   17049     mingw* | cygwin* | pw32* | os2*)
   17050       # This hack is so that the source file can tell whether it is being
   17051       # built for inclusion in a dll (and should export symbols for example).
   17052       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   17053       # (--disable-auto-import) libraries
   17054 
   17055       ;;
   17056 
   17057     darwin* | rhapsody*)
   17058       # PIC is the default on this platform
   17059       # Common symbols not allowed in MH_DYLIB files
   17060       lt_prog_compiler_pic_GCJ='-fno-common'
   17061       ;;
   17062 
   17063     interix[3-9]*)
   17064       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   17065       # Instead, we relocate shared libraries at runtime.
   17066       ;;
   17067 
   17068     msdosdjgpp*)
   17069       # Just because we use GCC doesn't mean we suddenly get shared libraries
   17070       # on systems that don't support them.
   17071       lt_prog_compiler_can_build_shared_GCJ=no
   17072       enable_shared=no
   17073       ;;
   17074 
   17075     sysv4*MP*)
   17076       if test -d /usr/nec; then
   17077 	lt_prog_compiler_pic_GCJ=-Kconform_pic
   17078       fi
   17079       ;;
   17080 
   17081     hpux*)
   17082       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   17083       # not for PA HP-UX.
   17084       case $host_cpu in
   17085       hppa*64*|ia64*)
   17086 	# +Z the default
   17087 	;;
   17088       *)
   17089 	lt_prog_compiler_pic_GCJ='-fPIC'
   17090 	;;
   17091       esac
   17092       ;;
   17093 
   17094     *)
   17095       lt_prog_compiler_pic_GCJ='-fPIC'
   17096       ;;
   17097     esac
   17098   else
   17099     # PORTME Check for flag to pass linker flags through the system compiler.
   17100     case $host_os in
   17101     aix*)
   17102       lt_prog_compiler_wl_GCJ='-Wl,'
   17103       if test "$host_cpu" = ia64; then
   17104 	# AIX 5 now supports IA64 processor
   17105 	lt_prog_compiler_static_GCJ='-Bstatic'
   17106       else
   17107 	lt_prog_compiler_static_GCJ='-bnso -bI:/lib/syscalls.exp'
   17108       fi
   17109       ;;
   17110       darwin*)
   17111         # PIC is the default on this platform
   17112         # Common symbols not allowed in MH_DYLIB files
   17113        case $cc_basename in
   17114          xlc*)
   17115          lt_prog_compiler_pic_GCJ='-qnocommon'
   17116          lt_prog_compiler_wl_GCJ='-Wl,'
   17117          ;;
   17118        esac
   17119        ;;
   17120 
   17121     mingw* | cygwin* | pw32* | os2*)
   17122       # This hack is so that the source file can tell whether it is being
   17123       # built for inclusion in a dll (and should export symbols for example).
   17124 
   17125       ;;
   17126 
   17127     hpux9* | hpux10* | hpux11*)
   17128       lt_prog_compiler_wl_GCJ='-Wl,'
   17129       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   17130       # not for PA HP-UX.
   17131       case $host_cpu in
   17132       hppa*64*|ia64*)
   17133 	# +Z the default
   17134 	;;
   17135       *)
   17136 	lt_prog_compiler_pic_GCJ='+Z'
   17137 	;;
   17138       esac
   17139       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   17140       lt_prog_compiler_static_GCJ='${wl}-a ${wl}archive'
   17141       ;;
   17142 
   17143     irix5* | irix6* | nonstopux*)
   17144       lt_prog_compiler_wl_GCJ='-Wl,'
   17145       # PIC (with -KPIC) is the default.
   17146       lt_prog_compiler_static_GCJ='-non_shared'
   17147       ;;
   17148 
   17149     newsos6)
   17150       lt_prog_compiler_pic_GCJ='-KPIC'
   17151       lt_prog_compiler_static_GCJ='-Bstatic'
   17152       ;;
   17153 
   17154     linux* | k*bsd*-gnu)
   17155       case $cc_basename in
   17156       icc* | ecc*)
   17157 	lt_prog_compiler_wl_GCJ='-Wl,'
   17158 	lt_prog_compiler_pic_GCJ='-KPIC'
   17159 	lt_prog_compiler_static_GCJ='-static'
   17160         ;;
   17161       pgcc* | pgf77* | pgf90* | pgf95*)
   17162         # Portland Group compilers (*not* the Pentium gcc compiler,
   17163 	# which looks to be a dead project)
   17164 	lt_prog_compiler_wl_GCJ='-Wl,'
   17165 	lt_prog_compiler_pic_GCJ='-fpic'
   17166 	lt_prog_compiler_static_GCJ='-Bstatic'
   17167         ;;
   17168       ccc*)
   17169         lt_prog_compiler_wl_GCJ='-Wl,'
   17170         # All Alpha code is PIC.
   17171         lt_prog_compiler_static_GCJ='-non_shared'
   17172         ;;
   17173       *)
   17174         case `$CC -V 2>&1 | sed 5q` in
   17175 	*Sun\ C*)
   17176 	  # Sun C 5.9
   17177 	  lt_prog_compiler_pic_GCJ='-KPIC'
   17178 	  lt_prog_compiler_static_GCJ='-Bstatic'
   17179 	  lt_prog_compiler_wl_GCJ='-Wl,'
   17180 	  ;;
   17181 	*Sun\ F*)
   17182 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   17183 	  lt_prog_compiler_pic_GCJ='-KPIC'
   17184 	  lt_prog_compiler_static_GCJ='-Bstatic'
   17185 	  lt_prog_compiler_wl_GCJ=''
   17186 	  ;;
   17187 	esac
   17188 	;;
   17189       esac
   17190       ;;
   17191 
   17192     osf3* | osf4* | osf5*)
   17193       lt_prog_compiler_wl_GCJ='-Wl,'
   17194       # All OSF/1 code is PIC.
   17195       lt_prog_compiler_static_GCJ='-non_shared'
   17196       ;;
   17197 
   17198     rdos*)
   17199       lt_prog_compiler_static_GCJ='-non_shared'
   17200       ;;
   17201 
   17202     solaris*)
   17203       lt_prog_compiler_pic_GCJ='-KPIC'
   17204       lt_prog_compiler_static_GCJ='-Bstatic'
   17205       case $cc_basename in
   17206       f77* | f90* | f95*)
   17207 	lt_prog_compiler_wl_GCJ='-Qoption ld ';;
   17208       *)
   17209 	lt_prog_compiler_wl_GCJ='-Wl,';;
   17210       esac
   17211       ;;
   17212 
   17213     sunos4*)
   17214       lt_prog_compiler_wl_GCJ='-Qoption ld '
   17215       lt_prog_compiler_pic_GCJ='-PIC'
   17216       lt_prog_compiler_static_GCJ='-Bstatic'
   17217       ;;
   17218 
   17219     sysv4 | sysv4.2uw2* | sysv4.3*)
   17220       lt_prog_compiler_wl_GCJ='-Wl,'
   17221       lt_prog_compiler_pic_GCJ='-KPIC'
   17222       lt_prog_compiler_static_GCJ='-Bstatic'
   17223       ;;
   17224 
   17225     sysv4*MP*)
   17226       if test -d /usr/nec ;then
   17227 	lt_prog_compiler_pic_GCJ='-Kconform_pic'
   17228 	lt_prog_compiler_static_GCJ='-Bstatic'
   17229       fi
   17230       ;;
   17231 
   17232     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   17233       lt_prog_compiler_wl_GCJ='-Wl,'
   17234       lt_prog_compiler_pic_GCJ='-KPIC'
   17235       lt_prog_compiler_static_GCJ='-Bstatic'
   17236       ;;
   17237 
   17238     unicos*)
   17239       lt_prog_compiler_wl_GCJ='-Wl,'
   17240       lt_prog_compiler_can_build_shared_GCJ=no
   17241       ;;
   17242 
   17243     uts4*)
   17244       lt_prog_compiler_pic_GCJ='-pic'
   17245       lt_prog_compiler_static_GCJ='-Bstatic'
   17246       ;;
   17247 
   17248     *)
   17249       lt_prog_compiler_can_build_shared_GCJ=no
   17250       ;;
   17251     esac
   17252   fi
   17253 
   17254 { $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
   17255 $as_echo "$lt_prog_compiler_pic_GCJ" >&6; }
   17256 
   17257 #
   17258 # Check to make sure the PIC flag actually works.
   17259 #
   17260 if test -n "$lt_prog_compiler_pic_GCJ"; then
   17261 
   17262 { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
   17263 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... " >&6; }
   17264 if test "${lt_cv_prog_compiler_pic_works_GCJ+set}" = set; then
   17265   $as_echo_n "(cached) " >&6
   17266 else
   17267   lt_cv_prog_compiler_pic_works_GCJ=no
   17268   ac_outfile=conftest.$ac_objext
   17269    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   17270    lt_compiler_flag="$lt_prog_compiler_pic_GCJ"
   17271    # Insert the option either (1) after the last *FLAGS variable, or
   17272    # (2) before a word containing "conftest.", or (3) at the end.
   17273    # Note that $ac_compile itself does not contain backslashes and begins
   17274    # with a dollar sign (not a hyphen), so the echo should work correctly.
   17275    # The option is referenced via a variable to avoid confusing sed.
   17276    lt_compile=`echo "$ac_compile" | $SED \
   17277    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   17278    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   17279    -e 's:$: $lt_compiler_flag:'`
   17280    (eval echo "\"\$as_me:17280: $lt_compile\"" >&5)
   17281    (eval "$lt_compile" 2>conftest.err)
   17282    ac_status=$?
   17283    cat conftest.err >&5
   17284    echo "$as_me:17284: \$? = $ac_status" >&5
   17285    if (exit $ac_status) && test -s "$ac_outfile"; then
   17286      # The compiler can only warn and ignore the option if not recognized
   17287      # So say no if there are warnings other than the usual output.
   17288      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   17289      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   17290      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   17291        lt_cv_prog_compiler_pic_works_GCJ=yes
   17292      fi
   17293    fi
   17294    $rm conftest*
   17295 
   17296 fi
   17297 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_GCJ" >&5
   17298 $as_echo "$lt_cv_prog_compiler_pic_works_GCJ" >&6; }
   17299 
   17300 if test x"$lt_cv_prog_compiler_pic_works_GCJ" = xyes; then
   17301     case $lt_prog_compiler_pic_GCJ in
   17302      "" | " "*) ;;
   17303      *) lt_prog_compiler_pic_GCJ=" $lt_prog_compiler_pic_GCJ" ;;
   17304      esac
   17305 else
   17306     lt_prog_compiler_pic_GCJ=
   17307      lt_prog_compiler_can_build_shared_GCJ=no
   17308 fi
   17309 
   17310 fi
   17311 case $host_os in
   17312   # For platforms which do not support PIC, -DPIC is meaningless:
   17313   *djgpp*)
   17314     lt_prog_compiler_pic_GCJ=
   17315     ;;
   17316   *)
   17317     lt_prog_compiler_pic_GCJ="$lt_prog_compiler_pic_GCJ"
   17318     ;;
   17319 esac
   17320 
   17321 #
   17322 # Check to make sure the static flag actually works.
   17323 #
   17324 wl=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag=\"$lt_prog_compiler_static_GCJ\"
   17325 { $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   17326 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   17327 if test "${lt_cv_prog_compiler_static_works_GCJ+set}" = set; then
   17328   $as_echo_n "(cached) " >&6
   17329 else
   17330   lt_cv_prog_compiler_static_works_GCJ=no
   17331    save_LDFLAGS="$LDFLAGS"
   17332    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   17333    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   17334    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   17335      # The linker can only warn and ignore the option if not recognized
   17336      # So say no if there are warnings
   17337      if test -s conftest.err; then
   17338        # Append any errors to the config.log.
   17339        cat conftest.err 1>&5
   17340        $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
   17341        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   17342        if diff conftest.exp conftest.er2 >/dev/null; then
   17343          lt_cv_prog_compiler_static_works_GCJ=yes
   17344        fi
   17345      else
   17346        lt_cv_prog_compiler_static_works_GCJ=yes
   17347      fi
   17348    fi
   17349    $rm -r conftest*
   17350    LDFLAGS="$save_LDFLAGS"
   17351 
   17352 fi
   17353 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_GCJ" >&5
   17354 $as_echo "$lt_cv_prog_compiler_static_works_GCJ" >&6; }
   17355 
   17356 if test x"$lt_cv_prog_compiler_static_works_GCJ" = xyes; then
   17357     :
   17358 else
   17359     lt_prog_compiler_static_GCJ=
   17360 fi
   17361 
   17362 
   17363 { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
   17364 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   17365 if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
   17366   $as_echo_n "(cached) " >&6
   17367 else
   17368   lt_cv_prog_compiler_c_o_GCJ=no
   17369    $rm -r conftest 2>/dev/null
   17370    mkdir conftest
   17371    cd conftest
   17372    mkdir out
   17373    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   17374 
   17375    lt_compiler_flag="-o out/conftest2.$ac_objext"
   17376    # Insert the option either (1) after the last *FLAGS variable, or
   17377    # (2) before a word containing "conftest.", or (3) at the end.
   17378    # Note that $ac_compile itself does not contain backslashes and begins
   17379    # with a dollar sign (not a hyphen), so the echo should work correctly.
   17380    lt_compile=`echo "$ac_compile" | $SED \
   17381    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   17382    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   17383    -e 's:$: $lt_compiler_flag:'`
   17384    (eval echo "\"\$as_me:17384: $lt_compile\"" >&5)
   17385    (eval "$lt_compile" 2>out/conftest.err)
   17386    ac_status=$?
   17387    cat out/conftest.err >&5
   17388    echo "$as_me:17388: \$? = $ac_status" >&5
   17389    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   17390    then
   17391      # The compiler can only warn and ignore the option if not recognized
   17392      # So say no if there are warnings
   17393      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
   17394      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   17395      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   17396        lt_cv_prog_compiler_c_o_GCJ=yes
   17397      fi
   17398    fi
   17399    chmod u+w . 2>&5
   17400    $rm conftest*
   17401    # SGI C++ compiler will create directory out/ii_files/ for
   17402    # template instantiation
   17403    test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
   17404    $rm out/* && rmdir out
   17405    cd ..
   17406    rmdir conftest
   17407    $rm conftest*
   17408 
   17409 fi
   17410 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
   17411 $as_echo "$lt_cv_prog_compiler_c_o_GCJ" >&6; }
   17412 
   17413 
   17414 hard_links="nottested"
   17415 if test "$lt_cv_prog_compiler_c_o_GCJ" = no && test "$need_locks" != no; then
   17416   # do not overwrite the value of need_locks provided by the user
   17417   { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
   17418 $as_echo_n "checking if we can lock with hard links... " >&6; }
   17419   hard_links=yes
   17420   $rm conftest*
   17421   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   17422   touch conftest.a
   17423   ln conftest.a conftest.b 2>&5 || hard_links=no
   17424   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   17425   { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
   17426 $as_echo "$hard_links" >&6; }
   17427   if test "$hard_links" = no; then
   17428     { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   17429 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   17430     need_locks=warn
   17431   fi
   17432 else
   17433   need_locks=no
   17434 fi
   17435 
   17436 { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   17437 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   17438 
   17439   runpath_var=
   17440   allow_undefined_flag_GCJ=
   17441   enable_shared_with_static_runtimes_GCJ=no
   17442   archive_cmds_GCJ=
   17443   archive_expsym_cmds_GCJ=
   17444   old_archive_From_new_cmds_GCJ=
   17445   old_archive_from_expsyms_cmds_GCJ=
   17446   export_dynamic_flag_spec_GCJ=
   17447   whole_archive_flag_spec_GCJ=
   17448   thread_safe_flag_spec_GCJ=
   17449   hardcode_libdir_flag_spec_GCJ=
   17450   hardcode_libdir_flag_spec_ld_GCJ=
   17451   hardcode_libdir_separator_GCJ=
   17452   hardcode_direct_GCJ=no
   17453   hardcode_minus_L_GCJ=no
   17454   hardcode_shlibpath_var_GCJ=unsupported
   17455   link_all_deplibs_GCJ=unknown
   17456   hardcode_automatic_GCJ=no
   17457   module_cmds_GCJ=
   17458   module_expsym_cmds_GCJ=
   17459   always_export_symbols_GCJ=no
   17460   export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   17461   # include_expsyms should be a list of space-separated symbols to be *always*
   17462   # included in the symbol list
   17463   include_expsyms_GCJ=
   17464   # exclude_expsyms can be an extended regexp of symbols to exclude
   17465   # it will be wrapped by ` (' and `)$', so one must not match beginning or
   17466   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
   17467   # as well as any symbol that contains `d'.
   17468   exclude_expsyms_GCJ='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   17469   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   17470   # platforms (ab)use it in PIC code, but their linkers get confused if
   17471   # the symbol is explicitly referenced.  Since portable code cannot
   17472   # rely on this symbol name, it's probably fine to never include it in
   17473   # preloaded symbol tables.
   17474   # Exclude shared library initialization/finalization symbols.
   17475   extract_expsyms_cmds=
   17476   # Just being paranoid about ensuring that cc_basename is set.
   17477   for cc_temp in $compiler""; do
   17478   case $cc_temp in
   17479     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   17480     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   17481     \-*) ;;
   17482     *) break;;
   17483   esac
   17484 done
   17485 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   17486 
   17487   case $host_os in
   17488   cygwin* | mingw* | pw32*)
   17489     # FIXME: the MSVC++ port hasn't been tested in a loooong time
   17490     # When not using gcc, we currently assume that we are using
   17491     # Microsoft Visual C++.
   17492     if test "$GCC" != yes; then
   17493       with_gnu_ld=no
   17494     fi
   17495     ;;
   17496   interix*)
   17497     # we just hope/assume this is gcc and not c89 (= MSVC++)
   17498     with_gnu_ld=yes
   17499     ;;
   17500   openbsd*)
   17501     with_gnu_ld=no
   17502     ;;
   17503   esac
   17504 
   17505   ld_shlibs_GCJ=yes
   17506   if test "$with_gnu_ld" = yes; then
   17507     # If archive_cmds runs LD, not CC, wlarc should be empty
   17508     wlarc='${wl}'
   17509 
   17510     # Set some defaults for GNU ld with shared library support. These
   17511     # are reset later if shared libraries are not supported. Putting them
   17512     # here allows them to be overridden if necessary.
   17513     runpath_var=LD_RUN_PATH
   17514     hardcode_libdir_flag_spec_GCJ='${wl}--rpath ${wl}$libdir'
   17515     export_dynamic_flag_spec_GCJ='${wl}--export-dynamic'
   17516     # ancient GNU ld didn't support --whole-archive et. al.
   17517     if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
   17518 	whole_archive_flag_spec_GCJ="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   17519       else
   17520   	whole_archive_flag_spec_GCJ=
   17521     fi
   17522     supports_anon_versioning=no
   17523     case `$LD -v 2>/dev/null` in
   17524       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   17525       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   17526       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   17527       *\ 2.11.*) ;; # other 2.11 versions
   17528       *) supports_anon_versioning=yes ;;
   17529     esac
   17530 
   17531     # See if GNU ld supports shared libraries.
   17532     case $host_os in
   17533     aix[3-9]*)
   17534       # On AIX/PPC, the GNU linker is very broken
   17535       if test "$host_cpu" != ia64; then
   17536 	ld_shlibs_GCJ=no
   17537 	cat <<EOF 1>&2
   17538 
   17539 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
   17540 *** to be unable to reliably create shared libraries on AIX.
   17541 *** Therefore, libtool is disabling shared libraries support.  If you
   17542 *** really care for shared libraries, you may want to modify your PATH
   17543 *** so that a non-GNU linker is found, and then restart.
   17544 
   17545 EOF
   17546       fi
   17547       ;;
   17548 
   17549     amigaos*)
   17550       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)'
   17551       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   17552       hardcode_minus_L_GCJ=yes
   17553 
   17554       # Samuel A. Falvo II <kc5tja (at] dolphin.openprojects.net> reports
   17555       # that the semantics of dynamic libraries on AmigaOS, at least up
   17556       # to version 4, is to share data among multiple programs linked
   17557       # with the same dynamic library.  Since this doesn't match the
   17558       # behavior of shared libraries on other platforms, we can't use
   17559       # them.
   17560       ld_shlibs_GCJ=no
   17561       ;;
   17562 
   17563     beos*)
   17564       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   17565 	allow_undefined_flag_GCJ=unsupported
   17566 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   17567 	# support --undefined.  This deserves some investigation.  FIXME
   17568 	archive_cmds_GCJ='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   17569       else
   17570 	ld_shlibs_GCJ=no
   17571       fi
   17572       ;;
   17573 
   17574     cygwin* | mingw* | pw32*)
   17575       # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
   17576       # as there is no search path for DLLs.
   17577       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   17578       allow_undefined_flag_GCJ=unsupported
   17579       always_export_symbols_GCJ=no
   17580       enable_shared_with_static_runtimes_GCJ=yes
   17581       export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
   17582 
   17583       if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
   17584         archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   17585 	# If the export-symbols file already is a .def file (1st line
   17586 	# is EXPORTS), use it as is; otherwise, prepend...
   17587 	archive_expsym_cmds_GCJ='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   17588 	  cp $export_symbols $output_objdir/$soname.def;
   17589 	else
   17590 	  echo EXPORTS > $output_objdir/$soname.def;
   17591 	  cat $export_symbols >> $output_objdir/$soname.def;
   17592 	fi~
   17593 	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   17594       else
   17595 	ld_shlibs_GCJ=no
   17596       fi
   17597       ;;
   17598 
   17599     interix[3-9]*)
   17600       hardcode_direct_GCJ=no
   17601       hardcode_shlibpath_var_GCJ=no
   17602       hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
   17603       export_dynamic_flag_spec_GCJ='${wl}-E'
   17604       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   17605       # Instead, shared libraries are loaded at an image base (0x10000000 by
   17606       # default) and relocated if they conflict, which is a slow very memory
   17607       # consuming and fragmenting process.  To avoid this, we pick a random,
   17608       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   17609       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   17610       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'
   17611       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'
   17612       ;;
   17613 
   17614     gnu* | linux* | k*bsd*-gnu)
   17615       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   17616 	tmp_addflag=
   17617 	case $cc_basename,$host_cpu in
   17618 	pgcc*)				# Portland Group C compiler
   17619 	  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'
   17620 	  tmp_addflag=' $pic_flag'
   17621 	  ;;
   17622 	pgf77* | pgf90* | pgf95*)	# Portland Group f77 and f90 compilers
   17623 	  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'
   17624 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   17625 	ecc*,ia64* | icc*,ia64*)		# Intel C compiler on ia64
   17626 	  tmp_addflag=' -i_dynamic' ;;
   17627 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   17628 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   17629 	ifc* | ifort*)			# Intel Fortran compiler
   17630 	  tmp_addflag=' -nofor_main' ;;
   17631 	esac
   17632 	case `$CC -V 2>&1 | sed 5q` in
   17633 	*Sun\ C*)			# Sun C 5.9
   17634 	  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'
   17635 	  tmp_sharedflag='-G' ;;
   17636 	*Sun\ F*)			# Sun Fortran 8.3
   17637 	  tmp_sharedflag='-G' ;;
   17638 	*)
   17639 	  tmp_sharedflag='-shared' ;;
   17640 	esac
   17641 	archive_cmds_GCJ='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   17642 
   17643 	if test $supports_anon_versioning = yes; then
   17644 	  archive_expsym_cmds_GCJ='$echo "{ global:" > $output_objdir/$libname.ver~
   17645   cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   17646   $echo "local: *; };" >> $output_objdir/$libname.ver~
   17647 	  $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
   17648 	fi
   17649       else
   17650 	ld_shlibs_GCJ=no
   17651       fi
   17652       ;;
   17653 
   17654     netbsd*)
   17655       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   17656 	archive_cmds_GCJ='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   17657 	wlarc=
   17658       else
   17659 	archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   17660 	archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   17661       fi
   17662       ;;
   17663 
   17664     solaris*)
   17665       if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
   17666 	ld_shlibs_GCJ=no
   17667 	cat <<EOF 1>&2
   17668 
   17669 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   17670 *** create shared libraries on Solaris systems.  Therefore, libtool
   17671 *** is disabling shared libraries support.  We urge you to upgrade GNU
   17672 *** binutils to release 2.9.1 or newer.  Another option is to modify
   17673 *** your PATH or compiler configuration so that the native linker is
   17674 *** used, and then restart.
   17675 
   17676 EOF
   17677       elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   17678 	archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   17679 	archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   17680       else
   17681 	ld_shlibs_GCJ=no
   17682       fi
   17683       ;;
   17684 
   17685     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   17686       case `$LD -v 2>&1` in
   17687         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   17688 	ld_shlibs_GCJ=no
   17689 	cat <<_LT_EOF 1>&2
   17690 
   17691 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
   17692 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   17693 *** is disabling shared libraries support.  We urge you to upgrade GNU
   17694 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   17695 *** your PATH or compiler configuration so that the native linker is
   17696 *** used, and then restart.
   17697 
   17698 _LT_EOF
   17699 	;;
   17700 	*)
   17701 	  if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   17702 	    hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
   17703 	    archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
   17704 	    archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
   17705 	  else
   17706 	    ld_shlibs_GCJ=no
   17707 	  fi
   17708 	;;
   17709       esac
   17710       ;;
   17711 
   17712     sunos4*)
   17713       archive_cmds_GCJ='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   17714       wlarc=
   17715       hardcode_direct_GCJ=yes
   17716       hardcode_shlibpath_var_GCJ=no
   17717       ;;
   17718 
   17719     *)
   17720       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   17721 	archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   17722 	archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   17723       else
   17724 	ld_shlibs_GCJ=no
   17725       fi
   17726       ;;
   17727     esac
   17728 
   17729     if test "$ld_shlibs_GCJ" = no; then
   17730       runpath_var=
   17731       hardcode_libdir_flag_spec_GCJ=
   17732       export_dynamic_flag_spec_GCJ=
   17733       whole_archive_flag_spec_GCJ=
   17734     fi
   17735   else
   17736     # PORTME fill in a description of your system's linker (not GNU ld)
   17737     case $host_os in
   17738     aix3*)
   17739       allow_undefined_flag_GCJ=unsupported
   17740       always_export_symbols_GCJ=yes
   17741       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'
   17742       # Note: this linker hardcodes the directories in LIBPATH if there
   17743       # are no directories specified by -L.
   17744       hardcode_minus_L_GCJ=yes
   17745       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
   17746 	# Neither direct hardcoding nor static linking is supported with a
   17747 	# broken collect2.
   17748 	hardcode_direct_GCJ=unsupported
   17749       fi
   17750       ;;
   17751 
   17752     aix[4-9]*)
   17753       if test "$host_cpu" = ia64; then
   17754 	# On IA64, the linker does run time linking by default, so we don't
   17755 	# have to do anything special.
   17756 	aix_use_runtimelinking=no
   17757 	exp_sym_flag='-Bexport'
   17758 	no_entry_flag=""
   17759       else
   17760 	# If we're using GNU nm, then we don't want the "-C" option.
   17761 	# -C means demangle to AIX nm, but means don't demangle with GNU nm
   17762 	if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
   17763 	  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'
   17764 	else
   17765 	  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'
   17766 	fi
   17767 	aix_use_runtimelinking=no
   17768 
   17769 	# Test if we are trying to use run time linking or normal
   17770 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   17771 	# need to do runtime linking.
   17772 	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   17773 	  for ld_flag in $LDFLAGS; do
   17774   	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
   17775   	    aix_use_runtimelinking=yes
   17776   	    break
   17777   	  fi
   17778 	  done
   17779 	  ;;
   17780 	esac
   17781 
   17782 	exp_sym_flag='-bexport'
   17783 	no_entry_flag='-bnoentry'
   17784       fi
   17785 
   17786       # When large executables or shared objects are built, AIX ld can
   17787       # have problems creating the table of contents.  If linking a library
   17788       # or program results in "error TOC overflow" add -mminimal-toc to
   17789       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   17790       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   17791 
   17792       archive_cmds_GCJ=''
   17793       hardcode_direct_GCJ=yes
   17794       hardcode_libdir_separator_GCJ=':'
   17795       link_all_deplibs_GCJ=yes
   17796 
   17797       if test "$GCC" = yes; then
   17798 	case $host_os in aix4.[012]|aix4.[012].*)
   17799 	# We only want to do this on AIX 4.2 and lower, the check
   17800 	# below for broken collect2 doesn't work under 4.3+
   17801 	  collect2name=`${CC} -print-prog-name=collect2`
   17802 	  if test -f "$collect2name" && \
   17803   	   strings "$collect2name" | grep resolve_lib_name >/dev/null
   17804 	  then
   17805   	  # We have reworked collect2
   17806   	  :
   17807 	  else
   17808   	  # We have old collect2
   17809   	  hardcode_direct_GCJ=unsupported
   17810   	  # It fails to find uninstalled libraries when the uninstalled
   17811   	  # path is not listed in the libpath.  Setting hardcode_minus_L
   17812   	  # to unsupported forces relinking
   17813   	  hardcode_minus_L_GCJ=yes
   17814   	  hardcode_libdir_flag_spec_GCJ='-L$libdir'
   17815   	  hardcode_libdir_separator_GCJ=
   17816 	  fi
   17817 	  ;;
   17818 	esac
   17819 	shared_flag='-shared'
   17820 	if test "$aix_use_runtimelinking" = yes; then
   17821 	  shared_flag="$shared_flag "'${wl}-G'
   17822 	fi
   17823       else
   17824 	# not using gcc
   17825 	if test "$host_cpu" = ia64; then
   17826   	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   17827   	# chokes on -Wl,-G. The following line is correct:
   17828 	  shared_flag='-G'
   17829 	else
   17830 	  if test "$aix_use_runtimelinking" = yes; then
   17831 	    shared_flag='${wl}-G'
   17832 	  else
   17833 	    shared_flag='${wl}-bM:SRE'
   17834 	  fi
   17835 	fi
   17836       fi
   17837 
   17838       # It seems that -bexpall does not export symbols beginning with
   17839       # underscore (_), so it is better to generate a list of symbols to export.
   17840       always_export_symbols_GCJ=yes
   17841       if test "$aix_use_runtimelinking" = yes; then
   17842 	# Warning - without using the other runtime loading flags (-brtl),
   17843 	# -berok will link without error, but may produce a broken library.
   17844 	allow_undefined_flag_GCJ='-berok'
   17845        # Determine the default libpath from the value encoded in an empty executable.
   17846        cat >conftest.$ac_ext <<_ACEOF
   17847 /* confdefs.h.  */
   17848 _ACEOF
   17849 cat confdefs.h >>conftest.$ac_ext
   17850 cat >>conftest.$ac_ext <<_ACEOF
   17851 /* end confdefs.h.  */
   17852 
   17853 int
   17854 main ()
   17855 {
   17856 
   17857   ;
   17858   return 0;
   17859 }
   17860 _ACEOF
   17861 rm -f conftest.$ac_objext conftest$ac_exeext
   17862 if { (ac_try="$ac_link"
   17863 case "(($ac_try" in
   17864   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   17865   *) ac_try_echo=$ac_try;;
   17866 esac
   17867 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   17868 $as_echo "$ac_try_echo") >&5
   17869   (eval "$ac_link") 2>conftest.er1
   17870   ac_status=$?
   17871   grep -v '^ *+' conftest.er1 >conftest.err
   17872   rm -f conftest.er1
   17873   cat conftest.err >&5
   17874   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   17875   (exit $ac_status); } && {
   17876 	 test -z "$ac_c_werror_flag" ||
   17877 	 test ! -s conftest.err
   17878        } && test -s conftest$ac_exeext && {
   17879 	 test "$cross_compiling" = yes ||
   17880 	 $as_test_x conftest$ac_exeext
   17881        }; then
   17882 
   17883 lt_aix_libpath_sed='
   17884     /Import File Strings/,/^$/ {
   17885 	/^0/ {
   17886 	    s/^0  *\(.*\)$/\1/
   17887 	    p
   17888 	}
   17889     }'
   17890 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   17891 # Check for a 64-bit object if we didn't find anything.
   17892 if test -z "$aix_libpath"; then
   17893   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   17894 fi
   17895 else
   17896   $as_echo "$as_me: failed program was:" >&5
   17897 sed 's/^/| /' conftest.$ac_ext >&5
   17898 
   17899 
   17900 fi
   17901 
   17902 rm -rf conftest.dSYM
   17903 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   17904       conftest$ac_exeext conftest.$ac_ext
   17905 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   17906 
   17907        hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
   17908 	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"
   17909        else
   17910 	if test "$host_cpu" = ia64; then
   17911 	  hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib'
   17912 	  allow_undefined_flag_GCJ="-z nodefs"
   17913 	  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"
   17914 	else
   17915 	 # Determine the default libpath from the value encoded in an empty executable.
   17916 	 cat >conftest.$ac_ext <<_ACEOF
   17917 /* confdefs.h.  */
   17918 _ACEOF
   17919 cat confdefs.h >>conftest.$ac_ext
   17920 cat >>conftest.$ac_ext <<_ACEOF
   17921 /* end confdefs.h.  */
   17922 
   17923 int
   17924 main ()
   17925 {
   17926 
   17927   ;
   17928   return 0;
   17929 }
   17930 _ACEOF
   17931 rm -f conftest.$ac_objext conftest$ac_exeext
   17932 if { (ac_try="$ac_link"
   17933 case "(($ac_try" in
   17934   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   17935   *) ac_try_echo=$ac_try;;
   17936 esac
   17937 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   17938 $as_echo "$ac_try_echo") >&5
   17939   (eval "$ac_link") 2>conftest.er1
   17940   ac_status=$?
   17941   grep -v '^ *+' conftest.er1 >conftest.err
   17942   rm -f conftest.er1
   17943   cat conftest.err >&5
   17944   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   17945   (exit $ac_status); } && {
   17946 	 test -z "$ac_c_werror_flag" ||
   17947 	 test ! -s conftest.err
   17948        } && test -s conftest$ac_exeext && {
   17949 	 test "$cross_compiling" = yes ||
   17950 	 $as_test_x conftest$ac_exeext
   17951        }; then
   17952 
   17953 lt_aix_libpath_sed='
   17954     /Import File Strings/,/^$/ {
   17955 	/^0/ {
   17956 	    s/^0  *\(.*\)$/\1/
   17957 	    p
   17958 	}
   17959     }'
   17960 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   17961 # Check for a 64-bit object if we didn't find anything.
   17962 if test -z "$aix_libpath"; then
   17963   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   17964 fi
   17965 else
   17966   $as_echo "$as_me: failed program was:" >&5
   17967 sed 's/^/| /' conftest.$ac_ext >&5
   17968 
   17969 
   17970 fi
   17971 
   17972 rm -rf conftest.dSYM
   17973 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   17974       conftest$ac_exeext conftest.$ac_ext
   17975 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   17976 
   17977 	 hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
   17978 	  # Warning - without using the other run time loading flags,
   17979 	  # -berok will link without error, but may produce a broken library.
   17980 	  no_undefined_flag_GCJ=' ${wl}-bernotok'
   17981 	  allow_undefined_flag_GCJ=' ${wl}-berok'
   17982 	  # Exported symbols can be pulled into shared objects from archives
   17983 	  whole_archive_flag_spec_GCJ='$convenience'
   17984 	  archive_cmds_need_lc_GCJ=yes
   17985 	  # This is similar to how AIX traditionally builds its shared libraries.
   17986 	  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'
   17987 	fi
   17988       fi
   17989       ;;
   17990 
   17991     amigaos*)
   17992       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)'
   17993       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   17994       hardcode_minus_L_GCJ=yes
   17995       # see comment about different semantics on the GNU ld section
   17996       ld_shlibs_GCJ=no
   17997       ;;
   17998 
   17999     bsdi[45]*)
   18000       export_dynamic_flag_spec_GCJ=-rdynamic
   18001       ;;
   18002 
   18003     cygwin* | mingw* | pw32*)
   18004       # When not using gcc, we currently assume that we are using
   18005       # Microsoft Visual C++.
   18006       # hardcode_libdir_flag_spec is actually meaningless, as there is
   18007       # no search path for DLLs.
   18008       hardcode_libdir_flag_spec_GCJ=' '
   18009       allow_undefined_flag_GCJ=unsupported
   18010       # Tell ltmain to make .lib files, not .a files.
   18011       libext=lib
   18012       # Tell ltmain to make .dll files, not .so files.
   18013       shrext_cmds=".dll"
   18014       # FIXME: Setting linknames here is a bad hack.
   18015       archive_cmds_GCJ='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
   18016       # The linker will automatically build a .lib file if we build a DLL.
   18017       old_archive_From_new_cmds_GCJ='true'
   18018       # FIXME: Should let the user specify the lib program.
   18019       old_archive_cmds_GCJ='lib -OUT:$oldlib$oldobjs$old_deplibs'
   18020       fix_srcfile_path_GCJ='`cygpath -w "$srcfile"`'
   18021       enable_shared_with_static_runtimes_GCJ=yes
   18022       ;;
   18023 
   18024     darwin* | rhapsody*)
   18025       case $host_os in
   18026         rhapsody* | darwin1.[012])
   18027          allow_undefined_flag_GCJ='${wl}-undefined ${wl}suppress'
   18028          ;;
   18029        *) # Darwin 1.3 on
   18030          if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
   18031            allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   18032          else
   18033            case ${MACOSX_DEPLOYMENT_TARGET} in
   18034              10.[012])
   18035                allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   18036                ;;
   18037              10.*)
   18038                allow_undefined_flag_GCJ='${wl}-undefined ${wl}dynamic_lookup'
   18039                ;;
   18040            esac
   18041          fi
   18042          ;;
   18043       esac
   18044       archive_cmds_need_lc_GCJ=no
   18045       hardcode_direct_GCJ=no
   18046       hardcode_automatic_GCJ=yes
   18047       hardcode_shlibpath_var_GCJ=unsupported
   18048       whole_archive_flag_spec_GCJ=''
   18049       link_all_deplibs_GCJ=yes
   18050     if test "$GCC" = yes ; then
   18051     	output_verbose_link_cmd='echo'
   18052         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}"
   18053         module_cmds_GCJ="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
   18054         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}"
   18055         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}"
   18056     else
   18057       case $cc_basename in
   18058         xlc*)
   18059          output_verbose_link_cmd='echo'
   18060          archive_cmds_GCJ='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
   18061          module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
   18062           # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
   18063          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}'
   18064           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}'
   18065           ;;
   18066        *)
   18067          ld_shlibs_GCJ=no
   18068           ;;
   18069       esac
   18070     fi
   18071       ;;
   18072 
   18073     dgux*)
   18074       archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   18075       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   18076       hardcode_shlibpath_var_GCJ=no
   18077       ;;
   18078 
   18079     freebsd1*)
   18080       ld_shlibs_GCJ=no
   18081       ;;
   18082 
   18083     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   18084     # support.  Future versions do this automatically, but an explicit c++rt0.o
   18085     # does not break anything, and helps significantly (at the cost of a little
   18086     # extra space).
   18087     freebsd2.2*)
   18088       archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   18089       hardcode_libdir_flag_spec_GCJ='-R$libdir'
   18090       hardcode_direct_GCJ=yes
   18091       hardcode_shlibpath_var_GCJ=no
   18092       ;;
   18093 
   18094     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   18095     freebsd2*)
   18096       archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   18097       hardcode_direct_GCJ=yes
   18098       hardcode_minus_L_GCJ=yes
   18099       hardcode_shlibpath_var_GCJ=no
   18100       ;;
   18101 
   18102     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   18103     freebsd* | dragonfly*)
   18104       archive_cmds_GCJ='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
   18105       hardcode_libdir_flag_spec_GCJ='-R$libdir'
   18106       hardcode_direct_GCJ=yes
   18107       hardcode_shlibpath_var_GCJ=no
   18108       ;;
   18109 
   18110     hpux9*)
   18111       if test "$GCC" = yes; then
   18112 	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'
   18113       else
   18114 	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'
   18115       fi
   18116       hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
   18117       hardcode_libdir_separator_GCJ=:
   18118       hardcode_direct_GCJ=yes
   18119 
   18120       # hardcode_minus_L: Not really in the search PATH,
   18121       # but as the default location of the library.
   18122       hardcode_minus_L_GCJ=yes
   18123       export_dynamic_flag_spec_GCJ='${wl}-E'
   18124       ;;
   18125 
   18126     hpux10*)
   18127       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   18128 	archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   18129       else
   18130 	archive_cmds_GCJ='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   18131       fi
   18132       if test "$with_gnu_ld" = no; then
   18133 	hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
   18134 	hardcode_libdir_separator_GCJ=:
   18135 
   18136 	hardcode_direct_GCJ=yes
   18137 	export_dynamic_flag_spec_GCJ='${wl}-E'
   18138 
   18139 	# hardcode_minus_L: Not really in the search PATH,
   18140 	# but as the default location of the library.
   18141 	hardcode_minus_L_GCJ=yes
   18142       fi
   18143       ;;
   18144 
   18145     hpux11*)
   18146       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   18147 	case $host_cpu in
   18148 	hppa*64*)
   18149 	  archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   18150 	  ;;
   18151 	ia64*)
   18152 	  archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   18153 	  ;;
   18154 	*)
   18155 	  archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   18156 	  ;;
   18157 	esac
   18158       else
   18159 	case $host_cpu in
   18160 	hppa*64*)
   18161 	  archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   18162 	  ;;
   18163 	ia64*)
   18164 	  archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   18165 	  ;;
   18166 	*)
   18167 	  archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   18168 	  ;;
   18169 	esac
   18170       fi
   18171       if test "$with_gnu_ld" = no; then
   18172 	hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
   18173 	hardcode_libdir_separator_GCJ=:
   18174 
   18175 	case $host_cpu in
   18176 	hppa*64*|ia64*)
   18177 	  hardcode_libdir_flag_spec_ld_GCJ='+b $libdir'
   18178 	  hardcode_direct_GCJ=no
   18179 	  hardcode_shlibpath_var_GCJ=no
   18180 	  ;;
   18181 	*)
   18182 	  hardcode_direct_GCJ=yes
   18183 	  export_dynamic_flag_spec_GCJ='${wl}-E'
   18184 
   18185 	  # hardcode_minus_L: Not really in the search PATH,
   18186 	  # but as the default location of the library.
   18187 	  hardcode_minus_L_GCJ=yes
   18188 	  ;;
   18189 	esac
   18190       fi
   18191       ;;
   18192 
   18193     irix5* | irix6* | nonstopux*)
   18194       if test "$GCC" = yes; then
   18195 	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'
   18196       else
   18197 	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'
   18198 	hardcode_libdir_flag_spec_ld_GCJ='-rpath $libdir'
   18199       fi
   18200       hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
   18201       hardcode_libdir_separator_GCJ=:
   18202       link_all_deplibs_GCJ=yes
   18203       ;;
   18204 
   18205     netbsd*)
   18206       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   18207 	archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   18208       else
   18209 	archive_cmds_GCJ='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   18210       fi
   18211       hardcode_libdir_flag_spec_GCJ='-R$libdir'
   18212       hardcode_direct_GCJ=yes
   18213       hardcode_shlibpath_var_GCJ=no
   18214       ;;
   18215 
   18216     newsos6)
   18217       archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   18218       hardcode_direct_GCJ=yes
   18219       hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
   18220       hardcode_libdir_separator_GCJ=:
   18221       hardcode_shlibpath_var_GCJ=no
   18222       ;;
   18223 
   18224     openbsd*)
   18225       if test -f /usr/libexec/ld.so; then
   18226 	hardcode_direct_GCJ=yes
   18227 	hardcode_shlibpath_var_GCJ=no
   18228 	if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   18229 	  archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   18230 	  archive_expsym_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
   18231 	  hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
   18232 	  export_dynamic_flag_spec_GCJ='${wl}-E'
   18233 	else
   18234 	  case $host_os in
   18235 	   openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
   18236 	     archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   18237 	     hardcode_libdir_flag_spec_GCJ='-R$libdir'
   18238 	     ;;
   18239 	   *)
   18240 	     archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   18241 	     hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
   18242 	     ;;
   18243 	  esac
   18244         fi
   18245       else
   18246 	ld_shlibs_GCJ=no
   18247       fi
   18248       ;;
   18249 
   18250     os2*)
   18251       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   18252       hardcode_minus_L_GCJ=yes
   18253       allow_undefined_flag_GCJ=unsupported
   18254       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'
   18255       old_archive_From_new_cmds_GCJ='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
   18256       ;;
   18257 
   18258     osf3*)
   18259       if test "$GCC" = yes; then
   18260 	allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
   18261 	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'
   18262       else
   18263 	allow_undefined_flag_GCJ=' -expect_unresolved \*'
   18264 	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'
   18265       fi
   18266       hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
   18267       hardcode_libdir_separator_GCJ=:
   18268       ;;
   18269 
   18270     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   18271       if test "$GCC" = yes; then
   18272 	allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
   18273 	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'
   18274 	hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
   18275       else
   18276 	allow_undefined_flag_GCJ=' -expect_unresolved \*'
   18277 	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'
   18278 	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~
   18279 	$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'
   18280 
   18281 	# Both c and cxx compiler support -rpath directly
   18282 	hardcode_libdir_flag_spec_GCJ='-rpath $libdir'
   18283       fi
   18284       hardcode_libdir_separator_GCJ=:
   18285       ;;
   18286 
   18287     solaris*)
   18288       no_undefined_flag_GCJ=' -z text'
   18289       if test "$GCC" = yes; then
   18290 	wlarc='${wl}'
   18291 	archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   18292 	archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   18293 	  $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
   18294       else
   18295 	wlarc=''
   18296 	archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
   18297 	archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   18298   	$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
   18299       fi
   18300       hardcode_libdir_flag_spec_GCJ='-R$libdir'
   18301       hardcode_shlibpath_var_GCJ=no
   18302       case $host_os in
   18303       solaris2.[0-5] | solaris2.[0-5].*) ;;
   18304       *)
   18305 	# The compiler driver will combine and reorder linker options,
   18306 	# but understands `-z linker_flag'.  GCC discards it without `$wl',
   18307 	# but is careful enough not to reorder.
   18308  	# Supported since Solaris 2.6 (maybe 2.5.1?)
   18309 	if test "$GCC" = yes; then
   18310 	  whole_archive_flag_spec_GCJ='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
   18311 	else
   18312 	  whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract'
   18313 	fi
   18314 	;;
   18315       esac
   18316       link_all_deplibs_GCJ=yes
   18317       ;;
   18318 
   18319     sunos4*)
   18320       if test "x$host_vendor" = xsequent; then
   18321 	# Use $CC to link under sequent, because it throws in some extra .o
   18322 	# files that make .init and .fini sections work.
   18323 	archive_cmds_GCJ='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   18324       else
   18325 	archive_cmds_GCJ='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   18326       fi
   18327       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   18328       hardcode_direct_GCJ=yes
   18329       hardcode_minus_L_GCJ=yes
   18330       hardcode_shlibpath_var_GCJ=no
   18331       ;;
   18332 
   18333     sysv4)
   18334       case $host_vendor in
   18335 	sni)
   18336 	  archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   18337 	  hardcode_direct_GCJ=yes # is this really true???
   18338 	;;
   18339 	siemens)
   18340 	  ## LD is ld it makes a PLAMLIB
   18341 	  ## CC just makes a GrossModule.
   18342 	  archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   18343 	  reload_cmds_GCJ='$CC -r -o $output$reload_objs'
   18344 	  hardcode_direct_GCJ=no
   18345         ;;
   18346 	motorola)
   18347 	  archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   18348 	  hardcode_direct_GCJ=no #Motorola manual says yes, but my tests say they lie
   18349 	;;
   18350       esac
   18351       runpath_var='LD_RUN_PATH'
   18352       hardcode_shlibpath_var_GCJ=no
   18353       ;;
   18354 
   18355     sysv4.3*)
   18356       archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   18357       hardcode_shlibpath_var_GCJ=no
   18358       export_dynamic_flag_spec_GCJ='-Bexport'
   18359       ;;
   18360 
   18361     sysv4*MP*)
   18362       if test -d /usr/nec; then
   18363 	archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   18364 	hardcode_shlibpath_var_GCJ=no
   18365 	runpath_var=LD_RUN_PATH
   18366 	hardcode_runpath_var=yes
   18367 	ld_shlibs_GCJ=yes
   18368       fi
   18369       ;;
   18370 
   18371     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   18372       no_undefined_flag_GCJ='${wl}-z,text'
   18373       archive_cmds_need_lc_GCJ=no
   18374       hardcode_shlibpath_var_GCJ=no
   18375       runpath_var='LD_RUN_PATH'
   18376 
   18377       if test "$GCC" = yes; then
   18378 	archive_cmds_GCJ='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   18379 	archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   18380       else
   18381 	archive_cmds_GCJ='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   18382 	archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   18383       fi
   18384       ;;
   18385 
   18386     sysv5* | sco3.2v5* | sco5v6*)
   18387       # Note: We can NOT use -z defs as we might desire, because we do not
   18388       # link with -lc, and that would cause any symbols used from libc to
   18389       # always be unresolved, which means just about no library would
   18390       # ever link correctly.  If we're not using GNU ld we use -z text
   18391       # though, which does catch some bad symbols but isn't as heavy-handed
   18392       # as -z defs.
   18393       no_undefined_flag_GCJ='${wl}-z,text'
   18394       allow_undefined_flag_GCJ='${wl}-z,nodefs'
   18395       archive_cmds_need_lc_GCJ=no
   18396       hardcode_shlibpath_var_GCJ=no
   18397       hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
   18398       hardcode_libdir_separator_GCJ=':'
   18399       link_all_deplibs_GCJ=yes
   18400       export_dynamic_flag_spec_GCJ='${wl}-Bexport'
   18401       runpath_var='LD_RUN_PATH'
   18402 
   18403       if test "$GCC" = yes; then
   18404 	archive_cmds_GCJ='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   18405 	archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   18406       else
   18407 	archive_cmds_GCJ='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   18408 	archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   18409       fi
   18410       ;;
   18411 
   18412     uts4*)
   18413       archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   18414       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   18415       hardcode_shlibpath_var_GCJ=no
   18416       ;;
   18417 
   18418     *)
   18419       ld_shlibs_GCJ=no
   18420       ;;
   18421     esac
   18422   fi
   18423 
   18424 { $as_echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
   18425 $as_echo "$ld_shlibs_GCJ" >&6; }
   18426 test "$ld_shlibs_GCJ" = no && can_build_shared=no
   18427 
   18428 #
   18429 # Do we need to explicitly link libc?
   18430 #
   18431 case "x$archive_cmds_need_lc_GCJ" in
   18432 x|xyes)
   18433   # Assume -lc should be added
   18434   archive_cmds_need_lc_GCJ=yes
   18435 
   18436   if test "$enable_shared" = yes && test "$GCC" = yes; then
   18437     case $archive_cmds_GCJ in
   18438     *'~'*)
   18439       # FIXME: we may have to deal with multi-command sequences.
   18440       ;;
   18441     '$CC '*)
   18442       # Test whether the compiler implicitly links with -lc since on some
   18443       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   18444       # to ld, don't add -lc before -lgcc.
   18445       { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
   18446 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
   18447       $rm conftest*
   18448       echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   18449 
   18450       if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   18451   (eval $ac_compile) 2>&5
   18452   ac_status=$?
   18453   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   18454   (exit $ac_status); } 2>conftest.err; then
   18455         soname=conftest
   18456         lib=conftest
   18457         libobjs=conftest.$ac_objext
   18458         deplibs=
   18459         wl=$lt_prog_compiler_wl_GCJ
   18460 	pic_flag=$lt_prog_compiler_pic_GCJ
   18461         compiler_flags=-v
   18462         linker_flags=-v
   18463         verstring=
   18464         output_objdir=.
   18465         libname=conftest
   18466         lt_save_allow_undefined_flag=$allow_undefined_flag_GCJ
   18467         allow_undefined_flag_GCJ=
   18468         if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
   18469   (eval $archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
   18470   ac_status=$?
   18471   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   18472   (exit $ac_status); }
   18473         then
   18474 	  archive_cmds_need_lc_GCJ=no
   18475         else
   18476 	  archive_cmds_need_lc_GCJ=yes
   18477         fi
   18478         allow_undefined_flag_GCJ=$lt_save_allow_undefined_flag
   18479       else
   18480         cat conftest.err 1>&5
   18481       fi
   18482       $rm conftest*
   18483       { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
   18484 $as_echo "$archive_cmds_need_lc_GCJ" >&6; }
   18485       ;;
   18486     esac
   18487   fi
   18488   ;;
   18489 esac
   18490 
   18491 { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
   18492 $as_echo_n "checking dynamic linker characteristics... " >&6; }
   18493 library_names_spec=
   18494 libname_spec='lib$name'
   18495 soname_spec=
   18496 shrext_cmds=".so"
   18497 postinstall_cmds=
   18498 postuninstall_cmds=
   18499 finish_cmds=
   18500 finish_eval=
   18501 shlibpath_var=
   18502 shlibpath_overrides_runpath=unknown
   18503 version_type=none
   18504 dynamic_linker="$host_os ld.so"
   18505 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   18506 
   18507 need_lib_prefix=unknown
   18508 hardcode_into_libs=no
   18509 
   18510 # when you set need_version to no, make sure it does not cause -set_version
   18511 # flags to be left without arguments
   18512 need_version=unknown
   18513 
   18514 case $host_os in
   18515 aix3*)
   18516   version_type=linux
   18517   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   18518   shlibpath_var=LIBPATH
   18519 
   18520   # AIX 3 has no versioning support, so we append a major version to the name.
   18521   soname_spec='${libname}${release}${shared_ext}$major'
   18522   ;;
   18523 
   18524 aix[4-9]*)
   18525   version_type=linux
   18526   need_lib_prefix=no
   18527   need_version=no
   18528   hardcode_into_libs=yes
   18529   if test "$host_cpu" = ia64; then
   18530     # AIX 5 supports IA64
   18531     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
   18532     shlibpath_var=LD_LIBRARY_PATH
   18533   else
   18534     # With GCC up to 2.95.x, collect2 would create an import file
   18535     # for dependence libraries.  The import file would start with
   18536     # the line `#! .'.  This would cause the generated library to
   18537     # depend on `.', always an invalid library.  This was fixed in
   18538     # development snapshots of GCC prior to 3.0.
   18539     case $host_os in
   18540       aix4 | aix4.[01] | aix4.[01].*)
   18541       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   18542 	   echo ' yes '
   18543 	   echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
   18544 	:
   18545       else
   18546 	can_build_shared=no
   18547       fi
   18548       ;;
   18549     esac
   18550     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
   18551     # soname into executable. Probably we can add versioning support to
   18552     # collect2, so additional links can be useful in future.
   18553     if test "$aix_use_runtimelinking" = yes; then
   18554       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   18555       # instead of lib<name>.a to let people know that these are not
   18556       # typical AIX shared libraries.
   18557       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18558     else
   18559       # We preserve .a as extension for shared libraries through AIX4.2
   18560       # and later when we are not doing run time linking.
   18561       library_names_spec='${libname}${release}.a $libname.a'
   18562       soname_spec='${libname}${release}${shared_ext}$major'
   18563     fi
   18564     shlibpath_var=LIBPATH
   18565   fi
   18566   ;;
   18567 
   18568 amigaos*)
   18569   library_names_spec='$libname.ixlibrary $libname.a'
   18570   # Create ${libname}_ixlibrary.a entries in /sys/libs.
   18571   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'
   18572   ;;
   18573 
   18574 beos*)
   18575   library_names_spec='${libname}${shared_ext}'
   18576   dynamic_linker="$host_os ld.so"
   18577   shlibpath_var=LIBRARY_PATH
   18578   ;;
   18579 
   18580 bsdi[45]*)
   18581   version_type=linux
   18582   need_version=no
   18583   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18584   soname_spec='${libname}${release}${shared_ext}$major'
   18585   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   18586   shlibpath_var=LD_LIBRARY_PATH
   18587   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   18588   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   18589   # the default ld.so.conf also contains /usr/contrib/lib and
   18590   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   18591   # libtool to hard-code these into programs
   18592   ;;
   18593 
   18594 cygwin* | mingw* | pw32*)
   18595   version_type=windows
   18596   shrext_cmds=".dll"
   18597   need_version=no
   18598   need_lib_prefix=no
   18599 
   18600   case $GCC,$host_os in
   18601   yes,cygwin* | yes,mingw* | yes,pw32*)
   18602     library_names_spec='$libname.dll.a'
   18603     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   18604     postinstall_cmds='base_file=`basename \${file}`~
   18605       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
   18606       dldir=$destdir/`dirname \$dlpath`~
   18607       test -d \$dldir || mkdir -p \$dldir~
   18608       $install_prog $dir/$dlname \$dldir/$dlname~
   18609       chmod a+x \$dldir/$dlname'
   18610     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   18611       dlpath=$dir/\$dldll~
   18612        $rm \$dlpath'
   18613     shlibpath_overrides_runpath=yes
   18614 
   18615     case $host_os in
   18616     cygwin*)
   18617       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   18618       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   18619       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
   18620       ;;
   18621     mingw*)
   18622       # MinGW DLLs use traditional 'lib' prefix
   18623       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   18624       sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   18625       if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
   18626         # It is most probably a Windows format PATH printed by
   18627         # mingw gcc, but we are running on Cygwin. Gcc prints its search
   18628         # path with ; separators, and with drive letters. We can handle the
   18629         # drive letters (cygwin fileutils understands them), so leave them,
   18630         # especially as we might pass files found there to a mingw objdump,
   18631         # which wouldn't understand a cygwinified path. Ahh.
   18632         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   18633       else
   18634         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   18635       fi
   18636       ;;
   18637     pw32*)
   18638       # pw32 DLLs use 'pw' prefix rather than 'lib'
   18639       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   18640       ;;
   18641     esac
   18642     ;;
   18643 
   18644   *)
   18645     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
   18646     ;;
   18647   esac
   18648   dynamic_linker='Win32 ld.exe'
   18649   # FIXME: first we should search . and the directory the executable is in
   18650   shlibpath_var=PATH
   18651   ;;
   18652 
   18653 darwin* | rhapsody*)
   18654   dynamic_linker="$host_os dyld"
   18655   version_type=darwin
   18656   need_lib_prefix=no
   18657   need_version=no
   18658   library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
   18659   soname_spec='${libname}${release}${major}$shared_ext'
   18660   shlibpath_overrides_runpath=yes
   18661   shlibpath_var=DYLD_LIBRARY_PATH
   18662   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   18663 
   18664   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   18665   ;;
   18666 
   18667 dgux*)
   18668   version_type=linux
   18669   need_lib_prefix=no
   18670   need_version=no
   18671   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
   18672   soname_spec='${libname}${release}${shared_ext}$major'
   18673   shlibpath_var=LD_LIBRARY_PATH
   18674   ;;
   18675 
   18676 freebsd1*)
   18677   dynamic_linker=no
   18678   ;;
   18679 
   18680 freebsd* | dragonfly*)
   18681   # DragonFly does not have aout.  When/if they implement a new
   18682   # versioning mechanism, adjust this.
   18683   if test -x /usr/bin/objformat; then
   18684     objformat=`/usr/bin/objformat`
   18685   else
   18686     case $host_os in
   18687     freebsd[123]*) objformat=aout ;;
   18688     *) objformat=elf ;;
   18689     esac
   18690   fi
   18691   version_type=freebsd-$objformat
   18692   case $version_type in
   18693     freebsd-elf*)
   18694       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   18695       need_version=no
   18696       need_lib_prefix=no
   18697       ;;
   18698     freebsd-*)
   18699       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
   18700       need_version=yes
   18701       ;;
   18702   esac
   18703   shlibpath_var=LD_LIBRARY_PATH
   18704   case $host_os in
   18705   freebsd2*)
   18706     shlibpath_overrides_runpath=yes
   18707     ;;
   18708   freebsd3.[01]* | freebsdelf3.[01]*)
   18709     shlibpath_overrides_runpath=yes
   18710     hardcode_into_libs=yes
   18711     ;;
   18712   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   18713   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   18714     shlibpath_overrides_runpath=no
   18715     hardcode_into_libs=yes
   18716     ;;
   18717   *) # from 4.6 on, and DragonFly
   18718     shlibpath_overrides_runpath=yes
   18719     hardcode_into_libs=yes
   18720     ;;
   18721   esac
   18722   ;;
   18723 
   18724 gnu*)
   18725   version_type=linux
   18726   need_lib_prefix=no
   18727   need_version=no
   18728   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   18729   soname_spec='${libname}${release}${shared_ext}$major'
   18730   shlibpath_var=LD_LIBRARY_PATH
   18731   hardcode_into_libs=yes
   18732   ;;
   18733 
   18734 hpux9* | hpux10* | hpux11*)
   18735   # Give a soname corresponding to the major version so that dld.sl refuses to
   18736   # link against other versions.
   18737   version_type=sunos
   18738   need_lib_prefix=no
   18739   need_version=no
   18740   case $host_cpu in
   18741   ia64*)
   18742     shrext_cmds='.so'
   18743     hardcode_into_libs=yes
   18744     dynamic_linker="$host_os dld.so"
   18745     shlibpath_var=LD_LIBRARY_PATH
   18746     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   18747     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18748     soname_spec='${libname}${release}${shared_ext}$major'
   18749     if test "X$HPUX_IA64_MODE" = X32; then
   18750       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   18751     else
   18752       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   18753     fi
   18754     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   18755     ;;
   18756    hppa*64*)
   18757      shrext_cmds='.sl'
   18758      hardcode_into_libs=yes
   18759      dynamic_linker="$host_os dld.sl"
   18760      shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   18761      shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   18762      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18763      soname_spec='${libname}${release}${shared_ext}$major'
   18764      sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   18765      sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   18766      ;;
   18767    *)
   18768     shrext_cmds='.sl'
   18769     dynamic_linker="$host_os dld.sl"
   18770     shlibpath_var=SHLIB_PATH
   18771     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   18772     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18773     soname_spec='${libname}${release}${shared_ext}$major'
   18774     ;;
   18775   esac
   18776   # HP-UX runs *really* slowly unless shared libraries are mode 555.
   18777   postinstall_cmds='chmod 555 $lib'
   18778   ;;
   18779 
   18780 interix[3-9]*)
   18781   version_type=linux
   18782   need_lib_prefix=no
   18783   need_version=no
   18784   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   18785   soname_spec='${libname}${release}${shared_ext}$major'
   18786   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   18787   shlibpath_var=LD_LIBRARY_PATH
   18788   shlibpath_overrides_runpath=no
   18789   hardcode_into_libs=yes
   18790   ;;
   18791 
   18792 irix5* | irix6* | nonstopux*)
   18793   case $host_os in
   18794     nonstopux*) version_type=nonstopux ;;
   18795     *)
   18796 	if test "$lt_cv_prog_gnu_ld" = yes; then
   18797 		version_type=linux
   18798 	else
   18799 		version_type=irix
   18800 	fi ;;
   18801   esac
   18802   need_lib_prefix=no
   18803   need_version=no
   18804   soname_spec='${libname}${release}${shared_ext}$major'
   18805   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
   18806   case $host_os in
   18807   irix5* | nonstopux*)
   18808     libsuff= shlibsuff=
   18809     ;;
   18810   *)
   18811     case $LD in # libtool.m4 will add one of these switches to LD
   18812     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   18813       libsuff= shlibsuff= libmagic=32-bit;;
   18814     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   18815       libsuff=32 shlibsuff=N32 libmagic=N32;;
   18816     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   18817       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   18818     *) libsuff= shlibsuff= libmagic=never-match;;
   18819     esac
   18820     ;;
   18821   esac
   18822   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   18823   shlibpath_overrides_runpath=no
   18824   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   18825   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   18826   hardcode_into_libs=yes
   18827   ;;
   18828 
   18829 # No shared lib support for Linux oldld, aout, or coff.
   18830 linux*oldld* | linux*aout* | linux*coff*)
   18831   dynamic_linker=no
   18832   ;;
   18833 
   18834 # This must be Linux ELF.
   18835 linux* | k*bsd*-gnu)
   18836   version_type=linux
   18837   need_lib_prefix=no
   18838   need_version=no
   18839   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18840   soname_spec='${libname}${release}${shared_ext}$major'
   18841   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   18842   shlibpath_var=LD_LIBRARY_PATH
   18843   shlibpath_overrides_runpath=no
   18844   # This implies no fast_install, which is unacceptable.
   18845   # Some rework will be needed to allow for fast_install
   18846   # before this can be enabled.
   18847   hardcode_into_libs=yes
   18848 
   18849   # Append ld.so.conf contents to the search path
   18850   if test -f /etc/ld.so.conf; then
   18851     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' ' '`
   18852     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   18853   fi
   18854 
   18855   # We used to test for /lib/ld.so.1 and disable shared libraries on
   18856   # powerpc, because MkLinux only supported shared libraries with the
   18857   # GNU dynamic linker.  Since this was broken with cross compilers,
   18858   # most powerpc-linux boxes support dynamic linking these days and
   18859   # people can always --disable-shared, the test was removed, and we
   18860   # assume the GNU/Linux dynamic linker is in use.
   18861   dynamic_linker='GNU/Linux ld.so'
   18862   ;;
   18863 
   18864 netbsd*)
   18865   version_type=sunos
   18866   need_lib_prefix=no
   18867   need_version=no
   18868   if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   18869     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   18870     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   18871     dynamic_linker='NetBSD (a.out) ld.so'
   18872   else
   18873     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   18874     soname_spec='${libname}${release}${shared_ext}$major'
   18875     dynamic_linker='NetBSD ld.elf_so'
   18876   fi
   18877   shlibpath_var=LD_LIBRARY_PATH
   18878   shlibpath_overrides_runpath=yes
   18879   hardcode_into_libs=yes
   18880   ;;
   18881 
   18882 newsos6)
   18883   version_type=linux
   18884   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18885   shlibpath_var=LD_LIBRARY_PATH
   18886   shlibpath_overrides_runpath=yes
   18887   ;;
   18888 
   18889 nto-qnx*)
   18890   version_type=linux
   18891   need_lib_prefix=no
   18892   need_version=no
   18893   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18894   soname_spec='${libname}${release}${shared_ext}$major'
   18895   shlibpath_var=LD_LIBRARY_PATH
   18896   shlibpath_overrides_runpath=yes
   18897   ;;
   18898 
   18899 openbsd*)
   18900   version_type=sunos
   18901   sys_lib_dlsearch_path_spec="/usr/lib"
   18902   need_lib_prefix=no
   18903   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
   18904   case $host_os in
   18905     openbsd3.3 | openbsd3.3.*) need_version=yes ;;
   18906     *)                         need_version=no  ;;
   18907   esac
   18908   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   18909   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   18910   shlibpath_var=LD_LIBRARY_PATH
   18911   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   18912     case $host_os in
   18913       openbsd2.[89] | openbsd2.[89].*)
   18914 	shlibpath_overrides_runpath=no
   18915 	;;
   18916       *)
   18917 	shlibpath_overrides_runpath=yes
   18918 	;;
   18919       esac
   18920   else
   18921     shlibpath_overrides_runpath=yes
   18922   fi
   18923   ;;
   18924 
   18925 os2*)
   18926   libname_spec='$name'
   18927   shrext_cmds=".dll"
   18928   need_lib_prefix=no
   18929   library_names_spec='$libname${shared_ext} $libname.a'
   18930   dynamic_linker='OS/2 ld.exe'
   18931   shlibpath_var=LIBPATH
   18932   ;;
   18933 
   18934 osf3* | osf4* | osf5*)
   18935   version_type=osf
   18936   need_lib_prefix=no
   18937   need_version=no
   18938   soname_spec='${libname}${release}${shared_ext}$major'
   18939   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18940   shlibpath_var=LD_LIBRARY_PATH
   18941   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   18942   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   18943   ;;
   18944 
   18945 rdos*)
   18946   dynamic_linker=no
   18947   ;;
   18948 
   18949 solaris*)
   18950   version_type=linux
   18951   need_lib_prefix=no
   18952   need_version=no
   18953   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18954   soname_spec='${libname}${release}${shared_ext}$major'
   18955   shlibpath_var=LD_LIBRARY_PATH
   18956   shlibpath_overrides_runpath=yes
   18957   hardcode_into_libs=yes
   18958   # ldd complains unless libraries are executable
   18959   postinstall_cmds='chmod +x $lib'
   18960   ;;
   18961 
   18962 sunos4*)
   18963   version_type=sunos
   18964   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   18965   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   18966   shlibpath_var=LD_LIBRARY_PATH
   18967   shlibpath_overrides_runpath=yes
   18968   if test "$with_gnu_ld" = yes; then
   18969     need_lib_prefix=no
   18970   fi
   18971   need_version=yes
   18972   ;;
   18973 
   18974 sysv4 | sysv4.3*)
   18975   version_type=linux
   18976   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18977   soname_spec='${libname}${release}${shared_ext}$major'
   18978   shlibpath_var=LD_LIBRARY_PATH
   18979   case $host_vendor in
   18980     sni)
   18981       shlibpath_overrides_runpath=no
   18982       need_lib_prefix=no
   18983       export_dynamic_flag_spec='${wl}-Blargedynsym'
   18984       runpath_var=LD_RUN_PATH
   18985       ;;
   18986     siemens)
   18987       need_lib_prefix=no
   18988       ;;
   18989     motorola)
   18990       need_lib_prefix=no
   18991       need_version=no
   18992       shlibpath_overrides_runpath=no
   18993       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   18994       ;;
   18995   esac
   18996   ;;
   18997 
   18998 sysv4*MP*)
   18999   if test -d /usr/nec ;then
   19000     version_type=linux
   19001     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
   19002     soname_spec='$libname${shared_ext}.$major'
   19003     shlibpath_var=LD_LIBRARY_PATH
   19004   fi
   19005   ;;
   19006 
   19007 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   19008   version_type=freebsd-elf
   19009   need_lib_prefix=no
   19010   need_version=no
   19011   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   19012   soname_spec='${libname}${release}${shared_ext}$major'
   19013   shlibpath_var=LD_LIBRARY_PATH
   19014   hardcode_into_libs=yes
   19015   if test "$with_gnu_ld" = yes; then
   19016     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   19017     shlibpath_overrides_runpath=no
   19018   else
   19019     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   19020     shlibpath_overrides_runpath=yes
   19021     case $host_os in
   19022       sco3.2v5*)
   19023         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   19024 	;;
   19025     esac
   19026   fi
   19027   sys_lib_dlsearch_path_spec='/usr/lib'
   19028   ;;
   19029 
   19030 uts4*)
   19031   version_type=linux
   19032   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   19033   soname_spec='${libname}${release}${shared_ext}$major'
   19034   shlibpath_var=LD_LIBRARY_PATH
   19035   ;;
   19036 
   19037 *)
   19038   dynamic_linker=no
   19039   ;;
   19040 esac
   19041 { $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
   19042 $as_echo "$dynamic_linker" >&6; }
   19043 test "$dynamic_linker" = no && can_build_shared=no
   19044 
   19045 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
   19046   $as_echo_n "(cached) " >&6
   19047 else
   19048   lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
   19049 fi
   19050 
   19051 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
   19052 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
   19053   $as_echo_n "(cached) " >&6
   19054 else
   19055   lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
   19056 fi
   19057 
   19058 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
   19059 
   19060 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   19061 if test "$GCC" = yes; then
   19062   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   19063 fi
   19064 
   19065 { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
   19066 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
   19067 hardcode_action_GCJ=
   19068 if test -n "$hardcode_libdir_flag_spec_GCJ" || \
   19069    test -n "$runpath_var_GCJ" || \
   19070    test "X$hardcode_automatic_GCJ" = "Xyes" ; then
   19071 
   19072   # We can hardcode non-existant directories.
   19073   if test "$hardcode_direct_GCJ" != no &&
   19074      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   19075      # have to relink, otherwise we might link with an installed library
   19076      # when we should be linking with a yet-to-be-installed one
   19077      ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
   19078      test "$hardcode_minus_L_GCJ" != no; then
   19079     # Linking always hardcodes the temporary library directory.
   19080     hardcode_action_GCJ=relink
   19081   else
   19082     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   19083     hardcode_action_GCJ=immediate
   19084   fi
   19085 else
   19086   # We cannot hardcode anything, or else we can only hardcode existing
   19087   # directories.
   19088   hardcode_action_GCJ=unsupported
   19089 fi
   19090 { $as_echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
   19091 $as_echo "$hardcode_action_GCJ" >&6; }
   19092 
   19093 if test "$hardcode_action_GCJ" = relink; then
   19094   # Fast installation is not supported
   19095   enable_fast_install=no
   19096 elif test "$shlibpath_overrides_runpath" = yes ||
   19097      test "$enable_shared" = no; then
   19098   # Fast installation is not necessary
   19099   enable_fast_install=needless
   19100 fi
   19101 
   19102 
   19103 # The else clause should only fire when bootstrapping the
   19104 # libtool distribution, otherwise you forgot to ship ltmain.sh
   19105 # with your package, and you will get complaints that there are
   19106 # no rules to generate ltmain.sh.
   19107 if test -f "$ltmain"; then
   19108   # See if we are running on zsh, and set the options which allow our commands through
   19109   # without removal of \ escapes.
   19110   if test -n "${ZSH_VERSION+set}" ; then
   19111     setopt NO_GLOB_SUBST
   19112   fi
   19113   # Now quote all the things that may contain metacharacters while being
   19114   # careful not to overquote the AC_SUBSTed values.  We take copies of the
   19115   # variables and quote the copies for generation of the libtool script.
   19116   for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
   19117     SED SHELL STRIP \
   19118     libname_spec library_names_spec soname_spec extract_expsyms_cmds \
   19119     old_striplib striplib file_magic_cmd finish_cmds finish_eval \
   19120     deplibs_check_method reload_flag reload_cmds need_locks \
   19121     lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
   19122     lt_cv_sys_global_symbol_to_c_name_address \
   19123     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
   19124     old_postinstall_cmds old_postuninstall_cmds \
   19125     compiler_GCJ \
   19126     CC_GCJ \
   19127     LD_GCJ \
   19128     lt_prog_compiler_wl_GCJ \
   19129     lt_prog_compiler_pic_GCJ \
   19130     lt_prog_compiler_static_GCJ \
   19131     lt_prog_compiler_no_builtin_flag_GCJ \
   19132     export_dynamic_flag_spec_GCJ \
   19133     thread_safe_flag_spec_GCJ \
   19134     whole_archive_flag_spec_GCJ \
   19135     enable_shared_with_static_runtimes_GCJ \
   19136     old_archive_cmds_GCJ \
   19137     old_archive_from_new_cmds_GCJ \
   19138     predep_objects_GCJ \
   19139     postdep_objects_GCJ \
   19140     predeps_GCJ \
   19141     postdeps_GCJ \
   19142     compiler_lib_search_path_GCJ \
   19143     compiler_lib_search_dirs_GCJ \
   19144     archive_cmds_GCJ \
   19145     archive_expsym_cmds_GCJ \
   19146     postinstall_cmds_GCJ \
   19147     postuninstall_cmds_GCJ \
   19148     old_archive_from_expsyms_cmds_GCJ \
   19149     allow_undefined_flag_GCJ \
   19150     no_undefined_flag_GCJ \
   19151     export_symbols_cmds_GCJ \
   19152     hardcode_libdir_flag_spec_GCJ \
   19153     hardcode_libdir_flag_spec_ld_GCJ \
   19154     hardcode_libdir_separator_GCJ \
   19155     hardcode_automatic_GCJ \
   19156     module_cmds_GCJ \
   19157     module_expsym_cmds_GCJ \
   19158     lt_cv_prog_compiler_c_o_GCJ \
   19159     fix_srcfile_path_GCJ \
   19160     exclude_expsyms_GCJ \
   19161     include_expsyms_GCJ; do
   19162 
   19163     case $var in
   19164     old_archive_cmds_GCJ | \
   19165     old_archive_from_new_cmds_GCJ | \
   19166     archive_cmds_GCJ | \
   19167     archive_expsym_cmds_GCJ | \
   19168     module_cmds_GCJ | \
   19169     module_expsym_cmds_GCJ | \
   19170     old_archive_from_expsyms_cmds_GCJ | \
   19171     export_symbols_cmds_GCJ | \
   19172     extract_expsyms_cmds | reload_cmds | finish_cmds | \
   19173     postinstall_cmds | postuninstall_cmds | \
   19174     old_postinstall_cmds | old_postuninstall_cmds | \
   19175     sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
   19176       # Double-quote double-evaled strings.
   19177       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
   19178       ;;
   19179     *)
   19180       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
   19181       ;;
   19182     esac
   19183   done
   19184 
   19185   case $lt_echo in
   19186   *'\$0 --fallback-echo"')
   19187     lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
   19188     ;;
   19189   esac
   19190 
   19191 cfgfile="$ofile"
   19192 
   19193   cat <<__EOF__ >> "$cfgfile"
   19194 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
   19195 
   19196 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   19197 
   19198 # Shell to use when invoking shell scripts.
   19199 SHELL=$lt_SHELL
   19200 
   19201 # Whether or not to build shared libraries.
   19202 build_libtool_libs=$enable_shared
   19203 
   19204 # Whether or not to build static libraries.
   19205 build_old_libs=$enable_static
   19206 
   19207 # Whether or not to add -lc for building shared libraries.
   19208 build_libtool_need_lc=$archive_cmds_need_lc_GCJ
   19209 
   19210 # Whether or not to disallow shared libs when runtime libs are static
   19211 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
   19212 
   19213 # Whether or not to optimize for fast installation.
   19214 fast_install=$enable_fast_install
   19215 
   19216 # The host system.
   19217 host_alias=$host_alias
   19218 host=$host
   19219 host_os=$host_os
   19220 
   19221 # The build system.
   19222 build_alias=$build_alias
   19223 build=$build
   19224 build_os=$build_os
   19225 
   19226 # An echo program that does not interpret backslashes.
   19227 echo=$lt_echo
   19228 
   19229 # The archiver.
   19230 AR=$lt_AR
   19231 AR_FLAGS=$lt_AR_FLAGS
   19232 
   19233 # A C compiler.
   19234 LTCC=$lt_LTCC
   19235 
   19236 # LTCC compiler flags.
   19237 LTCFLAGS=$lt_LTCFLAGS
   19238 
   19239 # A language-specific compiler.
   19240 CC=$lt_compiler_GCJ
   19241 
   19242 # Is the compiler the GNU C compiler?
   19243 with_gcc=$GCC_GCJ
   19244 
   19245 # An ERE matcher.
   19246 EGREP=$lt_EGREP
   19247 
   19248 # The linker used to build libraries.
   19249 LD=$lt_LD_GCJ
   19250 
   19251 # Whether we need hard or soft links.
   19252 LN_S=$lt_LN_S
   19253 
   19254 # A BSD-compatible nm program.
   19255 NM=$lt_NM
   19256 
   19257 # A symbol stripping program
   19258 STRIP=$lt_STRIP
   19259 
   19260 # Used to examine libraries when file_magic_cmd begins "file"
   19261 MAGIC_CMD=$MAGIC_CMD
   19262 
   19263 # Used on cygwin: DLL creation program.
   19264 DLLTOOL="$DLLTOOL"
   19265 
   19266 # Used on cygwin: object dumper.
   19267 OBJDUMP="$OBJDUMP"
   19268 
   19269 # Used on cygwin: assembler.
   19270 AS="$AS"
   19271 
   19272 # The name of the directory that contains temporary libtool files.
   19273 objdir=$objdir
   19274 
   19275 # How to create reloadable object files.
   19276 reload_flag=$lt_reload_flag
   19277 reload_cmds=$lt_reload_cmds
   19278 
   19279 # How to pass a linker flag through the compiler.
   19280 wl=$lt_lt_prog_compiler_wl_GCJ
   19281 
   19282 # Object file suffix (normally "o").
   19283 objext="$ac_objext"
   19284 
   19285 # Old archive suffix (normally "a").
   19286 libext="$libext"
   19287 
   19288 # Shared library suffix (normally ".so").
   19289 shrext_cmds='$shrext_cmds'
   19290 
   19291 # Executable file suffix (normally "").
   19292 exeext="$exeext"
   19293 
   19294 # Additional compiler flags for building library objects.
   19295 pic_flag=$lt_lt_prog_compiler_pic_GCJ
   19296 pic_mode=$pic_mode
   19297 
   19298 # What is the maximum length of a command?
   19299 max_cmd_len=$lt_cv_sys_max_cmd_len
   19300 
   19301 # Does compiler simultaneously support -c and -o options?
   19302 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
   19303 
   19304 # Must we lock files when doing compilation?
   19305 need_locks=$lt_need_locks
   19306 
   19307 # Do we need the lib prefix for modules?
   19308 need_lib_prefix=$need_lib_prefix
   19309 
   19310 # Do we need a version for libraries?
   19311 need_version=$need_version
   19312 
   19313 # Whether dlopen is supported.
   19314 dlopen_support=$enable_dlopen
   19315 
   19316 # Whether dlopen of programs is supported.
   19317 dlopen_self=$enable_dlopen_self
   19318 
   19319 # Whether dlopen of statically linked programs is supported.
   19320 dlopen_self_static=$enable_dlopen_self_static
   19321 
   19322 # Compiler flag to prevent dynamic linking.
   19323 link_static_flag=$lt_lt_prog_compiler_static_GCJ
   19324 
   19325 # Compiler flag to turn off builtin functions.
   19326 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
   19327 
   19328 # Compiler flag to allow reflexive dlopens.
   19329 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
   19330 
   19331 # Compiler flag to generate shared objects directly from archives.
   19332 whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
   19333 
   19334 # Compiler flag to generate thread-safe objects.
   19335 thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
   19336 
   19337 # Library versioning type.
   19338 version_type=$version_type
   19339 
   19340 # Format of library name prefix.
   19341 libname_spec=$lt_libname_spec
   19342 
   19343 # List of archive names.  First name is the real one, the rest are links.
   19344 # The last name is the one that the linker finds with -lNAME.
   19345 library_names_spec=$lt_library_names_spec
   19346 
   19347 # The coded name of the library, if different from the real name.
   19348 soname_spec=$lt_soname_spec
   19349 
   19350 # Commands used to build and install an old-style archive.
   19351 RANLIB=$lt_RANLIB
   19352 old_archive_cmds=$lt_old_archive_cmds_GCJ
   19353 old_postinstall_cmds=$lt_old_postinstall_cmds
   19354 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   19355 
   19356 # Create an old-style archive from a shared archive.
   19357 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
   19358 
   19359 # Create a temporary old-style archive to link instead of a shared archive.
   19360 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
   19361 
   19362 # Commands used to build and install a shared archive.
   19363 archive_cmds=$lt_archive_cmds_GCJ
   19364 archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
   19365 postinstall_cmds=$lt_postinstall_cmds
   19366 postuninstall_cmds=$lt_postuninstall_cmds
   19367 
   19368 # Commands used to build a loadable module (assumed same as above if empty)
   19369 module_cmds=$lt_module_cmds_GCJ
   19370 module_expsym_cmds=$lt_module_expsym_cmds_GCJ
   19371 
   19372 # Commands to strip libraries.
   19373 old_striplib=$lt_old_striplib
   19374 striplib=$lt_striplib
   19375 
   19376 # Dependencies to place before the objects being linked to create a
   19377 # shared library.
   19378 predep_objects=$lt_predep_objects_GCJ
   19379 
   19380 # Dependencies to place after the objects being linked to create a
   19381 # shared library.
   19382 postdep_objects=$lt_postdep_objects_GCJ
   19383 
   19384 # Dependencies to place before the objects being linked to create a
   19385 # shared library.
   19386 predeps=$lt_predeps_GCJ
   19387 
   19388 # Dependencies to place after the objects being linked to create a
   19389 # shared library.
   19390 postdeps=$lt_postdeps_GCJ
   19391 
   19392 # The directories searched by this compiler when creating a shared
   19393 # library
   19394 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_GCJ
   19395 
   19396 # The library search path used internally by the compiler when linking
   19397 # a shared library.
   19398 compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
   19399 
   19400 # Method to check whether dependent libraries are shared objects.
   19401 deplibs_check_method=$lt_deplibs_check_method
   19402 
   19403 # Command to use when deplibs_check_method == file_magic.
   19404 file_magic_cmd=$lt_file_magic_cmd
   19405 
   19406 # Flag that allows shared libraries with undefined symbols to be built.
   19407 allow_undefined_flag=$lt_allow_undefined_flag_GCJ
   19408 
   19409 # Flag that forces no undefined symbols.
   19410 no_undefined_flag=$lt_no_undefined_flag_GCJ
   19411 
   19412 # Commands used to finish a libtool library installation in a directory.
   19413 finish_cmds=$lt_finish_cmds
   19414 
   19415 # Same as above, but a single script fragment to be evaled but not shown.
   19416 finish_eval=$lt_finish_eval
   19417 
   19418 # Take the output of nm and produce a listing of raw symbols and C names.
   19419 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   19420 
   19421 # Transform the output of nm in a proper C declaration
   19422 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   19423 
   19424 # Transform the output of nm in a C name address pair
   19425 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   19426 
   19427 # This is the shared library runtime path variable.
   19428 runpath_var=$runpath_var
   19429 
   19430 # This is the shared library path variable.
   19431 shlibpath_var=$shlibpath_var
   19432 
   19433 # Is shlibpath searched before the hard-coded library search path?
   19434 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   19435 
   19436 # How to hardcode a shared library path into an executable.
   19437 hardcode_action=$hardcode_action_GCJ
   19438 
   19439 # Whether we should hardcode library paths into libraries.
   19440 hardcode_into_libs=$hardcode_into_libs
   19441 
   19442 # Flag to hardcode \$libdir into a binary during linking.
   19443 # This must work even if \$libdir does not exist.
   19444 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
   19445 
   19446 # If ld is used when linking, flag to hardcode \$libdir into
   19447 # a binary during linking. This must work even if \$libdir does
   19448 # not exist.
   19449 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
   19450 
   19451 # Whether we need a single -rpath flag with a separated argument.
   19452 hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
   19453 
   19454 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
   19455 # resulting binary.
   19456 hardcode_direct=$hardcode_direct_GCJ
   19457 
   19458 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
   19459 # resulting binary.
   19460 hardcode_minus_L=$hardcode_minus_L_GCJ
   19461 
   19462 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
   19463 # the resulting binary.
   19464 hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
   19465 
   19466 # Set to yes if building a shared library automatically hardcodes DIR into the library
   19467 # and all subsequent libraries and executables linked against it.
   19468 hardcode_automatic=$hardcode_automatic_GCJ
   19469 
   19470 # Variables whose values should be saved in libtool wrapper scripts and
   19471 # restored at relink time.
   19472 variables_saved_for_relink="$variables_saved_for_relink"
   19473 
   19474 # Whether libtool must link a program against all its dependency libraries.
   19475 link_all_deplibs=$link_all_deplibs_GCJ
   19476 
   19477 # Compile-time system search path for libraries
   19478 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   19479 
   19480 # Run-time system search path for libraries
   19481 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   19482 
   19483 # Fix the shell variable \$srcfile for the compiler.
   19484 fix_srcfile_path=$lt_fix_srcfile_path
   19485 
   19486 # Set to yes if exported symbols are required.
   19487 always_export_symbols=$always_export_symbols_GCJ
   19488 
   19489 # The commands to list exported symbols.
   19490 export_symbols_cmds=$lt_export_symbols_cmds_GCJ
   19491 
   19492 # The commands to extract the exported symbol list from a shared archive.
   19493 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   19494 
   19495 # Symbols that should not be listed in the preloaded symbols.
   19496 exclude_expsyms=$lt_exclude_expsyms_GCJ
   19497 
   19498 # Symbols that must always be exported.
   19499 include_expsyms=$lt_include_expsyms_GCJ
   19500 
   19501 # ### END LIBTOOL TAG CONFIG: $tagname
   19502 
   19503 __EOF__
   19504 
   19505 
   19506 else
   19507   # If there is no Makefile yet, we rely on a make rule to execute
   19508   # `config.status --recheck' to rerun these tests and create the
   19509   # libtool script then.
   19510   ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
   19511   if test -f "$ltmain_in"; then
   19512     test -f Makefile && make "$ltmain"
   19513   fi
   19514 fi
   19515 
   19516 
   19517 ac_ext=c
   19518 ac_cpp='$CPP $CPPFLAGS'
   19519 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   19520 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   19521 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   19522 
   19523 CC="$lt_save_CC"
   19524 
   19525 	else
   19526 	  tagname=""
   19527 	fi
   19528 	;;
   19529 
   19530       RC)
   19531 
   19532 
   19533 # Source file extension for RC test sources.
   19534 ac_ext=rc
   19535 
   19536 # Object file extension for compiled RC test sources.
   19537 objext=o
   19538 objext_RC=$objext
   19539 
   19540 # Code to be used in simple compile tests
   19541 lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }'
   19542 
   19543 # Code to be used in simple link tests
   19544 lt_simple_link_test_code="$lt_simple_compile_test_code"
   19545 
   19546 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
   19547 
   19548 # If no C compiler was specified, use CC.
   19549 LTCC=${LTCC-"$CC"}
   19550 
   19551 # If no C compiler flags were specified, use CFLAGS.
   19552 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   19553 
   19554 # Allow CC to be a program name with arguments.
   19555 compiler=$CC
   19556 
   19557 
   19558 # save warnings/boilerplate of simple test code
   19559 ac_outfile=conftest.$ac_objext
   19560 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   19561 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   19562 _lt_compiler_boilerplate=`cat conftest.err`
   19563 $rm conftest*
   19564 
   19565 ac_outfile=conftest.$ac_objext
   19566 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   19567 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   19568 _lt_linker_boilerplate=`cat conftest.err`
   19569 $rm -r conftest*
   19570 
   19571 
   19572 # Allow CC to be a program name with arguments.
   19573 lt_save_CC="$CC"
   19574 CC=${RC-"windres"}
   19575 compiler=$CC
   19576 compiler_RC=$CC
   19577 for cc_temp in $compiler""; do
   19578   case $cc_temp in
   19579     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   19580     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   19581     \-*) ;;
   19582     *) break;;
   19583   esac
   19584 done
   19585 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   19586 
   19587 lt_cv_prog_compiler_c_o_RC=yes
   19588 
   19589 # The else clause should only fire when bootstrapping the
   19590 # libtool distribution, otherwise you forgot to ship ltmain.sh
   19591 # with your package, and you will get complaints that there are
   19592 # no rules to generate ltmain.sh.
   19593 if test -f "$ltmain"; then
   19594   # See if we are running on zsh, and set the options which allow our commands through
   19595   # without removal of \ escapes.
   19596   if test -n "${ZSH_VERSION+set}" ; then
   19597     setopt NO_GLOB_SUBST
   19598   fi
   19599   # Now quote all the things that may contain metacharacters while being
   19600   # careful not to overquote the AC_SUBSTed values.  We take copies of the
   19601   # variables and quote the copies for generation of the libtool script.
   19602   for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
   19603     SED SHELL STRIP \
   19604     libname_spec library_names_spec soname_spec extract_expsyms_cmds \
   19605     old_striplib striplib file_magic_cmd finish_cmds finish_eval \
   19606     deplibs_check_method reload_flag reload_cmds need_locks \
   19607     lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
   19608     lt_cv_sys_global_symbol_to_c_name_address \
   19609     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
   19610     old_postinstall_cmds old_postuninstall_cmds \
   19611     compiler_RC \
   19612     CC_RC \
   19613     LD_RC \
   19614     lt_prog_compiler_wl_RC \
   19615     lt_prog_compiler_pic_RC \
   19616     lt_prog_compiler_static_RC \
   19617     lt_prog_compiler_no_builtin_flag_RC \
   19618     export_dynamic_flag_spec_RC \
   19619     thread_safe_flag_spec_RC \
   19620     whole_archive_flag_spec_RC \
   19621     enable_shared_with_static_runtimes_RC \
   19622     old_archive_cmds_RC \
   19623     old_archive_from_new_cmds_RC \
   19624     predep_objects_RC \
   19625     postdep_objects_RC \
   19626     predeps_RC \
   19627     postdeps_RC \
   19628     compiler_lib_search_path_RC \
   19629     compiler_lib_search_dirs_RC \
   19630     archive_cmds_RC \
   19631     archive_expsym_cmds_RC \
   19632     postinstall_cmds_RC \
   19633     postuninstall_cmds_RC \
   19634     old_archive_from_expsyms_cmds_RC \
   19635     allow_undefined_flag_RC \
   19636     no_undefined_flag_RC \
   19637     export_symbols_cmds_RC \
   19638     hardcode_libdir_flag_spec_RC \
   19639     hardcode_libdir_flag_spec_ld_RC \
   19640     hardcode_libdir_separator_RC \
   19641     hardcode_automatic_RC \
   19642     module_cmds_RC \
   19643     module_expsym_cmds_RC \
   19644     lt_cv_prog_compiler_c_o_RC \
   19645     fix_srcfile_path_RC \
   19646     exclude_expsyms_RC \
   19647     include_expsyms_RC; do
   19648 
   19649     case $var in
   19650     old_archive_cmds_RC | \
   19651     old_archive_from_new_cmds_RC | \
   19652     archive_cmds_RC | \
   19653     archive_expsym_cmds_RC | \
   19654     module_cmds_RC | \
   19655     module_expsym_cmds_RC | \
   19656     old_archive_from_expsyms_cmds_RC | \
   19657     export_symbols_cmds_RC | \
   19658     extract_expsyms_cmds | reload_cmds | finish_cmds | \
   19659     postinstall_cmds | postuninstall_cmds | \
   19660     old_postinstall_cmds | old_postuninstall_cmds | \
   19661     sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
   19662       # Double-quote double-evaled strings.
   19663       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
   19664       ;;
   19665     *)
   19666       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
   19667       ;;
   19668     esac
   19669   done
   19670 
   19671   case $lt_echo in
   19672   *'\$0 --fallback-echo"')
   19673     lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
   19674     ;;
   19675   esac
   19676 
   19677 cfgfile="$ofile"
   19678 
   19679   cat <<__EOF__ >> "$cfgfile"
   19680 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
   19681 
   19682 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   19683 
   19684 # Shell to use when invoking shell scripts.
   19685 SHELL=$lt_SHELL
   19686 
   19687 # Whether or not to build shared libraries.
   19688 build_libtool_libs=$enable_shared
   19689 
   19690 # Whether or not to build static libraries.
   19691 build_old_libs=$enable_static
   19692 
   19693 # Whether or not to add -lc for building shared libraries.
   19694 build_libtool_need_lc=$archive_cmds_need_lc_RC
   19695 
   19696 # Whether or not to disallow shared libs when runtime libs are static
   19697 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
   19698 
   19699 # Whether or not to optimize for fast installation.
   19700 fast_install=$enable_fast_install
   19701 
   19702 # The host system.
   19703 host_alias=$host_alias
   19704 host=$host
   19705 host_os=$host_os
   19706 
   19707 # The build system.
   19708 build_alias=$build_alias
   19709 build=$build
   19710 build_os=$build_os
   19711 
   19712 # An echo program that does not interpret backslashes.
   19713 echo=$lt_echo
   19714 
   19715 # The archiver.
   19716 AR=$lt_AR
   19717 AR_FLAGS=$lt_AR_FLAGS
   19718 
   19719 # A C compiler.
   19720 LTCC=$lt_LTCC
   19721 
   19722 # LTCC compiler flags.
   19723 LTCFLAGS=$lt_LTCFLAGS
   19724 
   19725 # A language-specific compiler.
   19726 CC=$lt_compiler_RC
   19727 
   19728 # Is the compiler the GNU C compiler?
   19729 with_gcc=$GCC_RC
   19730 
   19731 # An ERE matcher.
   19732 EGREP=$lt_EGREP
   19733 
   19734 # The linker used to build libraries.
   19735 LD=$lt_LD_RC
   19736 
   19737 # Whether we need hard or soft links.
   19738 LN_S=$lt_LN_S
   19739 
   19740 # A BSD-compatible nm program.
   19741 NM=$lt_NM
   19742 
   19743 # A symbol stripping program
   19744 STRIP=$lt_STRIP
   19745 
   19746 # Used to examine libraries when file_magic_cmd begins "file"
   19747 MAGIC_CMD=$MAGIC_CMD
   19748 
   19749 # Used on cygwin: DLL creation program.
   19750 DLLTOOL="$DLLTOOL"
   19751 
   19752 # Used on cygwin: object dumper.
   19753 OBJDUMP="$OBJDUMP"
   19754 
   19755 # Used on cygwin: assembler.
   19756 AS="$AS"
   19757 
   19758 # The name of the directory that contains temporary libtool files.
   19759 objdir=$objdir
   19760 
   19761 # How to create reloadable object files.
   19762 reload_flag=$lt_reload_flag
   19763 reload_cmds=$lt_reload_cmds
   19764 
   19765 # How to pass a linker flag through the compiler.
   19766 wl=$lt_lt_prog_compiler_wl_RC
   19767 
   19768 # Object file suffix (normally "o").
   19769 objext="$ac_objext"
   19770 
   19771 # Old archive suffix (normally "a").
   19772 libext="$libext"
   19773 
   19774 # Shared library suffix (normally ".so").
   19775 shrext_cmds='$shrext_cmds'
   19776 
   19777 # Executable file suffix (normally "").
   19778 exeext="$exeext"
   19779 
   19780 # Additional compiler flags for building library objects.
   19781 pic_flag=$lt_lt_prog_compiler_pic_RC
   19782 pic_mode=$pic_mode
   19783 
   19784 # What is the maximum length of a command?
   19785 max_cmd_len=$lt_cv_sys_max_cmd_len
   19786 
   19787 # Does compiler simultaneously support -c and -o options?
   19788 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
   19789 
   19790 # Must we lock files when doing compilation?
   19791 need_locks=$lt_need_locks
   19792 
   19793 # Do we need the lib prefix for modules?
   19794 need_lib_prefix=$need_lib_prefix
   19795 
   19796 # Do we need a version for libraries?
   19797 need_version=$need_version
   19798 
   19799 # Whether dlopen is supported.
   19800 dlopen_support=$enable_dlopen
   19801 
   19802 # Whether dlopen of programs is supported.
   19803 dlopen_self=$enable_dlopen_self
   19804 
   19805 # Whether dlopen of statically linked programs is supported.
   19806 dlopen_self_static=$enable_dlopen_self_static
   19807 
   19808 # Compiler flag to prevent dynamic linking.
   19809 link_static_flag=$lt_lt_prog_compiler_static_RC
   19810 
   19811 # Compiler flag to turn off builtin functions.
   19812 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
   19813 
   19814 # Compiler flag to allow reflexive dlopens.
   19815 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
   19816 
   19817 # Compiler flag to generate shared objects directly from archives.
   19818 whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
   19819 
   19820 # Compiler flag to generate thread-safe objects.
   19821 thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
   19822 
   19823 # Library versioning type.
   19824 version_type=$version_type
   19825 
   19826 # Format of library name prefix.
   19827 libname_spec=$lt_libname_spec
   19828 
   19829 # List of archive names.  First name is the real one, the rest are links.
   19830 # The last name is the one that the linker finds with -lNAME.
   19831 library_names_spec=$lt_library_names_spec
   19832 
   19833 # The coded name of the library, if different from the real name.
   19834 soname_spec=$lt_soname_spec
   19835 
   19836 # Commands used to build and install an old-style archive.
   19837 RANLIB=$lt_RANLIB
   19838 old_archive_cmds=$lt_old_archive_cmds_RC
   19839 old_postinstall_cmds=$lt_old_postinstall_cmds
   19840 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   19841 
   19842 # Create an old-style archive from a shared archive.
   19843 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
   19844 
   19845 # Create a temporary old-style archive to link instead of a shared archive.
   19846 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
   19847 
   19848 # Commands used to build and install a shared archive.
   19849 archive_cmds=$lt_archive_cmds_RC
   19850 archive_expsym_cmds=$lt_archive_expsym_cmds_RC
   19851 postinstall_cmds=$lt_postinstall_cmds
   19852 postuninstall_cmds=$lt_postuninstall_cmds
   19853 
   19854 # Commands used to build a loadable module (assumed same as above if empty)
   19855 module_cmds=$lt_module_cmds_RC
   19856 module_expsym_cmds=$lt_module_expsym_cmds_RC
   19857 
   19858 # Commands to strip libraries.
   19859 old_striplib=$lt_old_striplib
   19860 striplib=$lt_striplib
   19861 
   19862 # Dependencies to place before the objects being linked to create a
   19863 # shared library.
   19864 predep_objects=$lt_predep_objects_RC
   19865 
   19866 # Dependencies to place after the objects being linked to create a
   19867 # shared library.
   19868 postdep_objects=$lt_postdep_objects_RC
   19869 
   19870 # Dependencies to place before the objects being linked to create a
   19871 # shared library.
   19872 predeps=$lt_predeps_RC
   19873 
   19874 # Dependencies to place after the objects being linked to create a
   19875 # shared library.
   19876 postdeps=$lt_postdeps_RC
   19877 
   19878 # The directories searched by this compiler when creating a shared
   19879 # library
   19880 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_RC
   19881 
   19882 # The library search path used internally by the compiler when linking
   19883 # a shared library.
   19884 compiler_lib_search_path=$lt_compiler_lib_search_path_RC
   19885 
   19886 # Method to check whether dependent libraries are shared objects.
   19887 deplibs_check_method=$lt_deplibs_check_method
   19888 
   19889 # Command to use when deplibs_check_method == file_magic.
   19890 file_magic_cmd=$lt_file_magic_cmd
   19891 
   19892 # Flag that allows shared libraries with undefined symbols to be built.
   19893 allow_undefined_flag=$lt_allow_undefined_flag_RC
   19894 
   19895 # Flag that forces no undefined symbols.
   19896 no_undefined_flag=$lt_no_undefined_flag_RC
   19897 
   19898 # Commands used to finish a libtool library installation in a directory.
   19899 finish_cmds=$lt_finish_cmds
   19900 
   19901 # Same as above, but a single script fragment to be evaled but not shown.
   19902 finish_eval=$lt_finish_eval
   19903 
   19904 # Take the output of nm and produce a listing of raw symbols and C names.
   19905 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   19906 
   19907 # Transform the output of nm in a proper C declaration
   19908 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   19909 
   19910 # Transform the output of nm in a C name address pair
   19911 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   19912 
   19913 # This is the shared library runtime path variable.
   19914 runpath_var=$runpath_var
   19915 
   19916 # This is the shared library path variable.
   19917 shlibpath_var=$shlibpath_var
   19918 
   19919 # Is shlibpath searched before the hard-coded library search path?
   19920 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   19921 
   19922 # How to hardcode a shared library path into an executable.
   19923 hardcode_action=$hardcode_action_RC
   19924 
   19925 # Whether we should hardcode library paths into libraries.
   19926 hardcode_into_libs=$hardcode_into_libs
   19927 
   19928 # Flag to hardcode \$libdir into a binary during linking.
   19929 # This must work even if \$libdir does not exist.
   19930 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
   19931 
   19932 # If ld is used when linking, flag to hardcode \$libdir into
   19933 # a binary during linking. This must work even if \$libdir does
   19934 # not exist.
   19935 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
   19936 
   19937 # Whether we need a single -rpath flag with a separated argument.
   19938 hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
   19939 
   19940 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
   19941 # resulting binary.
   19942 hardcode_direct=$hardcode_direct_RC
   19943 
   19944 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
   19945 # resulting binary.
   19946 hardcode_minus_L=$hardcode_minus_L_RC
   19947 
   19948 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
   19949 # the resulting binary.
   19950 hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
   19951 
   19952 # Set to yes if building a shared library automatically hardcodes DIR into the library
   19953 # and all subsequent libraries and executables linked against it.
   19954 hardcode_automatic=$hardcode_automatic_RC
   19955 
   19956 # Variables whose values should be saved in libtool wrapper scripts and
   19957 # restored at relink time.
   19958 variables_saved_for_relink="$variables_saved_for_relink"
   19959 
   19960 # Whether libtool must link a program against all its dependency libraries.
   19961 link_all_deplibs=$link_all_deplibs_RC
   19962 
   19963 # Compile-time system search path for libraries
   19964 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   19965 
   19966 # Run-time system search path for libraries
   19967 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   19968 
   19969 # Fix the shell variable \$srcfile for the compiler.
   19970 fix_srcfile_path=$lt_fix_srcfile_path
   19971 
   19972 # Set to yes if exported symbols are required.
   19973 always_export_symbols=$always_export_symbols_RC
   19974 
   19975 # The commands to list exported symbols.
   19976 export_symbols_cmds=$lt_export_symbols_cmds_RC
   19977 
   19978 # The commands to extract the exported symbol list from a shared archive.
   19979 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   19980 
   19981 # Symbols that should not be listed in the preloaded symbols.
   19982 exclude_expsyms=$lt_exclude_expsyms_RC
   19983 
   19984 # Symbols that must always be exported.
   19985 include_expsyms=$lt_include_expsyms_RC
   19986 
   19987 # ### END LIBTOOL TAG CONFIG: $tagname
   19988 
   19989 __EOF__
   19990 
   19991 
   19992 else
   19993   # If there is no Makefile yet, we rely on a make rule to execute
   19994   # `config.status --recheck' to rerun these tests and create the
   19995   # libtool script then.
   19996   ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
   19997   if test -f "$ltmain_in"; then
   19998     test -f Makefile && make "$ltmain"
   19999   fi
   20000 fi
   20001 
   20002 
   20003 ac_ext=c
   20004 ac_cpp='$CPP $CPPFLAGS'
   20005 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   20006 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   20007 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   20008 
   20009 CC="$lt_save_CC"
   20010 
   20011 	;;
   20012 
   20013       *)
   20014 	{ { $as_echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
   20015 $as_echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
   20016    { (exit 1); exit 1; }; }
   20017 	;;
   20018       esac
   20019 
   20020       # Append the new tag name to the list of available tags.
   20021       if test -n "$tagname" ; then
   20022       available_tags="$available_tags $tagname"
   20023     fi
   20024     fi
   20025   done
   20026   IFS="$lt_save_ifs"
   20027 
   20028   # Now substitute the updated list of available tags.
   20029   if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
   20030     mv "${ofile}T" "$ofile"
   20031     chmod +x "$ofile"
   20032   else
   20033     rm -f "${ofile}T"
   20034     { { $as_echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
   20035 $as_echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
   20036    { (exit 1); exit 1; }; }
   20037   fi
   20038 fi
   20039 
   20040 
   20041 
   20042 # This can be used to rebuild libtool when needed
   20043 LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
   20044 
   20045 # Always use our own libtool.
   20046 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
   20047 
   20048 # Prevent multiple expansion
   20049 
   20050 
   20051 
   20052 
   20053 
   20054 
   20055 
   20056 
   20057 
   20058 
   20059 
   20060 
   20061 
   20062 
   20063 
   20064 
   20065 
   20066 
   20067 
   20068 
   20069 ac_ext=c
   20070 ac_cpp='$CPP $CPPFLAGS'
   20071 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   20072 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   20073 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   20074 if test -n "$ac_tool_prefix"; then
   20075   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   20076 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   20077 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   20078 $as_echo_n "checking for $ac_word... " >&6; }
   20079 if test "${ac_cv_prog_CC+set}" = set; then
   20080   $as_echo_n "(cached) " >&6
   20081 else
   20082   if test -n "$CC"; then
   20083   ac_cv_prog_CC="$CC" # Let the user override the test.
   20084 else
   20085 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   20086 for as_dir in $PATH
   20087 do
   20088   IFS=$as_save_IFS
   20089   test -z "$as_dir" && as_dir=.
   20090   for ac_exec_ext in '' $ac_executable_extensions; do
   20091   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   20092     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   20093     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   20094     break 2
   20095   fi
   20096 done
   20097 done
   20098 IFS=$as_save_IFS
   20099 
   20100 fi
   20101 fi
   20102 CC=$ac_cv_prog_CC
   20103 if test -n "$CC"; then
   20104   { $as_echo "$as_me:$LINENO: result: $CC" >&5
   20105 $as_echo "$CC" >&6; }
   20106 else
   20107   { $as_echo "$as_me:$LINENO: result: no" >&5
   20108 $as_echo "no" >&6; }
   20109 fi
   20110 
   20111 
   20112 fi
   20113 if test -z "$ac_cv_prog_CC"; then
   20114   ac_ct_CC=$CC
   20115   # Extract the first word of "gcc", so it can be a program name with args.
   20116 set dummy gcc; ac_word=$2
   20117 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   20118 $as_echo_n "checking for $ac_word... " >&6; }
   20119 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
   20120   $as_echo_n "(cached) " >&6
   20121 else
   20122   if test -n "$ac_ct_CC"; then
   20123   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   20124 else
   20125 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   20126 for as_dir in $PATH
   20127 do
   20128   IFS=$as_save_IFS
   20129   test -z "$as_dir" && as_dir=.
   20130   for ac_exec_ext in '' $ac_executable_extensions; do
   20131   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   20132     ac_cv_prog_ac_ct_CC="gcc"
   20133     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   20134     break 2
   20135   fi
   20136 done
   20137 done
   20138 IFS=$as_save_IFS
   20139 
   20140 fi
   20141 fi
   20142 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   20143 if test -n "$ac_ct_CC"; then
   20144   { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
   20145 $as_echo "$ac_ct_CC" >&6; }
   20146 else
   20147   { $as_echo "$as_me:$LINENO: result: no" >&5
   20148 $as_echo "no" >&6; }
   20149 fi
   20150 
   20151   if test "x$ac_ct_CC" = x; then
   20152     CC=""
   20153   else
   20154     case $cross_compiling:$ac_tool_warned in
   20155 yes:)
   20156 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   20157 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   20158 ac_tool_warned=yes ;;
   20159 esac
   20160     CC=$ac_ct_CC
   20161   fi
   20162 else
   20163   CC="$ac_cv_prog_CC"
   20164 fi
   20165 
   20166 if test -z "$CC"; then
   20167           if test -n "$ac_tool_prefix"; then
   20168     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   20169 set dummy ${ac_tool_prefix}cc; ac_word=$2
   20170 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   20171 $as_echo_n "checking for $ac_word... " >&6; }
   20172 if test "${ac_cv_prog_CC+set}" = set; then
   20173   $as_echo_n "(cached) " >&6
   20174 else
   20175   if test -n "$CC"; then
   20176   ac_cv_prog_CC="$CC" # Let the user override the test.
   20177 else
   20178 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   20179 for as_dir in $PATH
   20180 do
   20181   IFS=$as_save_IFS
   20182   test -z "$as_dir" && as_dir=.
   20183   for ac_exec_ext in '' $ac_executable_extensions; do
   20184   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   20185     ac_cv_prog_CC="${ac_tool_prefix}cc"
   20186     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   20187     break 2
   20188   fi
   20189 done
   20190 done
   20191 IFS=$as_save_IFS
   20192 
   20193 fi
   20194 fi
   20195 CC=$ac_cv_prog_CC
   20196 if test -n "$CC"; then
   20197   { $as_echo "$as_me:$LINENO: result: $CC" >&5
   20198 $as_echo "$CC" >&6; }
   20199 else
   20200   { $as_echo "$as_me:$LINENO: result: no" >&5
   20201 $as_echo "no" >&6; }
   20202 fi
   20203 
   20204 
   20205   fi
   20206 fi
   20207 if test -z "$CC"; then
   20208   # Extract the first word of "cc", so it can be a program name with args.
   20209 set dummy cc; ac_word=$2
   20210 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   20211 $as_echo_n "checking for $ac_word... " >&6; }
   20212 if test "${ac_cv_prog_CC+set}" = set; then
   20213   $as_echo_n "(cached) " >&6
   20214 else
   20215   if test -n "$CC"; then
   20216   ac_cv_prog_CC="$CC" # Let the user override the test.
   20217 else
   20218   ac_prog_rejected=no
   20219 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   20220 for as_dir in $PATH
   20221 do
   20222   IFS=$as_save_IFS
   20223   test -z "$as_dir" && as_dir=.
   20224   for ac_exec_ext in '' $ac_executable_extensions; do
   20225   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   20226     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   20227        ac_prog_rejected=yes
   20228        continue
   20229      fi
   20230     ac_cv_prog_CC="cc"
   20231     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   20232     break 2
   20233   fi
   20234 done
   20235 done
   20236 IFS=$as_save_IFS
   20237 
   20238 if test $ac_prog_rejected = yes; then
   20239   # We found a bogon in the path, so make sure we never use it.
   20240   set dummy $ac_cv_prog_CC
   20241   shift
   20242   if test $# != 0; then
   20243     # We chose a different compiler from the bogus one.
   20244     # However, it has the same basename, so the bogon will be chosen
   20245     # first if we set CC to just the basename; use the full file name.
   20246     shift
   20247     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   20248   fi
   20249 fi
   20250 fi
   20251 fi
   20252 CC=$ac_cv_prog_CC
   20253 if test -n "$CC"; then
   20254   { $as_echo "$as_me:$LINENO: result: $CC" >&5
   20255 $as_echo "$CC" >&6; }
   20256 else
   20257   { $as_echo "$as_me:$LINENO: result: no" >&5
   20258 $as_echo "no" >&6; }
   20259 fi
   20260 
   20261 
   20262 fi
   20263 if test -z "$CC"; then
   20264   if test -n "$ac_tool_prefix"; then
   20265   for ac_prog in cl.exe
   20266   do
   20267     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   20268 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   20269 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   20270 $as_echo_n "checking for $ac_word... " >&6; }
   20271 if test "${ac_cv_prog_CC+set}" = set; then
   20272   $as_echo_n "(cached) " >&6
   20273 else
   20274   if test -n "$CC"; then
   20275   ac_cv_prog_CC="$CC" # Let the user override the test.
   20276 else
   20277 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   20278 for as_dir in $PATH
   20279 do
   20280   IFS=$as_save_IFS
   20281   test -z "$as_dir" && as_dir=.
   20282   for ac_exec_ext in '' $ac_executable_extensions; do
   20283   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   20284     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   20285     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   20286     break 2
   20287   fi
   20288 done
   20289 done
   20290 IFS=$as_save_IFS
   20291 
   20292 fi
   20293 fi
   20294 CC=$ac_cv_prog_CC
   20295 if test -n "$CC"; then
   20296   { $as_echo "$as_me:$LINENO: result: $CC" >&5
   20297 $as_echo "$CC" >&6; }
   20298 else
   20299   { $as_echo "$as_me:$LINENO: result: no" >&5
   20300 $as_echo "no" >&6; }
   20301 fi
   20302 
   20303 
   20304     test -n "$CC" && break
   20305   done
   20306 fi
   20307 if test -z "$CC"; then
   20308   ac_ct_CC=$CC
   20309   for ac_prog in cl.exe
   20310 do
   20311   # Extract the first word of "$ac_prog", so it can be a program name with args.
   20312 set dummy $ac_prog; ac_word=$2
   20313 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   20314 $as_echo_n "checking for $ac_word... " >&6; }
   20315 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
   20316   $as_echo_n "(cached) " >&6
   20317 else
   20318   if test -n "$ac_ct_CC"; then
   20319   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   20320 else
   20321 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   20322 for as_dir in $PATH
   20323 do
   20324   IFS=$as_save_IFS
   20325   test -z "$as_dir" && as_dir=.
   20326   for ac_exec_ext in '' $ac_executable_extensions; do
   20327   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   20328     ac_cv_prog_ac_ct_CC="$ac_prog"
   20329     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   20330     break 2
   20331   fi
   20332 done
   20333 done
   20334 IFS=$as_save_IFS
   20335 
   20336 fi
   20337 fi
   20338 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   20339 if test -n "$ac_ct_CC"; then
   20340   { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
   20341 $as_echo "$ac_ct_CC" >&6; }
   20342 else
   20343   { $as_echo "$as_me:$LINENO: result: no" >&5
   20344 $as_echo "no" >&6; }
   20345 fi
   20346 
   20347 
   20348   test -n "$ac_ct_CC" && break
   20349 done
   20350 
   20351   if test "x$ac_ct_CC" = x; then
   20352     CC=""
   20353   else
   20354     case $cross_compiling:$ac_tool_warned in
   20355 yes:)
   20356 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   20357 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   20358 ac_tool_warned=yes ;;
   20359 esac
   20360     CC=$ac_ct_CC
   20361   fi
   20362 fi
   20363 
   20364 fi
   20365 
   20366 
   20367 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   20368 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   20369 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
   20370 See \`config.log' for more details." >&5
   20371 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
   20372 See \`config.log' for more details." >&2;}
   20373    { (exit 1); exit 1; }; }; }
   20374 
   20375 # Provide some information about the compiler.
   20376 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
   20377 set X $ac_compile
   20378 ac_compiler=$2
   20379 { (ac_try="$ac_compiler --version >&5"
   20380 case "(($ac_try" in
   20381   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20382   *) ac_try_echo=$ac_try;;
   20383 esac
   20384 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   20385 $as_echo "$ac_try_echo") >&5
   20386   (eval "$ac_compiler --version >&5") 2>&5
   20387   ac_status=$?
   20388   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20389   (exit $ac_status); }
   20390 { (ac_try="$ac_compiler -v >&5"
   20391 case "(($ac_try" in
   20392   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20393   *) ac_try_echo=$ac_try;;
   20394 esac
   20395 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   20396 $as_echo "$ac_try_echo") >&5
   20397   (eval "$ac_compiler -v >&5") 2>&5
   20398   ac_status=$?
   20399   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20400   (exit $ac_status); }
   20401 { (ac_try="$ac_compiler -V >&5"
   20402 case "(($ac_try" in
   20403   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20404   *) ac_try_echo=$ac_try;;
   20405 esac
   20406 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   20407 $as_echo "$ac_try_echo") >&5
   20408   (eval "$ac_compiler -V >&5") 2>&5
   20409   ac_status=$?
   20410   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20411   (exit $ac_status); }
   20412 
   20413 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
   20414 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
   20415 if test "${ac_cv_c_compiler_gnu+set}" = set; then
   20416   $as_echo_n "(cached) " >&6
   20417 else
   20418   cat >conftest.$ac_ext <<_ACEOF
   20419 /* confdefs.h.  */
   20420 _ACEOF
   20421 cat confdefs.h >>conftest.$ac_ext
   20422 cat >>conftest.$ac_ext <<_ACEOF
   20423 /* end confdefs.h.  */
   20424 
   20425 int
   20426 main ()
   20427 {
   20428 #ifndef __GNUC__
   20429        choke me
   20430 #endif
   20431 
   20432   ;
   20433   return 0;
   20434 }
   20435 _ACEOF
   20436 rm -f conftest.$ac_objext
   20437 if { (ac_try="$ac_compile"
   20438 case "(($ac_try" in
   20439   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20440   *) ac_try_echo=$ac_try;;
   20441 esac
   20442 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   20443 $as_echo "$ac_try_echo") >&5
   20444   (eval "$ac_compile") 2>conftest.er1
   20445   ac_status=$?
   20446   grep -v '^ *+' conftest.er1 >conftest.err
   20447   rm -f conftest.er1
   20448   cat conftest.err >&5
   20449   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20450   (exit $ac_status); } && {
   20451 	 test -z "$ac_c_werror_flag" ||
   20452 	 test ! -s conftest.err
   20453        } && test -s conftest.$ac_objext; then
   20454   ac_compiler_gnu=yes
   20455 else
   20456   $as_echo "$as_me: failed program was:" >&5
   20457 sed 's/^/| /' conftest.$ac_ext >&5
   20458 
   20459 	ac_compiler_gnu=no
   20460 fi
   20461 
   20462 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   20463 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   20464 
   20465 fi
   20466 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
   20467 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
   20468 if test $ac_compiler_gnu = yes; then
   20469   GCC=yes
   20470 else
   20471   GCC=
   20472 fi
   20473 ac_test_CFLAGS=${CFLAGS+set}
   20474 ac_save_CFLAGS=$CFLAGS
   20475 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
   20476 $as_echo_n "checking whether $CC accepts -g... " >&6; }
   20477 if test "${ac_cv_prog_cc_g+set}" = set; then
   20478   $as_echo_n "(cached) " >&6
   20479 else
   20480   ac_save_c_werror_flag=$ac_c_werror_flag
   20481    ac_c_werror_flag=yes
   20482    ac_cv_prog_cc_g=no
   20483    CFLAGS="-g"
   20484    cat >conftest.$ac_ext <<_ACEOF
   20485 /* confdefs.h.  */
   20486 _ACEOF
   20487 cat confdefs.h >>conftest.$ac_ext
   20488 cat >>conftest.$ac_ext <<_ACEOF
   20489 /* end confdefs.h.  */
   20490 
   20491 int
   20492 main ()
   20493 {
   20494 
   20495   ;
   20496   return 0;
   20497 }
   20498 _ACEOF
   20499 rm -f conftest.$ac_objext
   20500 if { (ac_try="$ac_compile"
   20501 case "(($ac_try" in
   20502   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20503   *) ac_try_echo=$ac_try;;
   20504 esac
   20505 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   20506 $as_echo "$ac_try_echo") >&5
   20507   (eval "$ac_compile") 2>conftest.er1
   20508   ac_status=$?
   20509   grep -v '^ *+' conftest.er1 >conftest.err
   20510   rm -f conftest.er1
   20511   cat conftest.err >&5
   20512   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20513   (exit $ac_status); } && {
   20514 	 test -z "$ac_c_werror_flag" ||
   20515 	 test ! -s conftest.err
   20516        } && test -s conftest.$ac_objext; then
   20517   ac_cv_prog_cc_g=yes
   20518 else
   20519   $as_echo "$as_me: failed program was:" >&5
   20520 sed 's/^/| /' conftest.$ac_ext >&5
   20521 
   20522 	CFLAGS=""
   20523       cat >conftest.$ac_ext <<_ACEOF
   20524 /* confdefs.h.  */
   20525 _ACEOF
   20526 cat confdefs.h >>conftest.$ac_ext
   20527 cat >>conftest.$ac_ext <<_ACEOF
   20528 /* end confdefs.h.  */
   20529 
   20530 int
   20531 main ()
   20532 {
   20533 
   20534   ;
   20535   return 0;
   20536 }
   20537 _ACEOF
   20538 rm -f conftest.$ac_objext
   20539 if { (ac_try="$ac_compile"
   20540 case "(($ac_try" in
   20541   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20542   *) ac_try_echo=$ac_try;;
   20543 esac
   20544 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   20545 $as_echo "$ac_try_echo") >&5
   20546   (eval "$ac_compile") 2>conftest.er1
   20547   ac_status=$?
   20548   grep -v '^ *+' conftest.er1 >conftest.err
   20549   rm -f conftest.er1
   20550   cat conftest.err >&5
   20551   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20552   (exit $ac_status); } && {
   20553 	 test -z "$ac_c_werror_flag" ||
   20554 	 test ! -s conftest.err
   20555        } && test -s conftest.$ac_objext; then
   20556   :
   20557 else
   20558   $as_echo "$as_me: failed program was:" >&5
   20559 sed 's/^/| /' conftest.$ac_ext >&5
   20560 
   20561 	ac_c_werror_flag=$ac_save_c_werror_flag
   20562 	 CFLAGS="-g"
   20563 	 cat >conftest.$ac_ext <<_ACEOF
   20564 /* confdefs.h.  */
   20565 _ACEOF
   20566 cat confdefs.h >>conftest.$ac_ext
   20567 cat >>conftest.$ac_ext <<_ACEOF
   20568 /* end confdefs.h.  */
   20569 
   20570 int
   20571 main ()
   20572 {
   20573 
   20574   ;
   20575   return 0;
   20576 }
   20577 _ACEOF
   20578 rm -f conftest.$ac_objext
   20579 if { (ac_try="$ac_compile"
   20580 case "(($ac_try" in
   20581   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20582   *) ac_try_echo=$ac_try;;
   20583 esac
   20584 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   20585 $as_echo "$ac_try_echo") >&5
   20586   (eval "$ac_compile") 2>conftest.er1
   20587   ac_status=$?
   20588   grep -v '^ *+' conftest.er1 >conftest.err
   20589   rm -f conftest.er1
   20590   cat conftest.err >&5
   20591   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20592   (exit $ac_status); } && {
   20593 	 test -z "$ac_c_werror_flag" ||
   20594 	 test ! -s conftest.err
   20595        } && test -s conftest.$ac_objext; then
   20596   ac_cv_prog_cc_g=yes
   20597 else
   20598   $as_echo "$as_me: failed program was:" >&5
   20599 sed 's/^/| /' conftest.$ac_ext >&5
   20600 
   20601 
   20602 fi
   20603 
   20604 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   20605 fi
   20606 
   20607 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   20608 fi
   20609 
   20610 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   20611    ac_c_werror_flag=$ac_save_c_werror_flag
   20612 fi
   20613 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
   20614 $as_echo "$ac_cv_prog_cc_g" >&6; }
   20615 if test "$ac_test_CFLAGS" = set; then
   20616   CFLAGS=$ac_save_CFLAGS
   20617 elif test $ac_cv_prog_cc_g = yes; then
   20618   if test "$GCC" = yes; then
   20619     CFLAGS="-g -O2"
   20620   else
   20621     CFLAGS="-g"
   20622   fi
   20623 else
   20624   if test "$GCC" = yes; then
   20625     CFLAGS="-O2"
   20626   else
   20627     CFLAGS=
   20628   fi
   20629 fi
   20630 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
   20631 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
   20632 if test "${ac_cv_prog_cc_c89+set}" = set; then
   20633   $as_echo_n "(cached) " >&6
   20634 else
   20635   ac_cv_prog_cc_c89=no
   20636 ac_save_CC=$CC
   20637 cat >conftest.$ac_ext <<_ACEOF
   20638 /* confdefs.h.  */
   20639 _ACEOF
   20640 cat confdefs.h >>conftest.$ac_ext
   20641 cat >>conftest.$ac_ext <<_ACEOF
   20642 /* end confdefs.h.  */
   20643 #include <stdarg.h>
   20644 #include <stdio.h>
   20645 #include <sys/types.h>
   20646 #include <sys/stat.h>
   20647 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   20648 struct buf { int x; };
   20649 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   20650 static char *e (p, i)
   20651      char **p;
   20652      int i;
   20653 {
   20654   return p[i];
   20655 }
   20656 static char *f (char * (*g) (char **, int), char **p, ...)
   20657 {
   20658   char *s;
   20659   va_list v;
   20660   va_start (v,p);
   20661   s = g (p, va_arg (v,int));
   20662   va_end (v);
   20663   return s;
   20664 }
   20665 
   20666 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   20667    function prototypes and stuff, but not '\xHH' hex character constants.
   20668    These don't provoke an error unfortunately, instead are silently treated
   20669    as 'x'.  The following induces an error, until -std is added to get
   20670    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   20671    array size at least.  It's necessary to write '\x00'==0 to get something
   20672    that's true only with -std.  */
   20673 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   20674 
   20675 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   20676    inside strings and character constants.  */
   20677 #define FOO(x) 'x'
   20678 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   20679 
   20680 int test (int i, double x);
   20681 struct s1 {int (*f) (int a);};
   20682 struct s2 {int (*f) (double a);};
   20683 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   20684 int argc;
   20685 char **argv;
   20686 int
   20687 main ()
   20688 {
   20689 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   20690   ;
   20691   return 0;
   20692 }
   20693 _ACEOF
   20694 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   20695 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   20696 do
   20697   CC="$ac_save_CC $ac_arg"
   20698   rm -f conftest.$ac_objext
   20699 if { (ac_try="$ac_compile"
   20700 case "(($ac_try" in
   20701   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20702   *) ac_try_echo=$ac_try;;
   20703 esac
   20704 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   20705 $as_echo "$ac_try_echo") >&5
   20706   (eval "$ac_compile") 2>conftest.er1
   20707   ac_status=$?
   20708   grep -v '^ *+' conftest.er1 >conftest.err
   20709   rm -f conftest.er1
   20710   cat conftest.err >&5
   20711   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20712   (exit $ac_status); } && {
   20713 	 test -z "$ac_c_werror_flag" ||
   20714 	 test ! -s conftest.err
   20715        } && test -s conftest.$ac_objext; then
   20716   ac_cv_prog_cc_c89=$ac_arg
   20717 else
   20718   $as_echo "$as_me: failed program was:" >&5
   20719 sed 's/^/| /' conftest.$ac_ext >&5
   20720 
   20721 
   20722 fi
   20723 
   20724 rm -f core conftest.err conftest.$ac_objext
   20725   test "x$ac_cv_prog_cc_c89" != "xno" && break
   20726 done
   20727 rm -f conftest.$ac_ext
   20728 CC=$ac_save_CC
   20729 
   20730 fi
   20731 # AC_CACHE_VAL
   20732 case "x$ac_cv_prog_cc_c89" in
   20733   x)
   20734     { $as_echo "$as_me:$LINENO: result: none needed" >&5
   20735 $as_echo "none needed" >&6; } ;;
   20736   xno)
   20737     { $as_echo "$as_me:$LINENO: result: unsupported" >&5
   20738 $as_echo "unsupported" >&6; } ;;
   20739   *)
   20740     CC="$CC $ac_cv_prog_cc_c89"
   20741     { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
   20742 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
   20743 esac
   20744 
   20745 
   20746 ac_ext=c
   20747 ac_cpp='$CPP $CPPFLAGS'
   20748 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   20749 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   20750 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   20751 
   20752 depcc="$CC"   am_compiler_list=
   20753 
   20754 { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
   20755 $as_echo_n "checking dependency style of $depcc... " >&6; }
   20756 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
   20757   $as_echo_n "(cached) " >&6
   20758 else
   20759   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   20760   # We make a subdir and do the tests there.  Otherwise we can end up
   20761   # making bogus files that we don't know about and never remove.  For
   20762   # instance it was reported that on HP-UX the gcc test will end up
   20763   # making a dummy file named `D' -- because `-MD' means `put the output
   20764   # in D'.
   20765   mkdir conftest.dir
   20766   # Copy depcomp to subdir because otherwise we won't find it if we're
   20767   # using a relative directory.
   20768   cp "$am_depcomp" conftest.dir
   20769   cd conftest.dir
   20770   # We will build objects and dependencies in a subdirectory because
   20771   # it helps to detect inapplicable dependency modes.  For instance
   20772   # both Tru64's cc and ICC support -MD to output dependencies as a
   20773   # side effect of compilation, but ICC will put the dependencies in
   20774   # the current directory while Tru64 will put them in the object
   20775   # directory.
   20776   mkdir sub
   20777 
   20778   am_cv_CC_dependencies_compiler_type=none
   20779   if test "$am_compiler_list" = ""; then
   20780      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   20781   fi
   20782   am__universal=false
   20783   case " $depcc " in #(
   20784      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   20785      esac
   20786 
   20787   for depmode in $am_compiler_list; do
   20788     # Setup a source with many dependencies, because some compilers
   20789     # like to wrap large dependency lists on column 80 (with \), and
   20790     # we should not choose a depcomp mode which is confused by this.
   20791     #
   20792     # We need to recreate these files for each test, as the compiler may
   20793     # overwrite some of them when testing with obscure command lines.
   20794     # This happens at least with the AIX C compiler.
   20795     : > sub/conftest.c
   20796     for i in 1 2 3 4 5 6; do
   20797       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   20798       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
   20799       # Solaris 8's {/usr,}/bin/sh.
   20800       touch sub/conftst$i.h
   20801     done
   20802     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   20803 
   20804     # We check with `-c' and `-o' for the sake of the "dashmstdout"
   20805     # mode.  It turns out that the SunPro C++ compiler does not properly
   20806     # handle `-M -o', and we need to detect this.  Also, some Intel
   20807     # versions had trouble with output in subdirs
   20808     am__obj=sub/conftest.${OBJEXT-o}
   20809     am__minus_obj="-o $am__obj"
   20810     case $depmode in
   20811     gcc)
   20812       # This depmode causes a compiler race in universal mode.
   20813       test "$am__universal" = false || continue
   20814       ;;
   20815     nosideeffect)
   20816       # after this tag, mechanisms are not by side-effect, so they'll
   20817       # only be used when explicitly requested
   20818       if test "x$enable_dependency_tracking" = xyes; then
   20819 	continue
   20820       else
   20821 	break
   20822       fi
   20823       ;;
   20824     msvisualcpp | msvcmsys)
   20825       # This compiler won't grok `-c -o', but also, the minuso test has
   20826       # not run yet.  These depmodes are late enough in the game, and
   20827       # so weak that their functioning should not be impacted.
   20828       am__obj=conftest.${OBJEXT-o}
   20829       am__minus_obj=
   20830       ;;
   20831     none) break ;;
   20832     esac
   20833     if depmode=$depmode \
   20834        source=sub/conftest.c object=$am__obj \
   20835        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   20836        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   20837          >/dev/null 2>conftest.err &&
   20838        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   20839        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   20840        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   20841        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   20842       # icc doesn't choke on unknown options, it will just issue warnings
   20843       # or remarks (even with -Werror).  So we grep stderr for any message
   20844       # that says an option was ignored or not supported.
   20845       # When given -MP, icc 7.0 and 7.1 complain thusly:
   20846       #   icc: Command line warning: ignoring option '-M'; no argument required
   20847       # The diagnosis changed in icc 8.0:
   20848       #   icc: Command line remark: option '-MP' not supported
   20849       if (grep 'ignoring option' conftest.err ||
   20850           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   20851         am_cv_CC_dependencies_compiler_type=$depmode
   20852         break
   20853       fi
   20854     fi
   20855   done
   20856 
   20857   cd ..
   20858   rm -rf conftest.dir
   20859 else
   20860   am_cv_CC_dependencies_compiler_type=none
   20861 fi
   20862 
   20863 fi
   20864 { $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
   20865 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
   20866 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   20867 
   20868  if
   20869   test "x$enable_dependency_tracking" != xno \
   20870   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   20871   am__fastdepCC_TRUE=
   20872   am__fastdepCC_FALSE='#'
   20873 else
   20874   am__fastdepCC_TRUE='#'
   20875   am__fastdepCC_FALSE=
   20876 fi
   20877 
   20878 
   20879    { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C99" >&5
   20880 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
   20881 if test "${ac_cv_prog_cc_c99+set}" = set; then
   20882   $as_echo_n "(cached) " >&6
   20883 else
   20884   ac_cv_prog_cc_c99=no
   20885 ac_save_CC=$CC
   20886 cat >conftest.$ac_ext <<_ACEOF
   20887 /* confdefs.h.  */
   20888 _ACEOF
   20889 cat confdefs.h >>conftest.$ac_ext
   20890 cat >>conftest.$ac_ext <<_ACEOF
   20891 /* end confdefs.h.  */
   20892 #include <stdarg.h>
   20893 #include <stdbool.h>
   20894 #include <stdlib.h>
   20895 #include <wchar.h>
   20896 #include <stdio.h>
   20897 
   20898 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
   20899 #define debug(...) fprintf (stderr, __VA_ARGS__)
   20900 #define showlist(...) puts (#__VA_ARGS__)
   20901 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
   20902 static void
   20903 test_varargs_macros (void)
   20904 {
   20905   int x = 1234;
   20906   int y = 5678;
   20907   debug ("Flag");
   20908   debug ("X = %d\n", x);
   20909   showlist (The first, second, and third items.);
   20910   report (x>y, "x is %d but y is %d", x, y);
   20911 }
   20912 
   20913 // Check long long types.
   20914 #define BIG64 18446744073709551615ull
   20915 #define BIG32 4294967295ul
   20916 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
   20917 #if !BIG_OK
   20918   your preprocessor is broken;
   20919 #endif
   20920 #if BIG_OK
   20921 #else
   20922   your preprocessor is broken;
   20923 #endif
   20924 static long long int bignum = -9223372036854775807LL;
   20925 static unsigned long long int ubignum = BIG64;
   20926 
   20927 struct incomplete_array
   20928 {
   20929   int datasize;
   20930   double data[];
   20931 };
   20932 
   20933 struct named_init {
   20934   int number;
   20935   const wchar_t *name;
   20936   double average;
   20937 };
   20938 
   20939 typedef const char *ccp;
   20940 
   20941 static inline int
   20942 test_restrict (ccp restrict text)
   20943 {
   20944   // See if C++-style comments work.
   20945   // Iterate through items via the restricted pointer.
   20946   // Also check for declarations in for loops.
   20947   for (unsigned int i = 0; *(text+i) != '\0'; ++i)
   20948     continue;
   20949   return 0;
   20950 }
   20951 
   20952 // Check varargs and va_copy.
   20953 static void
   20954 test_varargs (const char *format, ...)
   20955 {
   20956   va_list args;
   20957   va_start (args, format);
   20958   va_list args_copy;
   20959   va_copy (args_copy, args);
   20960 
   20961   const char *str;
   20962   int number;
   20963   float fnumber;
   20964 
   20965   while (*format)
   20966     {
   20967       switch (*format++)
   20968 	{
   20969 	case 's': // string
   20970 	  str = va_arg (args_copy, const char *);
   20971 	  break;
   20972 	case 'd': // int
   20973 	  number = va_arg (args_copy, int);
   20974 	  break;
   20975 	case 'f': // float
   20976 	  fnumber = va_arg (args_copy, double);
   20977 	  break;
   20978 	default:
   20979 	  break;
   20980 	}
   20981     }
   20982   va_end (args_copy);
   20983   va_end (args);
   20984 }
   20985 
   20986 int
   20987 main ()
   20988 {
   20989 
   20990   // Check bool.
   20991   _Bool success = false;
   20992 
   20993   // Check restrict.
   20994   if (test_restrict ("String literal") == 0)
   20995     success = true;
   20996   char *restrict newvar = "Another string";
   20997 
   20998   // Check varargs.
   20999   test_varargs ("s, d' f .", "string", 65, 34.234);
   21000   test_varargs_macros ();
   21001 
   21002   // Check flexible array members.
   21003   struct incomplete_array *ia =
   21004     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
   21005   ia->datasize = 10;
   21006   for (int i = 0; i < ia->datasize; ++i)
   21007     ia->data[i] = i * 1.234;
   21008 
   21009   // Check named initializers.
   21010   struct named_init ni = {
   21011     .number = 34,
   21012     .name = L"Test wide string",
   21013     .average = 543.34343,
   21014   };
   21015 
   21016   ni.number = 58;
   21017 
   21018   int dynamic_array[ni.number];
   21019   dynamic_array[ni.number - 1] = 543;
   21020 
   21021   // work around unused variable warnings
   21022   return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
   21023 	  || dynamic_array[ni.number - 1] != 543);
   21024 
   21025   ;
   21026   return 0;
   21027 }
   21028 _ACEOF
   21029 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99
   21030 do
   21031   CC="$ac_save_CC $ac_arg"
   21032   rm -f conftest.$ac_objext
   21033 if { (ac_try="$ac_compile"
   21034 case "(($ac_try" in
   21035   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   21036   *) ac_try_echo=$ac_try;;
   21037 esac
   21038 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   21039 $as_echo "$ac_try_echo") >&5
   21040   (eval "$ac_compile") 2>conftest.er1
   21041   ac_status=$?
   21042   grep -v '^ *+' conftest.er1 >conftest.err
   21043   rm -f conftest.er1
   21044   cat conftest.err >&5
   21045   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21046   (exit $ac_status); } && {
   21047 	 test -z "$ac_c_werror_flag" ||
   21048 	 test ! -s conftest.err
   21049        } && test -s conftest.$ac_objext; then
   21050   ac_cv_prog_cc_c99=$ac_arg
   21051 else
   21052   $as_echo "$as_me: failed program was:" >&5
   21053 sed 's/^/| /' conftest.$ac_ext >&5
   21054 
   21055 
   21056 fi
   21057 
   21058 rm -f core conftest.err conftest.$ac_objext
   21059   test "x$ac_cv_prog_cc_c99" != "xno" && break
   21060 done
   21061 rm -f conftest.$ac_ext
   21062 CC=$ac_save_CC
   21063 
   21064 fi
   21065 # AC_CACHE_VAL
   21066 case "x$ac_cv_prog_cc_c99" in
   21067   x)
   21068     { $as_echo "$as_me:$LINENO: result: none needed" >&5
   21069 $as_echo "none needed" >&6; } ;;
   21070   xno)
   21071     { $as_echo "$as_me:$LINENO: result: unsupported" >&5
   21072 $as_echo "unsupported" >&6; } ;;
   21073   *)
   21074     CC="$CC $ac_cv_prog_cc_c99"
   21075     { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c99" >&5
   21076 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
   21077 esac
   21078 
   21079 
   21080 
   21081 
   21082 
   21083 
   21084 if  test "x$GCC" = xyes ; then
   21085     CWARNFLAGS="-Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes \
   21086 -Wmissing-declarations -Wnested-externs -fno-strict-aliasing \
   21087 -Wbad-function-cast"
   21088     case `$CC -dumpversion` in
   21089     3.4.* | 4.*)
   21090 	CWARNFLAGS="$CWARNFLAGS -Wold-style-definition -Wdeclaration-after-statement"
   21091 	;;
   21092     esac
   21093 else
   21094     { $as_echo "$as_me:$LINENO: checking whether __SUNPRO_C is declared" >&5
   21095 $as_echo_n "checking whether __SUNPRO_C is declared... " >&6; }
   21096 if test "${ac_cv_have_decl___SUNPRO_C+set}" = set; then
   21097   $as_echo_n "(cached) " >&6
   21098 else
   21099   cat >conftest.$ac_ext <<_ACEOF
   21100 /* confdefs.h.  */
   21101 _ACEOF
   21102 cat confdefs.h >>conftest.$ac_ext
   21103 cat >>conftest.$ac_ext <<_ACEOF
   21104 /* end confdefs.h.  */
   21105 $ac_includes_default
   21106 int
   21107 main ()
   21108 {
   21109 #ifndef __SUNPRO_C
   21110   (void) __SUNPRO_C;
   21111 #endif
   21112 
   21113   ;
   21114   return 0;
   21115 }
   21116 _ACEOF
   21117 rm -f conftest.$ac_objext
   21118 if { (ac_try="$ac_compile"
   21119 case "(($ac_try" in
   21120   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   21121   *) ac_try_echo=$ac_try;;
   21122 esac
   21123 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   21124 $as_echo "$ac_try_echo") >&5
   21125   (eval "$ac_compile") 2>conftest.er1
   21126   ac_status=$?
   21127   grep -v '^ *+' conftest.er1 >conftest.err
   21128   rm -f conftest.er1
   21129   cat conftest.err >&5
   21130   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21131   (exit $ac_status); } && {
   21132 	 test -z "$ac_c_werror_flag" ||
   21133 	 test ! -s conftest.err
   21134        } && test -s conftest.$ac_objext; then
   21135   ac_cv_have_decl___SUNPRO_C=yes
   21136 else
   21137   $as_echo "$as_me: failed program was:" >&5
   21138 sed 's/^/| /' conftest.$ac_ext >&5
   21139 
   21140 	ac_cv_have_decl___SUNPRO_C=no
   21141 fi
   21142 
   21143 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   21144 fi
   21145 { $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl___SUNPRO_C" >&5
   21146 $as_echo "$ac_cv_have_decl___SUNPRO_C" >&6; }
   21147 if test "x$ac_cv_have_decl___SUNPRO_C" = x""yes; then
   21148   SUNCC="yes"
   21149 else
   21150   SUNCC="no"
   21151 fi
   21152 
   21153     if test "x$SUNCC" = "xyes"; then
   21154 	CWARNFLAGS="-v"
   21155     fi
   21156 fi
   21157 
   21158 # Check whether --enable-silent-rules was given.
   21159 if test "${enable_silent_rules+set}" = set; then
   21160   enableval=$enable_silent_rules;
   21161 fi
   21162 
   21163 case $enable_silent_rules in
   21164 yes) AM_DEFAULT_VERBOSITY=0;;
   21165 no)  AM_DEFAULT_VERBOSITY=1;;
   21166 *)   AM_DEFAULT_VERBOSITY=0;;
   21167 esac
   21168 AM_BACKSLASH='\'
   21169 
   21170 
   21171 
   21172 
   21173 
   21174 
   21175 
   21176 # Check whether --enable-strict-compilation was given.
   21177 if test "${enable_strict_compilation+set}" = set; then
   21178   enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
   21179 else
   21180   STRICT_COMPILE=no
   21181 fi
   21182 
   21183 if test "x$STRICT_COMPILE" = "xyes"; then
   21184 	{ $as_echo "$as_me:$LINENO: checking whether __SUNPRO_C is declared" >&5
   21185 $as_echo_n "checking whether __SUNPRO_C is declared... " >&6; }
   21186 if test "${ac_cv_have_decl___SUNPRO_C+set}" = set; then
   21187   $as_echo_n "(cached) " >&6
   21188 else
   21189   cat >conftest.$ac_ext <<_ACEOF
   21190 /* confdefs.h.  */
   21191 _ACEOF
   21192 cat confdefs.h >>conftest.$ac_ext
   21193 cat >>conftest.$ac_ext <<_ACEOF
   21194 /* end confdefs.h.  */
   21195 $ac_includes_default
   21196 int
   21197 main ()
   21198 {
   21199 #ifndef __SUNPRO_C
   21200   (void) __SUNPRO_C;
   21201 #endif
   21202 
   21203   ;
   21204   return 0;
   21205 }
   21206 _ACEOF
   21207 rm -f conftest.$ac_objext
   21208 if { (ac_try="$ac_compile"
   21209 case "(($ac_try" in
   21210   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   21211   *) ac_try_echo=$ac_try;;
   21212 esac
   21213 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   21214 $as_echo "$ac_try_echo") >&5
   21215   (eval "$ac_compile") 2>conftest.er1
   21216   ac_status=$?
   21217   grep -v '^ *+' conftest.er1 >conftest.err
   21218   rm -f conftest.er1
   21219   cat conftest.err >&5
   21220   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21221   (exit $ac_status); } && {
   21222 	 test -z "$ac_c_werror_flag" ||
   21223 	 test ! -s conftest.err
   21224        } && test -s conftest.$ac_objext; then
   21225   ac_cv_have_decl___SUNPRO_C=yes
   21226 else
   21227   $as_echo "$as_me: failed program was:" >&5
   21228 sed 's/^/| /' conftest.$ac_ext >&5
   21229 
   21230 	ac_cv_have_decl___SUNPRO_C=no
   21231 fi
   21232 
   21233 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   21234 fi
   21235 { $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl___SUNPRO_C" >&5
   21236 $as_echo "$ac_cv_have_decl___SUNPRO_C" >&6; }
   21237 if test "x$ac_cv_have_decl___SUNPRO_C" = x""yes; then
   21238   SUNCC="yes"
   21239 else
   21240   SUNCC="no"
   21241 fi
   21242 
   21243 	{ $as_echo "$as_me:$LINENO: checking whether __INTEL_COMPILER is declared" >&5
   21244 $as_echo_n "checking whether __INTEL_COMPILER is declared... " >&6; }
   21245 if test "${ac_cv_have_decl___INTEL_COMPILER+set}" = set; then
   21246   $as_echo_n "(cached) " >&6
   21247 else
   21248   cat >conftest.$ac_ext <<_ACEOF
   21249 /* confdefs.h.  */
   21250 _ACEOF
   21251 cat confdefs.h >>conftest.$ac_ext
   21252 cat >>conftest.$ac_ext <<_ACEOF
   21253 /* end confdefs.h.  */
   21254 $ac_includes_default
   21255 int
   21256 main ()
   21257 {
   21258 #ifndef __INTEL_COMPILER
   21259   (void) __INTEL_COMPILER;
   21260 #endif
   21261 
   21262   ;
   21263   return 0;
   21264 }
   21265 _ACEOF
   21266 rm -f conftest.$ac_objext
   21267 if { (ac_try="$ac_compile"
   21268 case "(($ac_try" in
   21269   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   21270   *) ac_try_echo=$ac_try;;
   21271 esac
   21272 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   21273 $as_echo "$ac_try_echo") >&5
   21274   (eval "$ac_compile") 2>conftest.er1
   21275   ac_status=$?
   21276   grep -v '^ *+' conftest.er1 >conftest.err
   21277   rm -f conftest.er1
   21278   cat conftest.err >&5
   21279   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21280   (exit $ac_status); } && {
   21281 	 test -z "$ac_c_werror_flag" ||
   21282 	 test ! -s conftest.err
   21283        } && test -s conftest.$ac_objext; then
   21284   ac_cv_have_decl___INTEL_COMPILER=yes
   21285 else
   21286   $as_echo "$as_me: failed program was:" >&5
   21287 sed 's/^/| /' conftest.$ac_ext >&5
   21288 
   21289 	ac_cv_have_decl___INTEL_COMPILER=no
   21290 fi
   21291 
   21292 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   21293 fi
   21294 { $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl___INTEL_COMPILER" >&5
   21295 $as_echo "$ac_cv_have_decl___INTEL_COMPILER" >&6; }
   21296 if test "x$ac_cv_have_decl___INTEL_COMPILER" = x""yes; then
   21297   INTELCC="yes"
   21298 else
   21299   INTELCC="no"
   21300 fi
   21301 
   21302 	if test "x$GCC" = xyes ; then
   21303 		STRICT_CFLAGS="-pedantic -Werror"
   21304 	elif test "x$SUNCC" = "xyes"; then
   21305 		STRICT_CFLAGS="-errwarn"
   21306     elif test "x$INTELCC" = "xyes"; then
   21307 		STRICT_CFLAGS="-Werror"
   21308 	fi
   21309 fi
   21310 CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
   21311 
   21312 
   21313 
   21314 
   21315 # Check whether --with-release-version was given.
   21316 if test "${with_release_version+set}" = set; then
   21317   withval=$with_release_version; RELEASE_VERSION="$withval"
   21318 else
   21319   RELEASE_VERSION=""
   21320 fi
   21321 
   21322 	if test "x$RELEASE_VERSION" != "x"; then
   21323 		PACKAGE="$PACKAGE-$RELEASE_VERSION"
   21324 		PACKAGE_TARNAME="$PACKAGE_TARNAME-$RELEASE_VERSION"
   21325 		{ $as_echo "$as_me:$LINENO: Building with package name set to $PACKAGE" >&5
   21326 $as_echo "$as_me: Building with package name set to $PACKAGE" >&6;}
   21327 	fi
   21328 
   21329 cat >>confdefs.h <<_ACEOF
   21330 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   21331 _ACEOF
   21332 
   21333 	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
   21334 	if test "x$PVM" = "x"; then
   21335 		PVM="0"
   21336 	fi
   21337 
   21338 cat >>confdefs.h <<_ACEOF
   21339 #define PACKAGE_VERSION_MINOR $PVM
   21340 _ACEOF
   21341 
   21342 	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
   21343 	if test "x$PVP" = "x"; then
   21344 		PVP="0"
   21345 	fi
   21346 
   21347 cat >>confdefs.h <<_ACEOF
   21348 #define PACKAGE_VERSION_PATCHLEVEL $PVP
   21349 _ACEOF
   21350 
   21351 
   21352 
   21353 CHANGELOG_CMD="(GIT_DIR=\$(top_srcdir)/.git git log > .changelog.tmp && \
   21354 mv .changelog.tmp ChangeLog) || (rm -f .changelog.tmp; touch ChangeLog; \
   21355 echo 'git directory not found: installing possibly empty changelog.' >&2)"
   21356 
   21357 distcleancheck_listfiles='find . -type f ! -name ChangeLog -print'
   21358 
   21359 
   21360 
   21361 
   21362 
   21363 if test x$APP_MAN_SUFFIX = x    ; then
   21364     APP_MAN_SUFFIX=1
   21365 fi
   21366 if test x$APP_MAN_DIR = x    ; then
   21367     APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
   21368 fi
   21369 
   21370 if test x$LIB_MAN_SUFFIX = x    ; then
   21371     LIB_MAN_SUFFIX=3
   21372 fi
   21373 if test x$LIB_MAN_DIR = x    ; then
   21374     LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
   21375 fi
   21376 
   21377 if test x$FILE_MAN_SUFFIX = x    ; then
   21378     case $host_os in
   21379 	solaris*)	FILE_MAN_SUFFIX=4  ;;
   21380 	*)		FILE_MAN_SUFFIX=5  ;;
   21381     esac
   21382 fi
   21383 if test x$FILE_MAN_DIR = x    ; then
   21384     FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
   21385 fi
   21386 
   21387 if test x$MISC_MAN_SUFFIX = x    ; then
   21388     case $host_os in
   21389 	solaris*)	MISC_MAN_SUFFIX=5  ;;
   21390 	*)		MISC_MAN_SUFFIX=7  ;;
   21391     esac
   21392 fi
   21393 if test x$MISC_MAN_DIR = x    ; then
   21394     MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
   21395 fi
   21396 
   21397 if test x$DRIVER_MAN_SUFFIX = x    ; then
   21398     case $host_os in
   21399 	solaris*)	DRIVER_MAN_SUFFIX=7  ;;
   21400 	*)		DRIVER_MAN_SUFFIX=4  ;;
   21401     esac
   21402 fi
   21403 if test x$DRIVER_MAN_DIR = x    ; then
   21404     DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
   21405 fi
   21406 
   21407 if test x$ADMIN_MAN_SUFFIX = x    ; then
   21408     case $host_os in
   21409 	solaris*)	ADMIN_MAN_SUFFIX=1m ;;
   21410 	*)		ADMIN_MAN_SUFFIX=8  ;;
   21411     esac
   21412 fi
   21413 if test x$ADMIN_MAN_DIR = x    ; then
   21414     ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
   21415 fi
   21416 
   21417 
   21418 
   21419 
   21420 
   21421 
   21422 
   21423 
   21424 
   21425 
   21426 
   21427 
   21428 
   21429 
   21430 
   21431 
   21432 
   21433 # Checks for pkg-config packages
   21434 
   21435 
   21436 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   21437 	if test -n "$ac_tool_prefix"; then
   21438   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   21439 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   21440 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   21441 $as_echo_n "checking for $ac_word... " >&6; }
   21442 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
   21443   $as_echo_n "(cached) " >&6
   21444 else
   21445   case $PKG_CONFIG in
   21446   [\\/]* | ?:[\\/]*)
   21447   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   21448   ;;
   21449   *)
   21450   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   21451 for as_dir in $PATH
   21452 do
   21453   IFS=$as_save_IFS
   21454   test -z "$as_dir" && as_dir=.
   21455   for ac_exec_ext in '' $ac_executable_extensions; do
   21456   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   21457     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   21458     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   21459     break 2
   21460   fi
   21461 done
   21462 done
   21463 IFS=$as_save_IFS
   21464 
   21465   ;;
   21466 esac
   21467 fi
   21468 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   21469 if test -n "$PKG_CONFIG"; then
   21470   { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
   21471 $as_echo "$PKG_CONFIG" >&6; }
   21472 else
   21473   { $as_echo "$as_me:$LINENO: result: no" >&5
   21474 $as_echo "no" >&6; }
   21475 fi
   21476 
   21477 
   21478 fi
   21479 if test -z "$ac_cv_path_PKG_CONFIG"; then
   21480   ac_pt_PKG_CONFIG=$PKG_CONFIG
   21481   # Extract the first word of "pkg-config", so it can be a program name with args.
   21482 set dummy pkg-config; ac_word=$2
   21483 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   21484 $as_echo_n "checking for $ac_word... " >&6; }
   21485 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
   21486   $as_echo_n "(cached) " >&6
   21487 else
   21488   case $ac_pt_PKG_CONFIG in
   21489   [\\/]* | ?:[\\/]*)
   21490   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   21491   ;;
   21492   *)
   21493   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   21494 for as_dir in $PATH
   21495 do
   21496   IFS=$as_save_IFS
   21497   test -z "$as_dir" && as_dir=.
   21498   for ac_exec_ext in '' $ac_executable_extensions; do
   21499   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   21500     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   21501     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   21502     break 2
   21503   fi
   21504 done
   21505 done
   21506 IFS=$as_save_IFS
   21507 
   21508   ;;
   21509 esac
   21510 fi
   21511 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   21512 if test -n "$ac_pt_PKG_CONFIG"; then
   21513   { $as_echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
   21514 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
   21515 else
   21516   { $as_echo "$as_me:$LINENO: result: no" >&5
   21517 $as_echo "no" >&6; }
   21518 fi
   21519 
   21520   if test "x$ac_pt_PKG_CONFIG" = x; then
   21521     PKG_CONFIG=""
   21522   else
   21523     case $cross_compiling:$ac_tool_warned in
   21524 yes:)
   21525 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   21526 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   21527 ac_tool_warned=yes ;;
   21528 esac
   21529     PKG_CONFIG=$ac_pt_PKG_CONFIG
   21530   fi
   21531 else
   21532   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   21533 fi
   21534 
   21535 fi
   21536 if test -n "$PKG_CONFIG"; then
   21537 	_pkg_min_version=0.9.0
   21538 	{ $as_echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
   21539 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   21540 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   21541 		{ $as_echo "$as_me:$LINENO: result: yes" >&5
   21542 $as_echo "yes" >&6; }
   21543 	else
   21544 		{ $as_echo "$as_me:$LINENO: result: no" >&5
   21545 $as_echo "no" >&6; }
   21546 		PKG_CONFIG=""
   21547 	fi
   21548 
   21549 fi
   21550 
   21551 pkg_failed=no
   21552 { $as_echo "$as_me:$LINENO: checking for XMU" >&5
   21553 $as_echo_n "checking for XMU... " >&6; }
   21554 
   21555 if test -n "$XMU_CFLAGS"; then
   21556     pkg_cv_XMU_CFLAGS="$XMU_CFLAGS"
   21557  elif test -n "$PKG_CONFIG"; then
   21558     if test -n "$PKG_CONFIG" && \
   21559     { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xt xext x11 xextproto\"") >&5
   21560   ($PKG_CONFIG --exists --print-errors "xt xext x11 xextproto") 2>&5
   21561   ac_status=$?
   21562   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21563   (exit $ac_status); }; then
   21564   pkg_cv_XMU_CFLAGS=`$PKG_CONFIG --cflags "xt xext x11 xextproto" 2>/dev/null`
   21565 else
   21566   pkg_failed=yes
   21567 fi
   21568  else
   21569     pkg_failed=untried
   21570 fi
   21571 if test -n "$XMU_LIBS"; then
   21572     pkg_cv_XMU_LIBS="$XMU_LIBS"
   21573  elif test -n "$PKG_CONFIG"; then
   21574     if test -n "$PKG_CONFIG" && \
   21575     { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xt xext x11 xextproto\"") >&5
   21576   ($PKG_CONFIG --exists --print-errors "xt xext x11 xextproto") 2>&5
   21577   ac_status=$?
   21578   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21579   (exit $ac_status); }; then
   21580   pkg_cv_XMU_LIBS=`$PKG_CONFIG --libs "xt xext x11 xextproto" 2>/dev/null`
   21581 else
   21582   pkg_failed=yes
   21583 fi
   21584  else
   21585     pkg_failed=untried
   21586 fi
   21587 
   21588 
   21589 
   21590 if test $pkg_failed = yes; then
   21591 
   21592 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   21593         _pkg_short_errors_supported=yes
   21594 else
   21595         _pkg_short_errors_supported=no
   21596 fi
   21597         if test $_pkg_short_errors_supported = yes; then
   21598 	        XMU_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "xt xext x11 xextproto" 2>&1`
   21599         else
   21600 	        XMU_PKG_ERRORS=`$PKG_CONFIG --print-errors "xt xext x11 xextproto" 2>&1`
   21601         fi
   21602 	# Put the nasty error message in config.log where it belongs
   21603 	echo "$XMU_PKG_ERRORS" >&5
   21604 
   21605 	{ { $as_echo "$as_me:$LINENO: error: Package requirements (xt xext x11 xextproto) were not met:
   21606 
   21607 $XMU_PKG_ERRORS
   21608 
   21609 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   21610 installed software in a non-standard prefix.
   21611 
   21612 Alternatively, you may set the environment variables XMU_CFLAGS
   21613 and XMU_LIBS to avoid the need to call pkg-config.
   21614 See the pkg-config man page for more details.
   21615 " >&5
   21616 $as_echo "$as_me: error: Package requirements (xt xext x11 xextproto) were not met:
   21617 
   21618 $XMU_PKG_ERRORS
   21619 
   21620 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   21621 installed software in a non-standard prefix.
   21622 
   21623 Alternatively, you may set the environment variables XMU_CFLAGS
   21624 and XMU_LIBS to avoid the need to call pkg-config.
   21625 See the pkg-config man page for more details.
   21626 " >&2;}
   21627    { (exit 1); exit 1; }; }
   21628 elif test $pkg_failed = untried; then
   21629 	{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   21630 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   21631 { { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
   21632 is in your PATH or set the PKG_CONFIG environment variable to the full
   21633 path to pkg-config.
   21634 
   21635 Alternatively, you may set the environment variables XMU_CFLAGS
   21636 and XMU_LIBS to avoid the need to call pkg-config.
   21637 See the pkg-config man page for more details.
   21638 
   21639 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   21640 See \`config.log' for more details." >&5
   21641 $as_echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
   21642 is in your PATH or set the PKG_CONFIG environment variable to the full
   21643 path to pkg-config.
   21644 
   21645 Alternatively, you may set the environment variables XMU_CFLAGS
   21646 and XMU_LIBS to avoid the need to call pkg-config.
   21647 See the pkg-config man page for more details.
   21648 
   21649 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   21650 See \`config.log' for more details." >&2;}
   21651    { (exit 1); exit 1; }; }; }
   21652 else
   21653 	XMU_CFLAGS=$pkg_cv_XMU_CFLAGS
   21654 	XMU_LIBS=$pkg_cv_XMU_LIBS
   21655         { $as_echo "$as_me:$LINENO: result: yes" >&5
   21656 $as_echo "yes" >&6; }
   21657 	:
   21658 fi
   21659 
   21660 
   21661 
   21662 
   21663 pkg_failed=no
   21664 { $as_echo "$as_me:$LINENO: checking for XMUU" >&5
   21665 $as_echo_n "checking for XMUU... " >&6; }
   21666 
   21667 if test -n "$XMUU_CFLAGS"; then
   21668     pkg_cv_XMUU_CFLAGS="$XMUU_CFLAGS"
   21669  elif test -n "$PKG_CONFIG"; then
   21670     if test -n "$PKG_CONFIG" && \
   21671     { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"x11\"") >&5
   21672   ($PKG_CONFIG --exists --print-errors "x11") 2>&5
   21673   ac_status=$?
   21674   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21675   (exit $ac_status); }; then
   21676   pkg_cv_XMUU_CFLAGS=`$PKG_CONFIG --cflags "x11" 2>/dev/null`
   21677 else
   21678   pkg_failed=yes
   21679 fi
   21680  else
   21681     pkg_failed=untried
   21682 fi
   21683 if test -n "$XMUU_LIBS"; then
   21684     pkg_cv_XMUU_LIBS="$XMUU_LIBS"
   21685  elif test -n "$PKG_CONFIG"; then
   21686     if test -n "$PKG_CONFIG" && \
   21687     { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"x11\"") >&5
   21688   ($PKG_CONFIG --exists --print-errors "x11") 2>&5
   21689   ac_status=$?
   21690   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21691   (exit $ac_status); }; then
   21692   pkg_cv_XMUU_LIBS=`$PKG_CONFIG --libs "x11" 2>/dev/null`
   21693 else
   21694   pkg_failed=yes
   21695 fi
   21696  else
   21697     pkg_failed=untried
   21698 fi
   21699 
   21700 
   21701 
   21702 if test $pkg_failed = yes; then
   21703 
   21704 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   21705         _pkg_short_errors_supported=yes
   21706 else
   21707         _pkg_short_errors_supported=no
   21708 fi
   21709         if test $_pkg_short_errors_supported = yes; then
   21710 	        XMUU_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "x11" 2>&1`
   21711         else
   21712 	        XMUU_PKG_ERRORS=`$PKG_CONFIG --print-errors "x11" 2>&1`
   21713         fi
   21714 	# Put the nasty error message in config.log where it belongs
   21715 	echo "$XMUU_PKG_ERRORS" >&5
   21716 
   21717 	{ { $as_echo "$as_me:$LINENO: error: Package requirements (x11) were not met:
   21718 
   21719 $XMUU_PKG_ERRORS
   21720 
   21721 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   21722 installed software in a non-standard prefix.
   21723 
   21724 Alternatively, you may set the environment variables XMUU_CFLAGS
   21725 and XMUU_LIBS to avoid the need to call pkg-config.
   21726 See the pkg-config man page for more details.
   21727 " >&5
   21728 $as_echo "$as_me: error: Package requirements (x11) were not met:
   21729 
   21730 $XMUU_PKG_ERRORS
   21731 
   21732 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   21733 installed software in a non-standard prefix.
   21734 
   21735 Alternatively, you may set the environment variables XMUU_CFLAGS
   21736 and XMUU_LIBS to avoid the need to call pkg-config.
   21737 See the pkg-config man page for more details.
   21738 " >&2;}
   21739    { (exit 1); exit 1; }; }
   21740 elif test $pkg_failed = untried; then
   21741 	{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   21742 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   21743 { { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
   21744 is in your PATH or set the PKG_CONFIG environment variable to the full
   21745 path to pkg-config.
   21746 
   21747 Alternatively, you may set the environment variables XMUU_CFLAGS
   21748 and XMUU_LIBS to avoid the need to call pkg-config.
   21749 See the pkg-config man page for more details.
   21750 
   21751 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   21752 See \`config.log' for more details." >&5
   21753 $as_echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
   21754 is in your PATH or set the PKG_CONFIG environment variable to the full
   21755 path to pkg-config.
   21756 
   21757 Alternatively, you may set the environment variables XMUU_CFLAGS
   21758 and XMUU_LIBS to avoid the need to call pkg-config.
   21759 See the pkg-config man page for more details.
   21760 
   21761 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   21762 See \`config.log' for more details." >&2;}
   21763    { (exit 1); exit 1; }; }; }
   21764 else
   21765 	XMUU_CFLAGS=$pkg_cv_XMUU_CFLAGS
   21766 	XMUU_LIBS=$pkg_cv_XMUU_LIBS
   21767         { $as_echo "$as_me:$LINENO: result: yes" >&5
   21768 $as_echo "yes" >&6; }
   21769 	:
   21770 fi
   21771 
   21772 
   21773 
   21774 # CvtStdSel.c needs to know which network transports to build hostname
   21775 # conversion routines for
   21776 { $as_echo "$as_me:$LINENO: checking return type of signal handlers" >&5
   21777 $as_echo_n "checking return type of signal handlers... " >&6; }
   21778 if test "${ac_cv_type_signal+set}" = set; then
   21779   $as_echo_n "(cached) " >&6
   21780 else
   21781   cat >conftest.$ac_ext <<_ACEOF
   21782 /* confdefs.h.  */
   21783 _ACEOF
   21784 cat confdefs.h >>conftest.$ac_ext
   21785 cat >>conftest.$ac_ext <<_ACEOF
   21786 /* end confdefs.h.  */
   21787 #include <sys/types.h>
   21788 #include <signal.h>
   21789 
   21790 int
   21791 main ()
   21792 {
   21793 return *(signal (0, 0)) (0) == 1;
   21794   ;
   21795   return 0;
   21796 }
   21797 _ACEOF
   21798 rm -f conftest.$ac_objext
   21799 if { (ac_try="$ac_compile"
   21800 case "(($ac_try" in
   21801   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   21802   *) ac_try_echo=$ac_try;;
   21803 esac
   21804 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   21805 $as_echo "$ac_try_echo") >&5
   21806   (eval "$ac_compile") 2>conftest.er1
   21807   ac_status=$?
   21808   grep -v '^ *+' conftest.er1 >conftest.err
   21809   rm -f conftest.er1
   21810   cat conftest.err >&5
   21811   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21812   (exit $ac_status); } && {
   21813 	 test -z "$ac_c_werror_flag" ||
   21814 	 test ! -s conftest.err
   21815        } && test -s conftest.$ac_objext; then
   21816   ac_cv_type_signal=int
   21817 else
   21818   $as_echo "$as_me: failed program was:" >&5
   21819 sed 's/^/| /' conftest.$ac_ext >&5
   21820 
   21821 	ac_cv_type_signal=void
   21822 fi
   21823 
   21824 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   21825 fi
   21826 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
   21827 $as_echo "$ac_cv_type_signal" >&6; }
   21828 
   21829 cat >>confdefs.h <<_ACEOF
   21830 #define RETSIGTYPE $ac_cv_type_signal
   21831 _ACEOF
   21832 
   21833 
   21834 
   21835 
   21836 
   21837  case $host_os in
   21838 	mingw*)	unixdef="no"   ;;
   21839 	*)	unixdef="yes"  ;;
   21840  esac
   21841  # Check whether --enable-unix-transport was given.
   21842 if test "${enable_unix_transport+set}" = set; then
   21843   enableval=$enable_unix_transport; UNIXCONN=$enableval
   21844 else
   21845   UNIXCONN=$unixdef
   21846 fi
   21847 
   21848  { $as_echo "$as_me:$LINENO: checking if Xtrans should support UNIX socket connections" >&5
   21849 $as_echo_n "checking if Xtrans should support UNIX socket connections... " >&6; }
   21850  if test "$UNIXCONN" = "yes"; then
   21851 
   21852 cat >>confdefs.h <<\_ACEOF
   21853 #define UNIXCONN 1
   21854 _ACEOF
   21855 
   21856  fi
   21857  { $as_echo "$as_me:$LINENO: result: $UNIXCONN" >&5
   21858 $as_echo "$UNIXCONN" >&6; }
   21859  # Check whether --enable-tcp-transport was given.
   21860 if test "${enable_tcp_transport+set}" = set; then
   21861   enableval=$enable_tcp_transport; TCPCONN=$enableval
   21862 else
   21863   TCPCONN=yes
   21864 fi
   21865 
   21866  { $as_echo "$as_me:$LINENO: checking if Xtrans should support TCP socket connections" >&5
   21867 $as_echo_n "checking if Xtrans should support TCP socket connections... " >&6; }
   21868  { $as_echo "$as_me:$LINENO: result: $TCPCONN" >&5
   21869 $as_echo "$TCPCONN" >&6; }
   21870  if test "$TCPCONN" = "yes"; then
   21871 
   21872 cat >>confdefs.h <<\_ACEOF
   21873 #define TCPCONN 1
   21874 _ACEOF
   21875 
   21876 
   21877  # SVR4 hides these in libraries other than libc
   21878  { $as_echo "$as_me:$LINENO: checking for library containing socket" >&5
   21879 $as_echo_n "checking for library containing socket... " >&6; }
   21880 if test "${ac_cv_search_socket+set}" = set; then
   21881   $as_echo_n "(cached) " >&6
   21882 else
   21883   ac_func_search_save_LIBS=$LIBS
   21884 cat >conftest.$ac_ext <<_ACEOF
   21885 /* confdefs.h.  */
   21886 _ACEOF
   21887 cat confdefs.h >>conftest.$ac_ext
   21888 cat >>conftest.$ac_ext <<_ACEOF
   21889 /* end confdefs.h.  */
   21890 
   21891 /* Override any GCC internal prototype to avoid an error.
   21892    Use char because int might match the return type of a GCC
   21893    builtin and then its argument prototype would still apply.  */
   21894 #ifdef __cplusplus
   21895 extern "C"
   21896 #endif
   21897 char socket ();
   21898 int
   21899 main ()
   21900 {
   21901 return socket ();
   21902   ;
   21903   return 0;
   21904 }
   21905 _ACEOF
   21906 for ac_lib in '' socket; do
   21907   if test -z "$ac_lib"; then
   21908     ac_res="none required"
   21909   else
   21910     ac_res=-l$ac_lib
   21911     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   21912   fi
   21913   rm -f conftest.$ac_objext conftest$ac_exeext
   21914 if { (ac_try="$ac_link"
   21915 case "(($ac_try" in
   21916   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   21917   *) ac_try_echo=$ac_try;;
   21918 esac
   21919 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   21920 $as_echo "$ac_try_echo") >&5
   21921   (eval "$ac_link") 2>conftest.er1
   21922   ac_status=$?
   21923   grep -v '^ *+' conftest.er1 >conftest.err
   21924   rm -f conftest.er1
   21925   cat conftest.err >&5
   21926   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21927   (exit $ac_status); } && {
   21928 	 test -z "$ac_c_werror_flag" ||
   21929 	 test ! -s conftest.err
   21930        } && test -s conftest$ac_exeext && {
   21931 	 test "$cross_compiling" = yes ||
   21932 	 $as_test_x conftest$ac_exeext
   21933        }; then
   21934   ac_cv_search_socket=$ac_res
   21935 else
   21936   $as_echo "$as_me: failed program was:" >&5
   21937 sed 's/^/| /' conftest.$ac_ext >&5
   21938 
   21939 
   21940 fi
   21941 
   21942 rm -rf conftest.dSYM
   21943 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   21944       conftest$ac_exeext
   21945   if test "${ac_cv_search_socket+set}" = set; then
   21946   break
   21947 fi
   21948 done
   21949 if test "${ac_cv_search_socket+set}" = set; then
   21950   :
   21951 else
   21952   ac_cv_search_socket=no
   21953 fi
   21954 rm conftest.$ac_ext
   21955 LIBS=$ac_func_search_save_LIBS
   21956 fi
   21957 { $as_echo "$as_me:$LINENO: result: $ac_cv_search_socket" >&5
   21958 $as_echo "$ac_cv_search_socket" >&6; }
   21959 ac_res=$ac_cv_search_socket
   21960 if test "$ac_res" != no; then
   21961   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
   21962 
   21963 fi
   21964 
   21965  { $as_echo "$as_me:$LINENO: checking for library containing gethostbyname" >&5
   21966 $as_echo_n "checking for library containing gethostbyname... " >&6; }
   21967 if test "${ac_cv_search_gethostbyname+set}" = set; then
   21968   $as_echo_n "(cached) " >&6
   21969 else
   21970   ac_func_search_save_LIBS=$LIBS
   21971 cat >conftest.$ac_ext <<_ACEOF
   21972 /* confdefs.h.  */
   21973 _ACEOF
   21974 cat confdefs.h >>conftest.$ac_ext
   21975 cat >>conftest.$ac_ext <<_ACEOF
   21976 /* end confdefs.h.  */
   21977 
   21978 /* Override any GCC internal prototype to avoid an error.
   21979    Use char because int might match the return type of a GCC
   21980    builtin and then its argument prototype would still apply.  */
   21981 #ifdef __cplusplus
   21982 extern "C"
   21983 #endif
   21984 char gethostbyname ();
   21985 int
   21986 main ()
   21987 {
   21988 return gethostbyname ();
   21989   ;
   21990   return 0;
   21991 }
   21992 _ACEOF
   21993 for ac_lib in '' nsl; do
   21994   if test -z "$ac_lib"; then
   21995     ac_res="none required"
   21996   else
   21997     ac_res=-l$ac_lib
   21998     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   21999   fi
   22000   rm -f conftest.$ac_objext conftest$ac_exeext
   22001 if { (ac_try="$ac_link"
   22002 case "(($ac_try" in
   22003   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   22004   *) ac_try_echo=$ac_try;;
   22005 esac
   22006 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   22007 $as_echo "$ac_try_echo") >&5
   22008   (eval "$ac_link") 2>conftest.er1
   22009   ac_status=$?
   22010   grep -v '^ *+' conftest.er1 >conftest.err
   22011   rm -f conftest.er1
   22012   cat conftest.err >&5
   22013   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   22014   (exit $ac_status); } && {
   22015 	 test -z "$ac_c_werror_flag" ||
   22016 	 test ! -s conftest.err
   22017        } && test -s conftest$ac_exeext && {
   22018 	 test "$cross_compiling" = yes ||
   22019 	 $as_test_x conftest$ac_exeext
   22020        }; then
   22021   ac_cv_search_gethostbyname=$ac_res
   22022 else
   22023   $as_echo "$as_me: failed program was:" >&5
   22024 sed 's/^/| /' conftest.$ac_ext >&5
   22025 
   22026 
   22027 fi
   22028 
   22029 rm -rf conftest.dSYM
   22030 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   22031       conftest$ac_exeext
   22032   if test "${ac_cv_search_gethostbyname+set}" = set; then
   22033   break
   22034 fi
   22035 done
   22036 if test "${ac_cv_search_gethostbyname+set}" = set; then
   22037   :
   22038 else
   22039   ac_cv_search_gethostbyname=no
   22040 fi
   22041 rm conftest.$ac_ext
   22042 LIBS=$ac_func_search_save_LIBS
   22043 fi
   22044 { $as_echo "$as_me:$LINENO: result: $ac_cv_search_gethostbyname" >&5
   22045 $as_echo "$ac_cv_search_gethostbyname" >&6; }
   22046 ac_res=$ac_cv_search_gethostbyname
   22047 if test "$ac_res" != no; then
   22048   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
   22049 
   22050 fi
   22051 
   22052 
   22053 { $as_echo "$as_me:$LINENO: checking for main in -lws2_32" >&5
   22054 $as_echo_n "checking for main in -lws2_32... " >&6; }
   22055 if test "${ac_cv_lib_ws2_32_main+set}" = set; then
   22056   $as_echo_n "(cached) " >&6
   22057 else
   22058   ac_check_lib_save_LIBS=$LIBS
   22059 LIBS="-lws2_32  $LIBS"
   22060 cat >conftest.$ac_ext <<_ACEOF
   22061 /* confdefs.h.  */
   22062 _ACEOF
   22063 cat confdefs.h >>conftest.$ac_ext
   22064 cat >>conftest.$ac_ext <<_ACEOF
   22065 /* end confdefs.h.  */
   22066 
   22067 
   22068 int
   22069 main ()
   22070 {
   22071 return main ();
   22072   ;
   22073   return 0;
   22074 }
   22075 _ACEOF
   22076 rm -f conftest.$ac_objext conftest$ac_exeext
   22077 if { (ac_try="$ac_link"
   22078 case "(($ac_try" in
   22079   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   22080   *) ac_try_echo=$ac_try;;
   22081 esac
   22082 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   22083 $as_echo "$ac_try_echo") >&5
   22084   (eval "$ac_link") 2>conftest.er1
   22085   ac_status=$?
   22086   grep -v '^ *+' conftest.er1 >conftest.err
   22087   rm -f conftest.er1
   22088   cat conftest.err >&5
   22089   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   22090   (exit $ac_status); } && {
   22091 	 test -z "$ac_c_werror_flag" ||
   22092 	 test ! -s conftest.err
   22093        } && test -s conftest$ac_exeext && {
   22094 	 test "$cross_compiling" = yes ||
   22095 	 $as_test_x conftest$ac_exeext
   22096        }; then
   22097   ac_cv_lib_ws2_32_main=yes
   22098 else
   22099   $as_echo "$as_me: failed program was:" >&5
   22100 sed 's/^/| /' conftest.$ac_ext >&5
   22101 
   22102 	ac_cv_lib_ws2_32_main=no
   22103 fi
   22104 
   22105 rm -rf conftest.dSYM
   22106 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   22107       conftest$ac_exeext conftest.$ac_ext
   22108 LIBS=$ac_check_lib_save_LIBS
   22109 fi
   22110 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_ws2_32_main" >&5
   22111 $as_echo "$ac_cv_lib_ws2_32_main" >&6; }
   22112 if test "x$ac_cv_lib_ws2_32_main" = x""yes; then
   22113   cat >>confdefs.h <<_ACEOF
   22114 #define HAVE_LIBWS2_32 1
   22115 _ACEOF
   22116 
   22117   LIBS="-lws2_32 $LIBS"
   22118 
   22119 fi
   22120 ac_cv_lib_ws2_32=ac_cv_lib_ws2_32_main
   22121 
   22122 
   22123  # Needs to come after above checks for libsocket & libnsl for SVR4 systems
   22124  # Check whether --enable-ipv6 was given.
   22125 if test "${enable_ipv6+set}" = set; then
   22126   enableval=$enable_ipv6; IPV6CONN=$enableval
   22127 else
   22128   { $as_echo "$as_me:$LINENO: checking for getaddrinfo" >&5
   22129 $as_echo_n "checking for getaddrinfo... " >&6; }
   22130 if test "${ac_cv_func_getaddrinfo+set}" = set; then
   22131   $as_echo_n "(cached) " >&6
   22132 else
   22133   cat >conftest.$ac_ext <<_ACEOF
   22134 /* confdefs.h.  */
   22135 _ACEOF
   22136 cat confdefs.h >>conftest.$ac_ext
   22137 cat >>conftest.$ac_ext <<_ACEOF
   22138 /* end confdefs.h.  */
   22139 /* Define getaddrinfo to an innocuous variant, in case <limits.h> declares getaddrinfo.
   22140    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   22141 #define getaddrinfo innocuous_getaddrinfo
   22142 
   22143 /* System header to define __stub macros and hopefully few prototypes,
   22144     which can conflict with char getaddrinfo (); below.
   22145     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   22146     <limits.h> exists even on freestanding compilers.  */
   22147 
   22148 #ifdef __STDC__
   22149 # include <limits.h>
   22150 #else
   22151 # include <assert.h>
   22152 #endif
   22153 
   22154 #undef getaddrinfo
   22155 
   22156 /* Override any GCC internal prototype to avoid an error.
   22157    Use char because int might match the return type of a GCC
   22158    builtin and then its argument prototype would still apply.  */
   22159 #ifdef __cplusplus
   22160 extern "C"
   22161 #endif
   22162 char getaddrinfo ();
   22163 /* The GNU C library defines this for functions which it implements
   22164     to always fail with ENOSYS.  Some functions are actually named
   22165     something starting with __ and the normal name is an alias.  */
   22166 #if defined __stub_getaddrinfo || defined __stub___getaddrinfo
   22167 choke me
   22168 #endif
   22169 
   22170 int
   22171 main ()
   22172 {
   22173 return getaddrinfo ();
   22174   ;
   22175   return 0;
   22176 }
   22177 _ACEOF
   22178 rm -f conftest.$ac_objext conftest$ac_exeext
   22179 if { (ac_try="$ac_link"
   22180 case "(($ac_try" in
   22181   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   22182   *) ac_try_echo=$ac_try;;
   22183 esac
   22184 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   22185 $as_echo "$ac_try_echo") >&5
   22186   (eval "$ac_link") 2>conftest.er1
   22187   ac_status=$?
   22188   grep -v '^ *+' conftest.er1 >conftest.err
   22189   rm -f conftest.er1
   22190   cat conftest.err >&5
   22191   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   22192   (exit $ac_status); } && {
   22193 	 test -z "$ac_c_werror_flag" ||
   22194 	 test ! -s conftest.err
   22195        } && test -s conftest$ac_exeext && {
   22196 	 test "$cross_compiling" = yes ||
   22197 	 $as_test_x conftest$ac_exeext
   22198        }; then
   22199   ac_cv_func_getaddrinfo=yes
   22200 else
   22201   $as_echo "$as_me: failed program was:" >&5
   22202 sed 's/^/| /' conftest.$ac_ext >&5
   22203 
   22204 	ac_cv_func_getaddrinfo=no
   22205 fi
   22206 
   22207 rm -rf conftest.dSYM
   22208 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   22209       conftest$ac_exeext conftest.$ac_ext
   22210 fi
   22211 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_getaddrinfo" >&5
   22212 $as_echo "$ac_cv_func_getaddrinfo" >&6; }
   22213 if test "x$ac_cv_func_getaddrinfo" = x""yes; then
   22214   IPV6CONN=yes
   22215 else
   22216   IPV6CONN=no
   22217 fi
   22218 
   22219 fi
   22220 
   22221  { $as_echo "$as_me:$LINENO: checking if IPv6 support should be built" >&5
   22222 $as_echo_n "checking if IPv6 support should be built... " >&6; }
   22223  if test "$IPV6CONN" = "yes"; then
   22224 
   22225 cat >>confdefs.h <<\_ACEOF
   22226 #define IPv6 1
   22227 _ACEOF
   22228 
   22229  fi
   22230  { $as_echo "$as_me:$LINENO: result: $IPV6CONN" >&5
   22231 $as_echo "$IPV6CONN" >&6; }
   22232 
   22233  # 4.3BSD-Reno added a new member to struct sockaddr_in
   22234  { $as_echo "$as_me:$LINENO: checking for struct sockaddr_in.sin_len" >&5
   22235 $as_echo_n "checking for struct sockaddr_in.sin_len... " >&6; }
   22236 if test "${ac_cv_member_struct_sockaddr_in_sin_len+set}" = set; then
   22237   $as_echo_n "(cached) " >&6
   22238 else
   22239   cat >conftest.$ac_ext <<_ACEOF
   22240 /* confdefs.h.  */
   22241 _ACEOF
   22242 cat confdefs.h >>conftest.$ac_ext
   22243 cat >>conftest.$ac_ext <<_ACEOF
   22244 /* end confdefs.h.  */
   22245 
   22246 #include <sys/types.h>
   22247 #include <sys/socket.h>
   22248 #include <netinet/in.h>
   22249 
   22250 
   22251 int
   22252 main ()
   22253 {
   22254 static struct sockaddr_in ac_aggr;
   22255 if (ac_aggr.sin_len)
   22256 return 0;
   22257   ;
   22258   return 0;
   22259 }
   22260 _ACEOF
   22261 rm -f conftest.$ac_objext
   22262 if { (ac_try="$ac_compile"
   22263 case "(($ac_try" in
   22264   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   22265   *) ac_try_echo=$ac_try;;
   22266 esac
   22267 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   22268 $as_echo "$ac_try_echo") >&5
   22269   (eval "$ac_compile") 2>conftest.er1
   22270   ac_status=$?
   22271   grep -v '^ *+' conftest.er1 >conftest.err
   22272   rm -f conftest.er1
   22273   cat conftest.err >&5
   22274   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   22275   (exit $ac_status); } && {
   22276 	 test -z "$ac_c_werror_flag" ||
   22277 	 test ! -s conftest.err
   22278        } && test -s conftest.$ac_objext; then
   22279   ac_cv_member_struct_sockaddr_in_sin_len=yes
   22280 else
   22281   $as_echo "$as_me: failed program was:" >&5
   22282 sed 's/^/| /' conftest.$ac_ext >&5
   22283 
   22284 	cat >conftest.$ac_ext <<_ACEOF
   22285 /* confdefs.h.  */
   22286 _ACEOF
   22287 cat confdefs.h >>conftest.$ac_ext
   22288 cat >>conftest.$ac_ext <<_ACEOF
   22289 /* end confdefs.h.  */
   22290 
   22291 #include <sys/types.h>
   22292 #include <sys/socket.h>
   22293 #include <netinet/in.h>
   22294 
   22295 
   22296 int
   22297 main ()
   22298 {
   22299 static struct sockaddr_in ac_aggr;
   22300 if (sizeof ac_aggr.sin_len)
   22301 return 0;
   22302   ;
   22303   return 0;
   22304 }
   22305 _ACEOF
   22306 rm -f conftest.$ac_objext
   22307 if { (ac_try="$ac_compile"
   22308 case "(($ac_try" in
   22309   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   22310   *) ac_try_echo=$ac_try;;
   22311 esac
   22312 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   22313 $as_echo "$ac_try_echo") >&5
   22314   (eval "$ac_compile") 2>conftest.er1
   22315   ac_status=$?
   22316   grep -v '^ *+' conftest.er1 >conftest.err
   22317   rm -f conftest.er1
   22318   cat conftest.err >&5
   22319   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   22320   (exit $ac_status); } && {
   22321 	 test -z "$ac_c_werror_flag" ||
   22322 	 test ! -s conftest.err
   22323        } && test -s conftest.$ac_objext; then
   22324   ac_cv_member_struct_sockaddr_in_sin_len=yes
   22325 else
   22326   $as_echo "$as_me: failed program was:" >&5
   22327 sed 's/^/| /' conftest.$ac_ext >&5
   22328 
   22329 	ac_cv_member_struct_sockaddr_in_sin_len=no
   22330 fi
   22331 
   22332 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   22333 fi
   22334 
   22335 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   22336 fi
   22337 { $as_echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_in_sin_len" >&5
   22338 $as_echo "$ac_cv_member_struct_sockaddr_in_sin_len" >&6; }
   22339 if test "x$ac_cv_member_struct_sockaddr_in_sin_len" = x""yes; then
   22340 
   22341 cat >>confdefs.h <<\_ACEOF
   22342 #define BSD44SOCKETS 1
   22343 _ACEOF
   22344 
   22345 fi
   22346 
   22347 
   22348  # POSIX.1g changed the type of pointer passed to getsockname/getpeername/etc.
   22349  { $as_echo "$as_me:$LINENO: checking for socklen_t" >&5
   22350 $as_echo_n "checking for socklen_t... " >&6; }
   22351 if test "${ac_cv_type_socklen_t+set}" = set; then
   22352   $as_echo_n "(cached) " >&6
   22353 else
   22354   ac_cv_type_socklen_t=no
   22355 cat >conftest.$ac_ext <<_ACEOF
   22356 /* confdefs.h.  */
   22357 _ACEOF
   22358 cat confdefs.h >>conftest.$ac_ext
   22359 cat >>conftest.$ac_ext <<_ACEOF
   22360 /* end confdefs.h.  */
   22361 
   22362 $ac_includes_default
   22363 #include <sys/socket.h>
   22364 
   22365 int
   22366 main ()
   22367 {
   22368 if (sizeof (socklen_t))
   22369        return 0;
   22370   ;
   22371   return 0;
   22372 }
   22373 _ACEOF
   22374 rm -f conftest.$ac_objext
   22375 if { (ac_try="$ac_compile"
   22376 case "(($ac_try" in
   22377   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   22378   *) ac_try_echo=$ac_try;;
   22379 esac
   22380 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   22381 $as_echo "$ac_try_echo") >&5
   22382   (eval "$ac_compile") 2>conftest.er1
   22383   ac_status=$?
   22384   grep -v '^ *+' conftest.er1 >conftest.err
   22385   rm -f conftest.er1
   22386   cat conftest.err >&5
   22387   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   22388   (exit $ac_status); } && {
   22389 	 test -z "$ac_c_werror_flag" ||
   22390 	 test ! -s conftest.err
   22391        } && test -s conftest.$ac_objext; then
   22392   cat >conftest.$ac_ext <<_ACEOF
   22393 /* confdefs.h.  */
   22394 _ACEOF
   22395 cat confdefs.h >>conftest.$ac_ext
   22396 cat >>conftest.$ac_ext <<_ACEOF
   22397 /* end confdefs.h.  */
   22398 
   22399 $ac_includes_default
   22400 #include <sys/socket.h>
   22401 
   22402 int
   22403 main ()
   22404 {
   22405 if (sizeof ((socklen_t)))
   22406 	  return 0;
   22407   ;
   22408   return 0;
   22409 }
   22410 _ACEOF
   22411 rm -f conftest.$ac_objext
   22412 if { (ac_try="$ac_compile"
   22413 case "(($ac_try" in
   22414   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   22415   *) ac_try_echo=$ac_try;;
   22416 esac
   22417 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   22418 $as_echo "$ac_try_echo") >&5
   22419   (eval "$ac_compile") 2>conftest.er1
   22420   ac_status=$?
   22421   grep -v '^ *+' conftest.er1 >conftest.err
   22422   rm -f conftest.er1
   22423   cat conftest.err >&5
   22424   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   22425   (exit $ac_status); } && {
   22426 	 test -z "$ac_c_werror_flag" ||
   22427 	 test ! -s conftest.err
   22428        } && test -s conftest.$ac_objext; then
   22429   :
   22430 else
   22431   $as_echo "$as_me: failed program was:" >&5
   22432 sed 's/^/| /' conftest.$ac_ext >&5
   22433 
   22434 	ac_cv_type_socklen_t=yes
   22435 fi
   22436 
   22437 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   22438 else
   22439   $as_echo "$as_me: failed program was:" >&5
   22440 sed 's/^/| /' conftest.$ac_ext >&5
   22441 
   22442 
   22443 fi
   22444 
   22445 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   22446 fi
   22447 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_socklen_t" >&5
   22448 $as_echo "$ac_cv_type_socklen_t" >&6; }
   22449 if test "x$ac_cv_type_socklen_t" = x""yes; then
   22450 
   22451 cat >>confdefs.h <<_ACEOF
   22452 #define HAVE_SOCKLEN_T 1
   22453 _ACEOF
   22454 
   22455 
   22456 fi
   22457 
   22458 
   22459 
   22460  fi
   22461  case $host_os in
   22462 	solaris*|sco*|sysv4*)	localdef="yes" ;;
   22463 	*)			localdef="no"  ;;
   22464  esac
   22465  # Check whether --enable-local-transport was given.
   22466 if test "${enable_local_transport+set}" = set; then
   22467   enableval=$enable_local_transport; LOCALCONN=$enableval
   22468 else
   22469   LOCALCONN=$localdef
   22470 fi
   22471 
   22472  { $as_echo "$as_me:$LINENO: checking if Xtrans should support os-specific local connections" >&5
   22473 $as_echo_n "checking if Xtrans should support os-specific local connections... " >&6; }
   22474  { $as_echo "$as_me:$LINENO: result: $LOCALCONN" >&5
   22475 $as_echo "$LOCALCONN" >&6; }
   22476  if test "$LOCALCONN" = "yes"; then
   22477 
   22478 cat >>confdefs.h <<\_ACEOF
   22479 #define LOCALCONN 1
   22480 _ACEOF
   22481 
   22482  fi
   22483 
   22484 
   22485 
   22486 #
   22487 # Assume that we have sprintf. If a system shows up
   22488 # that doesn't, we will deal with it at that point.
   22489 #
   22490 # The way to deal with it is:
   22491 #
   22492 #  1. Add a test for sprintf it here in configure.ac
   22493 #     that sets or unsets HAS_SNPRINTF as appropriate
   22494 #
   22495 #  2. add a copy of xc/lib/misc/snprintf.c
   22496 #
   22497 # The source file in question is Lower.c
   22498 #
   22499 
   22500 
   22501 cat >>confdefs.h <<\_ACEOF
   22502 #define HAS_SNPRINTF /**/
   22503 _ACEOF
   22504 
   22505 
   22506 
   22507 
   22508 
   22509 # Allow checking code with lint, sparse, etc.
   22510 
   22511 # Check whether --with-lint was given.
   22512 if test "${with_lint+set}" = set; then
   22513   withval=$with_lint; use_lint=$withval
   22514 else
   22515   use_lint=no
   22516 fi
   22517 
   22518 if test "x$use_lint" = "xyes" ; then
   22519 	LINT="lint"
   22520 else
   22521 	LINT="$use_lint"
   22522 fi
   22523 if test "x$LINT_FLAGS" = "x" -a "x$LINT" != "xno" ; then
   22524     case $LINT in
   22525 	lint|*/lint)
   22526 	    case $host_os in
   22527 		solaris*)
   22528 			LINT_FLAGS="-u -b -h -erroff=E_INDISTING_FROM_TRUNC2"
   22529 			;;
   22530 	    esac
   22531 	    ;;
   22532     esac
   22533 fi
   22534 
   22535 
   22536 
   22537  if test x$LINT != xno; then
   22538   LINT_TRUE=
   22539   LINT_FALSE='#'
   22540 else
   22541   LINT_TRUE='#'
   22542   LINT_FALSE=
   22543 fi
   22544 
   22545 
   22546 
   22547 
   22548 
   22549 # Build lint "library" for more indepth checks of programs calling this library
   22550 # Check whether --enable-lint-library was given.
   22551 if test "${enable_lint_library+set}" = set; then
   22552   enableval=$enable_lint_library; make_lint_lib=$enableval
   22553 else
   22554   make_lint_lib=no
   22555 fi
   22556 
   22557 if test "x$make_lint_lib" != "xno" ; then
   22558 	if test "x$LINT" = "xno" ; then
   22559 		{ { $as_echo "$as_me:$LINENO: error: Cannot make lint library without --with-lint" >&5
   22560 $as_echo "$as_me: error: Cannot make lint library without --with-lint" >&2;}
   22561    { (exit 1); exit 1; }; }
   22562 	fi
   22563 	if test "x$make_lint_lib" = "xyes" ; then
   22564 		LINTLIB=llib-lXmu.ln
   22565 	else
   22566 		LINTLIB=$make_lint_lib
   22567 	fi
   22568 fi
   22569 
   22570  if test x$make_lint_lib != xno; then
   22571   MAKE_LINT_LIB_TRUE=
   22572   MAKE_LINT_LIB_FALSE='#'
   22573 else
   22574   MAKE_LINT_LIB_TRUE='#'
   22575   MAKE_LINT_LIB_FALSE=
   22576 fi
   22577 
   22578 
   22579 
   22580 LINTLIBUU=`echo $LINTLIB | sed s/Xmu/Xmuu/`
   22581 
   22582 
   22583 ac_config_files="$ac_config_files Makefile include/Makefile src/Makefile xmu.pc xmuu.pc"
   22584 
   22585 cat >confcache <<\_ACEOF
   22586 # This file is a shell script that caches the results of configure
   22587 # tests run on this system so they can be shared between configure
   22588 # scripts and configure runs, see configure's option --config-cache.
   22589 # It is not useful on other systems.  If it contains results you don't
   22590 # want to keep, you may remove or edit it.
   22591 #
   22592 # config.status only pays attention to the cache file if you give it
   22593 # the --recheck option to rerun configure.
   22594 #
   22595 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   22596 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   22597 # following values.
   22598 
   22599 _ACEOF
   22600 
   22601 # The following way of writing the cache mishandles newlines in values,
   22602 # but we know of no workaround that is simple, portable, and efficient.
   22603 # So, we kill variables containing newlines.
   22604 # Ultrix sh set writes to stderr and can't be redirected directly,
   22605 # and sets the high bit in the cache file unless we assign to the vars.
   22606 (
   22607   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   22608     eval ac_val=\$$ac_var
   22609     case $ac_val in #(
   22610     *${as_nl}*)
   22611       case $ac_var in #(
   22612       *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
   22613 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   22614       esac
   22615       case $ac_var in #(
   22616       _ | IFS | as_nl) ;; #(
   22617       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   22618       *) $as_unset $ac_var ;;
   22619       esac ;;
   22620     esac
   22621   done
   22622 
   22623   (set) 2>&1 |
   22624     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   22625     *${as_nl}ac_space=\ *)
   22626       # `set' does not quote correctly, so add quotes (double-quote
   22627       # substitution turns \\\\ into \\, and sed turns \\ into \).
   22628       sed -n \
   22629 	"s/'/'\\\\''/g;
   22630 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   22631       ;; #(
   22632     *)
   22633       # `set' quotes correctly as required by POSIX, so do not add quotes.
   22634       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   22635       ;;
   22636     esac |
   22637     sort
   22638 ) |
   22639   sed '
   22640      /^ac_cv_env_/b end
   22641      t clear
   22642      :clear
   22643      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
   22644      t end
   22645      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   22646      :end' >>confcache
   22647 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   22648   if test -w "$cache_file"; then
   22649     test "x$cache_file" != "x/dev/null" &&
   22650       { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
   22651 $as_echo "$as_me: updating cache $cache_file" >&6;}
   22652     cat confcache >$cache_file
   22653   else
   22654     { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
   22655 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
   22656   fi
   22657 fi
   22658 rm -f confcache
   22659 
   22660 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   22661 # Let make expand exec_prefix.
   22662 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   22663 
   22664 DEFS=-DHAVE_CONFIG_H
   22665 
   22666 ac_libobjs=
   22667 ac_ltlibobjs=
   22668 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   22669   # 1. Remove the extension, and $U if already installed.
   22670   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   22671   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
   22672   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   22673   #    will be set to the directory where LIBOBJS objects are built.
   22674   ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   22675   ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
   22676 done
   22677 LIBOBJS=$ac_libobjs
   22678 
   22679 LTLIBOBJS=$ac_ltlibobjs
   22680 
   22681 
   22682  if test -n "$EXEEXT"; then
   22683   am__EXEEXT_TRUE=
   22684   am__EXEEXT_FALSE='#'
   22685 else
   22686   am__EXEEXT_TRUE='#'
   22687   am__EXEEXT_FALSE=
   22688 fi
   22689 
   22690 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
   22691   { { $as_echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
   22692 Usually this means the macro was only invoked conditionally." >&5
   22693 $as_echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
   22694 Usually this means the macro was only invoked conditionally." >&2;}
   22695    { (exit 1); exit 1; }; }
   22696 fi
   22697 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   22698   { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
   22699 Usually this means the macro was only invoked conditionally." >&5
   22700 $as_echo "$as_me: error: conditional \"AMDEP\" was never defined.
   22701 Usually this means the macro was only invoked conditionally." >&2;}
   22702    { (exit 1); exit 1; }; }
   22703 fi
   22704 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   22705   { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
   22706 Usually this means the macro was only invoked conditionally." >&5
   22707 $as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
   22708 Usually this means the macro was only invoked conditionally." >&2;}
   22709    { (exit 1); exit 1; }; }
   22710 fi
   22711 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
   22712   { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
   22713 Usually this means the macro was only invoked conditionally." >&5
   22714 $as_echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
   22715 Usually this means the macro was only invoked conditionally." >&2;}
   22716    { (exit 1); exit 1; }; }
   22717 fi
   22718 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   22719   { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
   22720 Usually this means the macro was only invoked conditionally." >&5
   22721 $as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
   22722 Usually this means the macro was only invoked conditionally." >&2;}
   22723    { (exit 1); exit 1; }; }
   22724 fi
   22725 if test -z "${LINT_TRUE}" && test -z "${LINT_FALSE}"; then
   22726   { { $as_echo "$as_me:$LINENO: error: conditional \"LINT\" was never defined.
   22727 Usually this means the macro was only invoked conditionally." >&5
   22728 $as_echo "$as_me: error: conditional \"LINT\" was never defined.
   22729 Usually this means the macro was only invoked conditionally." >&2;}
   22730    { (exit 1); exit 1; }; }
   22731 fi
   22732 if test -z "${MAKE_LINT_LIB_TRUE}" && test -z "${MAKE_LINT_LIB_FALSE}"; then
   22733   { { $as_echo "$as_me:$LINENO: error: conditional \"MAKE_LINT_LIB\" was never defined.
   22734 Usually this means the macro was only invoked conditionally." >&5
   22735 $as_echo "$as_me: error: conditional \"MAKE_LINT_LIB\" was never defined.
   22736 Usually this means the macro was only invoked conditionally." >&2;}
   22737    { (exit 1); exit 1; }; }
   22738 fi
   22739 
   22740 : ${CONFIG_STATUS=./config.status}
   22741 ac_write_fail=0
   22742 ac_clean_files_save=$ac_clean_files
   22743 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   22744 { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
   22745 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
   22746 cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   22747 #! $SHELL
   22748 # Generated by $as_me.
   22749 # Run this file to recreate the current configuration.
   22750 # Compiler output produced by configure, useful for debugging
   22751 # configure, is in config.log if it exists.
   22752 
   22753 debug=false
   22754 ac_cs_recheck=false
   22755 ac_cs_silent=false
   22756 SHELL=\${CONFIG_SHELL-$SHELL}
   22757 _ACEOF
   22758 
   22759 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   22760 ## --------------------- ##
   22761 ## M4sh Initialization.  ##
   22762 ## --------------------- ##
   22763 
   22764 # Be more Bourne compatible
   22765 DUALCASE=1; export DUALCASE # for MKS sh
   22766 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
   22767   emulate sh
   22768   NULLCMD=:
   22769   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   22770   # is contrary to our usage.  Disable this feature.
   22771   alias -g '${1+"$@"}'='"$@"'
   22772   setopt NO_GLOB_SUBST
   22773 else
   22774   case `(set -o) 2>/dev/null` in
   22775   *posix*) set -o posix ;;
   22776 esac
   22777 
   22778 fi
   22779 
   22780 
   22781 
   22782 
   22783 # PATH needs CR
   22784 # Avoid depending upon Character Ranges.
   22785 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   22786 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   22787 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   22788 as_cr_digits='0123456789'
   22789 as_cr_alnum=$as_cr_Letters$as_cr_digits
   22790 
   22791 as_nl='
   22792 '
   22793 export as_nl
   22794 # Printing a long string crashes Solaris 7 /usr/bin/printf.
   22795 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   22796 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
   22797 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
   22798 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
   22799   as_echo='printf %s\n'
   22800   as_echo_n='printf %s'
   22801 else
   22802   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
   22803     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
   22804     as_echo_n='/usr/ucb/echo -n'
   22805   else
   22806     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
   22807     as_echo_n_body='eval
   22808       arg=$1;
   22809       case $arg in
   22810       *"$as_nl"*)
   22811 	expr "X$arg" : "X\\(.*\\)$as_nl";
   22812 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
   22813       esac;
   22814       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
   22815     '
   22816     export as_echo_n_body
   22817     as_echo_n='sh -c $as_echo_n_body as_echo'
   22818   fi
   22819   export as_echo_body
   22820   as_echo='sh -c $as_echo_body as_echo'
   22821 fi
   22822 
   22823 # The user is always right.
   22824 if test "${PATH_SEPARATOR+set}" != set; then
   22825   PATH_SEPARATOR=:
   22826   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   22827     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   22828       PATH_SEPARATOR=';'
   22829   }
   22830 fi
   22831 
   22832 # Support unset when possible.
   22833 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   22834   as_unset=unset
   22835 else
   22836   as_unset=false
   22837 fi
   22838 
   22839 
   22840 # IFS
   22841 # We need space, tab and new line, in precisely that order.  Quoting is
   22842 # there to prevent editors from complaining about space-tab.
   22843 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
   22844 # splitting by setting IFS to empty value.)
   22845 IFS=" ""	$as_nl"
   22846 
   22847 # Find who we are.  Look in the path if we contain no directory separator.
   22848 case $0 in
   22849   *[\\/]* ) as_myself=$0 ;;
   22850   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   22851 for as_dir in $PATH
   22852 do
   22853   IFS=$as_save_IFS
   22854   test -z "$as_dir" && as_dir=.
   22855   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   22856 done
   22857 IFS=$as_save_IFS
   22858 
   22859      ;;
   22860 esac
   22861 # We did not find ourselves, most probably we were run as `sh COMMAND'
   22862 # in which case we are not to be found in the path.
   22863 if test "x$as_myself" = x; then
   22864   as_myself=$0
   22865 fi
   22866 if test ! -f "$as_myself"; then
   22867   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   22868   { (exit 1); exit 1; }
   22869 fi
   22870 
   22871 # Work around bugs in pre-3.0 UWIN ksh.
   22872 for as_var in ENV MAIL MAILPATH
   22873 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
   22874 done
   22875 PS1='$ '
   22876 PS2='> '
   22877 PS4='+ '
   22878 
   22879 # NLS nuisances.
   22880 LC_ALL=C
   22881 export LC_ALL
   22882 LANGUAGE=C
   22883 export LANGUAGE
   22884 
   22885 # Required to use basename.
   22886 if expr a : '\(a\)' >/dev/null 2>&1 &&
   22887    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   22888   as_expr=expr
   22889 else
   22890   as_expr=false
   22891 fi
   22892 
   22893 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   22894   as_basename=basename
   22895 else
   22896   as_basename=false
   22897 fi
   22898 
   22899 
   22900 # Name of the executable.
   22901 as_me=`$as_basename -- "$0" ||
   22902 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   22903 	 X"$0" : 'X\(//\)$' \| \
   22904 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   22905 $as_echo X/"$0" |
   22906     sed '/^.*\/\([^/][^/]*\)\/*$/{
   22907 	    s//\1/
   22908 	    q
   22909 	  }
   22910 	  /^X\/\(\/\/\)$/{
   22911 	    s//\1/
   22912 	    q
   22913 	  }
   22914 	  /^X\/\(\/\).*/{
   22915 	    s//\1/
   22916 	    q
   22917 	  }
   22918 	  s/.*/./; q'`
   22919 
   22920 # CDPATH.
   22921 $as_unset CDPATH
   22922 
   22923 
   22924 
   22925   as_lineno_1=$LINENO
   22926   as_lineno_2=$LINENO
   22927   test "x$as_lineno_1" != "x$as_lineno_2" &&
   22928   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
   22929 
   22930   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
   22931   # uniformly replaced by the line number.  The first 'sed' inserts a
   22932   # line-number line after each line using $LINENO; the second 'sed'
   22933   # does the real work.  The second script uses 'N' to pair each
   22934   # line-number line with the line containing $LINENO, and appends
   22935   # trailing '-' during substitution so that $LINENO is not a special
   22936   # case at line end.
   22937   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
   22938   # scripts with optimization help from Paolo Bonzini.  Blame Lee
   22939   # E. McMahon (1931-1989) for sed's syntax.  :-)
   22940   sed -n '
   22941     p
   22942     /[$]LINENO/=
   22943   ' <$as_myself |
   22944     sed '
   22945       s/[$]LINENO.*/&-/
   22946       t lineno
   22947       b
   22948       :lineno
   22949       N
   22950       :loop
   22951       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
   22952       t loop
   22953       s/-\n.*//
   22954     ' >$as_me.lineno &&
   22955   chmod +x "$as_me.lineno" ||
   22956     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
   22957    { (exit 1); exit 1; }; }
   22958 
   22959   # Don't try to exec as it changes $[0], causing all sort of problems
   22960   # (the dirname of $[0] is not the place where we might find the
   22961   # original and so on.  Autoconf is especially sensitive to this).
   22962   . "./$as_me.lineno"
   22963   # Exit status is that of the last command.
   22964   exit
   22965 }
   22966 
   22967 
   22968 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   22969   as_dirname=dirname
   22970 else
   22971   as_dirname=false
   22972 fi
   22973 
   22974 ECHO_C= ECHO_N= ECHO_T=
   22975 case `echo -n x` in
   22976 -n*)
   22977   case `echo 'x\c'` in
   22978   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   22979   *)   ECHO_C='\c';;
   22980   esac;;
   22981 *)
   22982   ECHO_N='-n';;
   22983 esac
   22984 if expr a : '\(a\)' >/dev/null 2>&1 &&
   22985    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   22986   as_expr=expr
   22987 else
   22988   as_expr=false
   22989 fi
   22990 
   22991 rm -f conf$$ conf$$.exe conf$$.file
   22992 if test -d conf$$.dir; then
   22993   rm -f conf$$.dir/conf$$.file
   22994 else
   22995   rm -f conf$$.dir
   22996   mkdir conf$$.dir 2>/dev/null
   22997 fi
   22998 if (echo >conf$$.file) 2>/dev/null; then
   22999   if ln -s conf$$.file conf$$ 2>/dev/null; then
   23000     as_ln_s='ln -s'
   23001     # ... but there are two gotchas:
   23002     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   23003     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   23004     # In both cases, we have to default to `cp -p'.
   23005     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   23006       as_ln_s='cp -p'
   23007   elif ln conf$$.file conf$$ 2>/dev/null; then
   23008     as_ln_s=ln
   23009   else
   23010     as_ln_s='cp -p'
   23011   fi
   23012 else
   23013   as_ln_s='cp -p'
   23014 fi
   23015 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   23016 rmdir conf$$.dir 2>/dev/null
   23017 
   23018 if mkdir -p . 2>/dev/null; then
   23019   as_mkdir_p=:
   23020 else
   23021   test -d ./-p && rmdir ./-p
   23022   as_mkdir_p=false
   23023 fi
   23024 
   23025 if test -x / >/dev/null 2>&1; then
   23026   as_test_x='test -x'
   23027 else
   23028   if ls -dL / >/dev/null 2>&1; then
   23029     as_ls_L_option=L
   23030   else
   23031     as_ls_L_option=
   23032   fi
   23033   as_test_x='
   23034     eval sh -c '\''
   23035       if test -d "$1"; then
   23036 	test -d "$1/.";
   23037       else
   23038 	case $1 in
   23039 	-*)set "./$1";;
   23040 	esac;
   23041 	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
   23042 	???[sx]*):;;*)false;;esac;fi
   23043     '\'' sh
   23044   '
   23045 fi
   23046 as_executable_p=$as_test_x
   23047 
   23048 # Sed expression to map a string onto a valid CPP name.
   23049 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   23050 
   23051 # Sed expression to map a string onto a valid variable name.
   23052 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   23053 
   23054 
   23055 exec 6>&1
   23056 
   23057 # Save the log message, to keep $[0] and so on meaningful, and to
   23058 # report actual input values of CONFIG_FILES etc. instead of their
   23059 # values after options handling.
   23060 ac_log="
   23061 This file was extended by libXmu $as_me 1.0.5, which was
   23062 generated by GNU Autoconf 2.63.  Invocation command line was
   23063 
   23064   CONFIG_FILES    = $CONFIG_FILES
   23065   CONFIG_HEADERS  = $CONFIG_HEADERS
   23066   CONFIG_LINKS    = $CONFIG_LINKS
   23067   CONFIG_COMMANDS = $CONFIG_COMMANDS
   23068   $ $0 $@
   23069 
   23070 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   23071 "
   23072 
   23073 _ACEOF
   23074 
   23075 case $ac_config_files in *"
   23076 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   23077 esac
   23078 
   23079 case $ac_config_headers in *"
   23080 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   23081 esac
   23082 
   23083 
   23084 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   23085 # Files that config.status was made for.
   23086 config_files="$ac_config_files"
   23087 config_headers="$ac_config_headers"
   23088 config_commands="$ac_config_commands"
   23089 
   23090 _ACEOF
   23091 
   23092 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   23093 ac_cs_usage="\
   23094 \`$as_me' instantiates files from templates according to the
   23095 current configuration.
   23096 
   23097 Usage: $0 [OPTION]... [FILE]...
   23098 
   23099   -h, --help       print this help, then exit
   23100   -V, --version    print version number and configuration settings, then exit
   23101   -q, --quiet, --silent
   23102                    do not print progress messages
   23103   -d, --debug      don't remove temporary files
   23104       --recheck    update $as_me by reconfiguring in the same conditions
   23105       --file=FILE[:TEMPLATE]
   23106                    instantiate the configuration file FILE
   23107       --header=FILE[:TEMPLATE]
   23108                    instantiate the configuration header FILE
   23109 
   23110 Configuration files:
   23111 $config_files
   23112 
   23113 Configuration headers:
   23114 $config_headers
   23115 
   23116 Configuration commands:
   23117 $config_commands
   23118 
   23119 Report bugs to <bug-autoconf (at] gnu.org>."
   23120 
   23121 _ACEOF
   23122 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   23123 ac_cs_version="\\
   23124 libXmu config.status 1.0.5
   23125 configured by $0, generated by GNU Autoconf 2.63,
   23126   with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
   23127 
   23128 Copyright (C) 2008 Free Software Foundation, Inc.
   23129 This config.status script is free software; the Free Software Foundation
   23130 gives unlimited permission to copy, distribute and modify it."
   23131 
   23132 ac_pwd='$ac_pwd'
   23133 srcdir='$srcdir'
   23134 INSTALL='$INSTALL'
   23135 MKDIR_P='$MKDIR_P'
   23136 AWK='$AWK'
   23137 test -n "\$AWK" || AWK=awk
   23138 _ACEOF
   23139 
   23140 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   23141 # The default lists apply if the user does not specify any file.
   23142 ac_need_defaults=:
   23143 while test $# != 0
   23144 do
   23145   case $1 in
   23146   --*=*)
   23147     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   23148     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   23149     ac_shift=:
   23150     ;;
   23151   *)
   23152     ac_option=$1
   23153     ac_optarg=$2
   23154     ac_shift=shift
   23155     ;;
   23156   esac
   23157 
   23158   case $ac_option in
   23159   # Handling of the options.
   23160   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   23161     ac_cs_recheck=: ;;
   23162   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   23163     $as_echo "$ac_cs_version"; exit ;;
   23164   --debug | --debu | --deb | --de | --d | -d )
   23165     debug=: ;;
   23166   --file | --fil | --fi | --f )
   23167     $ac_shift
   23168     case $ac_optarg in
   23169     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   23170     esac
   23171     CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
   23172     ac_need_defaults=false;;
   23173   --header | --heade | --head | --hea )
   23174     $ac_shift
   23175     case $ac_optarg in
   23176     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   23177     esac
   23178     CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'"
   23179     ac_need_defaults=false;;
   23180   --he | --h)
   23181     # Conflict between --help and --header
   23182     { $as_echo "$as_me: error: ambiguous option: $1
   23183 Try \`$0 --help' for more information." >&2
   23184    { (exit 1); exit 1; }; };;
   23185   --help | --hel | -h )
   23186     $as_echo "$ac_cs_usage"; exit ;;
   23187   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   23188   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   23189     ac_cs_silent=: ;;
   23190 
   23191   # This is an error.
   23192   -*) { $as_echo "$as_me: error: unrecognized option: $1
   23193 Try \`$0 --help' for more information." >&2
   23194    { (exit 1); exit 1; }; } ;;
   23195 
   23196   *) ac_config_targets="$ac_config_targets $1"
   23197      ac_need_defaults=false ;;
   23198 
   23199   esac
   23200   shift
   23201 done
   23202 
   23203 ac_configure_extra_args=
   23204 
   23205 if $ac_cs_silent; then
   23206   exec 6>/dev/null
   23207   ac_configure_extra_args="$ac_configure_extra_args --silent"
   23208 fi
   23209 
   23210 _ACEOF
   23211 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   23212 if \$ac_cs_recheck; then
   23213   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   23214   shift
   23215   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
   23216   CONFIG_SHELL='$SHELL'
   23217   export CONFIG_SHELL
   23218   exec "\$@"
   23219 fi
   23220 
   23221 _ACEOF
   23222 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   23223 exec 5>>config.log
   23224 {
   23225   echo
   23226   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   23227 ## Running $as_me. ##
   23228 _ASBOX
   23229   $as_echo "$ac_log"
   23230 } >&5
   23231 
   23232 _ACEOF
   23233 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   23234 #
   23235 # INIT-COMMANDS
   23236 #
   23237 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
   23238 
   23239 _ACEOF
   23240 
   23241 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   23242 
   23243 # Handling of arguments.
   23244 for ac_config_target in $ac_config_targets
   23245 do
   23246   case $ac_config_target in
   23247     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   23248     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   23249     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   23250     "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
   23251     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
   23252     "xmu.pc") CONFIG_FILES="$CONFIG_FILES xmu.pc" ;;
   23253     "xmuu.pc") CONFIG_FILES="$CONFIG_FILES xmuu.pc" ;;
   23254 
   23255   *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
   23256 $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
   23257    { (exit 1); exit 1; }; };;
   23258   esac
   23259 done
   23260 
   23261 
   23262 # If the user did not use the arguments to specify the items to instantiate,
   23263 # then the envvar interface is used.  Set only those that are not.
   23264 # We use the long form for the default assignment because of an extremely
   23265 # bizarre bug on SunOS 4.1.3.
   23266 if $ac_need_defaults; then
   23267   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
   23268   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
   23269   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
   23270 fi
   23271 
   23272 # Have a temporary directory for convenience.  Make it in the build tree
   23273 # simply because there is no reason against having it here, and in addition,
   23274 # creating and moving files from /tmp can sometimes cause problems.
   23275 # Hook for its removal unless debugging.
   23276 # Note that there is a small window in which the directory will not be cleaned:
   23277 # after its creation but before its name has been assigned to `$tmp'.
   23278 $debug ||
   23279 {
   23280   tmp=
   23281   trap 'exit_status=$?
   23282   { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
   23283 ' 0
   23284   trap '{ (exit 1); exit 1; }' 1 2 13 15
   23285 }
   23286 # Create a (secure) tmp directory for tmp files.
   23287 
   23288 {
   23289   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   23290   test -n "$tmp" && test -d "$tmp"
   23291 }  ||
   23292 {
   23293   tmp=./conf$$-$RANDOM
   23294   (umask 077 && mkdir "$tmp")
   23295 } ||
   23296 {
   23297    $as_echo "$as_me: cannot create a temporary directory in ." >&2
   23298    { (exit 1); exit 1; }
   23299 }
   23300 
   23301 # Set up the scripts for CONFIG_FILES section.
   23302 # No need to generate them if there are no CONFIG_FILES.
   23303 # This happens for instance with `./config.status config.h'.
   23304 if test -n "$CONFIG_FILES"; then
   23305 
   23306 
   23307 ac_cr='
'
   23309 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   23310 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   23311   ac_cs_awk_cr='\\r'
   23312 else
   23313   ac_cs_awk_cr=$ac_cr
   23314 fi
   23315 
   23316 echo 'BEGIN {' >"$tmp/subs1.awk" &&
   23317 _ACEOF
   23318 
   23319 
   23320 {
   23321   echo "cat >conf$$subs.awk <<_ACEOF" &&
   23322   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   23323   echo "_ACEOF"
   23324 } >conf$$subs.sh ||
   23325   { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
   23326 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
   23327    { (exit 1); exit 1; }; }
   23328 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
   23329 ac_delim='%!_!# '
   23330 for ac_last_try in false false false false false :; do
   23331   . ./conf$$subs.sh ||
   23332     { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
   23333 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
   23334    { (exit 1); exit 1; }; }
   23335 
   23336   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   23337   if test $ac_delim_n = $ac_delim_num; then
   23338     break
   23339   elif $ac_last_try; then
   23340     { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
   23341 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
   23342    { (exit 1); exit 1; }; }
   23343   else
   23344     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   23345   fi
   23346 done
   23347 rm -f conf$$subs.sh
   23348 
   23349 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   23350 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
   23351 _ACEOF
   23352 sed -n '
   23353 h
   23354 s/^/S["/; s/!.*/"]=/
   23355 p
   23356 g
   23357 s/^[^!]*!//
   23358 :repl
   23359 t repl
   23360 s/'"$ac_delim"'$//
   23361 t delim
   23362 :nl
   23363 h
   23364 s/\(.\{148\}\).*/\1/
   23365 t more1
   23366 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   23367 p
   23368 n
   23369 b repl
   23370 :more1
   23371 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   23372 p
   23373 g
   23374 s/.\{148\}//
   23375 t nl
   23376 :delim
   23377 h
   23378 s/\(.\{148\}\).*/\1/
   23379 t more2
   23380 s/["\\]/\\&/g; s/^/"/; s/$/"/
   23381 p
   23382 b
   23383 :more2
   23384 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   23385 p
   23386 g
   23387 s/.\{148\}//
   23388 t delim
   23389 ' <conf$$subs.awk | sed '
   23390 /^[^""]/{
   23391   N
   23392   s/\n//
   23393 }
   23394 ' >>$CONFIG_STATUS || ac_write_fail=1
   23395 rm -f conf$$subs.awk
   23396 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   23397 _ACAWK
   23398 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
   23399   for (key in S) S_is_set[key] = 1
   23400   FS = ""
   23401 
   23402 }
   23403 {
   23404   line = $ 0
   23405   nfields = split(line, field, "@")
   23406   substed = 0
   23407   len = length(field[1])
   23408   for (i = 2; i < nfields; i++) {
   23409     key = field[i]
   23410     keylen = length(key)
   23411     if (S_is_set[key]) {
   23412       value = S[key]
   23413       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   23414       len += length(value) + length(field[++i])
   23415       substed = 1
   23416     } else
   23417       len += 1 + keylen
   23418   }
   23419 
   23420   print line
   23421 }
   23422 
   23423 _ACAWK
   23424 _ACEOF
   23425 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   23426 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   23427   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   23428 else
   23429   cat
   23430 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
   23431   || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
   23432 $as_echo "$as_me: error: could not setup config files machinery" >&2;}
   23433    { (exit 1); exit 1; }; }
   23434 _ACEOF
   23435 
   23436 # VPATH may cause trouble with some makes, so we remove $(srcdir),
   23437 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
   23438 # trailing colons and then remove the whole line if VPATH becomes empty
   23439 # (actually we leave an empty line to preserve line numbers).
   23440 if test "x$srcdir" = x.; then
   23441   ac_vpsub='/^[	 ]*VPATH[	 ]*=/{
   23442 s/:*\$(srcdir):*/:/
   23443 s/:*\${srcdir}:*/:/
   23444 s/:*@srcdir@:*/:/
   23445 s/^\([^=]*=[	 ]*\):*/\1/
   23446 s/:*$//
   23447 s/^[^=]*=[	 ]*$//
   23448 }'
   23449 fi
   23450 
   23451 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   23452 fi # test -n "$CONFIG_FILES"
   23453 
   23454 # Set up the scripts for CONFIG_HEADERS section.
   23455 # No need to generate them if there are no CONFIG_HEADERS.
   23456 # This happens for instance with `./config.status Makefile'.
   23457 if test -n "$CONFIG_HEADERS"; then
   23458 cat >"$tmp/defines.awk" <<\_ACAWK ||
   23459 BEGIN {
   23460 _ACEOF
   23461 
   23462 # Transform confdefs.h into an awk script `defines.awk', embedded as
   23463 # here-document in config.status, that substitutes the proper values into
   23464 # config.h.in to produce config.h.
   23465 
   23466 # Create a delimiter string that does not exist in confdefs.h, to ease
   23467 # handling of long lines.
   23468 ac_delim='%!_!# '
   23469 for ac_last_try in false false :; do
   23470   ac_t=`sed -n "/$ac_delim/p" confdefs.h`
   23471   if test -z "$ac_t"; then
   23472     break
   23473   elif $ac_last_try; then
   23474     { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5
   23475 $as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;}
   23476    { (exit 1); exit 1; }; }
   23477   else
   23478     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   23479   fi
   23480 done
   23481 
   23482 # For the awk script, D is an array of macro values keyed by name,
   23483 # likewise P contains macro parameters if any.  Preserve backslash
   23484 # newline sequences.
   23485 
   23486 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   23487 sed -n '
   23488 s/.\{148\}/&'"$ac_delim"'/g
   23489 t rset
   23490 :rset
   23491 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   23492 t def
   23493 d
   23494 :def
   23495 s/\\$//
   23496 t bsnl
   23497 s/["\\]/\\&/g
   23498 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   23499 D["\1"]=" \3"/p
   23500 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   23501 d
   23502 :bsnl
   23503 s/["\\]/\\&/g
   23504 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   23505 D["\1"]=" \3\\\\\\n"\\/p
   23506 t cont
   23507 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   23508 t cont
   23509 d
   23510 :cont
   23511 n
   23512 s/.\{148\}/&'"$ac_delim"'/g
   23513 t clear
   23514 :clear
   23515 s/\\$//
   23516 t bsnlc
   23517 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   23518 d
   23519 :bsnlc
   23520 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   23521 b cont
   23522 ' <confdefs.h | sed '
   23523 s/'"$ac_delim"'/"\\\
   23524 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   23525 
   23526 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   23527   for (key in D) D_is_set[key] = 1
   23528   FS = ""
   23529 }
   23530 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   23531   line = \$ 0
   23532   split(line, arg, " ")
   23533   if (arg[1] == "#") {
   23534     defundef = arg[2]
   23535     mac1 = arg[3]
   23536   } else {
   23537     defundef = substr(arg[1], 2)
   23538     mac1 = arg[2]
   23539   }
   23540   split(mac1, mac2, "(") #)
   23541   macro = mac2[1]
   23542   prefix = substr(line, 1, index(line, defundef) - 1)
   23543   if (D_is_set[macro]) {
   23544     # Preserve the white space surrounding the "#".
   23545     print prefix "define", macro P[macro] D[macro]
   23546     next
   23547   } else {
   23548     # Replace #undef with comments.  This is necessary, for example,
   23549     # in the case of _POSIX_SOURCE, which is predefined and required
   23550     # on some systems where configure will not decide to define it.
   23551     if (defundef == "undef") {
   23552       print "/*", prefix defundef, macro, "*/"
   23553       next
   23554     }
   23555   }
   23556 }
   23557 { print }
   23558 _ACAWK
   23559 _ACEOF
   23560 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   23561   { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
   23562 $as_echo "$as_me: error: could not setup config headers machinery" >&2;}
   23563    { (exit 1); exit 1; }; }
   23564 fi # test -n "$CONFIG_HEADERS"
   23565 
   23566 
   23567 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   23568 shift
   23569 for ac_tag
   23570 do
   23571   case $ac_tag in
   23572   :[FHLC]) ac_mode=$ac_tag; continue;;
   23573   esac
   23574   case $ac_mode$ac_tag in
   23575   :[FHL]*:*);;
   23576   :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
   23577 $as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
   23578    { (exit 1); exit 1; }; };;
   23579   :[FH]-) ac_tag=-:-;;
   23580   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   23581   esac
   23582   ac_save_IFS=$IFS
   23583   IFS=:
   23584   set x $ac_tag
   23585   IFS=$ac_save_IFS
   23586   shift
   23587   ac_file=$1
   23588   shift
   23589 
   23590   case $ac_mode in
   23591   :L) ac_source=$1;;
   23592   :[FH])
   23593     ac_file_inputs=
   23594     for ac_f
   23595     do
   23596       case $ac_f in
   23597       -) ac_f="$tmp/stdin";;
   23598       *) # Look for the file first in the build tree, then in the source tree
   23599 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   23600 	 # because $ac_f cannot contain `:'.
   23601 	 test -f "$ac_f" ||
   23602 	   case $ac_f in
   23603 	   [\\/$]*) false;;
   23604 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   23605 	   esac ||
   23606 	   { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
   23607 $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
   23608    { (exit 1); exit 1; }; };;
   23609       esac
   23610       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   23611       ac_file_inputs="$ac_file_inputs '$ac_f'"
   23612     done
   23613 
   23614     # Let's still pretend it is `configure' which instantiates (i.e., don't
   23615     # use $as_me), people would be surprised to read:
   23616     #    /* config.h.  Generated by config.status.  */
   23617     configure_input='Generated from '`
   23618 	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   23619 	`' by configure.'
   23620     if test x"$ac_file" != x-; then
   23621       configure_input="$ac_file.  $configure_input"
   23622       { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
   23623 $as_echo "$as_me: creating $ac_file" >&6;}
   23624     fi
   23625     # Neutralize special characters interpreted by sed in replacement strings.
   23626     case $configure_input in #(
   23627     *\&* | *\|* | *\\* )
   23628        ac_sed_conf_input=`$as_echo "$configure_input" |
   23629        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   23630     *) ac_sed_conf_input=$configure_input;;
   23631     esac
   23632 
   23633     case $ac_tag in
   23634     *:-:* | *:-) cat >"$tmp/stdin" \
   23635       || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
   23636 $as_echo "$as_me: error: could not create $ac_file" >&2;}
   23637    { (exit 1); exit 1; }; } ;;
   23638     esac
   23639     ;;
   23640   esac
   23641 
   23642   ac_dir=`$as_dirname -- "$ac_file" ||
   23643 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   23644 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   23645 	 X"$ac_file" : 'X\(//\)$' \| \
   23646 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   23647 $as_echo X"$ac_file" |
   23648     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   23649 	    s//\1/
   23650 	    q
   23651 	  }
   23652 	  /^X\(\/\/\)[^/].*/{
   23653 	    s//\1/
   23654 	    q
   23655 	  }
   23656 	  /^X\(\/\/\)$/{
   23657 	    s//\1/
   23658 	    q
   23659 	  }
   23660 	  /^X\(\/\).*/{
   23661 	    s//\1/
   23662 	    q
   23663 	  }
   23664 	  s/.*/./; q'`
   23665   { as_dir="$ac_dir"
   23666   case $as_dir in #(
   23667   -*) as_dir=./$as_dir;;
   23668   esac
   23669   test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
   23670     as_dirs=
   23671     while :; do
   23672       case $as_dir in #(
   23673       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   23674       *) as_qdir=$as_dir;;
   23675       esac
   23676       as_dirs="'$as_qdir' $as_dirs"
   23677       as_dir=`$as_dirname -- "$as_dir" ||
   23678 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   23679 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   23680 	 X"$as_dir" : 'X\(//\)$' \| \
   23681 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   23682 $as_echo X"$as_dir" |
   23683     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   23684 	    s//\1/
   23685 	    q
   23686 	  }
   23687 	  /^X\(\/\/\)[^/].*/{
   23688 	    s//\1/
   23689 	    q
   23690 	  }
   23691 	  /^X\(\/\/\)$/{
   23692 	    s//\1/
   23693 	    q
   23694 	  }
   23695 	  /^X\(\/\).*/{
   23696 	    s//\1/
   23697 	    q
   23698 	  }
   23699 	  s/.*/./; q'`
   23700       test -d "$as_dir" && break
   23701     done
   23702     test -z "$as_dirs" || eval "mkdir $as_dirs"
   23703   } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
   23704 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
   23705    { (exit 1); exit 1; }; }; }
   23706   ac_builddir=.
   23707 
   23708 case "$ac_dir" in
   23709 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   23710 *)
   23711   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   23712   # A ".." for each directory in $ac_dir_suffix.
   23713   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   23714   case $ac_top_builddir_sub in
   23715   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   23716   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   23717   esac ;;
   23718 esac
   23719 ac_abs_top_builddir=$ac_pwd
   23720 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   23721 # for backward compatibility:
   23722 ac_top_builddir=$ac_top_build_prefix
   23723 
   23724 case $srcdir in
   23725   .)  # We are building in place.
   23726     ac_srcdir=.
   23727     ac_top_srcdir=$ac_top_builddir_sub
   23728     ac_abs_top_srcdir=$ac_pwd ;;
   23729   [\\/]* | ?:[\\/]* )  # Absolute name.
   23730     ac_srcdir=$srcdir$ac_dir_suffix;
   23731     ac_top_srcdir=$srcdir
   23732     ac_abs_top_srcdir=$srcdir ;;
   23733   *) # Relative name.
   23734     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   23735     ac_top_srcdir=$ac_top_build_prefix$srcdir
   23736     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   23737 esac
   23738 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   23739 
   23740 
   23741   case $ac_mode in
   23742   :F)
   23743   #
   23744   # CONFIG_FILE
   23745   #
   23746 
   23747   case $INSTALL in
   23748   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   23749   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   23750   esac
   23751   ac_MKDIR_P=$MKDIR_P
   23752   case $MKDIR_P in
   23753   [\\/$]* | ?:[\\/]* ) ;;
   23754   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   23755   esac
   23756 _ACEOF
   23757 
   23758 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   23759 # If the template does not know about datarootdir, expand it.
   23760 # FIXME: This hack should be removed a few years after 2.60.
   23761 ac_datarootdir_hack=; ac_datarootdir_seen=
   23762 
   23763 ac_sed_dataroot='
   23764 /datarootdir/ {
   23765   p
   23766   q
   23767 }
   23768 /@datadir@/p
   23769 /@docdir@/p
   23770 /@infodir@/p
   23771 /@localedir@/p
   23772 /@mandir@/p
   23773 '
   23774 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   23775 *datarootdir*) ac_datarootdir_seen=yes;;
   23776 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   23777   { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   23778 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   23779 _ACEOF
   23780 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   23781   ac_datarootdir_hack='
   23782   s&@datadir@&$datadir&g
   23783   s&@docdir@&$docdir&g
   23784   s&@infodir@&$infodir&g
   23785   s&@localedir@&$localedir&g
   23786   s&@mandir@&$mandir&g
   23787     s&\\\${datarootdir}&$datarootdir&g' ;;
   23788 esac
   23789 _ACEOF
   23790 
   23791 # Neutralize VPATH when `$srcdir' = `.'.
   23792 # Shell code in configure.ac might set extrasub.
   23793 # FIXME: do we really want to maintain this feature?
   23794 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   23795 ac_sed_extra="$ac_vpsub
   23796 $extrasub
   23797 _ACEOF
   23798 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   23799 :t
   23800 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   23801 s|@configure_input@|$ac_sed_conf_input|;t t
   23802 s&@top_builddir@&$ac_top_builddir_sub&;t t
   23803 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   23804 s&@srcdir@&$ac_srcdir&;t t
   23805 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   23806 s&@top_srcdir@&$ac_top_srcdir&;t t
   23807 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   23808 s&@builddir@&$ac_builddir&;t t
   23809 s&@abs_builddir@&$ac_abs_builddir&;t t
   23810 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   23811 s&@INSTALL@&$ac_INSTALL&;t t
   23812 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   23813 $ac_datarootdir_hack
   23814 "
   23815 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
   23816   || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
   23817 $as_echo "$as_me: error: could not create $ac_file" >&2;}
   23818    { (exit 1); exit 1; }; }
   23819 
   23820 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   23821   { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
   23822   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
   23823   { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   23824 which seems to be undefined.  Please make sure it is defined." >&5
   23825 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   23826 which seems to be undefined.  Please make sure it is defined." >&2;}
   23827 
   23828   rm -f "$tmp/stdin"
   23829   case $ac_file in
   23830   -) cat "$tmp/out" && rm -f "$tmp/out";;
   23831   *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
   23832   esac \
   23833   || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
   23834 $as_echo "$as_me: error: could not create $ac_file" >&2;}
   23835    { (exit 1); exit 1; }; }
   23836  ;;
   23837   :H)
   23838   #
   23839   # CONFIG_HEADER
   23840   #
   23841   if test x"$ac_file" != x-; then
   23842     {
   23843       $as_echo "/* $configure_input  */" \
   23844       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
   23845     } >"$tmp/config.h" \
   23846       || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
   23847 $as_echo "$as_me: error: could not create $ac_file" >&2;}
   23848    { (exit 1); exit 1; }; }
   23849     if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
   23850       { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
   23851 $as_echo "$as_me: $ac_file is unchanged" >&6;}
   23852     else
   23853       rm -f "$ac_file"
   23854       mv "$tmp/config.h" "$ac_file" \
   23855 	|| { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
   23856 $as_echo "$as_me: error: could not create $ac_file" >&2;}
   23857    { (exit 1); exit 1; }; }
   23858     fi
   23859   else
   23860     $as_echo "/* $configure_input  */" \
   23861       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
   23862       || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
   23863 $as_echo "$as_me: error: could not create -" >&2;}
   23864    { (exit 1); exit 1; }; }
   23865   fi
   23866 # Compute "$ac_file"'s index in $config_headers.
   23867 _am_arg="$ac_file"
   23868 _am_stamp_count=1
   23869 for _am_header in $config_headers :; do
   23870   case $_am_header in
   23871     $_am_arg | $_am_arg:* )
   23872       break ;;
   23873     * )
   23874       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   23875   esac
   23876 done
   23877 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   23878 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   23879 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   23880 	 X"$_am_arg" : 'X\(//\)$' \| \
   23881 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   23882 $as_echo X"$_am_arg" |
   23883     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   23884 	    s//\1/
   23885 	    q
   23886 	  }
   23887 	  /^X\(\/\/\)[^/].*/{
   23888 	    s//\1/
   23889 	    q
   23890 	  }
   23891 	  /^X\(\/\/\)$/{
   23892 	    s//\1/
   23893 	    q
   23894 	  }
   23895 	  /^X\(\/\).*/{
   23896 	    s//\1/
   23897 	    q
   23898 	  }
   23899 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   23900  ;;
   23901 
   23902   :C)  { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
   23903 $as_echo "$as_me: executing $ac_file commands" >&6;}
   23904  ;;
   23905   esac
   23906 
   23907 
   23908   case $ac_file$ac_mode in
   23909     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   23910   # Autoconf 2.62 quotes --file arguments for eval, but not when files
   23911   # are listed without --file.  Let's play safe and only enable the eval
   23912   # if we detect the quoting.
   23913   case $CONFIG_FILES in
   23914   *\'*) eval set x "$CONFIG_FILES" ;;
   23915   *)   set x $CONFIG_FILES ;;
   23916   esac
   23917   shift
   23918   for mf
   23919   do
   23920     # Strip MF so we end up with the name of the file.
   23921     mf=`echo "$mf" | sed -e 's/:.*$//'`
   23922     # Check whether this is an Automake generated Makefile or not.
   23923     # We used to match only the files named `Makefile.in', but
   23924     # some people rename them; so instead we look at the file content.
   23925     # Grep'ing the first line is not enough: some people post-process
   23926     # each Makefile.in and add a new line on top of each file to say so.
   23927     # Grep'ing the whole file is not good either: AIX grep has a line
   23928     # limit of 2048, but all sed's we know have understand at least 4000.
   23929     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
   23930       dirpart=`$as_dirname -- "$mf" ||
   23931 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   23932 	 X"$mf" : 'X\(//\)[^/]' \| \
   23933 	 X"$mf" : 'X\(//\)$' \| \
   23934 	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
   23935 $as_echo X"$mf" |
   23936     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   23937 	    s//\1/
   23938 	    q
   23939 	  }
   23940 	  /^X\(\/\/\)[^/].*/{
   23941 	    s//\1/
   23942 	    q
   23943 	  }
   23944 	  /^X\(\/\/\)$/{
   23945 	    s//\1/
   23946 	    q
   23947 	  }
   23948 	  /^X\(\/\).*/{
   23949 	    s//\1/
   23950 	    q
   23951 	  }
   23952 	  s/.*/./; q'`
   23953     else
   23954       continue
   23955     fi
   23956     # Extract the definition of DEPDIR, am__include, and am__quote
   23957     # from the Makefile without running `make'.
   23958     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
   23959     test -z "$DEPDIR" && continue
   23960     am__include=`sed -n 's/^am__include = //p' < "$mf"`
   23961     test -z "am__include" && continue
   23962     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
   23963     # When using ansi2knr, U may be empty or an underscore; expand it
   23964     U=`sed -n 's/^U = //p' < "$mf"`
   23965     # Find all dependency output files, they are included files with
   23966     # $(DEPDIR) in their names.  We invoke sed twice because it is the
   23967     # simplest approach to changing $(DEPDIR) to its actual value in the
   23968     # expansion.
   23969     for file in `sed -n "
   23970       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
   23971 	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
   23972       # Make sure the directory exists.
   23973       test -f "$dirpart/$file" && continue
   23974       fdir=`$as_dirname -- "$file" ||
   23975 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   23976 	 X"$file" : 'X\(//\)[^/]' \| \
   23977 	 X"$file" : 'X\(//\)$' \| \
   23978 	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
   23979 $as_echo X"$file" |
   23980     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   23981 	    s//\1/
   23982 	    q
   23983 	  }
   23984 	  /^X\(\/\/\)[^/].*/{
   23985 	    s//\1/
   23986 	    q
   23987 	  }
   23988 	  /^X\(\/\/\)$/{
   23989 	    s//\1/
   23990 	    q
   23991 	  }
   23992 	  /^X\(\/\).*/{
   23993 	    s//\1/
   23994 	    q
   23995 	  }
   23996 	  s/.*/./; q'`
   23997       { as_dir=$dirpart/$fdir
   23998   case $as_dir in #(
   23999   -*) as_dir=./$as_dir;;
   24000   esac
   24001   test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
   24002     as_dirs=
   24003     while :; do
   24004       case $as_dir in #(
   24005       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   24006       *) as_qdir=$as_dir;;
   24007       esac
   24008       as_dirs="'$as_qdir' $as_dirs"
   24009       as_dir=`$as_dirname -- "$as_dir" ||
   24010 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   24011 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   24012 	 X"$as_dir" : 'X\(//\)$' \| \
   24013 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   24014 $as_echo X"$as_dir" |
   24015     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   24016 	    s//\1/
   24017 	    q
   24018 	  }
   24019 	  /^X\(\/\/\)[^/].*/{
   24020 	    s//\1/
   24021 	    q
   24022 	  }
   24023 	  /^X\(\/\/\)$/{
   24024 	    s//\1/
   24025 	    q
   24026 	  }
   24027 	  /^X\(\/\).*/{
   24028 	    s//\1/
   24029 	    q
   24030 	  }
   24031 	  s/.*/./; q'`
   24032       test -d "$as_dir" && break
   24033     done
   24034     test -z "$as_dirs" || eval "mkdir $as_dirs"
   24035   } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
   24036 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
   24037    { (exit 1); exit 1; }; }; }
   24038       # echo "creating $dirpart/$file"
   24039       echo '# dummy' > "$dirpart/$file"
   24040     done
   24041   done
   24042 }
   24043  ;;
   24044 
   24045   esac
   24046 done # for ac_tag
   24047 
   24048 
   24049 { (exit 0); exit 0; }
   24050 _ACEOF
   24051 chmod +x $CONFIG_STATUS
   24052 ac_clean_files=$ac_clean_files_save
   24053 
   24054 test $ac_write_fail = 0 ||
   24055   { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
   24056 $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
   24057    { (exit 1); exit 1; }; }
   24058 
   24059 
   24060 # configure is writing to config.log, and then calls config.status.
   24061 # config.status does its own redirection, appending to config.log.
   24062 # Unfortunately, on DOS this fails, as config.log is still kept open
   24063 # by configure, so config.status won't be able to write to it; its
   24064 # output is simply discarded.  So we exec the FD to /dev/null,
   24065 # effectively closing config.log, so it can be properly (re)opened and
   24066 # appended to by config.status.  When coming back to configure, we
   24067 # need to make the FD available again.
   24068 if test "$no_create" != yes; then
   24069   ac_cs_success=:
   24070   ac_config_status_args=
   24071   test "$silent" = yes &&
   24072     ac_config_status_args="$ac_config_status_args --quiet"
   24073   exec 5>/dev/null
   24074   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   24075   exec 5>>config.log
   24076   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   24077   # would make configure fail if this is the last instruction.
   24078   $ac_cs_success || { (exit 1); exit 1; }
   24079 fi
   24080 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   24081   { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   24082 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   24083 fi
   24084 
   24085