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 libXext 1.1.1.
      4 #
      5 # Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
      6 #
      7 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
      8 # 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
      9 # This configure script is free software; the Free Software Foundation
     10 # gives unlimited permission to copy, distribute and modify it.
     11 ## --------------------- ##
     12 ## M4sh Initialization.  ##
     13 ## --------------------- ##
     14 
     15 # Be more Bourne compatible
     16 DUALCASE=1; export DUALCASE # for MKS sh
     17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
     18   emulate sh
     19   NULLCMD=:
     20   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
     21   # is contrary to our usage.  Disable this feature.
     22   alias -g '${1+"$@"}'='"$@"'
     23   setopt NO_GLOB_SUBST
     24 else
     25   case `(set -o) 2>/dev/null` in
     26   *posix*) set -o posix ;;
     27 esac
     28 
     29 fi
     30 
     31 
     32 
     33 
     34 # PATH needs CR
     35 # Avoid depending upon Character Ranges.
     36 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
     37 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
     38 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
     39 as_cr_digits='0123456789'
     40 as_cr_alnum=$as_cr_Letters$as_cr_digits
     41 
     42 as_nl='
     43 '
     44 export as_nl
     45 # Printing a long string crashes Solaris 7 /usr/bin/printf.
     46 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
     47 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
     48 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
     49 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
     50   as_echo='printf %s\n'
     51   as_echo_n='printf %s'
     52 else
     53   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
     54     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
     55     as_echo_n='/usr/ucb/echo -n'
     56   else
     57     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
     58     as_echo_n_body='eval
     59       arg=$1;
     60       case $arg in
     61       *"$as_nl"*)
     62 	expr "X$arg" : "X\\(.*\\)$as_nl";
     63 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
     64       esac;
     65       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
     66     '
     67     export as_echo_n_body
     68     as_echo_n='sh -c $as_echo_n_body as_echo'
     69   fi
     70   export as_echo_body
     71   as_echo='sh -c $as_echo_body as_echo'
     72 fi
     73 
     74 # The user is always right.
     75 if test "${PATH_SEPARATOR+set}" != set; then
     76   PATH_SEPARATOR=:
     77   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
     78     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
     79       PATH_SEPARATOR=';'
     80   }
     81 fi
     82 
     83 # Support unset when possible.
     84 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
     85   as_unset=unset
     86 else
     87   as_unset=false
     88 fi
     89 
     90 
     91 # IFS
     92 # We need space, tab and new line, in precisely that order.  Quoting is
     93 # there to prevent editors from complaining about space-tab.
     94 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
     95 # splitting by setting IFS to empty value.)
     96 IFS=" ""	$as_nl"
     97 
     98 # Find who we are.  Look in the path if we contain no directory separator.
     99 case $0 in
    100   *[\\/]* ) as_myself=$0 ;;
    101   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    102 for as_dir in $PATH
    103 do
    104   IFS=$as_save_IFS
    105   test -z "$as_dir" && as_dir=.
    106   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
    107 done
    108 IFS=$as_save_IFS
    109 
    110      ;;
    111 esac
    112 # We did not find ourselves, most probably we were run as `sh COMMAND'
    113 # in which case we are not to be found in the path.
    114 if test "x$as_myself" = x; then
    115   as_myself=$0
    116 fi
    117 if test ! -f "$as_myself"; then
    118   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
    119   { (exit 1); exit 1; }
    120 fi
    121 
    122 # Work around bugs in pre-3.0 UWIN ksh.
    123 for as_var in ENV MAIL MAILPATH
    124 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
    125 done
    126 PS1='$ '
    127 PS2='> '
    128 PS4='+ '
    129 
    130 # NLS nuisances.
    131 LC_ALL=C
    132 export LC_ALL
    133 LANGUAGE=C
    134 export LANGUAGE
    135 
    136 # Required to use basename.
    137 if expr a : '\(a\)' >/dev/null 2>&1 &&
    138    test "X`expr 00001 : '.*\(...\)'`" = X001; then
    139   as_expr=expr
    140 else
    141   as_expr=false
    142 fi
    143 
    144 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
    145   as_basename=basename
    146 else
    147   as_basename=false
    148 fi
    149 
    150 
    151 # Name of the executable.
    152 as_me=`$as_basename -- "$0" ||
    153 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
    154 	 X"$0" : 'X\(//\)$' \| \
    155 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
    156 $as_echo X/"$0" |
    157     sed '/^.*\/\([^/][^/]*\)\/*$/{
    158 	    s//\1/
    159 	    q
    160 	  }
    161 	  /^X\/\(\/\/\)$/{
    162 	    s//\1/
    163 	    q
    164 	  }
    165 	  /^X\/\(\/\).*/{
    166 	    s//\1/
    167 	    q
    168 	  }
    169 	  s/.*/./; q'`
    170 
    171 # CDPATH.
    172 $as_unset CDPATH
    173 
    174 
    175 if test "x$CONFIG_SHELL" = x; then
    176   if (eval ":") 2>/dev/null; then
    177   as_have_required=yes
    178 else
    179   as_have_required=no
    180 fi
    181 
    182   if test $as_have_required = yes &&	 (eval ":
    183 (as_func_return () {
    184   (exit \$1)
    185 }
    186 as_func_success () {
    187   as_func_return 0
    188 }
    189 as_func_failure () {
    190   as_func_return 1
    191 }
    192 as_func_ret_success () {
    193   return 0
    194 }
    195 as_func_ret_failure () {
    196   return 1
    197 }
    198 
    199 exitcode=0
    200 if as_func_success; then
    201   :
    202 else
    203   exitcode=1
    204   echo as_func_success failed.
    205 fi
    206 
    207 if as_func_failure; then
    208   exitcode=1
    209   echo as_func_failure succeeded.
    210 fi
    211 
    212 if as_func_ret_success; then
    213   :
    214 else
    215   exitcode=1
    216   echo as_func_ret_success failed.
    217 fi
    218 
    219 if as_func_ret_failure; then
    220   exitcode=1
    221   echo as_func_ret_failure succeeded.
    222 fi
    223 
    224 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
    225   :
    226 else
    227   exitcode=1
    228   echo positional parameters were not saved.
    229 fi
    230 
    231 test \$exitcode = 0) || { (exit 1); exit 1; }
    232 
    233 (
    234   as_lineno_1=\$LINENO
    235   as_lineno_2=\$LINENO
    236   test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
    237   test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
    238 ") 2> /dev/null; then
    239   :
    240 else
    241   as_candidate_shells=
    242     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    243 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
    244 do
    245   IFS=$as_save_IFS
    246   test -z "$as_dir" && as_dir=.
    247   case $as_dir in
    248 	 /*)
    249 	   for as_base in sh bash ksh sh5; do
    250 	     as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
    251 	   done;;
    252        esac
    253 done
    254 IFS=$as_save_IFS
    255 
    256 
    257       for as_shell in $as_candidate_shells $SHELL; do
    258 	 # Try only shells that exist, to save several forks.
    259 	 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
    260 		{ ("$as_shell") 2> /dev/null <<\_ASEOF
    261 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
    262   emulate sh
    263   NULLCMD=:
    264   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
    265   # is contrary to our usage.  Disable this feature.
    266   alias -g '${1+"$@"}'='"$@"'
    267   setopt NO_GLOB_SUBST
    268 else
    269   case `(set -o) 2>/dev/null` in
    270   *posix*) set -o posix ;;
    271 esac
    272 
    273 fi
    274 
    275 
    276 :
    277 _ASEOF
    278 }; then
    279   CONFIG_SHELL=$as_shell
    280 	       as_have_required=yes
    281 	       if { "$as_shell" 2> /dev/null <<\_ASEOF
    282 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
    283   emulate sh
    284   NULLCMD=:
    285   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
    286   # is contrary to our usage.  Disable this feature.
    287   alias -g '${1+"$@"}'='"$@"'
    288   setopt NO_GLOB_SUBST
    289 else
    290   case `(set -o) 2>/dev/null` in
    291   *posix*) set -o posix ;;
    292 esac
    293 
    294 fi
    295 
    296 
    297 :
    298 (as_func_return () {
    299   (exit $1)
    300 }
    301 as_func_success () {
    302   as_func_return 0
    303 }
    304 as_func_failure () {
    305   as_func_return 1
    306 }
    307 as_func_ret_success () {
    308   return 0
    309 }
    310 as_func_ret_failure () {
    311   return 1
    312 }
    313 
    314 exitcode=0
    315 if as_func_success; then
    316   :
    317 else
    318   exitcode=1
    319   echo as_func_success failed.
    320 fi
    321 
    322 if as_func_failure; then
    323   exitcode=1
    324   echo as_func_failure succeeded.
    325 fi
    326 
    327 if as_func_ret_success; then
    328   :
    329 else
    330   exitcode=1
    331   echo as_func_ret_success failed.
    332 fi
    333 
    334 if as_func_ret_failure; then
    335   exitcode=1
    336   echo as_func_ret_failure succeeded.
    337 fi
    338 
    339 if ( set x; as_func_ret_success y && test x = "$1" ); then
    340   :
    341 else
    342   exitcode=1
    343   echo positional parameters were not saved.
    344 fi
    345 
    346 test $exitcode = 0) || { (exit 1); exit 1; }
    347 
    348 (
    349   as_lineno_1=$LINENO
    350   as_lineno_2=$LINENO
    351   test "x$as_lineno_1" != "x$as_lineno_2" &&
    352   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
    353 
    354 _ASEOF
    355 }; then
    356   break
    357 fi
    358 
    359 fi
    360 
    361       done
    362 
    363       if test "x$CONFIG_SHELL" != x; then
    364   for as_var in BASH_ENV ENV
    365 	do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
    366 	done
    367 	export CONFIG_SHELL
    368 	exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
    369 fi
    370 
    371 
    372     if test $as_have_required = no; then
    373   echo This script requires a shell more modern than all the
    374       echo shells that I found on your system.  Please install a
    375       echo modern shell, or manually run the script under such a
    376       echo shell if you do have one.
    377       { (exit 1); exit 1; }
    378 fi
    379 
    380 
    381 fi
    382 
    383 fi
    384 
    385 
    386 
    387 (eval "as_func_return () {
    388   (exit \$1)
    389 }
    390 as_func_success () {
    391   as_func_return 0
    392 }
    393 as_func_failure () {
    394   as_func_return 1
    395 }
    396 as_func_ret_success () {
    397   return 0
    398 }
    399 as_func_ret_failure () {
    400   return 1
    401 }
    402 
    403 exitcode=0
    404 if as_func_success; then
    405   :
    406 else
    407   exitcode=1
    408   echo as_func_success failed.
    409 fi
    410 
    411 if as_func_failure; then
    412   exitcode=1
    413   echo as_func_failure succeeded.
    414 fi
    415 
    416 if as_func_ret_success; then
    417   :
    418 else
    419   exitcode=1
    420   echo as_func_ret_success failed.
    421 fi
    422 
    423 if as_func_ret_failure; then
    424   exitcode=1
    425   echo as_func_ret_failure succeeded.
    426 fi
    427 
    428 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
    429   :
    430 else
    431   exitcode=1
    432   echo positional parameters were not saved.
    433 fi
    434 
    435 test \$exitcode = 0") || {
    436   echo No shell found that supports shell functions.
    437   echo Please tell bug-autoconf@gnu.org about your system,
    438   echo including any error possibly output before this message.
    439   echo This can help us improve future autoconf versions.
    440   echo Configuration will now proceed without shell functions.
    441 }
    442 
    443 
    444 
    445   as_lineno_1=$LINENO
    446   as_lineno_2=$LINENO
    447   test "x$as_lineno_1" != "x$as_lineno_2" &&
    448   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
    449 
    450   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
    451   # uniformly replaced by the line number.  The first 'sed' inserts a
    452   # line-number line after each line using $LINENO; the second 'sed'
    453   # does the real work.  The second script uses 'N' to pair each
    454   # line-number line with the line containing $LINENO, and appends
    455   # trailing '-' during substitution so that $LINENO is not a special
    456   # case at line end.
    457   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
    458   # scripts with optimization help from Paolo Bonzini.  Blame Lee
    459   # E. McMahon (1931-1989) for sed's syntax.  :-)
    460   sed -n '
    461     p
    462     /[$]LINENO/=
    463   ' <$as_myself |
    464     sed '
    465       s/[$]LINENO.*/&-/
    466       t lineno
    467       b
    468       :lineno
    469       N
    470       :loop
    471       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
    472       t loop
    473       s/-\n.*//
    474     ' >$as_me.lineno &&
    475   chmod +x "$as_me.lineno" ||
    476     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
    477    { (exit 1); exit 1; }; }
    478 
    479   # Don't try to exec as it changes $[0], causing all sort of problems
    480   # (the dirname of $[0] is not the place where we might find the
    481   # original and so on.  Autoconf is especially sensitive to this).
    482   . "./$as_me.lineno"
    483   # Exit status is that of the last command.
    484   exit
    485 }
    486 
    487 
    488 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
    489   as_dirname=dirname
    490 else
    491   as_dirname=false
    492 fi
    493 
    494 ECHO_C= ECHO_N= ECHO_T=
    495 case `echo -n x` in
    496 -n*)
    497   case `echo 'x\c'` in
    498   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
    499   *)   ECHO_C='\c';;
    500   esac;;
    501 *)
    502   ECHO_N='-n';;
    503 esac
    504 if expr a : '\(a\)' >/dev/null 2>&1 &&
    505    test "X`expr 00001 : '.*\(...\)'`" = X001; then
    506   as_expr=expr
    507 else
    508   as_expr=false
    509 fi
    510 
    511 rm -f conf$$ conf$$.exe conf$$.file
    512 if test -d conf$$.dir; then
    513   rm -f conf$$.dir/conf$$.file
    514 else
    515   rm -f conf$$.dir
    516   mkdir conf$$.dir 2>/dev/null
    517 fi
    518 if (echo >conf$$.file) 2>/dev/null; then
    519   if ln -s conf$$.file conf$$ 2>/dev/null; then
    520     as_ln_s='ln -s'
    521     # ... but there are two gotchas:
    522     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
    523     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
    524     # In both cases, we have to default to `cp -p'.
    525     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
    526       as_ln_s='cp -p'
    527   elif ln conf$$.file conf$$ 2>/dev/null; then
    528     as_ln_s=ln
    529   else
    530     as_ln_s='cp -p'
    531   fi
    532 else
    533   as_ln_s='cp -p'
    534 fi
    535 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
    536 rmdir conf$$.dir 2>/dev/null
    537 
    538 if mkdir -p . 2>/dev/null; then
    539   as_mkdir_p=:
    540 else
    541   test -d ./-p && rmdir ./-p
    542   as_mkdir_p=false
    543 fi
    544 
    545 if test -x / >/dev/null 2>&1; then
    546   as_test_x='test -x'
    547 else
    548   if ls -dL / >/dev/null 2>&1; then
    549     as_ls_L_option=L
    550   else
    551     as_ls_L_option=
    552   fi
    553   as_test_x='
    554     eval sh -c '\''
    555       if test -d "$1"; then
    556 	test -d "$1/.";
    557       else
    558 	case $1 in
    559 	-*)set "./$1";;
    560 	esac;
    561 	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
    562 	???[sx]*):;;*)false;;esac;fi
    563     '\'' sh
    564   '
    565 fi
    566 as_executable_p=$as_test_x
    567 
    568 # Sed expression to map a string onto a valid CPP name.
    569 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
    570 
    571 # Sed expression to map a string onto a valid variable name.
    572 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
    573 
    574 
    575 
    576 
    577 # Check that we are running under the correct shell.
    578 SHELL=${CONFIG_SHELL-/bin/sh}
    579 
    580 case X$ECHO in
    581 X*--fallback-echo)
    582   # Remove one level of quotation (which was required for Make).
    583   ECHO=`echo "$ECHO" | sed 's,\\\\\$\\$0,'$0','`
    584   ;;
    585 esac
    586 
    587 echo=${ECHO-echo}
    588 if test "X$1" = X--no-reexec; then
    589   # Discard the --no-reexec flag, and continue.
    590   shift
    591 elif test "X$1" = X--fallback-echo; then
    592   # Avoid inline document here, it may be left over
    593   :
    594 elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then
    595   # Yippee, $echo works!
    596   :
    597 else
    598   # Restart under the correct shell.
    599   exec $SHELL "$0" --no-reexec ${1+"$@"}
    600 fi
    601 
    602 if test "X$1" = X--fallback-echo; then
    603   # used as fallback echo
    604   shift
    605   cat <<EOF
    606 $*
    607 EOF
    608   exit 0
    609 fi
    610 
    611 # The HP-UX ksh and POSIX shell print the target directory to stdout
    612 # if CDPATH is set.
    613 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
    614 
    615 if test -z "$ECHO"; then
    616 if test "X${echo_test_string+set}" != Xset; then
    617 # find a string as large as possible, as long as the shell can cope with it
    618   for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
    619     # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
    620     if (echo_test_string=`eval $cmd`) 2>/dev/null &&
    621        echo_test_string=`eval $cmd` &&
    622        (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null
    623     then
    624       break
    625     fi
    626   done
    627 fi
    628 
    629 if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
    630    echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
    631    test "X$echo_testing_string" = "X$echo_test_string"; then
    632   :
    633 else
    634   # The Solaris, AIX, and Digital Unix default echo programs unquote
    635   # backslashes.  This makes it impossible to quote backslashes using
    636   #   echo "$something" | sed 's/\\/\\\\/g'
    637   #
    638   # So, first we look for a working echo in the user's PATH.
    639 
    640   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
    641   for dir in $PATH /usr/ucb; do
    642     IFS="$lt_save_ifs"
    643     if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
    644        test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
    645        echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
    646        test "X$echo_testing_string" = "X$echo_test_string"; then
    647       echo="$dir/echo"
    648       break
    649     fi
    650   done
    651   IFS="$lt_save_ifs"
    652 
    653   if test "X$echo" = Xecho; then
    654     # We didn't find a better echo, so look for alternatives.
    655     if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
    656        echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` &&
    657        test "X$echo_testing_string" = "X$echo_test_string"; then
    658       # This shell has a builtin print -r that does the trick.
    659       echo='print -r'
    660     elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) &&
    661 	 test "X$CONFIG_SHELL" != X/bin/ksh; then
    662       # If we have ksh, try running configure again with it.
    663       ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
    664       export ORIGINAL_CONFIG_SHELL
    665       CONFIG_SHELL=/bin/ksh
    666       export CONFIG_SHELL
    667       exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
    668     else
    669       # Try using printf.
    670       echo='printf %s\n'
    671       if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
    672 	 echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
    673 	 test "X$echo_testing_string" = "X$echo_test_string"; then
    674 	# Cool, printf works
    675 	:
    676       elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
    677 	   test "X$echo_testing_string" = 'X\t' &&
    678 	   echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
    679 	   test "X$echo_testing_string" = "X$echo_test_string"; then
    680 	CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
    681 	export CONFIG_SHELL
    682 	SHELL="$CONFIG_SHELL"
    683 	export SHELL
    684 	echo="$CONFIG_SHELL $0 --fallback-echo"
    685       elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
    686 	   test "X$echo_testing_string" = 'X\t' &&
    687 	   echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
    688 	   test "X$echo_testing_string" = "X$echo_test_string"; then
    689 	echo="$CONFIG_SHELL $0 --fallback-echo"
    690       else
    691 	# maybe with a smaller string...
    692 	prev=:
    693 
    694 	for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
    695 	  if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null
    696 	  then
    697 	    break
    698 	  fi
    699 	  prev="$cmd"
    700 	done
    701 
    702 	if test "$prev" != 'sed 50q "$0"'; then
    703 	  echo_test_string=`eval $prev`
    704 	  export echo_test_string
    705 	  exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
    706 	else
    707 	  # Oops.  We lost completely, so just stick with echo.
    708 	  echo=echo
    709 	fi
    710       fi
    711     fi
    712   fi
    713 fi
    714 fi
    715 
    716 # Copy echo and quote the copy suitably for passing to libtool from
    717 # the Makefile, instead of quoting the original, which is used later.
    718 ECHO=$echo
    719 if test "X$ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
    720    ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
    721 fi
    722 
    723 
    724 
    725 
    726 tagnames=${tagnames+${tagnames},}CXX
    727 
    728 tagnames=${tagnames+${tagnames},}F77
    729 
    730 exec 7<&0 </dev/null 6>&1
    731 
    732 # Name of the host.
    733 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
    734 # so uname gets run too.
    735 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
    736 
    737 #
    738 # Initializations.
    739 #
    740 ac_default_prefix=/usr/local
    741 ac_clean_files=
    742 ac_config_libobj_dir=.
    743 LIBOBJS=
    744 cross_compiling=no
    745 subdirs=
    746 MFLAGS=
    747 MAKEFLAGS=
    748 SHELL=${CONFIG_SHELL-/bin/sh}
    749 
    750 # Identity of this package.
    751 PACKAGE_NAME='libXext'
    752 PACKAGE_TARNAME='libXext'
    753 PACKAGE_VERSION='1.1.1'
    754 PACKAGE_STRING='libXext 1.1.1'
    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 MAKE_LINT_LIB_FALSE
    799 MAKE_LINT_LIB_TRUE
    800 LINTLIB
    801 LINT_FALSE
    802 LINT_TRUE
    803 LINT_FLAGS
    804 LINT
    805 RAWCPPFLAGS
    806 RAWCPP
    807 XTMALLOC_ZERO_CFLAGS
    808 XMALLOC_ZERO_CFLAGS
    809 MALLOC_ZERO_CFLAGS
    810 XEXT_LIBS
    811 XEXT_CFLAGS
    812 PKG_CONFIG
    813 ADMIN_MAN_DIR
    814 DRIVER_MAN_DIR
    815 MISC_MAN_DIR
    816 FILE_MAN_DIR
    817 LIB_MAN_DIR
    818 APP_MAN_DIR
    819 ADMIN_MAN_SUFFIX
    820 DRIVER_MAN_SUFFIX
    821 MISC_MAN_SUFFIX
    822 FILE_MAN_SUFFIX
    823 LIB_MAN_SUFFIX
    824 APP_MAN_SUFFIX
    825 distcleancheck_listfiles
    826 CHANGELOG_CMD
    827 AM_BACKSLASH
    828 AM_DEFAULT_VERBOSITY
    829 CWARNFLAGS
    830 LIBTOOL
    831 ac_ct_F77
    832 FFLAGS
    833 F77
    834 CXXCPP
    835 am__fastdepCXX_FALSE
    836 am__fastdepCXX_TRUE
    837 CXXDEPMODE
    838 ac_ct_CXX
    839 CXXFLAGS
    840 CXX
    841 CPP
    842 NMEDIT
    843 DSYMUTIL
    844 RANLIB
    845 AR
    846 ECHO
    847 LN_S
    848 EGREP
    849 GREP
    850 SED
    851 am__fastdepCC_FALSE
    852 am__fastdepCC_TRUE
    853 CCDEPMODE
    854 AMDEPBACKSLASH
    855 AMDEP_FALSE
    856 AMDEP_TRUE
    857 am__quote
    858 am__include
    859 DEPDIR
    860 OBJEXT
    861 EXEEXT
    862 ac_ct_CC
    863 CPPFLAGS
    864 LDFLAGS
    865 CFLAGS
    866 CC
    867 XEXT_SOREV
    868 host_os
    869 host_vendor
    870 host_cpu
    871 host
    872 build_os
    873 build_vendor
    874 build_cpu
    875 build
    876 MAINT
    877 MAINTAINER_MODE_FALSE
    878 MAINTAINER_MODE_TRUE
    879 am__untar
    880 am__tar
    881 AMTAR
    882 am__leading_dot
    883 SET_MAKE
    884 AWK
    885 mkdir_p
    886 MKDIR_P
    887 INSTALL_STRIP_PROGRAM
    888 STRIP
    889 install_sh
    890 MAKEINFO
    891 AUTOHEADER
    892 AUTOMAKE
    893 AUTOCONF
    894 ACLOCAL
    895 VERSION
    896 PACKAGE
    897 CYGPATH_W
    898 am__isrc
    899 INSTALL_DATA
    900 INSTALL_SCRIPT
    901 INSTALL_PROGRAM
    902 target_alias
    903 host_alias
    904 build_alias
    905 LIBS
    906 ECHO_T
    907 ECHO_N
    908 ECHO_C
    909 DEFS
    910 mandir
    911 localedir
    912 libdir
    913 psdir
    914 pdfdir
    915 dvidir
    916 htmldir
    917 infodir
    918 docdir
    919 oldincludedir
    920 includedir
    921 localstatedir
    922 sharedstatedir
    923 sysconfdir
    924 datadir
    925 datarootdir
    926 libexecdir
    927 sbindir
    928 bindir
    929 program_transform_name
    930 prefix
    931 exec_prefix
    932 PACKAGE_BUGREPORT
    933 PACKAGE_STRING
    934 PACKAGE_VERSION
    935 PACKAGE_TARNAME
    936 PACKAGE_NAME
    937 PATH_SEPARATOR
    938 SHELL'
    939 ac_subst_files=''
    940 ac_user_opts='
    941 enable_option_checking
    942 enable_maintainer_mode
    943 enable_shared
    944 enable_static
    945 enable_fast_install
    946 enable_dependency_tracking
    947 with_gnu_ld
    948 enable_libtool_lock
    949 with_pic
    950 with_tags
    951 enable_silent_rules
    952 enable_strict_compilation
    953 with_release_version
    954 enable_malloc0returnsnull
    955 with_lint
    956 enable_lint_library
    957 '
    958       ac_precious_vars='build_alias
    959 host_alias
    960 target_alias
    961 CC
    962 CFLAGS
    963 LDFLAGS
    964 LIBS
    965 CPPFLAGS
    966 CPP
    967 CXX
    968 CXXFLAGS
    969 CCC
    970 CXXCPP
    971 F77
    972 FFLAGS
    973 PKG_CONFIG
    974 XEXT_CFLAGS
    975 XEXT_LIBS'
    976 
    977 
    978 # Initialize some variables set by options.
    979 ac_init_help=
    980 ac_init_version=false
    981 ac_unrecognized_opts=
    982 ac_unrecognized_sep=
    983 # The variables have the same names as the options, with
    984 # dashes changed to underlines.
    985 cache_file=/dev/null
    986 exec_prefix=NONE
    987 no_create=
    988 no_recursion=
    989 prefix=NONE
    990 program_prefix=NONE
    991 program_suffix=NONE
    992 program_transform_name=s,x,x,
    993 silent=
    994 site=
    995 srcdir=
    996 verbose=
    997 x_includes=NONE
    998 x_libraries=NONE
    999 
   1000 # Installation directory options.
   1001 # These are left unexpanded so users can "make install exec_prefix=/foo"
   1002 # and all the variables that are supposed to be based on exec_prefix
   1003 # by default will actually change.
   1004 # Use braces instead of parens because sh, perl, etc. also accept them.
   1005 # (The list follows the same order as the GNU Coding Standards.)
   1006 bindir='${exec_prefix}/bin'
   1007 sbindir='${exec_prefix}/sbin'
   1008 libexecdir='${exec_prefix}/libexec'
   1009 datarootdir='${prefix}/share'
   1010 datadir='${datarootdir}'
   1011 sysconfdir='${prefix}/etc'
   1012 sharedstatedir='${prefix}/com'
   1013 localstatedir='${prefix}/var'
   1014 includedir='${prefix}/include'
   1015 oldincludedir='/usr/include'
   1016 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
   1017 infodir='${datarootdir}/info'
   1018 htmldir='${docdir}'
   1019 dvidir='${docdir}'
   1020 pdfdir='${docdir}'
   1021 psdir='${docdir}'
   1022 libdir='${exec_prefix}/lib'
   1023 localedir='${datarootdir}/locale'
   1024 mandir='${datarootdir}/man'
   1025 
   1026 ac_prev=
   1027 ac_dashdash=
   1028 for ac_option
   1029 do
   1030   # If the previous option needs an argument, assign it.
   1031   if test -n "$ac_prev"; then
   1032     eval $ac_prev=\$ac_option
   1033     ac_prev=
   1034     continue
   1035   fi
   1036 
   1037   case $ac_option in
   1038   *=*)	ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
   1039   *)	ac_optarg=yes ;;
   1040   esac
   1041 
   1042   # Accept the important Cygnus configure options, so we can diagnose typos.
   1043 
   1044   case $ac_dashdash$ac_option in
   1045   --)
   1046     ac_dashdash=yes ;;
   1047 
   1048   -bindir | --bindir | --bindi | --bind | --bin | --bi)
   1049     ac_prev=bindir ;;
   1050   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
   1051     bindir=$ac_optarg ;;
   1052 
   1053   -build | --build | --buil | --bui | --bu)
   1054     ac_prev=build_alias ;;
   1055   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
   1056     build_alias=$ac_optarg ;;
   1057 
   1058   -cache-file | --cache-file | --cache-fil | --cache-fi \
   1059   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
   1060     ac_prev=cache_file ;;
   1061   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
   1062   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
   1063     cache_file=$ac_optarg ;;
   1064 
   1065   --config-cache | -C)
   1066     cache_file=config.cache ;;
   1067 
   1068   -datadir | --datadir | --datadi | --datad)
   1069     ac_prev=datadir ;;
   1070   -datadir=* | --datadir=* | --datadi=* | --datad=*)
   1071     datadir=$ac_optarg ;;
   1072 
   1073   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
   1074   | --dataroo | --dataro | --datar)
   1075     ac_prev=datarootdir ;;
   1076   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
   1077   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
   1078     datarootdir=$ac_optarg ;;
   1079 
   1080   -disable-* | --disable-*)
   1081     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
   1082     # Reject names that are not valid shell variable names.
   1083     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1084       { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
   1085    { (exit 1); exit 1; }; }
   1086     ac_useropt_orig=$ac_useropt
   1087     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1088     case $ac_user_opts in
   1089       *"
   1090 "enable_$ac_useropt"
   1091 "*) ;;
   1092       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
   1093 	 ac_unrecognized_sep=', ';;
   1094     esac
   1095     eval enable_$ac_useropt=no ;;
   1096 
   1097   -docdir | --docdir | --docdi | --doc | --do)
   1098     ac_prev=docdir ;;
   1099   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
   1100     docdir=$ac_optarg ;;
   1101 
   1102   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
   1103     ac_prev=dvidir ;;
   1104   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
   1105     dvidir=$ac_optarg ;;
   1106 
   1107   -enable-* | --enable-*)
   1108     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
   1109     # Reject names that are not valid shell variable names.
   1110     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1111       { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
   1112    { (exit 1); exit 1; }; }
   1113     ac_useropt_orig=$ac_useropt
   1114     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1115     case $ac_user_opts in
   1116       *"
   1117 "enable_$ac_useropt"
   1118 "*) ;;
   1119       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
   1120 	 ac_unrecognized_sep=', ';;
   1121     esac
   1122     eval enable_$ac_useropt=\$ac_optarg ;;
   1123 
   1124   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
   1125   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
   1126   | --exec | --exe | --ex)
   1127     ac_prev=exec_prefix ;;
   1128   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
   1129   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
   1130   | --exec=* | --exe=* | --ex=*)
   1131     exec_prefix=$ac_optarg ;;
   1132 
   1133   -gas | --gas | --ga | --g)
   1134     # Obsolete; use --with-gas.
   1135     with_gas=yes ;;
   1136 
   1137   -help | --help | --hel | --he | -h)
   1138     ac_init_help=long ;;
   1139   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
   1140     ac_init_help=recursive ;;
   1141   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
   1142     ac_init_help=short ;;
   1143 
   1144   -host | --host | --hos | --ho)
   1145     ac_prev=host_alias ;;
   1146   -host=* | --host=* | --hos=* | --ho=*)
   1147     host_alias=$ac_optarg ;;
   1148 
   1149   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
   1150     ac_prev=htmldir ;;
   1151   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
   1152   | --ht=*)
   1153     htmldir=$ac_optarg ;;
   1154 
   1155   -includedir | --includedir | --includedi | --included | --include \
   1156   | --includ | --inclu | --incl | --inc)
   1157     ac_prev=includedir ;;
   1158   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
   1159   | --includ=* | --inclu=* | --incl=* | --inc=*)
   1160     includedir=$ac_optarg ;;
   1161 
   1162   -infodir | --infodir | --infodi | --infod | --info | --inf)
   1163     ac_prev=infodir ;;
   1164   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
   1165     infodir=$ac_optarg ;;
   1166 
   1167   -libdir | --libdir | --libdi | --libd)
   1168     ac_prev=libdir ;;
   1169   -libdir=* | --libdir=* | --libdi=* | --libd=*)
   1170     libdir=$ac_optarg ;;
   1171 
   1172   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
   1173   | --libexe | --libex | --libe)
   1174     ac_prev=libexecdir ;;
   1175   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
   1176   | --libexe=* | --libex=* | --libe=*)
   1177     libexecdir=$ac_optarg ;;
   1178 
   1179   -localedir | --localedir | --localedi | --localed | --locale)
   1180     ac_prev=localedir ;;
   1181   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
   1182     localedir=$ac_optarg ;;
   1183 
   1184   -localstatedir | --localstatedir | --localstatedi | --localstated \
   1185   | --localstate | --localstat | --localsta | --localst | --locals)
   1186     ac_prev=localstatedir ;;
   1187   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   1188   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   1189     localstatedir=$ac_optarg ;;
   1190 
   1191   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1192     ac_prev=mandir ;;
   1193   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1194     mandir=$ac_optarg ;;
   1195 
   1196   -nfp | --nfp | --nf)
   1197     # Obsolete; use --without-fp.
   1198     with_fp=no ;;
   1199 
   1200   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1201   | --no-cr | --no-c | -n)
   1202     no_create=yes ;;
   1203 
   1204   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1205   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1206     no_recursion=yes ;;
   1207 
   1208   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1209   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1210   | --oldin | --oldi | --old | --ol | --o)
   1211     ac_prev=oldincludedir ;;
   1212   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1213   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1214   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1215     oldincludedir=$ac_optarg ;;
   1216 
   1217   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1218     ac_prev=prefix ;;
   1219   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1220     prefix=$ac_optarg ;;
   1221 
   1222   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1223   | --program-pre | --program-pr | --program-p)
   1224     ac_prev=program_prefix ;;
   1225   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1226   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1227     program_prefix=$ac_optarg ;;
   1228 
   1229   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1230   | --program-suf | --program-su | --program-s)
   1231     ac_prev=program_suffix ;;
   1232   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1233   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1234     program_suffix=$ac_optarg ;;
   1235 
   1236   -program-transform-name | --program-transform-name \
   1237   | --program-transform-nam | --program-transform-na \
   1238   | --program-transform-n | --program-transform- \
   1239   | --program-transform | --program-transfor \
   1240   | --program-transfo | --program-transf \
   1241   | --program-trans | --program-tran \
   1242   | --progr-tra | --program-tr | --program-t)
   1243     ac_prev=program_transform_name ;;
   1244   -program-transform-name=* | --program-transform-name=* \
   1245   | --program-transform-nam=* | --program-transform-na=* \
   1246   | --program-transform-n=* | --program-transform-=* \
   1247   | --program-transform=* | --program-transfor=* \
   1248   | --program-transfo=* | --program-transf=* \
   1249   | --program-trans=* | --program-tran=* \
   1250   | --progr-tra=* | --program-tr=* | --program-t=*)
   1251     program_transform_name=$ac_optarg ;;
   1252 
   1253   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1254     ac_prev=pdfdir ;;
   1255   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1256     pdfdir=$ac_optarg ;;
   1257 
   1258   -psdir | --psdir | --psdi | --psd | --ps)
   1259     ac_prev=psdir ;;
   1260   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1261     psdir=$ac_optarg ;;
   1262 
   1263   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1264   | -silent | --silent | --silen | --sile | --sil)
   1265     silent=yes ;;
   1266 
   1267   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1268     ac_prev=sbindir ;;
   1269   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1270   | --sbi=* | --sb=*)
   1271     sbindir=$ac_optarg ;;
   1272 
   1273   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1274   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1275   | --sharedst | --shareds | --shared | --share | --shar \
   1276   | --sha | --sh)
   1277     ac_prev=sharedstatedir ;;
   1278   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1279   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1280   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1281   | --sha=* | --sh=*)
   1282     sharedstatedir=$ac_optarg ;;
   1283 
   1284   -site | --site | --sit)
   1285     ac_prev=site ;;
   1286   -site=* | --site=* | --sit=*)
   1287     site=$ac_optarg ;;
   1288 
   1289   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1290     ac_prev=srcdir ;;
   1291   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1292     srcdir=$ac_optarg ;;
   1293 
   1294   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1295   | --syscon | --sysco | --sysc | --sys | --sy)
   1296     ac_prev=sysconfdir ;;
   1297   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1298   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1299     sysconfdir=$ac_optarg ;;
   1300 
   1301   -target | --target | --targe | --targ | --tar | --ta | --t)
   1302     ac_prev=target_alias ;;
   1303   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1304     target_alias=$ac_optarg ;;
   1305 
   1306   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1307     verbose=yes ;;
   1308 
   1309   -version | --version | --versio | --versi | --vers | -V)
   1310     ac_init_version=: ;;
   1311 
   1312   -with-* | --with-*)
   1313     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1314     # Reject names that are not valid shell variable names.
   1315     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1316       { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
   1317    { (exit 1); exit 1; }; }
   1318     ac_useropt_orig=$ac_useropt
   1319     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1320     case $ac_user_opts in
   1321       *"
   1322 "with_$ac_useropt"
   1323 "*) ;;
   1324       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1325 	 ac_unrecognized_sep=', ';;
   1326     esac
   1327     eval with_$ac_useropt=\$ac_optarg ;;
   1328 
   1329   -without-* | --without-*)
   1330     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1331     # Reject names that are not valid shell variable names.
   1332     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1333       { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
   1334    { (exit 1); exit 1; }; }
   1335     ac_useropt_orig=$ac_useropt
   1336     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1337     case $ac_user_opts in
   1338       *"
   1339 "with_$ac_useropt"
   1340 "*) ;;
   1341       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1342 	 ac_unrecognized_sep=', ';;
   1343     esac
   1344     eval with_$ac_useropt=no ;;
   1345 
   1346   --x)
   1347     # Obsolete; use --with-x.
   1348     with_x=yes ;;
   1349 
   1350   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1351   | --x-incl | --x-inc | --x-in | --x-i)
   1352     ac_prev=x_includes ;;
   1353   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1354   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1355     x_includes=$ac_optarg ;;
   1356 
   1357   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1358   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1359     ac_prev=x_libraries ;;
   1360   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1361   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1362     x_libraries=$ac_optarg ;;
   1363 
   1364   -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
   1365 Try \`$0 --help' for more information." >&2
   1366    { (exit 1); exit 1; }; }
   1367     ;;
   1368 
   1369   *=*)
   1370     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1371     # Reject names that are not valid shell variable names.
   1372     expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
   1373       { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
   1374    { (exit 1); exit 1; }; }
   1375     eval $ac_envvar=\$ac_optarg
   1376     export $ac_envvar ;;
   1377 
   1378   *)
   1379     # FIXME: should be removed in autoconf 3.0.
   1380     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
   1381     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1382       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
   1383     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
   1384     ;;
   1385 
   1386   esac
   1387 done
   1388 
   1389 if test -n "$ac_prev"; then
   1390   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1391   { $as_echo "$as_me: error: missing argument to $ac_option" >&2
   1392    { (exit 1); exit 1; }; }
   1393 fi
   1394 
   1395 if test -n "$ac_unrecognized_opts"; then
   1396   case $enable_option_checking in
   1397     no) ;;
   1398     fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
   1399    { (exit 1); exit 1; }; } ;;
   1400     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1401   esac
   1402 fi
   1403 
   1404 # Check all directory arguments for consistency.
   1405 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1406 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1407 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1408 		libdir localedir mandir
   1409 do
   1410   eval ac_val=\$$ac_var
   1411   # Remove trailing slashes.
   1412   case $ac_val in
   1413     */ )
   1414       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1415       eval $ac_var=\$ac_val;;
   1416   esac
   1417   # Be sure to have absolute directory names.
   1418   case $ac_val in
   1419     [\\/$]* | ?:[\\/]* )  continue;;
   1420     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1421   esac
   1422   { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
   1423    { (exit 1); exit 1; }; }
   1424 done
   1425 
   1426 # There might be people who depend on the old broken behavior: `$host'
   1427 # used to hold the argument of --host etc.
   1428 # FIXME: To remove some day.
   1429 build=$build_alias
   1430 host=$host_alias
   1431 target=$target_alias
   1432 
   1433 # FIXME: To remove some day.
   1434 if test "x$host_alias" != x; then
   1435   if test "x$build_alias" = x; then
   1436     cross_compiling=maybe
   1437     $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
   1438     If a cross compiler is detected then cross compile mode will be used." >&2
   1439   elif test "x$build_alias" != "x$host_alias"; then
   1440     cross_compiling=yes
   1441   fi
   1442 fi
   1443 
   1444 ac_tool_prefix=
   1445 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1446 
   1447 test "$silent" = yes && exec 6>/dev/null
   1448 
   1449 
   1450 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1451 ac_ls_di=`ls -di .` &&
   1452 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1453   { $as_echo "$as_me: error: working directory cannot be determined" >&2
   1454    { (exit 1); exit 1; }; }
   1455 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1456   { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
   1457    { (exit 1); exit 1; }; }
   1458 
   1459 
   1460 # Find the source files, if location was not specified.
   1461 if test -z "$srcdir"; then
   1462   ac_srcdir_defaulted=yes
   1463   # Try the directory containing this script, then the parent directory.
   1464   ac_confdir=`$as_dirname -- "$as_myself" ||
   1465 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1466 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1467 	 X"$as_myself" : 'X\(//\)$' \| \
   1468 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1469 $as_echo X"$as_myself" |
   1470     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1471 	    s//\1/
   1472 	    q
   1473 	  }
   1474 	  /^X\(\/\/\)[^/].*/{
   1475 	    s//\1/
   1476 	    q
   1477 	  }
   1478 	  /^X\(\/\/\)$/{
   1479 	    s//\1/
   1480 	    q
   1481 	  }
   1482 	  /^X\(\/\).*/{
   1483 	    s//\1/
   1484 	    q
   1485 	  }
   1486 	  s/.*/./; q'`
   1487   srcdir=$ac_confdir
   1488   if test ! -r "$srcdir/$ac_unique_file"; then
   1489     srcdir=..
   1490   fi
   1491 else
   1492   ac_srcdir_defaulted=no
   1493 fi
   1494 if test ! -r "$srcdir/$ac_unique_file"; then
   1495   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1496   { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
   1497    { (exit 1); exit 1; }; }
   1498 fi
   1499 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1500 ac_abs_confdir=`(
   1501 	cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
   1502    { (exit 1); exit 1; }; }
   1503 	pwd)`
   1504 # When building in place, set srcdir=.
   1505 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1506   srcdir=.
   1507 fi
   1508 # Remove unnecessary trailing slashes from srcdir.
   1509 # Double slashes in file names in object file debugging info
   1510 # mess up M-x gdb in Emacs.
   1511 case $srcdir in
   1512 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1513 esac
   1514 for ac_var in $ac_precious_vars; do
   1515   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1516   eval ac_env_${ac_var}_value=\$${ac_var}
   1517   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1518   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1519 done
   1520 
   1521 #
   1522 # Report the --help message.
   1523 #
   1524 if test "$ac_init_help" = "long"; then
   1525   # Omit some internal or obsolete options to make the list less imposing.
   1526   # This message is too long to be a string in the A/UX 3.1 sh.
   1527   cat <<_ACEOF
   1528 \`configure' configures libXext 1.1.1 to adapt to many kinds of systems.
   1529 
   1530 Usage: $0 [OPTION]... [VAR=VALUE]...
   1531 
   1532 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1533 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1534 
   1535 Defaults for the options are specified in brackets.
   1536 
   1537 Configuration:
   1538   -h, --help              display this help and exit
   1539       --help=short        display options specific to this package
   1540       --help=recursive    display the short help of all the included packages
   1541   -V, --version           display version information and exit
   1542   -q, --quiet, --silent   do not print \`checking...' messages
   1543       --cache-file=FILE   cache test results in FILE [disabled]
   1544   -C, --config-cache      alias for \`--cache-file=config.cache'
   1545   -n, --no-create         do not create output files
   1546       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1547 
   1548 Installation directories:
   1549   --prefix=PREFIX         install architecture-independent files in PREFIX
   1550                           [$ac_default_prefix]
   1551   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1552                           [PREFIX]
   1553 
   1554 By default, \`make install' will install all the files in
   1555 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1556 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1557 for instance \`--prefix=\$HOME'.
   1558 
   1559 For better control, use the options below.
   1560 
   1561 Fine tuning of the installation directories:
   1562   --bindir=DIR            user executables [EPREFIX/bin]
   1563   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1564   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1565   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1566   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1567   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1568   --libdir=DIR            object code libraries [EPREFIX/lib]
   1569   --includedir=DIR        C header files [PREFIX/include]
   1570   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1571   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1572   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1573   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1574   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1575   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1576   --docdir=DIR            documentation root [DATAROOTDIR/doc/libXext]
   1577   --htmldir=DIR           html documentation [DOCDIR]
   1578   --dvidir=DIR            dvi documentation [DOCDIR]
   1579   --pdfdir=DIR            pdf documentation [DOCDIR]
   1580   --psdir=DIR             ps documentation [DOCDIR]
   1581 _ACEOF
   1582 
   1583   cat <<\_ACEOF
   1584 
   1585 Program names:
   1586   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1587   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1588   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1589 
   1590 System types:
   1591   --build=BUILD     configure for building on BUILD [guessed]
   1592   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1593 _ACEOF
   1594 fi
   1595 
   1596 if test -n "$ac_init_help"; then
   1597   case $ac_init_help in
   1598      short | recursive ) echo "Configuration of libXext 1.1.1:";;
   1599    esac
   1600   cat <<\_ACEOF
   1601 
   1602 Optional Features:
   1603   --disable-option-checking  ignore unrecognized --enable/--with options
   1604   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1605   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1606   --enable-maintainer-mode  enable make rules and dependencies not useful
   1607 			  (and sometimes confusing) to the casual installer
   1608   --enable-shared[=PKGS]  build shared libraries [default=yes]
   1609   --enable-static[=PKGS]  build static libraries [default=yes]
   1610   --enable-fast-install[=PKGS]
   1611                           optimize for fast installation [default=yes]
   1612   --disable-dependency-tracking  speeds up one-time build
   1613   --enable-dependency-tracking   do not reject slow dependency extractors
   1614   --disable-libtool-lock  avoid locking (might break parallel builds)
   1615   --enable-silent-rules          less verbose build output (undo: `make V=1')
   1616   --disable-silent-rules         verbose build output (undo: `make V=0')
   1617   --enable-strict-compilation
   1618                           Enable all warnings from compiler and make them
   1619                           errors (default: disabled)
   1620   --enable-malloc0returnsnull
   1621                           malloc(0) returns NULL (default: auto)
   1622   --enable-lint-library   Create lint library (default: disabled)
   1623 
   1624 Optional Packages:
   1625   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1626   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1627   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
   1628   --with-pic              try to use only PIC/non-PIC objects [default=use
   1629                           both]
   1630   --with-tags[=TAGS]      include additional configurations [automatic]
   1631   --with-release-version=STRING
   1632                           Use release version string in package name
   1633   --with-lint             Use a lint-style source code checker (default:
   1634                           disabled)
   1635 
   1636 Some influential environment variables:
   1637   CC          C compiler command
   1638   CFLAGS      C compiler flags
   1639   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1640               nonstandard directory <lib dir>
   1641   LIBS        libraries to pass to the linker, e.g. -l<library>
   1642   CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
   1643               you have headers in a nonstandard directory <include dir>
   1644   CPP         C preprocessor
   1645   CXX         C++ compiler command
   1646   CXXFLAGS    C++ compiler flags
   1647   CXXCPP      C++ preprocessor
   1648   F77         Fortran 77 compiler command
   1649   FFLAGS      Fortran 77 compiler flags
   1650   PKG_CONFIG  path to pkg-config utility
   1651   XEXT_CFLAGS C compiler flags for XEXT, overriding pkg-config
   1652   XEXT_LIBS   linker flags for XEXT, overriding pkg-config
   1653 
   1654 Use these variables to override the choices made by `configure' or to help
   1655 it to find libraries and programs with nonstandard names/locations.
   1656 
   1657 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
   1658 _ACEOF
   1659 ac_status=$?
   1660 fi
   1661 
   1662 if test "$ac_init_help" = "recursive"; then
   1663   # If there are subdirs, report their specific --help.
   1664   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1665     test -d "$ac_dir" ||
   1666       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1667       continue
   1668     ac_builddir=.
   1669 
   1670 case "$ac_dir" in
   1671 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1672 *)
   1673   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   1674   # A ".." for each directory in $ac_dir_suffix.
   1675   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1676   case $ac_top_builddir_sub in
   1677   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1678   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1679   esac ;;
   1680 esac
   1681 ac_abs_top_builddir=$ac_pwd
   1682 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1683 # for backward compatibility:
   1684 ac_top_builddir=$ac_top_build_prefix
   1685 
   1686 case $srcdir in
   1687   .)  # We are building in place.
   1688     ac_srcdir=.
   1689     ac_top_srcdir=$ac_top_builddir_sub
   1690     ac_abs_top_srcdir=$ac_pwd ;;
   1691   [\\/]* | ?:[\\/]* )  # Absolute name.
   1692     ac_srcdir=$srcdir$ac_dir_suffix;
   1693     ac_top_srcdir=$srcdir
   1694     ac_abs_top_srcdir=$srcdir ;;
   1695   *) # Relative name.
   1696     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1697     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1698     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1699 esac
   1700 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1701 
   1702     cd "$ac_dir" || { ac_status=$?; continue; }
   1703     # Check for guested configure.
   1704     if test -f "$ac_srcdir/configure.gnu"; then
   1705       echo &&
   1706       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1707     elif test -f "$ac_srcdir/configure"; then
   1708       echo &&
   1709       $SHELL "$ac_srcdir/configure" --help=recursive
   1710     else
   1711       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1712     fi || ac_status=$?
   1713     cd "$ac_pwd" || { ac_status=$?; break; }
   1714   done
   1715 fi
   1716 
   1717 test -n "$ac_init_help" && exit $ac_status
   1718 if $ac_init_version; then
   1719   cat <<\_ACEOF
   1720 libXext configure 1.1.1
   1721 generated by GNU Autoconf 2.63
   1722 
   1723 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
   1724 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
   1725 This configure script is free software; the Free Software Foundation
   1726 gives unlimited permission to copy, distribute and modify it.
   1727 _ACEOF
   1728   exit
   1729 fi
   1730 cat >config.log <<_ACEOF
   1731 This file contains any messages produced by compilers while
   1732 running configure, to aid debugging if configure makes a mistake.
   1733 
   1734 It was created by libXext $as_me 1.1.1, which was
   1735 generated by GNU Autoconf 2.63.  Invocation command line was
   1736 
   1737   $ $0 $@
   1738 
   1739 _ACEOF
   1740 exec 5>>config.log
   1741 {
   1742 cat <<_ASUNAME
   1743 ## --------- ##
   1744 ## Platform. ##
   1745 ## --------- ##
   1746 
   1747 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   1748 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   1749 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   1750 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   1751 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   1752 
   1753 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   1754 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   1755 
   1756 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   1757 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   1758 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   1759 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   1760 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   1761 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   1762 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   1763 
   1764 _ASUNAME
   1765 
   1766 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1767 for as_dir in $PATH
   1768 do
   1769   IFS=$as_save_IFS
   1770   test -z "$as_dir" && as_dir=.
   1771   $as_echo "PATH: $as_dir"
   1772 done
   1773 IFS=$as_save_IFS
   1774 
   1775 } >&5
   1776 
   1777 cat >&5 <<_ACEOF
   1778 
   1779 
   1780 ## ----------- ##
   1781 ## Core tests. ##
   1782 ## ----------- ##
   1783 
   1784 _ACEOF
   1785 
   1786 
   1787 # Keep a trace of the command line.
   1788 # Strip out --no-create and --no-recursion so they do not pile up.
   1789 # Strip out --silent because we don't want to record it for future runs.
   1790 # Also quote any args containing shell meta-characters.
   1791 # Make two passes to allow for proper duplicate-argument suppression.
   1792 ac_configure_args=
   1793 ac_configure_args0=
   1794 ac_configure_args1=
   1795 ac_must_keep_next=false
   1796 for ac_pass in 1 2
   1797 do
   1798   for ac_arg
   1799   do
   1800     case $ac_arg in
   1801     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   1802     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1803     | -silent | --silent | --silen | --sile | --sil)
   1804       continue ;;
   1805     *\'*)
   1806       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1807     esac
   1808     case $ac_pass in
   1809     1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
   1810     2)
   1811       ac_configure_args1="$ac_configure_args1 '$ac_arg'"
   1812       if test $ac_must_keep_next = true; then
   1813 	ac_must_keep_next=false # Got value, back to normal.
   1814       else
   1815 	case $ac_arg in
   1816 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   1817 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   1818 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   1819 	  | -with-* | --with-* | -without-* | --without-* | --x)
   1820 	    case "$ac_configure_args0 " in
   1821 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   1822 	    esac
   1823 	    ;;
   1824 	  -* ) ac_must_keep_next=true ;;
   1825 	esac
   1826       fi
   1827       ac_configure_args="$ac_configure_args '$ac_arg'"
   1828       ;;
   1829     esac
   1830   done
   1831 done
   1832 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
   1833 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
   1834 
   1835 # When interrupted or exit'd, cleanup temporary files, and complete
   1836 # config.log.  We remove comments because anyway the quotes in there
   1837 # would cause problems or look ugly.
   1838 # WARNING: Use '\'' to represent an apostrophe within the trap.
   1839 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   1840 trap 'exit_status=$?
   1841   # Save into config.log some information that might help in debugging.
   1842   {
   1843     echo
   1844 
   1845     cat <<\_ASBOX
   1846 ## ---------------- ##
   1847 ## Cache variables. ##
   1848 ## ---------------- ##
   1849 _ASBOX
   1850     echo
   1851     # The following way of writing the cache mishandles newlines in values,
   1852 (
   1853   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   1854     eval ac_val=\$$ac_var
   1855     case $ac_val in #(
   1856     *${as_nl}*)
   1857       case $ac_var in #(
   1858       *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
   1859 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   1860       esac
   1861       case $ac_var in #(
   1862       _ | IFS | as_nl) ;; #(
   1863       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   1864       *) $as_unset $ac_var ;;
   1865       esac ;;
   1866     esac
   1867   done
   1868   (set) 2>&1 |
   1869     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   1870     *${as_nl}ac_space=\ *)
   1871       sed -n \
   1872 	"s/'\''/'\''\\\\'\'''\''/g;
   1873 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   1874       ;; #(
   1875     *)
   1876       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   1877       ;;
   1878     esac |
   1879     sort
   1880 )
   1881     echo
   1882 
   1883     cat <<\_ASBOX
   1884 ## ----------------- ##
   1885 ## Output variables. ##
   1886 ## ----------------- ##
   1887 _ASBOX
   1888     echo
   1889     for ac_var in $ac_subst_vars
   1890     do
   1891       eval ac_val=\$$ac_var
   1892       case $ac_val in
   1893       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   1894       esac
   1895       $as_echo "$ac_var='\''$ac_val'\''"
   1896     done | sort
   1897     echo
   1898 
   1899     if test -n "$ac_subst_files"; then
   1900       cat <<\_ASBOX
   1901 ## ------------------- ##
   1902 ## File substitutions. ##
   1903 ## ------------------- ##
   1904 _ASBOX
   1905       echo
   1906       for ac_var in $ac_subst_files
   1907       do
   1908 	eval ac_val=\$$ac_var
   1909 	case $ac_val in
   1910 	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   1911 	esac
   1912 	$as_echo "$ac_var='\''$ac_val'\''"
   1913       done | sort
   1914       echo
   1915     fi
   1916 
   1917     if test -s confdefs.h; then
   1918       cat <<\_ASBOX
   1919 ## ----------- ##
   1920 ## confdefs.h. ##
   1921 ## ----------- ##
   1922 _ASBOX
   1923       echo
   1924       cat confdefs.h
   1925       echo
   1926     fi
   1927     test "$ac_signal" != 0 &&
   1928       $as_echo "$as_me: caught signal $ac_signal"
   1929     $as_echo "$as_me: exit $exit_status"
   1930   } >&5
   1931   rm -f core *.core core.conftest.* &&
   1932     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   1933     exit $exit_status
   1934 ' 0
   1935 for ac_signal in 1 2 13 15; do
   1936   trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
   1937 done
   1938 ac_signal=0
   1939 
   1940 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   1941 rm -f -r conftest* confdefs.h
   1942 
   1943 # Predefined preprocessor variables.
   1944 
   1945 cat >>confdefs.h <<_ACEOF
   1946 #define PACKAGE_NAME "$PACKAGE_NAME"
   1947 _ACEOF
   1948 
   1949 
   1950 cat >>confdefs.h <<_ACEOF
   1951 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
   1952 _ACEOF
   1953 
   1954 
   1955 cat >>confdefs.h <<_ACEOF
   1956 #define PACKAGE_VERSION "$PACKAGE_VERSION"
   1957 _ACEOF
   1958 
   1959 
   1960 cat >>confdefs.h <<_ACEOF
   1961 #define PACKAGE_STRING "$PACKAGE_STRING"
   1962 _ACEOF
   1963 
   1964 
   1965 cat >>confdefs.h <<_ACEOF
   1966 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
   1967 _ACEOF
   1968 
   1969 
   1970 # Let the site file select an alternate cache file if it wants to.
   1971 # Prefer an explicitly selected file to automatically selected ones.
   1972 ac_site_file1=NONE
   1973 ac_site_file2=NONE
   1974 if test -n "$CONFIG_SITE"; then
   1975   ac_site_file1=$CONFIG_SITE
   1976 elif test "x$prefix" != xNONE; then
   1977   ac_site_file1=$prefix/share/config.site
   1978   ac_site_file2=$prefix/etc/config.site
   1979 else
   1980   ac_site_file1=$ac_default_prefix/share/config.site
   1981   ac_site_file2=$ac_default_prefix/etc/config.site
   1982 fi
   1983 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
   1984 do
   1985   test "x$ac_site_file" = xNONE && continue
   1986   if test -r "$ac_site_file"; then
   1987     { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
   1988 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
   1989     sed 's/^/| /' "$ac_site_file" >&5
   1990     . "$ac_site_file"
   1991   fi
   1992 done
   1993 
   1994 if test -r "$cache_file"; then
   1995   # Some versions of bash will fail to source /dev/null (special
   1996   # files actually), so we avoid doing that.
   1997   if test -f "$cache_file"; then
   1998     { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
   1999 $as_echo "$as_me: loading cache $cache_file" >&6;}
   2000     case $cache_file in
   2001       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2002       *)                      . "./$cache_file";;
   2003     esac
   2004   fi
   2005 else
   2006   { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
   2007 $as_echo "$as_me: creating cache $cache_file" >&6;}
   2008   >$cache_file
   2009 fi
   2010 
   2011 # Check that the precious variables saved in the cache have kept the same
   2012 # value.
   2013 ac_cache_corrupted=false
   2014 for ac_var in $ac_precious_vars; do
   2015   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2016   eval ac_new_set=\$ac_env_${ac_var}_set
   2017   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2018   eval ac_new_val=\$ac_env_${ac_var}_value
   2019   case $ac_old_set,$ac_new_set in
   2020     set,)
   2021       { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   2022 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   2023       ac_cache_corrupted=: ;;
   2024     ,set)
   2025       { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
   2026 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   2027       ac_cache_corrupted=: ;;
   2028     ,);;
   2029     *)
   2030       if test "x$ac_old_val" != "x$ac_new_val"; then
   2031 	# differences in whitespace do not lead to failure.
   2032 	ac_old_val_w=`echo x $ac_old_val`
   2033 	ac_new_val_w=`echo x $ac_new_val`
   2034 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2035 	  { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
   2036 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   2037 	  ac_cache_corrupted=:
   2038 	else
   2039 	  { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
   2040 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
   2041 	  eval $ac_var=\$ac_old_val
   2042 	fi
   2043 	{ $as_echo "$as_me:$LINENO:   former value:  \`$ac_old_val'" >&5
   2044 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
   2045 	{ $as_echo "$as_me:$LINENO:   current value: \`$ac_new_val'" >&5
   2046 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
   2047       fi;;
   2048   esac
   2049   # Pass precious variables to config.status.
   2050   if test "$ac_new_set" = set; then
   2051     case $ac_new_val in
   2052     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2053     *) ac_arg=$ac_var=$ac_new_val ;;
   2054     esac
   2055     case " $ac_configure_args " in
   2056       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2057       *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
   2058     esac
   2059   fi
   2060 done
   2061 if $ac_cache_corrupted; then
   2062   { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   2063 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2064   { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
   2065 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
   2066   { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
   2067 $as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
   2068    { (exit 1); exit 1; }; }
   2069 fi
   2070 
   2071 
   2072 
   2073 
   2074 
   2075 
   2076 
   2077 
   2078 
   2079 
   2080 
   2081 
   2082 
   2083 
   2084 
   2085 
   2086 
   2087 
   2088 
   2089 
   2090 
   2091 
   2092 
   2093 
   2094 
   2095 ac_ext=c
   2096 ac_cpp='$CPP $CPPFLAGS'
   2097 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2098 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2099 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2100 
   2101 
   2102 
   2103 
   2104 am__api_version='1.11'
   2105 
   2106 ac_aux_dir=
   2107 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
   2108   if test -f "$ac_dir/install-sh"; then
   2109     ac_aux_dir=$ac_dir
   2110     ac_install_sh="$ac_aux_dir/install-sh -c"
   2111     break
   2112   elif test -f "$ac_dir/install.sh"; then
   2113     ac_aux_dir=$ac_dir
   2114     ac_install_sh="$ac_aux_dir/install.sh -c"
   2115     break
   2116   elif test -f "$ac_dir/shtool"; then
   2117     ac_aux_dir=$ac_dir
   2118     ac_install_sh="$ac_aux_dir/shtool install -c"
   2119     break
   2120   fi
   2121 done
   2122 if test -z "$ac_aux_dir"; then
   2123   { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
   2124 $as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
   2125    { (exit 1); exit 1; }; }
   2126 fi
   2127 
   2128 # These three variables are undocumented and unsupported,
   2129 # and are intended to be withdrawn in a future Autoconf release.
   2130 # They can cause serious problems if a builder's source tree is in a directory
   2131 # whose full name contains unusual characters.
   2132 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
   2133 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
   2134 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
   2135 
   2136 
   2137 # Find a good install program.  We prefer a C program (faster),
   2138 # so one script is as good as another.  But avoid the broken or
   2139 # incompatible versions:
   2140 # SysV /etc/install, /usr/sbin/install
   2141 # SunOS /usr/etc/install
   2142 # IRIX /sbin/install
   2143 # AIX /bin/install
   2144 # AmigaOS /C/install, which installs bootblocks on floppy discs
   2145 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   2146 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   2147 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   2148 # OS/2's system install, which has a completely different semantic
   2149 # ./install, which can be erroneously created by make from ./install.sh.
   2150 # Reject install programs that cannot install multiple files.
   2151 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
   2152 $as_echo_n "checking for a BSD-compatible install... " >&6; }
   2153 if test -z "$INSTALL"; then
   2154 if test "${ac_cv_path_install+set}" = set; then
   2155   $as_echo_n "(cached) " >&6
   2156 else
   2157   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2158 for as_dir in $PATH
   2159 do
   2160   IFS=$as_save_IFS
   2161   test -z "$as_dir" && as_dir=.
   2162   # Account for people who put trailing slashes in PATH elements.
   2163 case $as_dir/ in
   2164   ./ | .// | /cC/* | \
   2165   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   2166   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
   2167   /usr/ucb/* ) ;;
   2168   *)
   2169     # OSF1 and SCO ODT 3.0 have their own names for install.
   2170     # Don't use installbsd from OSF since it installs stuff as root
   2171     # by default.
   2172     for ac_prog in ginstall scoinst install; do
   2173       for ac_exec_ext in '' $ac_executable_extensions; do
   2174 	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
   2175 	  if test $ac_prog = install &&
   2176 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2177 	    # AIX install.  It has an incompatible calling convention.
   2178 	    :
   2179 	  elif test $ac_prog = install &&
   2180 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2181 	    # program-specific install script used by HP pwplus--don't use.
   2182 	    :
   2183 	  else
   2184 	    rm -rf conftest.one conftest.two conftest.dir
   2185 	    echo one > conftest.one
   2186 	    echo two > conftest.two
   2187 	    mkdir conftest.dir
   2188 	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
   2189 	      test -s conftest.one && test -s conftest.two &&
   2190 	      test -s conftest.dir/conftest.one &&
   2191 	      test -s conftest.dir/conftest.two
   2192 	    then
   2193 	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
   2194 	      break 3
   2195 	    fi
   2196 	  fi
   2197 	fi
   2198       done
   2199     done
   2200     ;;
   2201 esac
   2202 
   2203 done
   2204 IFS=$as_save_IFS
   2205 
   2206 rm -rf conftest.one conftest.two conftest.dir
   2207 
   2208 fi
   2209   if test "${ac_cv_path_install+set}" = set; then
   2210     INSTALL=$ac_cv_path_install
   2211   else
   2212     # As a last resort, use the slow shell script.  Don't cache a
   2213     # value for INSTALL within a source directory, because that will
   2214     # break other packages using the cache if that directory is
   2215     # removed, or if the value is a relative name.
   2216     INSTALL=$ac_install_sh
   2217   fi
   2218 fi
   2219 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
   2220 $as_echo "$INSTALL" >&6; }
   2221 
   2222 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   2223 # It thinks the first close brace ends the variable substitution.
   2224 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   2225 
   2226 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   2227 
   2228 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   2229 
   2230 { $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5
   2231 $as_echo_n "checking whether build environment is sane... " >&6; }
   2232 # Just in case
   2233 sleep 1
   2234 echo timestamp > conftest.file
   2235 # Reject unsafe characters in $srcdir or the absolute working directory
   2236 # name.  Accept space and tab only in the latter.
   2237 am_lf='
   2238 '
   2239 case `pwd` in
   2240   *[\\\"\#\$\&\'\`$am_lf]*)
   2241     { { $as_echo "$as_me:$LINENO: error: unsafe absolute working directory name" >&5
   2242 $as_echo "$as_me: error: unsafe absolute working directory name" >&2;}
   2243    { (exit 1); exit 1; }; };;
   2244 esac
   2245 case $srcdir in
   2246   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   2247     { { $as_echo "$as_me:$LINENO: error: unsafe srcdir value: \`$srcdir'" >&5
   2248 $as_echo "$as_me: error: unsafe srcdir value: \`$srcdir'" >&2;}
   2249    { (exit 1); exit 1; }; };;
   2250 esac
   2251 
   2252 # Do `set' in a subshell so we don't clobber the current shell's
   2253 # arguments.  Must try -L first in case configure is actually a
   2254 # symlink; some systems play weird games with the mod time of symlinks
   2255 # (eg FreeBSD returns the mod time of the symlink's containing
   2256 # directory).
   2257 if (
   2258    set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   2259    if test "$*" = "X"; then
   2260       # -L didn't work.
   2261       set X `ls -t "$srcdir/configure" conftest.file`
   2262    fi
   2263    rm -f conftest.file
   2264    if test "$*" != "X $srcdir/configure conftest.file" \
   2265       && test "$*" != "X conftest.file $srcdir/configure"; then
   2266 
   2267       # If neither matched, then we have a broken ls.  This can happen
   2268       # if, for instance, CONFIG_SHELL is bash and it inherits a
   2269       # broken ls alias from the environment.  This has actually
   2270       # happened.  Such a system could not be considered "sane".
   2271       { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
   2272 alias in your environment" >&5
   2273 $as_echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
   2274 alias in your environment" >&2;}
   2275    { (exit 1); exit 1; }; }
   2276    fi
   2277 
   2278    test "$2" = conftest.file
   2279    )
   2280 then
   2281    # Ok.
   2282    :
   2283 else
   2284    { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files!
   2285 Check your system clock" >&5
   2286 $as_echo "$as_me: error: newly created file is older than distributed files!
   2287 Check your system clock" >&2;}
   2288    { (exit 1); exit 1; }; }
   2289 fi
   2290 { $as_echo "$as_me:$LINENO: result: yes" >&5
   2291 $as_echo "yes" >&6; }
   2292 test "$program_prefix" != NONE &&
   2293   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   2294 # Use a double $ so make ignores it.
   2295 test "$program_suffix" != NONE &&
   2296   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   2297 # Double any \ or $.
   2298 # By default was `s,x,x', remove it if useless.
   2299 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   2300 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
   2301 
   2302 # expand $ac_aux_dir to an absolute path
   2303 am_aux_dir=`cd $ac_aux_dir && pwd`
   2304 
   2305 if test x"${MISSING+set}" != xset; then
   2306   case $am_aux_dir in
   2307   *\ * | *\	*)
   2308     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
   2309   *)
   2310     MISSING="\${SHELL} $am_aux_dir/missing" ;;
   2311   esac
   2312 fi
   2313 # Use eval to expand $SHELL
   2314 if eval "$MISSING --run true"; then
   2315   am_missing_run="$MISSING --run "
   2316 else
   2317   am_missing_run=
   2318   { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
   2319 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
   2320 fi
   2321 
   2322 if test x"${install_sh}" != xset; then
   2323   case $am_aux_dir in
   2324   *\ * | *\	*)
   2325     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   2326   *)
   2327     install_sh="\${SHELL} $am_aux_dir/install-sh"
   2328   esac
   2329 fi
   2330 
   2331 # Installed binaries are usually stripped using `strip' when the user
   2332 # run `make install-strip'.  However `strip' might not be the right
   2333 # tool to use in cross-compilation environments, therefore Automake
   2334 # will honor the `STRIP' environment variable to overrule this program.
   2335 if test "$cross_compiling" != no; then
   2336   if test -n "$ac_tool_prefix"; then
   2337   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   2338 set dummy ${ac_tool_prefix}strip; ac_word=$2
   2339 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   2340 $as_echo_n "checking for $ac_word... " >&6; }
   2341 if test "${ac_cv_prog_STRIP+set}" = set; then
   2342   $as_echo_n "(cached) " >&6
   2343 else
   2344   if test -n "$STRIP"; then
   2345   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   2346 else
   2347 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2348 for as_dir in $PATH
   2349 do
   2350   IFS=$as_save_IFS
   2351   test -z "$as_dir" && as_dir=.
   2352   for ac_exec_ext in '' $ac_executable_extensions; do
   2353   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2354     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   2355     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2356     break 2
   2357   fi
   2358 done
   2359 done
   2360 IFS=$as_save_IFS
   2361 
   2362 fi
   2363 fi
   2364 STRIP=$ac_cv_prog_STRIP
   2365 if test -n "$STRIP"; then
   2366   { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
   2367 $as_echo "$STRIP" >&6; }
   2368 else
   2369   { $as_echo "$as_me:$LINENO: result: no" >&5
   2370 $as_echo "no" >&6; }
   2371 fi
   2372 
   2373 
   2374 fi
   2375 if test -z "$ac_cv_prog_STRIP"; then
   2376   ac_ct_STRIP=$STRIP
   2377   # Extract the first word of "strip", so it can be a program name with args.
   2378 set dummy strip; ac_word=$2
   2379 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   2380 $as_echo_n "checking for $ac_word... " >&6; }
   2381 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
   2382   $as_echo_n "(cached) " >&6
   2383 else
   2384   if test -n "$ac_ct_STRIP"; then
   2385   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   2386 else
   2387 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2388 for as_dir in $PATH
   2389 do
   2390   IFS=$as_save_IFS
   2391   test -z "$as_dir" && as_dir=.
   2392   for ac_exec_ext in '' $ac_executable_extensions; do
   2393   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2394     ac_cv_prog_ac_ct_STRIP="strip"
   2395     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2396     break 2
   2397   fi
   2398 done
   2399 done
   2400 IFS=$as_save_IFS
   2401 
   2402 fi
   2403 fi
   2404 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   2405 if test -n "$ac_ct_STRIP"; then
   2406   { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
   2407 $as_echo "$ac_ct_STRIP" >&6; }
   2408 else
   2409   { $as_echo "$as_me:$LINENO: result: no" >&5
   2410 $as_echo "no" >&6; }
   2411 fi
   2412 
   2413   if test "x$ac_ct_STRIP" = x; then
   2414     STRIP=":"
   2415   else
   2416     case $cross_compiling:$ac_tool_warned in
   2417 yes:)
   2418 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   2419 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2420 ac_tool_warned=yes ;;
   2421 esac
   2422     STRIP=$ac_ct_STRIP
   2423   fi
   2424 else
   2425   STRIP="$ac_cv_prog_STRIP"
   2426 fi
   2427 
   2428 fi
   2429 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   2430 
   2431 { $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
   2432 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
   2433 if test -z "$MKDIR_P"; then
   2434   if test "${ac_cv_path_mkdir+set}" = set; then
   2435   $as_echo_n "(cached) " >&6
   2436 else
   2437   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2438 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   2439 do
   2440   IFS=$as_save_IFS
   2441   test -z "$as_dir" && as_dir=.
   2442   for ac_prog in mkdir gmkdir; do
   2443 	 for ac_exec_ext in '' $ac_executable_extensions; do
   2444 	   { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
   2445 	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
   2446 	     'mkdir (GNU coreutils) '* | \
   2447 	     'mkdir (coreutils) '* | \
   2448 	     'mkdir (fileutils) '4.1*)
   2449 	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
   2450 	       break 3;;
   2451 	   esac
   2452 	 done
   2453        done
   2454 done
   2455 IFS=$as_save_IFS
   2456 
   2457 fi
   2458 
   2459   if test "${ac_cv_path_mkdir+set}" = set; then
   2460     MKDIR_P="$ac_cv_path_mkdir -p"
   2461   else
   2462     # As a last resort, use the slow shell script.  Don't cache a
   2463     # value for MKDIR_P within a source directory, because that will
   2464     # break other packages using the cache if that directory is
   2465     # removed, or if the value is a relative name.
   2466     test -d ./--version && rmdir ./--version
   2467     MKDIR_P="$ac_install_sh -d"
   2468   fi
   2469 fi
   2470 { $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5
   2471 $as_echo "$MKDIR_P" >&6; }
   2472 
   2473 mkdir_p="$MKDIR_P"
   2474 case $mkdir_p in
   2475   [\\/$]* | ?:[\\/]*) ;;
   2476   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
   2477 esac
   2478 
   2479 for ac_prog in gawk mawk nawk awk
   2480 do
   2481   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2482 set dummy $ac_prog; ac_word=$2
   2483 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   2484 $as_echo_n "checking for $ac_word... " >&6; }
   2485 if test "${ac_cv_prog_AWK+set}" = set; then
   2486   $as_echo_n "(cached) " >&6
   2487 else
   2488   if test -n "$AWK"; then
   2489   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   2490 else
   2491 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2492 for as_dir in $PATH
   2493 do
   2494   IFS=$as_save_IFS
   2495   test -z "$as_dir" && as_dir=.
   2496   for ac_exec_ext in '' $ac_executable_extensions; do
   2497   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2498     ac_cv_prog_AWK="$ac_prog"
   2499     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2500     break 2
   2501   fi
   2502 done
   2503 done
   2504 IFS=$as_save_IFS
   2505 
   2506 fi
   2507 fi
   2508 AWK=$ac_cv_prog_AWK
   2509 if test -n "$AWK"; then
   2510   { $as_echo "$as_me:$LINENO: result: $AWK" >&5
   2511 $as_echo "$AWK" >&6; }
   2512 else
   2513   { $as_echo "$as_me:$LINENO: result: no" >&5
   2514 $as_echo "no" >&6; }
   2515 fi
   2516 
   2517 
   2518   test -n "$AWK" && break
   2519 done
   2520 
   2521 { $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   2522 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   2523 set x ${MAKE-make}
   2524 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   2525 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
   2526   $as_echo_n "(cached) " >&6
   2527 else
   2528   cat >conftest.make <<\_ACEOF
   2529 SHELL = /bin/sh
   2530 all:
   2531 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   2532 _ACEOF
   2533 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
   2534 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   2535   *@@@%%%=?*=@@@%%%*)
   2536     eval ac_cv_prog_make_${ac_make}_set=yes;;
   2537   *)
   2538     eval ac_cv_prog_make_${ac_make}_set=no;;
   2539 esac
   2540 rm -f conftest.make
   2541 fi
   2542 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   2543   { $as_echo "$as_me:$LINENO: result: yes" >&5
   2544 $as_echo "yes" >&6; }
   2545   SET_MAKE=
   2546 else
   2547   { $as_echo "$as_me:$LINENO: result: no" >&5
   2548 $as_echo "no" >&6; }
   2549   SET_MAKE="MAKE=${MAKE-make}"
   2550 fi
   2551 
   2552 rm -rf .tst 2>/dev/null
   2553 mkdir .tst 2>/dev/null
   2554 if test -d .tst; then
   2555   am__leading_dot=.
   2556 else
   2557   am__leading_dot=_
   2558 fi
   2559 rmdir .tst 2>/dev/null
   2560 
   2561 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   2562   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   2563   # is not polluted with repeated "-I."
   2564   am__isrc=' -I$(srcdir)'
   2565   # test to see if srcdir already configured
   2566   if test -f $srcdir/config.status; then
   2567     { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
   2568 $as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
   2569    { (exit 1); exit 1; }; }
   2570   fi
   2571 fi
   2572 
   2573 # test whether we have cygpath
   2574 if test -z "$CYGPATH_W"; then
   2575   if (cygpath --version) >/dev/null 2>/dev/null; then
   2576     CYGPATH_W='cygpath -w'
   2577   else
   2578     CYGPATH_W=echo
   2579   fi
   2580 fi
   2581 
   2582 
   2583 # Define the identity of the package.
   2584  PACKAGE='libXext'
   2585  VERSION='1.1.1'
   2586 
   2587 
   2588 cat >>confdefs.h <<_ACEOF
   2589 #define PACKAGE "$PACKAGE"
   2590 _ACEOF
   2591 
   2592 
   2593 cat >>confdefs.h <<_ACEOF
   2594 #define VERSION "$VERSION"
   2595 _ACEOF
   2596 
   2597 # Some tools Automake needs.
   2598 
   2599 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   2600 
   2601 
   2602 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   2603 
   2604 
   2605 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   2606 
   2607 
   2608 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   2609 
   2610 
   2611 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   2612 
   2613 # We need awk for the "check" target.  The system "awk" is bad on
   2614 # some platforms.
   2615 # Always define AMTAR for backward compatibility.
   2616 
   2617 AMTAR=${AMTAR-"${am_missing_run}tar"}
   2618 
   2619 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
   2620 
   2621 
   2622 
   2623 
   2624 
   2625 
   2626 
   2627 { $as_echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
   2628 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
   2629     # Check whether --enable-maintainer-mode was given.
   2630 if test "${enable_maintainer_mode+set}" = set; then
   2631   enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
   2632 else
   2633   USE_MAINTAINER_MODE=no
   2634 fi
   2635 
   2636   { $as_echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
   2637 $as_echo "$USE_MAINTAINER_MODE" >&6; }
   2638    if test $USE_MAINTAINER_MODE = yes; then
   2639   MAINTAINER_MODE_TRUE=
   2640   MAINTAINER_MODE_FALSE='#'
   2641 else
   2642   MAINTAINER_MODE_TRUE='#'
   2643   MAINTAINER_MODE_FALSE=
   2644 fi
   2645 
   2646   MAINT=$MAINTAINER_MODE_TRUE
   2647 
   2648 
   2649 
   2650 # Require xorg-macros: XORG_DEFAULT_OPTIONS, XORG_WITH_LINT
   2651 
   2652 
   2653 
   2654 
   2655 
   2656 
   2657 
   2658 
   2659 
   2660 
   2661 
   2662 ac_config_headers="$ac_config_headers config.h"
   2663 
   2664 
   2665 # Determine .so library version per platform
   2666 # based on SharedXextRev in monolith xc/config/cf/*Lib.tmpl
   2667 # Make sure we can run config.sub.
   2668 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
   2669   { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
   2670 $as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
   2671    { (exit 1); exit 1; }; }
   2672 
   2673 { $as_echo "$as_me:$LINENO: checking build system type" >&5
   2674 $as_echo_n "checking build system type... " >&6; }
   2675 if test "${ac_cv_build+set}" = set; then
   2676   $as_echo_n "(cached) " >&6
   2677 else
   2678   ac_build_alias=$build_alias
   2679 test "x$ac_build_alias" = x &&
   2680   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
   2681 test "x$ac_build_alias" = x &&
   2682   { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
   2683 $as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
   2684    { (exit 1); exit 1; }; }
   2685 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
   2686   { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
   2687 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
   2688    { (exit 1); exit 1; }; }
   2689 
   2690 fi
   2691 { $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
   2692 $as_echo "$ac_cv_build" >&6; }
   2693 case $ac_cv_build in
   2694 *-*-*) ;;
   2695 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
   2696 $as_echo "$as_me: error: invalid value of canonical build" >&2;}
   2697    { (exit 1); exit 1; }; };;
   2698 esac
   2699 build=$ac_cv_build
   2700 ac_save_IFS=$IFS; IFS='-'
   2701 set x $ac_cv_build
   2702 shift
   2703 build_cpu=$1
   2704 build_vendor=$2
   2705 shift; shift
   2706 # Remember, the first character of IFS is used to create $*,
   2707 # except with old shells:
   2708 build_os=$*
   2709 IFS=$ac_save_IFS
   2710 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   2711 
   2712 
   2713 { $as_echo "$as_me:$LINENO: checking host system type" >&5
   2714 $as_echo_n "checking host system type... " >&6; }
   2715 if test "${ac_cv_host+set}" = set; then
   2716   $as_echo_n "(cached) " >&6
   2717 else
   2718   if test "x$host_alias" = x; then
   2719   ac_cv_host=$ac_cv_build
   2720 else
   2721   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
   2722     { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
   2723 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
   2724    { (exit 1); exit 1; }; }
   2725 fi
   2726 
   2727 fi
   2728 { $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
   2729 $as_echo "$ac_cv_host" >&6; }
   2730 case $ac_cv_host in
   2731 *-*-*) ;;
   2732 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
   2733 $as_echo "$as_me: error: invalid value of canonical host" >&2;}
   2734    { (exit 1); exit 1; }; };;
   2735 esac
   2736 host=$ac_cv_host
   2737 ac_save_IFS=$IFS; IFS='-'
   2738 set x $ac_cv_host
   2739 shift
   2740 host_cpu=$1
   2741 host_vendor=$2
   2742 shift; shift
   2743 # Remember, the first character of IFS is used to create $*,
   2744 # except with old shells:
   2745 host_os=$*
   2746 IFS=$ac_save_IFS
   2747 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   2748 
   2749 
   2750 if test "x$XEXT_SOREV" = "x" ; then
   2751     case $host_os in
   2752 	openbsd*)	XEXT_SOREV=8:0 		;;
   2753 	solaris*)       XEXT_SOREV=0 		;;
   2754 	*)              XEXT_SOREV=6:4:0 	;;
   2755     esac
   2756 fi
   2757 
   2758 
   2759 # Checks for programs.
   2760 # Check whether --enable-shared was given.
   2761 if test "${enable_shared+set}" = set; then
   2762   enableval=$enable_shared; p=${PACKAGE-default}
   2763     case $enableval in
   2764     yes) enable_shared=yes ;;
   2765     no) enable_shared=no ;;
   2766     *)
   2767       enable_shared=no
   2768       # Look at the argument we got.  We use all the common list separators.
   2769       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   2770       for pkg in $enableval; do
   2771 	IFS="$lt_save_ifs"
   2772 	if test "X$pkg" = "X$p"; then
   2773 	  enable_shared=yes
   2774 	fi
   2775       done
   2776       IFS="$lt_save_ifs"
   2777       ;;
   2778     esac
   2779 else
   2780   enable_shared=yes
   2781 fi
   2782 
   2783 
   2784 # Check whether --enable-static was given.
   2785 if test "${enable_static+set}" = set; then
   2786   enableval=$enable_static; p=${PACKAGE-default}
   2787     case $enableval in
   2788     yes) enable_static=yes ;;
   2789     no) enable_static=no ;;
   2790     *)
   2791      enable_static=no
   2792       # Look at the argument we got.  We use all the common list separators.
   2793       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   2794       for pkg in $enableval; do
   2795 	IFS="$lt_save_ifs"
   2796 	if test "X$pkg" = "X$p"; then
   2797 	  enable_static=yes
   2798 	fi
   2799       done
   2800       IFS="$lt_save_ifs"
   2801       ;;
   2802     esac
   2803 else
   2804   enable_static=yes
   2805 fi
   2806 
   2807 
   2808 # Check whether --enable-fast-install was given.
   2809 if test "${enable_fast_install+set}" = set; then
   2810   enableval=$enable_fast_install; p=${PACKAGE-default}
   2811     case $enableval in
   2812     yes) enable_fast_install=yes ;;
   2813     no) enable_fast_install=no ;;
   2814     *)
   2815       enable_fast_install=no
   2816       # Look at the argument we got.  We use all the common list separators.
   2817       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   2818       for pkg in $enableval; do
   2819 	IFS="$lt_save_ifs"
   2820 	if test "X$pkg" = "X$p"; then
   2821 	  enable_fast_install=yes
   2822 	fi
   2823       done
   2824       IFS="$lt_save_ifs"
   2825       ;;
   2826     esac
   2827 else
   2828   enable_fast_install=yes
   2829 fi
   2830 
   2831 
   2832 DEPDIR="${am__leading_dot}deps"
   2833 
   2834 ac_config_commands="$ac_config_commands depfiles"
   2835 
   2836 
   2837 am_make=${MAKE-make}
   2838 cat > confinc << 'END'
   2839 am__doit:
   2840 	@echo this is the am__doit target
   2841 .PHONY: am__doit
   2842 END
   2843 # If we don't find an include directive, just comment out the code.
   2844 { $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
   2845 $as_echo_n "checking for style of include used by $am_make... " >&6; }
   2846 am__include="#"
   2847 am__quote=
   2848 _am_result=none
   2849 # First try GNU make style include.
   2850 echo "include confinc" > confmf
   2851 # Ignore all kinds of additional output from `make'.
   2852 case `$am_make -s -f confmf 2> /dev/null` in #(
   2853 *the\ am__doit\ target*)
   2854   am__include=include
   2855   am__quote=
   2856   _am_result=GNU
   2857   ;;
   2858 esac
   2859 # Now try BSD make style include.
   2860 if test "$am__include" = "#"; then
   2861    echo '.include "confinc"' > confmf
   2862    case `$am_make -s -f confmf 2> /dev/null` in #(
   2863    *the\ am__doit\ target*)
   2864      am__include=.include
   2865      am__quote="\""
   2866      _am_result=BSD
   2867      ;;
   2868    esac
   2869 fi
   2870 
   2871 
   2872 { $as_echo "$as_me:$LINENO: result: $_am_result" >&5
   2873 $as_echo "$_am_result" >&6; }
   2874 rm -f confinc confmf
   2875 
   2876 # Check whether --enable-dependency-tracking was given.
   2877 if test "${enable_dependency_tracking+set}" = set; then
   2878   enableval=$enable_dependency_tracking;
   2879 fi
   2880 
   2881 if test "x$enable_dependency_tracking" != xno; then
   2882   am_depcomp="$ac_aux_dir/depcomp"
   2883   AMDEPBACKSLASH='\'
   2884 fi
   2885  if test "x$enable_dependency_tracking" != xno; then
   2886   AMDEP_TRUE=
   2887   AMDEP_FALSE='#'
   2888 else
   2889   AMDEP_TRUE='#'
   2890   AMDEP_FALSE=
   2891 fi
   2892 
   2893 
   2894 ac_ext=c
   2895 ac_cpp='$CPP $CPPFLAGS'
   2896 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2897 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2898 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2899 if test -n "$ac_tool_prefix"; then
   2900   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   2901 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   2902 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   2903 $as_echo_n "checking for $ac_word... " >&6; }
   2904 if test "${ac_cv_prog_CC+set}" = set; then
   2905   $as_echo_n "(cached) " >&6
   2906 else
   2907   if test -n "$CC"; then
   2908   ac_cv_prog_CC="$CC" # Let the user override the test.
   2909 else
   2910 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2911 for as_dir in $PATH
   2912 do
   2913   IFS=$as_save_IFS
   2914   test -z "$as_dir" && as_dir=.
   2915   for ac_exec_ext in '' $ac_executable_extensions; do
   2916   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2917     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   2918     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2919     break 2
   2920   fi
   2921 done
   2922 done
   2923 IFS=$as_save_IFS
   2924 
   2925 fi
   2926 fi
   2927 CC=$ac_cv_prog_CC
   2928 if test -n "$CC"; then
   2929   { $as_echo "$as_me:$LINENO: result: $CC" >&5
   2930 $as_echo "$CC" >&6; }
   2931 else
   2932   { $as_echo "$as_me:$LINENO: result: no" >&5
   2933 $as_echo "no" >&6; }
   2934 fi
   2935 
   2936 
   2937 fi
   2938 if test -z "$ac_cv_prog_CC"; then
   2939   ac_ct_CC=$CC
   2940   # Extract the first word of "gcc", so it can be a program name with args.
   2941 set dummy gcc; ac_word=$2
   2942 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   2943 $as_echo_n "checking for $ac_word... " >&6; }
   2944 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
   2945   $as_echo_n "(cached) " >&6
   2946 else
   2947   if test -n "$ac_ct_CC"; then
   2948   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   2949 else
   2950 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2951 for as_dir in $PATH
   2952 do
   2953   IFS=$as_save_IFS
   2954   test -z "$as_dir" && as_dir=.
   2955   for ac_exec_ext in '' $ac_executable_extensions; do
   2956   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2957     ac_cv_prog_ac_ct_CC="gcc"
   2958     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2959     break 2
   2960   fi
   2961 done
   2962 done
   2963 IFS=$as_save_IFS
   2964 
   2965 fi
   2966 fi
   2967 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   2968 if test -n "$ac_ct_CC"; then
   2969   { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
   2970 $as_echo "$ac_ct_CC" >&6; }
   2971 else
   2972   { $as_echo "$as_me:$LINENO: result: no" >&5
   2973 $as_echo "no" >&6; }
   2974 fi
   2975 
   2976   if test "x$ac_ct_CC" = x; then
   2977     CC=""
   2978   else
   2979     case $cross_compiling:$ac_tool_warned in
   2980 yes:)
   2981 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   2982 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2983 ac_tool_warned=yes ;;
   2984 esac
   2985     CC=$ac_ct_CC
   2986   fi
   2987 else
   2988   CC="$ac_cv_prog_CC"
   2989 fi
   2990 
   2991 if test -z "$CC"; then
   2992           if test -n "$ac_tool_prefix"; then
   2993     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   2994 set dummy ${ac_tool_prefix}cc; ac_word=$2
   2995 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   2996 $as_echo_n "checking for $ac_word... " >&6; }
   2997 if test "${ac_cv_prog_CC+set}" = set; then
   2998   $as_echo_n "(cached) " >&6
   2999 else
   3000   if test -n "$CC"; then
   3001   ac_cv_prog_CC="$CC" # Let the user override the test.
   3002 else
   3003 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3004 for as_dir in $PATH
   3005 do
   3006   IFS=$as_save_IFS
   3007   test -z "$as_dir" && as_dir=.
   3008   for ac_exec_ext in '' $ac_executable_extensions; do
   3009   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3010     ac_cv_prog_CC="${ac_tool_prefix}cc"
   3011     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   3012     break 2
   3013   fi
   3014 done
   3015 done
   3016 IFS=$as_save_IFS
   3017 
   3018 fi
   3019 fi
   3020 CC=$ac_cv_prog_CC
   3021 if test -n "$CC"; then
   3022   { $as_echo "$as_me:$LINENO: result: $CC" >&5
   3023 $as_echo "$CC" >&6; }
   3024 else
   3025   { $as_echo "$as_me:$LINENO: result: no" >&5
   3026 $as_echo "no" >&6; }
   3027 fi
   3028 
   3029 
   3030   fi
   3031 fi
   3032 if test -z "$CC"; then
   3033   # Extract the first word of "cc", so it can be a program name with args.
   3034 set dummy cc; ac_word=$2
   3035 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   3036 $as_echo_n "checking for $ac_word... " >&6; }
   3037 if test "${ac_cv_prog_CC+set}" = set; then
   3038   $as_echo_n "(cached) " >&6
   3039 else
   3040   if test -n "$CC"; then
   3041   ac_cv_prog_CC="$CC" # Let the user override the test.
   3042 else
   3043   ac_prog_rejected=no
   3044 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3045 for as_dir in $PATH
   3046 do
   3047   IFS=$as_save_IFS
   3048   test -z "$as_dir" && as_dir=.
   3049   for ac_exec_ext in '' $ac_executable_extensions; do
   3050   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3051     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   3052        ac_prog_rejected=yes
   3053        continue
   3054      fi
   3055     ac_cv_prog_CC="cc"
   3056     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   3057     break 2
   3058   fi
   3059 done
   3060 done
   3061 IFS=$as_save_IFS
   3062 
   3063 if test $ac_prog_rejected = yes; then
   3064   # We found a bogon in the path, so make sure we never use it.
   3065   set dummy $ac_cv_prog_CC
   3066   shift
   3067   if test $# != 0; then
   3068     # We chose a different compiler from the bogus one.
   3069     # However, it has the same basename, so the bogon will be chosen
   3070     # first if we set CC to just the basename; use the full file name.
   3071     shift
   3072     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   3073   fi
   3074 fi
   3075 fi
   3076 fi
   3077 CC=$ac_cv_prog_CC
   3078 if test -n "$CC"; then
   3079   { $as_echo "$as_me:$LINENO: result: $CC" >&5
   3080 $as_echo "$CC" >&6; }
   3081 else
   3082   { $as_echo "$as_me:$LINENO: result: no" >&5
   3083 $as_echo "no" >&6; }
   3084 fi
   3085 
   3086 
   3087 fi
   3088 if test -z "$CC"; then
   3089   if test -n "$ac_tool_prefix"; then
   3090   for ac_prog in cl.exe
   3091   do
   3092     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   3093 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   3094 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   3095 $as_echo_n "checking for $ac_word... " >&6; }
   3096 if test "${ac_cv_prog_CC+set}" = set; then
   3097   $as_echo_n "(cached) " >&6
   3098 else
   3099   if test -n "$CC"; then
   3100   ac_cv_prog_CC="$CC" # Let the user override the test.
   3101 else
   3102 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3103 for as_dir in $PATH
   3104 do
   3105   IFS=$as_save_IFS
   3106   test -z "$as_dir" && as_dir=.
   3107   for ac_exec_ext in '' $ac_executable_extensions; do
   3108   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3109     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   3110     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   3111     break 2
   3112   fi
   3113 done
   3114 done
   3115 IFS=$as_save_IFS
   3116 
   3117 fi
   3118 fi
   3119 CC=$ac_cv_prog_CC
   3120 if test -n "$CC"; then
   3121   { $as_echo "$as_me:$LINENO: result: $CC" >&5
   3122 $as_echo "$CC" >&6; }
   3123 else
   3124   { $as_echo "$as_me:$LINENO: result: no" >&5
   3125 $as_echo "no" >&6; }
   3126 fi
   3127 
   3128 
   3129     test -n "$CC" && break
   3130   done
   3131 fi
   3132 if test -z "$CC"; then
   3133   ac_ct_CC=$CC
   3134   for ac_prog in cl.exe
   3135 do
   3136   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3137 set dummy $ac_prog; ac_word=$2
   3138 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   3139 $as_echo_n "checking for $ac_word... " >&6; }
   3140 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
   3141   $as_echo_n "(cached) " >&6
   3142 else
   3143   if test -n "$ac_ct_CC"; then
   3144   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3145 else
   3146 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3147 for as_dir in $PATH
   3148 do
   3149   IFS=$as_save_IFS
   3150   test -z "$as_dir" && as_dir=.
   3151   for ac_exec_ext in '' $ac_executable_extensions; do
   3152   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3153     ac_cv_prog_ac_ct_CC="$ac_prog"
   3154     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   3155     break 2
   3156   fi
   3157 done
   3158 done
   3159 IFS=$as_save_IFS
   3160 
   3161 fi
   3162 fi
   3163 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3164 if test -n "$ac_ct_CC"; then
   3165   { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
   3166 $as_echo "$ac_ct_CC" >&6; }
   3167 else
   3168   { $as_echo "$as_me:$LINENO: result: no" >&5
   3169 $as_echo "no" >&6; }
   3170 fi
   3171 
   3172 
   3173   test -n "$ac_ct_CC" && break
   3174 done
   3175 
   3176   if test "x$ac_ct_CC" = x; then
   3177     CC=""
   3178   else
   3179     case $cross_compiling:$ac_tool_warned in
   3180 yes:)
   3181 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   3182 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3183 ac_tool_warned=yes ;;
   3184 esac
   3185     CC=$ac_ct_CC
   3186   fi
   3187 fi
   3188 
   3189 fi
   3190 
   3191 
   3192 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   3193 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3194 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
   3195 See \`config.log' for more details." >&5
   3196 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
   3197 See \`config.log' for more details." >&2;}
   3198    { (exit 1); exit 1; }; }; }
   3199 
   3200 # Provide some information about the compiler.
   3201 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
   3202 set X $ac_compile
   3203 ac_compiler=$2
   3204 { (ac_try="$ac_compiler --version >&5"
   3205 case "(($ac_try" in
   3206   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3207   *) ac_try_echo=$ac_try;;
   3208 esac
   3209 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3210 $as_echo "$ac_try_echo") >&5
   3211   (eval "$ac_compiler --version >&5") 2>&5
   3212   ac_status=$?
   3213   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3214   (exit $ac_status); }
   3215 { (ac_try="$ac_compiler -v >&5"
   3216 case "(($ac_try" in
   3217   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3218   *) ac_try_echo=$ac_try;;
   3219 esac
   3220 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3221 $as_echo "$ac_try_echo") >&5
   3222   (eval "$ac_compiler -v >&5") 2>&5
   3223   ac_status=$?
   3224   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3225   (exit $ac_status); }
   3226 { (ac_try="$ac_compiler -V >&5"
   3227 case "(($ac_try" in
   3228   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3229   *) ac_try_echo=$ac_try;;
   3230 esac
   3231 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3232 $as_echo "$ac_try_echo") >&5
   3233   (eval "$ac_compiler -V >&5") 2>&5
   3234   ac_status=$?
   3235   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3236   (exit $ac_status); }
   3237 
   3238 cat >conftest.$ac_ext <<_ACEOF
   3239 /* confdefs.h.  */
   3240 _ACEOF
   3241 cat confdefs.h >>conftest.$ac_ext
   3242 cat >>conftest.$ac_ext <<_ACEOF
   3243 /* end confdefs.h.  */
   3244 
   3245 int
   3246 main ()
   3247 {
   3248 
   3249   ;
   3250   return 0;
   3251 }
   3252 _ACEOF
   3253 ac_clean_files_save=$ac_clean_files
   3254 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   3255 # Try to create an executable without -o first, disregard a.out.
   3256 # It will help us diagnose broken compilers, and finding out an intuition
   3257 # of exeext.
   3258 { $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
   3259 $as_echo_n "checking for C compiler default output file name... " >&6; }
   3260 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   3261 
   3262 # The possible output files:
   3263 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   3264 
   3265 ac_rmfiles=
   3266 for ac_file in $ac_files
   3267 do
   3268   case $ac_file in
   3269     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3270     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   3271   esac
   3272 done
   3273 rm -f $ac_rmfiles
   3274 
   3275 if { (ac_try="$ac_link_default"
   3276 case "(($ac_try" in
   3277   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3278   *) ac_try_echo=$ac_try;;
   3279 esac
   3280 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3281 $as_echo "$ac_try_echo") >&5
   3282   (eval "$ac_link_default") 2>&5
   3283   ac_status=$?
   3284   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3285   (exit $ac_status); }; then
   3286   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   3287 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   3288 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   3289 # so that the user can short-circuit this test for compilers unknown to
   3290 # Autoconf.
   3291 for ac_file in $ac_files ''
   3292 do
   3293   test -f "$ac_file" || continue
   3294   case $ac_file in
   3295     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   3296 	;;
   3297     [ab].out )
   3298 	# We found the default executable, but exeext='' is most
   3299 	# certainly right.
   3300 	break;;
   3301     *.* )
   3302         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
   3303 	then :; else
   3304 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3305 	fi
   3306 	# We set ac_cv_exeext here because the later test for it is not
   3307 	# safe: cross compilers may not add the suffix if given an `-o'
   3308 	# argument, so we may need to know it at that point already.
   3309 	# Even if this section looks crufty: it has the advantage of
   3310 	# actually working.
   3311 	break;;
   3312     * )
   3313 	break;;
   3314   esac
   3315 done
   3316 test "$ac_cv_exeext" = no && ac_cv_exeext=
   3317 
   3318 else
   3319   ac_file=''
   3320 fi
   3321 
   3322 { $as_echo "$as_me:$LINENO: result: $ac_file" >&5
   3323 $as_echo "$ac_file" >&6; }
   3324 if test -z "$ac_file"; then
   3325   $as_echo "$as_me: failed program was:" >&5
   3326 sed 's/^/| /' conftest.$ac_ext >&5
   3327 
   3328 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   3329 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3330 { { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
   3331 See \`config.log' for more details." >&5
   3332 $as_echo "$as_me: error: C compiler cannot create executables
   3333 See \`config.log' for more details." >&2;}
   3334    { (exit 77); exit 77; }; }; }
   3335 fi
   3336 
   3337 ac_exeext=$ac_cv_exeext
   3338 
   3339 # Check that the compiler produces executables we can run.  If not, either
   3340 # the compiler is broken, or we cross compile.
   3341 { $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
   3342 $as_echo_n "checking whether the C compiler works... " >&6; }
   3343 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
   3344 # If not cross compiling, check that we can run a simple program.
   3345 if test "$cross_compiling" != yes; then
   3346   if { ac_try='./$ac_file'
   3347   { (case "(($ac_try" in
   3348   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3349   *) ac_try_echo=$ac_try;;
   3350 esac
   3351 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3352 $as_echo "$ac_try_echo") >&5
   3353   (eval "$ac_try") 2>&5
   3354   ac_status=$?
   3355   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3356   (exit $ac_status); }; }; then
   3357     cross_compiling=no
   3358   else
   3359     if test "$cross_compiling" = maybe; then
   3360 	cross_compiling=yes
   3361     else
   3362 	{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   3363 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3364 { { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
   3365 If you meant to cross compile, use \`--host'.
   3366 See \`config.log' for more details." >&5
   3367 $as_echo "$as_me: error: cannot run C compiled programs.
   3368 If you meant to cross compile, use \`--host'.
   3369 See \`config.log' for more details." >&2;}
   3370    { (exit 1); exit 1; }; }; }
   3371     fi
   3372   fi
   3373 fi
   3374 { $as_echo "$as_me:$LINENO: result: yes" >&5
   3375 $as_echo "yes" >&6; }
   3376 
   3377 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   3378 ac_clean_files=$ac_clean_files_save
   3379 # Check that the compiler produces executables we can run.  If not, either
   3380 # the compiler is broken, or we cross compile.
   3381 { $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
   3382 $as_echo_n "checking whether we are cross compiling... " >&6; }
   3383 { $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
   3384 $as_echo "$cross_compiling" >&6; }
   3385 
   3386 { $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
   3387 $as_echo_n "checking for suffix of executables... " >&6; }
   3388 if { (ac_try="$ac_link"
   3389 case "(($ac_try" in
   3390   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3391   *) ac_try_echo=$ac_try;;
   3392 esac
   3393 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3394 $as_echo "$ac_try_echo") >&5
   3395   (eval "$ac_link") 2>&5
   3396   ac_status=$?
   3397   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3398   (exit $ac_status); }; then
   3399   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   3400 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   3401 # work properly (i.e., refer to `conftest.exe'), while it won't with
   3402 # `rm'.
   3403 for ac_file in conftest.exe conftest conftest.*; do
   3404   test -f "$ac_file" || continue
   3405   case $ac_file in
   3406     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3407     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3408 	  break;;
   3409     * ) break;;
   3410   esac
   3411 done
   3412 else
   3413   { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   3414 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3415 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
   3416 See \`config.log' for more details." >&5
   3417 $as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
   3418 See \`config.log' for more details." >&2;}
   3419    { (exit 1); exit 1; }; }; }
   3420 fi
   3421 
   3422 rm -f conftest$ac_cv_exeext
   3423 { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
   3424 $as_echo "$ac_cv_exeext" >&6; }
   3425 
   3426 rm -f conftest.$ac_ext
   3427 EXEEXT=$ac_cv_exeext
   3428 ac_exeext=$EXEEXT
   3429 { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
   3430 $as_echo_n "checking for suffix of object files... " >&6; }
   3431 if test "${ac_cv_objext+set}" = set; then
   3432   $as_echo_n "(cached) " >&6
   3433 else
   3434   cat >conftest.$ac_ext <<_ACEOF
   3435 /* confdefs.h.  */
   3436 _ACEOF
   3437 cat confdefs.h >>conftest.$ac_ext
   3438 cat >>conftest.$ac_ext <<_ACEOF
   3439 /* end confdefs.h.  */
   3440 
   3441 int
   3442 main ()
   3443 {
   3444 
   3445   ;
   3446   return 0;
   3447 }
   3448 _ACEOF
   3449 rm -f conftest.o conftest.obj
   3450 if { (ac_try="$ac_compile"
   3451 case "(($ac_try" in
   3452   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3453   *) ac_try_echo=$ac_try;;
   3454 esac
   3455 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3456 $as_echo "$ac_try_echo") >&5
   3457   (eval "$ac_compile") 2>&5
   3458   ac_status=$?
   3459   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3460   (exit $ac_status); }; then
   3461   for ac_file in conftest.o conftest.obj conftest.*; do
   3462   test -f "$ac_file" || continue;
   3463   case $ac_file in
   3464     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   3465     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   3466        break;;
   3467   esac
   3468 done
   3469 else
   3470   $as_echo "$as_me: failed program was:" >&5
   3471 sed 's/^/| /' conftest.$ac_ext >&5
   3472 
   3473 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   3474 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3475 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
   3476 See \`config.log' for more details." >&5
   3477 $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
   3478 See \`config.log' for more details." >&2;}
   3479    { (exit 1); exit 1; }; }; }
   3480 fi
   3481 
   3482 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   3483 fi
   3484 { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
   3485 $as_echo "$ac_cv_objext" >&6; }
   3486 OBJEXT=$ac_cv_objext
   3487 ac_objext=$OBJEXT
   3488 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
   3489 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
   3490 if test "${ac_cv_c_compiler_gnu+set}" = set; then
   3491   $as_echo_n "(cached) " >&6
   3492 else
   3493   cat >conftest.$ac_ext <<_ACEOF
   3494 /* confdefs.h.  */
   3495 _ACEOF
   3496 cat confdefs.h >>conftest.$ac_ext
   3497 cat >>conftest.$ac_ext <<_ACEOF
   3498 /* end confdefs.h.  */
   3499 
   3500 int
   3501 main ()
   3502 {
   3503 #ifndef __GNUC__
   3504        choke me
   3505 #endif
   3506 
   3507   ;
   3508   return 0;
   3509 }
   3510 _ACEOF
   3511 rm -f conftest.$ac_objext
   3512 if { (ac_try="$ac_compile"
   3513 case "(($ac_try" in
   3514   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3515   *) ac_try_echo=$ac_try;;
   3516 esac
   3517 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3518 $as_echo "$ac_try_echo") >&5
   3519   (eval "$ac_compile") 2>conftest.er1
   3520   ac_status=$?
   3521   grep -v '^ *+' conftest.er1 >conftest.err
   3522   rm -f conftest.er1
   3523   cat conftest.err >&5
   3524   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3525   (exit $ac_status); } && {
   3526 	 test -z "$ac_c_werror_flag" ||
   3527 	 test ! -s conftest.err
   3528        } && test -s conftest.$ac_objext; then
   3529   ac_compiler_gnu=yes
   3530 else
   3531   $as_echo "$as_me: failed program was:" >&5
   3532 sed 's/^/| /' conftest.$ac_ext >&5
   3533 
   3534 	ac_compiler_gnu=no
   3535 fi
   3536 
   3537 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3538 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   3539 
   3540 fi
   3541 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
   3542 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
   3543 if test $ac_compiler_gnu = yes; then
   3544   GCC=yes
   3545 else
   3546   GCC=
   3547 fi
   3548 ac_test_CFLAGS=${CFLAGS+set}
   3549 ac_save_CFLAGS=$CFLAGS
   3550 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
   3551 $as_echo_n "checking whether $CC accepts -g... " >&6; }
   3552 if test "${ac_cv_prog_cc_g+set}" = set; then
   3553   $as_echo_n "(cached) " >&6
   3554 else
   3555   ac_save_c_werror_flag=$ac_c_werror_flag
   3556    ac_c_werror_flag=yes
   3557    ac_cv_prog_cc_g=no
   3558    CFLAGS="-g"
   3559    cat >conftest.$ac_ext <<_ACEOF
   3560 /* confdefs.h.  */
   3561 _ACEOF
   3562 cat confdefs.h >>conftest.$ac_ext
   3563 cat >>conftest.$ac_ext <<_ACEOF
   3564 /* end confdefs.h.  */
   3565 
   3566 int
   3567 main ()
   3568 {
   3569 
   3570   ;
   3571   return 0;
   3572 }
   3573 _ACEOF
   3574 rm -f conftest.$ac_objext
   3575 if { (ac_try="$ac_compile"
   3576 case "(($ac_try" in
   3577   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3578   *) ac_try_echo=$ac_try;;
   3579 esac
   3580 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3581 $as_echo "$ac_try_echo") >&5
   3582   (eval "$ac_compile") 2>conftest.er1
   3583   ac_status=$?
   3584   grep -v '^ *+' conftest.er1 >conftest.err
   3585   rm -f conftest.er1
   3586   cat conftest.err >&5
   3587   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3588   (exit $ac_status); } && {
   3589 	 test -z "$ac_c_werror_flag" ||
   3590 	 test ! -s conftest.err
   3591        } && test -s conftest.$ac_objext; then
   3592   ac_cv_prog_cc_g=yes
   3593 else
   3594   $as_echo "$as_me: failed program was:" >&5
   3595 sed 's/^/| /' conftest.$ac_ext >&5
   3596 
   3597 	CFLAGS=""
   3598       cat >conftest.$ac_ext <<_ACEOF
   3599 /* confdefs.h.  */
   3600 _ACEOF
   3601 cat confdefs.h >>conftest.$ac_ext
   3602 cat >>conftest.$ac_ext <<_ACEOF
   3603 /* end confdefs.h.  */
   3604 
   3605 int
   3606 main ()
   3607 {
   3608 
   3609   ;
   3610   return 0;
   3611 }
   3612 _ACEOF
   3613 rm -f conftest.$ac_objext
   3614 if { (ac_try="$ac_compile"
   3615 case "(($ac_try" in
   3616   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3617   *) ac_try_echo=$ac_try;;
   3618 esac
   3619 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3620 $as_echo "$ac_try_echo") >&5
   3621   (eval "$ac_compile") 2>conftest.er1
   3622   ac_status=$?
   3623   grep -v '^ *+' conftest.er1 >conftest.err
   3624   rm -f conftest.er1
   3625   cat conftest.err >&5
   3626   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3627   (exit $ac_status); } && {
   3628 	 test -z "$ac_c_werror_flag" ||
   3629 	 test ! -s conftest.err
   3630        } && test -s conftest.$ac_objext; then
   3631   :
   3632 else
   3633   $as_echo "$as_me: failed program was:" >&5
   3634 sed 's/^/| /' conftest.$ac_ext >&5
   3635 
   3636 	ac_c_werror_flag=$ac_save_c_werror_flag
   3637 	 CFLAGS="-g"
   3638 	 cat >conftest.$ac_ext <<_ACEOF
   3639 /* confdefs.h.  */
   3640 _ACEOF
   3641 cat confdefs.h >>conftest.$ac_ext
   3642 cat >>conftest.$ac_ext <<_ACEOF
   3643 /* end confdefs.h.  */
   3644 
   3645 int
   3646 main ()
   3647 {
   3648 
   3649   ;
   3650   return 0;
   3651 }
   3652 _ACEOF
   3653 rm -f conftest.$ac_objext
   3654 if { (ac_try="$ac_compile"
   3655 case "(($ac_try" in
   3656   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3657   *) ac_try_echo=$ac_try;;
   3658 esac
   3659 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3660 $as_echo "$ac_try_echo") >&5
   3661   (eval "$ac_compile") 2>conftest.er1
   3662   ac_status=$?
   3663   grep -v '^ *+' conftest.er1 >conftest.err
   3664   rm -f conftest.er1
   3665   cat conftest.err >&5
   3666   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3667   (exit $ac_status); } && {
   3668 	 test -z "$ac_c_werror_flag" ||
   3669 	 test ! -s conftest.err
   3670        } && test -s conftest.$ac_objext; then
   3671   ac_cv_prog_cc_g=yes
   3672 else
   3673   $as_echo "$as_me: failed program was:" >&5
   3674 sed 's/^/| /' conftest.$ac_ext >&5
   3675 
   3676 
   3677 fi
   3678 
   3679 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3680 fi
   3681 
   3682 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3683 fi
   3684 
   3685 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3686    ac_c_werror_flag=$ac_save_c_werror_flag
   3687 fi
   3688 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
   3689 $as_echo "$ac_cv_prog_cc_g" >&6; }
   3690 if test "$ac_test_CFLAGS" = set; then
   3691   CFLAGS=$ac_save_CFLAGS
   3692 elif test $ac_cv_prog_cc_g = yes; then
   3693   if test "$GCC" = yes; then
   3694     CFLAGS="-g -O2"
   3695   else
   3696     CFLAGS="-g"
   3697   fi
   3698 else
   3699   if test "$GCC" = yes; then
   3700     CFLAGS="-O2"
   3701   else
   3702     CFLAGS=
   3703   fi
   3704 fi
   3705 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
   3706 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
   3707 if test "${ac_cv_prog_cc_c89+set}" = set; then
   3708   $as_echo_n "(cached) " >&6
   3709 else
   3710   ac_cv_prog_cc_c89=no
   3711 ac_save_CC=$CC
   3712 cat >conftest.$ac_ext <<_ACEOF
   3713 /* confdefs.h.  */
   3714 _ACEOF
   3715 cat confdefs.h >>conftest.$ac_ext
   3716 cat >>conftest.$ac_ext <<_ACEOF
   3717 /* end confdefs.h.  */
   3718 #include <stdarg.h>
   3719 #include <stdio.h>
   3720 #include <sys/types.h>
   3721 #include <sys/stat.h>
   3722 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   3723 struct buf { int x; };
   3724 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   3725 static char *e (p, i)
   3726      char **p;
   3727      int i;
   3728 {
   3729   return p[i];
   3730 }
   3731 static char *f (char * (*g) (char **, int), char **p, ...)
   3732 {
   3733   char *s;
   3734   va_list v;
   3735   va_start (v,p);
   3736   s = g (p, va_arg (v,int));
   3737   va_end (v);
   3738   return s;
   3739 }
   3740 
   3741 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   3742    function prototypes and stuff, but not '\xHH' hex character constants.
   3743    These don't provoke an error unfortunately, instead are silently treated
   3744    as 'x'.  The following induces an error, until -std is added to get
   3745    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   3746    array size at least.  It's necessary to write '\x00'==0 to get something
   3747    that's true only with -std.  */
   3748 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   3749 
   3750 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   3751    inside strings and character constants.  */
   3752 #define FOO(x) 'x'
   3753 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   3754 
   3755 int test (int i, double x);
   3756 struct s1 {int (*f) (int a);};
   3757 struct s2 {int (*f) (double a);};
   3758 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   3759 int argc;
   3760 char **argv;
   3761 int
   3762 main ()
   3763 {
   3764 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   3765   ;
   3766   return 0;
   3767 }
   3768 _ACEOF
   3769 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   3770 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   3771 do
   3772   CC="$ac_save_CC $ac_arg"
   3773   rm -f conftest.$ac_objext
   3774 if { (ac_try="$ac_compile"
   3775 case "(($ac_try" in
   3776   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3777   *) ac_try_echo=$ac_try;;
   3778 esac
   3779 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3780 $as_echo "$ac_try_echo") >&5
   3781   (eval "$ac_compile") 2>conftest.er1
   3782   ac_status=$?
   3783   grep -v '^ *+' conftest.er1 >conftest.err
   3784   rm -f conftest.er1
   3785   cat conftest.err >&5
   3786   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3787   (exit $ac_status); } && {
   3788 	 test -z "$ac_c_werror_flag" ||
   3789 	 test ! -s conftest.err
   3790        } && test -s conftest.$ac_objext; then
   3791   ac_cv_prog_cc_c89=$ac_arg
   3792 else
   3793   $as_echo "$as_me: failed program was:" >&5
   3794 sed 's/^/| /' conftest.$ac_ext >&5
   3795 
   3796 
   3797 fi
   3798 
   3799 rm -f core conftest.err conftest.$ac_objext
   3800   test "x$ac_cv_prog_cc_c89" != "xno" && break
   3801 done
   3802 rm -f conftest.$ac_ext
   3803 CC=$ac_save_CC
   3804 
   3805 fi
   3806 # AC_CACHE_VAL
   3807 case "x$ac_cv_prog_cc_c89" in
   3808   x)
   3809     { $as_echo "$as_me:$LINENO: result: none needed" >&5
   3810 $as_echo "none needed" >&6; } ;;
   3811   xno)
   3812     { $as_echo "$as_me:$LINENO: result: unsupported" >&5
   3813 $as_echo "unsupported" >&6; } ;;
   3814   *)
   3815     CC="$CC $ac_cv_prog_cc_c89"
   3816     { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
   3817 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
   3818 esac
   3819 
   3820 
   3821 ac_ext=c
   3822 ac_cpp='$CPP $CPPFLAGS'
   3823 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3824 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3825 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3826 
   3827 depcc="$CC"   am_compiler_list=
   3828 
   3829 { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
   3830 $as_echo_n "checking dependency style of $depcc... " >&6; }
   3831 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
   3832   $as_echo_n "(cached) " >&6
   3833 else
   3834   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   3835   # We make a subdir and do the tests there.  Otherwise we can end up
   3836   # making bogus files that we don't know about and never remove.  For
   3837   # instance it was reported that on HP-UX the gcc test will end up
   3838   # making a dummy file named `D' -- because `-MD' means `put the output
   3839   # in D'.
   3840   mkdir conftest.dir
   3841   # Copy depcomp to subdir because otherwise we won't find it if we're
   3842   # using a relative directory.
   3843   cp "$am_depcomp" conftest.dir
   3844   cd conftest.dir
   3845   # We will build objects and dependencies in a subdirectory because
   3846   # it helps to detect inapplicable dependency modes.  For instance
   3847   # both Tru64's cc and ICC support -MD to output dependencies as a
   3848   # side effect of compilation, but ICC will put the dependencies in
   3849   # the current directory while Tru64 will put them in the object
   3850   # directory.
   3851   mkdir sub
   3852 
   3853   am_cv_CC_dependencies_compiler_type=none
   3854   if test "$am_compiler_list" = ""; then
   3855      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   3856   fi
   3857   am__universal=false
   3858   case " $depcc " in #(
   3859      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   3860      esac
   3861 
   3862   for depmode in $am_compiler_list; do
   3863     # Setup a source with many dependencies, because some compilers
   3864     # like to wrap large dependency lists on column 80 (with \), and
   3865     # we should not choose a depcomp mode which is confused by this.
   3866     #
   3867     # We need to recreate these files for each test, as the compiler may
   3868     # overwrite some of them when testing with obscure command lines.
   3869     # This happens at least with the AIX C compiler.
   3870     : > sub/conftest.c
   3871     for i in 1 2 3 4 5 6; do
   3872       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   3873       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
   3874       # Solaris 8's {/usr,}/bin/sh.
   3875       touch sub/conftst$i.h
   3876     done
   3877     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   3878 
   3879     # We check with `-c' and `-o' for the sake of the "dashmstdout"
   3880     # mode.  It turns out that the SunPro C++ compiler does not properly
   3881     # handle `-M -o', and we need to detect this.  Also, some Intel
   3882     # versions had trouble with output in subdirs
   3883     am__obj=sub/conftest.${OBJEXT-o}
   3884     am__minus_obj="-o $am__obj"
   3885     case $depmode in
   3886     gcc)
   3887       # This depmode causes a compiler race in universal mode.
   3888       test "$am__universal" = false || continue
   3889       ;;
   3890     nosideeffect)
   3891       # after this tag, mechanisms are not by side-effect, so they'll
   3892       # only be used when explicitly requested
   3893       if test "x$enable_dependency_tracking" = xyes; then
   3894 	continue
   3895       else
   3896 	break
   3897       fi
   3898       ;;
   3899     msvisualcpp | msvcmsys)
   3900       # This compiler won't grok `-c -o', but also, the minuso test has
   3901       # not run yet.  These depmodes are late enough in the game, and
   3902       # so weak that their functioning should not be impacted.
   3903       am__obj=conftest.${OBJEXT-o}
   3904       am__minus_obj=
   3905       ;;
   3906     none) break ;;
   3907     esac
   3908     if depmode=$depmode \
   3909        source=sub/conftest.c object=$am__obj \
   3910        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   3911        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   3912          >/dev/null 2>conftest.err &&
   3913        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   3914        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   3915        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   3916        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   3917       # icc doesn't choke on unknown options, it will just issue warnings
   3918       # or remarks (even with -Werror).  So we grep stderr for any message
   3919       # that says an option was ignored or not supported.
   3920       # When given -MP, icc 7.0 and 7.1 complain thusly:
   3921       #   icc: Command line warning: ignoring option '-M'; no argument required
   3922       # The diagnosis changed in icc 8.0:
   3923       #   icc: Command line remark: option '-MP' not supported
   3924       if (grep 'ignoring option' conftest.err ||
   3925           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   3926         am_cv_CC_dependencies_compiler_type=$depmode
   3927         break
   3928       fi
   3929     fi
   3930   done
   3931 
   3932   cd ..
   3933   rm -rf conftest.dir
   3934 else
   3935   am_cv_CC_dependencies_compiler_type=none
   3936 fi
   3937 
   3938 fi
   3939 { $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
   3940 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
   3941 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   3942 
   3943  if
   3944   test "x$enable_dependency_tracking" != xno \
   3945   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   3946   am__fastdepCC_TRUE=
   3947   am__fastdepCC_FALSE='#'
   3948 else
   3949   am__fastdepCC_TRUE='#'
   3950   am__fastdepCC_FALSE=
   3951 fi
   3952 
   3953 
   3954 { $as_echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
   3955 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
   3956 if test "${lt_cv_path_SED+set}" = set; then
   3957   $as_echo_n "(cached) " >&6
   3958 else
   3959   # Loop through the user's path and test for sed and gsed.
   3960 # Then use that list of sed's as ones to test for truncation.
   3961 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3962 for as_dir in $PATH
   3963 do
   3964   IFS=$as_save_IFS
   3965   test -z "$as_dir" && as_dir=.
   3966   for lt_ac_prog in sed gsed; do
   3967     for ac_exec_ext in '' $ac_executable_extensions; do
   3968       if { test -f "$as_dir/$lt_ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$lt_ac_prog$ac_exec_ext"; }; then
   3969         lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
   3970       fi
   3971     done
   3972   done
   3973 done
   3974 IFS=$as_save_IFS
   3975 lt_ac_max=0
   3976 lt_ac_count=0
   3977 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
   3978 # along with /bin/sed that truncates output.
   3979 for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
   3980   test ! -f $lt_ac_sed && continue
   3981   cat /dev/null > conftest.in
   3982   lt_ac_count=0
   3983   echo $ECHO_N "0123456789$ECHO_C" >conftest.in
   3984   # Check for GNU sed and select it if it is found.
   3985   if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
   3986     lt_cv_path_SED=$lt_ac_sed
   3987     break
   3988   fi
   3989   while true; do
   3990     cat conftest.in conftest.in >conftest.tmp
   3991     mv conftest.tmp conftest.in
   3992     cp conftest.in conftest.nl
   3993     echo >>conftest.nl
   3994     $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
   3995     cmp -s conftest.out conftest.nl || break
   3996     # 10000 chars as input seems more than enough
   3997     test $lt_ac_count -gt 10 && break
   3998     lt_ac_count=`expr $lt_ac_count + 1`
   3999     if test $lt_ac_count -gt $lt_ac_max; then
   4000       lt_ac_max=$lt_ac_count
   4001       lt_cv_path_SED=$lt_ac_sed
   4002     fi
   4003   done
   4004 done
   4005 
   4006 fi
   4007 
   4008 SED=$lt_cv_path_SED
   4009 
   4010 { $as_echo "$as_me:$LINENO: result: $SED" >&5
   4011 $as_echo "$SED" >&6; }
   4012 
   4013 { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
   4014 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
   4015 if test "${ac_cv_path_GREP+set}" = set; then
   4016   $as_echo_n "(cached) " >&6
   4017 else
   4018   if test -z "$GREP"; then
   4019   ac_path_GREP_found=false
   4020   # Loop through the user's path and test for each of PROGNAME-LIST
   4021   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4022 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4023 do
   4024   IFS=$as_save_IFS
   4025   test -z "$as_dir" && as_dir=.
   4026   for ac_prog in grep ggrep; do
   4027     for ac_exec_ext in '' $ac_executable_extensions; do
   4028       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
   4029       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
   4030 # Check for GNU ac_path_GREP and select it if it is found.
   4031   # Check for GNU $ac_path_GREP
   4032 case `"$ac_path_GREP" --version 2>&1` in
   4033 *GNU*)
   4034   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   4035 *)
   4036   ac_count=0
   4037   $as_echo_n 0123456789 >"conftest.in"
   4038   while :
   4039   do
   4040     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4041     mv "conftest.tmp" "conftest.in"
   4042     cp "conftest.in" "conftest.nl"
   4043     $as_echo 'GREP' >> "conftest.nl"
   4044     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4045     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4046     ac_count=`expr $ac_count + 1`
   4047     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   4048       # Best one so far, save it but keep looking for a better one
   4049       ac_cv_path_GREP="$ac_path_GREP"
   4050       ac_path_GREP_max=$ac_count
   4051     fi
   4052     # 10*(2^10) chars as input seems more than enough
   4053     test $ac_count -gt 10 && break
   4054   done
   4055   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4056 esac
   4057 
   4058       $ac_path_GREP_found && break 3
   4059     done
   4060   done
   4061 done
   4062 IFS=$as_save_IFS
   4063   if test -z "$ac_cv_path_GREP"; then
   4064     { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
   4065 $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
   4066    { (exit 1); exit 1; }; }
   4067   fi
   4068 else
   4069   ac_cv_path_GREP=$GREP
   4070 fi
   4071 
   4072 fi
   4073 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
   4074 $as_echo "$ac_cv_path_GREP" >&6; }
   4075  GREP="$ac_cv_path_GREP"
   4076 
   4077 
   4078 { $as_echo "$as_me:$LINENO: checking for egrep" >&5
   4079 $as_echo_n "checking for egrep... " >&6; }
   4080 if test "${ac_cv_path_EGREP+set}" = set; then
   4081   $as_echo_n "(cached) " >&6
   4082 else
   4083   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   4084    then ac_cv_path_EGREP="$GREP -E"
   4085    else
   4086      if test -z "$EGREP"; then
   4087   ac_path_EGREP_found=false
   4088   # Loop through the user's path and test for each of PROGNAME-LIST
   4089   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4090 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4091 do
   4092   IFS=$as_save_IFS
   4093   test -z "$as_dir" && as_dir=.
   4094   for ac_prog in egrep; do
   4095     for ac_exec_ext in '' $ac_executable_extensions; do
   4096       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
   4097       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
   4098 # Check for GNU ac_path_EGREP and select it if it is found.
   4099   # Check for GNU $ac_path_EGREP
   4100 case `"$ac_path_EGREP" --version 2>&1` in
   4101 *GNU*)
   4102   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   4103 *)
   4104   ac_count=0
   4105   $as_echo_n 0123456789 >"conftest.in"
   4106   while :
   4107   do
   4108     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4109     mv "conftest.tmp" "conftest.in"
   4110     cp "conftest.in" "conftest.nl"
   4111     $as_echo 'EGREP' >> "conftest.nl"
   4112     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4113     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4114     ac_count=`expr $ac_count + 1`
   4115     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   4116       # Best one so far, save it but keep looking for a better one
   4117       ac_cv_path_EGREP="$ac_path_EGREP"
   4118       ac_path_EGREP_max=$ac_count
   4119     fi
   4120     # 10*(2^10) chars as input seems more than enough
   4121     test $ac_count -gt 10 && break
   4122   done
   4123   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4124 esac
   4125 
   4126       $ac_path_EGREP_found && break 3
   4127     done
   4128   done
   4129 done
   4130 IFS=$as_save_IFS
   4131   if test -z "$ac_cv_path_EGREP"; then
   4132     { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
   4133 $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
   4134    { (exit 1); exit 1; }; }
   4135   fi
   4136 else
   4137   ac_cv_path_EGREP=$EGREP
   4138 fi
   4139 
   4140    fi
   4141 fi
   4142 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
   4143 $as_echo "$ac_cv_path_EGREP" >&6; }
   4144  EGREP="$ac_cv_path_EGREP"
   4145 
   4146 
   4147 
   4148 # Check whether --with-gnu-ld was given.
   4149 if test "${with_gnu_ld+set}" = set; then
   4150   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
   4151 else
   4152   with_gnu_ld=no
   4153 fi
   4154 
   4155 ac_prog=ld
   4156 if test "$GCC" = yes; then
   4157   # Check if gcc -print-prog-name=ld gives a path.
   4158   { $as_echo "$as_me:$LINENO: checking for ld used by $CC" >&5
   4159 $as_echo_n "checking for ld used by $CC... " >&6; }
   4160   case $host in
   4161   *-*-mingw*)
   4162     # gcc leaves a trailing carriage return which upsets mingw
   4163     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   4164   *)
   4165     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   4166   esac
   4167   case $ac_prog in
   4168     # Accept absolute paths.
   4169     [\\/]* | ?:[\\/]*)
   4170       re_direlt='/[^/][^/]*/\.\./'
   4171       # Canonicalize the pathname of ld
   4172       ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
   4173       while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
   4174 	ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
   4175       done
   4176       test -z "$LD" && LD="$ac_prog"
   4177       ;;
   4178   "")
   4179     # If it fails, then pretend we aren't using GCC.
   4180     ac_prog=ld
   4181     ;;
   4182   *)
   4183     # If it is relative, then search for the first ld in PATH.
   4184     with_gnu_ld=unknown
   4185     ;;
   4186   esac
   4187 elif test "$with_gnu_ld" = yes; then
   4188   { $as_echo "$as_me:$LINENO: checking for GNU ld" >&5
   4189 $as_echo_n "checking for GNU ld... " >&6; }
   4190 else
   4191   { $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5
   4192 $as_echo_n "checking for non-GNU ld... " >&6; }
   4193 fi
   4194 if test "${lt_cv_path_LD+set}" = set; then
   4195   $as_echo_n "(cached) " >&6
   4196 else
   4197   if test -z "$LD"; then
   4198   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   4199   for ac_dir in $PATH; do
   4200     IFS="$lt_save_ifs"
   4201     test -z "$ac_dir" && ac_dir=.
   4202     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   4203       lt_cv_path_LD="$ac_dir/$ac_prog"
   4204       # Check to see if the program is GNU ld.  I'd rather use --version,
   4205       # but apparently some variants of GNU ld only accept -v.
   4206       # Break only if it was the GNU/non-GNU ld that we prefer.
   4207       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   4208       *GNU* | *'with BFD'*)
   4209 	test "$with_gnu_ld" != no && break
   4210 	;;
   4211       *)
   4212 	test "$with_gnu_ld" != yes && break
   4213 	;;
   4214       esac
   4215     fi
   4216   done
   4217   IFS="$lt_save_ifs"
   4218 else
   4219   lt_cv_path_LD="$LD" # Let the user override the test with a path.
   4220 fi
   4221 fi
   4222 
   4223 LD="$lt_cv_path_LD"
   4224 if test -n "$LD"; then
   4225   { $as_echo "$as_me:$LINENO: result: $LD" >&5
   4226 $as_echo "$LD" >&6; }
   4227 else
   4228   { $as_echo "$as_me:$LINENO: result: no" >&5
   4229 $as_echo "no" >&6; }
   4230 fi
   4231 test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
   4232 $as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
   4233    { (exit 1); exit 1; }; }
   4234 { $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
   4235 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
   4236 if test "${lt_cv_prog_gnu_ld+set}" = set; then
   4237   $as_echo_n "(cached) " >&6
   4238 else
   4239   # I'd rather use --version here, but apparently some GNU lds only accept -v.
   4240 case `$LD -v 2>&1 </dev/null` in
   4241 *GNU* | *'with BFD'*)
   4242   lt_cv_prog_gnu_ld=yes
   4243   ;;
   4244 *)
   4245   lt_cv_prog_gnu_ld=no
   4246   ;;
   4247 esac
   4248 fi
   4249 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
   4250 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
   4251 with_gnu_ld=$lt_cv_prog_gnu_ld
   4252 
   4253 
   4254 { $as_echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
   4255 $as_echo_n "checking for $LD option to reload object files... " >&6; }
   4256 if test "${lt_cv_ld_reload_flag+set}" = set; then
   4257   $as_echo_n "(cached) " >&6
   4258 else
   4259   lt_cv_ld_reload_flag='-r'
   4260 fi
   4261 { $as_echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
   4262 $as_echo "$lt_cv_ld_reload_flag" >&6; }
   4263 reload_flag=$lt_cv_ld_reload_flag
   4264 case $reload_flag in
   4265 "" | " "*) ;;
   4266 *) reload_flag=" $reload_flag" ;;
   4267 esac
   4268 reload_cmds='$LD$reload_flag -o $output$reload_objs'
   4269 case $host_os in
   4270   darwin*)
   4271     if test "$GCC" = yes; then
   4272       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
   4273     else
   4274       reload_cmds='$LD$reload_flag -o $output$reload_objs'
   4275     fi
   4276     ;;
   4277 esac
   4278 
   4279 { $as_echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
   4280 $as_echo_n "checking for BSD-compatible nm... " >&6; }
   4281 if test "${lt_cv_path_NM+set}" = set; then
   4282   $as_echo_n "(cached) " >&6
   4283 else
   4284   if test -n "$NM"; then
   4285   # Let the user override the test.
   4286   lt_cv_path_NM="$NM"
   4287 else
   4288   lt_nm_to_check="${ac_tool_prefix}nm"
   4289   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
   4290     lt_nm_to_check="$lt_nm_to_check nm"
   4291   fi
   4292   for lt_tmp_nm in $lt_nm_to_check; do
   4293     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   4294     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
   4295       IFS="$lt_save_ifs"
   4296       test -z "$ac_dir" && ac_dir=.
   4297       tmp_nm="$ac_dir/$lt_tmp_nm"
   4298       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
   4299 	# Check to see if the nm accepts a BSD-compat flag.
   4300 	# Adding the `sed 1q' prevents false positives on HP-UX, which says:
   4301 	#   nm: unknown option "B" ignored
   4302 	# Tru64's nm complains that /dev/null is an invalid object file
   4303 	case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
   4304 	*/dev/null* | *'Invalid file or object type'*)
   4305 	  lt_cv_path_NM="$tmp_nm -B"
   4306 	  break
   4307 	  ;;
   4308 	*)
   4309 	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
   4310 	  */dev/null*)
   4311 	    lt_cv_path_NM="$tmp_nm -p"
   4312 	    break
   4313 	    ;;
   4314 	  *)
   4315 	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
   4316 	    continue # so that we can try to find one that supports BSD flags
   4317 	    ;;
   4318 	  esac
   4319 	  ;;
   4320 	esac
   4321       fi
   4322     done
   4323     IFS="$lt_save_ifs"
   4324   done
   4325   test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
   4326 fi
   4327 fi
   4328 { $as_echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
   4329 $as_echo "$lt_cv_path_NM" >&6; }
   4330 NM="$lt_cv_path_NM"
   4331 
   4332 { $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5
   4333 $as_echo_n "checking whether ln -s works... " >&6; }
   4334 LN_S=$as_ln_s
   4335 if test "$LN_S" = "ln -s"; then
   4336   { $as_echo "$as_me:$LINENO: result: yes" >&5
   4337 $as_echo "yes" >&6; }
   4338 else
   4339   { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5
   4340 $as_echo "no, using $LN_S" >&6; }
   4341 fi
   4342 
   4343 { $as_echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
   4344 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
   4345 if test "${lt_cv_deplibs_check_method+set}" = set; then
   4346   $as_echo_n "(cached) " >&6
   4347 else
   4348   lt_cv_file_magic_cmd='$MAGIC_CMD'
   4349 lt_cv_file_magic_test_file=
   4350 lt_cv_deplibs_check_method='unknown'
   4351 # Need to set the preceding variable on all platforms that support
   4352 # interlibrary dependencies.
   4353 # 'none' -- dependencies not supported.
   4354 # `unknown' -- same as none, but documents that we really don't know.
   4355 # 'pass_all' -- all dependencies passed with no checks.
   4356 # 'test_compile' -- check by making test program.
   4357 # 'file_magic [[regex]]' -- check by looking for files in library path
   4358 # which responds to the $file_magic_cmd with a given extended regex.
   4359 # If you have `file' or equivalent on your system and you're not sure
   4360 # whether `pass_all' will *always* work, you probably want this one.
   4361 
   4362 case $host_os in
   4363 aix[4-9]*)
   4364   lt_cv_deplibs_check_method=pass_all
   4365   ;;
   4366 
   4367 beos*)
   4368   lt_cv_deplibs_check_method=pass_all
   4369   ;;
   4370 
   4371 bsdi[45]*)
   4372   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
   4373   lt_cv_file_magic_cmd='/usr/bin/file -L'
   4374   lt_cv_file_magic_test_file=/shlib/libc.so
   4375   ;;
   4376 
   4377 cygwin*)
   4378   # func_win32_libid is a shell function defined in ltmain.sh
   4379   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   4380   lt_cv_file_magic_cmd='func_win32_libid'
   4381   ;;
   4382 
   4383 mingw* | pw32*)
   4384   # Base MSYS/MinGW do not provide the 'file' command needed by
   4385   # func_win32_libid shell function, so use a weaker test based on 'objdump',
   4386   # unless we find 'file', for example because we are cross-compiling.
   4387   if ( file / ) >/dev/null 2>&1; then
   4388     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   4389     lt_cv_file_magic_cmd='func_win32_libid'
   4390   else
   4391     lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
   4392     lt_cv_file_magic_cmd='$OBJDUMP -f'
   4393   fi
   4394   ;;
   4395 
   4396 darwin* | rhapsody*)
   4397   lt_cv_deplibs_check_method=pass_all
   4398   ;;
   4399 
   4400 freebsd* | dragonfly*)
   4401   if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
   4402     case $host_cpu in
   4403     i*86 )
   4404       # Not sure whether the presence of OpenBSD here was a mistake.
   4405       # Let's accept both of them until this is cleared up.
   4406       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
   4407       lt_cv_file_magic_cmd=/usr/bin/file
   4408       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
   4409       ;;
   4410     esac
   4411   else
   4412     lt_cv_deplibs_check_method=pass_all
   4413   fi
   4414   ;;
   4415 
   4416 gnu*)
   4417   lt_cv_deplibs_check_method=pass_all
   4418   ;;
   4419 
   4420 hpux10.20* | hpux11*)
   4421   lt_cv_file_magic_cmd=/usr/bin/file
   4422   case $host_cpu in
   4423   ia64*)
   4424     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
   4425     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
   4426     ;;
   4427   hppa*64*)
   4428     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]'
   4429     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
   4430     ;;
   4431   *)
   4432     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
   4433     lt_cv_file_magic_test_file=/usr/lib/libc.sl
   4434     ;;
   4435   esac
   4436   ;;
   4437 
   4438 interix[3-9]*)
   4439   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
   4440   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
   4441   ;;
   4442 
   4443 irix5* | irix6* | nonstopux*)
   4444   case $LD in
   4445   *-32|*"-32 ") libmagic=32-bit;;
   4446   *-n32|*"-n32 ") libmagic=N32;;
   4447   *-64|*"-64 ") libmagic=64-bit;;
   4448   *) libmagic=never-match;;
   4449   esac
   4450   lt_cv_deplibs_check_method=pass_all
   4451   ;;
   4452 
   4453 # This must be Linux ELF.
   4454 linux* | k*bsd*-gnu)
   4455   lt_cv_deplibs_check_method=pass_all
   4456   ;;
   4457 
   4458 netbsd*)
   4459   if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
   4460     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   4461   else
   4462     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
   4463   fi
   4464   ;;
   4465 
   4466 newos6*)
   4467   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
   4468   lt_cv_file_magic_cmd=/usr/bin/file
   4469   lt_cv_file_magic_test_file=/usr/lib/libnls.so
   4470   ;;
   4471 
   4472 nto-qnx*)
   4473   lt_cv_deplibs_check_method=unknown
   4474   ;;
   4475 
   4476 openbsd*)
   4477   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   4478     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
   4479   else
   4480     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   4481   fi
   4482   ;;
   4483 
   4484 osf3* | osf4* | osf5*)
   4485   lt_cv_deplibs_check_method=pass_all
   4486   ;;
   4487 
   4488 rdos*)
   4489   lt_cv_deplibs_check_method=pass_all
   4490   ;;
   4491 
   4492 solaris*)
   4493   lt_cv_deplibs_check_method=pass_all
   4494   ;;
   4495 
   4496 sysv4 | sysv4.3*)
   4497   case $host_vendor in
   4498   motorola)
   4499     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]'
   4500     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
   4501     ;;
   4502   ncr)
   4503     lt_cv_deplibs_check_method=pass_all
   4504     ;;
   4505   sequent)
   4506     lt_cv_file_magic_cmd='/bin/file'
   4507     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
   4508     ;;
   4509   sni)
   4510     lt_cv_file_magic_cmd='/bin/file'
   4511     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
   4512     lt_cv_file_magic_test_file=/lib/libc.so
   4513     ;;
   4514   siemens)
   4515     lt_cv_deplibs_check_method=pass_all
   4516     ;;
   4517   pc)
   4518     lt_cv_deplibs_check_method=pass_all
   4519     ;;
   4520   esac
   4521   ;;
   4522 
   4523 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   4524   lt_cv_deplibs_check_method=pass_all
   4525   ;;
   4526 esac
   4527 
   4528 fi
   4529 { $as_echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
   4530 $as_echo "$lt_cv_deplibs_check_method" >&6; }
   4531 file_magic_cmd=$lt_cv_file_magic_cmd
   4532 deplibs_check_method=$lt_cv_deplibs_check_method
   4533 test -z "$deplibs_check_method" && deplibs_check_method=unknown
   4534 
   4535 
   4536 
   4537 
   4538 # If no C compiler was specified, use CC.
   4539 LTCC=${LTCC-"$CC"}
   4540 
   4541 # If no C compiler flags were specified, use CFLAGS.
   4542 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   4543 
   4544 # Allow CC to be a program name with arguments.
   4545 compiler=$CC
   4546 
   4547 
   4548 # Check whether --enable-libtool-lock was given.
   4549 if test "${enable_libtool_lock+set}" = set; then
   4550   enableval=$enable_libtool_lock;
   4551 fi
   4552 
   4553 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
   4554 
   4555 # Some flags need to be propagated to the compiler or linker for good
   4556 # libtool support.
   4557 case $host in
   4558 ia64-*-hpux*)
   4559   # Find out which ABI we are using.
   4560   echo 'int i;' > conftest.$ac_ext
   4561   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   4562   (eval $ac_compile) 2>&5
   4563   ac_status=$?
   4564   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4565   (exit $ac_status); }; then
   4566     case `/usr/bin/file conftest.$ac_objext` in
   4567     *ELF-32*)
   4568       HPUX_IA64_MODE="32"
   4569       ;;
   4570     *ELF-64*)
   4571       HPUX_IA64_MODE="64"
   4572       ;;
   4573     esac
   4574   fi
   4575   rm -rf conftest*
   4576   ;;
   4577 *-*-irix6*)
   4578   # Find out which ABI we are using.
   4579   echo '#line 4579 "configure"' > conftest.$ac_ext
   4580   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   4581   (eval $ac_compile) 2>&5
   4582   ac_status=$?
   4583   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4584   (exit $ac_status); }; then
   4585    if test "$lt_cv_prog_gnu_ld" = yes; then
   4586     case `/usr/bin/file conftest.$ac_objext` in
   4587     *32-bit*)
   4588       LD="${LD-ld} -melf32bsmip"
   4589       ;;
   4590     *N32*)
   4591       LD="${LD-ld} -melf32bmipn32"
   4592       ;;
   4593     *64-bit*)
   4594       LD="${LD-ld} -melf64bmip"
   4595       ;;
   4596     esac
   4597    else
   4598     case `/usr/bin/file conftest.$ac_objext` in
   4599     *32-bit*)
   4600       LD="${LD-ld} -32"
   4601       ;;
   4602     *N32*)
   4603       LD="${LD-ld} -n32"
   4604       ;;
   4605     *64-bit*)
   4606       LD="${LD-ld} -64"
   4607       ;;
   4608     esac
   4609    fi
   4610   fi
   4611   rm -rf conftest*
   4612   ;;
   4613 
   4614 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
   4615 s390*-*linux*|sparc*-*linux*)
   4616   # Find out which ABI we are using.
   4617   echo 'int i;' > conftest.$ac_ext
   4618   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   4619   (eval $ac_compile) 2>&5
   4620   ac_status=$?
   4621   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4622   (exit $ac_status); }; then
   4623     case `/usr/bin/file conftest.o` in
   4624     *32-bit*)
   4625       case $host in
   4626         x86_64-*kfreebsd*-gnu)
   4627           LD="${LD-ld} -m elf_i386_fbsd"
   4628           ;;
   4629         x86_64-*linux*)
   4630           LD="${LD-ld} -m elf_i386"
   4631           ;;
   4632         ppc64-*linux*|powerpc64-*linux*)
   4633           LD="${LD-ld} -m elf32ppclinux"
   4634           ;;
   4635         s390x-*linux*)
   4636           LD="${LD-ld} -m elf_s390"
   4637           ;;
   4638         sparc64-*linux*)
   4639           LD="${LD-ld} -m elf32_sparc"
   4640           ;;
   4641       esac
   4642       ;;
   4643     *64-bit*)
   4644       case $host in
   4645         x86_64-*kfreebsd*-gnu)
   4646           LD="${LD-ld} -m elf_x86_64_fbsd"
   4647           ;;
   4648         x86_64-*linux*)
   4649           LD="${LD-ld} -m elf_x86_64"
   4650           ;;
   4651         ppc*-*linux*|powerpc*-*linux*)
   4652           LD="${LD-ld} -m elf64ppc"
   4653           ;;
   4654         s390*-*linux*)
   4655           LD="${LD-ld} -m elf64_s390"
   4656           ;;
   4657         sparc*-*linux*)
   4658           LD="${LD-ld} -m elf64_sparc"
   4659           ;;
   4660       esac
   4661       ;;
   4662     esac
   4663   fi
   4664   rm -rf conftest*
   4665   ;;
   4666 
   4667 *-*-sco3.2v5*)
   4668   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
   4669   SAVE_CFLAGS="$CFLAGS"
   4670   CFLAGS="$CFLAGS -belf"
   4671   { $as_echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
   4672 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
   4673 if test "${lt_cv_cc_needs_belf+set}" = set; then
   4674   $as_echo_n "(cached) " >&6
   4675 else
   4676   ac_ext=c
   4677 ac_cpp='$CPP $CPPFLAGS'
   4678 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4679 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4680 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4681 
   4682      cat >conftest.$ac_ext <<_ACEOF
   4683 /* confdefs.h.  */
   4684 _ACEOF
   4685 cat confdefs.h >>conftest.$ac_ext
   4686 cat >>conftest.$ac_ext <<_ACEOF
   4687 /* end confdefs.h.  */
   4688 
   4689 int
   4690 main ()
   4691 {
   4692 
   4693   ;
   4694   return 0;
   4695 }
   4696 _ACEOF
   4697 rm -f conftest.$ac_objext conftest$ac_exeext
   4698 if { (ac_try="$ac_link"
   4699 case "(($ac_try" in
   4700   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4701   *) ac_try_echo=$ac_try;;
   4702 esac
   4703 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   4704 $as_echo "$ac_try_echo") >&5
   4705   (eval "$ac_link") 2>conftest.er1
   4706   ac_status=$?
   4707   grep -v '^ *+' conftest.er1 >conftest.err
   4708   rm -f conftest.er1
   4709   cat conftest.err >&5
   4710   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4711   (exit $ac_status); } && {
   4712 	 test -z "$ac_c_werror_flag" ||
   4713 	 test ! -s conftest.err
   4714        } && test -s conftest$ac_exeext && {
   4715 	 test "$cross_compiling" = yes ||
   4716 	 $as_test_x conftest$ac_exeext
   4717        }; then
   4718   lt_cv_cc_needs_belf=yes
   4719 else
   4720   $as_echo "$as_me: failed program was:" >&5
   4721 sed 's/^/| /' conftest.$ac_ext >&5
   4722 
   4723 	lt_cv_cc_needs_belf=no
   4724 fi
   4725 
   4726 rm -rf conftest.dSYM
   4727 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   4728       conftest$ac_exeext conftest.$ac_ext
   4729      ac_ext=c
   4730 ac_cpp='$CPP $CPPFLAGS'
   4731 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4732 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4733 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4734 
   4735 fi
   4736 { $as_echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
   4737 $as_echo "$lt_cv_cc_needs_belf" >&6; }
   4738   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
   4739     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
   4740     CFLAGS="$SAVE_CFLAGS"
   4741   fi
   4742   ;;
   4743 sparc*-*solaris*)
   4744   # Find out which ABI we are using.
   4745   echo 'int i;' > conftest.$ac_ext
   4746   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   4747   (eval $ac_compile) 2>&5
   4748   ac_status=$?
   4749   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4750   (exit $ac_status); }; then
   4751     case `/usr/bin/file conftest.o` in
   4752     *64-bit*)
   4753       case $lt_cv_prog_gnu_ld in
   4754       yes*) LD="${LD-ld} -m elf64_sparc" ;;
   4755       *)
   4756         if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
   4757 	  LD="${LD-ld} -64"
   4758 	fi
   4759 	;;
   4760       esac
   4761       ;;
   4762     esac
   4763   fi
   4764   rm -rf conftest*
   4765   ;;
   4766 
   4767 
   4768 esac
   4769 
   4770 need_locks="$enable_libtool_lock"
   4771 
   4772 
   4773 ac_ext=c
   4774 ac_cpp='$CPP $CPPFLAGS'
   4775 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4776 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4777 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4778 { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
   4779 $as_echo_n "checking how to run the C preprocessor... " >&6; }
   4780 # On Suns, sometimes $CPP names a directory.
   4781 if test -n "$CPP" && test -d "$CPP"; then
   4782   CPP=
   4783 fi
   4784 if test -z "$CPP"; then
   4785   if test "${ac_cv_prog_CPP+set}" = set; then
   4786   $as_echo_n "(cached) " >&6
   4787 else
   4788       # Double quotes because CPP needs to be expanded
   4789     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
   4790     do
   4791       ac_preproc_ok=false
   4792 for ac_c_preproc_warn_flag in '' yes
   4793 do
   4794   # Use a header file that comes with gcc, so configuring glibc
   4795   # with a fresh cross-compiler works.
   4796   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   4797   # <limits.h> exists even on freestanding compilers.
   4798   # On the NeXT, cc -E runs the code through the compiler's parser,
   4799   # not just through cpp. "Syntax error" is here to catch this case.
   4800   cat >conftest.$ac_ext <<_ACEOF
   4801 /* confdefs.h.  */
   4802 _ACEOF
   4803 cat confdefs.h >>conftest.$ac_ext
   4804 cat >>conftest.$ac_ext <<_ACEOF
   4805 /* end confdefs.h.  */
   4806 #ifdef __STDC__
   4807 # include <limits.h>
   4808 #else
   4809 # include <assert.h>
   4810 #endif
   4811 		     Syntax error
   4812 _ACEOF
   4813 if { (ac_try="$ac_cpp conftest.$ac_ext"
   4814 case "(($ac_try" in
   4815   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4816   *) ac_try_echo=$ac_try;;
   4817 esac
   4818 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   4819 $as_echo "$ac_try_echo") >&5
   4820   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   4821   ac_status=$?
   4822   grep -v '^ *+' conftest.er1 >conftest.err
   4823   rm -f conftest.er1
   4824   cat conftest.err >&5
   4825   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4826   (exit $ac_status); } >/dev/null && {
   4827 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   4828 	 test ! -s conftest.err
   4829        }; then
   4830   :
   4831 else
   4832   $as_echo "$as_me: failed program was:" >&5
   4833 sed 's/^/| /' conftest.$ac_ext >&5
   4834 
   4835   # Broken: fails on valid input.
   4836 continue
   4837 fi
   4838 
   4839 rm -f conftest.err conftest.$ac_ext
   4840 
   4841   # OK, works on sane cases.  Now check whether nonexistent headers
   4842   # can be detected and how.
   4843   cat >conftest.$ac_ext <<_ACEOF
   4844 /* confdefs.h.  */
   4845 _ACEOF
   4846 cat confdefs.h >>conftest.$ac_ext
   4847 cat >>conftest.$ac_ext <<_ACEOF
   4848 /* end confdefs.h.  */
   4849 #include <ac_nonexistent.h>
   4850 _ACEOF
   4851 if { (ac_try="$ac_cpp conftest.$ac_ext"
   4852 case "(($ac_try" in
   4853   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4854   *) ac_try_echo=$ac_try;;
   4855 esac
   4856 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   4857 $as_echo "$ac_try_echo") >&5
   4858   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   4859   ac_status=$?
   4860   grep -v '^ *+' conftest.er1 >conftest.err
   4861   rm -f conftest.er1
   4862   cat conftest.err >&5
   4863   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4864   (exit $ac_status); } >/dev/null && {
   4865 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   4866 	 test ! -s conftest.err
   4867        }; then
   4868   # Broken: success on invalid input.
   4869 continue
   4870 else
   4871   $as_echo "$as_me: failed program was:" >&5
   4872 sed 's/^/| /' conftest.$ac_ext >&5
   4873 
   4874   # Passes both tests.
   4875 ac_preproc_ok=:
   4876 break
   4877 fi
   4878 
   4879 rm -f conftest.err conftest.$ac_ext
   4880 
   4881 done
   4882 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   4883 rm -f conftest.err conftest.$ac_ext
   4884 if $ac_preproc_ok; then
   4885   break
   4886 fi
   4887 
   4888     done
   4889     ac_cv_prog_CPP=$CPP
   4890 
   4891 fi
   4892   CPP=$ac_cv_prog_CPP
   4893 else
   4894   ac_cv_prog_CPP=$CPP
   4895 fi
   4896 { $as_echo "$as_me:$LINENO: result: $CPP" >&5
   4897 $as_echo "$CPP" >&6; }
   4898 ac_preproc_ok=false
   4899 for ac_c_preproc_warn_flag in '' yes
   4900 do
   4901   # Use a header file that comes with gcc, so configuring glibc
   4902   # with a fresh cross-compiler works.
   4903   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   4904   # <limits.h> exists even on freestanding compilers.
   4905   # On the NeXT, cc -E runs the code through the compiler's parser,
   4906   # not just through cpp. "Syntax error" is here to catch this case.
   4907   cat >conftest.$ac_ext <<_ACEOF
   4908 /* confdefs.h.  */
   4909 _ACEOF
   4910 cat confdefs.h >>conftest.$ac_ext
   4911 cat >>conftest.$ac_ext <<_ACEOF
   4912 /* end confdefs.h.  */
   4913 #ifdef __STDC__
   4914 # include <limits.h>
   4915 #else
   4916 # include <assert.h>
   4917 #endif
   4918 		     Syntax error
   4919 _ACEOF
   4920 if { (ac_try="$ac_cpp conftest.$ac_ext"
   4921 case "(($ac_try" in
   4922   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4923   *) ac_try_echo=$ac_try;;
   4924 esac
   4925 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   4926 $as_echo "$ac_try_echo") >&5
   4927   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   4928   ac_status=$?
   4929   grep -v '^ *+' conftest.er1 >conftest.err
   4930   rm -f conftest.er1
   4931   cat conftest.err >&5
   4932   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4933   (exit $ac_status); } >/dev/null && {
   4934 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   4935 	 test ! -s conftest.err
   4936        }; then
   4937   :
   4938 else
   4939   $as_echo "$as_me: failed program was:" >&5
   4940 sed 's/^/| /' conftest.$ac_ext >&5
   4941 
   4942   # Broken: fails on valid input.
   4943 continue
   4944 fi
   4945 
   4946 rm -f conftest.err conftest.$ac_ext
   4947 
   4948   # OK, works on sane cases.  Now check whether nonexistent headers
   4949   # can be detected and how.
   4950   cat >conftest.$ac_ext <<_ACEOF
   4951 /* confdefs.h.  */
   4952 _ACEOF
   4953 cat confdefs.h >>conftest.$ac_ext
   4954 cat >>conftest.$ac_ext <<_ACEOF
   4955 /* end confdefs.h.  */
   4956 #include <ac_nonexistent.h>
   4957 _ACEOF
   4958 if { (ac_try="$ac_cpp conftest.$ac_ext"
   4959 case "(($ac_try" in
   4960   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4961   *) ac_try_echo=$ac_try;;
   4962 esac
   4963 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   4964 $as_echo "$ac_try_echo") >&5
   4965   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   4966   ac_status=$?
   4967   grep -v '^ *+' conftest.er1 >conftest.err
   4968   rm -f conftest.er1
   4969   cat conftest.err >&5
   4970   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4971   (exit $ac_status); } >/dev/null && {
   4972 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   4973 	 test ! -s conftest.err
   4974        }; then
   4975   # Broken: success on invalid input.
   4976 continue
   4977 else
   4978   $as_echo "$as_me: failed program was:" >&5
   4979 sed 's/^/| /' conftest.$ac_ext >&5
   4980 
   4981   # Passes both tests.
   4982 ac_preproc_ok=:
   4983 break
   4984 fi
   4985 
   4986 rm -f conftest.err conftest.$ac_ext
   4987 
   4988 done
   4989 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   4990 rm -f conftest.err conftest.$ac_ext
   4991 if $ac_preproc_ok; then
   4992   :
   4993 else
   4994   { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   4995 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   4996 { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
   4997 See \`config.log' for more details." >&5
   4998 $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
   4999 See \`config.log' for more details." >&2;}
   5000    { (exit 1); exit 1; }; }; }
   5001 fi
   5002 
   5003 ac_ext=c
   5004 ac_cpp='$CPP $CPPFLAGS'
   5005 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5006 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5007 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   5008 
   5009 
   5010 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
   5011 $as_echo_n "checking for ANSI C header files... " >&6; }
   5012 if test "${ac_cv_header_stdc+set}" = set; then
   5013   $as_echo_n "(cached) " >&6
   5014 else
   5015   cat >conftest.$ac_ext <<_ACEOF
   5016 /* confdefs.h.  */
   5017 _ACEOF
   5018 cat confdefs.h >>conftest.$ac_ext
   5019 cat >>conftest.$ac_ext <<_ACEOF
   5020 /* end confdefs.h.  */
   5021 #include <stdlib.h>
   5022 #include <stdarg.h>
   5023 #include <string.h>
   5024 #include <float.h>
   5025 
   5026 int
   5027 main ()
   5028 {
   5029 
   5030   ;
   5031   return 0;
   5032 }
   5033 _ACEOF
   5034 rm -f conftest.$ac_objext
   5035 if { (ac_try="$ac_compile"
   5036 case "(($ac_try" in
   5037   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5038   *) ac_try_echo=$ac_try;;
   5039 esac
   5040 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5041 $as_echo "$ac_try_echo") >&5
   5042   (eval "$ac_compile") 2>conftest.er1
   5043   ac_status=$?
   5044   grep -v '^ *+' conftest.er1 >conftest.err
   5045   rm -f conftest.er1
   5046   cat conftest.err >&5
   5047   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5048   (exit $ac_status); } && {
   5049 	 test -z "$ac_c_werror_flag" ||
   5050 	 test ! -s conftest.err
   5051        } && test -s conftest.$ac_objext; then
   5052   ac_cv_header_stdc=yes
   5053 else
   5054   $as_echo "$as_me: failed program was:" >&5
   5055 sed 's/^/| /' conftest.$ac_ext >&5
   5056 
   5057 	ac_cv_header_stdc=no
   5058 fi
   5059 
   5060 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5061 
   5062 if test $ac_cv_header_stdc = yes; then
   5063   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   5064   cat >conftest.$ac_ext <<_ACEOF
   5065 /* confdefs.h.  */
   5066 _ACEOF
   5067 cat confdefs.h >>conftest.$ac_ext
   5068 cat >>conftest.$ac_ext <<_ACEOF
   5069 /* end confdefs.h.  */
   5070 #include <string.h>
   5071 
   5072 _ACEOF
   5073 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   5074   $EGREP "memchr" >/dev/null 2>&1; then
   5075   :
   5076 else
   5077   ac_cv_header_stdc=no
   5078 fi
   5079 rm -f conftest*
   5080 
   5081 fi
   5082 
   5083 if test $ac_cv_header_stdc = yes; then
   5084   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   5085   cat >conftest.$ac_ext <<_ACEOF
   5086 /* confdefs.h.  */
   5087 _ACEOF
   5088 cat confdefs.h >>conftest.$ac_ext
   5089 cat >>conftest.$ac_ext <<_ACEOF
   5090 /* end confdefs.h.  */
   5091 #include <stdlib.h>
   5092 
   5093 _ACEOF
   5094 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   5095   $EGREP "free" >/dev/null 2>&1; then
   5096   :
   5097 else
   5098   ac_cv_header_stdc=no
   5099 fi
   5100 rm -f conftest*
   5101 
   5102 fi
   5103 
   5104 if test $ac_cv_header_stdc = yes; then
   5105   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   5106   if test "$cross_compiling" = yes; then
   5107   :
   5108 else
   5109   cat >conftest.$ac_ext <<_ACEOF
   5110 /* confdefs.h.  */
   5111 _ACEOF
   5112 cat confdefs.h >>conftest.$ac_ext
   5113 cat >>conftest.$ac_ext <<_ACEOF
   5114 /* end confdefs.h.  */
   5115 #include <ctype.h>
   5116 #include <stdlib.h>
   5117 #if ((' ' & 0x0FF) == 0x020)
   5118 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   5119 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   5120 #else
   5121 # define ISLOWER(c) \
   5122 		   (('a' <= (c) && (c) <= 'i') \
   5123 		     || ('j' <= (c) && (c) <= 'r') \
   5124 		     || ('s' <= (c) && (c) <= 'z'))
   5125 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   5126 #endif
   5127 
   5128 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   5129 int
   5130 main ()
   5131 {
   5132   int i;
   5133   for (i = 0; i < 256; i++)
   5134     if (XOR (islower (i), ISLOWER (i))
   5135 	|| toupper (i) != TOUPPER (i))
   5136       return 2;
   5137   return 0;
   5138 }
   5139 _ACEOF
   5140 rm -f conftest$ac_exeext
   5141 if { (ac_try="$ac_link"
   5142 case "(($ac_try" in
   5143   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5144   *) ac_try_echo=$ac_try;;
   5145 esac
   5146 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5147 $as_echo "$ac_try_echo") >&5
   5148   (eval "$ac_link") 2>&5
   5149   ac_status=$?
   5150   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5151   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
   5152   { (case "(($ac_try" in
   5153   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5154   *) ac_try_echo=$ac_try;;
   5155 esac
   5156 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5157 $as_echo "$ac_try_echo") >&5
   5158   (eval "$ac_try") 2>&5
   5159   ac_status=$?
   5160   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5161   (exit $ac_status); }; }; then
   5162   :
   5163 else
   5164   $as_echo "$as_me: program exited with status $ac_status" >&5
   5165 $as_echo "$as_me: failed program was:" >&5
   5166 sed 's/^/| /' conftest.$ac_ext >&5
   5167 
   5168 ( exit $ac_status )
   5169 ac_cv_header_stdc=no
   5170 fi
   5171 rm -rf conftest.dSYM
   5172 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
   5173 fi
   5174 
   5175 
   5176 fi
   5177 fi
   5178 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
   5179 $as_echo "$ac_cv_header_stdc" >&6; }
   5180 if test $ac_cv_header_stdc = yes; then
   5181 
   5182 cat >>confdefs.h <<\_ACEOF
   5183 #define STDC_HEADERS 1
   5184 _ACEOF
   5185 
   5186 fi
   5187 
   5188 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
   5189 
   5190 
   5191 
   5192 
   5193 
   5194 
   5195 
   5196 
   5197 
   5198 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
   5199 		  inttypes.h stdint.h unistd.h
   5200 do
   5201 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   5202 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
   5203 $as_echo_n "checking for $ac_header... " >&6; }
   5204 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   5205   $as_echo_n "(cached) " >&6
   5206 else
   5207   cat >conftest.$ac_ext <<_ACEOF
   5208 /* confdefs.h.  */
   5209 _ACEOF
   5210 cat confdefs.h >>conftest.$ac_ext
   5211 cat >>conftest.$ac_ext <<_ACEOF
   5212 /* end confdefs.h.  */
   5213 $ac_includes_default
   5214 
   5215 #include <$ac_header>
   5216 _ACEOF
   5217 rm -f conftest.$ac_objext
   5218 if { (ac_try="$ac_compile"
   5219 case "(($ac_try" in
   5220   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5221   *) ac_try_echo=$ac_try;;
   5222 esac
   5223 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5224 $as_echo "$ac_try_echo") >&5
   5225   (eval "$ac_compile") 2>conftest.er1
   5226   ac_status=$?
   5227   grep -v '^ *+' conftest.er1 >conftest.err
   5228   rm -f conftest.er1
   5229   cat conftest.err >&5
   5230   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5231   (exit $ac_status); } && {
   5232 	 test -z "$ac_c_werror_flag" ||
   5233 	 test ! -s conftest.err
   5234        } && test -s conftest.$ac_objext; then
   5235   eval "$as_ac_Header=yes"
   5236 else
   5237   $as_echo "$as_me: failed program was:" >&5
   5238 sed 's/^/| /' conftest.$ac_ext >&5
   5239 
   5240 	eval "$as_ac_Header=no"
   5241 fi
   5242 
   5243 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5244 fi
   5245 ac_res=`eval 'as_val=${'$as_ac_Header'}
   5246 		 $as_echo "$as_val"'`
   5247 	       { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
   5248 $as_echo "$ac_res" >&6; }
   5249 as_val=`eval 'as_val=${'$as_ac_Header'}
   5250 		 $as_echo "$as_val"'`
   5251    if test "x$as_val" = x""yes; then
   5252   cat >>confdefs.h <<_ACEOF
   5253 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   5254 _ACEOF
   5255 
   5256 fi
   5257 
   5258 done
   5259 
   5260 
   5261 
   5262 for ac_header in dlfcn.h
   5263 do
   5264 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   5265 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   5266   { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
   5267 $as_echo_n "checking for $ac_header... " >&6; }
   5268 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   5269   $as_echo_n "(cached) " >&6
   5270 fi
   5271 ac_res=`eval 'as_val=${'$as_ac_Header'}
   5272 		 $as_echo "$as_val"'`
   5273 	       { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
   5274 $as_echo "$ac_res" >&6; }
   5275 else
   5276   # Is the header compilable?
   5277 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
   5278 $as_echo_n "checking $ac_header usability... " >&6; }
   5279 cat >conftest.$ac_ext <<_ACEOF
   5280 /* confdefs.h.  */
   5281 _ACEOF
   5282 cat confdefs.h >>conftest.$ac_ext
   5283 cat >>conftest.$ac_ext <<_ACEOF
   5284 /* end confdefs.h.  */
   5285 $ac_includes_default
   5286 #include <$ac_header>
   5287 _ACEOF
   5288 rm -f conftest.$ac_objext
   5289 if { (ac_try="$ac_compile"
   5290 case "(($ac_try" in
   5291   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5292   *) ac_try_echo=$ac_try;;
   5293 esac
   5294 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5295 $as_echo "$ac_try_echo") >&5
   5296   (eval "$ac_compile") 2>conftest.er1
   5297   ac_status=$?
   5298   grep -v '^ *+' conftest.er1 >conftest.err
   5299   rm -f conftest.er1
   5300   cat conftest.err >&5
   5301   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5302   (exit $ac_status); } && {
   5303 	 test -z "$ac_c_werror_flag" ||
   5304 	 test ! -s conftest.err
   5305        } && test -s conftest.$ac_objext; then
   5306   ac_header_compiler=yes
   5307 else
   5308   $as_echo "$as_me: failed program was:" >&5
   5309 sed 's/^/| /' conftest.$ac_ext >&5
   5310 
   5311 	ac_header_compiler=no
   5312 fi
   5313 
   5314 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5315 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
   5316 $as_echo "$ac_header_compiler" >&6; }
   5317 
   5318 # Is the header present?
   5319 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
   5320 $as_echo_n "checking $ac_header presence... " >&6; }
   5321 cat >conftest.$ac_ext <<_ACEOF
   5322 /* confdefs.h.  */
   5323 _ACEOF
   5324 cat confdefs.h >>conftest.$ac_ext
   5325 cat >>conftest.$ac_ext <<_ACEOF
   5326 /* end confdefs.h.  */
   5327 #include <$ac_header>
   5328 _ACEOF
   5329 if { (ac_try="$ac_cpp conftest.$ac_ext"
   5330 case "(($ac_try" in
   5331   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5332   *) ac_try_echo=$ac_try;;
   5333 esac
   5334 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5335 $as_echo "$ac_try_echo") >&5
   5336   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   5337   ac_status=$?
   5338   grep -v '^ *+' conftest.er1 >conftest.err
   5339   rm -f conftest.er1
   5340   cat conftest.err >&5
   5341   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5342   (exit $ac_status); } >/dev/null && {
   5343 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   5344 	 test ! -s conftest.err
   5345        }; then
   5346   ac_header_preproc=yes
   5347 else
   5348   $as_echo "$as_me: failed program was:" >&5
   5349 sed 's/^/| /' conftest.$ac_ext >&5
   5350 
   5351   ac_header_preproc=no
   5352 fi
   5353 
   5354 rm -f conftest.err conftest.$ac_ext
   5355 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
   5356 $as_echo "$ac_header_preproc" >&6; }
   5357 
   5358 # So?  What about this header?
   5359 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
   5360   yes:no: )
   5361     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
   5362 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
   5363     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
   5364 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
   5365     ac_header_preproc=yes
   5366     ;;
   5367   no:yes:* )
   5368     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
   5369 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
   5370     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
   5371 $as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
   5372     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
   5373 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
   5374     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
   5375 $as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
   5376     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
   5377 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
   5378     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
   5379 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
   5380     ( cat <<\_ASBOX
   5381 ## ---------------------------------------------------------------------- ##
   5382 ## Report this to https://bugs.freedesktop.org/enter_bug.cgi?product=xorg ##
   5383 ## ---------------------------------------------------------------------- ##
   5384 _ASBOX
   5385      ) | sed "s/^/$as_me: WARNING:     /" >&2
   5386     ;;
   5387 esac
   5388 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
   5389 $as_echo_n "checking for $ac_header... " >&6; }
   5390 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   5391   $as_echo_n "(cached) " >&6
   5392 else
   5393   eval "$as_ac_Header=\$ac_header_preproc"
   5394 fi
   5395 ac_res=`eval 'as_val=${'$as_ac_Header'}
   5396 		 $as_echo "$as_val"'`
   5397 	       { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
   5398 $as_echo "$ac_res" >&6; }
   5399 
   5400 fi
   5401 as_val=`eval 'as_val=${'$as_ac_Header'}
   5402 		 $as_echo "$as_val"'`
   5403    if test "x$as_val" = x""yes; then
   5404   cat >>confdefs.h <<_ACEOF
   5405 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   5406 _ACEOF
   5407 
   5408 fi
   5409 
   5410 done
   5411 
   5412 ac_ext=cpp
   5413 ac_cpp='$CXXCPP $CPPFLAGS'
   5414 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5415 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5416 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   5417 if test -z "$CXX"; then
   5418   if test -n "$CCC"; then
   5419     CXX=$CCC
   5420   else
   5421     if test -n "$ac_tool_prefix"; then
   5422   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
   5423   do
   5424     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   5425 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   5426 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   5427 $as_echo_n "checking for $ac_word... " >&6; }
   5428 if test "${ac_cv_prog_CXX+set}" = set; then
   5429   $as_echo_n "(cached) " >&6
   5430 else
   5431   if test -n "$CXX"; then
   5432   ac_cv_prog_CXX="$CXX" # Let the user override the test.
   5433 else
   5434 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5435 for as_dir in $PATH
   5436 do
   5437   IFS=$as_save_IFS
   5438   test -z "$as_dir" && as_dir=.
   5439   for ac_exec_ext in '' $ac_executable_extensions; do
   5440   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5441     ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
   5442     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   5443     break 2
   5444   fi
   5445 done
   5446 done
   5447 IFS=$as_save_IFS
   5448 
   5449 fi
   5450 fi
   5451 CXX=$ac_cv_prog_CXX
   5452 if test -n "$CXX"; then
   5453   { $as_echo "$as_me:$LINENO: result: $CXX" >&5
   5454 $as_echo "$CXX" >&6; }
   5455 else
   5456   { $as_echo "$as_me:$LINENO: result: no" >&5
   5457 $as_echo "no" >&6; }
   5458 fi
   5459 
   5460 
   5461     test -n "$CXX" && break
   5462   done
   5463 fi
   5464 if test -z "$CXX"; then
   5465   ac_ct_CXX=$CXX
   5466   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
   5467 do
   5468   # Extract the first word of "$ac_prog", so it can be a program name with args.
   5469 set dummy $ac_prog; ac_word=$2
   5470 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   5471 $as_echo_n "checking for $ac_word... " >&6; }
   5472 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
   5473   $as_echo_n "(cached) " >&6
   5474 else
   5475   if test -n "$ac_ct_CXX"; then
   5476   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
   5477 else
   5478 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5479 for as_dir in $PATH
   5480 do
   5481   IFS=$as_save_IFS
   5482   test -z "$as_dir" && as_dir=.
   5483   for ac_exec_ext in '' $ac_executable_extensions; do
   5484   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5485     ac_cv_prog_ac_ct_CXX="$ac_prog"
   5486     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   5487     break 2
   5488   fi
   5489 done
   5490 done
   5491 IFS=$as_save_IFS
   5492 
   5493 fi
   5494 fi
   5495 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
   5496 if test -n "$ac_ct_CXX"; then
   5497   { $as_echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
   5498 $as_echo "$ac_ct_CXX" >&6; }
   5499 else
   5500   { $as_echo "$as_me:$LINENO: result: no" >&5
   5501 $as_echo "no" >&6; }
   5502 fi
   5503 
   5504 
   5505   test -n "$ac_ct_CXX" && break
   5506 done
   5507 
   5508   if test "x$ac_ct_CXX" = x; then
   5509     CXX="g++"
   5510   else
   5511     case $cross_compiling:$ac_tool_warned in
   5512 yes:)
   5513 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   5514 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5515 ac_tool_warned=yes ;;
   5516 esac
   5517     CXX=$ac_ct_CXX
   5518   fi
   5519 fi
   5520 
   5521   fi
   5522 fi
   5523 # Provide some information about the compiler.
   5524 $as_echo "$as_me:$LINENO: checking for C++ compiler version" >&5
   5525 set X $ac_compile
   5526 ac_compiler=$2
   5527 { (ac_try="$ac_compiler --version >&5"
   5528 case "(($ac_try" in
   5529   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5530   *) ac_try_echo=$ac_try;;
   5531 esac
   5532 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5533 $as_echo "$ac_try_echo") >&5
   5534   (eval "$ac_compiler --version >&5") 2>&5
   5535   ac_status=$?
   5536   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5537   (exit $ac_status); }
   5538 { (ac_try="$ac_compiler -v >&5"
   5539 case "(($ac_try" in
   5540   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5541   *) ac_try_echo=$ac_try;;
   5542 esac
   5543 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5544 $as_echo "$ac_try_echo") >&5
   5545   (eval "$ac_compiler -v >&5") 2>&5
   5546   ac_status=$?
   5547   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5548   (exit $ac_status); }
   5549 { (ac_try="$ac_compiler -V >&5"
   5550 case "(($ac_try" in
   5551   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5552   *) ac_try_echo=$ac_try;;
   5553 esac
   5554 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5555 $as_echo "$ac_try_echo") >&5
   5556   (eval "$ac_compiler -V >&5") 2>&5
   5557   ac_status=$?
   5558   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5559   (exit $ac_status); }
   5560 
   5561 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
   5562 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
   5563 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
   5564   $as_echo_n "(cached) " >&6
   5565 else
   5566   cat >conftest.$ac_ext <<_ACEOF
   5567 /* confdefs.h.  */
   5568 _ACEOF
   5569 cat confdefs.h >>conftest.$ac_ext
   5570 cat >>conftest.$ac_ext <<_ACEOF
   5571 /* end confdefs.h.  */
   5572 
   5573 int
   5574 main ()
   5575 {
   5576 #ifndef __GNUC__
   5577        choke me
   5578 #endif
   5579 
   5580   ;
   5581   return 0;
   5582 }
   5583 _ACEOF
   5584 rm -f conftest.$ac_objext
   5585 if { (ac_try="$ac_compile"
   5586 case "(($ac_try" in
   5587   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5588   *) ac_try_echo=$ac_try;;
   5589 esac
   5590 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5591 $as_echo "$ac_try_echo") >&5
   5592   (eval "$ac_compile") 2>conftest.er1
   5593   ac_status=$?
   5594   grep -v '^ *+' conftest.er1 >conftest.err
   5595   rm -f conftest.er1
   5596   cat conftest.err >&5
   5597   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5598   (exit $ac_status); } && {
   5599 	 test -z "$ac_cxx_werror_flag" ||
   5600 	 test ! -s conftest.err
   5601        } && test -s conftest.$ac_objext; then
   5602   ac_compiler_gnu=yes
   5603 else
   5604   $as_echo "$as_me: failed program was:" >&5
   5605 sed 's/^/| /' conftest.$ac_ext >&5
   5606 
   5607 	ac_compiler_gnu=no
   5608 fi
   5609 
   5610 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5611 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
   5612 
   5613 fi
   5614 { $as_echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
   5615 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
   5616 if test $ac_compiler_gnu = yes; then
   5617   GXX=yes
   5618 else
   5619   GXX=
   5620 fi
   5621 ac_test_CXXFLAGS=${CXXFLAGS+set}
   5622 ac_save_CXXFLAGS=$CXXFLAGS
   5623 { $as_echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
   5624 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
   5625 if test "${ac_cv_prog_cxx_g+set}" = set; then
   5626   $as_echo_n "(cached) " >&6
   5627 else
   5628   ac_save_cxx_werror_flag=$ac_cxx_werror_flag
   5629    ac_cxx_werror_flag=yes
   5630    ac_cv_prog_cxx_g=no
   5631    CXXFLAGS="-g"
   5632    cat >conftest.$ac_ext <<_ACEOF
   5633 /* confdefs.h.  */
   5634 _ACEOF
   5635 cat confdefs.h >>conftest.$ac_ext
   5636 cat >>conftest.$ac_ext <<_ACEOF
   5637 /* end confdefs.h.  */
   5638 
   5639 int
   5640 main ()
   5641 {
   5642 
   5643   ;
   5644   return 0;
   5645 }
   5646 _ACEOF
   5647 rm -f conftest.$ac_objext
   5648 if { (ac_try="$ac_compile"
   5649 case "(($ac_try" in
   5650   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5651   *) ac_try_echo=$ac_try;;
   5652 esac
   5653 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5654 $as_echo "$ac_try_echo") >&5
   5655   (eval "$ac_compile") 2>conftest.er1
   5656   ac_status=$?
   5657   grep -v '^ *+' conftest.er1 >conftest.err
   5658   rm -f conftest.er1
   5659   cat conftest.err >&5
   5660   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5661   (exit $ac_status); } && {
   5662 	 test -z "$ac_cxx_werror_flag" ||
   5663 	 test ! -s conftest.err
   5664        } && test -s conftest.$ac_objext; then
   5665   ac_cv_prog_cxx_g=yes
   5666 else
   5667   $as_echo "$as_me: failed program was:" >&5
   5668 sed 's/^/| /' conftest.$ac_ext >&5
   5669 
   5670 	CXXFLAGS=""
   5671       cat >conftest.$ac_ext <<_ACEOF
   5672 /* confdefs.h.  */
   5673 _ACEOF
   5674 cat confdefs.h >>conftest.$ac_ext
   5675 cat >>conftest.$ac_ext <<_ACEOF
   5676 /* end confdefs.h.  */
   5677 
   5678 int
   5679 main ()
   5680 {
   5681 
   5682   ;
   5683   return 0;
   5684 }
   5685 _ACEOF
   5686 rm -f conftest.$ac_objext
   5687 if { (ac_try="$ac_compile"
   5688 case "(($ac_try" in
   5689   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5690   *) ac_try_echo=$ac_try;;
   5691 esac
   5692 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5693 $as_echo "$ac_try_echo") >&5
   5694   (eval "$ac_compile") 2>conftest.er1
   5695   ac_status=$?
   5696   grep -v '^ *+' conftest.er1 >conftest.err
   5697   rm -f conftest.er1
   5698   cat conftest.err >&5
   5699   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5700   (exit $ac_status); } && {
   5701 	 test -z "$ac_cxx_werror_flag" ||
   5702 	 test ! -s conftest.err
   5703        } && test -s conftest.$ac_objext; then
   5704   :
   5705 else
   5706   $as_echo "$as_me: failed program was:" >&5
   5707 sed 's/^/| /' conftest.$ac_ext >&5
   5708 
   5709 	ac_cxx_werror_flag=$ac_save_cxx_werror_flag
   5710 	 CXXFLAGS="-g"
   5711 	 cat >conftest.$ac_ext <<_ACEOF
   5712 /* confdefs.h.  */
   5713 _ACEOF
   5714 cat confdefs.h >>conftest.$ac_ext
   5715 cat >>conftest.$ac_ext <<_ACEOF
   5716 /* end confdefs.h.  */
   5717 
   5718 int
   5719 main ()
   5720 {
   5721 
   5722   ;
   5723   return 0;
   5724 }
   5725 _ACEOF
   5726 rm -f conftest.$ac_objext
   5727 if { (ac_try="$ac_compile"
   5728 case "(($ac_try" in
   5729   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5730   *) ac_try_echo=$ac_try;;
   5731 esac
   5732 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5733 $as_echo "$ac_try_echo") >&5
   5734   (eval "$ac_compile") 2>conftest.er1
   5735   ac_status=$?
   5736   grep -v '^ *+' conftest.er1 >conftest.err
   5737   rm -f conftest.er1
   5738   cat conftest.err >&5
   5739   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5740   (exit $ac_status); } && {
   5741 	 test -z "$ac_cxx_werror_flag" ||
   5742 	 test ! -s conftest.err
   5743        } && test -s conftest.$ac_objext; then
   5744   ac_cv_prog_cxx_g=yes
   5745 else
   5746   $as_echo "$as_me: failed program was:" >&5
   5747 sed 's/^/| /' conftest.$ac_ext >&5
   5748 
   5749 
   5750 fi
   5751 
   5752 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5753 fi
   5754 
   5755 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5756 fi
   5757 
   5758 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5759    ac_cxx_werror_flag=$ac_save_cxx_werror_flag
   5760 fi
   5761 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
   5762 $as_echo "$ac_cv_prog_cxx_g" >&6; }
   5763 if test "$ac_test_CXXFLAGS" = set; then
   5764   CXXFLAGS=$ac_save_CXXFLAGS
   5765 elif test $ac_cv_prog_cxx_g = yes; then
   5766   if test "$GXX" = yes; then
   5767     CXXFLAGS="-g -O2"
   5768   else
   5769     CXXFLAGS="-g"
   5770   fi
   5771 else
   5772   if test "$GXX" = yes; then
   5773     CXXFLAGS="-O2"
   5774   else
   5775     CXXFLAGS=
   5776   fi
   5777 fi
   5778 ac_ext=cpp
   5779 ac_cpp='$CXXCPP $CPPFLAGS'
   5780 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5781 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5782 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   5783 
   5784 depcc="$CXX"  am_compiler_list=
   5785 
   5786 { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
   5787 $as_echo_n "checking dependency style of $depcc... " >&6; }
   5788 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
   5789   $as_echo_n "(cached) " >&6
   5790 else
   5791   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   5792   # We make a subdir and do the tests there.  Otherwise we can end up
   5793   # making bogus files that we don't know about and never remove.  For
   5794   # instance it was reported that on HP-UX the gcc test will end up
   5795   # making a dummy file named `D' -- because `-MD' means `put the output
   5796   # in D'.
   5797   mkdir conftest.dir
   5798   # Copy depcomp to subdir because otherwise we won't find it if we're
   5799   # using a relative directory.
   5800   cp "$am_depcomp" conftest.dir
   5801   cd conftest.dir
   5802   # We will build objects and dependencies in a subdirectory because
   5803   # it helps to detect inapplicable dependency modes.  For instance
   5804   # both Tru64's cc and ICC support -MD to output dependencies as a
   5805   # side effect of compilation, but ICC will put the dependencies in
   5806   # the current directory while Tru64 will put them in the object
   5807   # directory.
   5808   mkdir sub
   5809 
   5810   am_cv_CXX_dependencies_compiler_type=none
   5811   if test "$am_compiler_list" = ""; then
   5812      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   5813   fi
   5814   am__universal=false
   5815   case " $depcc " in #(
   5816      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   5817      esac
   5818 
   5819   for depmode in $am_compiler_list; do
   5820     # Setup a source with many dependencies, because some compilers
   5821     # like to wrap large dependency lists on column 80 (with \), and
   5822     # we should not choose a depcomp mode which is confused by this.
   5823     #
   5824     # We need to recreate these files for each test, as the compiler may
   5825     # overwrite some of them when testing with obscure command lines.
   5826     # This happens at least with the AIX C compiler.
   5827     : > sub/conftest.c
   5828     for i in 1 2 3 4 5 6; do
   5829       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   5830       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
   5831       # Solaris 8's {/usr,}/bin/sh.
   5832       touch sub/conftst$i.h
   5833     done
   5834     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   5835 
   5836     # We check with `-c' and `-o' for the sake of the "dashmstdout"
   5837     # mode.  It turns out that the SunPro C++ compiler does not properly
   5838     # handle `-M -o', and we need to detect this.  Also, some Intel
   5839     # versions had trouble with output in subdirs
   5840     am__obj=sub/conftest.${OBJEXT-o}
   5841     am__minus_obj="-o $am__obj"
   5842     case $depmode in
   5843     gcc)
   5844       # This depmode causes a compiler race in universal mode.
   5845       test "$am__universal" = false || continue
   5846       ;;
   5847     nosideeffect)
   5848       # after this tag, mechanisms are not by side-effect, so they'll
   5849       # only be used when explicitly requested
   5850       if test "x$enable_dependency_tracking" = xyes; then
   5851 	continue
   5852       else
   5853 	break
   5854       fi
   5855       ;;
   5856     msvisualcpp | msvcmsys)
   5857       # This compiler won't grok `-c -o', but also, the minuso test has
   5858       # not run yet.  These depmodes are late enough in the game, and
   5859       # so weak that their functioning should not be impacted.
   5860       am__obj=conftest.${OBJEXT-o}
   5861       am__minus_obj=
   5862       ;;
   5863     none) break ;;
   5864     esac
   5865     if depmode=$depmode \
   5866        source=sub/conftest.c object=$am__obj \
   5867        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   5868        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   5869          >/dev/null 2>conftest.err &&
   5870        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   5871        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   5872        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   5873        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   5874       # icc doesn't choke on unknown options, it will just issue warnings
   5875       # or remarks (even with -Werror).  So we grep stderr for any message
   5876       # that says an option was ignored or not supported.
   5877       # When given -MP, icc 7.0 and 7.1 complain thusly:
   5878       #   icc: Command line warning: ignoring option '-M'; no argument required
   5879       # The diagnosis changed in icc 8.0:
   5880       #   icc: Command line remark: option '-MP' not supported
   5881       if (grep 'ignoring option' conftest.err ||
   5882           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   5883         am_cv_CXX_dependencies_compiler_type=$depmode
   5884         break
   5885       fi
   5886     fi
   5887   done
   5888 
   5889   cd ..
   5890   rm -rf conftest.dir
   5891 else
   5892   am_cv_CXX_dependencies_compiler_type=none
   5893 fi
   5894 
   5895 fi
   5896 { $as_echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
   5897 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
   5898 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
   5899 
   5900  if
   5901   test "x$enable_dependency_tracking" != xno \
   5902   && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
   5903   am__fastdepCXX_TRUE=
   5904   am__fastdepCXX_FALSE='#'
   5905 else
   5906   am__fastdepCXX_TRUE='#'
   5907   am__fastdepCXX_FALSE=
   5908 fi
   5909 
   5910 
   5911 
   5912 
   5913 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
   5914     ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
   5915     (test "X$CXX" != "Xg++"))) ; then
   5916   ac_ext=cpp
   5917 ac_cpp='$CXXCPP $CPPFLAGS'
   5918 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5919 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5920 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   5921 { $as_echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
   5922 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
   5923 if test -z "$CXXCPP"; then
   5924   if test "${ac_cv_prog_CXXCPP+set}" = set; then
   5925   $as_echo_n "(cached) " >&6
   5926 else
   5927       # Double quotes because CXXCPP needs to be expanded
   5928     for CXXCPP in "$CXX -E" "/lib/cpp"
   5929     do
   5930       ac_preproc_ok=false
   5931 for ac_cxx_preproc_warn_flag in '' yes
   5932 do
   5933   # Use a header file that comes with gcc, so configuring glibc
   5934   # with a fresh cross-compiler works.
   5935   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   5936   # <limits.h> exists even on freestanding compilers.
   5937   # On the NeXT, cc -E runs the code through the compiler's parser,
   5938   # not just through cpp. "Syntax error" is here to catch this case.
   5939   cat >conftest.$ac_ext <<_ACEOF
   5940 /* confdefs.h.  */
   5941 _ACEOF
   5942 cat confdefs.h >>conftest.$ac_ext
   5943 cat >>conftest.$ac_ext <<_ACEOF
   5944 /* end confdefs.h.  */
   5945 #ifdef __STDC__
   5946 # include <limits.h>
   5947 #else
   5948 # include <assert.h>
   5949 #endif
   5950 		     Syntax error
   5951 _ACEOF
   5952 if { (ac_try="$ac_cpp conftest.$ac_ext"
   5953 case "(($ac_try" in
   5954   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5955   *) ac_try_echo=$ac_try;;
   5956 esac
   5957 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5958 $as_echo "$ac_try_echo") >&5
   5959   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   5960   ac_status=$?
   5961   grep -v '^ *+' conftest.er1 >conftest.err
   5962   rm -f conftest.er1
   5963   cat conftest.err >&5
   5964   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5965   (exit $ac_status); } >/dev/null && {
   5966 	 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
   5967 	 test ! -s conftest.err
   5968        }; then
   5969   :
   5970 else
   5971   $as_echo "$as_me: failed program was:" >&5
   5972 sed 's/^/| /' conftest.$ac_ext >&5
   5973 
   5974   # Broken: fails on valid input.
   5975 continue
   5976 fi
   5977 
   5978 rm -f conftest.err conftest.$ac_ext
   5979 
   5980   # OK, works on sane cases.  Now check whether nonexistent headers
   5981   # can be detected and how.
   5982   cat >conftest.$ac_ext <<_ACEOF
   5983 /* confdefs.h.  */
   5984 _ACEOF
   5985 cat confdefs.h >>conftest.$ac_ext
   5986 cat >>conftest.$ac_ext <<_ACEOF
   5987 /* end confdefs.h.  */
   5988 #include <ac_nonexistent.h>
   5989 _ACEOF
   5990 if { (ac_try="$ac_cpp conftest.$ac_ext"
   5991 case "(($ac_try" in
   5992   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5993   *) ac_try_echo=$ac_try;;
   5994 esac
   5995 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5996 $as_echo "$ac_try_echo") >&5
   5997   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   5998   ac_status=$?
   5999   grep -v '^ *+' conftest.er1 >conftest.err
   6000   rm -f conftest.er1
   6001   cat conftest.err >&5
   6002   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6003   (exit $ac_status); } >/dev/null && {
   6004 	 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
   6005 	 test ! -s conftest.err
   6006        }; then
   6007   # Broken: success on invalid input.
   6008 continue
   6009 else
   6010   $as_echo "$as_me: failed program was:" >&5
   6011 sed 's/^/| /' conftest.$ac_ext >&5
   6012 
   6013   # Passes both tests.
   6014 ac_preproc_ok=:
   6015 break
   6016 fi
   6017 
   6018 rm -f conftest.err conftest.$ac_ext
   6019 
   6020 done
   6021 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   6022 rm -f conftest.err conftest.$ac_ext
   6023 if $ac_preproc_ok; then
   6024   break
   6025 fi
   6026 
   6027     done
   6028     ac_cv_prog_CXXCPP=$CXXCPP
   6029 
   6030 fi
   6031   CXXCPP=$ac_cv_prog_CXXCPP
   6032 else
   6033   ac_cv_prog_CXXCPP=$CXXCPP
   6034 fi
   6035 { $as_echo "$as_me:$LINENO: result: $CXXCPP" >&5
   6036 $as_echo "$CXXCPP" >&6; }
   6037 ac_preproc_ok=false
   6038 for ac_cxx_preproc_warn_flag in '' yes
   6039 do
   6040   # Use a header file that comes with gcc, so configuring glibc
   6041   # with a fresh cross-compiler works.
   6042   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   6043   # <limits.h> exists even on freestanding compilers.
   6044   # On the NeXT, cc -E runs the code through the compiler's parser,
   6045   # not just through cpp. "Syntax error" is here to catch this case.
   6046   cat >conftest.$ac_ext <<_ACEOF
   6047 /* confdefs.h.  */
   6048 _ACEOF
   6049 cat confdefs.h >>conftest.$ac_ext
   6050 cat >>conftest.$ac_ext <<_ACEOF
   6051 /* end confdefs.h.  */
   6052 #ifdef __STDC__
   6053 # include <limits.h>
   6054 #else
   6055 # include <assert.h>
   6056 #endif
   6057 		     Syntax error
   6058 _ACEOF
   6059 if { (ac_try="$ac_cpp conftest.$ac_ext"
   6060 case "(($ac_try" in
   6061   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6062   *) ac_try_echo=$ac_try;;
   6063 esac
   6064 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   6065 $as_echo "$ac_try_echo") >&5
   6066   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   6067   ac_status=$?
   6068   grep -v '^ *+' conftest.er1 >conftest.err
   6069   rm -f conftest.er1
   6070   cat conftest.err >&5
   6071   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6072   (exit $ac_status); } >/dev/null && {
   6073 	 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
   6074 	 test ! -s conftest.err
   6075        }; then
   6076   :
   6077 else
   6078   $as_echo "$as_me: failed program was:" >&5
   6079 sed 's/^/| /' conftest.$ac_ext >&5
   6080 
   6081   # Broken: fails on valid input.
   6082 continue
   6083 fi
   6084 
   6085 rm -f conftest.err conftest.$ac_ext
   6086 
   6087   # OK, works on sane cases.  Now check whether nonexistent headers
   6088   # can be detected and how.
   6089   cat >conftest.$ac_ext <<_ACEOF
   6090 /* confdefs.h.  */
   6091 _ACEOF
   6092 cat confdefs.h >>conftest.$ac_ext
   6093 cat >>conftest.$ac_ext <<_ACEOF
   6094 /* end confdefs.h.  */
   6095 #include <ac_nonexistent.h>
   6096 _ACEOF
   6097 if { (ac_try="$ac_cpp conftest.$ac_ext"
   6098 case "(($ac_try" in
   6099   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6100   *) ac_try_echo=$ac_try;;
   6101 esac
   6102 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   6103 $as_echo "$ac_try_echo") >&5
   6104   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   6105   ac_status=$?
   6106   grep -v '^ *+' conftest.er1 >conftest.err
   6107   rm -f conftest.er1
   6108   cat conftest.err >&5
   6109   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6110   (exit $ac_status); } >/dev/null && {
   6111 	 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
   6112 	 test ! -s conftest.err
   6113        }; then
   6114   # Broken: success on invalid input.
   6115 continue
   6116 else
   6117   $as_echo "$as_me: failed program was:" >&5
   6118 sed 's/^/| /' conftest.$ac_ext >&5
   6119 
   6120   # Passes both tests.
   6121 ac_preproc_ok=:
   6122 break
   6123 fi
   6124 
   6125 rm -f conftest.err conftest.$ac_ext
   6126 
   6127 done
   6128 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   6129 rm -f conftest.err conftest.$ac_ext
   6130 if $ac_preproc_ok; then
   6131   :
   6132 else
   6133   { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   6134 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   6135 { { $as_echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
   6136 See \`config.log' for more details." >&5
   6137 $as_echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
   6138 See \`config.log' for more details." >&2;}
   6139    { (exit 1); exit 1; }; }; }
   6140 fi
   6141 
   6142 ac_ext=cpp
   6143 ac_cpp='$CXXCPP $CPPFLAGS'
   6144 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   6145 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   6146 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   6147 
   6148 fi
   6149 
   6150 
   6151 ac_ext=f
   6152 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
   6153 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   6154 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
   6155 if test -n "$ac_tool_prefix"; then
   6156   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
   6157   do
   6158     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   6159 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   6160 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   6161 $as_echo_n "checking for $ac_word... " >&6; }
   6162 if test "${ac_cv_prog_F77+set}" = set; then
   6163   $as_echo_n "(cached) " >&6
   6164 else
   6165   if test -n "$F77"; then
   6166   ac_cv_prog_F77="$F77" # Let the user override the test.
   6167 else
   6168 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6169 for as_dir in $PATH
   6170 do
   6171   IFS=$as_save_IFS
   6172   test -z "$as_dir" && as_dir=.
   6173   for ac_exec_ext in '' $ac_executable_extensions; do
   6174   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6175     ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
   6176     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6177     break 2
   6178   fi
   6179 done
   6180 done
   6181 IFS=$as_save_IFS
   6182 
   6183 fi
   6184 fi
   6185 F77=$ac_cv_prog_F77
   6186 if test -n "$F77"; then
   6187   { $as_echo "$as_me:$LINENO: result: $F77" >&5
   6188 $as_echo "$F77" >&6; }
   6189 else
   6190   { $as_echo "$as_me:$LINENO: result: no" >&5
   6191 $as_echo "no" >&6; }
   6192 fi
   6193 
   6194 
   6195     test -n "$F77" && break
   6196   done
   6197 fi
   6198 if test -z "$F77"; then
   6199   ac_ct_F77=$F77
   6200   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
   6201 do
   6202   # Extract the first word of "$ac_prog", so it can be a program name with args.
   6203 set dummy $ac_prog; ac_word=$2
   6204 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   6205 $as_echo_n "checking for $ac_word... " >&6; }
   6206 if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
   6207   $as_echo_n "(cached) " >&6
   6208 else
   6209   if test -n "$ac_ct_F77"; then
   6210   ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test.
   6211 else
   6212 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6213 for as_dir in $PATH
   6214 do
   6215   IFS=$as_save_IFS
   6216   test -z "$as_dir" && as_dir=.
   6217   for ac_exec_ext in '' $ac_executable_extensions; do
   6218   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6219     ac_cv_prog_ac_ct_F77="$ac_prog"
   6220     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6221     break 2
   6222   fi
   6223 done
   6224 done
   6225 IFS=$as_save_IFS
   6226 
   6227 fi
   6228 fi
   6229 ac_ct_F77=$ac_cv_prog_ac_ct_F77
   6230 if test -n "$ac_ct_F77"; then
   6231   { $as_echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
   6232 $as_echo "$ac_ct_F77" >&6; }
   6233 else
   6234   { $as_echo "$as_me:$LINENO: result: no" >&5
   6235 $as_echo "no" >&6; }
   6236 fi
   6237 
   6238 
   6239   test -n "$ac_ct_F77" && break
   6240 done
   6241 
   6242   if test "x$ac_ct_F77" = x; then
   6243     F77=""
   6244   else
   6245     case $cross_compiling:$ac_tool_warned in
   6246 yes:)
   6247 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   6248 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6249 ac_tool_warned=yes ;;
   6250 esac
   6251     F77=$ac_ct_F77
   6252   fi
   6253 fi
   6254 
   6255 
   6256 # Provide some information about the compiler.
   6257 $as_echo "$as_me:$LINENO: checking for Fortran 77 compiler version" >&5
   6258 set X $ac_compile
   6259 ac_compiler=$2
   6260 { (ac_try="$ac_compiler --version >&5"
   6261 case "(($ac_try" in
   6262   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6263   *) ac_try_echo=$ac_try;;
   6264 esac
   6265 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   6266 $as_echo "$ac_try_echo") >&5
   6267   (eval "$ac_compiler --version >&5") 2>&5
   6268   ac_status=$?
   6269   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6270   (exit $ac_status); }
   6271 { (ac_try="$ac_compiler -v >&5"
   6272 case "(($ac_try" in
   6273   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6274   *) ac_try_echo=$ac_try;;
   6275 esac
   6276 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   6277 $as_echo "$ac_try_echo") >&5
   6278   (eval "$ac_compiler -v >&5") 2>&5
   6279   ac_status=$?
   6280   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6281   (exit $ac_status); }
   6282 { (ac_try="$ac_compiler -V >&5"
   6283 case "(($ac_try" in
   6284   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6285   *) ac_try_echo=$ac_try;;
   6286 esac
   6287 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   6288 $as_echo "$ac_try_echo") >&5
   6289   (eval "$ac_compiler -V >&5") 2>&5
   6290   ac_status=$?
   6291   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6292   (exit $ac_status); }
   6293 rm -f a.out
   6294 
   6295 # If we don't use `.F' as extension, the preprocessor is not run on the
   6296 # input file.  (Note that this only needs to work for GNU compilers.)
   6297 ac_save_ext=$ac_ext
   6298 ac_ext=F
   6299 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
   6300 $as_echo_n "checking whether we are using the GNU Fortran 77 compiler... " >&6; }
   6301 if test "${ac_cv_f77_compiler_gnu+set}" = set; then
   6302   $as_echo_n "(cached) " >&6
   6303 else
   6304   cat >conftest.$ac_ext <<_ACEOF
   6305       program main
   6306 #ifndef __GNUC__
   6307        choke me
   6308 #endif
   6309 
   6310       end
   6311 _ACEOF
   6312 rm -f conftest.$ac_objext
   6313 if { (ac_try="$ac_compile"
   6314 case "(($ac_try" in
   6315   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6316   *) ac_try_echo=$ac_try;;
   6317 esac
   6318 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   6319 $as_echo "$ac_try_echo") >&5
   6320   (eval "$ac_compile") 2>conftest.er1
   6321   ac_status=$?
   6322   grep -v '^ *+' conftest.er1 >conftest.err
   6323   rm -f conftest.er1
   6324   cat conftest.err >&5
   6325   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6326   (exit $ac_status); } && {
   6327 	 test -z "$ac_f77_werror_flag" ||
   6328 	 test ! -s conftest.err
   6329        } && test -s conftest.$ac_objext; then
   6330   ac_compiler_gnu=yes
   6331 else
   6332   $as_echo "$as_me: failed program was:" >&5
   6333 sed 's/^/| /' conftest.$ac_ext >&5
   6334 
   6335 	ac_compiler_gnu=no
   6336 fi
   6337 
   6338 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6339 ac_cv_f77_compiler_gnu=$ac_compiler_gnu
   6340 
   6341 fi
   6342 { $as_echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
   6343 $as_echo "$ac_cv_f77_compiler_gnu" >&6; }
   6344 ac_ext=$ac_save_ext
   6345 ac_test_FFLAGS=${FFLAGS+set}
   6346 ac_save_FFLAGS=$FFLAGS
   6347 FFLAGS=
   6348 { $as_echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
   6349 $as_echo_n "checking whether $F77 accepts -g... " >&6; }
   6350 if test "${ac_cv_prog_f77_g+set}" = set; then
   6351   $as_echo_n "(cached) " >&6
   6352 else
   6353   FFLAGS=-g
   6354 cat >conftest.$ac_ext <<_ACEOF
   6355       program main
   6356 
   6357       end
   6358 _ACEOF
   6359 rm -f conftest.$ac_objext
   6360 if { (ac_try="$ac_compile"
   6361 case "(($ac_try" in
   6362   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6363   *) ac_try_echo=$ac_try;;
   6364 esac
   6365 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   6366 $as_echo "$ac_try_echo") >&5
   6367   (eval "$ac_compile") 2>conftest.er1
   6368   ac_status=$?
   6369   grep -v '^ *+' conftest.er1 >conftest.err
   6370   rm -f conftest.er1
   6371   cat conftest.err >&5
   6372   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6373   (exit $ac_status); } && {
   6374 	 test -z "$ac_f77_werror_flag" ||
   6375 	 test ! -s conftest.err
   6376        } && test -s conftest.$ac_objext; then
   6377   ac_cv_prog_f77_g=yes
   6378 else
   6379   $as_echo "$as_me: failed program was:" >&5
   6380 sed 's/^/| /' conftest.$ac_ext >&5
   6381 
   6382 	ac_cv_prog_f77_g=no
   6383 fi
   6384 
   6385 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6386 
   6387 fi
   6388 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
   6389 $as_echo "$ac_cv_prog_f77_g" >&6; }
   6390 if test "$ac_test_FFLAGS" = set; then
   6391   FFLAGS=$ac_save_FFLAGS
   6392 elif test $ac_cv_prog_f77_g = yes; then
   6393   if test "x$ac_cv_f77_compiler_gnu" = xyes; then
   6394     FFLAGS="-g -O2"
   6395   else
   6396     FFLAGS="-g"
   6397   fi
   6398 else
   6399   if test "x$ac_cv_f77_compiler_gnu" = xyes; then
   6400     FFLAGS="-O2"
   6401   else
   6402     FFLAGS=
   6403   fi
   6404 fi
   6405 
   6406 if test $ac_compiler_gnu = yes; then
   6407   G77=yes
   6408 else
   6409   G77=
   6410 fi
   6411 ac_ext=c
   6412 ac_cpp='$CPP $CPPFLAGS'
   6413 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   6414 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   6415 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   6416 
   6417 
   6418 
   6419 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
   6420 # find the maximum length of command line arguments
   6421 { $as_echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
   6422 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
   6423 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
   6424   $as_echo_n "(cached) " >&6
   6425 else
   6426     i=0
   6427   teststring="ABCD"
   6428 
   6429   case $build_os in
   6430   msdosdjgpp*)
   6431     # On DJGPP, this test can blow up pretty badly due to problems in libc
   6432     # (any single argument exceeding 2000 bytes causes a buffer overrun
   6433     # during glob expansion).  Even if it were fixed, the result of this
   6434     # check would be larger than it should be.
   6435     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
   6436     ;;
   6437 
   6438   gnu*)
   6439     # Under GNU Hurd, this test is not required because there is
   6440     # no limit to the length of command line arguments.
   6441     # Libtool will interpret -1 as no limit whatsoever
   6442     lt_cv_sys_max_cmd_len=-1;
   6443     ;;
   6444 
   6445   cygwin* | mingw*)
   6446     # On Win9x/ME, this test blows up -- it succeeds, but takes
   6447     # about 5 minutes as the teststring grows exponentially.
   6448     # Worse, since 9x/ME are not pre-emptively multitasking,
   6449     # you end up with a "frozen" computer, even though with patience
   6450     # the test eventually succeeds (with a max line length of 256k).
   6451     # Instead, let's just punt: use the minimum linelength reported by
   6452     # all of the supported platforms: 8192 (on NT/2K/XP).
   6453     lt_cv_sys_max_cmd_len=8192;
   6454     ;;
   6455 
   6456   amigaos*)
   6457     # On AmigaOS with pdksh, this test takes hours, literally.
   6458     # So we just punt and use a minimum line length of 8192.
   6459     lt_cv_sys_max_cmd_len=8192;
   6460     ;;
   6461 
   6462   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
   6463     # This has been around since 386BSD, at least.  Likely further.
   6464     if test -x /sbin/sysctl; then
   6465       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
   6466     elif test -x /usr/sbin/sysctl; then
   6467       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
   6468     else
   6469       lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
   6470     fi
   6471     # And add a safety zone
   6472     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   6473     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   6474     ;;
   6475 
   6476   interix*)
   6477     # We know the value 262144 and hardcode it with a safety zone (like BSD)
   6478     lt_cv_sys_max_cmd_len=196608
   6479     ;;
   6480 
   6481   osf*)
   6482     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
   6483     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
   6484     # nice to cause kernel panics so lets avoid the loop below.
   6485     # First set a reasonable default.
   6486     lt_cv_sys_max_cmd_len=16384
   6487     #
   6488     if test -x /sbin/sysconfig; then
   6489       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
   6490         *1*) lt_cv_sys_max_cmd_len=-1 ;;
   6491       esac
   6492     fi
   6493     ;;
   6494   sco3.2v5*)
   6495     lt_cv_sys_max_cmd_len=102400
   6496     ;;
   6497   sysv5* | sco5v6* | sysv4.2uw2*)
   6498     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
   6499     if test -n "$kargmax"; then
   6500       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ 	]//'`
   6501     else
   6502       lt_cv_sys_max_cmd_len=32768
   6503     fi
   6504     ;;
   6505   *)
   6506     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
   6507     if test -n "$lt_cv_sys_max_cmd_len"; then
   6508       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   6509       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   6510     else
   6511       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
   6512       while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
   6513 	       = "XX$teststring") >/dev/null 2>&1 &&
   6514 	      new_result=`expr "X$teststring" : ".*" 2>&1` &&
   6515 	      lt_cv_sys_max_cmd_len=$new_result &&
   6516 	      test $i != 17 # 1/2 MB should be enough
   6517       do
   6518         i=`expr $i + 1`
   6519         teststring=$teststring$teststring
   6520       done
   6521       teststring=
   6522       # Add a significant safety factor because C++ compilers can tack on massive
   6523       # amounts of additional arguments before passing them to the linker.
   6524       # It appears as though 1/2 is a usable value.
   6525       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
   6526     fi
   6527     ;;
   6528   esac
   6529 
   6530 fi
   6531 
   6532 if test -n $lt_cv_sys_max_cmd_len ; then
   6533   { $as_echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
   6534 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
   6535 else
   6536   { $as_echo "$as_me:$LINENO: result: none" >&5
   6537 $as_echo "none" >&6; }
   6538 fi
   6539 
   6540 
   6541 
   6542 
   6543 
   6544 # Check for command to grab the raw symbol name followed by C symbol from nm.
   6545 { $as_echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
   6546 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
   6547 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
   6548   $as_echo_n "(cached) " >&6
   6549 else
   6550 
   6551 # These are sane defaults that work on at least a few old systems.
   6552 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
   6553 
   6554 # Character class describing NM global symbol codes.
   6555 symcode='[BCDEGRST]'
   6556 
   6557 # Regexp to match symbols that can be accessed directly from C.
   6558 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
   6559 
   6560 # Transform an extracted symbol line into a proper C declaration
   6561 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
   6562 
   6563 # Transform an extracted symbol line into symbol name and symbol address
   6564 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'"
   6565 
   6566 # Define system-specific variables.
   6567 case $host_os in
   6568 aix*)
   6569   symcode='[BCDT]'
   6570   ;;
   6571 cygwin* | mingw* | pw32*)
   6572   symcode='[ABCDGISTW]'
   6573   ;;
   6574 hpux*) # Its linker distinguishes data from code symbols
   6575   if test "$host_cpu" = ia64; then
   6576     symcode='[ABCDEGRST]'
   6577   fi
   6578   lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
   6579   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'"
   6580   ;;
   6581 linux* | k*bsd*-gnu)
   6582   if test "$host_cpu" = ia64; then
   6583     symcode='[ABCDGIRSTW]'
   6584     lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
   6585     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'"
   6586   fi
   6587   ;;
   6588 irix* | nonstopux*)
   6589   symcode='[BCDEGRST]'
   6590   ;;
   6591 osf*)
   6592   symcode='[BCDEGQRST]'
   6593   ;;
   6594 solaris*)
   6595   symcode='[BDRT]'
   6596   ;;
   6597 sco3.2v5*)
   6598   symcode='[DT]'
   6599   ;;
   6600 sysv4.2uw2*)
   6601   symcode='[DT]'
   6602   ;;
   6603 sysv5* | sco5v6* | unixware* | OpenUNIX*)
   6604   symcode='[ABDT]'
   6605   ;;
   6606 sysv4)
   6607   symcode='[DFNSTU]'
   6608   ;;
   6609 esac
   6610 
   6611 # Handle CRLF in mingw tool chain
   6612 opt_cr=
   6613 case $build_os in
   6614 mingw*)
   6615   opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
   6616   ;;
   6617 esac
   6618 
   6619 # If we're using GNU nm, then use its standard symbol codes.
   6620 case `$NM -V 2>&1` in
   6621 *GNU* | *'with BFD'*)
   6622   symcode='[ABCDGIRSTW]' ;;
   6623 esac
   6624 
   6625 # Try without a prefix undercore, then with it.
   6626 for ac_symprfx in "" "_"; do
   6627 
   6628   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
   6629   symxfrm="\\1 $ac_symprfx\\2 \\2"
   6630 
   6631   # Write the raw and C identifiers.
   6632   lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ 	]\($symcode$symcode*\)[ 	][ 	]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
   6633 
   6634   # Check to see that the pipe works correctly.
   6635   pipe_works=no
   6636 
   6637   rm -f conftest*
   6638   cat > conftest.$ac_ext <<EOF
   6639 #ifdef __cplusplus
   6640 extern "C" {
   6641 #endif
   6642 char nm_test_var;
   6643 void nm_test_func(){}
   6644 #ifdef __cplusplus
   6645 }
   6646 #endif
   6647 int main(){nm_test_var='a';nm_test_func();return(0);}
   6648 EOF
   6649 
   6650   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   6651   (eval $ac_compile) 2>&5
   6652   ac_status=$?
   6653   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6654   (exit $ac_status); }; then
   6655     # Now try to grab the symbols.
   6656     nlist=conftest.nm
   6657     if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
   6658   (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
   6659   ac_status=$?
   6660   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6661   (exit $ac_status); } && test -s "$nlist"; then
   6662       # Try sorting and uniquifying the output.
   6663       if sort "$nlist" | uniq > "$nlist"T; then
   6664 	mv -f "$nlist"T "$nlist"
   6665       else
   6666 	rm -f "$nlist"T
   6667       fi
   6668 
   6669       # Make sure that we snagged all the symbols we need.
   6670       if grep ' nm_test_var$' "$nlist" >/dev/null; then
   6671 	if grep ' nm_test_func$' "$nlist" >/dev/null; then
   6672 	  cat <<EOF > conftest.$ac_ext
   6673 #ifdef __cplusplus
   6674 extern "C" {
   6675 #endif
   6676 
   6677 EOF
   6678 	  # Now generate the symbol file.
   6679 	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
   6680 
   6681 	  cat <<EOF >> conftest.$ac_ext
   6682 #if defined (__STDC__) && __STDC__
   6683 # define lt_ptr_t void *
   6684 #else
   6685 # define lt_ptr_t char *
   6686 # define const
   6687 #endif
   6688 
   6689 /* The mapping between symbol names and symbols. */
   6690 const struct {
   6691   const char *name;
   6692   lt_ptr_t address;
   6693 }
   6694 lt_preloaded_symbols[] =
   6695 {
   6696 EOF
   6697 	  $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext
   6698 	  cat <<\EOF >> conftest.$ac_ext
   6699   {0, (lt_ptr_t) 0}
   6700 };
   6701 
   6702 #ifdef __cplusplus
   6703 }
   6704 #endif
   6705 EOF
   6706 	  # Now try linking the two files.
   6707 	  mv conftest.$ac_objext conftstm.$ac_objext
   6708 	  lt_save_LIBS="$LIBS"
   6709 	  lt_save_CFLAGS="$CFLAGS"
   6710 	  LIBS="conftstm.$ac_objext"
   6711 	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
   6712 	  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   6713   (eval $ac_link) 2>&5
   6714   ac_status=$?
   6715   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6716   (exit $ac_status); } && test -s conftest${ac_exeext}; then
   6717 	    pipe_works=yes
   6718 	  fi
   6719 	  LIBS="$lt_save_LIBS"
   6720 	  CFLAGS="$lt_save_CFLAGS"
   6721 	else
   6722 	  echo "cannot find nm_test_func in $nlist" >&5
   6723 	fi
   6724       else
   6725 	echo "cannot find nm_test_var in $nlist" >&5
   6726       fi
   6727     else
   6728       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
   6729     fi
   6730   else
   6731     echo "$progname: failed program was:" >&5
   6732     cat conftest.$ac_ext >&5
   6733   fi
   6734   rm -rf conftest* conftst*
   6735 
   6736   # Do not use the global_symbol_pipe unless it works.
   6737   if test "$pipe_works" = yes; then
   6738     break
   6739   else
   6740     lt_cv_sys_global_symbol_pipe=
   6741   fi
   6742 done
   6743 
   6744 fi
   6745 
   6746 if test -z "$lt_cv_sys_global_symbol_pipe"; then
   6747   lt_cv_sys_global_symbol_to_cdecl=
   6748 fi
   6749 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
   6750   { $as_echo "$as_me:$LINENO: result: failed" >&5
   6751 $as_echo "failed" >&6; }
   6752 else
   6753   { $as_echo "$as_me:$LINENO: result: ok" >&5
   6754 $as_echo "ok" >&6; }
   6755 fi
   6756 
   6757 { $as_echo "$as_me:$LINENO: checking for objdir" >&5
   6758 $as_echo_n "checking for objdir... " >&6; }
   6759 if test "${lt_cv_objdir+set}" = set; then
   6760   $as_echo_n "(cached) " >&6
   6761 else
   6762   rm -f .libs 2>/dev/null
   6763 mkdir .libs 2>/dev/null
   6764 if test -d .libs; then
   6765   lt_cv_objdir=.libs
   6766 else
   6767   # MS-DOS does not allow filenames that begin with a dot.
   6768   lt_cv_objdir=_libs
   6769 fi
   6770 rmdir .libs 2>/dev/null
   6771 fi
   6772 { $as_echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
   6773 $as_echo "$lt_cv_objdir" >&6; }
   6774 objdir=$lt_cv_objdir
   6775 
   6776 
   6777 
   6778 
   6779 
   6780 case $host_os in
   6781 aix3*)
   6782   # AIX sometimes has problems with the GCC collect2 program.  For some
   6783   # reason, if we set the COLLECT_NAMES environment variable, the problems
   6784   # vanish in a puff of smoke.
   6785   if test "X${COLLECT_NAMES+set}" != Xset; then
   6786     COLLECT_NAMES=
   6787     export COLLECT_NAMES
   6788   fi
   6789   ;;
   6790 esac
   6791 
   6792 # Sed substitution that helps us do robust quoting.  It backslashifies
   6793 # metacharacters that are still active within double-quoted strings.
   6794 Xsed='sed -e 1s/^X//'
   6795 sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g'
   6796 
   6797 # Same as above, but do not quote variable references.
   6798 double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g'
   6799 
   6800 # Sed substitution to delay expansion of an escaped shell variable in a
   6801 # double_quote_subst'ed string.
   6802 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
   6803 
   6804 # Sed substitution to avoid accidental globbing in evaled expressions
   6805 no_glob_subst='s/\*/\\\*/g'
   6806 
   6807 # Constants:
   6808 rm="rm -f"
   6809 
   6810 # Global variables:
   6811 default_ofile=libtool
   6812 can_build_shared=yes
   6813 
   6814 # All known linkers require a `.a' archive for static linking (except MSVC,
   6815 # which needs '.lib').
   6816 libext=a
   6817 ltmain="$ac_aux_dir/ltmain.sh"
   6818 ofile="$default_ofile"
   6819 with_gnu_ld="$lt_cv_prog_gnu_ld"
   6820 
   6821 if test -n "$ac_tool_prefix"; then
   6822   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
   6823 set dummy ${ac_tool_prefix}ar; ac_word=$2
   6824 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   6825 $as_echo_n "checking for $ac_word... " >&6; }
   6826 if test "${ac_cv_prog_AR+set}" = set; then
   6827   $as_echo_n "(cached) " >&6
   6828 else
   6829   if test -n "$AR"; then
   6830   ac_cv_prog_AR="$AR" # Let the user override the test.
   6831 else
   6832 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6833 for as_dir in $PATH
   6834 do
   6835   IFS=$as_save_IFS
   6836   test -z "$as_dir" && as_dir=.
   6837   for ac_exec_ext in '' $ac_executable_extensions; do
   6838   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6839     ac_cv_prog_AR="${ac_tool_prefix}ar"
   6840     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6841     break 2
   6842   fi
   6843 done
   6844 done
   6845 IFS=$as_save_IFS
   6846 
   6847 fi
   6848 fi
   6849 AR=$ac_cv_prog_AR
   6850 if test -n "$AR"; then
   6851   { $as_echo "$as_me:$LINENO: result: $AR" >&5
   6852 $as_echo "$AR" >&6; }
   6853 else
   6854   { $as_echo "$as_me:$LINENO: result: no" >&5
   6855 $as_echo "no" >&6; }
   6856 fi
   6857 
   6858 
   6859 fi
   6860 if test -z "$ac_cv_prog_AR"; then
   6861   ac_ct_AR=$AR
   6862   # Extract the first word of "ar", so it can be a program name with args.
   6863 set dummy ar; ac_word=$2
   6864 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   6865 $as_echo_n "checking for $ac_word... " >&6; }
   6866 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
   6867   $as_echo_n "(cached) " >&6
   6868 else
   6869   if test -n "$ac_ct_AR"; then
   6870   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
   6871 else
   6872 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6873 for as_dir in $PATH
   6874 do
   6875   IFS=$as_save_IFS
   6876   test -z "$as_dir" && as_dir=.
   6877   for ac_exec_ext in '' $ac_executable_extensions; do
   6878   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6879     ac_cv_prog_ac_ct_AR="ar"
   6880     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6881     break 2
   6882   fi
   6883 done
   6884 done
   6885 IFS=$as_save_IFS
   6886 
   6887 fi
   6888 fi
   6889 ac_ct_AR=$ac_cv_prog_ac_ct_AR
   6890 if test -n "$ac_ct_AR"; then
   6891   { $as_echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
   6892 $as_echo "$ac_ct_AR" >&6; }
   6893 else
   6894   { $as_echo "$as_me:$LINENO: result: no" >&5
   6895 $as_echo "no" >&6; }
   6896 fi
   6897 
   6898   if test "x$ac_ct_AR" = x; then
   6899     AR="false"
   6900   else
   6901     case $cross_compiling:$ac_tool_warned in
   6902 yes:)
   6903 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   6904 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6905 ac_tool_warned=yes ;;
   6906 esac
   6907     AR=$ac_ct_AR
   6908   fi
   6909 else
   6910   AR="$ac_cv_prog_AR"
   6911 fi
   6912 
   6913 if test -n "$ac_tool_prefix"; then
   6914   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
   6915 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
   6916 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   6917 $as_echo_n "checking for $ac_word... " >&6; }
   6918 if test "${ac_cv_prog_RANLIB+set}" = set; then
   6919   $as_echo_n "(cached) " >&6
   6920 else
   6921   if test -n "$RANLIB"; then
   6922   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
   6923 else
   6924 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6925 for as_dir in $PATH
   6926 do
   6927   IFS=$as_save_IFS
   6928   test -z "$as_dir" && as_dir=.
   6929   for ac_exec_ext in '' $ac_executable_extensions; do
   6930   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6931     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
   6932     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6933     break 2
   6934   fi
   6935 done
   6936 done
   6937 IFS=$as_save_IFS
   6938 
   6939 fi
   6940 fi
   6941 RANLIB=$ac_cv_prog_RANLIB
   6942 if test -n "$RANLIB"; then
   6943   { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
   6944 $as_echo "$RANLIB" >&6; }
   6945 else
   6946   { $as_echo "$as_me:$LINENO: result: no" >&5
   6947 $as_echo "no" >&6; }
   6948 fi
   6949 
   6950 
   6951 fi
   6952 if test -z "$ac_cv_prog_RANLIB"; then
   6953   ac_ct_RANLIB=$RANLIB
   6954   # Extract the first word of "ranlib", so it can be a program name with args.
   6955 set dummy ranlib; ac_word=$2
   6956 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   6957 $as_echo_n "checking for $ac_word... " >&6; }
   6958 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
   6959   $as_echo_n "(cached) " >&6
   6960 else
   6961   if test -n "$ac_ct_RANLIB"; then
   6962   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
   6963 else
   6964 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6965 for as_dir in $PATH
   6966 do
   6967   IFS=$as_save_IFS
   6968   test -z "$as_dir" && as_dir=.
   6969   for ac_exec_ext in '' $ac_executable_extensions; do
   6970   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6971     ac_cv_prog_ac_ct_RANLIB="ranlib"
   6972     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6973     break 2
   6974   fi
   6975 done
   6976 done
   6977 IFS=$as_save_IFS
   6978 
   6979 fi
   6980 fi
   6981 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
   6982 if test -n "$ac_ct_RANLIB"; then
   6983   { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
   6984 $as_echo "$ac_ct_RANLIB" >&6; }
   6985 else
   6986   { $as_echo "$as_me:$LINENO: result: no" >&5
   6987 $as_echo "no" >&6; }
   6988 fi
   6989 
   6990   if test "x$ac_ct_RANLIB" = x; then
   6991     RANLIB=":"
   6992   else
   6993     case $cross_compiling:$ac_tool_warned in
   6994 yes:)
   6995 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   6996 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6997 ac_tool_warned=yes ;;
   6998 esac
   6999     RANLIB=$ac_ct_RANLIB
   7000   fi
   7001 else
   7002   RANLIB="$ac_cv_prog_RANLIB"
   7003 fi
   7004 
   7005 if test -n "$ac_tool_prefix"; then
   7006   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   7007 set dummy ${ac_tool_prefix}strip; ac_word=$2
   7008 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   7009 $as_echo_n "checking for $ac_word... " >&6; }
   7010 if test "${ac_cv_prog_STRIP+set}" = set; then
   7011   $as_echo_n "(cached) " >&6
   7012 else
   7013   if test -n "$STRIP"; then
   7014   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   7015 else
   7016 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7017 for as_dir in $PATH
   7018 do
   7019   IFS=$as_save_IFS
   7020   test -z "$as_dir" && as_dir=.
   7021   for ac_exec_ext in '' $ac_executable_extensions; do
   7022   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7023     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   7024     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   7025     break 2
   7026   fi
   7027 done
   7028 done
   7029 IFS=$as_save_IFS
   7030 
   7031 fi
   7032 fi
   7033 STRIP=$ac_cv_prog_STRIP
   7034 if test -n "$STRIP"; then
   7035   { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
   7036 $as_echo "$STRIP" >&6; }
   7037 else
   7038   { $as_echo "$as_me:$LINENO: result: no" >&5
   7039 $as_echo "no" >&6; }
   7040 fi
   7041 
   7042 
   7043 fi
   7044 if test -z "$ac_cv_prog_STRIP"; then
   7045   ac_ct_STRIP=$STRIP
   7046   # Extract the first word of "strip", so it can be a program name with args.
   7047 set dummy strip; ac_word=$2
   7048 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   7049 $as_echo_n "checking for $ac_word... " >&6; }
   7050 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
   7051   $as_echo_n "(cached) " >&6
   7052 else
   7053   if test -n "$ac_ct_STRIP"; then
   7054   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   7055 else
   7056 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7057 for as_dir in $PATH
   7058 do
   7059   IFS=$as_save_IFS
   7060   test -z "$as_dir" && as_dir=.
   7061   for ac_exec_ext in '' $ac_executable_extensions; do
   7062   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7063     ac_cv_prog_ac_ct_STRIP="strip"
   7064     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   7065     break 2
   7066   fi
   7067 done
   7068 done
   7069 IFS=$as_save_IFS
   7070 
   7071 fi
   7072 fi
   7073 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   7074 if test -n "$ac_ct_STRIP"; then
   7075   { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
   7076 $as_echo "$ac_ct_STRIP" >&6; }
   7077 else
   7078   { $as_echo "$as_me:$LINENO: result: no" >&5
   7079 $as_echo "no" >&6; }
   7080 fi
   7081 
   7082   if test "x$ac_ct_STRIP" = x; then
   7083     STRIP=":"
   7084   else
   7085     case $cross_compiling:$ac_tool_warned in
   7086 yes:)
   7087 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   7088 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7089 ac_tool_warned=yes ;;
   7090 esac
   7091     STRIP=$ac_ct_STRIP
   7092   fi
   7093 else
   7094   STRIP="$ac_cv_prog_STRIP"
   7095 fi
   7096 
   7097 
   7098 old_CC="$CC"
   7099 old_CFLAGS="$CFLAGS"
   7100 
   7101 # Set sane defaults for various variables
   7102 test -z "$AR" && AR=ar
   7103 test -z "$AR_FLAGS" && AR_FLAGS=cru
   7104 test -z "$AS" && AS=as
   7105 test -z "$CC" && CC=cc
   7106 test -z "$LTCC" && LTCC=$CC
   7107 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
   7108 test -z "$DLLTOOL" && DLLTOOL=dlltool
   7109 test -z "$LD" && LD=ld
   7110 test -z "$LN_S" && LN_S="ln -s"
   7111 test -z "$MAGIC_CMD" && MAGIC_CMD=file
   7112 test -z "$NM" && NM=nm
   7113 test -z "$SED" && SED=sed
   7114 test -z "$OBJDUMP" && OBJDUMP=objdump
   7115 test -z "$RANLIB" && RANLIB=:
   7116 test -z "$STRIP" && STRIP=:
   7117 test -z "$ac_objext" && ac_objext=o
   7118 
   7119 # Determine commands to create old-style static archives.
   7120 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
   7121 old_postinstall_cmds='chmod 644 $oldlib'
   7122 old_postuninstall_cmds=
   7123 
   7124 if test -n "$RANLIB"; then
   7125   case $host_os in
   7126   openbsd*)
   7127     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
   7128     ;;
   7129   *)
   7130     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
   7131     ;;
   7132   esac
   7133   old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
   7134 fi
   7135 
   7136 for cc_temp in $compiler""; do
   7137   case $cc_temp in
   7138     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   7139     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   7140     \-*) ;;
   7141     *) break;;
   7142   esac
   7143 done
   7144 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   7145 
   7146 
   7147 # Only perform the check for file, if the check method requires it
   7148 case $deplibs_check_method in
   7149 file_magic*)
   7150   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
   7151     { $as_echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
   7152 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
   7153 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
   7154   $as_echo_n "(cached) " >&6
   7155 else
   7156   case $MAGIC_CMD in
   7157 [\\/*] |  ?:[\\/]*)
   7158   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   7159   ;;
   7160 *)
   7161   lt_save_MAGIC_CMD="$MAGIC_CMD"
   7162   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   7163   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   7164   for ac_dir in $ac_dummy; do
   7165     IFS="$lt_save_ifs"
   7166     test -z "$ac_dir" && ac_dir=.
   7167     if test -f $ac_dir/${ac_tool_prefix}file; then
   7168       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
   7169       if test -n "$file_magic_test_file"; then
   7170 	case $deplibs_check_method in
   7171 	"file_magic "*)
   7172 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   7173 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7174 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   7175 	    $EGREP "$file_magic_regex" > /dev/null; then
   7176 	    :
   7177 	  else
   7178 	    cat <<EOF 1>&2
   7179 
   7180 *** Warning: the command libtool uses to detect shared libraries,
   7181 *** $file_magic_cmd, produces output that libtool cannot recognize.
   7182 *** The result is that libtool may fail to recognize shared libraries
   7183 *** as such.  This will affect the creation of libtool libraries that
   7184 *** depend on shared libraries, but programs linked with such libtool
   7185 *** libraries will work regardless of this problem.  Nevertheless, you
   7186 *** may want to report the problem to your system manager and/or to
   7187 *** bug-libtool@gnu.org
   7188 
   7189 EOF
   7190 	  fi ;;
   7191 	esac
   7192       fi
   7193       break
   7194     fi
   7195   done
   7196   IFS="$lt_save_ifs"
   7197   MAGIC_CMD="$lt_save_MAGIC_CMD"
   7198   ;;
   7199 esac
   7200 fi
   7201 
   7202 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7203 if test -n "$MAGIC_CMD"; then
   7204   { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
   7205 $as_echo "$MAGIC_CMD" >&6; }
   7206 else
   7207   { $as_echo "$as_me:$LINENO: result: no" >&5
   7208 $as_echo "no" >&6; }
   7209 fi
   7210 
   7211 if test -z "$lt_cv_path_MAGIC_CMD"; then
   7212   if test -n "$ac_tool_prefix"; then
   7213     { $as_echo "$as_me:$LINENO: checking for file" >&5
   7214 $as_echo_n "checking for file... " >&6; }
   7215 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
   7216   $as_echo_n "(cached) " >&6
   7217 else
   7218   case $MAGIC_CMD in
   7219 [\\/*] |  ?:[\\/]*)
   7220   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   7221   ;;
   7222 *)
   7223   lt_save_MAGIC_CMD="$MAGIC_CMD"
   7224   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   7225   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   7226   for ac_dir in $ac_dummy; do
   7227     IFS="$lt_save_ifs"
   7228     test -z "$ac_dir" && ac_dir=.
   7229     if test -f $ac_dir/file; then
   7230       lt_cv_path_MAGIC_CMD="$ac_dir/file"
   7231       if test -n "$file_magic_test_file"; then
   7232 	case $deplibs_check_method in
   7233 	"file_magic "*)
   7234 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   7235 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7236 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   7237 	    $EGREP "$file_magic_regex" > /dev/null; then
   7238 	    :
   7239 	  else
   7240 	    cat <<EOF 1>&2
   7241 
   7242 *** Warning: the command libtool uses to detect shared libraries,
   7243 *** $file_magic_cmd, produces output that libtool cannot recognize.
   7244 *** The result is that libtool may fail to recognize shared libraries
   7245 *** as such.  This will affect the creation of libtool libraries that
   7246 *** depend on shared libraries, but programs linked with such libtool
   7247 *** libraries will work regardless of this problem.  Nevertheless, you
   7248 *** may want to report the problem to your system manager and/or to
   7249 *** bug-libtool@gnu.org
   7250 
   7251 EOF
   7252 	  fi ;;
   7253 	esac
   7254       fi
   7255       break
   7256     fi
   7257   done
   7258   IFS="$lt_save_ifs"
   7259   MAGIC_CMD="$lt_save_MAGIC_CMD"
   7260   ;;
   7261 esac
   7262 fi
   7263 
   7264 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7265 if test -n "$MAGIC_CMD"; then
   7266   { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
   7267 $as_echo "$MAGIC_CMD" >&6; }
   7268 else
   7269   { $as_echo "$as_me:$LINENO: result: no" >&5
   7270 $as_echo "no" >&6; }
   7271 fi
   7272 
   7273   else
   7274     MAGIC_CMD=:
   7275   fi
   7276 fi
   7277 
   7278   fi
   7279   ;;
   7280 esac
   7281 
   7282 
   7283   case $host_os in
   7284     rhapsody* | darwin*)
   7285     if test -n "$ac_tool_prefix"; then
   7286   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
   7287 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
   7288 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   7289 $as_echo_n "checking for $ac_word... " >&6; }
   7290 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then
   7291   $as_echo_n "(cached) " >&6
   7292 else
   7293   if test -n "$DSYMUTIL"; then
   7294   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
   7295 else
   7296 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7297 for as_dir in $PATH
   7298 do
   7299   IFS=$as_save_IFS
   7300   test -z "$as_dir" && as_dir=.
   7301   for ac_exec_ext in '' $ac_executable_extensions; do
   7302   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7303     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
   7304     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   7305     break 2
   7306   fi
   7307 done
   7308 done
   7309 IFS=$as_save_IFS
   7310 
   7311 fi
   7312 fi
   7313 DSYMUTIL=$ac_cv_prog_DSYMUTIL
   7314 if test -n "$DSYMUTIL"; then
   7315   { $as_echo "$as_me:$LINENO: result: $DSYMUTIL" >&5
   7316 $as_echo "$DSYMUTIL" >&6; }
   7317 else
   7318   { $as_echo "$as_me:$LINENO: result: no" >&5
   7319 $as_echo "no" >&6; }
   7320 fi
   7321 
   7322 
   7323 fi
   7324 if test -z "$ac_cv_prog_DSYMUTIL"; then
   7325   ac_ct_DSYMUTIL=$DSYMUTIL
   7326   # Extract the first word of "dsymutil", so it can be a program name with args.
   7327 set dummy dsymutil; ac_word=$2
   7328 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   7329 $as_echo_n "checking for $ac_word... " >&6; }
   7330 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then
   7331   $as_echo_n "(cached) " >&6
   7332 else
   7333   if test -n "$ac_ct_DSYMUTIL"; then
   7334   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
   7335 else
   7336 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7337 for as_dir in $PATH
   7338 do
   7339   IFS=$as_save_IFS
   7340   test -z "$as_dir" && as_dir=.
   7341   for ac_exec_ext in '' $ac_executable_extensions; do
   7342   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7343     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
   7344     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   7345     break 2
   7346   fi
   7347 done
   7348 done
   7349 IFS=$as_save_IFS
   7350 
   7351 fi
   7352 fi
   7353 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
   7354 if test -n "$ac_ct_DSYMUTIL"; then
   7355   { $as_echo "$as_me:$LINENO: result: $ac_ct_DSYMUTIL" >&5
   7356 $as_echo "$ac_ct_DSYMUTIL" >&6; }
   7357 else
   7358   { $as_echo "$as_me:$LINENO: result: no" >&5
   7359 $as_echo "no" >&6; }
   7360 fi
   7361 
   7362   if test "x$ac_ct_DSYMUTIL" = x; then
   7363     DSYMUTIL=":"
   7364   else
   7365     case $cross_compiling:$ac_tool_warned in
   7366 yes:)
   7367 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   7368 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7369 ac_tool_warned=yes ;;
   7370 esac
   7371     DSYMUTIL=$ac_ct_DSYMUTIL
   7372   fi
   7373 else
   7374   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
   7375 fi
   7376 
   7377     if test -n "$ac_tool_prefix"; then
   7378   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
   7379 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
   7380 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   7381 $as_echo_n "checking for $ac_word... " >&6; }
   7382 if test "${ac_cv_prog_NMEDIT+set}" = set; then
   7383   $as_echo_n "(cached) " >&6
   7384 else
   7385   if test -n "$NMEDIT"; then
   7386   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
   7387 else
   7388 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7389 for as_dir in $PATH
   7390 do
   7391   IFS=$as_save_IFS
   7392   test -z "$as_dir" && as_dir=.
   7393   for ac_exec_ext in '' $ac_executable_extensions; do
   7394   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7395     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
   7396     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   7397     break 2
   7398   fi
   7399 done
   7400 done
   7401 IFS=$as_save_IFS
   7402 
   7403 fi
   7404 fi
   7405 NMEDIT=$ac_cv_prog_NMEDIT
   7406 if test -n "$NMEDIT"; then
   7407   { $as_echo "$as_me:$LINENO: result: $NMEDIT" >&5
   7408 $as_echo "$NMEDIT" >&6; }
   7409 else
   7410   { $as_echo "$as_me:$LINENO: result: no" >&5
   7411 $as_echo "no" >&6; }
   7412 fi
   7413 
   7414 
   7415 fi
   7416 if test -z "$ac_cv_prog_NMEDIT"; then
   7417   ac_ct_NMEDIT=$NMEDIT
   7418   # Extract the first word of "nmedit", so it can be a program name with args.
   7419 set dummy nmedit; ac_word=$2
   7420 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   7421 $as_echo_n "checking for $ac_word... " >&6; }
   7422 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then
   7423   $as_echo_n "(cached) " >&6
   7424 else
   7425   if test -n "$ac_ct_NMEDIT"; then
   7426   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
   7427 else
   7428 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7429 for as_dir in $PATH
   7430 do
   7431   IFS=$as_save_IFS
   7432   test -z "$as_dir" && as_dir=.
   7433   for ac_exec_ext in '' $ac_executable_extensions; do
   7434   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7435     ac_cv_prog_ac_ct_NMEDIT="nmedit"
   7436     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   7437     break 2
   7438   fi
   7439 done
   7440 done
   7441 IFS=$as_save_IFS
   7442 
   7443 fi
   7444 fi
   7445 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
   7446 if test -n "$ac_ct_NMEDIT"; then
   7447   { $as_echo "$as_me:$LINENO: result: $ac_ct_NMEDIT" >&5
   7448 $as_echo "$ac_ct_NMEDIT" >&6; }
   7449 else
   7450   { $as_echo "$as_me:$LINENO: result: no" >&5
   7451 $as_echo "no" >&6; }
   7452 fi
   7453 
   7454   if test "x$ac_ct_NMEDIT" = x; then
   7455     NMEDIT=":"
   7456   else
   7457     case $cross_compiling:$ac_tool_warned in
   7458 yes:)
   7459 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   7460 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7461 ac_tool_warned=yes ;;
   7462 esac
   7463     NMEDIT=$ac_ct_NMEDIT
   7464   fi
   7465 else
   7466   NMEDIT="$ac_cv_prog_NMEDIT"
   7467 fi
   7468 
   7469 
   7470     { $as_echo "$as_me:$LINENO: checking for -single_module linker flag" >&5
   7471 $as_echo_n "checking for -single_module linker flag... " >&6; }
   7472 if test "${lt_cv_apple_cc_single_mod+set}" = set; then
   7473   $as_echo_n "(cached) " >&6
   7474 else
   7475   lt_cv_apple_cc_single_mod=no
   7476       if test -z "${LT_MULTI_MODULE}"; then
   7477    # By default we will add the -single_module flag. You can override
   7478    # by either setting the environment variable LT_MULTI_MODULE
   7479    # non-empty at configure time, or by adding -multi_module to the
   7480    # link flags.
   7481    echo "int foo(void){return 1;}" > conftest.c
   7482    $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   7483      -dynamiclib ${wl}-single_module conftest.c
   7484    if test -f libconftest.dylib; then
   7485      lt_cv_apple_cc_single_mod=yes
   7486      rm -rf libconftest.dylib*
   7487    fi
   7488    rm conftest.c
   7489       fi
   7490 fi
   7491 { $as_echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5
   7492 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
   7493     { $as_echo "$as_me:$LINENO: checking for -exported_symbols_list linker flag" >&5
   7494 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
   7495 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then
   7496   $as_echo_n "(cached) " >&6
   7497 else
   7498   lt_cv_ld_exported_symbols_list=no
   7499       save_LDFLAGS=$LDFLAGS
   7500       echo "_main" > conftest.sym
   7501       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
   7502       cat >conftest.$ac_ext <<_ACEOF
   7503 /* confdefs.h.  */
   7504 _ACEOF
   7505 cat confdefs.h >>conftest.$ac_ext
   7506 cat >>conftest.$ac_ext <<_ACEOF
   7507 /* end confdefs.h.  */
   7508 
   7509 int
   7510 main ()
   7511 {
   7512 
   7513   ;
   7514   return 0;
   7515 }
   7516 _ACEOF
   7517 rm -f conftest.$ac_objext conftest$ac_exeext
   7518 if { (ac_try="$ac_link"
   7519 case "(($ac_try" in
   7520   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   7521   *) ac_try_echo=$ac_try;;
   7522 esac
   7523 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   7524 $as_echo "$ac_try_echo") >&5
   7525   (eval "$ac_link") 2>conftest.er1
   7526   ac_status=$?
   7527   grep -v '^ *+' conftest.er1 >conftest.err
   7528   rm -f conftest.er1
   7529   cat conftest.err >&5
   7530   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7531   (exit $ac_status); } && {
   7532 	 test -z "$ac_c_werror_flag" ||
   7533 	 test ! -s conftest.err
   7534        } && test -s conftest$ac_exeext && {
   7535 	 test "$cross_compiling" = yes ||
   7536 	 $as_test_x conftest$ac_exeext
   7537        }; then
   7538   lt_cv_ld_exported_symbols_list=yes
   7539 else
   7540   $as_echo "$as_me: failed program was:" >&5
   7541 sed 's/^/| /' conftest.$ac_ext >&5
   7542 
   7543 	lt_cv_ld_exported_symbols_list=no
   7544 fi
   7545 
   7546 rm -rf conftest.dSYM
   7547 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   7548       conftest$ac_exeext conftest.$ac_ext
   7549    LDFLAGS="$save_LDFLAGS"
   7550 
   7551 fi
   7552 { $as_echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5
   7553 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
   7554     case $host_os in
   7555     rhapsody* | darwin1.[0123])
   7556       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
   7557     darwin1.*)
   7558      _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
   7559     darwin*)
   7560       # if running on 10.5 or later, the deployment target defaults
   7561       # to the OS version, if on x86, and 10.4, the deployment
   7562       # target defaults to 10.4. Don't you love it?
   7563       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
   7564    10.0,*86*-darwin8*|10.0,*-darwin[91]*)
   7565      _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
   7566    10.[012]*)
   7567      _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
   7568    10.*)
   7569      _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
   7570       esac
   7571     ;;
   7572   esac
   7573     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
   7574       _lt_dar_single_mod='$single_module'
   7575     fi
   7576     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
   7577       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
   7578     else
   7579       _lt_dar_export_syms="~$NMEDIT -s \$output_objdir/\${libname}-symbols.expsym \${lib}"
   7580     fi
   7581     if test "$DSYMUTIL" != ":"; then
   7582       _lt_dsymutil="~$DSYMUTIL \$lib || :"
   7583     else
   7584       _lt_dsymutil=
   7585     fi
   7586     ;;
   7587   esac
   7588 
   7589 
   7590 enable_dlopen=no
   7591 enable_win32_dll=no
   7592 
   7593 # Check whether --enable-libtool-lock was given.
   7594 if test "${enable_libtool_lock+set}" = set; then
   7595   enableval=$enable_libtool_lock;
   7596 fi
   7597 
   7598 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
   7599 
   7600 
   7601 # Check whether --with-pic was given.
   7602 if test "${with_pic+set}" = set; then
   7603   withval=$with_pic; pic_mode="$withval"
   7604 else
   7605   pic_mode=default
   7606 fi
   7607 
   7608 test -z "$pic_mode" && pic_mode=default
   7609 
   7610 # Use C for the default configuration in the libtool script
   7611 tagname=
   7612 lt_save_CC="$CC"
   7613 ac_ext=c
   7614 ac_cpp='$CPP $CPPFLAGS'
   7615 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7616 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7617 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7618 
   7619 
   7620 # Source file extension for C test sources.
   7621 ac_ext=c
   7622 
   7623 # Object file extension for compiled C test sources.
   7624 objext=o
   7625 objext=$objext
   7626 
   7627 # Code to be used in simple compile tests
   7628 lt_simple_compile_test_code="int some_variable = 0;"
   7629 
   7630 # Code to be used in simple link tests
   7631 lt_simple_link_test_code='int main(){return(0);}'
   7632 
   7633 
   7634 # If no C compiler was specified, use CC.
   7635 LTCC=${LTCC-"$CC"}
   7636 
   7637 # If no C compiler flags were specified, use CFLAGS.
   7638 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   7639 
   7640 # Allow CC to be a program name with arguments.
   7641 compiler=$CC
   7642 
   7643 
   7644 # save warnings/boilerplate of simple test code
   7645 ac_outfile=conftest.$ac_objext
   7646 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   7647 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   7648 _lt_compiler_boilerplate=`cat conftest.err`
   7649 $rm conftest*
   7650 
   7651 ac_outfile=conftest.$ac_objext
   7652 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   7653 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   7654 _lt_linker_boilerplate=`cat conftest.err`
   7655 $rm -r conftest*
   7656 
   7657 
   7658 
   7659 lt_prog_compiler_no_builtin_flag=
   7660 
   7661 if test "$GCC" = yes; then
   7662   lt_prog_compiler_no_builtin_flag=' -fno-builtin'
   7663 
   7664 
   7665 { $as_echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
   7666 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
   7667 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
   7668   $as_echo_n "(cached) " >&6
   7669 else
   7670   lt_cv_prog_compiler_rtti_exceptions=no
   7671   ac_outfile=conftest.$ac_objext
   7672    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   7673    lt_compiler_flag="-fno-rtti -fno-exceptions"
   7674    # Insert the option either (1) after the last *FLAGS variable, or
   7675    # (2) before a word containing "conftest.", or (3) at the end.
   7676    # Note that $ac_compile itself does not contain backslashes and begins
   7677    # with a dollar sign (not a hyphen), so the echo should work correctly.
   7678    # The option is referenced via a variable to avoid confusing sed.
   7679    lt_compile=`echo "$ac_compile" | $SED \
   7680    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   7681    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   7682    -e 's:$: $lt_compiler_flag:'`
   7683    (eval echo "\"\$as_me:7683: $lt_compile\"" >&5)
   7684    (eval "$lt_compile" 2>conftest.err)
   7685    ac_status=$?
   7686    cat conftest.err >&5
   7687    echo "$as_me:7687: \$? = $ac_status" >&5
   7688    if (exit $ac_status) && test -s "$ac_outfile"; then
   7689      # The compiler can only warn and ignore the option if not recognized
   7690      # So say no if there are warnings other than the usual output.
   7691      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   7692      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   7693      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   7694        lt_cv_prog_compiler_rtti_exceptions=yes
   7695      fi
   7696    fi
   7697    $rm conftest*
   7698 
   7699 fi
   7700 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
   7701 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
   7702 
   7703 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
   7704     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
   7705 else
   7706     :
   7707 fi
   7708 
   7709 fi
   7710 
   7711 lt_prog_compiler_wl=
   7712 lt_prog_compiler_pic=
   7713 lt_prog_compiler_static=
   7714 
   7715 { $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
   7716 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
   7717 
   7718   if test "$GCC" = yes; then
   7719     lt_prog_compiler_wl='-Wl,'
   7720     lt_prog_compiler_static='-static'
   7721 
   7722     case $host_os in
   7723       aix*)
   7724       # All AIX code is PIC.
   7725       if test "$host_cpu" = ia64; then
   7726 	# AIX 5 now supports IA64 processor
   7727 	lt_prog_compiler_static='-Bstatic'
   7728       fi
   7729       ;;
   7730 
   7731     amigaos*)
   7732       # FIXME: we need at least 68020 code to build shared libraries, but
   7733       # adding the `-m68020' flag to GCC prevents building anything better,
   7734       # like `-m68040'.
   7735       lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
   7736       ;;
   7737 
   7738     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   7739       # PIC is the default for these OSes.
   7740       ;;
   7741 
   7742     mingw* | cygwin* | pw32* | os2*)
   7743       # This hack is so that the source file can tell whether it is being
   7744       # built for inclusion in a dll (and should export symbols for example).
   7745       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   7746       # (--disable-auto-import) libraries
   7747       lt_prog_compiler_pic='-DDLL_EXPORT'
   7748       ;;
   7749 
   7750     darwin* | rhapsody*)
   7751       # PIC is the default on this platform
   7752       # Common symbols not allowed in MH_DYLIB files
   7753       lt_prog_compiler_pic='-fno-common'
   7754       ;;
   7755 
   7756     interix[3-9]*)
   7757       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   7758       # Instead, we relocate shared libraries at runtime.
   7759       ;;
   7760 
   7761     msdosdjgpp*)
   7762       # Just because we use GCC doesn't mean we suddenly get shared libraries
   7763       # on systems that don't support them.
   7764       lt_prog_compiler_can_build_shared=no
   7765       enable_shared=no
   7766       ;;
   7767 
   7768     sysv4*MP*)
   7769       if test -d /usr/nec; then
   7770 	lt_prog_compiler_pic=-Kconform_pic
   7771       fi
   7772       ;;
   7773 
   7774     hpux*)
   7775       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   7776       # not for PA HP-UX.
   7777       case $host_cpu in
   7778       hppa*64*|ia64*)
   7779 	# +Z the default
   7780 	;;
   7781       *)
   7782 	lt_prog_compiler_pic='-fPIC'
   7783 	;;
   7784       esac
   7785       ;;
   7786 
   7787     *)
   7788       lt_prog_compiler_pic='-fPIC'
   7789       ;;
   7790     esac
   7791   else
   7792     # PORTME Check for flag to pass linker flags through the system compiler.
   7793     case $host_os in
   7794     aix*)
   7795       lt_prog_compiler_wl='-Wl,'
   7796       if test "$host_cpu" = ia64; then
   7797 	# AIX 5 now supports IA64 processor
   7798 	lt_prog_compiler_static='-Bstatic'
   7799       else
   7800 	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
   7801       fi
   7802       ;;
   7803       darwin*)
   7804         # PIC is the default on this platform
   7805         # Common symbols not allowed in MH_DYLIB files
   7806        case $cc_basename in
   7807          xlc*)
   7808          lt_prog_compiler_pic='-qnocommon'
   7809          lt_prog_compiler_wl='-Wl,'
   7810          ;;
   7811        esac
   7812        ;;
   7813 
   7814     mingw* | cygwin* | pw32* | os2*)
   7815       # This hack is so that the source file can tell whether it is being
   7816       # built for inclusion in a dll (and should export symbols for example).
   7817       lt_prog_compiler_pic='-DDLL_EXPORT'
   7818       ;;
   7819 
   7820     hpux9* | hpux10* | hpux11*)
   7821       lt_prog_compiler_wl='-Wl,'
   7822       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   7823       # not for PA HP-UX.
   7824       case $host_cpu in
   7825       hppa*64*|ia64*)
   7826 	# +Z the default
   7827 	;;
   7828       *)
   7829 	lt_prog_compiler_pic='+Z'
   7830 	;;
   7831       esac
   7832       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   7833       lt_prog_compiler_static='${wl}-a ${wl}archive'
   7834       ;;
   7835 
   7836     irix5* | irix6* | nonstopux*)
   7837       lt_prog_compiler_wl='-Wl,'
   7838       # PIC (with -KPIC) is the default.
   7839       lt_prog_compiler_static='-non_shared'
   7840       ;;
   7841 
   7842     newsos6)
   7843       lt_prog_compiler_pic='-KPIC'
   7844       lt_prog_compiler_static='-Bstatic'
   7845       ;;
   7846 
   7847     linux* | k*bsd*-gnu)
   7848       case $cc_basename in
   7849       icc* | ecc*)
   7850 	lt_prog_compiler_wl='-Wl,'
   7851 	lt_prog_compiler_pic='-KPIC'
   7852 	lt_prog_compiler_static='-static'
   7853         ;;
   7854       pgcc* | pgf77* | pgf90* | pgf95*)
   7855         # Portland Group compilers (*not* the Pentium gcc compiler,
   7856 	# which looks to be a dead project)
   7857 	lt_prog_compiler_wl='-Wl,'
   7858 	lt_prog_compiler_pic='-fpic'
   7859 	lt_prog_compiler_static='-Bstatic'
   7860         ;;
   7861       ccc*)
   7862         lt_prog_compiler_wl='-Wl,'
   7863         # All Alpha code is PIC.
   7864         lt_prog_compiler_static='-non_shared'
   7865         ;;
   7866       *)
   7867         case `$CC -V 2>&1 | sed 5q` in
   7868 	*Sun\ C*)
   7869 	  # Sun C 5.9
   7870 	  lt_prog_compiler_pic='-KPIC'
   7871 	  lt_prog_compiler_static='-Bstatic'
   7872 	  lt_prog_compiler_wl='-Wl,'
   7873 	  ;;
   7874 	*Sun\ F*)
   7875 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   7876 	  lt_prog_compiler_pic='-KPIC'
   7877 	  lt_prog_compiler_static='-Bstatic'
   7878 	  lt_prog_compiler_wl=''
   7879 	  ;;
   7880 	esac
   7881 	;;
   7882       esac
   7883       ;;
   7884 
   7885     osf3* | osf4* | osf5*)
   7886       lt_prog_compiler_wl='-Wl,'
   7887       # All OSF/1 code is PIC.
   7888       lt_prog_compiler_static='-non_shared'
   7889       ;;
   7890 
   7891     rdos*)
   7892       lt_prog_compiler_static='-non_shared'
   7893       ;;
   7894 
   7895     solaris*)
   7896       lt_prog_compiler_pic='-KPIC'
   7897       lt_prog_compiler_static='-Bstatic'
   7898       case $cc_basename in
   7899       f77* | f90* | f95*)
   7900 	lt_prog_compiler_wl='-Qoption ld ';;
   7901       *)
   7902 	lt_prog_compiler_wl='-Wl,';;
   7903       esac
   7904       ;;
   7905 
   7906     sunos4*)
   7907       lt_prog_compiler_wl='-Qoption ld '
   7908       lt_prog_compiler_pic='-PIC'
   7909       lt_prog_compiler_static='-Bstatic'
   7910       ;;
   7911 
   7912     sysv4 | sysv4.2uw2* | sysv4.3*)
   7913       lt_prog_compiler_wl='-Wl,'
   7914       lt_prog_compiler_pic='-KPIC'
   7915       lt_prog_compiler_static='-Bstatic'
   7916       ;;
   7917 
   7918     sysv4*MP*)
   7919       if test -d /usr/nec ;then
   7920 	lt_prog_compiler_pic='-Kconform_pic'
   7921 	lt_prog_compiler_static='-Bstatic'
   7922       fi
   7923       ;;
   7924 
   7925     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   7926       lt_prog_compiler_wl='-Wl,'
   7927       lt_prog_compiler_pic='-KPIC'
   7928       lt_prog_compiler_static='-Bstatic'
   7929       ;;
   7930 
   7931     unicos*)
   7932       lt_prog_compiler_wl='-Wl,'
   7933       lt_prog_compiler_can_build_shared=no
   7934       ;;
   7935 
   7936     uts4*)
   7937       lt_prog_compiler_pic='-pic'
   7938       lt_prog_compiler_static='-Bstatic'
   7939       ;;
   7940 
   7941     *)
   7942       lt_prog_compiler_can_build_shared=no
   7943       ;;
   7944     esac
   7945   fi
   7946 
   7947 { $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
   7948 $as_echo "$lt_prog_compiler_pic" >&6; }
   7949 
   7950 #
   7951 # Check to make sure the PIC flag actually works.
   7952 #
   7953 if test -n "$lt_prog_compiler_pic"; then
   7954 
   7955 { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
   7956 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
   7957 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then
   7958   $as_echo_n "(cached) " >&6
   7959 else
   7960   lt_cv_prog_compiler_pic_works=no
   7961   ac_outfile=conftest.$ac_objext
   7962    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   7963    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
   7964    # Insert the option either (1) after the last *FLAGS variable, or
   7965    # (2) before a word containing "conftest.", or (3) at the end.
   7966    # Note that $ac_compile itself does not contain backslashes and begins
   7967    # with a dollar sign (not a hyphen), so the echo should work correctly.
   7968    # The option is referenced via a variable to avoid confusing sed.
   7969    lt_compile=`echo "$ac_compile" | $SED \
   7970    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   7971    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   7972    -e 's:$: $lt_compiler_flag:'`
   7973    (eval echo "\"\$as_me:7973: $lt_compile\"" >&5)
   7974    (eval "$lt_compile" 2>conftest.err)
   7975    ac_status=$?
   7976    cat conftest.err >&5
   7977    echo "$as_me:7977: \$? = $ac_status" >&5
   7978    if (exit $ac_status) && test -s "$ac_outfile"; then
   7979      # The compiler can only warn and ignore the option if not recognized
   7980      # So say no if there are warnings other than the usual output.
   7981      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   7982      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   7983      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   7984        lt_cv_prog_compiler_pic_works=yes
   7985      fi
   7986    fi
   7987    $rm conftest*
   7988 
   7989 fi
   7990 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5
   7991 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
   7992 
   7993 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
   7994     case $lt_prog_compiler_pic in
   7995      "" | " "*) ;;
   7996      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
   7997      esac
   7998 else
   7999     lt_prog_compiler_pic=
   8000      lt_prog_compiler_can_build_shared=no
   8001 fi
   8002 
   8003 fi
   8004 case $host_os in
   8005   # For platforms which do not support PIC, -DPIC is meaningless:
   8006   *djgpp*)
   8007     lt_prog_compiler_pic=
   8008     ;;
   8009   *)
   8010     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
   8011     ;;
   8012 esac
   8013 
   8014 #
   8015 # Check to make sure the static flag actually works.
   8016 #
   8017 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
   8018 { $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   8019 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   8020 if test "${lt_cv_prog_compiler_static_works+set}" = set; then
   8021   $as_echo_n "(cached) " >&6
   8022 else
   8023   lt_cv_prog_compiler_static_works=no
   8024    save_LDFLAGS="$LDFLAGS"
   8025    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   8026    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   8027    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   8028      # The linker can only warn and ignore the option if not recognized
   8029      # So say no if there are warnings
   8030      if test -s conftest.err; then
   8031        # Append any errors to the config.log.
   8032        cat conftest.err 1>&5
   8033        $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
   8034        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   8035        if diff conftest.exp conftest.er2 >/dev/null; then
   8036          lt_cv_prog_compiler_static_works=yes
   8037        fi
   8038      else
   8039        lt_cv_prog_compiler_static_works=yes
   8040      fi
   8041    fi
   8042    $rm -r conftest*
   8043    LDFLAGS="$save_LDFLAGS"
   8044 
   8045 fi
   8046 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5
   8047 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
   8048 
   8049 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
   8050     :
   8051 else
   8052     lt_prog_compiler_static=
   8053 fi
   8054 
   8055 
   8056 { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
   8057 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   8058 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
   8059   $as_echo_n "(cached) " >&6
   8060 else
   8061   lt_cv_prog_compiler_c_o=no
   8062    $rm -r conftest 2>/dev/null
   8063    mkdir conftest
   8064    cd conftest
   8065    mkdir out
   8066    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8067 
   8068    lt_compiler_flag="-o out/conftest2.$ac_objext"
   8069    # Insert the option either (1) after the last *FLAGS variable, or
   8070    # (2) before a word containing "conftest.", or (3) at the end.
   8071    # Note that $ac_compile itself does not contain backslashes and begins
   8072    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8073    lt_compile=`echo "$ac_compile" | $SED \
   8074    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8075    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8076    -e 's:$: $lt_compiler_flag:'`
   8077    (eval echo "\"\$as_me:8077: $lt_compile\"" >&5)
   8078    (eval "$lt_compile" 2>out/conftest.err)
   8079    ac_status=$?
   8080    cat out/conftest.err >&5
   8081    echo "$as_me:8081: \$? = $ac_status" >&5
   8082    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   8083    then
   8084      # The compiler can only warn and ignore the option if not recognized
   8085      # So say no if there are warnings
   8086      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
   8087      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   8088      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   8089        lt_cv_prog_compiler_c_o=yes
   8090      fi
   8091    fi
   8092    chmod u+w . 2>&5
   8093    $rm conftest*
   8094    # SGI C++ compiler will create directory out/ii_files/ for
   8095    # template instantiation
   8096    test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
   8097    $rm out/* && rmdir out
   8098    cd ..
   8099    rmdir conftest
   8100    $rm conftest*
   8101 
   8102 fi
   8103 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
   8104 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   8105 
   8106 
   8107 hard_links="nottested"
   8108 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
   8109   # do not overwrite the value of need_locks provided by the user
   8110   { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
   8111 $as_echo_n "checking if we can lock with hard links... " >&6; }
   8112   hard_links=yes
   8113   $rm conftest*
   8114   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   8115   touch conftest.a
   8116   ln conftest.a conftest.b 2>&5 || hard_links=no
   8117   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   8118   { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
   8119 $as_echo "$hard_links" >&6; }
   8120   if test "$hard_links" = no; then
   8121     { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   8122 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   8123     need_locks=warn
   8124   fi
   8125 else
   8126   need_locks=no
   8127 fi
   8128 
   8129 { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   8130 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   8131 
   8132   runpath_var=
   8133   allow_undefined_flag=
   8134   enable_shared_with_static_runtimes=no
   8135   archive_cmds=
   8136   archive_expsym_cmds=
   8137   old_archive_From_new_cmds=
   8138   old_archive_from_expsyms_cmds=
   8139   export_dynamic_flag_spec=
   8140   whole_archive_flag_spec=
   8141   thread_safe_flag_spec=
   8142   hardcode_libdir_flag_spec=
   8143   hardcode_libdir_flag_spec_ld=
   8144   hardcode_libdir_separator=
   8145   hardcode_direct=no
   8146   hardcode_minus_L=no
   8147   hardcode_shlibpath_var=unsupported
   8148   link_all_deplibs=unknown
   8149   hardcode_automatic=no
   8150   module_cmds=
   8151   module_expsym_cmds=
   8152   always_export_symbols=no
   8153   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   8154   # include_expsyms should be a list of space-separated symbols to be *always*
   8155   # included in the symbol list
   8156   include_expsyms=
   8157   # exclude_expsyms can be an extended regexp of symbols to exclude
   8158   # it will be wrapped by ` (' and `)$', so one must not match beginning or
   8159   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
   8160   # as well as any symbol that contains `d'.
   8161   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   8162   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   8163   # platforms (ab)use it in PIC code, but their linkers get confused if
   8164   # the symbol is explicitly referenced.  Since portable code cannot
   8165   # rely on this symbol name, it's probably fine to never include it in
   8166   # preloaded symbol tables.
   8167   # Exclude shared library initialization/finalization symbols.
   8168   extract_expsyms_cmds=
   8169   # Just being paranoid about ensuring that cc_basename is set.
   8170   for cc_temp in $compiler""; do
   8171   case $cc_temp in
   8172     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   8173     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   8174     \-*) ;;
   8175     *) break;;
   8176   esac
   8177 done
   8178 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   8179 
   8180   case $host_os in
   8181   cygwin* | mingw* | pw32*)
   8182     # FIXME: the MSVC++ port hasn't been tested in a loooong time
   8183     # When not using gcc, we currently assume that we are using
   8184     # Microsoft Visual C++.
   8185     if test "$GCC" != yes; then
   8186       with_gnu_ld=no
   8187     fi
   8188     ;;
   8189   interix*)
   8190     # we just hope/assume this is gcc and not c89 (= MSVC++)
   8191     with_gnu_ld=yes
   8192     ;;
   8193   openbsd*)
   8194     with_gnu_ld=no
   8195     ;;
   8196   esac
   8197 
   8198   ld_shlibs=yes
   8199   if test "$with_gnu_ld" = yes; then
   8200     # If archive_cmds runs LD, not CC, wlarc should be empty
   8201     wlarc='${wl}'
   8202 
   8203     # Set some defaults for GNU ld with shared library support. These
   8204     # are reset later if shared libraries are not supported. Putting them
   8205     # here allows them to be overridden if necessary.
   8206     runpath_var=LD_RUN_PATH
   8207     hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
   8208     export_dynamic_flag_spec='${wl}--export-dynamic'
   8209     # ancient GNU ld didn't support --whole-archive et. al.
   8210     if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
   8211 	whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   8212       else
   8213   	whole_archive_flag_spec=
   8214     fi
   8215     supports_anon_versioning=no
   8216     case `$LD -v 2>/dev/null` in
   8217       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   8218       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   8219       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   8220       *\ 2.11.*) ;; # other 2.11 versions
   8221       *) supports_anon_versioning=yes ;;
   8222     esac
   8223 
   8224     # See if GNU ld supports shared libraries.
   8225     case $host_os in
   8226     aix[3-9]*)
   8227       # On AIX/PPC, the GNU linker is very broken
   8228       if test "$host_cpu" != ia64; then
   8229 	ld_shlibs=no
   8230 	cat <<EOF 1>&2
   8231 
   8232 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
   8233 *** to be unable to reliably create shared libraries on AIX.
   8234 *** Therefore, libtool is disabling shared libraries support.  If you
   8235 *** really care for shared libraries, you may want to modify your PATH
   8236 *** so that a non-GNU linker is found, and then restart.
   8237 
   8238 EOF
   8239       fi
   8240       ;;
   8241 
   8242     amigaos*)
   8243       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)'
   8244       hardcode_libdir_flag_spec='-L$libdir'
   8245       hardcode_minus_L=yes
   8246 
   8247       # Samuel A. Falvo II <kc5tja (at] dolphin.openprojects.net> reports
   8248       # that the semantics of dynamic libraries on AmigaOS, at least up
   8249       # to version 4, is to share data among multiple programs linked
   8250       # with the same dynamic library.  Since this doesn't match the
   8251       # behavior of shared libraries on other platforms, we can't use
   8252       # them.
   8253       ld_shlibs=no
   8254       ;;
   8255 
   8256     beos*)
   8257       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   8258 	allow_undefined_flag=unsupported
   8259 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   8260 	# support --undefined.  This deserves some investigation.  FIXME
   8261 	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8262       else
   8263 	ld_shlibs=no
   8264       fi
   8265       ;;
   8266 
   8267     cygwin* | mingw* | pw32*)
   8268       # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
   8269       # as there is no search path for DLLs.
   8270       hardcode_libdir_flag_spec='-L$libdir'
   8271       allow_undefined_flag=unsupported
   8272       always_export_symbols=no
   8273       enable_shared_with_static_runtimes=yes
   8274       export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
   8275 
   8276       if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
   8277         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   8278 	# If the export-symbols file already is a .def file (1st line
   8279 	# is EXPORTS), use it as is; otherwise, prepend...
   8280 	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   8281 	  cp $export_symbols $output_objdir/$soname.def;
   8282 	else
   8283 	  echo EXPORTS > $output_objdir/$soname.def;
   8284 	  cat $export_symbols >> $output_objdir/$soname.def;
   8285 	fi~
   8286 	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   8287       else
   8288 	ld_shlibs=no
   8289       fi
   8290       ;;
   8291 
   8292     interix[3-9]*)
   8293       hardcode_direct=no
   8294       hardcode_shlibpath_var=no
   8295       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   8296       export_dynamic_flag_spec='${wl}-E'
   8297       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   8298       # Instead, shared libraries are loaded at an image base (0x10000000 by
   8299       # default) and relocated if they conflict, which is a slow very memory
   8300       # consuming and fragmenting process.  To avoid this, we pick a random,
   8301       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   8302       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   8303       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
   8304       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'
   8305       ;;
   8306 
   8307     gnu* | linux* | k*bsd*-gnu)
   8308       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   8309 	tmp_addflag=
   8310 	case $cc_basename,$host_cpu in
   8311 	pgcc*)				# Portland Group C compiler
   8312 	  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'
   8313 	  tmp_addflag=' $pic_flag'
   8314 	  ;;
   8315 	pgf77* | pgf90* | pgf95*)	# Portland Group f77 and f90 compilers
   8316 	  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'
   8317 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   8318 	ecc*,ia64* | icc*,ia64*)		# Intel C compiler on ia64
   8319 	  tmp_addflag=' -i_dynamic' ;;
   8320 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   8321 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   8322 	ifc* | ifort*)			# Intel Fortran compiler
   8323 	  tmp_addflag=' -nofor_main' ;;
   8324 	esac
   8325 	case `$CC -V 2>&1 | sed 5q` in
   8326 	*Sun\ C*)			# Sun C 5.9
   8327 	  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'
   8328 	  tmp_sharedflag='-G' ;;
   8329 	*Sun\ F*)			# Sun Fortran 8.3
   8330 	  tmp_sharedflag='-G' ;;
   8331 	*)
   8332 	  tmp_sharedflag='-shared' ;;
   8333 	esac
   8334 	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8335 
   8336 	if test $supports_anon_versioning = yes; then
   8337 	  archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~
   8338   cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   8339   $echo "local: *; };" >> $output_objdir/$libname.ver~
   8340 	  $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
   8341 	fi
   8342       else
   8343 	ld_shlibs=no
   8344       fi
   8345       ;;
   8346 
   8347     netbsd*)
   8348       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   8349 	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   8350 	wlarc=
   8351       else
   8352 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8353 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8354       fi
   8355       ;;
   8356 
   8357     solaris*)
   8358       if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
   8359 	ld_shlibs=no
   8360 	cat <<EOF 1>&2
   8361 
   8362 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   8363 *** create shared libraries on Solaris systems.  Therefore, libtool
   8364 *** is disabling shared libraries support.  We urge you to upgrade GNU
   8365 *** binutils to release 2.9.1 or newer.  Another option is to modify
   8366 *** your PATH or compiler configuration so that the native linker is
   8367 *** used, and then restart.
   8368 
   8369 EOF
   8370       elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   8371 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8372 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8373       else
   8374 	ld_shlibs=no
   8375       fi
   8376       ;;
   8377 
   8378     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   8379       case `$LD -v 2>&1` in
   8380         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   8381 	ld_shlibs=no
   8382 	cat <<_LT_EOF 1>&2
   8383 
   8384 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
   8385 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   8386 *** is disabling shared libraries support.  We urge you to upgrade GNU
   8387 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   8388 *** your PATH or compiler configuration so that the native linker is
   8389 *** used, and then restart.
   8390 
   8391 _LT_EOF
   8392 	;;
   8393 	*)
   8394 	  if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   8395 	    hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
   8396 	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
   8397 	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
   8398 	  else
   8399 	    ld_shlibs=no
   8400 	  fi
   8401 	;;
   8402       esac
   8403       ;;
   8404 
   8405     sunos4*)
   8406       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   8407       wlarc=
   8408       hardcode_direct=yes
   8409       hardcode_shlibpath_var=no
   8410       ;;
   8411 
   8412     *)
   8413       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   8414 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8415 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8416       else
   8417 	ld_shlibs=no
   8418       fi
   8419       ;;
   8420     esac
   8421 
   8422     if test "$ld_shlibs" = no; then
   8423       runpath_var=
   8424       hardcode_libdir_flag_spec=
   8425       export_dynamic_flag_spec=
   8426       whole_archive_flag_spec=
   8427     fi
   8428   else
   8429     # PORTME fill in a description of your system's linker (not GNU ld)
   8430     case $host_os in
   8431     aix3*)
   8432       allow_undefined_flag=unsupported
   8433       always_export_symbols=yes
   8434       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'
   8435       # Note: this linker hardcodes the directories in LIBPATH if there
   8436       # are no directories specified by -L.
   8437       hardcode_minus_L=yes
   8438       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
   8439 	# Neither direct hardcoding nor static linking is supported with a
   8440 	# broken collect2.
   8441 	hardcode_direct=unsupported
   8442       fi
   8443       ;;
   8444 
   8445     aix[4-9]*)
   8446       if test "$host_cpu" = ia64; then
   8447 	# On IA64, the linker does run time linking by default, so we don't
   8448 	# have to do anything special.
   8449 	aix_use_runtimelinking=no
   8450 	exp_sym_flag='-Bexport'
   8451 	no_entry_flag=""
   8452       else
   8453 	# If we're using GNU nm, then we don't want the "-C" option.
   8454 	# -C means demangle to AIX nm, but means don't demangle with GNU nm
   8455 	if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
   8456 	  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'
   8457 	else
   8458 	  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'
   8459 	fi
   8460 	aix_use_runtimelinking=no
   8461 
   8462 	# Test if we are trying to use run time linking or normal
   8463 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   8464 	# need to do runtime linking.
   8465 	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   8466 	  for ld_flag in $LDFLAGS; do
   8467   	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
   8468   	    aix_use_runtimelinking=yes
   8469   	    break
   8470   	  fi
   8471 	  done
   8472 	  ;;
   8473 	esac
   8474 
   8475 	exp_sym_flag='-bexport'
   8476 	no_entry_flag='-bnoentry'
   8477       fi
   8478 
   8479       # When large executables or shared objects are built, AIX ld can
   8480       # have problems creating the table of contents.  If linking a library
   8481       # or program results in "error TOC overflow" add -mminimal-toc to
   8482       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   8483       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   8484 
   8485       archive_cmds=''
   8486       hardcode_direct=yes
   8487       hardcode_libdir_separator=':'
   8488       link_all_deplibs=yes
   8489 
   8490       if test "$GCC" = yes; then
   8491 	case $host_os in aix4.[012]|aix4.[012].*)
   8492 	# We only want to do this on AIX 4.2 and lower, the check
   8493 	# below for broken collect2 doesn't work under 4.3+
   8494 	  collect2name=`${CC} -print-prog-name=collect2`
   8495 	  if test -f "$collect2name" && \
   8496   	   strings "$collect2name" | grep resolve_lib_name >/dev/null
   8497 	  then
   8498   	  # We have reworked collect2
   8499   	  :
   8500 	  else
   8501   	  # We have old collect2
   8502   	  hardcode_direct=unsupported
   8503   	  # It fails to find uninstalled libraries when the uninstalled
   8504   	  # path is not listed in the libpath.  Setting hardcode_minus_L
   8505   	  # to unsupported forces relinking
   8506   	  hardcode_minus_L=yes
   8507   	  hardcode_libdir_flag_spec='-L$libdir'
   8508   	  hardcode_libdir_separator=
   8509 	  fi
   8510 	  ;;
   8511 	esac
   8512 	shared_flag='-shared'
   8513 	if test "$aix_use_runtimelinking" = yes; then
   8514 	  shared_flag="$shared_flag "'${wl}-G'
   8515 	fi
   8516       else
   8517 	# not using gcc
   8518 	if test "$host_cpu" = ia64; then
   8519   	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   8520   	# chokes on -Wl,-G. The following line is correct:
   8521 	  shared_flag='-G'
   8522 	else
   8523 	  if test "$aix_use_runtimelinking" = yes; then
   8524 	    shared_flag='${wl}-G'
   8525 	  else
   8526 	    shared_flag='${wl}-bM:SRE'
   8527 	  fi
   8528 	fi
   8529       fi
   8530 
   8531       # It seems that -bexpall does not export symbols beginning with
   8532       # underscore (_), so it is better to generate a list of symbols to export.
   8533       always_export_symbols=yes
   8534       if test "$aix_use_runtimelinking" = yes; then
   8535 	# Warning - without using the other runtime loading flags (-brtl),
   8536 	# -berok will link without error, but may produce a broken library.
   8537 	allow_undefined_flag='-berok'
   8538        # Determine the default libpath from the value encoded in an empty executable.
   8539        cat >conftest.$ac_ext <<_ACEOF
   8540 /* confdefs.h.  */
   8541 _ACEOF
   8542 cat confdefs.h >>conftest.$ac_ext
   8543 cat >>conftest.$ac_ext <<_ACEOF
   8544 /* end confdefs.h.  */
   8545 
   8546 int
   8547 main ()
   8548 {
   8549 
   8550   ;
   8551   return 0;
   8552 }
   8553 _ACEOF
   8554 rm -f conftest.$ac_objext conftest$ac_exeext
   8555 if { (ac_try="$ac_link"
   8556 case "(($ac_try" in
   8557   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   8558   *) ac_try_echo=$ac_try;;
   8559 esac
   8560 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   8561 $as_echo "$ac_try_echo") >&5
   8562   (eval "$ac_link") 2>conftest.er1
   8563   ac_status=$?
   8564   grep -v '^ *+' conftest.er1 >conftest.err
   8565   rm -f conftest.er1
   8566   cat conftest.err >&5
   8567   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8568   (exit $ac_status); } && {
   8569 	 test -z "$ac_c_werror_flag" ||
   8570 	 test ! -s conftest.err
   8571        } && test -s conftest$ac_exeext && {
   8572 	 test "$cross_compiling" = yes ||
   8573 	 $as_test_x conftest$ac_exeext
   8574        }; then
   8575 
   8576 lt_aix_libpath_sed='
   8577     /Import File Strings/,/^$/ {
   8578 	/^0/ {
   8579 	    s/^0  *\(.*\)$/\1/
   8580 	    p
   8581 	}
   8582     }'
   8583 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   8584 # Check for a 64-bit object if we didn't find anything.
   8585 if test -z "$aix_libpath"; then
   8586   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   8587 fi
   8588 else
   8589   $as_echo "$as_me: failed program was:" >&5
   8590 sed 's/^/| /' conftest.$ac_ext >&5
   8591 
   8592 
   8593 fi
   8594 
   8595 rm -rf conftest.dSYM
   8596 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   8597       conftest$ac_exeext conftest.$ac_ext
   8598 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   8599 
   8600        hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   8601 	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"
   8602        else
   8603 	if test "$host_cpu" = ia64; then
   8604 	  hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
   8605 	  allow_undefined_flag="-z nodefs"
   8606 	  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"
   8607 	else
   8608 	 # Determine the default libpath from the value encoded in an empty executable.
   8609 	 cat >conftest.$ac_ext <<_ACEOF
   8610 /* confdefs.h.  */
   8611 _ACEOF
   8612 cat confdefs.h >>conftest.$ac_ext
   8613 cat >>conftest.$ac_ext <<_ACEOF
   8614 /* end confdefs.h.  */
   8615 
   8616 int
   8617 main ()
   8618 {
   8619 
   8620   ;
   8621   return 0;
   8622 }
   8623 _ACEOF
   8624 rm -f conftest.$ac_objext conftest$ac_exeext
   8625 if { (ac_try="$ac_link"
   8626 case "(($ac_try" in
   8627   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   8628   *) ac_try_echo=$ac_try;;
   8629 esac
   8630 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   8631 $as_echo "$ac_try_echo") >&5
   8632   (eval "$ac_link") 2>conftest.er1
   8633   ac_status=$?
   8634   grep -v '^ *+' conftest.er1 >conftest.err
   8635   rm -f conftest.er1
   8636   cat conftest.err >&5
   8637   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8638   (exit $ac_status); } && {
   8639 	 test -z "$ac_c_werror_flag" ||
   8640 	 test ! -s conftest.err
   8641        } && test -s conftest$ac_exeext && {
   8642 	 test "$cross_compiling" = yes ||
   8643 	 $as_test_x conftest$ac_exeext
   8644        }; then
   8645 
   8646 lt_aix_libpath_sed='
   8647     /Import File Strings/,/^$/ {
   8648 	/^0/ {
   8649 	    s/^0  *\(.*\)$/\1/
   8650 	    p
   8651 	}
   8652     }'
   8653 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   8654 # Check for a 64-bit object if we didn't find anything.
   8655 if test -z "$aix_libpath"; then
   8656   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   8657 fi
   8658 else
   8659   $as_echo "$as_me: failed program was:" >&5
   8660 sed 's/^/| /' conftest.$ac_ext >&5
   8661 
   8662 
   8663 fi
   8664 
   8665 rm -rf conftest.dSYM
   8666 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   8667       conftest$ac_exeext conftest.$ac_ext
   8668 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   8669 
   8670 	 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   8671 	  # Warning - without using the other run time loading flags,
   8672 	  # -berok will link without error, but may produce a broken library.
   8673 	  no_undefined_flag=' ${wl}-bernotok'
   8674 	  allow_undefined_flag=' ${wl}-berok'
   8675 	  # Exported symbols can be pulled into shared objects from archives
   8676 	  whole_archive_flag_spec='$convenience'
   8677 	  archive_cmds_need_lc=yes
   8678 	  # This is similar to how AIX traditionally builds its shared libraries.
   8679 	  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'
   8680 	fi
   8681       fi
   8682       ;;
   8683 
   8684     amigaos*)
   8685       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)'
   8686       hardcode_libdir_flag_spec='-L$libdir'
   8687       hardcode_minus_L=yes
   8688       # see comment about different semantics on the GNU ld section
   8689       ld_shlibs=no
   8690       ;;
   8691 
   8692     bsdi[45]*)
   8693       export_dynamic_flag_spec=-rdynamic
   8694       ;;
   8695 
   8696     cygwin* | mingw* | pw32*)
   8697       # When not using gcc, we currently assume that we are using
   8698       # Microsoft Visual C++.
   8699       # hardcode_libdir_flag_spec is actually meaningless, as there is
   8700       # no search path for DLLs.
   8701       hardcode_libdir_flag_spec=' '
   8702       allow_undefined_flag=unsupported
   8703       # Tell ltmain to make .lib files, not .a files.
   8704       libext=lib
   8705       # Tell ltmain to make .dll files, not .so files.
   8706       shrext_cmds=".dll"
   8707       # FIXME: Setting linknames here is a bad hack.
   8708       archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
   8709       # The linker will automatically build a .lib file if we build a DLL.
   8710       old_archive_From_new_cmds='true'
   8711       # FIXME: Should let the user specify the lib program.
   8712       old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
   8713       fix_srcfile_path='`cygpath -w "$srcfile"`'
   8714       enable_shared_with_static_runtimes=yes
   8715       ;;
   8716 
   8717     darwin* | rhapsody*)
   8718       case $host_os in
   8719         rhapsody* | darwin1.[012])
   8720          allow_undefined_flag='${wl}-undefined ${wl}suppress'
   8721          ;;
   8722        *) # Darwin 1.3 on
   8723          if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
   8724            allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   8725          else
   8726            case ${MACOSX_DEPLOYMENT_TARGET} in
   8727              10.[012])
   8728                allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   8729                ;;
   8730              10.*)
   8731                allow_undefined_flag='${wl}-undefined ${wl}dynamic_lookup'
   8732                ;;
   8733            esac
   8734          fi
   8735          ;;
   8736       esac
   8737       archive_cmds_need_lc=no
   8738       hardcode_direct=no
   8739       hardcode_automatic=yes
   8740       hardcode_shlibpath_var=unsupported
   8741       whole_archive_flag_spec=''
   8742       link_all_deplibs=yes
   8743     if test "$GCC" = yes ; then
   8744     	output_verbose_link_cmd='echo'
   8745         archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
   8746         module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
   8747         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}"
   8748         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}"
   8749     else
   8750       case $cc_basename in
   8751         xlc*)
   8752          output_verbose_link_cmd='echo'
   8753          archive_cmds='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
   8754          module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
   8755           # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
   8756          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}'
   8757           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}'
   8758           ;;
   8759        *)
   8760          ld_shlibs=no
   8761           ;;
   8762       esac
   8763     fi
   8764       ;;
   8765 
   8766     dgux*)
   8767       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8768       hardcode_libdir_flag_spec='-L$libdir'
   8769       hardcode_shlibpath_var=no
   8770       ;;
   8771 
   8772     freebsd1*)
   8773       ld_shlibs=no
   8774       ;;
   8775 
   8776     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   8777     # support.  Future versions do this automatically, but an explicit c++rt0.o
   8778     # does not break anything, and helps significantly (at the cost of a little
   8779     # extra space).
   8780     freebsd2.2*)
   8781       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   8782       hardcode_libdir_flag_spec='-R$libdir'
   8783       hardcode_direct=yes
   8784       hardcode_shlibpath_var=no
   8785       ;;
   8786 
   8787     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   8788     freebsd2*)
   8789       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   8790       hardcode_direct=yes
   8791       hardcode_minus_L=yes
   8792       hardcode_shlibpath_var=no
   8793       ;;
   8794 
   8795     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   8796     freebsd* | dragonfly*)
   8797       archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
   8798       hardcode_libdir_flag_spec='-R$libdir'
   8799       hardcode_direct=yes
   8800       hardcode_shlibpath_var=no
   8801       ;;
   8802 
   8803     hpux9*)
   8804       if test "$GCC" = yes; then
   8805 	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'
   8806       else
   8807 	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'
   8808       fi
   8809       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   8810       hardcode_libdir_separator=:
   8811       hardcode_direct=yes
   8812 
   8813       # hardcode_minus_L: Not really in the search PATH,
   8814       # but as the default location of the library.
   8815       hardcode_minus_L=yes
   8816       export_dynamic_flag_spec='${wl}-E'
   8817       ;;
   8818 
   8819     hpux10*)
   8820       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   8821 	archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   8822       else
   8823 	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   8824       fi
   8825       if test "$with_gnu_ld" = no; then
   8826 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   8827 	hardcode_libdir_separator=:
   8828 
   8829 	hardcode_direct=yes
   8830 	export_dynamic_flag_spec='${wl}-E'
   8831 
   8832 	# hardcode_minus_L: Not really in the search PATH,
   8833 	# but as the default location of the library.
   8834 	hardcode_minus_L=yes
   8835       fi
   8836       ;;
   8837 
   8838     hpux11*)
   8839       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   8840 	case $host_cpu in
   8841 	hppa*64*)
   8842 	  archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   8843 	  ;;
   8844 	ia64*)
   8845 	  archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   8846 	  ;;
   8847 	*)
   8848 	  archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   8849 	  ;;
   8850 	esac
   8851       else
   8852 	case $host_cpu in
   8853 	hppa*64*)
   8854 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   8855 	  ;;
   8856 	ia64*)
   8857 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   8858 	  ;;
   8859 	*)
   8860 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   8861 	  ;;
   8862 	esac
   8863       fi
   8864       if test "$with_gnu_ld" = no; then
   8865 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   8866 	hardcode_libdir_separator=:
   8867 
   8868 	case $host_cpu in
   8869 	hppa*64*|ia64*)
   8870 	  hardcode_libdir_flag_spec_ld='+b $libdir'
   8871 	  hardcode_direct=no
   8872 	  hardcode_shlibpath_var=no
   8873 	  ;;
   8874 	*)
   8875 	  hardcode_direct=yes
   8876 	  export_dynamic_flag_spec='${wl}-E'
   8877 
   8878 	  # hardcode_minus_L: Not really in the search PATH,
   8879 	  # but as the default location of the library.
   8880 	  hardcode_minus_L=yes
   8881 	  ;;
   8882 	esac
   8883       fi
   8884       ;;
   8885 
   8886     irix5* | irix6* | nonstopux*)
   8887       if test "$GCC" = yes; then
   8888 	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'
   8889       else
   8890 	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'
   8891 	hardcode_libdir_flag_spec_ld='-rpath $libdir'
   8892       fi
   8893       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8894       hardcode_libdir_separator=:
   8895       link_all_deplibs=yes
   8896       ;;
   8897 
   8898     netbsd*)
   8899       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   8900 	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   8901       else
   8902 	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   8903       fi
   8904       hardcode_libdir_flag_spec='-R$libdir'
   8905       hardcode_direct=yes
   8906       hardcode_shlibpath_var=no
   8907       ;;
   8908 
   8909     newsos6)
   8910       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8911       hardcode_direct=yes
   8912       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8913       hardcode_libdir_separator=:
   8914       hardcode_shlibpath_var=no
   8915       ;;
   8916 
   8917     openbsd*)
   8918       if test -f /usr/libexec/ld.so; then
   8919 	hardcode_direct=yes
   8920 	hardcode_shlibpath_var=no
   8921 	if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   8922 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   8923 	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
   8924 	  hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   8925 	  export_dynamic_flag_spec='${wl}-E'
   8926 	else
   8927 	  case $host_os in
   8928 	   openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
   8929 	     archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   8930 	     hardcode_libdir_flag_spec='-R$libdir'
   8931 	     ;;
   8932 	   *)
   8933 	     archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   8934 	     hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   8935 	     ;;
   8936 	  esac
   8937         fi
   8938       else
   8939 	ld_shlibs=no
   8940       fi
   8941       ;;
   8942 
   8943     os2*)
   8944       hardcode_libdir_flag_spec='-L$libdir'
   8945       hardcode_minus_L=yes
   8946       allow_undefined_flag=unsupported
   8947       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'
   8948       old_archive_From_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
   8949       ;;
   8950 
   8951     osf3*)
   8952       if test "$GCC" = yes; then
   8953 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   8954 	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'
   8955       else
   8956 	allow_undefined_flag=' -expect_unresolved \*'
   8957 	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'
   8958       fi
   8959       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8960       hardcode_libdir_separator=:
   8961       ;;
   8962 
   8963     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   8964       if test "$GCC" = yes; then
   8965 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   8966 	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'
   8967 	hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8968       else
   8969 	allow_undefined_flag=' -expect_unresolved \*'
   8970 	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'
   8971 	archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
   8972 	$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'
   8973 
   8974 	# Both c and cxx compiler support -rpath directly
   8975 	hardcode_libdir_flag_spec='-rpath $libdir'
   8976       fi
   8977       hardcode_libdir_separator=:
   8978       ;;
   8979 
   8980     solaris*)
   8981       no_undefined_flag=' -z text'
   8982       if test "$GCC" = yes; then
   8983 	wlarc='${wl}'
   8984 	archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   8985 	archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   8986 	  $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
   8987       else
   8988 	wlarc=''
   8989 	archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8990 	archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   8991   	$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
   8992       fi
   8993       hardcode_libdir_flag_spec='-R$libdir'
   8994       hardcode_shlibpath_var=no
   8995       case $host_os in
   8996       solaris2.[0-5] | solaris2.[0-5].*) ;;
   8997       *)
   8998 	# The compiler driver will combine and reorder linker options,
   8999 	# but understands `-z linker_flag'.  GCC discards it without `$wl',
   9000 	# but is careful enough not to reorder.
   9001  	# Supported since Solaris 2.6 (maybe 2.5.1?)
   9002 	if test "$GCC" = yes; then
   9003 	  whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
   9004 	else
   9005 	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
   9006 	fi
   9007 	;;
   9008       esac
   9009       link_all_deplibs=yes
   9010       ;;
   9011 
   9012     sunos4*)
   9013       if test "x$host_vendor" = xsequent; then
   9014 	# Use $CC to link under sequent, because it throws in some extra .o
   9015 	# files that make .init and .fini sections work.
   9016 	archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   9017       else
   9018 	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   9019       fi
   9020       hardcode_libdir_flag_spec='-L$libdir'
   9021       hardcode_direct=yes
   9022       hardcode_minus_L=yes
   9023       hardcode_shlibpath_var=no
   9024       ;;
   9025 
   9026     sysv4)
   9027       case $host_vendor in
   9028 	sni)
   9029 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9030 	  hardcode_direct=yes # is this really true???
   9031 	;;
   9032 	siemens)
   9033 	  ## LD is ld it makes a PLAMLIB
   9034 	  ## CC just makes a GrossModule.
   9035 	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   9036 	  reload_cmds='$CC -r -o $output$reload_objs'
   9037 	  hardcode_direct=no
   9038         ;;
   9039 	motorola)
   9040 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9041 	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
   9042 	;;
   9043       esac
   9044       runpath_var='LD_RUN_PATH'
   9045       hardcode_shlibpath_var=no
   9046       ;;
   9047 
   9048     sysv4.3*)
   9049       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9050       hardcode_shlibpath_var=no
   9051       export_dynamic_flag_spec='-Bexport'
   9052       ;;
   9053 
   9054     sysv4*MP*)
   9055       if test -d /usr/nec; then
   9056 	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9057 	hardcode_shlibpath_var=no
   9058 	runpath_var=LD_RUN_PATH
   9059 	hardcode_runpath_var=yes
   9060 	ld_shlibs=yes
   9061       fi
   9062       ;;
   9063 
   9064     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   9065       no_undefined_flag='${wl}-z,text'
   9066       archive_cmds_need_lc=no
   9067       hardcode_shlibpath_var=no
   9068       runpath_var='LD_RUN_PATH'
   9069 
   9070       if test "$GCC" = yes; then
   9071 	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9072 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9073       else
   9074 	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9075 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9076       fi
   9077       ;;
   9078 
   9079     sysv5* | sco3.2v5* | sco5v6*)
   9080       # Note: We can NOT use -z defs as we might desire, because we do not
   9081       # link with -lc, and that would cause any symbols used from libc to
   9082       # always be unresolved, which means just about no library would
   9083       # ever link correctly.  If we're not using GNU ld we use -z text
   9084       # though, which does catch some bad symbols but isn't as heavy-handed
   9085       # as -z defs.
   9086       no_undefined_flag='${wl}-z,text'
   9087       allow_undefined_flag='${wl}-z,nodefs'
   9088       archive_cmds_need_lc=no
   9089       hardcode_shlibpath_var=no
   9090       hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
   9091       hardcode_libdir_separator=':'
   9092       link_all_deplibs=yes
   9093       export_dynamic_flag_spec='${wl}-Bexport'
   9094       runpath_var='LD_RUN_PATH'
   9095 
   9096       if test "$GCC" = yes; then
   9097 	archive_cmds='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   9098 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   9099       else
   9100 	archive_cmds='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   9101 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   9102       fi
   9103       ;;
   9104 
   9105     uts4*)
   9106       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9107       hardcode_libdir_flag_spec='-L$libdir'
   9108       hardcode_shlibpath_var=no
   9109       ;;
   9110 
   9111     *)
   9112       ld_shlibs=no
   9113       ;;
   9114     esac
   9115   fi
   9116 
   9117 { $as_echo "$as_me:$LINENO: result: $ld_shlibs" >&5
   9118 $as_echo "$ld_shlibs" >&6; }
   9119 test "$ld_shlibs" = no && can_build_shared=no
   9120 
   9121 #
   9122 # Do we need to explicitly link libc?
   9123 #
   9124 case "x$archive_cmds_need_lc" in
   9125 x|xyes)
   9126   # Assume -lc should be added
   9127   archive_cmds_need_lc=yes
   9128 
   9129   if test "$enable_shared" = yes && test "$GCC" = yes; then
   9130     case $archive_cmds in
   9131     *'~'*)
   9132       # FIXME: we may have to deal with multi-command sequences.
   9133       ;;
   9134     '$CC '*)
   9135       # Test whether the compiler implicitly links with -lc since on some
   9136       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   9137       # to ld, don't add -lc before -lgcc.
   9138       { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
   9139 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
   9140       $rm conftest*
   9141       echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   9142 
   9143       if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   9144   (eval $ac_compile) 2>&5
   9145   ac_status=$?
   9146   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9147   (exit $ac_status); } 2>conftest.err; then
   9148         soname=conftest
   9149         lib=conftest
   9150         libobjs=conftest.$ac_objext
   9151         deplibs=
   9152         wl=$lt_prog_compiler_wl
   9153 	pic_flag=$lt_prog_compiler_pic
   9154         compiler_flags=-v
   9155         linker_flags=-v
   9156         verstring=
   9157         output_objdir=.
   9158         libname=conftest
   9159         lt_save_allow_undefined_flag=$allow_undefined_flag
   9160         allow_undefined_flag=
   9161         if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
   9162   (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
   9163   ac_status=$?
   9164   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9165   (exit $ac_status); }
   9166         then
   9167 	  archive_cmds_need_lc=no
   9168         else
   9169 	  archive_cmds_need_lc=yes
   9170         fi
   9171         allow_undefined_flag=$lt_save_allow_undefined_flag
   9172       else
   9173         cat conftest.err 1>&5
   9174       fi
   9175       $rm conftest*
   9176       { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
   9177 $as_echo "$archive_cmds_need_lc" >&6; }
   9178       ;;
   9179     esac
   9180   fi
   9181   ;;
   9182 esac
   9183 
   9184 { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
   9185 $as_echo_n "checking dynamic linker characteristics... " >&6; }
   9186 library_names_spec=
   9187 libname_spec='lib$name'
   9188 soname_spec=
   9189 shrext_cmds=".so"
   9190 postinstall_cmds=
   9191 postuninstall_cmds=
   9192 finish_cmds=
   9193 finish_eval=
   9194 shlibpath_var=
   9195 shlibpath_overrides_runpath=unknown
   9196 version_type=none
   9197 dynamic_linker="$host_os ld.so"
   9198 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   9199 
   9200 if test "$GCC" = yes; then
   9201   case $host_os in
   9202     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
   9203     *) lt_awk_arg="/^libraries:/" ;;
   9204   esac
   9205   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   9206   if echo "$lt_search_path_spec" | grep ';' >/dev/null ; then
   9207     # if the path contains ";" then we assume it to be the separator
   9208     # otherwise default to the standard path separator (i.e. ":") - it is
   9209     # assumed that no part of a normal pathname contains ";" but that should
   9210     # okay in the real world where ";" in dirpaths is itself problematic.
   9211     lt_search_path_spec=`echo "$lt_search_path_spec" | $SED -e 's/;/ /g'`
   9212   else
   9213     lt_search_path_spec=`echo "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   9214   fi
   9215   # Ok, now we have the path, separated by spaces, we can step through it
   9216   # and add multilib dir if necessary.
   9217   lt_tmp_lt_search_path_spec=
   9218   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
   9219   for lt_sys_path in $lt_search_path_spec; do
   9220     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
   9221       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
   9222     else
   9223       test -d "$lt_sys_path" && \
   9224 	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
   9225     fi
   9226   done
   9227   lt_search_path_spec=`echo $lt_tmp_lt_search_path_spec | awk '
   9228 BEGIN {RS=" "; FS="/|\n";} {
   9229   lt_foo="";
   9230   lt_count=0;
   9231   for (lt_i = NF; lt_i > 0; lt_i--) {
   9232     if ($lt_i != "" && $lt_i != ".") {
   9233       if ($lt_i == "..") {
   9234         lt_count++;
   9235       } else {
   9236         if (lt_count == 0) {
   9237           lt_foo="/" $lt_i lt_foo;
   9238         } else {
   9239           lt_count--;
   9240         }
   9241       }
   9242     }
   9243   }
   9244   if (lt_foo != "") { lt_freq[lt_foo]++; }
   9245   if (lt_freq[lt_foo] == 1) { print lt_foo; }
   9246 }'`
   9247   sys_lib_search_path_spec=`echo $lt_search_path_spec`
   9248 else
   9249   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   9250 fi
   9251 need_lib_prefix=unknown
   9252 hardcode_into_libs=no
   9253 
   9254 # when you set need_version to no, make sure it does not cause -set_version
   9255 # flags to be left without arguments
   9256 need_version=unknown
   9257 
   9258 case $host_os in
   9259 aix3*)
   9260   version_type=linux
   9261   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   9262   shlibpath_var=LIBPATH
   9263 
   9264   # AIX 3 has no versioning support, so we append a major version to the name.
   9265   soname_spec='${libname}${release}${shared_ext}$major'
   9266   ;;
   9267 
   9268 aix[4-9]*)
   9269   version_type=linux
   9270   need_lib_prefix=no
   9271   need_version=no
   9272   hardcode_into_libs=yes
   9273   if test "$host_cpu" = ia64; then
   9274     # AIX 5 supports IA64
   9275     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
   9276     shlibpath_var=LD_LIBRARY_PATH
   9277   else
   9278     # With GCC up to 2.95.x, collect2 would create an import file
   9279     # for dependence libraries.  The import file would start with
   9280     # the line `#! .'.  This would cause the generated library to
   9281     # depend on `.', always an invalid library.  This was fixed in
   9282     # development snapshots of GCC prior to 3.0.
   9283     case $host_os in
   9284       aix4 | aix4.[01] | aix4.[01].*)
   9285       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   9286 	   echo ' yes '
   9287 	   echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
   9288 	:
   9289       else
   9290 	can_build_shared=no
   9291       fi
   9292       ;;
   9293     esac
   9294     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
   9295     # soname into executable. Probably we can add versioning support to
   9296     # collect2, so additional links can be useful in future.
   9297     if test "$aix_use_runtimelinking" = yes; then
   9298       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   9299       # instead of lib<name>.a to let people know that these are not
   9300       # typical AIX shared libraries.
   9301       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9302     else
   9303       # We preserve .a as extension for shared libraries through AIX4.2
   9304       # and later when we are not doing run time linking.
   9305       library_names_spec='${libname}${release}.a $libname.a'
   9306       soname_spec='${libname}${release}${shared_ext}$major'
   9307     fi
   9308     shlibpath_var=LIBPATH
   9309   fi
   9310   ;;
   9311 
   9312 amigaos*)
   9313   library_names_spec='$libname.ixlibrary $libname.a'
   9314   # Create ${libname}_ixlibrary.a entries in /sys/libs.
   9315   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'
   9316   ;;
   9317 
   9318 beos*)
   9319   library_names_spec='${libname}${shared_ext}'
   9320   dynamic_linker="$host_os ld.so"
   9321   shlibpath_var=LIBRARY_PATH
   9322   ;;
   9323 
   9324 bsdi[45]*)
   9325   version_type=linux
   9326   need_version=no
   9327   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9328   soname_spec='${libname}${release}${shared_ext}$major'
   9329   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   9330   shlibpath_var=LD_LIBRARY_PATH
   9331   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   9332   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   9333   # the default ld.so.conf also contains /usr/contrib/lib and
   9334   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   9335   # libtool to hard-code these into programs
   9336   ;;
   9337 
   9338 cygwin* | mingw* | pw32*)
   9339   version_type=windows
   9340   shrext_cmds=".dll"
   9341   need_version=no
   9342   need_lib_prefix=no
   9343 
   9344   case $GCC,$host_os in
   9345   yes,cygwin* | yes,mingw* | yes,pw32*)
   9346     library_names_spec='$libname.dll.a'
   9347     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   9348     postinstall_cmds='base_file=`basename \${file}`~
   9349       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
   9350       dldir=$destdir/`dirname \$dlpath`~
   9351       test -d \$dldir || mkdir -p \$dldir~
   9352       $install_prog $dir/$dlname \$dldir/$dlname~
   9353       chmod a+x \$dldir/$dlname'
   9354     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   9355       dlpath=$dir/\$dldll~
   9356        $rm \$dlpath'
   9357     shlibpath_overrides_runpath=yes
   9358 
   9359     case $host_os in
   9360     cygwin*)
   9361       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   9362       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   9363       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
   9364       ;;
   9365     mingw*)
   9366       # MinGW DLLs use traditional 'lib' prefix
   9367       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   9368       sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   9369       if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
   9370         # It is most probably a Windows format PATH printed by
   9371         # mingw gcc, but we are running on Cygwin. Gcc prints its search
   9372         # path with ; separators, and with drive letters. We can handle the
   9373         # drive letters (cygwin fileutils understands them), so leave them,
   9374         # especially as we might pass files found there to a mingw objdump,
   9375         # which wouldn't understand a cygwinified path. Ahh.
   9376         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   9377       else
   9378         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   9379       fi
   9380       ;;
   9381     pw32*)
   9382       # pw32 DLLs use 'pw' prefix rather than 'lib'
   9383       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   9384       ;;
   9385     esac
   9386     ;;
   9387 
   9388   *)
   9389     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
   9390     ;;
   9391   esac
   9392   dynamic_linker='Win32 ld.exe'
   9393   # FIXME: first we should search . and the directory the executable is in
   9394   shlibpath_var=PATH
   9395   ;;
   9396 
   9397 darwin* | rhapsody*)
   9398   dynamic_linker="$host_os dyld"
   9399   version_type=darwin
   9400   need_lib_prefix=no
   9401   need_version=no
   9402   library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
   9403   soname_spec='${libname}${release}${major}$shared_ext'
   9404   shlibpath_overrides_runpath=yes
   9405   shlibpath_var=DYLD_LIBRARY_PATH
   9406   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   9407 
   9408   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
   9409   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   9410   ;;
   9411 
   9412 dgux*)
   9413   version_type=linux
   9414   need_lib_prefix=no
   9415   need_version=no
   9416   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
   9417   soname_spec='${libname}${release}${shared_ext}$major'
   9418   shlibpath_var=LD_LIBRARY_PATH
   9419   ;;
   9420 
   9421 freebsd1*)
   9422   dynamic_linker=no
   9423   ;;
   9424 
   9425 freebsd* | dragonfly*)
   9426   # DragonFly does not have aout.  When/if they implement a new
   9427   # versioning mechanism, adjust this.
   9428   if test -x /usr/bin/objformat; then
   9429     objformat=`/usr/bin/objformat`
   9430   else
   9431     case $host_os in
   9432     freebsd[123]*) objformat=aout ;;
   9433     *) objformat=elf ;;
   9434     esac
   9435   fi
   9436   version_type=freebsd-$objformat
   9437   case $version_type in
   9438     freebsd-elf*)
   9439       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   9440       need_version=no
   9441       need_lib_prefix=no
   9442       ;;
   9443     freebsd-*)
   9444       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
   9445       need_version=yes
   9446       ;;
   9447   esac
   9448   shlibpath_var=LD_LIBRARY_PATH
   9449   case $host_os in
   9450   freebsd2*)
   9451     shlibpath_overrides_runpath=yes
   9452     ;;
   9453   freebsd3.[01]* | freebsdelf3.[01]*)
   9454     shlibpath_overrides_runpath=yes
   9455     hardcode_into_libs=yes
   9456     ;;
   9457   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   9458   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   9459     shlibpath_overrides_runpath=no
   9460     hardcode_into_libs=yes
   9461     ;;
   9462   *) # from 4.6 on, and DragonFly
   9463     shlibpath_overrides_runpath=yes
   9464     hardcode_into_libs=yes
   9465     ;;
   9466   esac
   9467   ;;
   9468 
   9469 gnu*)
   9470   version_type=linux
   9471   need_lib_prefix=no
   9472   need_version=no
   9473   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   9474   soname_spec='${libname}${release}${shared_ext}$major'
   9475   shlibpath_var=LD_LIBRARY_PATH
   9476   hardcode_into_libs=yes
   9477   ;;
   9478 
   9479 hpux9* | hpux10* | hpux11*)
   9480   # Give a soname corresponding to the major version so that dld.sl refuses to
   9481   # link against other versions.
   9482   version_type=sunos
   9483   need_lib_prefix=no
   9484   need_version=no
   9485   case $host_cpu in
   9486   ia64*)
   9487     shrext_cmds='.so'
   9488     hardcode_into_libs=yes
   9489     dynamic_linker="$host_os dld.so"
   9490     shlibpath_var=LD_LIBRARY_PATH
   9491     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   9492     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9493     soname_spec='${libname}${release}${shared_ext}$major'
   9494     if test "X$HPUX_IA64_MODE" = X32; then
   9495       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   9496     else
   9497       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   9498     fi
   9499     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   9500     ;;
   9501    hppa*64*)
   9502      shrext_cmds='.sl'
   9503      hardcode_into_libs=yes
   9504      dynamic_linker="$host_os dld.sl"
   9505      shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   9506      shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   9507      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9508      soname_spec='${libname}${release}${shared_ext}$major'
   9509      sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   9510      sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   9511      ;;
   9512    *)
   9513     shrext_cmds='.sl'
   9514     dynamic_linker="$host_os dld.sl"
   9515     shlibpath_var=SHLIB_PATH
   9516     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   9517     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9518     soname_spec='${libname}${release}${shared_ext}$major'
   9519     ;;
   9520   esac
   9521   # HP-UX runs *really* slowly unless shared libraries are mode 555.
   9522   postinstall_cmds='chmod 555 $lib'
   9523   ;;
   9524 
   9525 interix[3-9]*)
   9526   version_type=linux
   9527   need_lib_prefix=no
   9528   need_version=no
   9529   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   9530   soname_spec='${libname}${release}${shared_ext}$major'
   9531   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   9532   shlibpath_var=LD_LIBRARY_PATH
   9533   shlibpath_overrides_runpath=no
   9534   hardcode_into_libs=yes
   9535   ;;
   9536 
   9537 irix5* | irix6* | nonstopux*)
   9538   case $host_os in
   9539     nonstopux*) version_type=nonstopux ;;
   9540     *)
   9541 	if test "$lt_cv_prog_gnu_ld" = yes; then
   9542 		version_type=linux
   9543 	else
   9544 		version_type=irix
   9545 	fi ;;
   9546   esac
   9547   need_lib_prefix=no
   9548   need_version=no
   9549   soname_spec='${libname}${release}${shared_ext}$major'
   9550   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
   9551   case $host_os in
   9552   irix5* | nonstopux*)
   9553     libsuff= shlibsuff=
   9554     ;;
   9555   *)
   9556     case $LD in # libtool.m4 will add one of these switches to LD
   9557     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   9558       libsuff= shlibsuff= libmagic=32-bit;;
   9559     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   9560       libsuff=32 shlibsuff=N32 libmagic=N32;;
   9561     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   9562       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   9563     *) libsuff= shlibsuff= libmagic=never-match;;
   9564     esac
   9565     ;;
   9566   esac
   9567   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   9568   shlibpath_overrides_runpath=no
   9569   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   9570   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   9571   hardcode_into_libs=yes
   9572   ;;
   9573 
   9574 # No shared lib support for Linux oldld, aout, or coff.
   9575 linux*oldld* | linux*aout* | linux*coff*)
   9576   dynamic_linker=no
   9577   ;;
   9578 
   9579 # This must be Linux ELF.
   9580 linux* | k*bsd*-gnu)
   9581   version_type=linux
   9582   need_lib_prefix=no
   9583   need_version=no
   9584   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9585   soname_spec='${libname}${release}${shared_ext}$major'
   9586   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   9587   shlibpath_var=LD_LIBRARY_PATH
   9588   shlibpath_overrides_runpath=no
   9589   # This implies no fast_install, which is unacceptable.
   9590   # Some rework will be needed to allow for fast_install
   9591   # before this can be enabled.
   9592   hardcode_into_libs=yes
   9593 
   9594   # Append ld.so.conf contents to the search path
   9595   if test -f /etc/ld.so.conf; then
   9596     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' ' '`
   9597     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   9598   fi
   9599 
   9600   # We used to test for /lib/ld.so.1 and disable shared libraries on
   9601   # powerpc, because MkLinux only supported shared libraries with the
   9602   # GNU dynamic linker.  Since this was broken with cross compilers,
   9603   # most powerpc-linux boxes support dynamic linking these days and
   9604   # people can always --disable-shared, the test was removed, and we
   9605   # assume the GNU/Linux dynamic linker is in use.
   9606   dynamic_linker='GNU/Linux ld.so'
   9607   ;;
   9608 
   9609 netbsd*)
   9610   version_type=sunos
   9611   need_lib_prefix=no
   9612   need_version=no
   9613   if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   9614     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   9615     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   9616     dynamic_linker='NetBSD (a.out) ld.so'
   9617   else
   9618     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   9619     soname_spec='${libname}${release}${shared_ext}$major'
   9620     dynamic_linker='NetBSD ld.elf_so'
   9621   fi
   9622   shlibpath_var=LD_LIBRARY_PATH
   9623   shlibpath_overrides_runpath=yes
   9624   hardcode_into_libs=yes
   9625   ;;
   9626 
   9627 newsos6)
   9628   version_type=linux
   9629   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9630   shlibpath_var=LD_LIBRARY_PATH
   9631   shlibpath_overrides_runpath=yes
   9632   ;;
   9633 
   9634 nto-qnx*)
   9635   version_type=linux
   9636   need_lib_prefix=no
   9637   need_version=no
   9638   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9639   soname_spec='${libname}${release}${shared_ext}$major'
   9640   shlibpath_var=LD_LIBRARY_PATH
   9641   shlibpath_overrides_runpath=yes
   9642   ;;
   9643 
   9644 openbsd*)
   9645   version_type=sunos
   9646   sys_lib_dlsearch_path_spec="/usr/lib"
   9647   need_lib_prefix=no
   9648   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
   9649   case $host_os in
   9650     openbsd3.3 | openbsd3.3.*) need_version=yes ;;
   9651     *)                         need_version=no  ;;
   9652   esac
   9653   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   9654   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   9655   shlibpath_var=LD_LIBRARY_PATH
   9656   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   9657     case $host_os in
   9658       openbsd2.[89] | openbsd2.[89].*)
   9659 	shlibpath_overrides_runpath=no
   9660 	;;
   9661       *)
   9662 	shlibpath_overrides_runpath=yes
   9663 	;;
   9664       esac
   9665   else
   9666     shlibpath_overrides_runpath=yes
   9667   fi
   9668   ;;
   9669 
   9670 os2*)
   9671   libname_spec='$name'
   9672   shrext_cmds=".dll"
   9673   need_lib_prefix=no
   9674   library_names_spec='$libname${shared_ext} $libname.a'
   9675   dynamic_linker='OS/2 ld.exe'
   9676   shlibpath_var=LIBPATH
   9677   ;;
   9678 
   9679 osf3* | osf4* | osf5*)
   9680   version_type=osf
   9681   need_lib_prefix=no
   9682   need_version=no
   9683   soname_spec='${libname}${release}${shared_ext}$major'
   9684   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9685   shlibpath_var=LD_LIBRARY_PATH
   9686   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   9687   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   9688   ;;
   9689 
   9690 rdos*)
   9691   dynamic_linker=no
   9692   ;;
   9693 
   9694 solaris*)
   9695   version_type=linux
   9696   need_lib_prefix=no
   9697   need_version=no
   9698   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9699   soname_spec='${libname}${release}${shared_ext}$major'
   9700   shlibpath_var=LD_LIBRARY_PATH
   9701   shlibpath_overrides_runpath=yes
   9702   hardcode_into_libs=yes
   9703   # ldd complains unless libraries are executable
   9704   postinstall_cmds='chmod +x $lib'
   9705   ;;
   9706 
   9707 sunos4*)
   9708   version_type=sunos
   9709   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   9710   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   9711   shlibpath_var=LD_LIBRARY_PATH
   9712   shlibpath_overrides_runpath=yes
   9713   if test "$with_gnu_ld" = yes; then
   9714     need_lib_prefix=no
   9715   fi
   9716   need_version=yes
   9717   ;;
   9718 
   9719 sysv4 | sysv4.3*)
   9720   version_type=linux
   9721   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9722   soname_spec='${libname}${release}${shared_ext}$major'
   9723   shlibpath_var=LD_LIBRARY_PATH
   9724   case $host_vendor in
   9725     sni)
   9726       shlibpath_overrides_runpath=no
   9727       need_lib_prefix=no
   9728       export_dynamic_flag_spec='${wl}-Blargedynsym'
   9729       runpath_var=LD_RUN_PATH
   9730       ;;
   9731     siemens)
   9732       need_lib_prefix=no
   9733       ;;
   9734     motorola)
   9735       need_lib_prefix=no
   9736       need_version=no
   9737       shlibpath_overrides_runpath=no
   9738       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   9739       ;;
   9740   esac
   9741   ;;
   9742 
   9743 sysv4*MP*)
   9744   if test -d /usr/nec ;then
   9745     version_type=linux
   9746     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
   9747     soname_spec='$libname${shared_ext}.$major'
   9748     shlibpath_var=LD_LIBRARY_PATH
   9749   fi
   9750   ;;
   9751 
   9752 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   9753   version_type=freebsd-elf
   9754   need_lib_prefix=no
   9755   need_version=no
   9756   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   9757   soname_spec='${libname}${release}${shared_ext}$major'
   9758   shlibpath_var=LD_LIBRARY_PATH
   9759   hardcode_into_libs=yes
   9760   if test "$with_gnu_ld" = yes; then
   9761     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   9762     shlibpath_overrides_runpath=no
   9763   else
   9764     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   9765     shlibpath_overrides_runpath=yes
   9766     case $host_os in
   9767       sco3.2v5*)
   9768         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   9769 	;;
   9770     esac
   9771   fi
   9772   sys_lib_dlsearch_path_spec='/usr/lib'
   9773   ;;
   9774 
   9775 uts4*)
   9776   version_type=linux
   9777   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9778   soname_spec='${libname}${release}${shared_ext}$major'
   9779   shlibpath_var=LD_LIBRARY_PATH
   9780   ;;
   9781 
   9782 *)
   9783   dynamic_linker=no
   9784   ;;
   9785 esac
   9786 { $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
   9787 $as_echo "$dynamic_linker" >&6; }
   9788 test "$dynamic_linker" = no && can_build_shared=no
   9789 
   9790 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
   9791   $as_echo_n "(cached) " >&6
   9792 else
   9793   lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
   9794 fi
   9795 
   9796 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
   9797 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
   9798   $as_echo_n "(cached) " >&6
   9799 else
   9800   lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
   9801 fi
   9802 
   9803 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
   9804 
   9805 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   9806 if test "$GCC" = yes; then
   9807   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   9808 fi
   9809 
   9810 { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
   9811 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
   9812 hardcode_action=
   9813 if test -n "$hardcode_libdir_flag_spec" || \
   9814    test -n "$runpath_var" || \
   9815    test "X$hardcode_automatic" = "Xyes" ; then
   9816 
   9817   # We can hardcode non-existant directories.
   9818   if test "$hardcode_direct" != no &&
   9819      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   9820      # have to relink, otherwise we might link with an installed library
   9821      # when we should be linking with a yet-to-be-installed one
   9822      ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
   9823      test "$hardcode_minus_L" != no; then
   9824     # Linking always hardcodes the temporary library directory.
   9825     hardcode_action=relink
   9826   else
   9827     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   9828     hardcode_action=immediate
   9829   fi
   9830 else
   9831   # We cannot hardcode anything, or else we can only hardcode existing
   9832   # directories.
   9833   hardcode_action=unsupported
   9834 fi
   9835 { $as_echo "$as_me:$LINENO: result: $hardcode_action" >&5
   9836 $as_echo "$hardcode_action" >&6; }
   9837 
   9838 if test "$hardcode_action" = relink; then
   9839   # Fast installation is not supported
   9840   enable_fast_install=no
   9841 elif test "$shlibpath_overrides_runpath" = yes ||
   9842      test "$enable_shared" = no; then
   9843   # Fast installation is not necessary
   9844   enable_fast_install=needless
   9845 fi
   9846 
   9847 striplib=
   9848 old_striplib=
   9849 { $as_echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
   9850 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
   9851 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
   9852   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
   9853   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
   9854   { $as_echo "$as_me:$LINENO: result: yes" >&5
   9855 $as_echo "yes" >&6; }
   9856 else
   9857 # FIXME - insert some real tests, host_os isn't really good enough
   9858   case $host_os in
   9859    darwin*)
   9860        if test -n "$STRIP" ; then
   9861          striplib="$STRIP -x"
   9862          old_striplib="$STRIP -S"
   9863          { $as_echo "$as_me:$LINENO: result: yes" >&5
   9864 $as_echo "yes" >&6; }
   9865        else
   9866   { $as_echo "$as_me:$LINENO: result: no" >&5
   9867 $as_echo "no" >&6; }
   9868 fi
   9869        ;;
   9870    *)
   9871   { $as_echo "$as_me:$LINENO: result: no" >&5
   9872 $as_echo "no" >&6; }
   9873     ;;
   9874   esac
   9875 fi
   9876 
   9877 if test "x$enable_dlopen" != xyes; then
   9878   enable_dlopen=unknown
   9879   enable_dlopen_self=unknown
   9880   enable_dlopen_self_static=unknown
   9881 else
   9882   lt_cv_dlopen=no
   9883   lt_cv_dlopen_libs=
   9884 
   9885   case $host_os in
   9886   beos*)
   9887     lt_cv_dlopen="load_add_on"
   9888     lt_cv_dlopen_libs=
   9889     lt_cv_dlopen_self=yes
   9890     ;;
   9891 
   9892   mingw* | pw32*)
   9893     lt_cv_dlopen="LoadLibrary"
   9894     lt_cv_dlopen_libs=
   9895    ;;
   9896 
   9897   cygwin*)
   9898     lt_cv_dlopen="dlopen"
   9899     lt_cv_dlopen_libs=
   9900    ;;
   9901 
   9902   darwin*)
   9903   # if libdl is installed we need to link against it
   9904     { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
   9905 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   9906 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
   9907   $as_echo_n "(cached) " >&6
   9908 else
   9909   ac_check_lib_save_LIBS=$LIBS
   9910 LIBS="-ldl  $LIBS"
   9911 cat >conftest.$ac_ext <<_ACEOF
   9912 /* confdefs.h.  */
   9913 _ACEOF
   9914 cat confdefs.h >>conftest.$ac_ext
   9915 cat >>conftest.$ac_ext <<_ACEOF
   9916 /* end confdefs.h.  */
   9917 
   9918 /* Override any GCC internal prototype to avoid an error.
   9919    Use char because int might match the return type of a GCC
   9920    builtin and then its argument prototype would still apply.  */
   9921 #ifdef __cplusplus
   9922 extern "C"
   9923 #endif
   9924 char dlopen ();
   9925 int
   9926 main ()
   9927 {
   9928 return dlopen ();
   9929   ;
   9930   return 0;
   9931 }
   9932 _ACEOF
   9933 rm -f conftest.$ac_objext conftest$ac_exeext
   9934 if { (ac_try="$ac_link"
   9935 case "(($ac_try" in
   9936   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   9937   *) ac_try_echo=$ac_try;;
   9938 esac
   9939 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   9940 $as_echo "$ac_try_echo") >&5
   9941   (eval "$ac_link") 2>conftest.er1
   9942   ac_status=$?
   9943   grep -v '^ *+' conftest.er1 >conftest.err
   9944   rm -f conftest.er1
   9945   cat conftest.err >&5
   9946   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9947   (exit $ac_status); } && {
   9948 	 test -z "$ac_c_werror_flag" ||
   9949 	 test ! -s conftest.err
   9950        } && test -s conftest$ac_exeext && {
   9951 	 test "$cross_compiling" = yes ||
   9952 	 $as_test_x conftest$ac_exeext
   9953        }; then
   9954   ac_cv_lib_dl_dlopen=yes
   9955 else
   9956   $as_echo "$as_me: failed program was:" >&5
   9957 sed 's/^/| /' conftest.$ac_ext >&5
   9958 
   9959 	ac_cv_lib_dl_dlopen=no
   9960 fi
   9961 
   9962 rm -rf conftest.dSYM
   9963 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   9964       conftest$ac_exeext conftest.$ac_ext
   9965 LIBS=$ac_check_lib_save_LIBS
   9966 fi
   9967 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
   9968 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   9969 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
   9970   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   9971 else
   9972 
   9973     lt_cv_dlopen="dyld"
   9974     lt_cv_dlopen_libs=
   9975     lt_cv_dlopen_self=yes
   9976 
   9977 fi
   9978 
   9979    ;;
   9980 
   9981   *)
   9982     { $as_echo "$as_me:$LINENO: checking for shl_load" >&5
   9983 $as_echo_n "checking for shl_load... " >&6; }
   9984 if test "${ac_cv_func_shl_load+set}" = set; then
   9985   $as_echo_n "(cached) " >&6
   9986 else
   9987   cat >conftest.$ac_ext <<_ACEOF
   9988 /* confdefs.h.  */
   9989 _ACEOF
   9990 cat confdefs.h >>conftest.$ac_ext
   9991 cat >>conftest.$ac_ext <<_ACEOF
   9992 /* end confdefs.h.  */
   9993 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
   9994    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   9995 #define shl_load innocuous_shl_load
   9996 
   9997 /* System header to define __stub macros and hopefully few prototypes,
   9998     which can conflict with char shl_load (); below.
   9999     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   10000     <limits.h> exists even on freestanding compilers.  */
   10001 
   10002 #ifdef __STDC__
   10003 # include <limits.h>
   10004 #else
   10005 # include <assert.h>
   10006 #endif
   10007 
   10008 #undef shl_load
   10009 
   10010 /* Override any GCC internal prototype to avoid an error.
   10011    Use char because int might match the return type of a GCC
   10012    builtin and then its argument prototype would still apply.  */
   10013 #ifdef __cplusplus
   10014 extern "C"
   10015 #endif
   10016 char shl_load ();
   10017 /* The GNU C library defines this for functions which it implements
   10018     to always fail with ENOSYS.  Some functions are actually named
   10019     something starting with __ and the normal name is an alias.  */
   10020 #if defined __stub_shl_load || defined __stub___shl_load
   10021 choke me
   10022 #endif
   10023 
   10024 int
   10025 main ()
   10026 {
   10027 return shl_load ();
   10028   ;
   10029   return 0;
   10030 }
   10031 _ACEOF
   10032 rm -f conftest.$ac_objext conftest$ac_exeext
   10033 if { (ac_try="$ac_link"
   10034 case "(($ac_try" in
   10035   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   10036   *) ac_try_echo=$ac_try;;
   10037 esac
   10038 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   10039 $as_echo "$ac_try_echo") >&5
   10040   (eval "$ac_link") 2>conftest.er1
   10041   ac_status=$?
   10042   grep -v '^ *+' conftest.er1 >conftest.err
   10043   rm -f conftest.er1
   10044   cat conftest.err >&5
   10045   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10046   (exit $ac_status); } && {
   10047 	 test -z "$ac_c_werror_flag" ||
   10048 	 test ! -s conftest.err
   10049        } && test -s conftest$ac_exeext && {
   10050 	 test "$cross_compiling" = yes ||
   10051 	 $as_test_x conftest$ac_exeext
   10052        }; then
   10053   ac_cv_func_shl_load=yes
   10054 else
   10055   $as_echo "$as_me: failed program was:" >&5
   10056 sed 's/^/| /' conftest.$ac_ext >&5
   10057 
   10058 	ac_cv_func_shl_load=no
   10059 fi
   10060 
   10061 rm -rf conftest.dSYM
   10062 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   10063       conftest$ac_exeext conftest.$ac_ext
   10064 fi
   10065 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
   10066 $as_echo "$ac_cv_func_shl_load" >&6; }
   10067 if test "x$ac_cv_func_shl_load" = x""yes; then
   10068   lt_cv_dlopen="shl_load"
   10069 else
   10070   { $as_echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
   10071 $as_echo_n "checking for shl_load in -ldld... " >&6; }
   10072 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
   10073   $as_echo_n "(cached) " >&6
   10074 else
   10075   ac_check_lib_save_LIBS=$LIBS
   10076 LIBS="-ldld  $LIBS"
   10077 cat >conftest.$ac_ext <<_ACEOF
   10078 /* confdefs.h.  */
   10079 _ACEOF
   10080 cat confdefs.h >>conftest.$ac_ext
   10081 cat >>conftest.$ac_ext <<_ACEOF
   10082 /* end confdefs.h.  */
   10083 
   10084 /* Override any GCC internal prototype to avoid an error.
   10085    Use char because int might match the return type of a GCC
   10086    builtin and then its argument prototype would still apply.  */
   10087 #ifdef __cplusplus
   10088 extern "C"
   10089 #endif
   10090 char shl_load ();
   10091 int
   10092 main ()
   10093 {
   10094 return shl_load ();
   10095   ;
   10096   return 0;
   10097 }
   10098 _ACEOF
   10099 rm -f conftest.$ac_objext conftest$ac_exeext
   10100 if { (ac_try="$ac_link"
   10101 case "(($ac_try" in
   10102   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   10103   *) ac_try_echo=$ac_try;;
   10104 esac
   10105 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   10106 $as_echo "$ac_try_echo") >&5
   10107   (eval "$ac_link") 2>conftest.er1
   10108   ac_status=$?
   10109   grep -v '^ *+' conftest.er1 >conftest.err
   10110   rm -f conftest.er1
   10111   cat conftest.err >&5
   10112   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10113   (exit $ac_status); } && {
   10114 	 test -z "$ac_c_werror_flag" ||
   10115 	 test ! -s conftest.err
   10116        } && test -s conftest$ac_exeext && {
   10117 	 test "$cross_compiling" = yes ||
   10118 	 $as_test_x conftest$ac_exeext
   10119        }; then
   10120   ac_cv_lib_dld_shl_load=yes
   10121 else
   10122   $as_echo "$as_me: failed program was:" >&5
   10123 sed 's/^/| /' conftest.$ac_ext >&5
   10124 
   10125 	ac_cv_lib_dld_shl_load=no
   10126 fi
   10127 
   10128 rm -rf conftest.dSYM
   10129 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   10130       conftest$ac_exeext conftest.$ac_ext
   10131 LIBS=$ac_check_lib_save_LIBS
   10132 fi
   10133 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
   10134 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
   10135 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then
   10136   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
   10137 else
   10138   { $as_echo "$as_me:$LINENO: checking for dlopen" >&5
   10139 $as_echo_n "checking for dlopen... " >&6; }
   10140 if test "${ac_cv_func_dlopen+set}" = set; then
   10141   $as_echo_n "(cached) " >&6
   10142 else
   10143   cat >conftest.$ac_ext <<_ACEOF
   10144 /* confdefs.h.  */
   10145 _ACEOF
   10146 cat confdefs.h >>conftest.$ac_ext
   10147 cat >>conftest.$ac_ext <<_ACEOF
   10148 /* end confdefs.h.  */
   10149 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
   10150    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   10151 #define dlopen innocuous_dlopen
   10152 
   10153 /* System header to define __stub macros and hopefully few prototypes,
   10154     which can conflict with char dlopen (); below.
   10155     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   10156     <limits.h> exists even on freestanding compilers.  */
   10157 
   10158 #ifdef __STDC__
   10159 # include <limits.h>
   10160 #else
   10161 # include <assert.h>
   10162 #endif
   10163 
   10164 #undef dlopen
   10165 
   10166 /* Override any GCC internal prototype to avoid an error.
   10167    Use char because int might match the return type of a GCC
   10168    builtin and then its argument prototype would still apply.  */
   10169 #ifdef __cplusplus
   10170 extern "C"
   10171 #endif
   10172 char dlopen ();
   10173 /* The GNU C library defines this for functions which it implements
   10174     to always fail with ENOSYS.  Some functions are actually named
   10175     something starting with __ and the normal name is an alias.  */
   10176 #if defined __stub_dlopen || defined __stub___dlopen
   10177 choke me
   10178 #endif
   10179 
   10180 int
   10181 main ()
   10182 {
   10183 return dlopen ();
   10184   ;
   10185   return 0;
   10186 }
   10187 _ACEOF
   10188 rm -f conftest.$ac_objext conftest$ac_exeext
   10189 if { (ac_try="$ac_link"
   10190 case "(($ac_try" in
   10191   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   10192   *) ac_try_echo=$ac_try;;
   10193 esac
   10194 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   10195 $as_echo "$ac_try_echo") >&5
   10196   (eval "$ac_link") 2>conftest.er1
   10197   ac_status=$?
   10198   grep -v '^ *+' conftest.er1 >conftest.err
   10199   rm -f conftest.er1
   10200   cat conftest.err >&5
   10201   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10202   (exit $ac_status); } && {
   10203 	 test -z "$ac_c_werror_flag" ||
   10204 	 test ! -s conftest.err
   10205        } && test -s conftest$ac_exeext && {
   10206 	 test "$cross_compiling" = yes ||
   10207 	 $as_test_x conftest$ac_exeext
   10208        }; then
   10209   ac_cv_func_dlopen=yes
   10210 else
   10211   $as_echo "$as_me: failed program was:" >&5
   10212 sed 's/^/| /' conftest.$ac_ext >&5
   10213 
   10214 	ac_cv_func_dlopen=no
   10215 fi
   10216 
   10217 rm -rf conftest.dSYM
   10218 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   10219       conftest$ac_exeext conftest.$ac_ext
   10220 fi
   10221 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
   10222 $as_echo "$ac_cv_func_dlopen" >&6; }
   10223 if test "x$ac_cv_func_dlopen" = x""yes; then
   10224   lt_cv_dlopen="dlopen"
   10225 else
   10226   { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
   10227 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   10228 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
   10229   $as_echo_n "(cached) " >&6
   10230 else
   10231   ac_check_lib_save_LIBS=$LIBS
   10232 LIBS="-ldl  $LIBS"
   10233 cat >conftest.$ac_ext <<_ACEOF
   10234 /* confdefs.h.  */
   10235 _ACEOF
   10236 cat confdefs.h >>conftest.$ac_ext
   10237 cat >>conftest.$ac_ext <<_ACEOF
   10238 /* end confdefs.h.  */
   10239 
   10240 /* Override any GCC internal prototype to avoid an error.
   10241    Use char because int might match the return type of a GCC
   10242    builtin and then its argument prototype would still apply.  */
   10243 #ifdef __cplusplus
   10244 extern "C"
   10245 #endif
   10246 char dlopen ();
   10247 int
   10248 main ()
   10249 {
   10250 return dlopen ();
   10251   ;
   10252   return 0;
   10253 }
   10254 _ACEOF
   10255 rm -f conftest.$ac_objext conftest$ac_exeext
   10256 if { (ac_try="$ac_link"
   10257 case "(($ac_try" in
   10258   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   10259   *) ac_try_echo=$ac_try;;
   10260 esac
   10261 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   10262 $as_echo "$ac_try_echo") >&5
   10263   (eval "$ac_link") 2>conftest.er1
   10264   ac_status=$?
   10265   grep -v '^ *+' conftest.er1 >conftest.err
   10266   rm -f conftest.er1
   10267   cat conftest.err >&5
   10268   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10269   (exit $ac_status); } && {
   10270 	 test -z "$ac_c_werror_flag" ||
   10271 	 test ! -s conftest.err
   10272        } && test -s conftest$ac_exeext && {
   10273 	 test "$cross_compiling" = yes ||
   10274 	 $as_test_x conftest$ac_exeext
   10275        }; then
   10276   ac_cv_lib_dl_dlopen=yes
   10277 else
   10278   $as_echo "$as_me: failed program was:" >&5
   10279 sed 's/^/| /' conftest.$ac_ext >&5
   10280 
   10281 	ac_cv_lib_dl_dlopen=no
   10282 fi
   10283 
   10284 rm -rf conftest.dSYM
   10285 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   10286       conftest$ac_exeext conftest.$ac_ext
   10287 LIBS=$ac_check_lib_save_LIBS
   10288 fi
   10289 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
   10290 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   10291 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
   10292   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   10293 else
   10294   { $as_echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
   10295 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
   10296 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
   10297   $as_echo_n "(cached) " >&6
   10298 else
   10299   ac_check_lib_save_LIBS=$LIBS
   10300 LIBS="-lsvld  $LIBS"
   10301 cat >conftest.$ac_ext <<_ACEOF
   10302 /* confdefs.h.  */
   10303 _ACEOF
   10304 cat confdefs.h >>conftest.$ac_ext
   10305 cat >>conftest.$ac_ext <<_ACEOF
   10306 /* end confdefs.h.  */
   10307 
   10308 /* Override any GCC internal prototype to avoid an error.
   10309    Use char because int might match the return type of a GCC
   10310    builtin and then its argument prototype would still apply.  */
   10311 #ifdef __cplusplus
   10312 extern "C"
   10313 #endif
   10314 char dlopen ();
   10315 int
   10316 main ()
   10317 {
   10318 return dlopen ();
   10319   ;
   10320   return 0;
   10321 }
   10322 _ACEOF
   10323 rm -f conftest.$ac_objext conftest$ac_exeext
   10324 if { (ac_try="$ac_link"
   10325 case "(($ac_try" in
   10326   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   10327   *) ac_try_echo=$ac_try;;
   10328 esac
   10329 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   10330 $as_echo "$ac_try_echo") >&5
   10331   (eval "$ac_link") 2>conftest.er1
   10332   ac_status=$?
   10333   grep -v '^ *+' conftest.er1 >conftest.err
   10334   rm -f conftest.er1
   10335   cat conftest.err >&5
   10336   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10337   (exit $ac_status); } && {
   10338 	 test -z "$ac_c_werror_flag" ||
   10339 	 test ! -s conftest.err
   10340        } && test -s conftest$ac_exeext && {
   10341 	 test "$cross_compiling" = yes ||
   10342 	 $as_test_x conftest$ac_exeext
   10343        }; then
   10344   ac_cv_lib_svld_dlopen=yes
   10345 else
   10346   $as_echo "$as_me: failed program was:" >&5
   10347 sed 's/^/| /' conftest.$ac_ext >&5
   10348 
   10349 	ac_cv_lib_svld_dlopen=no
   10350 fi
   10351 
   10352 rm -rf conftest.dSYM
   10353 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   10354       conftest$ac_exeext conftest.$ac_ext
   10355 LIBS=$ac_check_lib_save_LIBS
   10356 fi
   10357 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
   10358 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
   10359 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then
   10360   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
   10361 else
   10362   { $as_echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
   10363 $as_echo_n "checking for dld_link in -ldld... " >&6; }
   10364 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
   10365   $as_echo_n "(cached) " >&6
   10366 else
   10367   ac_check_lib_save_LIBS=$LIBS
   10368 LIBS="-ldld  $LIBS"
   10369 cat >conftest.$ac_ext <<_ACEOF
   10370 /* confdefs.h.  */
   10371 _ACEOF
   10372 cat confdefs.h >>conftest.$ac_ext
   10373 cat >>conftest.$ac_ext <<_ACEOF
   10374 /* end confdefs.h.  */
   10375 
   10376 /* Override any GCC internal prototype to avoid an error.
   10377    Use char because int might match the return type of a GCC
   10378    builtin and then its argument prototype would still apply.  */
   10379 #ifdef __cplusplus
   10380 extern "C"
   10381 #endif
   10382 char dld_link ();
   10383 int
   10384 main ()
   10385 {
   10386 return dld_link ();
   10387   ;
   10388   return 0;
   10389 }
   10390 _ACEOF
   10391 rm -f conftest.$ac_objext conftest$ac_exeext
   10392 if { (ac_try="$ac_link"
   10393 case "(($ac_try" in
   10394   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   10395   *) ac_try_echo=$ac_try;;
   10396 esac
   10397 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   10398 $as_echo "$ac_try_echo") >&5
   10399   (eval "$ac_link") 2>conftest.er1
   10400   ac_status=$?
   10401   grep -v '^ *+' conftest.er1 >conftest.err
   10402   rm -f conftest.er1
   10403   cat conftest.err >&5
   10404   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10405   (exit $ac_status); } && {
   10406 	 test -z "$ac_c_werror_flag" ||
   10407 	 test ! -s conftest.err
   10408        } && test -s conftest$ac_exeext && {
   10409 	 test "$cross_compiling" = yes ||
   10410 	 $as_test_x conftest$ac_exeext
   10411        }; then
   10412   ac_cv_lib_dld_dld_link=yes
   10413 else
   10414   $as_echo "$as_me: failed program was:" >&5
   10415 sed 's/^/| /' conftest.$ac_ext >&5
   10416 
   10417 	ac_cv_lib_dld_dld_link=no
   10418 fi
   10419 
   10420 rm -rf conftest.dSYM
   10421 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   10422       conftest$ac_exeext conftest.$ac_ext
   10423 LIBS=$ac_check_lib_save_LIBS
   10424 fi
   10425 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
   10426 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
   10427 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then
   10428   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
   10429 fi
   10430 
   10431 
   10432 fi
   10433 
   10434 
   10435 fi
   10436 
   10437 
   10438 fi
   10439 
   10440 
   10441 fi
   10442 
   10443 
   10444 fi
   10445 
   10446     ;;
   10447   esac
   10448 
   10449   if test "x$lt_cv_dlopen" != xno; then
   10450     enable_dlopen=yes
   10451   else
   10452     enable_dlopen=no
   10453   fi
   10454 
   10455   case $lt_cv_dlopen in
   10456   dlopen)
   10457     save_CPPFLAGS="$CPPFLAGS"
   10458     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
   10459 
   10460     save_LDFLAGS="$LDFLAGS"
   10461     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
   10462 
   10463     save_LIBS="$LIBS"
   10464     LIBS="$lt_cv_dlopen_libs $LIBS"
   10465 
   10466     { $as_echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
   10467 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
   10468 if test "${lt_cv_dlopen_self+set}" = set; then
   10469   $as_echo_n "(cached) " >&6
   10470 else
   10471   	  if test "$cross_compiling" = yes; then :
   10472   lt_cv_dlopen_self=cross
   10473 else
   10474   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   10475   lt_status=$lt_dlunknown
   10476   cat > conftest.$ac_ext <<EOF
   10477 #line 10477 "configure"
   10478 #include "confdefs.h"
   10479 
   10480 #if HAVE_DLFCN_H
   10481 #include <dlfcn.h>
   10482 #endif
   10483 
   10484 #include <stdio.h>
   10485 
   10486 #ifdef RTLD_GLOBAL
   10487 #  define LT_DLGLOBAL		RTLD_GLOBAL
   10488 #else
   10489 #  ifdef DL_GLOBAL
   10490 #    define LT_DLGLOBAL		DL_GLOBAL
   10491 #  else
   10492 #    define LT_DLGLOBAL		0
   10493 #  endif
   10494 #endif
   10495 
   10496 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   10497    find out it does not work in some platform. */
   10498 #ifndef LT_DLLAZY_OR_NOW
   10499 #  ifdef RTLD_LAZY
   10500 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   10501 #  else
   10502 #    ifdef DL_LAZY
   10503 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   10504 #    else
   10505 #      ifdef RTLD_NOW
   10506 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   10507 #      else
   10508 #        ifdef DL_NOW
   10509 #          define LT_DLLAZY_OR_NOW	DL_NOW
   10510 #        else
   10511 #          define LT_DLLAZY_OR_NOW	0
   10512 #        endif
   10513 #      endif
   10514 #    endif
   10515 #  endif
   10516 #endif
   10517 
   10518 #ifdef __cplusplus
   10519 extern "C" void exit (int);
   10520 #endif
   10521 
   10522 void fnord() { int i=42;}
   10523 int main ()
   10524 {
   10525   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   10526   int status = $lt_dlunknown;
   10527 
   10528   if (self)
   10529     {
   10530       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   10531       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
   10532       /* dlclose (self); */
   10533     }
   10534   else
   10535     puts (dlerror ());
   10536 
   10537     exit (status);
   10538 }
   10539 EOF
   10540   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   10541   (eval $ac_link) 2>&5
   10542   ac_status=$?
   10543   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10544   (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
   10545     (./conftest; exit; ) >&5 2>/dev/null
   10546     lt_status=$?
   10547     case x$lt_status in
   10548       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
   10549       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
   10550       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
   10551     esac
   10552   else :
   10553     # compilation failed
   10554     lt_cv_dlopen_self=no
   10555   fi
   10556 fi
   10557 rm -fr conftest*
   10558 
   10559 
   10560 fi
   10561 { $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
   10562 $as_echo "$lt_cv_dlopen_self" >&6; }
   10563 
   10564     if test "x$lt_cv_dlopen_self" = xyes; then
   10565       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
   10566       { $as_echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
   10567 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
   10568 if test "${lt_cv_dlopen_self_static+set}" = set; then
   10569   $as_echo_n "(cached) " >&6
   10570 else
   10571   	  if test "$cross_compiling" = yes; then :
   10572   lt_cv_dlopen_self_static=cross
   10573 else
   10574   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   10575   lt_status=$lt_dlunknown
   10576   cat > conftest.$ac_ext <<EOF
   10577 #line 10577 "configure"
   10578 #include "confdefs.h"
   10579 
   10580 #if HAVE_DLFCN_H
   10581 #include <dlfcn.h>
   10582 #endif
   10583 
   10584 #include <stdio.h>
   10585 
   10586 #ifdef RTLD_GLOBAL
   10587 #  define LT_DLGLOBAL		RTLD_GLOBAL
   10588 #else
   10589 #  ifdef DL_GLOBAL
   10590 #    define LT_DLGLOBAL		DL_GLOBAL
   10591 #  else
   10592 #    define LT_DLGLOBAL		0
   10593 #  endif
   10594 #endif
   10595 
   10596 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   10597    find out it does not work in some platform. */
   10598 #ifndef LT_DLLAZY_OR_NOW
   10599 #  ifdef RTLD_LAZY
   10600 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   10601 #  else
   10602 #    ifdef DL_LAZY
   10603 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   10604 #    else
   10605 #      ifdef RTLD_NOW
   10606 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   10607 #      else
   10608 #        ifdef DL_NOW
   10609 #          define LT_DLLAZY_OR_NOW	DL_NOW
   10610 #        else
   10611 #          define LT_DLLAZY_OR_NOW	0
   10612 #        endif
   10613 #      endif
   10614 #    endif
   10615 #  endif
   10616 #endif
   10617 
   10618 #ifdef __cplusplus
   10619 extern "C" void exit (int);
   10620 #endif
   10621 
   10622 void fnord() { int i=42;}
   10623 int main ()
   10624 {
   10625   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   10626   int status = $lt_dlunknown;
   10627 
   10628   if (self)
   10629     {
   10630       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   10631       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
   10632       /* dlclose (self); */
   10633     }
   10634   else
   10635     puts (dlerror ());
   10636 
   10637     exit (status);
   10638 }
   10639 EOF
   10640   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   10641   (eval $ac_link) 2>&5
   10642   ac_status=$?
   10643   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10644   (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
   10645     (./conftest; exit; ) >&5 2>/dev/null
   10646     lt_status=$?
   10647     case x$lt_status in
   10648       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
   10649       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
   10650       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
   10651     esac
   10652   else :
   10653     # compilation failed
   10654     lt_cv_dlopen_self_static=no
   10655   fi
   10656 fi
   10657 rm -fr conftest*
   10658 
   10659 
   10660 fi
   10661 { $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
   10662 $as_echo "$lt_cv_dlopen_self_static" >&6; }
   10663     fi
   10664 
   10665     CPPFLAGS="$save_CPPFLAGS"
   10666     LDFLAGS="$save_LDFLAGS"
   10667     LIBS="$save_LIBS"
   10668     ;;
   10669   esac
   10670 
   10671   case $lt_cv_dlopen_self in
   10672   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
   10673   *) enable_dlopen_self=unknown ;;
   10674   esac
   10675 
   10676   case $lt_cv_dlopen_self_static in
   10677   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
   10678   *) enable_dlopen_self_static=unknown ;;
   10679   esac
   10680 fi
   10681 
   10682 
   10683 # Report which library types will actually be built
   10684 { $as_echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
   10685 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
   10686 { $as_echo "$as_me:$LINENO: result: $can_build_shared" >&5
   10687 $as_echo "$can_build_shared" >&6; }
   10688 
   10689 { $as_echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
   10690 $as_echo_n "checking whether to build shared libraries... " >&6; }
   10691 test "$can_build_shared" = "no" && enable_shared=no
   10692 
   10693 # On AIX, shared libraries and static libraries use the same namespace, and
   10694 # are all built from PIC.
   10695 case $host_os in
   10696 aix3*)
   10697   test "$enable_shared" = yes && enable_static=no
   10698   if test -n "$RANLIB"; then
   10699     archive_cmds="$archive_cmds~\$RANLIB \$lib"
   10700     postinstall_cmds='$RANLIB $lib'
   10701   fi
   10702   ;;
   10703 
   10704 aix[4-9]*)
   10705   if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
   10706     test "$enable_shared" = yes && enable_static=no
   10707   fi
   10708     ;;
   10709 esac
   10710 { $as_echo "$as_me:$LINENO: result: $enable_shared" >&5
   10711 $as_echo "$enable_shared" >&6; }
   10712 
   10713 { $as_echo "$as_me:$LINENO: checking whether to build static libraries" >&5
   10714 $as_echo_n "checking whether to build static libraries... " >&6; }
   10715 # Make sure either enable_shared or enable_static is yes.
   10716 test "$enable_shared" = yes || enable_static=yes
   10717 { $as_echo "$as_me:$LINENO: result: $enable_static" >&5
   10718 $as_echo "$enable_static" >&6; }
   10719 
   10720 # The else clause should only fire when bootstrapping the
   10721 # libtool distribution, otherwise you forgot to ship ltmain.sh
   10722 # with your package, and you will get complaints that there are
   10723 # no rules to generate ltmain.sh.
   10724 if test -f "$ltmain"; then
   10725   # See if we are running on zsh, and set the options which allow our commands through
   10726   # without removal of \ escapes.
   10727   if test -n "${ZSH_VERSION+set}" ; then
   10728     setopt NO_GLOB_SUBST
   10729   fi
   10730   # Now quote all the things that may contain metacharacters while being
   10731   # careful not to overquote the AC_SUBSTed values.  We take copies of the
   10732   # variables and quote the copies for generation of the libtool script.
   10733   for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
   10734     SED SHELL STRIP \
   10735     libname_spec library_names_spec soname_spec extract_expsyms_cmds \
   10736     old_striplib striplib file_magic_cmd finish_cmds finish_eval \
   10737     deplibs_check_method reload_flag reload_cmds need_locks \
   10738     lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
   10739     lt_cv_sys_global_symbol_to_c_name_address \
   10740     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
   10741     old_postinstall_cmds old_postuninstall_cmds \
   10742     compiler \
   10743     CC \
   10744     LD \
   10745     lt_prog_compiler_wl \
   10746     lt_prog_compiler_pic \
   10747     lt_prog_compiler_static \
   10748     lt_prog_compiler_no_builtin_flag \
   10749     export_dynamic_flag_spec \
   10750     thread_safe_flag_spec \
   10751     whole_archive_flag_spec \
   10752     enable_shared_with_static_runtimes \
   10753     old_archive_cmds \
   10754     old_archive_from_new_cmds \
   10755     predep_objects \
   10756     postdep_objects \
   10757     predeps \
   10758     postdeps \
   10759     compiler_lib_search_path \
   10760     compiler_lib_search_dirs \
   10761     archive_cmds \
   10762     archive_expsym_cmds \
   10763     postinstall_cmds \
   10764     postuninstall_cmds \
   10765     old_archive_from_expsyms_cmds \
   10766     allow_undefined_flag \
   10767     no_undefined_flag \
   10768     export_symbols_cmds \
   10769     hardcode_libdir_flag_spec \
   10770     hardcode_libdir_flag_spec_ld \
   10771     hardcode_libdir_separator \
   10772     hardcode_automatic \
   10773     module_cmds \
   10774     module_expsym_cmds \
   10775     lt_cv_prog_compiler_c_o \
   10776     fix_srcfile_path \
   10777     exclude_expsyms \
   10778     include_expsyms; do
   10779 
   10780     case $var in
   10781     old_archive_cmds | \
   10782     old_archive_from_new_cmds | \
   10783     archive_cmds | \
   10784     archive_expsym_cmds | \
   10785     module_cmds | \
   10786     module_expsym_cmds | \
   10787     old_archive_from_expsyms_cmds | \
   10788     export_symbols_cmds | \
   10789     extract_expsyms_cmds | reload_cmds | finish_cmds | \
   10790     postinstall_cmds | postuninstall_cmds | \
   10791     old_postinstall_cmds | old_postuninstall_cmds | \
   10792     sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
   10793       # Double-quote double-evaled strings.
   10794       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
   10795       ;;
   10796     *)
   10797       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
   10798       ;;
   10799     esac
   10800   done
   10801 
   10802   case $lt_echo in
   10803   *'\$0 --fallback-echo"')
   10804     lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
   10805     ;;
   10806   esac
   10807 
   10808 cfgfile="${ofile}T"
   10809   trap "$rm \"$cfgfile\"; exit 1" 1 2 15
   10810   $rm -f "$cfgfile"
   10811   { $as_echo "$as_me:$LINENO: creating $ofile" >&5
   10812 $as_echo "$as_me: creating $ofile" >&6;}
   10813 
   10814   cat <<__EOF__ >> "$cfgfile"
   10815 #! $SHELL
   10816 
   10817 # `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
   10818 # Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
   10819 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
   10820 #
   10821 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008
   10822 # Free Software Foundation, Inc.
   10823 #
   10824 # This file is part of GNU Libtool:
   10825 # Originally by Gordon Matzigkeit <gord (at] gnu.ai.mit.edu>, 1996
   10826 #
   10827 # This program is free software; you can redistribute it and/or modify
   10828 # it under the terms of the GNU General Public License as published by
   10829 # the Free Software Foundation; either version 2 of the License, or
   10830 # (at your option) any later version.
   10831 #
   10832 # This program is distributed in the hope that it will be useful, but
   10833 # WITHOUT ANY WARRANTY; without even the implied warranty of
   10834 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
   10835 # General Public License for more details.
   10836 #
   10837 # You should have received a copy of the GNU General Public License
   10838 # along with this program; if not, write to the Free Software
   10839 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
   10840 #
   10841 # As a special exception to the GNU General Public License, if you
   10842 # distribute this file as part of a program that contains a
   10843 # configuration script generated by Autoconf, you may include it under
   10844 # the same distribution terms that you use for the rest of that program.
   10845 
   10846 # A sed program that does not truncate output.
   10847 SED=$lt_SED
   10848 
   10849 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
   10850 Xsed="$SED -e 1s/^X//"
   10851 
   10852 # The HP-UX ksh and POSIX shell print the target directory to stdout
   10853 # if CDPATH is set.
   10854 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   10855 
   10856 # The names of the tagged configurations supported by this script.
   10857 available_tags=
   10858 
   10859 # ### BEGIN LIBTOOL CONFIG
   10860 
   10861 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   10862 
   10863 # Shell to use when invoking shell scripts.
   10864 SHELL=$lt_SHELL
   10865 
   10866 # Whether or not to build shared libraries.
   10867 build_libtool_libs=$enable_shared
   10868 
   10869 # Whether or not to build static libraries.
   10870 build_old_libs=$enable_static
   10871 
   10872 # Whether or not to add -lc for building shared libraries.
   10873 build_libtool_need_lc=$archive_cmds_need_lc
   10874 
   10875 # Whether or not to disallow shared libs when runtime libs are static
   10876 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
   10877 
   10878 # Whether or not to optimize for fast installation.
   10879 fast_install=$enable_fast_install
   10880 
   10881 # The host system.
   10882 host_alias=$host_alias
   10883 host=$host
   10884 host_os=$host_os
   10885 
   10886 # The build system.
   10887 build_alias=$build_alias
   10888 build=$build
   10889 build_os=$build_os
   10890 
   10891 # An echo program that does not interpret backslashes.
   10892 echo=$lt_echo
   10893 
   10894 # The archiver.
   10895 AR=$lt_AR
   10896 AR_FLAGS=$lt_AR_FLAGS
   10897 
   10898 # A C compiler.
   10899 LTCC=$lt_LTCC
   10900 
   10901 # LTCC compiler flags.
   10902 LTCFLAGS=$lt_LTCFLAGS
   10903 
   10904 # A language-specific compiler.
   10905 CC=$lt_compiler
   10906 
   10907 # Is the compiler the GNU C compiler?
   10908 with_gcc=$GCC
   10909 
   10910 # An ERE matcher.
   10911 EGREP=$lt_EGREP
   10912 
   10913 # The linker used to build libraries.
   10914 LD=$lt_LD
   10915 
   10916 # Whether we need hard or soft links.
   10917 LN_S=$lt_LN_S
   10918 
   10919 # A BSD-compatible nm program.
   10920 NM=$lt_NM
   10921 
   10922 # A symbol stripping program
   10923 STRIP=$lt_STRIP
   10924 
   10925 # Used to examine libraries when file_magic_cmd begins "file"
   10926 MAGIC_CMD=$MAGIC_CMD
   10927 
   10928 # Used on cygwin: DLL creation program.
   10929 DLLTOOL="$DLLTOOL"
   10930 
   10931 # Used on cygwin: object dumper.
   10932 OBJDUMP="$OBJDUMP"
   10933 
   10934 # Used on cygwin: assembler.
   10935 AS="$AS"
   10936 
   10937 # The name of the directory that contains temporary libtool files.
   10938 objdir=$objdir
   10939 
   10940 # How to create reloadable object files.
   10941 reload_flag=$lt_reload_flag
   10942 reload_cmds=$lt_reload_cmds
   10943 
   10944 # How to pass a linker flag through the compiler.
   10945 wl=$lt_lt_prog_compiler_wl
   10946 
   10947 # Object file suffix (normally "o").
   10948 objext="$ac_objext"
   10949 
   10950 # Old archive suffix (normally "a").
   10951 libext="$libext"
   10952 
   10953 # Shared library suffix (normally ".so").
   10954 shrext_cmds='$shrext_cmds'
   10955 
   10956 # Executable file suffix (normally "").
   10957 exeext="$exeext"
   10958 
   10959 # Additional compiler flags for building library objects.
   10960 pic_flag=$lt_lt_prog_compiler_pic
   10961 pic_mode=$pic_mode
   10962 
   10963 # What is the maximum length of a command?
   10964 max_cmd_len=$lt_cv_sys_max_cmd_len
   10965 
   10966 # Does compiler simultaneously support -c and -o options?
   10967 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
   10968 
   10969 # Must we lock files when doing compilation?
   10970 need_locks=$lt_need_locks
   10971 
   10972 # Do we need the lib prefix for modules?
   10973 need_lib_prefix=$need_lib_prefix
   10974 
   10975 # Do we need a version for libraries?
   10976 need_version=$need_version
   10977 
   10978 # Whether dlopen is supported.
   10979 dlopen_support=$enable_dlopen
   10980 
   10981 # Whether dlopen of programs is supported.
   10982 dlopen_self=$enable_dlopen_self
   10983 
   10984 # Whether dlopen of statically linked programs is supported.
   10985 dlopen_self_static=$enable_dlopen_self_static
   10986 
   10987 # Compiler flag to prevent dynamic linking.
   10988 link_static_flag=$lt_lt_prog_compiler_static
   10989 
   10990 # Compiler flag to turn off builtin functions.
   10991 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
   10992 
   10993 # Compiler flag to allow reflexive dlopens.
   10994 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
   10995 
   10996 # Compiler flag to generate shared objects directly from archives.
   10997 whole_archive_flag_spec=$lt_whole_archive_flag_spec
   10998 
   10999 # Compiler flag to generate thread-safe objects.
   11000 thread_safe_flag_spec=$lt_thread_safe_flag_spec
   11001 
   11002 # Library versioning type.
   11003 version_type=$version_type
   11004 
   11005 # Format of library name prefix.
   11006 libname_spec=$lt_libname_spec
   11007 
   11008 # List of archive names.  First name is the real one, the rest are links.
   11009 # The last name is the one that the linker finds with -lNAME.
   11010 library_names_spec=$lt_library_names_spec
   11011 
   11012 # The coded name of the library, if different from the real name.
   11013 soname_spec=$lt_soname_spec
   11014 
   11015 # Commands used to build and install an old-style archive.
   11016 RANLIB=$lt_RANLIB
   11017 old_archive_cmds=$lt_old_archive_cmds
   11018 old_postinstall_cmds=$lt_old_postinstall_cmds
   11019 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   11020 
   11021 # Create an old-style archive from a shared archive.
   11022 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
   11023 
   11024 # Create a temporary old-style archive to link instead of a shared archive.
   11025 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
   11026 
   11027 # Commands used to build and install a shared archive.
   11028 archive_cmds=$lt_archive_cmds
   11029 archive_expsym_cmds=$lt_archive_expsym_cmds
   11030 postinstall_cmds=$lt_postinstall_cmds
   11031 postuninstall_cmds=$lt_postuninstall_cmds
   11032 
   11033 # Commands used to build a loadable module (assumed same as above if empty)
   11034 module_cmds=$lt_module_cmds
   11035 module_expsym_cmds=$lt_module_expsym_cmds
   11036 
   11037 # Commands to strip libraries.
   11038 old_striplib=$lt_old_striplib
   11039 striplib=$lt_striplib
   11040 
   11041 # Dependencies to place before the objects being linked to create a
   11042 # shared library.
   11043 predep_objects=$lt_predep_objects
   11044 
   11045 # Dependencies to place after the objects being linked to create a
   11046 # shared library.
   11047 postdep_objects=$lt_postdep_objects
   11048 
   11049 # Dependencies to place before the objects being linked to create a
   11050 # shared library.
   11051 predeps=$lt_predeps
   11052 
   11053 # Dependencies to place after the objects being linked to create a
   11054 # shared library.
   11055 postdeps=$lt_postdeps
   11056 
   11057 # The directories searched by this compiler when creating a shared
   11058 # library
   11059 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
   11060 
   11061 # The library search path used internally by the compiler when linking
   11062 # a shared library.
   11063 compiler_lib_search_path=$lt_compiler_lib_search_path
   11064 
   11065 # Method to check whether dependent libraries are shared objects.
   11066 deplibs_check_method=$lt_deplibs_check_method
   11067 
   11068 # Command to use when deplibs_check_method == file_magic.
   11069 file_magic_cmd=$lt_file_magic_cmd
   11070 
   11071 # Flag that allows shared libraries with undefined symbols to be built.
   11072 allow_undefined_flag=$lt_allow_undefined_flag
   11073 
   11074 # Flag that forces no undefined symbols.
   11075 no_undefined_flag=$lt_no_undefined_flag
   11076 
   11077 # Commands used to finish a libtool library installation in a directory.
   11078 finish_cmds=$lt_finish_cmds
   11079 
   11080 # Same as above, but a single script fragment to be evaled but not shown.
   11081 finish_eval=$lt_finish_eval
   11082 
   11083 # Take the output of nm and produce a listing of raw symbols and C names.
   11084 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   11085 
   11086 # Transform the output of nm in a proper C declaration
   11087 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   11088 
   11089 # Transform the output of nm in a C name address pair
   11090 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   11091 
   11092 # This is the shared library runtime path variable.
   11093 runpath_var=$runpath_var
   11094 
   11095 # This is the shared library path variable.
   11096 shlibpath_var=$shlibpath_var
   11097 
   11098 # Is shlibpath searched before the hard-coded library search path?
   11099 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   11100 
   11101 # How to hardcode a shared library path into an executable.
   11102 hardcode_action=$hardcode_action
   11103 
   11104 # Whether we should hardcode library paths into libraries.
   11105 hardcode_into_libs=$hardcode_into_libs
   11106 
   11107 # Flag to hardcode \$libdir into a binary during linking.
   11108 # This must work even if \$libdir does not exist.
   11109 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
   11110 
   11111 # If ld is used when linking, flag to hardcode \$libdir into
   11112 # a binary during linking. This must work even if \$libdir does
   11113 # not exist.
   11114 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
   11115 
   11116 # Whether we need a single -rpath flag with a separated argument.
   11117 hardcode_libdir_separator=$lt_hardcode_libdir_separator
   11118 
   11119 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
   11120 # resulting binary.
   11121 hardcode_direct=$hardcode_direct
   11122 
   11123 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
   11124 # resulting binary.
   11125 hardcode_minus_L=$hardcode_minus_L
   11126 
   11127 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
   11128 # the resulting binary.
   11129 hardcode_shlibpath_var=$hardcode_shlibpath_var
   11130 
   11131 # Set to yes if building a shared library automatically hardcodes DIR into the library
   11132 # and all subsequent libraries and executables linked against it.
   11133 hardcode_automatic=$hardcode_automatic
   11134 
   11135 # Variables whose values should be saved in libtool wrapper scripts and
   11136 # restored at relink time.
   11137 variables_saved_for_relink="$variables_saved_for_relink"
   11138 
   11139 # Whether libtool must link a program against all its dependency libraries.
   11140 link_all_deplibs=$link_all_deplibs
   11141 
   11142 # Compile-time system search path for libraries
   11143 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   11144 
   11145 # Run-time system search path for libraries
   11146 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   11147 
   11148 # Fix the shell variable \$srcfile for the compiler.
   11149 fix_srcfile_path=$lt_fix_srcfile_path
   11150 
   11151 # Set to yes if exported symbols are required.
   11152 always_export_symbols=$always_export_symbols
   11153 
   11154 # The commands to list exported symbols.
   11155 export_symbols_cmds=$lt_export_symbols_cmds
   11156 
   11157 # The commands to extract the exported symbol list from a shared archive.
   11158 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   11159 
   11160 # Symbols that should not be listed in the preloaded symbols.
   11161 exclude_expsyms=$lt_exclude_expsyms
   11162 
   11163 # Symbols that must always be exported.
   11164 include_expsyms=$lt_include_expsyms
   11165 
   11166 # ### END LIBTOOL CONFIG
   11167 
   11168 __EOF__
   11169 
   11170 
   11171   case $host_os in
   11172   aix3*)
   11173     cat <<\EOF >> "$cfgfile"
   11174 
   11175 # AIX sometimes has problems with the GCC collect2 program.  For some
   11176 # reason, if we set the COLLECT_NAMES environment variable, the problems
   11177 # vanish in a puff of smoke.
   11178 if test "X${COLLECT_NAMES+set}" != Xset; then
   11179   COLLECT_NAMES=
   11180   export COLLECT_NAMES
   11181 fi
   11182 EOF
   11183     ;;
   11184   esac
   11185 
   11186   # We use sed instead of cat because bash on DJGPP gets confused if
   11187   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
   11188   # text mode, it properly converts lines to CR/LF.  This bash problem
   11189   # is reportedly fixed, but why not run on old versions too?
   11190   sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
   11191 
   11192   mv -f "$cfgfile" "$ofile" || \
   11193     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
   11194   chmod +x "$ofile"
   11195 
   11196 else
   11197   # If there is no Makefile yet, we rely on a make rule to execute
   11198   # `config.status --recheck' to rerun these tests and create the
   11199   # libtool script then.
   11200   ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
   11201   if test -f "$ltmain_in"; then
   11202     test -f Makefile && make "$ltmain"
   11203   fi
   11204 fi
   11205 
   11206 
   11207 ac_ext=c
   11208 ac_cpp='$CPP $CPPFLAGS'
   11209 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   11210 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   11211 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   11212 
   11213 CC="$lt_save_CC"
   11214 
   11215 
   11216 # Check whether --with-tags was given.
   11217 if test "${with_tags+set}" = set; then
   11218   withval=$with_tags; tagnames="$withval"
   11219 fi
   11220 
   11221 
   11222 if test -f "$ltmain" && test -n "$tagnames"; then
   11223   if test ! -f "${ofile}"; then
   11224     { $as_echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist" >&5
   11225 $as_echo "$as_me: WARNING: output file \`$ofile' does not exist" >&2;}
   11226   fi
   11227 
   11228   if test -z "$LTCC"; then
   11229     eval "`$SHELL ${ofile} --config | grep '^LTCC='`"
   11230     if test -z "$LTCC"; then
   11231       { $as_echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
   11232 $as_echo "$as_me: WARNING: output file \`$ofile' does not look like a libtool script" >&2;}
   11233     else
   11234       { $as_echo "$as_me:$LINENO: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&5
   11235 $as_echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;}
   11236     fi
   11237   fi
   11238   if test -z "$LTCFLAGS"; then
   11239     eval "`$SHELL ${ofile} --config | grep '^LTCFLAGS='`"
   11240   fi
   11241 
   11242   # Extract list of available tagged configurations in $ofile.
   11243   # Note that this assumes the entire list is on one line.
   11244   available_tags=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
   11245 
   11246   lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   11247   for tagname in $tagnames; do
   11248     IFS="$lt_save_ifs"
   11249     # Check whether tagname contains only valid characters
   11250     case `$echo "X$tagname" | $Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
   11251     "") ;;
   11252     *)  { { $as_echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
   11253 $as_echo "$as_me: error: invalid tag name: $tagname" >&2;}
   11254    { (exit 1); exit 1; }; }
   11255 	;;
   11256     esac
   11257 
   11258     if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
   11259     then
   11260       { { $as_echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
   11261 $as_echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
   11262    { (exit 1); exit 1; }; }
   11263     fi
   11264 
   11265     # Update the list of available tags.
   11266     if test -n "$tagname"; then
   11267       echo appending configuration tag \"$tagname\" to $ofile
   11268 
   11269       case $tagname in
   11270       CXX)
   11271 	if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
   11272 	    ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
   11273 	    (test "X$CXX" != "Xg++"))) ; then
   11274 	  ac_ext=cpp
   11275 ac_cpp='$CXXCPP $CPPFLAGS'
   11276 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   11277 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   11278 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   11279 
   11280 
   11281 
   11282 
   11283 archive_cmds_need_lc_CXX=no
   11284 allow_undefined_flag_CXX=
   11285 always_export_symbols_CXX=no
   11286 archive_expsym_cmds_CXX=
   11287 export_dynamic_flag_spec_CXX=
   11288 hardcode_direct_CXX=no
   11289 hardcode_libdir_flag_spec_CXX=
   11290 hardcode_libdir_flag_spec_ld_CXX=
   11291 hardcode_libdir_separator_CXX=
   11292 hardcode_minus_L_CXX=no
   11293 hardcode_shlibpath_var_CXX=unsupported
   11294 hardcode_automatic_CXX=no
   11295 module_cmds_CXX=
   11296 module_expsym_cmds_CXX=
   11297 link_all_deplibs_CXX=unknown
   11298 old_archive_cmds_CXX=$old_archive_cmds
   11299 no_undefined_flag_CXX=
   11300 whole_archive_flag_spec_CXX=
   11301 enable_shared_with_static_runtimes_CXX=no
   11302 
   11303 # Dependencies to place before and after the object being linked:
   11304 predep_objects_CXX=
   11305 postdep_objects_CXX=
   11306 predeps_CXX=
   11307 postdeps_CXX=
   11308 compiler_lib_search_path_CXX=
   11309 compiler_lib_search_dirs_CXX=
   11310 
   11311 # Source file extension for C++ test sources.
   11312 ac_ext=cpp
   11313 
   11314 # Object file extension for compiled C++ test sources.
   11315 objext=o
   11316 objext_CXX=$objext
   11317 
   11318 # Code to be used in simple compile tests
   11319 lt_simple_compile_test_code="int some_variable = 0;"
   11320 
   11321 # Code to be used in simple link tests
   11322 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
   11323 
   11324 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
   11325 
   11326 # If no C compiler was specified, use CC.
   11327 LTCC=${LTCC-"$CC"}
   11328 
   11329 # If no C compiler flags were specified, use CFLAGS.
   11330 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   11331 
   11332 # Allow CC to be a program name with arguments.
   11333 compiler=$CC
   11334 
   11335 
   11336 # save warnings/boilerplate of simple test code
   11337 ac_outfile=conftest.$ac_objext
   11338 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   11339 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   11340 _lt_compiler_boilerplate=`cat conftest.err`
   11341 $rm conftest*
   11342 
   11343 ac_outfile=conftest.$ac_objext
   11344 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   11345 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   11346 _lt_linker_boilerplate=`cat conftest.err`
   11347 $rm -r conftest*
   11348 
   11349 
   11350 # Allow CC to be a program name with arguments.
   11351 lt_save_CC=$CC
   11352 lt_save_LD=$LD
   11353 lt_save_GCC=$GCC
   11354 GCC=$GXX
   11355 lt_save_with_gnu_ld=$with_gnu_ld
   11356 lt_save_path_LD=$lt_cv_path_LD
   11357 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
   11358   lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
   11359 else
   11360   $as_unset lt_cv_prog_gnu_ld
   11361 fi
   11362 if test -n "${lt_cv_path_LDCXX+set}"; then
   11363   lt_cv_path_LD=$lt_cv_path_LDCXX
   11364 else
   11365   $as_unset lt_cv_path_LD
   11366 fi
   11367 test -z "${LDCXX+set}" || LD=$LDCXX
   11368 CC=${CXX-"c++"}
   11369 compiler=$CC
   11370 compiler_CXX=$CC
   11371 for cc_temp in $compiler""; do
   11372   case $cc_temp in
   11373     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   11374     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   11375     \-*) ;;
   11376     *) break;;
   11377   esac
   11378 done
   11379 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   11380 
   11381 
   11382 # We don't want -fno-exception wen compiling C++ code, so set the
   11383 # no_builtin_flag separately
   11384 if test "$GXX" = yes; then
   11385   lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
   11386 else
   11387   lt_prog_compiler_no_builtin_flag_CXX=
   11388 fi
   11389 
   11390 if test "$GXX" = yes; then
   11391   # Set up default GNU C++ configuration
   11392 
   11393 
   11394 # Check whether --with-gnu-ld was given.
   11395 if test "${with_gnu_ld+set}" = set; then
   11396   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
   11397 else
   11398   with_gnu_ld=no
   11399 fi
   11400 
   11401 ac_prog=ld
   11402 if test "$GCC" = yes; then
   11403   # Check if gcc -print-prog-name=ld gives a path.
   11404   { $as_echo "$as_me:$LINENO: checking for ld used by $CC" >&5
   11405 $as_echo_n "checking for ld used by $CC... " >&6; }
   11406   case $host in
   11407   *-*-mingw*)
   11408     # gcc leaves a trailing carriage return which upsets mingw
   11409     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   11410   *)
   11411     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   11412   esac
   11413   case $ac_prog in
   11414     # Accept absolute paths.
   11415     [\\/]* | ?:[\\/]*)
   11416       re_direlt='/[^/][^/]*/\.\./'
   11417       # Canonicalize the pathname of ld
   11418       ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
   11419       while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
   11420 	ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
   11421       done
   11422       test -z "$LD" && LD="$ac_prog"
   11423       ;;
   11424   "")
   11425     # If it fails, then pretend we aren't using GCC.
   11426     ac_prog=ld
   11427     ;;
   11428   *)
   11429     # If it is relative, then search for the first ld in PATH.
   11430     with_gnu_ld=unknown
   11431     ;;
   11432   esac
   11433 elif test "$with_gnu_ld" = yes; then
   11434   { $as_echo "$as_me:$LINENO: checking for GNU ld" >&5
   11435 $as_echo_n "checking for GNU ld... " >&6; }
   11436 else
   11437   { $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5
   11438 $as_echo_n "checking for non-GNU ld... " >&6; }
   11439 fi
   11440 if test "${lt_cv_path_LD+set}" = set; then
   11441   $as_echo_n "(cached) " >&6
   11442 else
   11443   if test -z "$LD"; then
   11444   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   11445   for ac_dir in $PATH; do
   11446     IFS="$lt_save_ifs"
   11447     test -z "$ac_dir" && ac_dir=.
   11448     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   11449       lt_cv_path_LD="$ac_dir/$ac_prog"
   11450       # Check to see if the program is GNU ld.  I'd rather use --version,
   11451       # but apparently some variants of GNU ld only accept -v.
   11452       # Break only if it was the GNU/non-GNU ld that we prefer.
   11453       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   11454       *GNU* | *'with BFD'*)
   11455 	test "$with_gnu_ld" != no && break
   11456 	;;
   11457       *)
   11458 	test "$with_gnu_ld" != yes && break
   11459 	;;
   11460       esac
   11461     fi
   11462   done
   11463   IFS="$lt_save_ifs"
   11464 else
   11465   lt_cv_path_LD="$LD" # Let the user override the test with a path.
   11466 fi
   11467 fi
   11468 
   11469 LD="$lt_cv_path_LD"
   11470 if test -n "$LD"; then
   11471   { $as_echo "$as_me:$LINENO: result: $LD" >&5
   11472 $as_echo "$LD" >&6; }
   11473 else
   11474   { $as_echo "$as_me:$LINENO: result: no" >&5
   11475 $as_echo "no" >&6; }
   11476 fi
   11477 test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
   11478 $as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
   11479    { (exit 1); exit 1; }; }
   11480 { $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
   11481 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
   11482 if test "${lt_cv_prog_gnu_ld+set}" = set; then
   11483   $as_echo_n "(cached) " >&6
   11484 else
   11485   # I'd rather use --version here, but apparently some GNU lds only accept -v.
   11486 case `$LD -v 2>&1 </dev/null` in
   11487 *GNU* | *'with BFD'*)
   11488   lt_cv_prog_gnu_ld=yes
   11489   ;;
   11490 *)
   11491   lt_cv_prog_gnu_ld=no
   11492   ;;
   11493 esac
   11494 fi
   11495 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
   11496 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
   11497 with_gnu_ld=$lt_cv_prog_gnu_ld
   11498 
   11499 
   11500 
   11501   # Check if GNU C++ uses GNU ld as the underlying linker, since the
   11502   # archiving commands below assume that GNU ld is being used.
   11503   if test "$with_gnu_ld" = yes; then
   11504     archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
   11505     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'
   11506 
   11507     hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
   11508     export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
   11509 
   11510     # If archive_cmds runs LD, not CC, wlarc should be empty
   11511     # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
   11512     #     investigate it a little bit more. (MM)
   11513     wlarc='${wl}'
   11514 
   11515     # ancient GNU ld didn't support --whole-archive et. al.
   11516     if eval "`$CC -print-prog-name=ld` --help 2>&1" | \
   11517 	grep 'no-whole-archive' > /dev/null; then
   11518       whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   11519     else
   11520       whole_archive_flag_spec_CXX=
   11521     fi
   11522   else
   11523     with_gnu_ld=no
   11524     wlarc=
   11525 
   11526     # A generic and very simple default shared library creation
   11527     # command for GNU C++ for the case where it uses the native
   11528     # linker, instead of GNU ld.  If possible, this setting should
   11529     # overridden to take advantage of the native linker features on
   11530     # the platform it is being used on.
   11531     archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
   11532   fi
   11533 
   11534   # Commands to make compiler produce verbose output that lists
   11535   # what "hidden" libraries, object files and flags are used when
   11536   # linking a shared library.
   11537   output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
   11538 
   11539 else
   11540   GXX=no
   11541   with_gnu_ld=no
   11542   wlarc=
   11543 fi
   11544 
   11545 # PORTME: fill in a description of your system's C++ link characteristics
   11546 { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   11547 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   11548 ld_shlibs_CXX=yes
   11549 case $host_os in
   11550   aix3*)
   11551     # FIXME: insert proper C++ library support
   11552     ld_shlibs_CXX=no
   11553     ;;
   11554   aix[4-9]*)
   11555     if test "$host_cpu" = ia64; then
   11556       # On IA64, the linker does run time linking by default, so we don't
   11557       # have to do anything special.
   11558       aix_use_runtimelinking=no
   11559       exp_sym_flag='-Bexport'
   11560       no_entry_flag=""
   11561     else
   11562       aix_use_runtimelinking=no
   11563 
   11564       # Test if we are trying to use run time linking or normal
   11565       # AIX style linking. If -brtl is somewhere in LDFLAGS, we
   11566       # need to do runtime linking.
   11567       case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   11568 	for ld_flag in $LDFLAGS; do
   11569 	  case $ld_flag in
   11570 	  *-brtl*)
   11571 	    aix_use_runtimelinking=yes
   11572 	    break
   11573 	    ;;
   11574 	  esac
   11575 	done
   11576 	;;
   11577       esac
   11578 
   11579       exp_sym_flag='-bexport'
   11580       no_entry_flag='-bnoentry'
   11581     fi
   11582 
   11583     # When large executables or shared objects are built, AIX ld can
   11584     # have problems creating the table of contents.  If linking a library
   11585     # or program results in "error TOC overflow" add -mminimal-toc to
   11586     # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   11587     # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   11588 
   11589     archive_cmds_CXX=''
   11590     hardcode_direct_CXX=yes
   11591     hardcode_libdir_separator_CXX=':'
   11592     link_all_deplibs_CXX=yes
   11593 
   11594     if test "$GXX" = yes; then
   11595       case $host_os in aix4.[012]|aix4.[012].*)
   11596       # We only want to do this on AIX 4.2 and lower, the check
   11597       # below for broken collect2 doesn't work under 4.3+
   11598 	collect2name=`${CC} -print-prog-name=collect2`
   11599 	if test -f "$collect2name" && \
   11600 	   strings "$collect2name" | grep resolve_lib_name >/dev/null
   11601 	then
   11602 	  # We have reworked collect2
   11603 	  :
   11604 	else
   11605 	  # We have old collect2
   11606 	  hardcode_direct_CXX=unsupported
   11607 	  # It fails to find uninstalled libraries when the uninstalled
   11608 	  # path is not listed in the libpath.  Setting hardcode_minus_L
   11609 	  # to unsupported forces relinking
   11610 	  hardcode_minus_L_CXX=yes
   11611 	  hardcode_libdir_flag_spec_CXX='-L$libdir'
   11612 	  hardcode_libdir_separator_CXX=
   11613 	fi
   11614 	;;
   11615       esac
   11616       shared_flag='-shared'
   11617       if test "$aix_use_runtimelinking" = yes; then
   11618 	shared_flag="$shared_flag "'${wl}-G'
   11619       fi
   11620     else
   11621       # not using gcc
   11622       if test "$host_cpu" = ia64; then
   11623 	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   11624 	# chokes on -Wl,-G. The following line is correct:
   11625 	shared_flag='-G'
   11626       else
   11627 	if test "$aix_use_runtimelinking" = yes; then
   11628 	  shared_flag='${wl}-G'
   11629 	else
   11630 	  shared_flag='${wl}-bM:SRE'
   11631 	fi
   11632       fi
   11633     fi
   11634 
   11635     # It seems that -bexpall does not export symbols beginning with
   11636     # underscore (_), so it is better to generate a list of symbols to export.
   11637     always_export_symbols_CXX=yes
   11638     if test "$aix_use_runtimelinking" = yes; then
   11639       # Warning - without using the other runtime loading flags (-brtl),
   11640       # -berok will link without error, but may produce a broken library.
   11641       allow_undefined_flag_CXX='-berok'
   11642       # Determine the default libpath from the value encoded in an empty executable.
   11643       cat >conftest.$ac_ext <<_ACEOF
   11644 /* confdefs.h.  */
   11645 _ACEOF
   11646 cat confdefs.h >>conftest.$ac_ext
   11647 cat >>conftest.$ac_ext <<_ACEOF
   11648 /* end confdefs.h.  */
   11649 
   11650 int
   11651 main ()
   11652 {
   11653 
   11654   ;
   11655   return 0;
   11656 }
   11657 _ACEOF
   11658 rm -f conftest.$ac_objext conftest$ac_exeext
   11659 if { (ac_try="$ac_link"
   11660 case "(($ac_try" in
   11661   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   11662   *) ac_try_echo=$ac_try;;
   11663 esac
   11664 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   11665 $as_echo "$ac_try_echo") >&5
   11666   (eval "$ac_link") 2>conftest.er1
   11667   ac_status=$?
   11668   grep -v '^ *+' conftest.er1 >conftest.err
   11669   rm -f conftest.er1
   11670   cat conftest.err >&5
   11671   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11672   (exit $ac_status); } && {
   11673 	 test -z "$ac_cxx_werror_flag" ||
   11674 	 test ! -s conftest.err
   11675        } && test -s conftest$ac_exeext && {
   11676 	 test "$cross_compiling" = yes ||
   11677 	 $as_test_x conftest$ac_exeext
   11678        }; then
   11679 
   11680 lt_aix_libpath_sed='
   11681     /Import File Strings/,/^$/ {
   11682 	/^0/ {
   11683 	    s/^0  *\(.*\)$/\1/
   11684 	    p
   11685 	}
   11686     }'
   11687 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   11688 # Check for a 64-bit object if we didn't find anything.
   11689 if test -z "$aix_libpath"; then
   11690   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   11691 fi
   11692 else
   11693   $as_echo "$as_me: failed program was:" >&5
   11694 sed 's/^/| /' conftest.$ac_ext >&5
   11695 
   11696 
   11697 fi
   11698 
   11699 rm -rf conftest.dSYM
   11700 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   11701       conftest$ac_exeext conftest.$ac_ext
   11702 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   11703 
   11704       hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
   11705 
   11706       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"
   11707      else
   11708       if test "$host_cpu" = ia64; then
   11709 	hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
   11710 	allow_undefined_flag_CXX="-z nodefs"
   11711 	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"
   11712       else
   11713 	# Determine the default libpath from the value encoded in an empty executable.
   11714 	cat >conftest.$ac_ext <<_ACEOF
   11715 /* confdefs.h.  */
   11716 _ACEOF
   11717 cat confdefs.h >>conftest.$ac_ext
   11718 cat >>conftest.$ac_ext <<_ACEOF
   11719 /* end confdefs.h.  */
   11720 
   11721 int
   11722 main ()
   11723 {
   11724 
   11725   ;
   11726   return 0;
   11727 }
   11728 _ACEOF
   11729 rm -f conftest.$ac_objext conftest$ac_exeext
   11730 if { (ac_try="$ac_link"
   11731 case "(($ac_try" in
   11732   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   11733   *) ac_try_echo=$ac_try;;
   11734 esac
   11735 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   11736 $as_echo "$ac_try_echo") >&5
   11737   (eval "$ac_link") 2>conftest.er1
   11738   ac_status=$?
   11739   grep -v '^ *+' conftest.er1 >conftest.err
   11740   rm -f conftest.er1
   11741   cat conftest.err >&5
   11742   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11743   (exit $ac_status); } && {
   11744 	 test -z "$ac_cxx_werror_flag" ||
   11745 	 test ! -s conftest.err
   11746        } && test -s conftest$ac_exeext && {
   11747 	 test "$cross_compiling" = yes ||
   11748 	 $as_test_x conftest$ac_exeext
   11749        }; then
   11750 
   11751 lt_aix_libpath_sed='
   11752     /Import File Strings/,/^$/ {
   11753 	/^0/ {
   11754 	    s/^0  *\(.*\)$/\1/
   11755 	    p
   11756 	}
   11757     }'
   11758 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   11759 # Check for a 64-bit object if we didn't find anything.
   11760 if test -z "$aix_libpath"; then
   11761   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   11762 fi
   11763 else
   11764   $as_echo "$as_me: failed program was:" >&5
   11765 sed 's/^/| /' conftest.$ac_ext >&5
   11766 
   11767 
   11768 fi
   11769 
   11770 rm -rf conftest.dSYM
   11771 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   11772       conftest$ac_exeext conftest.$ac_ext
   11773 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   11774 
   11775 	hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
   11776 	# Warning - without using the other run time loading flags,
   11777 	# -berok will link without error, but may produce a broken library.
   11778 	no_undefined_flag_CXX=' ${wl}-bernotok'
   11779 	allow_undefined_flag_CXX=' ${wl}-berok'
   11780 	# Exported symbols can be pulled into shared objects from archives
   11781 	whole_archive_flag_spec_CXX='$convenience'
   11782 	archive_cmds_need_lc_CXX=yes
   11783 	# This is similar to how AIX traditionally builds its shared libraries.
   11784 	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'
   11785       fi
   11786     fi
   11787     ;;
   11788 
   11789   beos*)
   11790     if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   11791       allow_undefined_flag_CXX=unsupported
   11792       # Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   11793       # support --undefined.  This deserves some investigation.  FIXME
   11794       archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   11795     else
   11796       ld_shlibs_CXX=no
   11797     fi
   11798     ;;
   11799 
   11800   chorus*)
   11801     case $cc_basename in
   11802       *)
   11803 	# FIXME: insert proper C++ library support
   11804 	ld_shlibs_CXX=no
   11805 	;;
   11806     esac
   11807     ;;
   11808 
   11809   cygwin* | mingw* | pw32*)
   11810     # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
   11811     # as there is no search path for DLLs.
   11812     hardcode_libdir_flag_spec_CXX='-L$libdir'
   11813     allow_undefined_flag_CXX=unsupported
   11814     always_export_symbols_CXX=no
   11815     enable_shared_with_static_runtimes_CXX=yes
   11816 
   11817     if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
   11818       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'
   11819       # If the export-symbols file already is a .def file (1st line
   11820       # is EXPORTS), use it as is; otherwise, prepend...
   11821       archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   11822 	cp $export_symbols $output_objdir/$soname.def;
   11823       else
   11824 	echo EXPORTS > $output_objdir/$soname.def;
   11825 	cat $export_symbols >> $output_objdir/$soname.def;
   11826       fi~
   11827       $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'
   11828     else
   11829       ld_shlibs_CXX=no
   11830     fi
   11831   ;;
   11832       darwin* | rhapsody*)
   11833       archive_cmds_need_lc_CXX=no
   11834       hardcode_direct_CXX=no
   11835       hardcode_automatic_CXX=yes
   11836       hardcode_shlibpath_var_CXX=unsupported
   11837       whole_archive_flag_spec_CXX=''
   11838       link_all_deplibs_CXX=yes
   11839       allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
   11840       if test "$GXX" = yes ; then
   11841       output_verbose_link_cmd='echo'
   11842       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}"
   11843       module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
   11844       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}"
   11845       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}"
   11846       if test "$lt_cv_apple_cc_single_mod" != "yes"; then
   11847         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}"
   11848         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}"
   11849       fi
   11850       else
   11851       case $cc_basename in
   11852         xlc*)
   11853          output_verbose_link_cmd='echo'
   11854           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'
   11855           module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
   11856           # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
   11857           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}'
   11858           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}'
   11859           ;;
   11860        *)
   11861          ld_shlibs_CXX=no
   11862           ;;
   11863       esac
   11864       fi
   11865         ;;
   11866 
   11867   dgux*)
   11868     case $cc_basename in
   11869       ec++*)
   11870 	# FIXME: insert proper C++ library support
   11871 	ld_shlibs_CXX=no
   11872 	;;
   11873       ghcx*)
   11874 	# Green Hills C++ Compiler
   11875 	# FIXME: insert proper C++ library support
   11876 	ld_shlibs_CXX=no
   11877 	;;
   11878       *)
   11879 	# FIXME: insert proper C++ library support
   11880 	ld_shlibs_CXX=no
   11881 	;;
   11882     esac
   11883     ;;
   11884   freebsd[12]*)
   11885     # C++ shared libraries reported to be fairly broken before switch to ELF
   11886     ld_shlibs_CXX=no
   11887     ;;
   11888   freebsd-elf*)
   11889     archive_cmds_need_lc_CXX=no
   11890     ;;
   11891   freebsd* | dragonfly*)
   11892     # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
   11893     # conventions
   11894     ld_shlibs_CXX=yes
   11895     ;;
   11896   gnu*)
   11897     ;;
   11898   hpux9*)
   11899     hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
   11900     hardcode_libdir_separator_CXX=:
   11901     export_dynamic_flag_spec_CXX='${wl}-E'
   11902     hardcode_direct_CXX=yes
   11903     hardcode_minus_L_CXX=yes # Not in the search PATH,
   11904 				# but as the default
   11905 				# location of the library.
   11906 
   11907     case $cc_basename in
   11908     CC*)
   11909       # FIXME: insert proper C++ library support
   11910       ld_shlibs_CXX=no
   11911       ;;
   11912     aCC*)
   11913       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'
   11914       # Commands to make compiler produce verbose output that lists
   11915       # what "hidden" libraries, object files and flags are used when
   11916       # linking a shared library.
   11917       #
   11918       # There doesn't appear to be a way to prevent this compiler from
   11919       # explicitly linking system object files so we need to strip them
   11920       # from the output so that they don't get included in the library
   11921       # dependencies.
   11922       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'
   11923       ;;
   11924     *)
   11925       if test "$GXX" = yes; then
   11926         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'
   11927       else
   11928         # FIXME: insert proper C++ library support
   11929         ld_shlibs_CXX=no
   11930       fi
   11931       ;;
   11932     esac
   11933     ;;
   11934   hpux10*|hpux11*)
   11935     if test $with_gnu_ld = no; then
   11936       hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
   11937       hardcode_libdir_separator_CXX=:
   11938 
   11939       case $host_cpu in
   11940       hppa*64*|ia64*) ;;
   11941       *)
   11942 	export_dynamic_flag_spec_CXX='${wl}-E'
   11943         ;;
   11944       esac
   11945     fi
   11946     case $host_cpu in
   11947     hppa*64*|ia64*)
   11948       hardcode_direct_CXX=no
   11949       hardcode_shlibpath_var_CXX=no
   11950       ;;
   11951     *)
   11952       hardcode_direct_CXX=yes
   11953       hardcode_minus_L_CXX=yes # Not in the search PATH,
   11954 					      # but as the default
   11955 					      # location of the library.
   11956       ;;
   11957     esac
   11958 
   11959     case $cc_basename in
   11960       CC*)
   11961 	# FIXME: insert proper C++ library support
   11962 	ld_shlibs_CXX=no
   11963 	;;
   11964       aCC*)
   11965 	case $host_cpu in
   11966 	hppa*64*)
   11967 	  archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   11968 	  ;;
   11969 	ia64*)
   11970 	  archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   11971 	  ;;
   11972 	*)
   11973 	  archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   11974 	  ;;
   11975 	esac
   11976 	# Commands to make compiler produce verbose output that lists
   11977 	# what "hidden" libraries, object files and flags are used when
   11978 	# linking a shared library.
   11979 	#
   11980 	# There doesn't appear to be a way to prevent this compiler from
   11981 	# explicitly linking system object files so we need to strip them
   11982 	# from the output so that they don't get included in the library
   11983 	# dependencies.
   11984 	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'
   11985 	;;
   11986       *)
   11987 	if test "$GXX" = yes; then
   11988 	  if test $with_gnu_ld = no; then
   11989 	    case $host_cpu in
   11990 	    hppa*64*)
   11991 	      archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   11992 	      ;;
   11993 	    ia64*)
   11994 	      archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   11995 	      ;;
   11996 	    *)
   11997 	      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'
   11998 	      ;;
   11999 	    esac
   12000 	  fi
   12001 	else
   12002 	  # FIXME: insert proper C++ library support
   12003 	  ld_shlibs_CXX=no
   12004 	fi
   12005 	;;
   12006     esac
   12007     ;;
   12008   interix[3-9]*)
   12009     hardcode_direct_CXX=no
   12010     hardcode_shlibpath_var_CXX=no
   12011     hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
   12012     export_dynamic_flag_spec_CXX='${wl}-E'
   12013     # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   12014     # Instead, shared libraries are loaded at an image base (0x10000000 by
   12015     # default) and relocated if they conflict, which is a slow very memory
   12016     # consuming and fragmenting process.  To avoid this, we pick a random,
   12017     # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   12018     # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   12019     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'
   12020     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'
   12021     ;;
   12022   irix5* | irix6*)
   12023     case $cc_basename in
   12024       CC*)
   12025 	# SGI C++
   12026 	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'
   12027 
   12028 	# Archives containing C++ object files must be created using
   12029 	# "CC -ar", where "CC" is the IRIX C++ compiler.  This is
   12030 	# necessary to make sure instantiated templates are included
   12031 	# in the archive.
   12032 	old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
   12033 	;;
   12034       *)
   12035 	if test "$GXX" = yes; then
   12036 	  if test "$with_gnu_ld" = no; then
   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` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
   12038 	  else
   12039 	    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'
   12040 	  fi
   12041 	fi
   12042 	link_all_deplibs_CXX=yes
   12043 	;;
   12044     esac
   12045     hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
   12046     hardcode_libdir_separator_CXX=:
   12047     ;;
   12048   linux* | k*bsd*-gnu)
   12049     case $cc_basename in
   12050       KCC*)
   12051 	# Kuck and Associates, Inc. (KAI) C++ Compiler
   12052 
   12053 	# KCC will only create a shared library if the output file
   12054 	# ends with ".so" (or ".sl" for HP-UX), so rename the library
   12055 	# to its proper name (with version) after linking.
   12056 	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'
   12057 	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'
   12058 	# Commands to make compiler produce verbose output that lists
   12059 	# what "hidden" libraries, object files and flags are used when
   12060 	# linking a shared library.
   12061 	#
   12062 	# There doesn't appear to be a way to prevent this compiler from
   12063 	# explicitly linking system object files so we need to strip them
   12064 	# from the output so that they don't get included in the library
   12065 	# dependencies.
   12066 	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'
   12067 
   12068 	hardcode_libdir_flag_spec_CXX='${wl}--rpath,$libdir'
   12069 	export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
   12070 
   12071 	# Archives containing C++ object files must be created using
   12072 	# "CC -Bstatic", where "CC" is the KAI C++ compiler.
   12073 	old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
   12074 	;;
   12075       icpc*)
   12076 	# Intel C++
   12077 	with_gnu_ld=yes
   12078 	# version 8.0 and above of icpc choke on multiply defined symbols
   12079 	# if we add $predep_objects and $postdep_objects, however 7.1 and
   12080 	# earlier do not add the objects themselves.
   12081 	case `$CC -V 2>&1` in
   12082 	*"Version 7."*)
   12083   	  archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
   12084   	  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'
   12085 	  ;;
   12086 	*)  # Version 8.0 or newer
   12087 	  tmp_idyn=
   12088 	  case $host_cpu in
   12089 	    ia64*) tmp_idyn=' -i_dynamic';;
   12090 	  esac
   12091   	  archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   12092 	  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'
   12093 	  ;;
   12094 	esac
   12095 	archive_cmds_need_lc_CXX=no
   12096 	hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
   12097 	export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
   12098 	whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
   12099 	;;
   12100       pgCC* | pgcpp*)
   12101         # Portland Group C++ compiler
   12102 	archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
   12103   	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'
   12104 
   12105 	hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
   12106 	export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
   12107 	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'
   12108         ;;
   12109       cxx*)
   12110 	# Compaq C++
   12111 	archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
   12112 	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'
   12113 
   12114 	runpath_var=LD_RUN_PATH
   12115 	hardcode_libdir_flag_spec_CXX='-rpath $libdir'
   12116 	hardcode_libdir_separator_CXX=:
   12117 
   12118 	# Commands to make compiler produce verbose output that lists
   12119 	# what "hidden" libraries, object files and flags are used when
   12120 	# linking a shared library.
   12121 	#
   12122 	# There doesn't appear to be a way to prevent this compiler from
   12123 	# explicitly linking system object files so we need to strip them
   12124 	# from the output so that they don't get included in the library
   12125 	# dependencies.
   12126 	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'
   12127 	;;
   12128       *)
   12129 	case `$CC -V 2>&1 | sed 5q` in
   12130 	*Sun\ C*)
   12131 	  # Sun C++ 5.9
   12132 	  no_undefined_flag_CXX=' -zdefs'
   12133 	  archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   12134 	  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'
   12135 	  hardcode_libdir_flag_spec_CXX='-R$libdir'
   12136 	  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'
   12137 
   12138 	  # Not sure whether something based on
   12139 	  # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
   12140 	  # would be better.
   12141 	  output_verbose_link_cmd='echo'
   12142 
   12143 	  # Archives containing C++ object files must be created using
   12144 	  # "CC -xar", where "CC" is the Sun C++ compiler.  This is
   12145 	  # necessary to make sure instantiated templates are included
   12146 	  # in the archive.
   12147 	  old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
   12148 	  ;;
   12149 	esac
   12150 	;;
   12151     esac
   12152     ;;
   12153   lynxos*)
   12154     # FIXME: insert proper C++ library support
   12155     ld_shlibs_CXX=no
   12156     ;;
   12157   m88k*)
   12158     # FIXME: insert proper C++ library support
   12159     ld_shlibs_CXX=no
   12160     ;;
   12161   mvs*)
   12162     case $cc_basename in
   12163       cxx*)
   12164 	# FIXME: insert proper C++ library support
   12165 	ld_shlibs_CXX=no
   12166 	;;
   12167       *)
   12168 	# FIXME: insert proper C++ library support
   12169 	ld_shlibs_CXX=no
   12170 	;;
   12171     esac
   12172     ;;
   12173   netbsd*)
   12174     if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   12175       archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
   12176       wlarc=
   12177       hardcode_libdir_flag_spec_CXX='-R$libdir'
   12178       hardcode_direct_CXX=yes
   12179       hardcode_shlibpath_var_CXX=no
   12180     fi
   12181     # Workaround some broken pre-1.5 toolchains
   12182     output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
   12183     ;;
   12184   openbsd2*)
   12185     # C++ shared libraries are fairly broken
   12186     ld_shlibs_CXX=no
   12187     ;;
   12188   openbsd*)
   12189     if test -f /usr/libexec/ld.so; then
   12190       hardcode_direct_CXX=yes
   12191       hardcode_shlibpath_var_CXX=no
   12192       archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
   12193       hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
   12194       if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   12195 	archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
   12196 	export_dynamic_flag_spec_CXX='${wl}-E'
   12197 	whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   12198       fi
   12199       output_verbose_link_cmd='echo'
   12200     else
   12201       ld_shlibs_CXX=no
   12202     fi
   12203     ;;
   12204   osf3*)
   12205     case $cc_basename in
   12206       KCC*)
   12207 	# Kuck and Associates, Inc. (KAI) C++ Compiler
   12208 
   12209 	# KCC will only create a shared library if the output file
   12210 	# ends with ".so" (or ".sl" for HP-UX), so rename the library
   12211 	# to its proper name (with version) after linking.
   12212 	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'
   12213 
   12214 	hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
   12215 	hardcode_libdir_separator_CXX=:
   12216 
   12217 	# Archives containing C++ object files must be created using
   12218 	# "CC -Bstatic", where "CC" is the KAI C++ compiler.
   12219 	old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
   12220 
   12221 	;;
   12222       RCC*)
   12223 	# Rational C++ 2.4.1
   12224 	# FIXME: insert proper C++ library support
   12225 	ld_shlibs_CXX=no
   12226 	;;
   12227       cxx*)
   12228 	allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
   12229 	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'
   12230 
   12231 	hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
   12232 	hardcode_libdir_separator_CXX=:
   12233 
   12234 	# Commands to make compiler produce verbose output that lists
   12235 	# what "hidden" libraries, object files and flags are used when
   12236 	# linking a shared library.
   12237 	#
   12238 	# There doesn't appear to be a way to prevent this compiler from
   12239 	# explicitly linking system object files so we need to strip them
   12240 	# from the output so that they don't get included in the library
   12241 	# dependencies.
   12242 	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'
   12243 	;;
   12244       *)
   12245 	if test "$GXX" = yes && test "$with_gnu_ld" = no; then
   12246 	  allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
   12247 	  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'
   12248 
   12249 	  hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
   12250 	  hardcode_libdir_separator_CXX=:
   12251 
   12252 	  # Commands to make compiler produce verbose output that lists
   12253 	  # what "hidden" libraries, object files and flags are used when
   12254 	  # linking a shared library.
   12255 	  output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
   12256 
   12257 	else
   12258 	  # FIXME: insert proper C++ library support
   12259 	  ld_shlibs_CXX=no
   12260 	fi
   12261 	;;
   12262     esac
   12263     ;;
   12264   osf4* | osf5*)
   12265     case $cc_basename in
   12266       KCC*)
   12267 	# Kuck and Associates, Inc. (KAI) C++ Compiler
   12268 
   12269 	# KCC will only create a shared library if the output file
   12270 	# ends with ".so" (or ".sl" for HP-UX), so rename the library
   12271 	# to its proper name (with version) after linking.
   12272 	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'
   12273 
   12274 	hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
   12275 	hardcode_libdir_separator_CXX=:
   12276 
   12277 	# Archives containing C++ object files must be created using
   12278 	# the KAI C++ compiler.
   12279 	old_archive_cmds_CXX='$CC -o $oldlib $oldobjs'
   12280 	;;
   12281       RCC*)
   12282 	# Rational C++ 2.4.1
   12283 	# FIXME: insert proper C++ library support
   12284 	ld_shlibs_CXX=no
   12285 	;;
   12286       cxx*)
   12287 	allow_undefined_flag_CXX=' -expect_unresolved \*'
   12288 	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'
   12289 	archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
   12290 	  echo "-hidden">> $lib.exp~
   12291 	  $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~
   12292 	  $rm $lib.exp'
   12293 
   12294 	hardcode_libdir_flag_spec_CXX='-rpath $libdir'
   12295 	hardcode_libdir_separator_CXX=:
   12296 
   12297 	# Commands to make compiler produce verbose output that lists
   12298 	# what "hidden" libraries, object files and flags are used when
   12299 	# linking a shared library.
   12300 	#
   12301 	# There doesn't appear to be a way to prevent this compiler from
   12302 	# explicitly linking system object files so we need to strip them
   12303 	# from the output so that they don't get included in the library
   12304 	# dependencies.
   12305 	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'
   12306 	;;
   12307       *)
   12308 	if test "$GXX" = yes && test "$with_gnu_ld" = no; then
   12309 	  allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
   12310 	 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'
   12311 
   12312 	  hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
   12313 	  hardcode_libdir_separator_CXX=:
   12314 
   12315 	  # Commands to make compiler produce verbose output that lists
   12316 	  # what "hidden" libraries, object files and flags are used when
   12317 	  # linking a shared library.
   12318 	  output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
   12319 
   12320 	else
   12321 	  # FIXME: insert proper C++ library support
   12322 	  ld_shlibs_CXX=no
   12323 	fi
   12324 	;;
   12325     esac
   12326     ;;
   12327   psos*)
   12328     # FIXME: insert proper C++ library support
   12329     ld_shlibs_CXX=no
   12330     ;;
   12331   sunos4*)
   12332     case $cc_basename in
   12333       CC*)
   12334 	# Sun C++ 4.x
   12335 	# FIXME: insert proper C++ library support
   12336 	ld_shlibs_CXX=no
   12337 	;;
   12338       lcc*)
   12339 	# Lucid
   12340 	# FIXME: insert proper C++ library support
   12341 	ld_shlibs_CXX=no
   12342 	;;
   12343       *)
   12344 	# FIXME: insert proper C++ library support
   12345 	ld_shlibs_CXX=no
   12346 	;;
   12347     esac
   12348     ;;
   12349   solaris*)
   12350     case $cc_basename in
   12351       CC*)
   12352 	# Sun C++ 4.2, 5.x and Centerline C++
   12353         archive_cmds_need_lc_CXX=yes
   12354 	no_undefined_flag_CXX=' -zdefs'
   12355 	archive_cmds_CXX='$CC -G${allow_undefined_flag}  -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   12356 	archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   12357 	$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'
   12358 
   12359 	hardcode_libdir_flag_spec_CXX='-R$libdir'
   12360 	hardcode_shlibpath_var_CXX=no
   12361 	case $host_os in
   12362 	  solaris2.[0-5] | solaris2.[0-5].*) ;;
   12363 	  *)
   12364 	    # The compiler driver will combine and reorder linker options,
   12365 	    # but understands `-z linker_flag'.
   12366 	    # Supported since Solaris 2.6 (maybe 2.5.1?)
   12367 	    whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
   12368 	    ;;
   12369 	esac
   12370 	link_all_deplibs_CXX=yes
   12371 
   12372 	output_verbose_link_cmd='echo'
   12373 
   12374 	# Archives containing C++ object files must be created using
   12375 	# "CC -xar", where "CC" is the Sun C++ compiler.  This is
   12376 	# necessary to make sure instantiated templates are included
   12377 	# in the archive.
   12378 	old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
   12379 	;;
   12380       gcx*)
   12381 	# Green Hills C++ Compiler
   12382 	archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
   12383 
   12384 	# The C++ compiler must be used to create the archive.
   12385 	old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
   12386 	;;
   12387       *)
   12388 	# GNU C++ compiler with Solaris linker
   12389 	if test "$GXX" = yes && test "$with_gnu_ld" = no; then
   12390 	  no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
   12391 	  if $CC --version | grep -v '^2\.7' > /dev/null; then
   12392 	    archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
   12393 	    archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   12394 		$CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
   12395 
   12396 	    # Commands to make compiler produce verbose output that lists
   12397 	    # what "hidden" libraries, object files and flags are used when
   12398 	    # linking a shared library.
   12399 	    output_verbose_link_cmd="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
   12400 	  else
   12401 	    # g++ 2.7 appears to require `-G' NOT `-shared' on this
   12402 	    # platform.
   12403 	    archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
   12404 	    archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   12405 		$CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
   12406 
   12407 	    # Commands to make compiler produce verbose output that lists
   12408 	    # what "hidden" libraries, object files and flags are used when
   12409 	    # linking a shared library.
   12410 	    output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
   12411 	  fi
   12412 
   12413 	  hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
   12414 	  case $host_os in
   12415 	  solaris2.[0-5] | solaris2.[0-5].*) ;;
   12416 	  *)
   12417 	    whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
   12418 	    ;;
   12419 	  esac
   12420 	fi
   12421 	;;
   12422     esac
   12423     ;;
   12424   sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   12425     no_undefined_flag_CXX='${wl}-z,text'
   12426     archive_cmds_need_lc_CXX=no
   12427     hardcode_shlibpath_var_CXX=no
   12428     runpath_var='LD_RUN_PATH'
   12429 
   12430     case $cc_basename in
   12431       CC*)
   12432 	archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   12433 	archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   12434 	;;
   12435       *)
   12436 	archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   12437 	archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   12438 	;;
   12439     esac
   12440     ;;
   12441   sysv5* | sco3.2v5* | sco5v6*)
   12442     # Note: We can NOT use -z defs as we might desire, because we do not
   12443     # link with -lc, and that would cause any symbols used from libc to
   12444     # always be unresolved, which means just about no library would
   12445     # ever link correctly.  If we're not using GNU ld we use -z text
   12446     # though, which does catch some bad symbols but isn't as heavy-handed
   12447     # as -z defs.
   12448     # For security reasons, it is highly recommended that you always
   12449     # use absolute paths for naming shared libraries, and exclude the
   12450     # DT_RUNPATH tag from executables and libraries.  But doing so
   12451     # requires that you compile everything twice, which is a pain.
   12452     # So that behaviour is only enabled if SCOABSPATH is set to a
   12453     # non-empty value in the environment.  Most likely only useful for
   12454     # creating official distributions of packages.
   12455     # This is a hack until libtool officially supports absolute path
   12456     # names for shared libraries.
   12457     no_undefined_flag_CXX='${wl}-z,text'
   12458     allow_undefined_flag_CXX='${wl}-z,nodefs'
   12459     archive_cmds_need_lc_CXX=no
   12460     hardcode_shlibpath_var_CXX=no
   12461     hardcode_libdir_flag_spec_CXX='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
   12462     hardcode_libdir_separator_CXX=':'
   12463     link_all_deplibs_CXX=yes
   12464     export_dynamic_flag_spec_CXX='${wl}-Bexport'
   12465     runpath_var='LD_RUN_PATH'
   12466 
   12467     case $cc_basename in
   12468       CC*)
   12469 	archive_cmds_CXX='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   12470 	archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   12471 	;;
   12472       *)
   12473 	archive_cmds_CXX='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   12474 	archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   12475 	;;
   12476     esac
   12477     ;;
   12478   tandem*)
   12479     case $cc_basename in
   12480       NCC*)
   12481 	# NonStop-UX NCC 3.20
   12482 	# FIXME: insert proper C++ library support
   12483 	ld_shlibs_CXX=no
   12484 	;;
   12485       *)
   12486 	# FIXME: insert proper C++ library support
   12487 	ld_shlibs_CXX=no
   12488 	;;
   12489     esac
   12490     ;;
   12491   vxworks*)
   12492     # FIXME: insert proper C++ library support
   12493     ld_shlibs_CXX=no
   12494     ;;
   12495   *)
   12496     # FIXME: insert proper C++ library support
   12497     ld_shlibs_CXX=no
   12498     ;;
   12499 esac
   12500 { $as_echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
   12501 $as_echo "$ld_shlibs_CXX" >&6; }
   12502 test "$ld_shlibs_CXX" = no && can_build_shared=no
   12503 
   12504 GCC_CXX="$GXX"
   12505 LD_CXX="$LD"
   12506 
   12507 cat > conftest.$ac_ext <<EOF
   12508 class Foo
   12509 {
   12510 public:
   12511   Foo (void) { a = 0; }
   12512 private:
   12513   int a;
   12514 };
   12515 EOF
   12516 
   12517 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   12518   (eval $ac_compile) 2>&5
   12519   ac_status=$?
   12520   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12521   (exit $ac_status); }; then
   12522   # Parse the compiler output and extract the necessary
   12523   # objects, libraries and library flags.
   12524 
   12525   # Sentinel used to keep track of whether or not we are before
   12526   # the conftest object file.
   12527   pre_test_object_deps_done=no
   12528 
   12529   # The `*' in the case matches for architectures that use `case' in
   12530   # $output_verbose_cmd can trigger glob expansion during the loop
   12531   # eval without this substitution.
   12532   output_verbose_link_cmd=`$echo "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
   12533 
   12534   for p in `eval $output_verbose_link_cmd`; do
   12535     case $p in
   12536 
   12537     -L* | -R* | -l*)
   12538        # Some compilers place space between "-{L,R}" and the path.
   12539        # Remove the space.
   12540        if test $p = "-L" \
   12541 	  || test $p = "-R"; then
   12542 	 prev=$p
   12543 	 continue
   12544        else
   12545 	 prev=
   12546        fi
   12547 
   12548        if test "$pre_test_object_deps_done" = no; then
   12549 	 case $p in
   12550 	 -L* | -R*)
   12551 	   # Internal compiler library paths should come after those
   12552 	   # provided the user.  The postdeps already come after the
   12553 	   # user supplied libs so there is no need to process them.
   12554 	   if test -z "$compiler_lib_search_path_CXX"; then
   12555 	     compiler_lib_search_path_CXX="${prev}${p}"
   12556 	   else
   12557 	     compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
   12558 	   fi
   12559 	   ;;
   12560 	 # The "-l" case would never come before the object being
   12561 	 # linked, so don't bother handling this case.
   12562 	 esac
   12563        else
   12564 	 if test -z "$postdeps_CXX"; then
   12565 	   postdeps_CXX="${prev}${p}"
   12566 	 else
   12567 	   postdeps_CXX="${postdeps_CXX} ${prev}${p}"
   12568 	 fi
   12569        fi
   12570        ;;
   12571 
   12572     *.$objext)
   12573        # This assumes that the test object file only shows up
   12574        # once in the compiler output.
   12575        if test "$p" = "conftest.$objext"; then
   12576 	 pre_test_object_deps_done=yes
   12577 	 continue
   12578        fi
   12579 
   12580        if test "$pre_test_object_deps_done" = no; then
   12581 	 if test -z "$predep_objects_CXX"; then
   12582 	   predep_objects_CXX="$p"
   12583 	 else
   12584 	   predep_objects_CXX="$predep_objects_CXX $p"
   12585 	 fi
   12586        else
   12587 	 if test -z "$postdep_objects_CXX"; then
   12588 	   postdep_objects_CXX="$p"
   12589 	 else
   12590 	   postdep_objects_CXX="$postdep_objects_CXX $p"
   12591 	 fi
   12592        fi
   12593        ;;
   12594 
   12595     *) ;; # Ignore the rest.
   12596 
   12597     esac
   12598   done
   12599 
   12600   # Clean up.
   12601   rm -f a.out a.exe
   12602 else
   12603   echo "libtool.m4: error: problem compiling CXX test program"
   12604 fi
   12605 
   12606 $rm -f confest.$objext
   12607 
   12608 compiler_lib_search_dirs_CXX=
   12609 if test -n "$compiler_lib_search_path_CXX"; then
   12610   compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
   12611 fi
   12612 
   12613 # PORTME: override above test on systems where it is broken
   12614 case $host_os in
   12615 interix[3-9]*)
   12616   # Interix 3.5 installs completely hosed .la files for C++, so rather than
   12617   # hack all around it, let's just trust "g++" to DTRT.
   12618   predep_objects_CXX=
   12619   postdep_objects_CXX=
   12620   postdeps_CXX=
   12621   ;;
   12622 
   12623 linux*)
   12624   case `$CC -V 2>&1 | sed 5q` in
   12625   *Sun\ C*)
   12626     # Sun C++ 5.9
   12627     #
   12628     # The more standards-conforming stlport4 library is
   12629     # incompatible with the Cstd library. Avoid specifying
   12630     # it if it's in CXXFLAGS. Ignore libCrun as
   12631     # -library=stlport4 depends on it.
   12632     case " $CXX $CXXFLAGS " in
   12633     *" -library=stlport4 "*)
   12634       solaris_use_stlport4=yes
   12635       ;;
   12636     esac
   12637     if test "$solaris_use_stlport4" != yes; then
   12638       postdeps_CXX='-library=Cstd -library=Crun'
   12639     fi
   12640     ;;
   12641   esac
   12642   ;;
   12643 
   12644 solaris*)
   12645   case $cc_basename in
   12646   CC*)
   12647     # The more standards-conforming stlport4 library is
   12648     # incompatible with the Cstd library. Avoid specifying
   12649     # it if it's in CXXFLAGS. Ignore libCrun as
   12650     # -library=stlport4 depends on it.
   12651     case " $CXX $CXXFLAGS " in
   12652     *" -library=stlport4 "*)
   12653       solaris_use_stlport4=yes
   12654       ;;
   12655     esac
   12656 
   12657     # Adding this requires a known-good setup of shared libraries for
   12658     # Sun compiler versions before 5.6, else PIC objects from an old
   12659     # archive will be linked into the output, leading to subtle bugs.
   12660     if test "$solaris_use_stlport4" != yes; then
   12661       postdeps_CXX='-library=Cstd -library=Crun'
   12662     fi
   12663     ;;
   12664   esac
   12665   ;;
   12666 esac
   12667 
   12668 case " $postdeps_CXX " in
   12669 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
   12670 esac
   12671 
   12672 lt_prog_compiler_wl_CXX=
   12673 lt_prog_compiler_pic_CXX=
   12674 lt_prog_compiler_static_CXX=
   12675 
   12676 { $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
   12677 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
   12678 
   12679   # C++ specific cases for pic, static, wl, etc.
   12680   if test "$GXX" = yes; then
   12681     lt_prog_compiler_wl_CXX='-Wl,'
   12682     lt_prog_compiler_static_CXX='-static'
   12683 
   12684     case $host_os in
   12685     aix*)
   12686       # All AIX code is PIC.
   12687       if test "$host_cpu" = ia64; then
   12688 	# AIX 5 now supports IA64 processor
   12689 	lt_prog_compiler_static_CXX='-Bstatic'
   12690       fi
   12691       ;;
   12692     amigaos*)
   12693       # FIXME: we need at least 68020 code to build shared libraries, but
   12694       # adding the `-m68020' flag to GCC prevents building anything better,
   12695       # like `-m68040'.
   12696       lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
   12697       ;;
   12698     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   12699       # PIC is the default for these OSes.
   12700       ;;
   12701     mingw* | cygwin* | os2* | pw32*)
   12702       # This hack is so that the source file can tell whether it is being
   12703       # built for inclusion in a dll (and should export symbols for example).
   12704       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   12705       # (--disable-auto-import) libraries
   12706       lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
   12707       ;;
   12708     darwin* | rhapsody*)
   12709       # PIC is the default on this platform
   12710       # Common symbols not allowed in MH_DYLIB files
   12711       lt_prog_compiler_pic_CXX='-fno-common'
   12712       ;;
   12713     *djgpp*)
   12714       # DJGPP does not support shared libraries at all
   12715       lt_prog_compiler_pic_CXX=
   12716       ;;
   12717     interix[3-9]*)
   12718       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   12719       # Instead, we relocate shared libraries at runtime.
   12720       ;;
   12721     sysv4*MP*)
   12722       if test -d /usr/nec; then
   12723 	lt_prog_compiler_pic_CXX=-Kconform_pic
   12724       fi
   12725       ;;
   12726     hpux*)
   12727       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   12728       # not for PA HP-UX.
   12729       case $host_cpu in
   12730       hppa*64*|ia64*)
   12731 	;;
   12732       *)
   12733 	lt_prog_compiler_pic_CXX='-fPIC'
   12734 	;;
   12735       esac
   12736       ;;
   12737     *)
   12738       lt_prog_compiler_pic_CXX='-fPIC'
   12739       ;;
   12740     esac
   12741   else
   12742     case $host_os in
   12743       aix[4-9]*)
   12744 	# All AIX code is PIC.
   12745 	if test "$host_cpu" = ia64; then
   12746 	  # AIX 5 now supports IA64 processor
   12747 	  lt_prog_compiler_static_CXX='-Bstatic'
   12748 	else
   12749 	  lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
   12750 	fi
   12751 	;;
   12752       chorus*)
   12753 	case $cc_basename in
   12754 	cxch68*)
   12755 	  # Green Hills C++ Compiler
   12756 	  # _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"
   12757 	  ;;
   12758 	esac
   12759 	;;
   12760        darwin*)
   12761          # PIC is the default on this platform
   12762          # Common symbols not allowed in MH_DYLIB files
   12763          case $cc_basename in
   12764            xlc*)
   12765            lt_prog_compiler_pic_CXX='-qnocommon'
   12766            lt_prog_compiler_wl_CXX='-Wl,'
   12767            ;;
   12768          esac
   12769        ;;
   12770       dgux*)
   12771 	case $cc_basename in
   12772 	  ec++*)
   12773 	    lt_prog_compiler_pic_CXX='-KPIC'
   12774 	    ;;
   12775 	  ghcx*)
   12776 	    # Green Hills C++ Compiler
   12777 	    lt_prog_compiler_pic_CXX='-pic'
   12778 	    ;;
   12779 	  *)
   12780 	    ;;
   12781 	esac
   12782 	;;
   12783       freebsd* | dragonfly*)
   12784 	# FreeBSD uses GNU C++
   12785 	;;
   12786       hpux9* | hpux10* | hpux11*)
   12787 	case $cc_basename in
   12788 	  CC*)
   12789 	    lt_prog_compiler_wl_CXX='-Wl,'
   12790 	    lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
   12791 	    if test "$host_cpu" != ia64; then
   12792 	      lt_prog_compiler_pic_CXX='+Z'
   12793 	    fi
   12794 	    ;;
   12795 	  aCC*)
   12796 	    lt_prog_compiler_wl_CXX='-Wl,'
   12797 	    lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
   12798 	    case $host_cpu in
   12799 	    hppa*64*|ia64*)
   12800 	      # +Z the default
   12801 	      ;;
   12802 	    *)
   12803 	      lt_prog_compiler_pic_CXX='+Z'
   12804 	      ;;
   12805 	    esac
   12806 	    ;;
   12807 	  *)
   12808 	    ;;
   12809 	esac
   12810 	;;
   12811       interix*)
   12812 	# This is c89, which is MS Visual C++ (no shared libs)
   12813 	# Anyone wants to do a port?
   12814 	;;
   12815       irix5* | irix6* | nonstopux*)
   12816 	case $cc_basename in
   12817 	  CC*)
   12818 	    lt_prog_compiler_wl_CXX='-Wl,'
   12819 	    lt_prog_compiler_static_CXX='-non_shared'
   12820 	    # CC pic flag -KPIC is the default.
   12821 	    ;;
   12822 	  *)
   12823 	    ;;
   12824 	esac
   12825 	;;
   12826       linux* | k*bsd*-gnu)
   12827 	case $cc_basename in
   12828 	  KCC*)
   12829 	    # KAI C++ Compiler
   12830 	    lt_prog_compiler_wl_CXX='--backend -Wl,'
   12831 	    lt_prog_compiler_pic_CXX='-fPIC'
   12832 	    ;;
   12833 	  icpc* | ecpc*)
   12834 	    # Intel C++
   12835 	    lt_prog_compiler_wl_CXX='-Wl,'
   12836 	    lt_prog_compiler_pic_CXX='-KPIC'
   12837 	    lt_prog_compiler_static_CXX='-static'
   12838 	    ;;
   12839 	  pgCC* | pgcpp*)
   12840 	    # Portland Group C++ compiler.
   12841 	    lt_prog_compiler_wl_CXX='-Wl,'
   12842 	    lt_prog_compiler_pic_CXX='-fpic'
   12843 	    lt_prog_compiler_static_CXX='-Bstatic'
   12844 	    ;;
   12845 	  cxx*)
   12846 	    # Compaq C++
   12847 	    # Make sure the PIC flag is empty.  It appears that all Alpha
   12848 	    # Linux and Compaq Tru64 Unix objects are PIC.
   12849 	    lt_prog_compiler_pic_CXX=
   12850 	    lt_prog_compiler_static_CXX='-non_shared'
   12851 	    ;;
   12852 	  *)
   12853 	    case `$CC -V 2>&1 | sed 5q` in
   12854 	    *Sun\ C*)
   12855 	      # Sun C++ 5.9
   12856 	      lt_prog_compiler_pic_CXX='-KPIC'
   12857 	      lt_prog_compiler_static_CXX='-Bstatic'
   12858 	      lt_prog_compiler_wl_CXX='-Qoption ld '
   12859 	      ;;
   12860 	    esac
   12861 	    ;;
   12862 	esac
   12863 	;;
   12864       lynxos*)
   12865 	;;
   12866       m88k*)
   12867 	;;
   12868       mvs*)
   12869 	case $cc_basename in
   12870 	  cxx*)
   12871 	    lt_prog_compiler_pic_CXX='-W c,exportall'
   12872 	    ;;
   12873 	  *)
   12874 	    ;;
   12875 	esac
   12876 	;;
   12877       netbsd*)
   12878 	;;
   12879       osf3* | osf4* | osf5*)
   12880 	case $cc_basename in
   12881 	  KCC*)
   12882 	    lt_prog_compiler_wl_CXX='--backend -Wl,'
   12883 	    ;;
   12884 	  RCC*)
   12885 	    # Rational C++ 2.4.1
   12886 	    lt_prog_compiler_pic_CXX='-pic'
   12887 	    ;;
   12888 	  cxx*)
   12889 	    # Digital/Compaq C++
   12890 	    lt_prog_compiler_wl_CXX='-Wl,'
   12891 	    # Make sure the PIC flag is empty.  It appears that all Alpha
   12892 	    # Linux and Compaq Tru64 Unix objects are PIC.
   12893 	    lt_prog_compiler_pic_CXX=
   12894 	    lt_prog_compiler_static_CXX='-non_shared'
   12895 	    ;;
   12896 	  *)
   12897 	    ;;
   12898 	esac
   12899 	;;
   12900       psos*)
   12901 	;;
   12902       solaris*)
   12903 	case $cc_basename in
   12904 	  CC*)
   12905 	    # Sun C++ 4.2, 5.x and Centerline C++
   12906 	    lt_prog_compiler_pic_CXX='-KPIC'
   12907 	    lt_prog_compiler_static_CXX='-Bstatic'
   12908 	    lt_prog_compiler_wl_CXX='-Qoption ld '
   12909 	    ;;
   12910 	  gcx*)
   12911 	    # Green Hills C++ Compiler
   12912 	    lt_prog_compiler_pic_CXX='-PIC'
   12913 	    ;;
   12914 	  *)
   12915 	    ;;
   12916 	esac
   12917 	;;
   12918       sunos4*)
   12919 	case $cc_basename in
   12920 	  CC*)
   12921 	    # Sun C++ 4.x
   12922 	    lt_prog_compiler_pic_CXX='-pic'
   12923 	    lt_prog_compiler_static_CXX='-Bstatic'
   12924 	    ;;
   12925 	  lcc*)
   12926 	    # Lucid
   12927 	    lt_prog_compiler_pic_CXX='-pic'
   12928 	    ;;
   12929 	  *)
   12930 	    ;;
   12931 	esac
   12932 	;;
   12933       tandem*)
   12934 	case $cc_basename in
   12935 	  NCC*)
   12936 	    # NonStop-UX NCC 3.20
   12937 	    lt_prog_compiler_pic_CXX='-KPIC'
   12938 	    ;;
   12939 	  *)
   12940 	    ;;
   12941 	esac
   12942 	;;
   12943       sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   12944 	case $cc_basename in
   12945 	  CC*)
   12946 	    lt_prog_compiler_wl_CXX='-Wl,'
   12947 	    lt_prog_compiler_pic_CXX='-KPIC'
   12948 	    lt_prog_compiler_static_CXX='-Bstatic'
   12949 	    ;;
   12950 	esac
   12951 	;;
   12952       vxworks*)
   12953 	;;
   12954       *)
   12955 	lt_prog_compiler_can_build_shared_CXX=no
   12956 	;;
   12957     esac
   12958   fi
   12959 
   12960 { $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
   12961 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
   12962 
   12963 #
   12964 # Check to make sure the PIC flag actually works.
   12965 #
   12966 if test -n "$lt_prog_compiler_pic_CXX"; then
   12967 
   12968 { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
   12969 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
   12970 if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then
   12971   $as_echo_n "(cached) " >&6
   12972 else
   12973   lt_cv_prog_compiler_pic_works_CXX=no
   12974   ac_outfile=conftest.$ac_objext
   12975    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   12976    lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
   12977    # Insert the option either (1) after the last *FLAGS variable, or
   12978    # (2) before a word containing "conftest.", or (3) at the end.
   12979    # Note that $ac_compile itself does not contain backslashes and begins
   12980    # with a dollar sign (not a hyphen), so the echo should work correctly.
   12981    # The option is referenced via a variable to avoid confusing sed.
   12982    lt_compile=`echo "$ac_compile" | $SED \
   12983    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   12984    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   12985    -e 's:$: $lt_compiler_flag:'`
   12986    (eval echo "\"\$as_me:12986: $lt_compile\"" >&5)
   12987    (eval "$lt_compile" 2>conftest.err)
   12988    ac_status=$?
   12989    cat conftest.err >&5
   12990    echo "$as_me:12990: \$? = $ac_status" >&5
   12991    if (exit $ac_status) && test -s "$ac_outfile"; then
   12992      # The compiler can only warn and ignore the option if not recognized
   12993      # So say no if there are warnings other than the usual output.
   12994      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   12995      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   12996      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   12997        lt_cv_prog_compiler_pic_works_CXX=yes
   12998      fi
   12999    fi
   13000    $rm conftest*
   13001 
   13002 fi
   13003 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
   13004 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
   13005 
   13006 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
   13007     case $lt_prog_compiler_pic_CXX in
   13008      "" | " "*) ;;
   13009      *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
   13010      esac
   13011 else
   13012     lt_prog_compiler_pic_CXX=
   13013      lt_prog_compiler_can_build_shared_CXX=no
   13014 fi
   13015 
   13016 fi
   13017 case $host_os in
   13018   # For platforms which do not support PIC, -DPIC is meaningless:
   13019   *djgpp*)
   13020     lt_prog_compiler_pic_CXX=
   13021     ;;
   13022   *)
   13023     lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
   13024     ;;
   13025 esac
   13026 
   13027 #
   13028 # Check to make sure the static flag actually works.
   13029 #
   13030 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
   13031 { $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   13032 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   13033 if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then
   13034   $as_echo_n "(cached) " >&6
   13035 else
   13036   lt_cv_prog_compiler_static_works_CXX=no
   13037    save_LDFLAGS="$LDFLAGS"
   13038    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   13039    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   13040    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   13041      # The linker can only warn and ignore the option if not recognized
   13042      # So say no if there are warnings
   13043      if test -s conftest.err; then
   13044        # Append any errors to the config.log.
   13045        cat conftest.err 1>&5
   13046        $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
   13047        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   13048        if diff conftest.exp conftest.er2 >/dev/null; then
   13049          lt_cv_prog_compiler_static_works_CXX=yes
   13050        fi
   13051      else
   13052        lt_cv_prog_compiler_static_works_CXX=yes
   13053      fi
   13054    fi
   13055    $rm -r conftest*
   13056    LDFLAGS="$save_LDFLAGS"
   13057 
   13058 fi
   13059 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_CXX" >&5
   13060 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
   13061 
   13062 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
   13063     :
   13064 else
   13065     lt_prog_compiler_static_CXX=
   13066 fi
   13067 
   13068 
   13069 { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
   13070 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   13071 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
   13072   $as_echo_n "(cached) " >&6
   13073 else
   13074   lt_cv_prog_compiler_c_o_CXX=no
   13075    $rm -r conftest 2>/dev/null
   13076    mkdir conftest
   13077    cd conftest
   13078    mkdir out
   13079    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   13080 
   13081    lt_compiler_flag="-o out/conftest2.$ac_objext"
   13082    # Insert the option either (1) after the last *FLAGS variable, or
   13083    # (2) before a word containing "conftest.", or (3) at the end.
   13084    # Note that $ac_compile itself does not contain backslashes and begins
   13085    # with a dollar sign (not a hyphen), so the echo should work correctly.
   13086    lt_compile=`echo "$ac_compile" | $SED \
   13087    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   13088    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   13089    -e 's:$: $lt_compiler_flag:'`
   13090    (eval echo "\"\$as_me:13090: $lt_compile\"" >&5)
   13091    (eval "$lt_compile" 2>out/conftest.err)
   13092    ac_status=$?
   13093    cat out/conftest.err >&5
   13094    echo "$as_me:13094: \$? = $ac_status" >&5
   13095    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   13096    then
   13097      # The compiler can only warn and ignore the option if not recognized
   13098      # So say no if there are warnings
   13099      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
   13100      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   13101      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   13102        lt_cv_prog_compiler_c_o_CXX=yes
   13103      fi
   13104    fi
   13105    chmod u+w . 2>&5
   13106    $rm conftest*
   13107    # SGI C++ compiler will create directory out/ii_files/ for
   13108    # template instantiation
   13109    test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
   13110    $rm out/* && rmdir out
   13111    cd ..
   13112    rmdir conftest
   13113    $rm conftest*
   13114 
   13115 fi
   13116 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
   13117 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
   13118 
   13119 
   13120 hard_links="nottested"
   13121 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
   13122   # do not overwrite the value of need_locks provided by the user
   13123   { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
   13124 $as_echo_n "checking if we can lock with hard links... " >&6; }
   13125   hard_links=yes
   13126   $rm conftest*
   13127   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   13128   touch conftest.a
   13129   ln conftest.a conftest.b 2>&5 || hard_links=no
   13130   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   13131   { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
   13132 $as_echo "$hard_links" >&6; }
   13133   if test "$hard_links" = no; then
   13134     { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   13135 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   13136     need_locks=warn
   13137   fi
   13138 else
   13139   need_locks=no
   13140 fi
   13141 
   13142 { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   13143 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   13144 
   13145   export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   13146   case $host_os in
   13147   aix[4-9]*)
   13148     # If we're using GNU nm, then we don't want the "-C" option.
   13149     # -C means demangle to AIX nm, but means don't demangle with GNU nm
   13150     if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
   13151       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'
   13152     else
   13153       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'
   13154     fi
   13155     ;;
   13156   pw32*)
   13157     export_symbols_cmds_CXX="$ltdll_cmds"
   13158   ;;
   13159   cygwin* | mingw*)
   13160     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'
   13161   ;;
   13162   *)
   13163     export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   13164   ;;
   13165   esac
   13166   exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   13167 
   13168 { $as_echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
   13169 $as_echo "$ld_shlibs_CXX" >&6; }
   13170 test "$ld_shlibs_CXX" = no && can_build_shared=no
   13171 
   13172 #
   13173 # Do we need to explicitly link libc?
   13174 #
   13175 case "x$archive_cmds_need_lc_CXX" in
   13176 x|xyes)
   13177   # Assume -lc should be added
   13178   archive_cmds_need_lc_CXX=yes
   13179 
   13180   if test "$enable_shared" = yes && test "$GCC" = yes; then
   13181     case $archive_cmds_CXX in
   13182     *'~'*)
   13183       # FIXME: we may have to deal with multi-command sequences.
   13184       ;;
   13185     '$CC '*)
   13186       # Test whether the compiler implicitly links with -lc since on some
   13187       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   13188       # to ld, don't add -lc before -lgcc.
   13189       { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
   13190 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
   13191       $rm conftest*
   13192       echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   13193 
   13194       if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   13195   (eval $ac_compile) 2>&5
   13196   ac_status=$?
   13197   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   13198   (exit $ac_status); } 2>conftest.err; then
   13199         soname=conftest
   13200         lib=conftest
   13201         libobjs=conftest.$ac_objext
   13202         deplibs=
   13203         wl=$lt_prog_compiler_wl_CXX
   13204 	pic_flag=$lt_prog_compiler_pic_CXX
   13205         compiler_flags=-v
   13206         linker_flags=-v
   13207         verstring=
   13208         output_objdir=.
   13209         libname=conftest
   13210         lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
   13211         allow_undefined_flag_CXX=
   13212         if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
   13213   (eval $archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
   13214   ac_status=$?
   13215   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   13216   (exit $ac_status); }
   13217         then
   13218 	  archive_cmds_need_lc_CXX=no
   13219         else
   13220 	  archive_cmds_need_lc_CXX=yes
   13221         fi
   13222         allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
   13223       else
   13224         cat conftest.err 1>&5
   13225       fi
   13226       $rm conftest*
   13227       { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
   13228 $as_echo "$archive_cmds_need_lc_CXX" >&6; }
   13229       ;;
   13230     esac
   13231   fi
   13232   ;;
   13233 esac
   13234 
   13235 { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
   13236 $as_echo_n "checking dynamic linker characteristics... " >&6; }
   13237 library_names_spec=
   13238 libname_spec='lib$name'
   13239 soname_spec=
   13240 shrext_cmds=".so"
   13241 postinstall_cmds=
   13242 postuninstall_cmds=
   13243 finish_cmds=
   13244 finish_eval=
   13245 shlibpath_var=
   13246 shlibpath_overrides_runpath=unknown
   13247 version_type=none
   13248 dynamic_linker="$host_os ld.so"
   13249 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   13250 
   13251 need_lib_prefix=unknown
   13252 hardcode_into_libs=no
   13253 
   13254 # when you set need_version to no, make sure it does not cause -set_version
   13255 # flags to be left without arguments
   13256 need_version=unknown
   13257 
   13258 case $host_os in
   13259 aix3*)
   13260   version_type=linux
   13261   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   13262   shlibpath_var=LIBPATH
   13263 
   13264   # AIX 3 has no versioning support, so we append a major version to the name.
   13265   soname_spec='${libname}${release}${shared_ext}$major'
   13266   ;;
   13267 
   13268 aix[4-9]*)
   13269   version_type=linux
   13270   need_lib_prefix=no
   13271   need_version=no
   13272   hardcode_into_libs=yes
   13273   if test "$host_cpu" = ia64; then
   13274     # AIX 5 supports IA64
   13275     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
   13276     shlibpath_var=LD_LIBRARY_PATH
   13277   else
   13278     # With GCC up to 2.95.x, collect2 would create an import file
   13279     # for dependence libraries.  The import file would start with
   13280     # the line `#! .'.  This would cause the generated library to
   13281     # depend on `.', always an invalid library.  This was fixed in
   13282     # development snapshots of GCC prior to 3.0.
   13283     case $host_os in
   13284       aix4 | aix4.[01] | aix4.[01].*)
   13285       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   13286 	   echo ' yes '
   13287 	   echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
   13288 	:
   13289       else
   13290 	can_build_shared=no
   13291       fi
   13292       ;;
   13293     esac
   13294     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
   13295     # soname into executable. Probably we can add versioning support to
   13296     # collect2, so additional links can be useful in future.
   13297     if test "$aix_use_runtimelinking" = yes; then
   13298       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   13299       # instead of lib<name>.a to let people know that these are not
   13300       # typical AIX shared libraries.
   13301       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13302     else
   13303       # We preserve .a as extension for shared libraries through AIX4.2
   13304       # and later when we are not doing run time linking.
   13305       library_names_spec='${libname}${release}.a $libname.a'
   13306       soname_spec='${libname}${release}${shared_ext}$major'
   13307     fi
   13308     shlibpath_var=LIBPATH
   13309   fi
   13310   ;;
   13311 
   13312 amigaos*)
   13313   library_names_spec='$libname.ixlibrary $libname.a'
   13314   # Create ${libname}_ixlibrary.a entries in /sys/libs.
   13315   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'
   13316   ;;
   13317 
   13318 beos*)
   13319   library_names_spec='${libname}${shared_ext}'
   13320   dynamic_linker="$host_os ld.so"
   13321   shlibpath_var=LIBRARY_PATH
   13322   ;;
   13323 
   13324 bsdi[45]*)
   13325   version_type=linux
   13326   need_version=no
   13327   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13328   soname_spec='${libname}${release}${shared_ext}$major'
   13329   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   13330   shlibpath_var=LD_LIBRARY_PATH
   13331   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   13332   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   13333   # the default ld.so.conf also contains /usr/contrib/lib and
   13334   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   13335   # libtool to hard-code these into programs
   13336   ;;
   13337 
   13338 cygwin* | mingw* | pw32*)
   13339   version_type=windows
   13340   shrext_cmds=".dll"
   13341   need_version=no
   13342   need_lib_prefix=no
   13343 
   13344   case $GCC,$host_os in
   13345   yes,cygwin* | yes,mingw* | yes,pw32*)
   13346     library_names_spec='$libname.dll.a'
   13347     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   13348     postinstall_cmds='base_file=`basename \${file}`~
   13349       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
   13350       dldir=$destdir/`dirname \$dlpath`~
   13351       test -d \$dldir || mkdir -p \$dldir~
   13352       $install_prog $dir/$dlname \$dldir/$dlname~
   13353       chmod a+x \$dldir/$dlname'
   13354     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   13355       dlpath=$dir/\$dldll~
   13356        $rm \$dlpath'
   13357     shlibpath_overrides_runpath=yes
   13358 
   13359     case $host_os in
   13360     cygwin*)
   13361       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   13362       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   13363       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
   13364       ;;
   13365     mingw*)
   13366       # MinGW DLLs use traditional 'lib' prefix
   13367       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   13368       sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   13369       if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
   13370         # It is most probably a Windows format PATH printed by
   13371         # mingw gcc, but we are running on Cygwin. Gcc prints its search
   13372         # path with ; separators, and with drive letters. We can handle the
   13373         # drive letters (cygwin fileutils understands them), so leave them,
   13374         # especially as we might pass files found there to a mingw objdump,
   13375         # which wouldn't understand a cygwinified path. Ahh.
   13376         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   13377       else
   13378         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   13379       fi
   13380       ;;
   13381     pw32*)
   13382       # pw32 DLLs use 'pw' prefix rather than 'lib'
   13383       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   13384       ;;
   13385     esac
   13386     ;;
   13387 
   13388   *)
   13389     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
   13390     ;;
   13391   esac
   13392   dynamic_linker='Win32 ld.exe'
   13393   # FIXME: first we should search . and the directory the executable is in
   13394   shlibpath_var=PATH
   13395   ;;
   13396 
   13397 darwin* | rhapsody*)
   13398   dynamic_linker="$host_os dyld"
   13399   version_type=darwin
   13400   need_lib_prefix=no
   13401   need_version=no
   13402   library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
   13403   soname_spec='${libname}${release}${major}$shared_ext'
   13404   shlibpath_overrides_runpath=yes
   13405   shlibpath_var=DYLD_LIBRARY_PATH
   13406   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   13407 
   13408   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   13409   ;;
   13410 
   13411 dgux*)
   13412   version_type=linux
   13413   need_lib_prefix=no
   13414   need_version=no
   13415   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
   13416   soname_spec='${libname}${release}${shared_ext}$major'
   13417   shlibpath_var=LD_LIBRARY_PATH
   13418   ;;
   13419 
   13420 freebsd1*)
   13421   dynamic_linker=no
   13422   ;;
   13423 
   13424 freebsd* | dragonfly*)
   13425   # DragonFly does not have aout.  When/if they implement a new
   13426   # versioning mechanism, adjust this.
   13427   if test -x /usr/bin/objformat; then
   13428     objformat=`/usr/bin/objformat`
   13429   else
   13430     case $host_os in
   13431     freebsd[123]*) objformat=aout ;;
   13432     *) objformat=elf ;;
   13433     esac
   13434   fi
   13435   version_type=freebsd-$objformat
   13436   case $version_type in
   13437     freebsd-elf*)
   13438       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   13439       need_version=no
   13440       need_lib_prefix=no
   13441       ;;
   13442     freebsd-*)
   13443       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
   13444       need_version=yes
   13445       ;;
   13446   esac
   13447   shlibpath_var=LD_LIBRARY_PATH
   13448   case $host_os in
   13449   freebsd2*)
   13450     shlibpath_overrides_runpath=yes
   13451     ;;
   13452   freebsd3.[01]* | freebsdelf3.[01]*)
   13453     shlibpath_overrides_runpath=yes
   13454     hardcode_into_libs=yes
   13455     ;;
   13456   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   13457   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   13458     shlibpath_overrides_runpath=no
   13459     hardcode_into_libs=yes
   13460     ;;
   13461   *) # from 4.6 on, and DragonFly
   13462     shlibpath_overrides_runpath=yes
   13463     hardcode_into_libs=yes
   13464     ;;
   13465   esac
   13466   ;;
   13467 
   13468 gnu*)
   13469   version_type=linux
   13470   need_lib_prefix=no
   13471   need_version=no
   13472   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   13473   soname_spec='${libname}${release}${shared_ext}$major'
   13474   shlibpath_var=LD_LIBRARY_PATH
   13475   hardcode_into_libs=yes
   13476   ;;
   13477 
   13478 hpux9* | hpux10* | hpux11*)
   13479   # Give a soname corresponding to the major version so that dld.sl refuses to
   13480   # link against other versions.
   13481   version_type=sunos
   13482   need_lib_prefix=no
   13483   need_version=no
   13484   case $host_cpu in
   13485   ia64*)
   13486     shrext_cmds='.so'
   13487     hardcode_into_libs=yes
   13488     dynamic_linker="$host_os dld.so"
   13489     shlibpath_var=LD_LIBRARY_PATH
   13490     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   13491     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13492     soname_spec='${libname}${release}${shared_ext}$major'
   13493     if test "X$HPUX_IA64_MODE" = X32; then
   13494       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   13495     else
   13496       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   13497     fi
   13498     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   13499     ;;
   13500    hppa*64*)
   13501      shrext_cmds='.sl'
   13502      hardcode_into_libs=yes
   13503      dynamic_linker="$host_os dld.sl"
   13504      shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   13505      shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   13506      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13507      soname_spec='${libname}${release}${shared_ext}$major'
   13508      sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   13509      sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   13510      ;;
   13511    *)
   13512     shrext_cmds='.sl'
   13513     dynamic_linker="$host_os dld.sl"
   13514     shlibpath_var=SHLIB_PATH
   13515     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   13516     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13517     soname_spec='${libname}${release}${shared_ext}$major'
   13518     ;;
   13519   esac
   13520   # HP-UX runs *really* slowly unless shared libraries are mode 555.
   13521   postinstall_cmds='chmod 555 $lib'
   13522   ;;
   13523 
   13524 interix[3-9]*)
   13525   version_type=linux
   13526   need_lib_prefix=no
   13527   need_version=no
   13528   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   13529   soname_spec='${libname}${release}${shared_ext}$major'
   13530   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   13531   shlibpath_var=LD_LIBRARY_PATH
   13532   shlibpath_overrides_runpath=no
   13533   hardcode_into_libs=yes
   13534   ;;
   13535 
   13536 irix5* | irix6* | nonstopux*)
   13537   case $host_os in
   13538     nonstopux*) version_type=nonstopux ;;
   13539     *)
   13540 	if test "$lt_cv_prog_gnu_ld" = yes; then
   13541 		version_type=linux
   13542 	else
   13543 		version_type=irix
   13544 	fi ;;
   13545   esac
   13546   need_lib_prefix=no
   13547   need_version=no
   13548   soname_spec='${libname}${release}${shared_ext}$major'
   13549   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
   13550   case $host_os in
   13551   irix5* | nonstopux*)
   13552     libsuff= shlibsuff=
   13553     ;;
   13554   *)
   13555     case $LD in # libtool.m4 will add one of these switches to LD
   13556     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   13557       libsuff= shlibsuff= libmagic=32-bit;;
   13558     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   13559       libsuff=32 shlibsuff=N32 libmagic=N32;;
   13560     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   13561       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   13562     *) libsuff= shlibsuff= libmagic=never-match;;
   13563     esac
   13564     ;;
   13565   esac
   13566   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   13567   shlibpath_overrides_runpath=no
   13568   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   13569   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   13570   hardcode_into_libs=yes
   13571   ;;
   13572 
   13573 # No shared lib support for Linux oldld, aout, or coff.
   13574 linux*oldld* | linux*aout* | linux*coff*)
   13575   dynamic_linker=no
   13576   ;;
   13577 
   13578 # This must be Linux ELF.
   13579 linux* | k*bsd*-gnu)
   13580   version_type=linux
   13581   need_lib_prefix=no
   13582   need_version=no
   13583   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13584   soname_spec='${libname}${release}${shared_ext}$major'
   13585   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   13586   shlibpath_var=LD_LIBRARY_PATH
   13587   shlibpath_overrides_runpath=no
   13588   # This implies no fast_install, which is unacceptable.
   13589   # Some rework will be needed to allow for fast_install
   13590   # before this can be enabled.
   13591   hardcode_into_libs=yes
   13592 
   13593   # Append ld.so.conf contents to the search path
   13594   if test -f /etc/ld.so.conf; then
   13595     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' ' '`
   13596     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   13597   fi
   13598 
   13599   # We used to test for /lib/ld.so.1 and disable shared libraries on
   13600   # powerpc, because MkLinux only supported shared libraries with the
   13601   # GNU dynamic linker.  Since this was broken with cross compilers,
   13602   # most powerpc-linux boxes support dynamic linking these days and
   13603   # people can always --disable-shared, the test was removed, and we
   13604   # assume the GNU/Linux dynamic linker is in use.
   13605   dynamic_linker='GNU/Linux ld.so'
   13606   ;;
   13607 
   13608 netbsd*)
   13609   version_type=sunos
   13610   need_lib_prefix=no
   13611   need_version=no
   13612   if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   13613     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   13614     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   13615     dynamic_linker='NetBSD (a.out) ld.so'
   13616   else
   13617     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   13618     soname_spec='${libname}${release}${shared_ext}$major'
   13619     dynamic_linker='NetBSD ld.elf_so'
   13620   fi
   13621   shlibpath_var=LD_LIBRARY_PATH
   13622   shlibpath_overrides_runpath=yes
   13623   hardcode_into_libs=yes
   13624   ;;
   13625 
   13626 newsos6)
   13627   version_type=linux
   13628   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13629   shlibpath_var=LD_LIBRARY_PATH
   13630   shlibpath_overrides_runpath=yes
   13631   ;;
   13632 
   13633 nto-qnx*)
   13634   version_type=linux
   13635   need_lib_prefix=no
   13636   need_version=no
   13637   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13638   soname_spec='${libname}${release}${shared_ext}$major'
   13639   shlibpath_var=LD_LIBRARY_PATH
   13640   shlibpath_overrides_runpath=yes
   13641   ;;
   13642 
   13643 openbsd*)
   13644   version_type=sunos
   13645   sys_lib_dlsearch_path_spec="/usr/lib"
   13646   need_lib_prefix=no
   13647   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
   13648   case $host_os in
   13649     openbsd3.3 | openbsd3.3.*) need_version=yes ;;
   13650     *)                         need_version=no  ;;
   13651   esac
   13652   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   13653   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   13654   shlibpath_var=LD_LIBRARY_PATH
   13655   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   13656     case $host_os in
   13657       openbsd2.[89] | openbsd2.[89].*)
   13658 	shlibpath_overrides_runpath=no
   13659 	;;
   13660       *)
   13661 	shlibpath_overrides_runpath=yes
   13662 	;;
   13663       esac
   13664   else
   13665     shlibpath_overrides_runpath=yes
   13666   fi
   13667   ;;
   13668 
   13669 os2*)
   13670   libname_spec='$name'
   13671   shrext_cmds=".dll"
   13672   need_lib_prefix=no
   13673   library_names_spec='$libname${shared_ext} $libname.a'
   13674   dynamic_linker='OS/2 ld.exe'
   13675   shlibpath_var=LIBPATH
   13676   ;;
   13677 
   13678 osf3* | osf4* | osf5*)
   13679   version_type=osf
   13680   need_lib_prefix=no
   13681   need_version=no
   13682   soname_spec='${libname}${release}${shared_ext}$major'
   13683   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13684   shlibpath_var=LD_LIBRARY_PATH
   13685   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   13686   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   13687   ;;
   13688 
   13689 rdos*)
   13690   dynamic_linker=no
   13691   ;;
   13692 
   13693 solaris*)
   13694   version_type=linux
   13695   need_lib_prefix=no
   13696   need_version=no
   13697   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13698   soname_spec='${libname}${release}${shared_ext}$major'
   13699   shlibpath_var=LD_LIBRARY_PATH
   13700   shlibpath_overrides_runpath=yes
   13701   hardcode_into_libs=yes
   13702   # ldd complains unless libraries are executable
   13703   postinstall_cmds='chmod +x $lib'
   13704   ;;
   13705 
   13706 sunos4*)
   13707   version_type=sunos
   13708   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   13709   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   13710   shlibpath_var=LD_LIBRARY_PATH
   13711   shlibpath_overrides_runpath=yes
   13712   if test "$with_gnu_ld" = yes; then
   13713     need_lib_prefix=no
   13714   fi
   13715   need_version=yes
   13716   ;;
   13717 
   13718 sysv4 | sysv4.3*)
   13719   version_type=linux
   13720   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13721   soname_spec='${libname}${release}${shared_ext}$major'
   13722   shlibpath_var=LD_LIBRARY_PATH
   13723   case $host_vendor in
   13724     sni)
   13725       shlibpath_overrides_runpath=no
   13726       need_lib_prefix=no
   13727       export_dynamic_flag_spec='${wl}-Blargedynsym'
   13728       runpath_var=LD_RUN_PATH
   13729       ;;
   13730     siemens)
   13731       need_lib_prefix=no
   13732       ;;
   13733     motorola)
   13734       need_lib_prefix=no
   13735       need_version=no
   13736       shlibpath_overrides_runpath=no
   13737       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   13738       ;;
   13739   esac
   13740   ;;
   13741 
   13742 sysv4*MP*)
   13743   if test -d /usr/nec ;then
   13744     version_type=linux
   13745     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
   13746     soname_spec='$libname${shared_ext}.$major'
   13747     shlibpath_var=LD_LIBRARY_PATH
   13748   fi
   13749   ;;
   13750 
   13751 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   13752   version_type=freebsd-elf
   13753   need_lib_prefix=no
   13754   need_version=no
   13755   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   13756   soname_spec='${libname}${release}${shared_ext}$major'
   13757   shlibpath_var=LD_LIBRARY_PATH
   13758   hardcode_into_libs=yes
   13759   if test "$with_gnu_ld" = yes; then
   13760     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   13761     shlibpath_overrides_runpath=no
   13762   else
   13763     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   13764     shlibpath_overrides_runpath=yes
   13765     case $host_os in
   13766       sco3.2v5*)
   13767         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   13768 	;;
   13769     esac
   13770   fi
   13771   sys_lib_dlsearch_path_spec='/usr/lib'
   13772   ;;
   13773 
   13774 uts4*)
   13775   version_type=linux
   13776   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13777   soname_spec='${libname}${release}${shared_ext}$major'
   13778   shlibpath_var=LD_LIBRARY_PATH
   13779   ;;
   13780 
   13781 *)
   13782   dynamic_linker=no
   13783   ;;
   13784 esac
   13785 { $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
   13786 $as_echo "$dynamic_linker" >&6; }
   13787 test "$dynamic_linker" = no && can_build_shared=no
   13788 
   13789 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
   13790   $as_echo_n "(cached) " >&6
   13791 else
   13792   lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
   13793 fi
   13794 
   13795 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
   13796 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
   13797   $as_echo_n "(cached) " >&6
   13798 else
   13799   lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
   13800 fi
   13801 
   13802 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
   13803 
   13804 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   13805 if test "$GCC" = yes; then
   13806   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   13807 fi
   13808 
   13809 { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
   13810 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
   13811 hardcode_action_CXX=
   13812 if test -n "$hardcode_libdir_flag_spec_CXX" || \
   13813    test -n "$runpath_var_CXX" || \
   13814    test "X$hardcode_automatic_CXX" = "Xyes" ; then
   13815 
   13816   # We can hardcode non-existant directories.
   13817   if test "$hardcode_direct_CXX" != no &&
   13818      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   13819      # have to relink, otherwise we might link with an installed library
   13820      # when we should be linking with a yet-to-be-installed one
   13821      ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
   13822      test "$hardcode_minus_L_CXX" != no; then
   13823     # Linking always hardcodes the temporary library directory.
   13824     hardcode_action_CXX=relink
   13825   else
   13826     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   13827     hardcode_action_CXX=immediate
   13828   fi
   13829 else
   13830   # We cannot hardcode anything, or else we can only hardcode existing
   13831   # directories.
   13832   hardcode_action_CXX=unsupported
   13833 fi
   13834 { $as_echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
   13835 $as_echo "$hardcode_action_CXX" >&6; }
   13836 
   13837 if test "$hardcode_action_CXX" = relink; then
   13838   # Fast installation is not supported
   13839   enable_fast_install=no
   13840 elif test "$shlibpath_overrides_runpath" = yes ||
   13841      test "$enable_shared" = no; then
   13842   # Fast installation is not necessary
   13843   enable_fast_install=needless
   13844 fi
   13845 
   13846 
   13847 # The else clause should only fire when bootstrapping the
   13848 # libtool distribution, otherwise you forgot to ship ltmain.sh
   13849 # with your package, and you will get complaints that there are
   13850 # no rules to generate ltmain.sh.
   13851 if test -f "$ltmain"; then
   13852   # See if we are running on zsh, and set the options which allow our commands through
   13853   # without removal of \ escapes.
   13854   if test -n "${ZSH_VERSION+set}" ; then
   13855     setopt NO_GLOB_SUBST
   13856   fi
   13857   # Now quote all the things that may contain metacharacters while being
   13858   # careful not to overquote the AC_SUBSTed values.  We take copies of the
   13859   # variables and quote the copies for generation of the libtool script.
   13860   for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
   13861     SED SHELL STRIP \
   13862     libname_spec library_names_spec soname_spec extract_expsyms_cmds \
   13863     old_striplib striplib file_magic_cmd finish_cmds finish_eval \
   13864     deplibs_check_method reload_flag reload_cmds need_locks \
   13865     lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
   13866     lt_cv_sys_global_symbol_to_c_name_address \
   13867     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
   13868     old_postinstall_cmds old_postuninstall_cmds \
   13869     compiler_CXX \
   13870     CC_CXX \
   13871     LD_CXX \
   13872     lt_prog_compiler_wl_CXX \
   13873     lt_prog_compiler_pic_CXX \
   13874     lt_prog_compiler_static_CXX \
   13875     lt_prog_compiler_no_builtin_flag_CXX \
   13876     export_dynamic_flag_spec_CXX \
   13877     thread_safe_flag_spec_CXX \
   13878     whole_archive_flag_spec_CXX \
   13879     enable_shared_with_static_runtimes_CXX \
   13880     old_archive_cmds_CXX \
   13881     old_archive_from_new_cmds_CXX \
   13882     predep_objects_CXX \
   13883     postdep_objects_CXX \
   13884     predeps_CXX \
   13885     postdeps_CXX \
   13886     compiler_lib_search_path_CXX \
   13887     compiler_lib_search_dirs_CXX \
   13888     archive_cmds_CXX \
   13889     archive_expsym_cmds_CXX \
   13890     postinstall_cmds_CXX \
   13891     postuninstall_cmds_CXX \
   13892     old_archive_from_expsyms_cmds_CXX \
   13893     allow_undefined_flag_CXX \
   13894     no_undefined_flag_CXX \
   13895     export_symbols_cmds_CXX \
   13896     hardcode_libdir_flag_spec_CXX \
   13897     hardcode_libdir_flag_spec_ld_CXX \
   13898     hardcode_libdir_separator_CXX \
   13899     hardcode_automatic_CXX \
   13900     module_cmds_CXX \
   13901     module_expsym_cmds_CXX \
   13902     lt_cv_prog_compiler_c_o_CXX \
   13903     fix_srcfile_path_CXX \
   13904     exclude_expsyms_CXX \
   13905     include_expsyms_CXX; do
   13906 
   13907     case $var in
   13908     old_archive_cmds_CXX | \
   13909     old_archive_from_new_cmds_CXX | \
   13910     archive_cmds_CXX | \
   13911     archive_expsym_cmds_CXX | \
   13912     module_cmds_CXX | \
   13913     module_expsym_cmds_CXX | \
   13914     old_archive_from_expsyms_cmds_CXX | \
   13915     export_symbols_cmds_CXX | \
   13916     extract_expsyms_cmds | reload_cmds | finish_cmds | \
   13917     postinstall_cmds | postuninstall_cmds | \
   13918     old_postinstall_cmds | old_postuninstall_cmds | \
   13919     sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
   13920       # Double-quote double-evaled strings.
   13921       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
   13922       ;;
   13923     *)
   13924       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
   13925       ;;
   13926     esac
   13927   done
   13928 
   13929   case $lt_echo in
   13930   *'\$0 --fallback-echo"')
   13931     lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
   13932     ;;
   13933   esac
   13934 
   13935 cfgfile="$ofile"
   13936 
   13937   cat <<__EOF__ >> "$cfgfile"
   13938 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
   13939 
   13940 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   13941 
   13942 # Shell to use when invoking shell scripts.
   13943 SHELL=$lt_SHELL
   13944 
   13945 # Whether or not to build shared libraries.
   13946 build_libtool_libs=$enable_shared
   13947 
   13948 # Whether or not to build static libraries.
   13949 build_old_libs=$enable_static
   13950 
   13951 # Whether or not to add -lc for building shared libraries.
   13952 build_libtool_need_lc=$archive_cmds_need_lc_CXX
   13953 
   13954 # Whether or not to disallow shared libs when runtime libs are static
   13955 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
   13956 
   13957 # Whether or not to optimize for fast installation.
   13958 fast_install=$enable_fast_install
   13959 
   13960 # The host system.
   13961 host_alias=$host_alias
   13962 host=$host
   13963 host_os=$host_os
   13964 
   13965 # The build system.
   13966 build_alias=$build_alias
   13967 build=$build
   13968 build_os=$build_os
   13969 
   13970 # An echo program that does not interpret backslashes.
   13971 echo=$lt_echo
   13972 
   13973 # The archiver.
   13974 AR=$lt_AR
   13975 AR_FLAGS=$lt_AR_FLAGS
   13976 
   13977 # A C compiler.
   13978 LTCC=$lt_LTCC
   13979 
   13980 # LTCC compiler flags.
   13981 LTCFLAGS=$lt_LTCFLAGS
   13982 
   13983 # A language-specific compiler.
   13984 CC=$lt_compiler_CXX
   13985 
   13986 # Is the compiler the GNU C compiler?
   13987 with_gcc=$GCC_CXX
   13988 
   13989 # An ERE matcher.
   13990 EGREP=$lt_EGREP
   13991 
   13992 # The linker used to build libraries.
   13993 LD=$lt_LD_CXX
   13994 
   13995 # Whether we need hard or soft links.
   13996 LN_S=$lt_LN_S
   13997 
   13998 # A BSD-compatible nm program.
   13999 NM=$lt_NM
   14000 
   14001 # A symbol stripping program
   14002 STRIP=$lt_STRIP
   14003 
   14004 # Used to examine libraries when file_magic_cmd begins "file"
   14005 MAGIC_CMD=$MAGIC_CMD
   14006 
   14007 # Used on cygwin: DLL creation program.
   14008 DLLTOOL="$DLLTOOL"
   14009 
   14010 # Used on cygwin: object dumper.
   14011 OBJDUMP="$OBJDUMP"
   14012 
   14013 # Used on cygwin: assembler.
   14014 AS="$AS"
   14015 
   14016 # The name of the directory that contains temporary libtool files.
   14017 objdir=$objdir
   14018 
   14019 # How to create reloadable object files.
   14020 reload_flag=$lt_reload_flag
   14021 reload_cmds=$lt_reload_cmds
   14022 
   14023 # How to pass a linker flag through the compiler.
   14024 wl=$lt_lt_prog_compiler_wl_CXX
   14025 
   14026 # Object file suffix (normally "o").
   14027 objext="$ac_objext"
   14028 
   14029 # Old archive suffix (normally "a").
   14030 libext="$libext"
   14031 
   14032 # Shared library suffix (normally ".so").
   14033 shrext_cmds='$shrext_cmds'
   14034 
   14035 # Executable file suffix (normally "").
   14036 exeext="$exeext"
   14037 
   14038 # Additional compiler flags for building library objects.
   14039 pic_flag=$lt_lt_prog_compiler_pic_CXX
   14040 pic_mode=$pic_mode
   14041 
   14042 # What is the maximum length of a command?
   14043 max_cmd_len=$lt_cv_sys_max_cmd_len
   14044 
   14045 # Does compiler simultaneously support -c and -o options?
   14046 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
   14047 
   14048 # Must we lock files when doing compilation?
   14049 need_locks=$lt_need_locks
   14050 
   14051 # Do we need the lib prefix for modules?
   14052 need_lib_prefix=$need_lib_prefix
   14053 
   14054 # Do we need a version for libraries?
   14055 need_version=$need_version
   14056 
   14057 # Whether dlopen is supported.
   14058 dlopen_support=$enable_dlopen
   14059 
   14060 # Whether dlopen of programs is supported.
   14061 dlopen_self=$enable_dlopen_self
   14062 
   14063 # Whether dlopen of statically linked programs is supported.
   14064 dlopen_self_static=$enable_dlopen_self_static
   14065 
   14066 # Compiler flag to prevent dynamic linking.
   14067 link_static_flag=$lt_lt_prog_compiler_static_CXX
   14068 
   14069 # Compiler flag to turn off builtin functions.
   14070 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
   14071 
   14072 # Compiler flag to allow reflexive dlopens.
   14073 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
   14074 
   14075 # Compiler flag to generate shared objects directly from archives.
   14076 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
   14077 
   14078 # Compiler flag to generate thread-safe objects.
   14079 thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
   14080 
   14081 # Library versioning type.
   14082 version_type=$version_type
   14083 
   14084 # Format of library name prefix.
   14085 libname_spec=$lt_libname_spec
   14086 
   14087 # List of archive names.  First name is the real one, the rest are links.
   14088 # The last name is the one that the linker finds with -lNAME.
   14089 library_names_spec=$lt_library_names_spec
   14090 
   14091 # The coded name of the library, if different from the real name.
   14092 soname_spec=$lt_soname_spec
   14093 
   14094 # Commands used to build and install an old-style archive.
   14095 RANLIB=$lt_RANLIB
   14096 old_archive_cmds=$lt_old_archive_cmds_CXX
   14097 old_postinstall_cmds=$lt_old_postinstall_cmds
   14098 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   14099 
   14100 # Create an old-style archive from a shared archive.
   14101 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
   14102 
   14103 # Create a temporary old-style archive to link instead of a shared archive.
   14104 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
   14105 
   14106 # Commands used to build and install a shared archive.
   14107 archive_cmds=$lt_archive_cmds_CXX
   14108 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
   14109 postinstall_cmds=$lt_postinstall_cmds
   14110 postuninstall_cmds=$lt_postuninstall_cmds
   14111 
   14112 # Commands used to build a loadable module (assumed same as above if empty)
   14113 module_cmds=$lt_module_cmds_CXX
   14114 module_expsym_cmds=$lt_module_expsym_cmds_CXX
   14115 
   14116 # Commands to strip libraries.
   14117 old_striplib=$lt_old_striplib
   14118 striplib=$lt_striplib
   14119 
   14120 # Dependencies to place before the objects being linked to create a
   14121 # shared library.
   14122 predep_objects=$lt_predep_objects_CXX
   14123 
   14124 # Dependencies to place after the objects being linked to create a
   14125 # shared library.
   14126 postdep_objects=$lt_postdep_objects_CXX
   14127 
   14128 # Dependencies to place before the objects being linked to create a
   14129 # shared library.
   14130 predeps=$lt_predeps_CXX
   14131 
   14132 # Dependencies to place after the objects being linked to create a
   14133 # shared library.
   14134 postdeps=$lt_postdeps_CXX
   14135 
   14136 # The directories searched by this compiler when creating a shared
   14137 # library
   14138 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
   14139 
   14140 # The library search path used internally by the compiler when linking
   14141 # a shared library.
   14142 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
   14143 
   14144 # Method to check whether dependent libraries are shared objects.
   14145 deplibs_check_method=$lt_deplibs_check_method
   14146 
   14147 # Command to use when deplibs_check_method == file_magic.
   14148 file_magic_cmd=$lt_file_magic_cmd
   14149 
   14150 # Flag that allows shared libraries with undefined symbols to be built.
   14151 allow_undefined_flag=$lt_allow_undefined_flag_CXX
   14152 
   14153 # Flag that forces no undefined symbols.
   14154 no_undefined_flag=$lt_no_undefined_flag_CXX
   14155 
   14156 # Commands used to finish a libtool library installation in a directory.
   14157 finish_cmds=$lt_finish_cmds
   14158 
   14159 # Same as above, but a single script fragment to be evaled but not shown.
   14160 finish_eval=$lt_finish_eval
   14161 
   14162 # Take the output of nm and produce a listing of raw symbols and C names.
   14163 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   14164 
   14165 # Transform the output of nm in a proper C declaration
   14166 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   14167 
   14168 # Transform the output of nm in a C name address pair
   14169 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   14170 
   14171 # This is the shared library runtime path variable.
   14172 runpath_var=$runpath_var
   14173 
   14174 # This is the shared library path variable.
   14175 shlibpath_var=$shlibpath_var
   14176 
   14177 # Is shlibpath searched before the hard-coded library search path?
   14178 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   14179 
   14180 # How to hardcode a shared library path into an executable.
   14181 hardcode_action=$hardcode_action_CXX
   14182 
   14183 # Whether we should hardcode library paths into libraries.
   14184 hardcode_into_libs=$hardcode_into_libs
   14185 
   14186 # Flag to hardcode \$libdir into a binary during linking.
   14187 # This must work even if \$libdir does not exist.
   14188 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
   14189 
   14190 # If ld is used when linking, flag to hardcode \$libdir into
   14191 # a binary during linking. This must work even if \$libdir does
   14192 # not exist.
   14193 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
   14194 
   14195 # Whether we need a single -rpath flag with a separated argument.
   14196 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
   14197 
   14198 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
   14199 # resulting binary.
   14200 hardcode_direct=$hardcode_direct_CXX
   14201 
   14202 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
   14203 # resulting binary.
   14204 hardcode_minus_L=$hardcode_minus_L_CXX
   14205 
   14206 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
   14207 # the resulting binary.
   14208 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
   14209 
   14210 # Set to yes if building a shared library automatically hardcodes DIR into the library
   14211 # and all subsequent libraries and executables linked against it.
   14212 hardcode_automatic=$hardcode_automatic_CXX
   14213 
   14214 # Variables whose values should be saved in libtool wrapper scripts and
   14215 # restored at relink time.
   14216 variables_saved_for_relink="$variables_saved_for_relink"
   14217 
   14218 # Whether libtool must link a program against all its dependency libraries.
   14219 link_all_deplibs=$link_all_deplibs_CXX
   14220 
   14221 # Compile-time system search path for libraries
   14222 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   14223 
   14224 # Run-time system search path for libraries
   14225 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   14226 
   14227 # Fix the shell variable \$srcfile for the compiler.
   14228 fix_srcfile_path=$lt_fix_srcfile_path
   14229 
   14230 # Set to yes if exported symbols are required.
   14231 always_export_symbols=$always_export_symbols_CXX
   14232 
   14233 # The commands to list exported symbols.
   14234 export_symbols_cmds=$lt_export_symbols_cmds_CXX
   14235 
   14236 # The commands to extract the exported symbol list from a shared archive.
   14237 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   14238 
   14239 # Symbols that should not be listed in the preloaded symbols.
   14240 exclude_expsyms=$lt_exclude_expsyms_CXX
   14241 
   14242 # Symbols that must always be exported.
   14243 include_expsyms=$lt_include_expsyms_CXX
   14244 
   14245 # ### END LIBTOOL TAG CONFIG: $tagname
   14246 
   14247 __EOF__
   14248 
   14249 
   14250 else
   14251   # If there is no Makefile yet, we rely on a make rule to execute
   14252   # `config.status --recheck' to rerun these tests and create the
   14253   # libtool script then.
   14254   ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
   14255   if test -f "$ltmain_in"; then
   14256     test -f Makefile && make "$ltmain"
   14257   fi
   14258 fi
   14259 
   14260 
   14261 ac_ext=c
   14262 ac_cpp='$CPP $CPPFLAGS'
   14263 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   14264 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   14265 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   14266 
   14267 CC=$lt_save_CC
   14268 LDCXX=$LD
   14269 LD=$lt_save_LD
   14270 GCC=$lt_save_GCC
   14271 with_gnu_ldcxx=$with_gnu_ld
   14272 with_gnu_ld=$lt_save_with_gnu_ld
   14273 lt_cv_path_LDCXX=$lt_cv_path_LD
   14274 lt_cv_path_LD=$lt_save_path_LD
   14275 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
   14276 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
   14277 
   14278 	else
   14279 	  tagname=""
   14280 	fi
   14281 	;;
   14282 
   14283       F77)
   14284 	if test -n "$F77" && test "X$F77" != "Xno"; then
   14285 
   14286 ac_ext=f
   14287 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
   14288 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   14289 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
   14290 
   14291 
   14292 archive_cmds_need_lc_F77=no
   14293 allow_undefined_flag_F77=
   14294 always_export_symbols_F77=no
   14295 archive_expsym_cmds_F77=
   14296 export_dynamic_flag_spec_F77=
   14297 hardcode_direct_F77=no
   14298 hardcode_libdir_flag_spec_F77=
   14299 hardcode_libdir_flag_spec_ld_F77=
   14300 hardcode_libdir_separator_F77=
   14301 hardcode_minus_L_F77=no
   14302 hardcode_automatic_F77=no
   14303 module_cmds_F77=
   14304 module_expsym_cmds_F77=
   14305 link_all_deplibs_F77=unknown
   14306 old_archive_cmds_F77=$old_archive_cmds
   14307 no_undefined_flag_F77=
   14308 whole_archive_flag_spec_F77=
   14309 enable_shared_with_static_runtimes_F77=no
   14310 
   14311 # Source file extension for f77 test sources.
   14312 ac_ext=f
   14313 
   14314 # Object file extension for compiled f77 test sources.
   14315 objext=o
   14316 objext_F77=$objext
   14317 
   14318 # Code to be used in simple compile tests
   14319 lt_simple_compile_test_code="\
   14320       subroutine t
   14321       return
   14322       end
   14323 "
   14324 
   14325 # Code to be used in simple link tests
   14326 lt_simple_link_test_code="\
   14327       program t
   14328       end
   14329 "
   14330 
   14331 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
   14332 
   14333 # If no C compiler was specified, use CC.
   14334 LTCC=${LTCC-"$CC"}
   14335 
   14336 # If no C compiler flags were specified, use CFLAGS.
   14337 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   14338 
   14339 # Allow CC to be a program name with arguments.
   14340 compiler=$CC
   14341 
   14342 
   14343 # save warnings/boilerplate of simple test code
   14344 ac_outfile=conftest.$ac_objext
   14345 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   14346 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   14347 _lt_compiler_boilerplate=`cat conftest.err`
   14348 $rm conftest*
   14349 
   14350 ac_outfile=conftest.$ac_objext
   14351 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   14352 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   14353 _lt_linker_boilerplate=`cat conftest.err`
   14354 $rm -r conftest*
   14355 
   14356 
   14357 # Allow CC to be a program name with arguments.
   14358 lt_save_CC="$CC"
   14359 CC=${F77-"f77"}
   14360 compiler=$CC
   14361 compiler_F77=$CC
   14362 for cc_temp in $compiler""; do
   14363   case $cc_temp in
   14364     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   14365     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   14366     \-*) ;;
   14367     *) break;;
   14368   esac
   14369 done
   14370 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   14371 
   14372 
   14373 { $as_echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
   14374 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
   14375 { $as_echo "$as_me:$LINENO: result: $can_build_shared" >&5
   14376 $as_echo "$can_build_shared" >&6; }
   14377 
   14378 { $as_echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
   14379 $as_echo_n "checking whether to build shared libraries... " >&6; }
   14380 test "$can_build_shared" = "no" && enable_shared=no
   14381 
   14382 # On AIX, shared libraries and static libraries use the same namespace, and
   14383 # are all built from PIC.
   14384 case $host_os in
   14385 aix3*)
   14386   test "$enable_shared" = yes && enable_static=no
   14387   if test -n "$RANLIB"; then
   14388     archive_cmds="$archive_cmds~\$RANLIB \$lib"
   14389     postinstall_cmds='$RANLIB $lib'
   14390   fi
   14391   ;;
   14392 aix[4-9]*)
   14393   if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
   14394     test "$enable_shared" = yes && enable_static=no
   14395   fi
   14396   ;;
   14397 esac
   14398 { $as_echo "$as_me:$LINENO: result: $enable_shared" >&5
   14399 $as_echo "$enable_shared" >&6; }
   14400 
   14401 { $as_echo "$as_me:$LINENO: checking whether to build static libraries" >&5
   14402 $as_echo_n "checking whether to build static libraries... " >&6; }
   14403 # Make sure either enable_shared or enable_static is yes.
   14404 test "$enable_shared" = yes || enable_static=yes
   14405 { $as_echo "$as_me:$LINENO: result: $enable_static" >&5
   14406 $as_echo "$enable_static" >&6; }
   14407 
   14408 GCC_F77="$G77"
   14409 LD_F77="$LD"
   14410 
   14411 lt_prog_compiler_wl_F77=
   14412 lt_prog_compiler_pic_F77=
   14413 lt_prog_compiler_static_F77=
   14414 
   14415 { $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
   14416 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
   14417 
   14418   if test "$GCC" = yes; then
   14419     lt_prog_compiler_wl_F77='-Wl,'
   14420     lt_prog_compiler_static_F77='-static'
   14421 
   14422     case $host_os in
   14423       aix*)
   14424       # All AIX code is PIC.
   14425       if test "$host_cpu" = ia64; then
   14426 	# AIX 5 now supports IA64 processor
   14427 	lt_prog_compiler_static_F77='-Bstatic'
   14428       fi
   14429       ;;
   14430 
   14431     amigaos*)
   14432       # FIXME: we need at least 68020 code to build shared libraries, but
   14433       # adding the `-m68020' flag to GCC prevents building anything better,
   14434       # like `-m68040'.
   14435       lt_prog_compiler_pic_F77='-m68020 -resident32 -malways-restore-a4'
   14436       ;;
   14437 
   14438     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   14439       # PIC is the default for these OSes.
   14440       ;;
   14441 
   14442     mingw* | cygwin* | pw32* | os2*)
   14443       # This hack is so that the source file can tell whether it is being
   14444       # built for inclusion in a dll (and should export symbols for example).
   14445       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   14446       # (--disable-auto-import) libraries
   14447       lt_prog_compiler_pic_F77='-DDLL_EXPORT'
   14448       ;;
   14449 
   14450     darwin* | rhapsody*)
   14451       # PIC is the default on this platform
   14452       # Common symbols not allowed in MH_DYLIB files
   14453       lt_prog_compiler_pic_F77='-fno-common'
   14454       ;;
   14455 
   14456     interix[3-9]*)
   14457       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   14458       # Instead, we relocate shared libraries at runtime.
   14459       ;;
   14460 
   14461     msdosdjgpp*)
   14462       # Just because we use GCC doesn't mean we suddenly get shared libraries
   14463       # on systems that don't support them.
   14464       lt_prog_compiler_can_build_shared_F77=no
   14465       enable_shared=no
   14466       ;;
   14467 
   14468     sysv4*MP*)
   14469       if test -d /usr/nec; then
   14470 	lt_prog_compiler_pic_F77=-Kconform_pic
   14471       fi
   14472       ;;
   14473 
   14474     hpux*)
   14475       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   14476       # not for PA HP-UX.
   14477       case $host_cpu in
   14478       hppa*64*|ia64*)
   14479 	# +Z the default
   14480 	;;
   14481       *)
   14482 	lt_prog_compiler_pic_F77='-fPIC'
   14483 	;;
   14484       esac
   14485       ;;
   14486 
   14487     *)
   14488       lt_prog_compiler_pic_F77='-fPIC'
   14489       ;;
   14490     esac
   14491   else
   14492     # PORTME Check for flag to pass linker flags through the system compiler.
   14493     case $host_os in
   14494     aix*)
   14495       lt_prog_compiler_wl_F77='-Wl,'
   14496       if test "$host_cpu" = ia64; then
   14497 	# AIX 5 now supports IA64 processor
   14498 	lt_prog_compiler_static_F77='-Bstatic'
   14499       else
   14500 	lt_prog_compiler_static_F77='-bnso -bI:/lib/syscalls.exp'
   14501       fi
   14502       ;;
   14503       darwin*)
   14504         # PIC is the default on this platform
   14505         # Common symbols not allowed in MH_DYLIB files
   14506        case $cc_basename in
   14507          xlc*)
   14508          lt_prog_compiler_pic_F77='-qnocommon'
   14509          lt_prog_compiler_wl_F77='-Wl,'
   14510          ;;
   14511        esac
   14512        ;;
   14513 
   14514     mingw* | cygwin* | pw32* | os2*)
   14515       # This hack is so that the source file can tell whether it is being
   14516       # built for inclusion in a dll (and should export symbols for example).
   14517       lt_prog_compiler_pic_F77='-DDLL_EXPORT'
   14518       ;;
   14519 
   14520     hpux9* | hpux10* | hpux11*)
   14521       lt_prog_compiler_wl_F77='-Wl,'
   14522       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   14523       # not for PA HP-UX.
   14524       case $host_cpu in
   14525       hppa*64*|ia64*)
   14526 	# +Z the default
   14527 	;;
   14528       *)
   14529 	lt_prog_compiler_pic_F77='+Z'
   14530 	;;
   14531       esac
   14532       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   14533       lt_prog_compiler_static_F77='${wl}-a ${wl}archive'
   14534       ;;
   14535 
   14536     irix5* | irix6* | nonstopux*)
   14537       lt_prog_compiler_wl_F77='-Wl,'
   14538       # PIC (with -KPIC) is the default.
   14539       lt_prog_compiler_static_F77='-non_shared'
   14540       ;;
   14541 
   14542     newsos6)
   14543       lt_prog_compiler_pic_F77='-KPIC'
   14544       lt_prog_compiler_static_F77='-Bstatic'
   14545       ;;
   14546 
   14547     linux* | k*bsd*-gnu)
   14548       case $cc_basename in
   14549       icc* | ecc*)
   14550 	lt_prog_compiler_wl_F77='-Wl,'
   14551 	lt_prog_compiler_pic_F77='-KPIC'
   14552 	lt_prog_compiler_static_F77='-static'
   14553         ;;
   14554       pgcc* | pgf77* | pgf90* | pgf95*)
   14555         # Portland Group compilers (*not* the Pentium gcc compiler,
   14556 	# which looks to be a dead project)
   14557 	lt_prog_compiler_wl_F77='-Wl,'
   14558 	lt_prog_compiler_pic_F77='-fpic'
   14559 	lt_prog_compiler_static_F77='-Bstatic'
   14560         ;;
   14561       ccc*)
   14562         lt_prog_compiler_wl_F77='-Wl,'
   14563         # All Alpha code is PIC.
   14564         lt_prog_compiler_static_F77='-non_shared'
   14565         ;;
   14566       *)
   14567         case `$CC -V 2>&1 | sed 5q` in
   14568 	*Sun\ C*)
   14569 	  # Sun C 5.9
   14570 	  lt_prog_compiler_pic_F77='-KPIC'
   14571 	  lt_prog_compiler_static_F77='-Bstatic'
   14572 	  lt_prog_compiler_wl_F77='-Wl,'
   14573 	  ;;
   14574 	*Sun\ F*)
   14575 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   14576 	  lt_prog_compiler_pic_F77='-KPIC'
   14577 	  lt_prog_compiler_static_F77='-Bstatic'
   14578 	  lt_prog_compiler_wl_F77=''
   14579 	  ;;
   14580 	esac
   14581 	;;
   14582       esac
   14583       ;;
   14584 
   14585     osf3* | osf4* | osf5*)
   14586       lt_prog_compiler_wl_F77='-Wl,'
   14587       # All OSF/1 code is PIC.
   14588       lt_prog_compiler_static_F77='-non_shared'
   14589       ;;
   14590 
   14591     rdos*)
   14592       lt_prog_compiler_static_F77='-non_shared'
   14593       ;;
   14594 
   14595     solaris*)
   14596       lt_prog_compiler_pic_F77='-KPIC'
   14597       lt_prog_compiler_static_F77='-Bstatic'
   14598       case $cc_basename in
   14599       f77* | f90* | f95*)
   14600 	lt_prog_compiler_wl_F77='-Qoption ld ';;
   14601       *)
   14602 	lt_prog_compiler_wl_F77='-Wl,';;
   14603       esac
   14604       ;;
   14605 
   14606     sunos4*)
   14607       lt_prog_compiler_wl_F77='-Qoption ld '
   14608       lt_prog_compiler_pic_F77='-PIC'
   14609       lt_prog_compiler_static_F77='-Bstatic'
   14610       ;;
   14611 
   14612     sysv4 | sysv4.2uw2* | sysv4.3*)
   14613       lt_prog_compiler_wl_F77='-Wl,'
   14614       lt_prog_compiler_pic_F77='-KPIC'
   14615       lt_prog_compiler_static_F77='-Bstatic'
   14616       ;;
   14617 
   14618     sysv4*MP*)
   14619       if test -d /usr/nec ;then
   14620 	lt_prog_compiler_pic_F77='-Kconform_pic'
   14621 	lt_prog_compiler_static_F77='-Bstatic'
   14622       fi
   14623       ;;
   14624 
   14625     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   14626       lt_prog_compiler_wl_F77='-Wl,'
   14627       lt_prog_compiler_pic_F77='-KPIC'
   14628       lt_prog_compiler_static_F77='-Bstatic'
   14629       ;;
   14630 
   14631     unicos*)
   14632       lt_prog_compiler_wl_F77='-Wl,'
   14633       lt_prog_compiler_can_build_shared_F77=no
   14634       ;;
   14635 
   14636     uts4*)
   14637       lt_prog_compiler_pic_F77='-pic'
   14638       lt_prog_compiler_static_F77='-Bstatic'
   14639       ;;
   14640 
   14641     *)
   14642       lt_prog_compiler_can_build_shared_F77=no
   14643       ;;
   14644     esac
   14645   fi
   14646 
   14647 { $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
   14648 $as_echo "$lt_prog_compiler_pic_F77" >&6; }
   14649 
   14650 #
   14651 # Check to make sure the PIC flag actually works.
   14652 #
   14653 if test -n "$lt_prog_compiler_pic_F77"; then
   14654 
   14655 { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
   14656 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... " >&6; }
   14657 if test "${lt_cv_prog_compiler_pic_works_F77+set}" = set; then
   14658   $as_echo_n "(cached) " >&6
   14659 else
   14660   lt_cv_prog_compiler_pic_works_F77=no
   14661   ac_outfile=conftest.$ac_objext
   14662    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   14663    lt_compiler_flag="$lt_prog_compiler_pic_F77"
   14664    # Insert the option either (1) after the last *FLAGS variable, or
   14665    # (2) before a word containing "conftest.", or (3) at the end.
   14666    # Note that $ac_compile itself does not contain backslashes and begins
   14667    # with a dollar sign (not a hyphen), so the echo should work correctly.
   14668    # The option is referenced via a variable to avoid confusing sed.
   14669    lt_compile=`echo "$ac_compile" | $SED \
   14670    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   14671    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   14672    -e 's:$: $lt_compiler_flag:'`
   14673    (eval echo "\"\$as_me:14673: $lt_compile\"" >&5)
   14674    (eval "$lt_compile" 2>conftest.err)
   14675    ac_status=$?
   14676    cat conftest.err >&5
   14677    echo "$as_me:14677: \$? = $ac_status" >&5
   14678    if (exit $ac_status) && test -s "$ac_outfile"; then
   14679      # The compiler can only warn and ignore the option if not recognized
   14680      # So say no if there are warnings other than the usual output.
   14681      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   14682      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   14683      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   14684        lt_cv_prog_compiler_pic_works_F77=yes
   14685      fi
   14686    fi
   14687    $rm conftest*
   14688 
   14689 fi
   14690 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_F77" >&5
   14691 $as_echo "$lt_cv_prog_compiler_pic_works_F77" >&6; }
   14692 
   14693 if test x"$lt_cv_prog_compiler_pic_works_F77" = xyes; then
   14694     case $lt_prog_compiler_pic_F77 in
   14695      "" | " "*) ;;
   14696      *) lt_prog_compiler_pic_F77=" $lt_prog_compiler_pic_F77" ;;
   14697      esac
   14698 else
   14699     lt_prog_compiler_pic_F77=
   14700      lt_prog_compiler_can_build_shared_F77=no
   14701 fi
   14702 
   14703 fi
   14704 case $host_os in
   14705   # For platforms which do not support PIC, -DPIC is meaningless:
   14706   *djgpp*)
   14707     lt_prog_compiler_pic_F77=
   14708     ;;
   14709   *)
   14710     lt_prog_compiler_pic_F77="$lt_prog_compiler_pic_F77"
   14711     ;;
   14712 esac
   14713 
   14714 #
   14715 # Check to make sure the static flag actually works.
   14716 #
   14717 wl=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag=\"$lt_prog_compiler_static_F77\"
   14718 { $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   14719 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   14720 if test "${lt_cv_prog_compiler_static_works_F77+set}" = set; then
   14721   $as_echo_n "(cached) " >&6
   14722 else
   14723   lt_cv_prog_compiler_static_works_F77=no
   14724    save_LDFLAGS="$LDFLAGS"
   14725    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   14726    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   14727    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   14728      # The linker can only warn and ignore the option if not recognized
   14729      # So say no if there are warnings
   14730      if test -s conftest.err; then
   14731        # Append any errors to the config.log.
   14732        cat conftest.err 1>&5
   14733        $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
   14734        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   14735        if diff conftest.exp conftest.er2 >/dev/null; then
   14736          lt_cv_prog_compiler_static_works_F77=yes
   14737        fi
   14738      else
   14739        lt_cv_prog_compiler_static_works_F77=yes
   14740      fi
   14741    fi
   14742    $rm -r conftest*
   14743    LDFLAGS="$save_LDFLAGS"
   14744 
   14745 fi
   14746 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_F77" >&5
   14747 $as_echo "$lt_cv_prog_compiler_static_works_F77" >&6; }
   14748 
   14749 if test x"$lt_cv_prog_compiler_static_works_F77" = xyes; then
   14750     :
   14751 else
   14752     lt_prog_compiler_static_F77=
   14753 fi
   14754 
   14755 
   14756 { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
   14757 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   14758 if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
   14759   $as_echo_n "(cached) " >&6
   14760 else
   14761   lt_cv_prog_compiler_c_o_F77=no
   14762    $rm -r conftest 2>/dev/null
   14763    mkdir conftest
   14764    cd conftest
   14765    mkdir out
   14766    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   14767 
   14768    lt_compiler_flag="-o out/conftest2.$ac_objext"
   14769    # Insert the option either (1) after the last *FLAGS variable, or
   14770    # (2) before a word containing "conftest.", or (3) at the end.
   14771    # Note that $ac_compile itself does not contain backslashes and begins
   14772    # with a dollar sign (not a hyphen), so the echo should work correctly.
   14773    lt_compile=`echo "$ac_compile" | $SED \
   14774    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   14775    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   14776    -e 's:$: $lt_compiler_flag:'`
   14777    (eval echo "\"\$as_me:14777: $lt_compile\"" >&5)
   14778    (eval "$lt_compile" 2>out/conftest.err)
   14779    ac_status=$?
   14780    cat out/conftest.err >&5
   14781    echo "$as_me:14781: \$? = $ac_status" >&5
   14782    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   14783    then
   14784      # The compiler can only warn and ignore the option if not recognized
   14785      # So say no if there are warnings
   14786      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
   14787      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   14788      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   14789        lt_cv_prog_compiler_c_o_F77=yes
   14790      fi
   14791    fi
   14792    chmod u+w . 2>&5
   14793    $rm conftest*
   14794    # SGI C++ compiler will create directory out/ii_files/ for
   14795    # template instantiation
   14796    test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
   14797    $rm out/* && rmdir out
   14798    cd ..
   14799    rmdir conftest
   14800    $rm conftest*
   14801 
   14802 fi
   14803 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
   14804 $as_echo "$lt_cv_prog_compiler_c_o_F77" >&6; }
   14805 
   14806 
   14807 hard_links="nottested"
   14808 if test "$lt_cv_prog_compiler_c_o_F77" = no && test "$need_locks" != no; then
   14809   # do not overwrite the value of need_locks provided by the user
   14810   { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
   14811 $as_echo_n "checking if we can lock with hard links... " >&6; }
   14812   hard_links=yes
   14813   $rm conftest*
   14814   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   14815   touch conftest.a
   14816   ln conftest.a conftest.b 2>&5 || hard_links=no
   14817   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   14818   { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
   14819 $as_echo "$hard_links" >&6; }
   14820   if test "$hard_links" = no; then
   14821     { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   14822 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   14823     need_locks=warn
   14824   fi
   14825 else
   14826   need_locks=no
   14827 fi
   14828 
   14829 { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   14830 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   14831 
   14832   runpath_var=
   14833   allow_undefined_flag_F77=
   14834   enable_shared_with_static_runtimes_F77=no
   14835   archive_cmds_F77=
   14836   archive_expsym_cmds_F77=
   14837   old_archive_From_new_cmds_F77=
   14838   old_archive_from_expsyms_cmds_F77=
   14839   export_dynamic_flag_spec_F77=
   14840   whole_archive_flag_spec_F77=
   14841   thread_safe_flag_spec_F77=
   14842   hardcode_libdir_flag_spec_F77=
   14843   hardcode_libdir_flag_spec_ld_F77=
   14844   hardcode_libdir_separator_F77=
   14845   hardcode_direct_F77=no
   14846   hardcode_minus_L_F77=no
   14847   hardcode_shlibpath_var_F77=unsupported
   14848   link_all_deplibs_F77=unknown
   14849   hardcode_automatic_F77=no
   14850   module_cmds_F77=
   14851   module_expsym_cmds_F77=
   14852   always_export_symbols_F77=no
   14853   export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   14854   # include_expsyms should be a list of space-separated symbols to be *always*
   14855   # included in the symbol list
   14856   include_expsyms_F77=
   14857   # exclude_expsyms can be an extended regexp of symbols to exclude
   14858   # it will be wrapped by ` (' and `)$', so one must not match beginning or
   14859   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
   14860   # as well as any symbol that contains `d'.
   14861   exclude_expsyms_F77='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   14862   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   14863   # platforms (ab)use it in PIC code, but their linkers get confused if
   14864   # the symbol is explicitly referenced.  Since portable code cannot
   14865   # rely on this symbol name, it's probably fine to never include it in
   14866   # preloaded symbol tables.
   14867   # Exclude shared library initialization/finalization symbols.
   14868   extract_expsyms_cmds=
   14869   # Just being paranoid about ensuring that cc_basename is set.
   14870   for cc_temp in $compiler""; do
   14871   case $cc_temp in
   14872     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   14873     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   14874     \-*) ;;
   14875     *) break;;
   14876   esac
   14877 done
   14878 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   14879 
   14880   case $host_os in
   14881   cygwin* | mingw* | pw32*)
   14882     # FIXME: the MSVC++ port hasn't been tested in a loooong time
   14883     # When not using gcc, we currently assume that we are using
   14884     # Microsoft Visual C++.
   14885     if test "$GCC" != yes; then
   14886       with_gnu_ld=no
   14887     fi
   14888     ;;
   14889   interix*)
   14890     # we just hope/assume this is gcc and not c89 (= MSVC++)
   14891     with_gnu_ld=yes
   14892     ;;
   14893   openbsd*)
   14894     with_gnu_ld=no
   14895     ;;
   14896   esac
   14897 
   14898   ld_shlibs_F77=yes
   14899   if test "$with_gnu_ld" = yes; then
   14900     # If archive_cmds runs LD, not CC, wlarc should be empty
   14901     wlarc='${wl}'
   14902 
   14903     # Set some defaults for GNU ld with shared library support. These
   14904     # are reset later if shared libraries are not supported. Putting them
   14905     # here allows them to be overridden if necessary.
   14906     runpath_var=LD_RUN_PATH
   14907     hardcode_libdir_flag_spec_F77='${wl}--rpath ${wl}$libdir'
   14908     export_dynamic_flag_spec_F77='${wl}--export-dynamic'
   14909     # ancient GNU ld didn't support --whole-archive et. al.
   14910     if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
   14911 	whole_archive_flag_spec_F77="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   14912       else
   14913   	whole_archive_flag_spec_F77=
   14914     fi
   14915     supports_anon_versioning=no
   14916     case `$LD -v 2>/dev/null` in
   14917       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   14918       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   14919       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   14920       *\ 2.11.*) ;; # other 2.11 versions
   14921       *) supports_anon_versioning=yes ;;
   14922     esac
   14923 
   14924     # See if GNU ld supports shared libraries.
   14925     case $host_os in
   14926     aix[3-9]*)
   14927       # On AIX/PPC, the GNU linker is very broken
   14928       if test "$host_cpu" != ia64; then
   14929 	ld_shlibs_F77=no
   14930 	cat <<EOF 1>&2
   14931 
   14932 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
   14933 *** to be unable to reliably create shared libraries on AIX.
   14934 *** Therefore, libtool is disabling shared libraries support.  If you
   14935 *** really care for shared libraries, you may want to modify your PATH
   14936 *** so that a non-GNU linker is found, and then restart.
   14937 
   14938 EOF
   14939       fi
   14940       ;;
   14941 
   14942     amigaos*)
   14943       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)'
   14944       hardcode_libdir_flag_spec_F77='-L$libdir'
   14945       hardcode_minus_L_F77=yes
   14946 
   14947       # Samuel A. Falvo II <kc5tja (at] dolphin.openprojects.net> reports
   14948       # that the semantics of dynamic libraries on AmigaOS, at least up
   14949       # to version 4, is to share data among multiple programs linked
   14950       # with the same dynamic library.  Since this doesn't match the
   14951       # behavior of shared libraries on other platforms, we can't use
   14952       # them.
   14953       ld_shlibs_F77=no
   14954       ;;
   14955 
   14956     beos*)
   14957       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   14958 	allow_undefined_flag_F77=unsupported
   14959 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   14960 	# support --undefined.  This deserves some investigation.  FIXME
   14961 	archive_cmds_F77='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   14962       else
   14963 	ld_shlibs_F77=no
   14964       fi
   14965       ;;
   14966 
   14967     cygwin* | mingw* | pw32*)
   14968       # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
   14969       # as there is no search path for DLLs.
   14970       hardcode_libdir_flag_spec_F77='-L$libdir'
   14971       allow_undefined_flag_F77=unsupported
   14972       always_export_symbols_F77=no
   14973       enable_shared_with_static_runtimes_F77=yes
   14974       export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
   14975 
   14976       if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
   14977         archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   14978 	# If the export-symbols file already is a .def file (1st line
   14979 	# is EXPORTS), use it as is; otherwise, prepend...
   14980 	archive_expsym_cmds_F77='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   14981 	  cp $export_symbols $output_objdir/$soname.def;
   14982 	else
   14983 	  echo EXPORTS > $output_objdir/$soname.def;
   14984 	  cat $export_symbols >> $output_objdir/$soname.def;
   14985 	fi~
   14986 	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   14987       else
   14988 	ld_shlibs_F77=no
   14989       fi
   14990       ;;
   14991 
   14992     interix[3-9]*)
   14993       hardcode_direct_F77=no
   14994       hardcode_shlibpath_var_F77=no
   14995       hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
   14996       export_dynamic_flag_spec_F77='${wl}-E'
   14997       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   14998       # Instead, shared libraries are loaded at an image base (0x10000000 by
   14999       # default) and relocated if they conflict, which is a slow very memory
   15000       # consuming and fragmenting process.  To avoid this, we pick a random,
   15001       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   15002       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   15003       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'
   15004       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'
   15005       ;;
   15006 
   15007     gnu* | linux* | k*bsd*-gnu)
   15008       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   15009 	tmp_addflag=
   15010 	case $cc_basename,$host_cpu in
   15011 	pgcc*)				# Portland Group C compiler
   15012 	  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'
   15013 	  tmp_addflag=' $pic_flag'
   15014 	  ;;
   15015 	pgf77* | pgf90* | pgf95*)	# Portland Group f77 and f90 compilers
   15016 	  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'
   15017 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   15018 	ecc*,ia64* | icc*,ia64*)		# Intel C compiler on ia64
   15019 	  tmp_addflag=' -i_dynamic' ;;
   15020 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   15021 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   15022 	ifc* | ifort*)			# Intel Fortran compiler
   15023 	  tmp_addflag=' -nofor_main' ;;
   15024 	esac
   15025 	case `$CC -V 2>&1 | sed 5q` in
   15026 	*Sun\ C*)			# Sun C 5.9
   15027 	  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'
   15028 	  tmp_sharedflag='-G' ;;
   15029 	*Sun\ F*)			# Sun Fortran 8.3
   15030 	  tmp_sharedflag='-G' ;;
   15031 	*)
   15032 	  tmp_sharedflag='-shared' ;;
   15033 	esac
   15034 	archive_cmds_F77='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   15035 
   15036 	if test $supports_anon_versioning = yes; then
   15037 	  archive_expsym_cmds_F77='$echo "{ global:" > $output_objdir/$libname.ver~
   15038   cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   15039   $echo "local: *; };" >> $output_objdir/$libname.ver~
   15040 	  $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
   15041 	fi
   15042       else
   15043 	ld_shlibs_F77=no
   15044       fi
   15045       ;;
   15046 
   15047     netbsd*)
   15048       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   15049 	archive_cmds_F77='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   15050 	wlarc=
   15051       else
   15052 	archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   15053 	archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   15054       fi
   15055       ;;
   15056 
   15057     solaris*)
   15058       if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
   15059 	ld_shlibs_F77=no
   15060 	cat <<EOF 1>&2
   15061 
   15062 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   15063 *** create shared libraries on Solaris systems.  Therefore, libtool
   15064 *** is disabling shared libraries support.  We urge you to upgrade GNU
   15065 *** binutils to release 2.9.1 or newer.  Another option is to modify
   15066 *** your PATH or compiler configuration so that the native linker is
   15067 *** used, and then restart.
   15068 
   15069 EOF
   15070       elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   15071 	archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   15072 	archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   15073       else
   15074 	ld_shlibs_F77=no
   15075       fi
   15076       ;;
   15077 
   15078     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   15079       case `$LD -v 2>&1` in
   15080         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   15081 	ld_shlibs_F77=no
   15082 	cat <<_LT_EOF 1>&2
   15083 
   15084 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
   15085 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   15086 *** is disabling shared libraries support.  We urge you to upgrade GNU
   15087 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   15088 *** your PATH or compiler configuration so that the native linker is
   15089 *** used, and then restart.
   15090 
   15091 _LT_EOF
   15092 	;;
   15093 	*)
   15094 	  if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   15095 	    hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
   15096 	    archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
   15097 	    archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
   15098 	  else
   15099 	    ld_shlibs_F77=no
   15100 	  fi
   15101 	;;
   15102       esac
   15103       ;;
   15104 
   15105     sunos4*)
   15106       archive_cmds_F77='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   15107       wlarc=
   15108       hardcode_direct_F77=yes
   15109       hardcode_shlibpath_var_F77=no
   15110       ;;
   15111 
   15112     *)
   15113       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   15114 	archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   15115 	archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   15116       else
   15117 	ld_shlibs_F77=no
   15118       fi
   15119       ;;
   15120     esac
   15121 
   15122     if test "$ld_shlibs_F77" = no; then
   15123       runpath_var=
   15124       hardcode_libdir_flag_spec_F77=
   15125       export_dynamic_flag_spec_F77=
   15126       whole_archive_flag_spec_F77=
   15127     fi
   15128   else
   15129     # PORTME fill in a description of your system's linker (not GNU ld)
   15130     case $host_os in
   15131     aix3*)
   15132       allow_undefined_flag_F77=unsupported
   15133       always_export_symbols_F77=yes
   15134       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'
   15135       # Note: this linker hardcodes the directories in LIBPATH if there
   15136       # are no directories specified by -L.
   15137       hardcode_minus_L_F77=yes
   15138       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
   15139 	# Neither direct hardcoding nor static linking is supported with a
   15140 	# broken collect2.
   15141 	hardcode_direct_F77=unsupported
   15142       fi
   15143       ;;
   15144 
   15145     aix[4-9]*)
   15146       if test "$host_cpu" = ia64; then
   15147 	# On IA64, the linker does run time linking by default, so we don't
   15148 	# have to do anything special.
   15149 	aix_use_runtimelinking=no
   15150 	exp_sym_flag='-Bexport'
   15151 	no_entry_flag=""
   15152       else
   15153 	# If we're using GNU nm, then we don't want the "-C" option.
   15154 	# -C means demangle to AIX nm, but means don't demangle with GNU nm
   15155 	if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
   15156 	  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'
   15157 	else
   15158 	  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'
   15159 	fi
   15160 	aix_use_runtimelinking=no
   15161 
   15162 	# Test if we are trying to use run time linking or normal
   15163 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   15164 	# need to do runtime linking.
   15165 	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   15166 	  for ld_flag in $LDFLAGS; do
   15167   	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
   15168   	    aix_use_runtimelinking=yes
   15169   	    break
   15170   	  fi
   15171 	  done
   15172 	  ;;
   15173 	esac
   15174 
   15175 	exp_sym_flag='-bexport'
   15176 	no_entry_flag='-bnoentry'
   15177       fi
   15178 
   15179       # When large executables or shared objects are built, AIX ld can
   15180       # have problems creating the table of contents.  If linking a library
   15181       # or program results in "error TOC overflow" add -mminimal-toc to
   15182       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   15183       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   15184 
   15185       archive_cmds_F77=''
   15186       hardcode_direct_F77=yes
   15187       hardcode_libdir_separator_F77=':'
   15188       link_all_deplibs_F77=yes
   15189 
   15190       if test "$GCC" = yes; then
   15191 	case $host_os in aix4.[012]|aix4.[012].*)
   15192 	# We only want to do this on AIX 4.2 and lower, the check
   15193 	# below for broken collect2 doesn't work under 4.3+
   15194 	  collect2name=`${CC} -print-prog-name=collect2`
   15195 	  if test -f "$collect2name" && \
   15196   	   strings "$collect2name" | grep resolve_lib_name >/dev/null
   15197 	  then
   15198   	  # We have reworked collect2
   15199   	  :
   15200 	  else
   15201   	  # We have old collect2
   15202   	  hardcode_direct_F77=unsupported
   15203   	  # It fails to find uninstalled libraries when the uninstalled
   15204   	  # path is not listed in the libpath.  Setting hardcode_minus_L
   15205   	  # to unsupported forces relinking
   15206   	  hardcode_minus_L_F77=yes
   15207   	  hardcode_libdir_flag_spec_F77='-L$libdir'
   15208   	  hardcode_libdir_separator_F77=
   15209 	  fi
   15210 	  ;;
   15211 	esac
   15212 	shared_flag='-shared'
   15213 	if test "$aix_use_runtimelinking" = yes; then
   15214 	  shared_flag="$shared_flag "'${wl}-G'
   15215 	fi
   15216       else
   15217 	# not using gcc
   15218 	if test "$host_cpu" = ia64; then
   15219   	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   15220   	# chokes on -Wl,-G. The following line is correct:
   15221 	  shared_flag='-G'
   15222 	else
   15223 	  if test "$aix_use_runtimelinking" = yes; then
   15224 	    shared_flag='${wl}-G'
   15225 	  else
   15226 	    shared_flag='${wl}-bM:SRE'
   15227 	  fi
   15228 	fi
   15229       fi
   15230 
   15231       # It seems that -bexpall does not export symbols beginning with
   15232       # underscore (_), so it is better to generate a list of symbols to export.
   15233       always_export_symbols_F77=yes
   15234       if test "$aix_use_runtimelinking" = yes; then
   15235 	# Warning - without using the other runtime loading flags (-brtl),
   15236 	# -berok will link without error, but may produce a broken library.
   15237 	allow_undefined_flag_F77='-berok'
   15238        # Determine the default libpath from the value encoded in an empty executable.
   15239        cat >conftest.$ac_ext <<_ACEOF
   15240       program main
   15241 
   15242       end
   15243 _ACEOF
   15244 rm -f conftest.$ac_objext conftest$ac_exeext
   15245 if { (ac_try="$ac_link"
   15246 case "(($ac_try" in
   15247   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   15248   *) ac_try_echo=$ac_try;;
   15249 esac
   15250 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   15251 $as_echo "$ac_try_echo") >&5
   15252   (eval "$ac_link") 2>conftest.er1
   15253   ac_status=$?
   15254   grep -v '^ *+' conftest.er1 >conftest.err
   15255   rm -f conftest.er1
   15256   cat conftest.err >&5
   15257   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   15258   (exit $ac_status); } && {
   15259 	 test -z "$ac_f77_werror_flag" ||
   15260 	 test ! -s conftest.err
   15261        } && test -s conftest$ac_exeext && {
   15262 	 test "$cross_compiling" = yes ||
   15263 	 $as_test_x conftest$ac_exeext
   15264        }; then
   15265 
   15266 lt_aix_libpath_sed='
   15267     /Import File Strings/,/^$/ {
   15268 	/^0/ {
   15269 	    s/^0  *\(.*\)$/\1/
   15270 	    p
   15271 	}
   15272     }'
   15273 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   15274 # Check for a 64-bit object if we didn't find anything.
   15275 if test -z "$aix_libpath"; then
   15276   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   15277 fi
   15278 else
   15279   $as_echo "$as_me: failed program was:" >&5
   15280 sed 's/^/| /' conftest.$ac_ext >&5
   15281 
   15282 
   15283 fi
   15284 
   15285 rm -rf conftest.dSYM
   15286 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   15287       conftest$ac_exeext conftest.$ac_ext
   15288 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   15289 
   15290        hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
   15291 	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"
   15292        else
   15293 	if test "$host_cpu" = ia64; then
   15294 	  hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib'
   15295 	  allow_undefined_flag_F77="-z nodefs"
   15296 	  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"
   15297 	else
   15298 	 # Determine the default libpath from the value encoded in an empty executable.
   15299 	 cat >conftest.$ac_ext <<_ACEOF
   15300       program main
   15301 
   15302       end
   15303 _ACEOF
   15304 rm -f conftest.$ac_objext conftest$ac_exeext
   15305 if { (ac_try="$ac_link"
   15306 case "(($ac_try" in
   15307   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   15308   *) ac_try_echo=$ac_try;;
   15309 esac
   15310 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   15311 $as_echo "$ac_try_echo") >&5
   15312   (eval "$ac_link") 2>conftest.er1
   15313   ac_status=$?
   15314   grep -v '^ *+' conftest.er1 >conftest.err
   15315   rm -f conftest.er1
   15316   cat conftest.err >&5
   15317   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   15318   (exit $ac_status); } && {
   15319 	 test -z "$ac_f77_werror_flag" ||
   15320 	 test ! -s conftest.err
   15321        } && test -s conftest$ac_exeext && {
   15322 	 test "$cross_compiling" = yes ||
   15323 	 $as_test_x conftest$ac_exeext
   15324        }; then
   15325 
   15326 lt_aix_libpath_sed='
   15327     /Import File Strings/,/^$/ {
   15328 	/^0/ {
   15329 	    s/^0  *\(.*\)$/\1/
   15330 	    p
   15331 	}
   15332     }'
   15333 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   15334 # Check for a 64-bit object if we didn't find anything.
   15335 if test -z "$aix_libpath"; then
   15336   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   15337 fi
   15338 else
   15339   $as_echo "$as_me: failed program was:" >&5
   15340 sed 's/^/| /' conftest.$ac_ext >&5
   15341 
   15342 
   15343 fi
   15344 
   15345 rm -rf conftest.dSYM
   15346 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   15347       conftest$ac_exeext conftest.$ac_ext
   15348 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   15349 
   15350 	 hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
   15351 	  # Warning - without using the other run time loading flags,
   15352 	  # -berok will link without error, but may produce a broken library.
   15353 	  no_undefined_flag_F77=' ${wl}-bernotok'
   15354 	  allow_undefined_flag_F77=' ${wl}-berok'
   15355 	  # Exported symbols can be pulled into shared objects from archives
   15356 	  whole_archive_flag_spec_F77='$convenience'
   15357 	  archive_cmds_need_lc_F77=yes
   15358 	  # This is similar to how AIX traditionally builds its shared libraries.
   15359 	  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'
   15360 	fi
   15361       fi
   15362       ;;
   15363 
   15364     amigaos*)
   15365       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)'
   15366       hardcode_libdir_flag_spec_F77='-L$libdir'
   15367       hardcode_minus_L_F77=yes
   15368       # see comment about different semantics on the GNU ld section
   15369       ld_shlibs_F77=no
   15370       ;;
   15371 
   15372     bsdi[45]*)
   15373       export_dynamic_flag_spec_F77=-rdynamic
   15374       ;;
   15375 
   15376     cygwin* | mingw* | pw32*)
   15377       # When not using gcc, we currently assume that we are using
   15378       # Microsoft Visual C++.
   15379       # hardcode_libdir_flag_spec is actually meaningless, as there is
   15380       # no search path for DLLs.
   15381       hardcode_libdir_flag_spec_F77=' '
   15382       allow_undefined_flag_F77=unsupported
   15383       # Tell ltmain to make .lib files, not .a files.
   15384       libext=lib
   15385       # Tell ltmain to make .dll files, not .so files.
   15386       shrext_cmds=".dll"
   15387       # FIXME: Setting linknames here is a bad hack.
   15388       archive_cmds_F77='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
   15389       # The linker will automatically build a .lib file if we build a DLL.
   15390       old_archive_From_new_cmds_F77='true'
   15391       # FIXME: Should let the user specify the lib program.
   15392       old_archive_cmds_F77='lib -OUT:$oldlib$oldobjs$old_deplibs'
   15393       fix_srcfile_path_F77='`cygpath -w "$srcfile"`'
   15394       enable_shared_with_static_runtimes_F77=yes
   15395       ;;
   15396 
   15397     darwin* | rhapsody*)
   15398       case $host_os in
   15399         rhapsody* | darwin1.[012])
   15400          allow_undefined_flag_F77='${wl}-undefined ${wl}suppress'
   15401          ;;
   15402        *) # Darwin 1.3 on
   15403          if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
   15404            allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   15405          else
   15406            case ${MACOSX_DEPLOYMENT_TARGET} in
   15407              10.[012])
   15408                allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   15409                ;;
   15410              10.*)
   15411                allow_undefined_flag_F77='${wl}-undefined ${wl}dynamic_lookup'
   15412                ;;
   15413            esac
   15414          fi
   15415          ;;
   15416       esac
   15417       archive_cmds_need_lc_F77=no
   15418       hardcode_direct_F77=no
   15419       hardcode_automatic_F77=yes
   15420       hardcode_shlibpath_var_F77=unsupported
   15421       whole_archive_flag_spec_F77=''
   15422       link_all_deplibs_F77=yes
   15423     if test "$GCC" = yes ; then
   15424     	output_verbose_link_cmd='echo'
   15425         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}"
   15426         module_cmds_F77="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
   15427         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}"
   15428         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}"
   15429     else
   15430       case $cc_basename in
   15431         xlc*)
   15432          output_verbose_link_cmd='echo'
   15433          archive_cmds_F77='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
   15434          module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
   15435           # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
   15436          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}'
   15437           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}'
   15438           ;;
   15439        *)
   15440          ld_shlibs_F77=no
   15441           ;;
   15442       esac
   15443     fi
   15444       ;;
   15445 
   15446     dgux*)
   15447       archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15448       hardcode_libdir_flag_spec_F77='-L$libdir'
   15449       hardcode_shlibpath_var_F77=no
   15450       ;;
   15451 
   15452     freebsd1*)
   15453       ld_shlibs_F77=no
   15454       ;;
   15455 
   15456     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   15457     # support.  Future versions do this automatically, but an explicit c++rt0.o
   15458     # does not break anything, and helps significantly (at the cost of a little
   15459     # extra space).
   15460     freebsd2.2*)
   15461       archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   15462       hardcode_libdir_flag_spec_F77='-R$libdir'
   15463       hardcode_direct_F77=yes
   15464       hardcode_shlibpath_var_F77=no
   15465       ;;
   15466 
   15467     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   15468     freebsd2*)
   15469       archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   15470       hardcode_direct_F77=yes
   15471       hardcode_minus_L_F77=yes
   15472       hardcode_shlibpath_var_F77=no
   15473       ;;
   15474 
   15475     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   15476     freebsd* | dragonfly*)
   15477       archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
   15478       hardcode_libdir_flag_spec_F77='-R$libdir'
   15479       hardcode_direct_F77=yes
   15480       hardcode_shlibpath_var_F77=no
   15481       ;;
   15482 
   15483     hpux9*)
   15484       if test "$GCC" = yes; then
   15485 	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'
   15486       else
   15487 	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'
   15488       fi
   15489       hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
   15490       hardcode_libdir_separator_F77=:
   15491       hardcode_direct_F77=yes
   15492 
   15493       # hardcode_minus_L: Not really in the search PATH,
   15494       # but as the default location of the library.
   15495       hardcode_minus_L_F77=yes
   15496       export_dynamic_flag_spec_F77='${wl}-E'
   15497       ;;
   15498 
   15499     hpux10*)
   15500       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   15501 	archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   15502       else
   15503 	archive_cmds_F77='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   15504       fi
   15505       if test "$with_gnu_ld" = no; then
   15506 	hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
   15507 	hardcode_libdir_separator_F77=:
   15508 
   15509 	hardcode_direct_F77=yes
   15510 	export_dynamic_flag_spec_F77='${wl}-E'
   15511 
   15512 	# hardcode_minus_L: Not really in the search PATH,
   15513 	# but as the default location of the library.
   15514 	hardcode_minus_L_F77=yes
   15515       fi
   15516       ;;
   15517 
   15518     hpux11*)
   15519       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   15520 	case $host_cpu in
   15521 	hppa*64*)
   15522 	  archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   15523 	  ;;
   15524 	ia64*)
   15525 	  archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   15526 	  ;;
   15527 	*)
   15528 	  archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   15529 	  ;;
   15530 	esac
   15531       else
   15532 	case $host_cpu in
   15533 	hppa*64*)
   15534 	  archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   15535 	  ;;
   15536 	ia64*)
   15537 	  archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   15538 	  ;;
   15539 	*)
   15540 	  archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   15541 	  ;;
   15542 	esac
   15543       fi
   15544       if test "$with_gnu_ld" = no; then
   15545 	hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
   15546 	hardcode_libdir_separator_F77=:
   15547 
   15548 	case $host_cpu in
   15549 	hppa*64*|ia64*)
   15550 	  hardcode_libdir_flag_spec_ld_F77='+b $libdir'
   15551 	  hardcode_direct_F77=no
   15552 	  hardcode_shlibpath_var_F77=no
   15553 	  ;;
   15554 	*)
   15555 	  hardcode_direct_F77=yes
   15556 	  export_dynamic_flag_spec_F77='${wl}-E'
   15557 
   15558 	  # hardcode_minus_L: Not really in the search PATH,
   15559 	  # but as the default location of the library.
   15560 	  hardcode_minus_L_F77=yes
   15561 	  ;;
   15562 	esac
   15563       fi
   15564       ;;
   15565 
   15566     irix5* | irix6* | nonstopux*)
   15567       if test "$GCC" = yes; then
   15568 	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'
   15569       else
   15570 	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'
   15571 	hardcode_libdir_flag_spec_ld_F77='-rpath $libdir'
   15572       fi
   15573       hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
   15574       hardcode_libdir_separator_F77=:
   15575       link_all_deplibs_F77=yes
   15576       ;;
   15577 
   15578     netbsd*)
   15579       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   15580 	archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   15581       else
   15582 	archive_cmds_F77='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   15583       fi
   15584       hardcode_libdir_flag_spec_F77='-R$libdir'
   15585       hardcode_direct_F77=yes
   15586       hardcode_shlibpath_var_F77=no
   15587       ;;
   15588 
   15589     newsos6)
   15590       archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15591       hardcode_direct_F77=yes
   15592       hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
   15593       hardcode_libdir_separator_F77=:
   15594       hardcode_shlibpath_var_F77=no
   15595       ;;
   15596 
   15597     openbsd*)
   15598       if test -f /usr/libexec/ld.so; then
   15599 	hardcode_direct_F77=yes
   15600 	hardcode_shlibpath_var_F77=no
   15601 	if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   15602 	  archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   15603 	  archive_expsym_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
   15604 	  hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
   15605 	  export_dynamic_flag_spec_F77='${wl}-E'
   15606 	else
   15607 	  case $host_os in
   15608 	   openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
   15609 	     archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   15610 	     hardcode_libdir_flag_spec_F77='-R$libdir'
   15611 	     ;;
   15612 	   *)
   15613 	     archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   15614 	     hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
   15615 	     ;;
   15616 	  esac
   15617         fi
   15618       else
   15619 	ld_shlibs_F77=no
   15620       fi
   15621       ;;
   15622 
   15623     os2*)
   15624       hardcode_libdir_flag_spec_F77='-L$libdir'
   15625       hardcode_minus_L_F77=yes
   15626       allow_undefined_flag_F77=unsupported
   15627       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'
   15628       old_archive_From_new_cmds_F77='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
   15629       ;;
   15630 
   15631     osf3*)
   15632       if test "$GCC" = yes; then
   15633 	allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
   15634 	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'
   15635       else
   15636 	allow_undefined_flag_F77=' -expect_unresolved \*'
   15637 	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'
   15638       fi
   15639       hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
   15640       hardcode_libdir_separator_F77=:
   15641       ;;
   15642 
   15643     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   15644       if test "$GCC" = yes; then
   15645 	allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
   15646 	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'
   15647 	hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
   15648       else
   15649 	allow_undefined_flag_F77=' -expect_unresolved \*'
   15650 	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'
   15651 	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~
   15652 	$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'
   15653 
   15654 	# Both c and cxx compiler support -rpath directly
   15655 	hardcode_libdir_flag_spec_F77='-rpath $libdir'
   15656       fi
   15657       hardcode_libdir_separator_F77=:
   15658       ;;
   15659 
   15660     solaris*)
   15661       no_undefined_flag_F77=' -z text'
   15662       if test "$GCC" = yes; then
   15663 	wlarc='${wl}'
   15664 	archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   15665 	archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   15666 	  $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
   15667       else
   15668 	wlarc=''
   15669 	archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15670 	archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   15671   	$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
   15672       fi
   15673       hardcode_libdir_flag_spec_F77='-R$libdir'
   15674       hardcode_shlibpath_var_F77=no
   15675       case $host_os in
   15676       solaris2.[0-5] | solaris2.[0-5].*) ;;
   15677       *)
   15678 	# The compiler driver will combine and reorder linker options,
   15679 	# but understands `-z linker_flag'.  GCC discards it without `$wl',
   15680 	# but is careful enough not to reorder.
   15681  	# Supported since Solaris 2.6 (maybe 2.5.1?)
   15682 	if test "$GCC" = yes; then
   15683 	  whole_archive_flag_spec_F77='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
   15684 	else
   15685 	  whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract'
   15686 	fi
   15687 	;;
   15688       esac
   15689       link_all_deplibs_F77=yes
   15690       ;;
   15691 
   15692     sunos4*)
   15693       if test "x$host_vendor" = xsequent; then
   15694 	# Use $CC to link under sequent, because it throws in some extra .o
   15695 	# files that make .init and .fini sections work.
   15696 	archive_cmds_F77='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   15697       else
   15698 	archive_cmds_F77='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   15699       fi
   15700       hardcode_libdir_flag_spec_F77='-L$libdir'
   15701       hardcode_direct_F77=yes
   15702       hardcode_minus_L_F77=yes
   15703       hardcode_shlibpath_var_F77=no
   15704       ;;
   15705 
   15706     sysv4)
   15707       case $host_vendor in
   15708 	sni)
   15709 	  archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15710 	  hardcode_direct_F77=yes # is this really true???
   15711 	;;
   15712 	siemens)
   15713 	  ## LD is ld it makes a PLAMLIB
   15714 	  ## CC just makes a GrossModule.
   15715 	  archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   15716 	  reload_cmds_F77='$CC -r -o $output$reload_objs'
   15717 	  hardcode_direct_F77=no
   15718         ;;
   15719 	motorola)
   15720 	  archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15721 	  hardcode_direct_F77=no #Motorola manual says yes, but my tests say they lie
   15722 	;;
   15723       esac
   15724       runpath_var='LD_RUN_PATH'
   15725       hardcode_shlibpath_var_F77=no
   15726       ;;
   15727 
   15728     sysv4.3*)
   15729       archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15730       hardcode_shlibpath_var_F77=no
   15731       export_dynamic_flag_spec_F77='-Bexport'
   15732       ;;
   15733 
   15734     sysv4*MP*)
   15735       if test -d /usr/nec; then
   15736 	archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15737 	hardcode_shlibpath_var_F77=no
   15738 	runpath_var=LD_RUN_PATH
   15739 	hardcode_runpath_var=yes
   15740 	ld_shlibs_F77=yes
   15741       fi
   15742       ;;
   15743 
   15744     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   15745       no_undefined_flag_F77='${wl}-z,text'
   15746       archive_cmds_need_lc_F77=no
   15747       hardcode_shlibpath_var_F77=no
   15748       runpath_var='LD_RUN_PATH'
   15749 
   15750       if test "$GCC" = yes; then
   15751 	archive_cmds_F77='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   15752 	archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   15753       else
   15754 	archive_cmds_F77='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   15755 	archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   15756       fi
   15757       ;;
   15758 
   15759     sysv5* | sco3.2v5* | sco5v6*)
   15760       # Note: We can NOT use -z defs as we might desire, because we do not
   15761       # link with -lc, and that would cause any symbols used from libc to
   15762       # always be unresolved, which means just about no library would
   15763       # ever link correctly.  If we're not using GNU ld we use -z text
   15764       # though, which does catch some bad symbols but isn't as heavy-handed
   15765       # as -z defs.
   15766       no_undefined_flag_F77='${wl}-z,text'
   15767       allow_undefined_flag_F77='${wl}-z,nodefs'
   15768       archive_cmds_need_lc_F77=no
   15769       hardcode_shlibpath_var_F77=no
   15770       hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
   15771       hardcode_libdir_separator_F77=':'
   15772       link_all_deplibs_F77=yes
   15773       export_dynamic_flag_spec_F77='${wl}-Bexport'
   15774       runpath_var='LD_RUN_PATH'
   15775 
   15776       if test "$GCC" = yes; then
   15777 	archive_cmds_F77='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   15778 	archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   15779       else
   15780 	archive_cmds_F77='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   15781 	archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   15782       fi
   15783       ;;
   15784 
   15785     uts4*)
   15786       archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15787       hardcode_libdir_flag_spec_F77='-L$libdir'
   15788       hardcode_shlibpath_var_F77=no
   15789       ;;
   15790 
   15791     *)
   15792       ld_shlibs_F77=no
   15793       ;;
   15794     esac
   15795   fi
   15796 
   15797 { $as_echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
   15798 $as_echo "$ld_shlibs_F77" >&6; }
   15799 test "$ld_shlibs_F77" = no && can_build_shared=no
   15800 
   15801 #
   15802 # Do we need to explicitly link libc?
   15803 #
   15804 case "x$archive_cmds_need_lc_F77" in
   15805 x|xyes)
   15806   # Assume -lc should be added
   15807   archive_cmds_need_lc_F77=yes
   15808 
   15809   if test "$enable_shared" = yes && test "$GCC" = yes; then
   15810     case $archive_cmds_F77 in
   15811     *'~'*)
   15812       # FIXME: we may have to deal with multi-command sequences.
   15813       ;;
   15814     '$CC '*)
   15815       # Test whether the compiler implicitly links with -lc since on some
   15816       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   15817       # to ld, don't add -lc before -lgcc.
   15818       { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
   15819 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
   15820       $rm conftest*
   15821       echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   15822 
   15823       if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   15824   (eval $ac_compile) 2>&5
   15825   ac_status=$?
   15826   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   15827   (exit $ac_status); } 2>conftest.err; then
   15828         soname=conftest
   15829         lib=conftest
   15830         libobjs=conftest.$ac_objext
   15831         deplibs=
   15832         wl=$lt_prog_compiler_wl_F77
   15833 	pic_flag=$lt_prog_compiler_pic_F77
   15834         compiler_flags=-v
   15835         linker_flags=-v
   15836         verstring=
   15837         output_objdir=.
   15838         libname=conftest
   15839         lt_save_allow_undefined_flag=$allow_undefined_flag_F77
   15840         allow_undefined_flag_F77=
   15841         if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
   15842   (eval $archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
   15843   ac_status=$?
   15844   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   15845   (exit $ac_status); }
   15846         then
   15847 	  archive_cmds_need_lc_F77=no
   15848         else
   15849 	  archive_cmds_need_lc_F77=yes
   15850         fi
   15851         allow_undefined_flag_F77=$lt_save_allow_undefined_flag
   15852       else
   15853         cat conftest.err 1>&5
   15854       fi
   15855       $rm conftest*
   15856       { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
   15857 $as_echo "$archive_cmds_need_lc_F77" >&6; }
   15858       ;;
   15859     esac
   15860   fi
   15861   ;;
   15862 esac
   15863 
   15864 { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
   15865 $as_echo_n "checking dynamic linker characteristics... " >&6; }
   15866 library_names_spec=
   15867 libname_spec='lib$name'
   15868 soname_spec=
   15869 shrext_cmds=".so"
   15870 postinstall_cmds=
   15871 postuninstall_cmds=
   15872 finish_cmds=
   15873 finish_eval=
   15874 shlibpath_var=
   15875 shlibpath_overrides_runpath=unknown
   15876 version_type=none
   15877 dynamic_linker="$host_os ld.so"
   15878 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   15879 
   15880 need_lib_prefix=unknown
   15881 hardcode_into_libs=no
   15882 
   15883 # when you set need_version to no, make sure it does not cause -set_version
   15884 # flags to be left without arguments
   15885 need_version=unknown
   15886 
   15887 case $host_os in
   15888 aix3*)
   15889   version_type=linux
   15890   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   15891   shlibpath_var=LIBPATH
   15892 
   15893   # AIX 3 has no versioning support, so we append a major version to the name.
   15894   soname_spec='${libname}${release}${shared_ext}$major'
   15895   ;;
   15896 
   15897 aix[4-9]*)
   15898   version_type=linux
   15899   need_lib_prefix=no
   15900   need_version=no
   15901   hardcode_into_libs=yes
   15902   if test "$host_cpu" = ia64; then
   15903     # AIX 5 supports IA64
   15904     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
   15905     shlibpath_var=LD_LIBRARY_PATH
   15906   else
   15907     # With GCC up to 2.95.x, collect2 would create an import file
   15908     # for dependence libraries.  The import file would start with
   15909     # the line `#! .'.  This would cause the generated library to
   15910     # depend on `.', always an invalid library.  This was fixed in
   15911     # development snapshots of GCC prior to 3.0.
   15912     case $host_os in
   15913       aix4 | aix4.[01] | aix4.[01].*)
   15914       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   15915 	   echo ' yes '
   15916 	   echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
   15917 	:
   15918       else
   15919 	can_build_shared=no
   15920       fi
   15921       ;;
   15922     esac
   15923     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
   15924     # soname into executable. Probably we can add versioning support to
   15925     # collect2, so additional links can be useful in future.
   15926     if test "$aix_use_runtimelinking" = yes; then
   15927       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   15928       # instead of lib<name>.a to let people know that these are not
   15929       # typical AIX shared libraries.
   15930       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15931     else
   15932       # We preserve .a as extension for shared libraries through AIX4.2
   15933       # and later when we are not doing run time linking.
   15934       library_names_spec='${libname}${release}.a $libname.a'
   15935       soname_spec='${libname}${release}${shared_ext}$major'
   15936     fi
   15937     shlibpath_var=LIBPATH
   15938   fi
   15939   ;;
   15940 
   15941 amigaos*)
   15942   library_names_spec='$libname.ixlibrary $libname.a'
   15943   # Create ${libname}_ixlibrary.a entries in /sys/libs.
   15944   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'
   15945   ;;
   15946 
   15947 beos*)
   15948   library_names_spec='${libname}${shared_ext}'
   15949   dynamic_linker="$host_os ld.so"
   15950   shlibpath_var=LIBRARY_PATH
   15951   ;;
   15952 
   15953 bsdi[45]*)
   15954   version_type=linux
   15955   need_version=no
   15956   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15957   soname_spec='${libname}${release}${shared_ext}$major'
   15958   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   15959   shlibpath_var=LD_LIBRARY_PATH
   15960   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   15961   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   15962   # the default ld.so.conf also contains /usr/contrib/lib and
   15963   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   15964   # libtool to hard-code these into programs
   15965   ;;
   15966 
   15967 cygwin* | mingw* | pw32*)
   15968   version_type=windows
   15969   shrext_cmds=".dll"
   15970   need_version=no
   15971   need_lib_prefix=no
   15972 
   15973   case $GCC,$host_os in
   15974   yes,cygwin* | yes,mingw* | yes,pw32*)
   15975     library_names_spec='$libname.dll.a'
   15976     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   15977     postinstall_cmds='base_file=`basename \${file}`~
   15978       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
   15979       dldir=$destdir/`dirname \$dlpath`~
   15980       test -d \$dldir || mkdir -p \$dldir~
   15981       $install_prog $dir/$dlname \$dldir/$dlname~
   15982       chmod a+x \$dldir/$dlname'
   15983     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   15984       dlpath=$dir/\$dldll~
   15985        $rm \$dlpath'
   15986     shlibpath_overrides_runpath=yes
   15987 
   15988     case $host_os in
   15989     cygwin*)
   15990       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   15991       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   15992       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
   15993       ;;
   15994     mingw*)
   15995       # MinGW DLLs use traditional 'lib' prefix
   15996       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   15997       sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   15998       if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
   15999         # It is most probably a Windows format PATH printed by
   16000         # mingw gcc, but we are running on Cygwin. Gcc prints its search
   16001         # path with ; separators, and with drive letters. We can handle the
   16002         # drive letters (cygwin fileutils understands them), so leave them,
   16003         # especially as we might pass files found there to a mingw objdump,
   16004         # which wouldn't understand a cygwinified path. Ahh.
   16005         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   16006       else
   16007         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   16008       fi
   16009       ;;
   16010     pw32*)
   16011       # pw32 DLLs use 'pw' prefix rather than 'lib'
   16012       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   16013       ;;
   16014     esac
   16015     ;;
   16016 
   16017   *)
   16018     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
   16019     ;;
   16020   esac
   16021   dynamic_linker='Win32 ld.exe'
   16022   # FIXME: first we should search . and the directory the executable is in
   16023   shlibpath_var=PATH
   16024   ;;
   16025 
   16026 darwin* | rhapsody*)
   16027   dynamic_linker="$host_os dyld"
   16028   version_type=darwin
   16029   need_lib_prefix=no
   16030   need_version=no
   16031   library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
   16032   soname_spec='${libname}${release}${major}$shared_ext'
   16033   shlibpath_overrides_runpath=yes
   16034   shlibpath_var=DYLD_LIBRARY_PATH
   16035   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   16036 
   16037   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   16038   ;;
   16039 
   16040 dgux*)
   16041   version_type=linux
   16042   need_lib_prefix=no
   16043   need_version=no
   16044   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
   16045   soname_spec='${libname}${release}${shared_ext}$major'
   16046   shlibpath_var=LD_LIBRARY_PATH
   16047   ;;
   16048 
   16049 freebsd1*)
   16050   dynamic_linker=no
   16051   ;;
   16052 
   16053 freebsd* | dragonfly*)
   16054   # DragonFly does not have aout.  When/if they implement a new
   16055   # versioning mechanism, adjust this.
   16056   if test -x /usr/bin/objformat; then
   16057     objformat=`/usr/bin/objformat`
   16058   else
   16059     case $host_os in
   16060     freebsd[123]*) objformat=aout ;;
   16061     *) objformat=elf ;;
   16062     esac
   16063   fi
   16064   version_type=freebsd-$objformat
   16065   case $version_type in
   16066     freebsd-elf*)
   16067       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   16068       need_version=no
   16069       need_lib_prefix=no
   16070       ;;
   16071     freebsd-*)
   16072       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
   16073       need_version=yes
   16074       ;;
   16075   esac
   16076   shlibpath_var=LD_LIBRARY_PATH
   16077   case $host_os in
   16078   freebsd2*)
   16079     shlibpath_overrides_runpath=yes
   16080     ;;
   16081   freebsd3.[01]* | freebsdelf3.[01]*)
   16082     shlibpath_overrides_runpath=yes
   16083     hardcode_into_libs=yes
   16084     ;;
   16085   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   16086   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   16087     shlibpath_overrides_runpath=no
   16088     hardcode_into_libs=yes
   16089     ;;
   16090   *) # from 4.6 on, and DragonFly
   16091     shlibpath_overrides_runpath=yes
   16092     hardcode_into_libs=yes
   16093     ;;
   16094   esac
   16095   ;;
   16096 
   16097 gnu*)
   16098   version_type=linux
   16099   need_lib_prefix=no
   16100   need_version=no
   16101   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   16102   soname_spec='${libname}${release}${shared_ext}$major'
   16103   shlibpath_var=LD_LIBRARY_PATH
   16104   hardcode_into_libs=yes
   16105   ;;
   16106 
   16107 hpux9* | hpux10* | hpux11*)
   16108   # Give a soname corresponding to the major version so that dld.sl refuses to
   16109   # link against other versions.
   16110   version_type=sunos
   16111   need_lib_prefix=no
   16112   need_version=no
   16113   case $host_cpu in
   16114   ia64*)
   16115     shrext_cmds='.so'
   16116     hardcode_into_libs=yes
   16117     dynamic_linker="$host_os dld.so"
   16118     shlibpath_var=LD_LIBRARY_PATH
   16119     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   16120     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16121     soname_spec='${libname}${release}${shared_ext}$major'
   16122     if test "X$HPUX_IA64_MODE" = X32; then
   16123       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   16124     else
   16125       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   16126     fi
   16127     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   16128     ;;
   16129    hppa*64*)
   16130      shrext_cmds='.sl'
   16131      hardcode_into_libs=yes
   16132      dynamic_linker="$host_os dld.sl"
   16133      shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   16134      shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   16135      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16136      soname_spec='${libname}${release}${shared_ext}$major'
   16137      sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   16138      sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   16139      ;;
   16140    *)
   16141     shrext_cmds='.sl'
   16142     dynamic_linker="$host_os dld.sl"
   16143     shlibpath_var=SHLIB_PATH
   16144     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   16145     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16146     soname_spec='${libname}${release}${shared_ext}$major'
   16147     ;;
   16148   esac
   16149   # HP-UX runs *really* slowly unless shared libraries are mode 555.
   16150   postinstall_cmds='chmod 555 $lib'
   16151   ;;
   16152 
   16153 interix[3-9]*)
   16154   version_type=linux
   16155   need_lib_prefix=no
   16156   need_version=no
   16157   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   16158   soname_spec='${libname}${release}${shared_ext}$major'
   16159   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   16160   shlibpath_var=LD_LIBRARY_PATH
   16161   shlibpath_overrides_runpath=no
   16162   hardcode_into_libs=yes
   16163   ;;
   16164 
   16165 irix5* | irix6* | nonstopux*)
   16166   case $host_os in
   16167     nonstopux*) version_type=nonstopux ;;
   16168     *)
   16169 	if test "$lt_cv_prog_gnu_ld" = yes; then
   16170 		version_type=linux
   16171 	else
   16172 		version_type=irix
   16173 	fi ;;
   16174   esac
   16175   need_lib_prefix=no
   16176   need_version=no
   16177   soname_spec='${libname}${release}${shared_ext}$major'
   16178   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
   16179   case $host_os in
   16180   irix5* | nonstopux*)
   16181     libsuff= shlibsuff=
   16182     ;;
   16183   *)
   16184     case $LD in # libtool.m4 will add one of these switches to LD
   16185     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   16186       libsuff= shlibsuff= libmagic=32-bit;;
   16187     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   16188       libsuff=32 shlibsuff=N32 libmagic=N32;;
   16189     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   16190       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   16191     *) libsuff= shlibsuff= libmagic=never-match;;
   16192     esac
   16193     ;;
   16194   esac
   16195   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   16196   shlibpath_overrides_runpath=no
   16197   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   16198   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   16199   hardcode_into_libs=yes
   16200   ;;
   16201 
   16202 # No shared lib support for Linux oldld, aout, or coff.
   16203 linux*oldld* | linux*aout* | linux*coff*)
   16204   dynamic_linker=no
   16205   ;;
   16206 
   16207 # This must be Linux ELF.
   16208 linux* | k*bsd*-gnu)
   16209   version_type=linux
   16210   need_lib_prefix=no
   16211   need_version=no
   16212   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16213   soname_spec='${libname}${release}${shared_ext}$major'
   16214   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   16215   shlibpath_var=LD_LIBRARY_PATH
   16216   shlibpath_overrides_runpath=no
   16217   # This implies no fast_install, which is unacceptable.
   16218   # Some rework will be needed to allow for fast_install
   16219   # before this can be enabled.
   16220   hardcode_into_libs=yes
   16221 
   16222   # Append ld.so.conf contents to the search path
   16223   if test -f /etc/ld.so.conf; then
   16224     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' ' '`
   16225     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   16226   fi
   16227 
   16228   # We used to test for /lib/ld.so.1 and disable shared libraries on
   16229   # powerpc, because MkLinux only supported shared libraries with the
   16230   # GNU dynamic linker.  Since this was broken with cross compilers,
   16231   # most powerpc-linux boxes support dynamic linking these days and
   16232   # people can always --disable-shared, the test was removed, and we
   16233   # assume the GNU/Linux dynamic linker is in use.
   16234   dynamic_linker='GNU/Linux ld.so'
   16235   ;;
   16236 
   16237 netbsd*)
   16238   version_type=sunos
   16239   need_lib_prefix=no
   16240   need_version=no
   16241   if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   16242     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   16243     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   16244     dynamic_linker='NetBSD (a.out) ld.so'
   16245   else
   16246     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   16247     soname_spec='${libname}${release}${shared_ext}$major'
   16248     dynamic_linker='NetBSD ld.elf_so'
   16249   fi
   16250   shlibpath_var=LD_LIBRARY_PATH
   16251   shlibpath_overrides_runpath=yes
   16252   hardcode_into_libs=yes
   16253   ;;
   16254 
   16255 newsos6)
   16256   version_type=linux
   16257   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16258   shlibpath_var=LD_LIBRARY_PATH
   16259   shlibpath_overrides_runpath=yes
   16260   ;;
   16261 
   16262 nto-qnx*)
   16263   version_type=linux
   16264   need_lib_prefix=no
   16265   need_version=no
   16266   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16267   soname_spec='${libname}${release}${shared_ext}$major'
   16268   shlibpath_var=LD_LIBRARY_PATH
   16269   shlibpath_overrides_runpath=yes
   16270   ;;
   16271 
   16272 openbsd*)
   16273   version_type=sunos
   16274   sys_lib_dlsearch_path_spec="/usr/lib"
   16275   need_lib_prefix=no
   16276   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
   16277   case $host_os in
   16278     openbsd3.3 | openbsd3.3.*) need_version=yes ;;
   16279     *)                         need_version=no  ;;
   16280   esac
   16281   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   16282   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   16283   shlibpath_var=LD_LIBRARY_PATH
   16284   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   16285     case $host_os in
   16286       openbsd2.[89] | openbsd2.[89].*)
   16287 	shlibpath_overrides_runpath=no
   16288 	;;
   16289       *)
   16290 	shlibpath_overrides_runpath=yes
   16291 	;;
   16292       esac
   16293   else
   16294     shlibpath_overrides_runpath=yes
   16295   fi
   16296   ;;
   16297 
   16298 os2*)
   16299   libname_spec='$name'
   16300   shrext_cmds=".dll"
   16301   need_lib_prefix=no
   16302   library_names_spec='$libname${shared_ext} $libname.a'
   16303   dynamic_linker='OS/2 ld.exe'
   16304   shlibpath_var=LIBPATH
   16305   ;;
   16306 
   16307 osf3* | osf4* | osf5*)
   16308   version_type=osf
   16309   need_lib_prefix=no
   16310   need_version=no
   16311   soname_spec='${libname}${release}${shared_ext}$major'
   16312   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16313   shlibpath_var=LD_LIBRARY_PATH
   16314   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   16315   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   16316   ;;
   16317 
   16318 rdos*)
   16319   dynamic_linker=no
   16320   ;;
   16321 
   16322 solaris*)
   16323   version_type=linux
   16324   need_lib_prefix=no
   16325   need_version=no
   16326   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16327   soname_spec='${libname}${release}${shared_ext}$major'
   16328   shlibpath_var=LD_LIBRARY_PATH
   16329   shlibpath_overrides_runpath=yes
   16330   hardcode_into_libs=yes
   16331   # ldd complains unless libraries are executable
   16332   postinstall_cmds='chmod +x $lib'
   16333   ;;
   16334 
   16335 sunos4*)
   16336   version_type=sunos
   16337   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   16338   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   16339   shlibpath_var=LD_LIBRARY_PATH
   16340   shlibpath_overrides_runpath=yes
   16341   if test "$with_gnu_ld" = yes; then
   16342     need_lib_prefix=no
   16343   fi
   16344   need_version=yes
   16345   ;;
   16346 
   16347 sysv4 | sysv4.3*)
   16348   version_type=linux
   16349   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16350   soname_spec='${libname}${release}${shared_ext}$major'
   16351   shlibpath_var=LD_LIBRARY_PATH
   16352   case $host_vendor in
   16353     sni)
   16354       shlibpath_overrides_runpath=no
   16355       need_lib_prefix=no
   16356       export_dynamic_flag_spec='${wl}-Blargedynsym'
   16357       runpath_var=LD_RUN_PATH
   16358       ;;
   16359     siemens)
   16360       need_lib_prefix=no
   16361       ;;
   16362     motorola)
   16363       need_lib_prefix=no
   16364       need_version=no
   16365       shlibpath_overrides_runpath=no
   16366       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   16367       ;;
   16368   esac
   16369   ;;
   16370 
   16371 sysv4*MP*)
   16372   if test -d /usr/nec ;then
   16373     version_type=linux
   16374     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
   16375     soname_spec='$libname${shared_ext}.$major'
   16376     shlibpath_var=LD_LIBRARY_PATH
   16377   fi
   16378   ;;
   16379 
   16380 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   16381   version_type=freebsd-elf
   16382   need_lib_prefix=no
   16383   need_version=no
   16384   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   16385   soname_spec='${libname}${release}${shared_ext}$major'
   16386   shlibpath_var=LD_LIBRARY_PATH
   16387   hardcode_into_libs=yes
   16388   if test "$with_gnu_ld" = yes; then
   16389     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   16390     shlibpath_overrides_runpath=no
   16391   else
   16392     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   16393     shlibpath_overrides_runpath=yes
   16394     case $host_os in
   16395       sco3.2v5*)
   16396         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   16397 	;;
   16398     esac
   16399   fi
   16400   sys_lib_dlsearch_path_spec='/usr/lib'
   16401   ;;
   16402 
   16403 uts4*)
   16404   version_type=linux
   16405   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16406   soname_spec='${libname}${release}${shared_ext}$major'
   16407   shlibpath_var=LD_LIBRARY_PATH
   16408   ;;
   16409 
   16410 *)
   16411   dynamic_linker=no
   16412   ;;
   16413 esac
   16414 { $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
   16415 $as_echo "$dynamic_linker" >&6; }
   16416 test "$dynamic_linker" = no && can_build_shared=no
   16417 
   16418 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
   16419   $as_echo_n "(cached) " >&6
   16420 else
   16421   lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
   16422 fi
   16423 
   16424 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
   16425 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
   16426   $as_echo_n "(cached) " >&6
   16427 else
   16428   lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
   16429 fi
   16430 
   16431 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
   16432 
   16433 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   16434 if test "$GCC" = yes; then
   16435   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   16436 fi
   16437 
   16438 { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
   16439 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
   16440 hardcode_action_F77=
   16441 if test -n "$hardcode_libdir_flag_spec_F77" || \
   16442    test -n "$runpath_var_F77" || \
   16443    test "X$hardcode_automatic_F77" = "Xyes" ; then
   16444 
   16445   # We can hardcode non-existant directories.
   16446   if test "$hardcode_direct_F77" != no &&
   16447      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   16448      # have to relink, otherwise we might link with an installed library
   16449      # when we should be linking with a yet-to-be-installed one
   16450      ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
   16451      test "$hardcode_minus_L_F77" != no; then
   16452     # Linking always hardcodes the temporary library directory.
   16453     hardcode_action_F77=relink
   16454   else
   16455     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   16456     hardcode_action_F77=immediate
   16457   fi
   16458 else
   16459   # We cannot hardcode anything, or else we can only hardcode existing
   16460   # directories.
   16461   hardcode_action_F77=unsupported
   16462 fi
   16463 { $as_echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
   16464 $as_echo "$hardcode_action_F77" >&6; }
   16465 
   16466 if test "$hardcode_action_F77" = relink; then
   16467   # Fast installation is not supported
   16468   enable_fast_install=no
   16469 elif test "$shlibpath_overrides_runpath" = yes ||
   16470      test "$enable_shared" = no; then
   16471   # Fast installation is not necessary
   16472   enable_fast_install=needless
   16473 fi
   16474 
   16475 
   16476 # The else clause should only fire when bootstrapping the
   16477 # libtool distribution, otherwise you forgot to ship ltmain.sh
   16478 # with your package, and you will get complaints that there are
   16479 # no rules to generate ltmain.sh.
   16480 if test -f "$ltmain"; then
   16481   # See if we are running on zsh, and set the options which allow our commands through
   16482   # without removal of \ escapes.
   16483   if test -n "${ZSH_VERSION+set}" ; then
   16484     setopt NO_GLOB_SUBST
   16485   fi
   16486   # Now quote all the things that may contain metacharacters while being
   16487   # careful not to overquote the AC_SUBSTed values.  We take copies of the
   16488   # variables and quote the copies for generation of the libtool script.
   16489   for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
   16490     SED SHELL STRIP \
   16491     libname_spec library_names_spec soname_spec extract_expsyms_cmds \
   16492     old_striplib striplib file_magic_cmd finish_cmds finish_eval \
   16493     deplibs_check_method reload_flag reload_cmds need_locks \
   16494     lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
   16495     lt_cv_sys_global_symbol_to_c_name_address \
   16496     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
   16497     old_postinstall_cmds old_postuninstall_cmds \
   16498     compiler_F77 \
   16499     CC_F77 \
   16500     LD_F77 \
   16501     lt_prog_compiler_wl_F77 \
   16502     lt_prog_compiler_pic_F77 \
   16503     lt_prog_compiler_static_F77 \
   16504     lt_prog_compiler_no_builtin_flag_F77 \
   16505     export_dynamic_flag_spec_F77 \
   16506     thread_safe_flag_spec_F77 \
   16507     whole_archive_flag_spec_F77 \
   16508     enable_shared_with_static_runtimes_F77 \
   16509     old_archive_cmds_F77 \
   16510     old_archive_from_new_cmds_F77 \
   16511     predep_objects_F77 \
   16512     postdep_objects_F77 \
   16513     predeps_F77 \
   16514     postdeps_F77 \
   16515     compiler_lib_search_path_F77 \
   16516     compiler_lib_search_dirs_F77 \
   16517     archive_cmds_F77 \
   16518     archive_expsym_cmds_F77 \
   16519     postinstall_cmds_F77 \
   16520     postuninstall_cmds_F77 \
   16521     old_archive_from_expsyms_cmds_F77 \
   16522     allow_undefined_flag_F77 \
   16523     no_undefined_flag_F77 \
   16524     export_symbols_cmds_F77 \
   16525     hardcode_libdir_flag_spec_F77 \
   16526     hardcode_libdir_flag_spec_ld_F77 \
   16527     hardcode_libdir_separator_F77 \
   16528     hardcode_automatic_F77 \
   16529     module_cmds_F77 \
   16530     module_expsym_cmds_F77 \
   16531     lt_cv_prog_compiler_c_o_F77 \
   16532     fix_srcfile_path_F77 \
   16533     exclude_expsyms_F77 \
   16534     include_expsyms_F77; do
   16535 
   16536     case $var in
   16537     old_archive_cmds_F77 | \
   16538     old_archive_from_new_cmds_F77 | \
   16539     archive_cmds_F77 | \
   16540     archive_expsym_cmds_F77 | \
   16541     module_cmds_F77 | \
   16542     module_expsym_cmds_F77 | \
   16543     old_archive_from_expsyms_cmds_F77 | \
   16544     export_symbols_cmds_F77 | \
   16545     extract_expsyms_cmds | reload_cmds | finish_cmds | \
   16546     postinstall_cmds | postuninstall_cmds | \
   16547     old_postinstall_cmds | old_postuninstall_cmds | \
   16548     sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
   16549       # Double-quote double-evaled strings.
   16550       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
   16551       ;;
   16552     *)
   16553       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
   16554       ;;
   16555     esac
   16556   done
   16557 
   16558   case $lt_echo in
   16559   *'\$0 --fallback-echo"')
   16560     lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
   16561     ;;
   16562   esac
   16563 
   16564 cfgfile="$ofile"
   16565 
   16566   cat <<__EOF__ >> "$cfgfile"
   16567 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
   16568 
   16569 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   16570 
   16571 # Shell to use when invoking shell scripts.
   16572 SHELL=$lt_SHELL
   16573 
   16574 # Whether or not to build shared libraries.
   16575 build_libtool_libs=$enable_shared
   16576 
   16577 # Whether or not to build static libraries.
   16578 build_old_libs=$enable_static
   16579 
   16580 # Whether or not to add -lc for building shared libraries.
   16581 build_libtool_need_lc=$archive_cmds_need_lc_F77
   16582 
   16583 # Whether or not to disallow shared libs when runtime libs are static
   16584 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
   16585 
   16586 # Whether or not to optimize for fast installation.
   16587 fast_install=$enable_fast_install
   16588 
   16589 # The host system.
   16590 host_alias=$host_alias
   16591 host=$host
   16592 host_os=$host_os
   16593 
   16594 # The build system.
   16595 build_alias=$build_alias
   16596 build=$build
   16597 build_os=$build_os
   16598 
   16599 # An echo program that does not interpret backslashes.
   16600 echo=$lt_echo
   16601 
   16602 # The archiver.
   16603 AR=$lt_AR
   16604 AR_FLAGS=$lt_AR_FLAGS
   16605 
   16606 # A C compiler.
   16607 LTCC=$lt_LTCC
   16608 
   16609 # LTCC compiler flags.
   16610 LTCFLAGS=$lt_LTCFLAGS
   16611 
   16612 # A language-specific compiler.
   16613 CC=$lt_compiler_F77
   16614 
   16615 # Is the compiler the GNU C compiler?
   16616 with_gcc=$GCC_F77
   16617 
   16618 # An ERE matcher.
   16619 EGREP=$lt_EGREP
   16620 
   16621 # The linker used to build libraries.
   16622 LD=$lt_LD_F77
   16623 
   16624 # Whether we need hard or soft links.
   16625 LN_S=$lt_LN_S
   16626 
   16627 # A BSD-compatible nm program.
   16628 NM=$lt_NM
   16629 
   16630 # A symbol stripping program
   16631 STRIP=$lt_STRIP
   16632 
   16633 # Used to examine libraries when file_magic_cmd begins "file"
   16634 MAGIC_CMD=$MAGIC_CMD
   16635 
   16636 # Used on cygwin: DLL creation program.
   16637 DLLTOOL="$DLLTOOL"
   16638 
   16639 # Used on cygwin: object dumper.
   16640 OBJDUMP="$OBJDUMP"
   16641 
   16642 # Used on cygwin: assembler.
   16643 AS="$AS"
   16644 
   16645 # The name of the directory that contains temporary libtool files.
   16646 objdir=$objdir
   16647 
   16648 # How to create reloadable object files.
   16649 reload_flag=$lt_reload_flag
   16650 reload_cmds=$lt_reload_cmds
   16651 
   16652 # How to pass a linker flag through the compiler.
   16653 wl=$lt_lt_prog_compiler_wl_F77
   16654 
   16655 # Object file suffix (normally "o").
   16656 objext="$ac_objext"
   16657 
   16658 # Old archive suffix (normally "a").
   16659 libext="$libext"
   16660 
   16661 # Shared library suffix (normally ".so").
   16662 shrext_cmds='$shrext_cmds'
   16663 
   16664 # Executable file suffix (normally "").
   16665 exeext="$exeext"
   16666 
   16667 # Additional compiler flags for building library objects.
   16668 pic_flag=$lt_lt_prog_compiler_pic_F77
   16669 pic_mode=$pic_mode
   16670 
   16671 # What is the maximum length of a command?
   16672 max_cmd_len=$lt_cv_sys_max_cmd_len
   16673 
   16674 # Does compiler simultaneously support -c and -o options?
   16675 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
   16676 
   16677 # Must we lock files when doing compilation?
   16678 need_locks=$lt_need_locks
   16679 
   16680 # Do we need the lib prefix for modules?
   16681 need_lib_prefix=$need_lib_prefix
   16682 
   16683 # Do we need a version for libraries?
   16684 need_version=$need_version
   16685 
   16686 # Whether dlopen is supported.
   16687 dlopen_support=$enable_dlopen
   16688 
   16689 # Whether dlopen of programs is supported.
   16690 dlopen_self=$enable_dlopen_self
   16691 
   16692 # Whether dlopen of statically linked programs is supported.
   16693 dlopen_self_static=$enable_dlopen_self_static
   16694 
   16695 # Compiler flag to prevent dynamic linking.
   16696 link_static_flag=$lt_lt_prog_compiler_static_F77
   16697 
   16698 # Compiler flag to turn off builtin functions.
   16699 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
   16700 
   16701 # Compiler flag to allow reflexive dlopens.
   16702 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
   16703 
   16704 # Compiler flag to generate shared objects directly from archives.
   16705 whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
   16706 
   16707 # Compiler flag to generate thread-safe objects.
   16708 thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
   16709 
   16710 # Library versioning type.
   16711 version_type=$version_type
   16712 
   16713 # Format of library name prefix.
   16714 libname_spec=$lt_libname_spec
   16715 
   16716 # List of archive names.  First name is the real one, the rest are links.
   16717 # The last name is the one that the linker finds with -lNAME.
   16718 library_names_spec=$lt_library_names_spec
   16719 
   16720 # The coded name of the library, if different from the real name.
   16721 soname_spec=$lt_soname_spec
   16722 
   16723 # Commands used to build and install an old-style archive.
   16724 RANLIB=$lt_RANLIB
   16725 old_archive_cmds=$lt_old_archive_cmds_F77
   16726 old_postinstall_cmds=$lt_old_postinstall_cmds
   16727 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   16728 
   16729 # Create an old-style archive from a shared archive.
   16730 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
   16731 
   16732 # Create a temporary old-style archive to link instead of a shared archive.
   16733 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
   16734 
   16735 # Commands used to build and install a shared archive.
   16736 archive_cmds=$lt_archive_cmds_F77
   16737 archive_expsym_cmds=$lt_archive_expsym_cmds_F77
   16738 postinstall_cmds=$lt_postinstall_cmds
   16739 postuninstall_cmds=$lt_postuninstall_cmds
   16740 
   16741 # Commands used to build a loadable module (assumed same as above if empty)
   16742 module_cmds=$lt_module_cmds_F77
   16743 module_expsym_cmds=$lt_module_expsym_cmds_F77
   16744 
   16745 # Commands to strip libraries.
   16746 old_striplib=$lt_old_striplib
   16747 striplib=$lt_striplib
   16748 
   16749 # Dependencies to place before the objects being linked to create a
   16750 # shared library.
   16751 predep_objects=$lt_predep_objects_F77
   16752 
   16753 # Dependencies to place after the objects being linked to create a
   16754 # shared library.
   16755 postdep_objects=$lt_postdep_objects_F77
   16756 
   16757 # Dependencies to place before the objects being linked to create a
   16758 # shared library.
   16759 predeps=$lt_predeps_F77
   16760 
   16761 # Dependencies to place after the objects being linked to create a
   16762 # shared library.
   16763 postdeps=$lt_postdeps_F77
   16764 
   16765 # The directories searched by this compiler when creating a shared
   16766 # library
   16767 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_F77
   16768 
   16769 # The library search path used internally by the compiler when linking
   16770 # a shared library.
   16771 compiler_lib_search_path=$lt_compiler_lib_search_path_F77
   16772 
   16773 # Method to check whether dependent libraries are shared objects.
   16774 deplibs_check_method=$lt_deplibs_check_method
   16775 
   16776 # Command to use when deplibs_check_method == file_magic.
   16777 file_magic_cmd=$lt_file_magic_cmd
   16778 
   16779 # Flag that allows shared libraries with undefined symbols to be built.
   16780 allow_undefined_flag=$lt_allow_undefined_flag_F77
   16781 
   16782 # Flag that forces no undefined symbols.
   16783 no_undefined_flag=$lt_no_undefined_flag_F77
   16784 
   16785 # Commands used to finish a libtool library installation in a directory.
   16786 finish_cmds=$lt_finish_cmds
   16787 
   16788 # Same as above, but a single script fragment to be evaled but not shown.
   16789 finish_eval=$lt_finish_eval
   16790 
   16791 # Take the output of nm and produce a listing of raw symbols and C names.
   16792 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   16793 
   16794 # Transform the output of nm in a proper C declaration
   16795 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   16796 
   16797 # Transform the output of nm in a C name address pair
   16798 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   16799 
   16800 # This is the shared library runtime path variable.
   16801 runpath_var=$runpath_var
   16802 
   16803 # This is the shared library path variable.
   16804 shlibpath_var=$shlibpath_var
   16805 
   16806 # Is shlibpath searched before the hard-coded library search path?
   16807 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   16808 
   16809 # How to hardcode a shared library path into an executable.
   16810 hardcode_action=$hardcode_action_F77
   16811 
   16812 # Whether we should hardcode library paths into libraries.
   16813 hardcode_into_libs=$hardcode_into_libs
   16814 
   16815 # Flag to hardcode \$libdir into a binary during linking.
   16816 # This must work even if \$libdir does not exist.
   16817 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
   16818 
   16819 # If ld is used when linking, flag to hardcode \$libdir into
   16820 # a binary during linking. This must work even if \$libdir does
   16821 # not exist.
   16822 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
   16823 
   16824 # Whether we need a single -rpath flag with a separated argument.
   16825 hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
   16826 
   16827 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
   16828 # resulting binary.
   16829 hardcode_direct=$hardcode_direct_F77
   16830 
   16831 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
   16832 # resulting binary.
   16833 hardcode_minus_L=$hardcode_minus_L_F77
   16834 
   16835 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
   16836 # the resulting binary.
   16837 hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
   16838 
   16839 # Set to yes if building a shared library automatically hardcodes DIR into the library
   16840 # and all subsequent libraries and executables linked against it.
   16841 hardcode_automatic=$hardcode_automatic_F77
   16842 
   16843 # Variables whose values should be saved in libtool wrapper scripts and
   16844 # restored at relink time.
   16845 variables_saved_for_relink="$variables_saved_for_relink"
   16846 
   16847 # Whether libtool must link a program against all its dependency libraries.
   16848 link_all_deplibs=$link_all_deplibs_F77
   16849 
   16850 # Compile-time system search path for libraries
   16851 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   16852 
   16853 # Run-time system search path for libraries
   16854 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   16855 
   16856 # Fix the shell variable \$srcfile for the compiler.
   16857 fix_srcfile_path=$lt_fix_srcfile_path
   16858 
   16859 # Set to yes if exported symbols are required.
   16860 always_export_symbols=$always_export_symbols_F77
   16861 
   16862 # The commands to list exported symbols.
   16863 export_symbols_cmds=$lt_export_symbols_cmds_F77
   16864 
   16865 # The commands to extract the exported symbol list from a shared archive.
   16866 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   16867 
   16868 # Symbols that should not be listed in the preloaded symbols.
   16869 exclude_expsyms=$lt_exclude_expsyms_F77
   16870 
   16871 # Symbols that must always be exported.
   16872 include_expsyms=$lt_include_expsyms_F77
   16873 
   16874 # ### END LIBTOOL TAG CONFIG: $tagname
   16875 
   16876 __EOF__
   16877 
   16878 
   16879 else
   16880   # If there is no Makefile yet, we rely on a make rule to execute
   16881   # `config.status --recheck' to rerun these tests and create the
   16882   # libtool script then.
   16883   ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
   16884   if test -f "$ltmain_in"; then
   16885     test -f Makefile && make "$ltmain"
   16886   fi
   16887 fi
   16888 
   16889 
   16890 ac_ext=c
   16891 ac_cpp='$CPP $CPPFLAGS'
   16892 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   16893 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   16894 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   16895 
   16896 CC="$lt_save_CC"
   16897 
   16898 	else
   16899 	  tagname=""
   16900 	fi
   16901 	;;
   16902 
   16903       GCJ)
   16904 	if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
   16905 
   16906 
   16907 # Source file extension for Java test sources.
   16908 ac_ext=java
   16909 
   16910 # Object file extension for compiled Java test sources.
   16911 objext=o
   16912 objext_GCJ=$objext
   16913 
   16914 # Code to be used in simple compile tests
   16915 lt_simple_compile_test_code="class foo {}"
   16916 
   16917 # Code to be used in simple link tests
   16918 lt_simple_link_test_code='public class conftest { public static void main(String[] argv) {}; }'
   16919 
   16920 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
   16921 
   16922 # If no C compiler was specified, use CC.
   16923 LTCC=${LTCC-"$CC"}
   16924 
   16925 # If no C compiler flags were specified, use CFLAGS.
   16926 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   16927 
   16928 # Allow CC to be a program name with arguments.
   16929 compiler=$CC
   16930 
   16931 
   16932 # save warnings/boilerplate of simple test code
   16933 ac_outfile=conftest.$ac_objext
   16934 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   16935 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   16936 _lt_compiler_boilerplate=`cat conftest.err`
   16937 $rm conftest*
   16938 
   16939 ac_outfile=conftest.$ac_objext
   16940 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   16941 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   16942 _lt_linker_boilerplate=`cat conftest.err`
   16943 $rm -r conftest*
   16944 
   16945 
   16946 # Allow CC to be a program name with arguments.
   16947 lt_save_CC="$CC"
   16948 CC=${GCJ-"gcj"}
   16949 compiler=$CC
   16950 compiler_GCJ=$CC
   16951 for cc_temp in $compiler""; do
   16952   case $cc_temp in
   16953     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   16954     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   16955     \-*) ;;
   16956     *) break;;
   16957   esac
   16958 done
   16959 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   16960 
   16961 
   16962 # GCJ did not exist at the time GCC didn't implicitly link libc in.
   16963 archive_cmds_need_lc_GCJ=no
   16964 
   16965 old_archive_cmds_GCJ=$old_archive_cmds
   16966 
   16967 
   16968 lt_prog_compiler_no_builtin_flag_GCJ=
   16969 
   16970 if test "$GCC" = yes; then
   16971   lt_prog_compiler_no_builtin_flag_GCJ=' -fno-builtin'
   16972 
   16973 
   16974 { $as_echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
   16975 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
   16976 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
   16977   $as_echo_n "(cached) " >&6
   16978 else
   16979   lt_cv_prog_compiler_rtti_exceptions=no
   16980   ac_outfile=conftest.$ac_objext
   16981    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   16982    lt_compiler_flag="-fno-rtti -fno-exceptions"
   16983    # Insert the option either (1) after the last *FLAGS variable, or
   16984    # (2) before a word containing "conftest.", or (3) at the end.
   16985    # Note that $ac_compile itself does not contain backslashes and begins
   16986    # with a dollar sign (not a hyphen), so the echo should work correctly.
   16987    # The option is referenced via a variable to avoid confusing sed.
   16988    lt_compile=`echo "$ac_compile" | $SED \
   16989    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   16990    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   16991    -e 's:$: $lt_compiler_flag:'`
   16992    (eval echo "\"\$as_me:16992: $lt_compile\"" >&5)
   16993    (eval "$lt_compile" 2>conftest.err)
   16994    ac_status=$?
   16995    cat conftest.err >&5
   16996    echo "$as_me:16996: \$? = $ac_status" >&5
   16997    if (exit $ac_status) && test -s "$ac_outfile"; then
   16998      # The compiler can only warn and ignore the option if not recognized
   16999      # So say no if there are warnings other than the usual output.
   17000      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   17001      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   17002      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   17003        lt_cv_prog_compiler_rtti_exceptions=yes
   17004      fi
   17005    fi
   17006    $rm conftest*
   17007 
   17008 fi
   17009 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
   17010 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
   17011 
   17012 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
   17013     lt_prog_compiler_no_builtin_flag_GCJ="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
   17014 else
   17015     :
   17016 fi
   17017 
   17018 fi
   17019 
   17020 lt_prog_compiler_wl_GCJ=
   17021 lt_prog_compiler_pic_GCJ=
   17022 lt_prog_compiler_static_GCJ=
   17023 
   17024 { $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
   17025 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
   17026 
   17027   if test "$GCC" = yes; then
   17028     lt_prog_compiler_wl_GCJ='-Wl,'
   17029     lt_prog_compiler_static_GCJ='-static'
   17030 
   17031     case $host_os in
   17032       aix*)
   17033       # All AIX code is PIC.
   17034       if test "$host_cpu" = ia64; then
   17035 	# AIX 5 now supports IA64 processor
   17036 	lt_prog_compiler_static_GCJ='-Bstatic'
   17037       fi
   17038       ;;
   17039 
   17040     amigaos*)
   17041       # FIXME: we need at least 68020 code to build shared libraries, but
   17042       # adding the `-m68020' flag to GCC prevents building anything better,
   17043       # like `-m68040'.
   17044       lt_prog_compiler_pic_GCJ='-m68020 -resident32 -malways-restore-a4'
   17045       ;;
   17046 
   17047     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   17048       # PIC is the default for these OSes.
   17049       ;;
   17050 
   17051     mingw* | cygwin* | pw32* | os2*)
   17052       # This hack is so that the source file can tell whether it is being
   17053       # built for inclusion in a dll (and should export symbols for example).
   17054       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   17055       # (--disable-auto-import) libraries
   17056 
   17057       ;;
   17058 
   17059     darwin* | rhapsody*)
   17060       # PIC is the default on this platform
   17061       # Common symbols not allowed in MH_DYLIB files
   17062       lt_prog_compiler_pic_GCJ='-fno-common'
   17063       ;;
   17064 
   17065     interix[3-9]*)
   17066       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   17067       # Instead, we relocate shared libraries at runtime.
   17068       ;;
   17069 
   17070     msdosdjgpp*)
   17071       # Just because we use GCC doesn't mean we suddenly get shared libraries
   17072       # on systems that don't support them.
   17073       lt_prog_compiler_can_build_shared_GCJ=no
   17074       enable_shared=no
   17075       ;;
   17076 
   17077     sysv4*MP*)
   17078       if test -d /usr/nec; then
   17079 	lt_prog_compiler_pic_GCJ=-Kconform_pic
   17080       fi
   17081       ;;
   17082 
   17083     hpux*)
   17084       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   17085       # not for PA HP-UX.
   17086       case $host_cpu in
   17087       hppa*64*|ia64*)
   17088 	# +Z the default
   17089 	;;
   17090       *)
   17091 	lt_prog_compiler_pic_GCJ='-fPIC'
   17092 	;;
   17093       esac
   17094       ;;
   17095 
   17096     *)
   17097       lt_prog_compiler_pic_GCJ='-fPIC'
   17098       ;;
   17099     esac
   17100   else
   17101     # PORTME Check for flag to pass linker flags through the system compiler.
   17102     case $host_os in
   17103     aix*)
   17104       lt_prog_compiler_wl_GCJ='-Wl,'
   17105       if test "$host_cpu" = ia64; then
   17106 	# AIX 5 now supports IA64 processor
   17107 	lt_prog_compiler_static_GCJ='-Bstatic'
   17108       else
   17109 	lt_prog_compiler_static_GCJ='-bnso -bI:/lib/syscalls.exp'
   17110       fi
   17111       ;;
   17112       darwin*)
   17113         # PIC is the default on this platform
   17114         # Common symbols not allowed in MH_DYLIB files
   17115        case $cc_basename in
   17116          xlc*)
   17117          lt_prog_compiler_pic_GCJ='-qnocommon'
   17118          lt_prog_compiler_wl_GCJ='-Wl,'
   17119          ;;
   17120        esac
   17121        ;;
   17122 
   17123     mingw* | cygwin* | pw32* | os2*)
   17124       # This hack is so that the source file can tell whether it is being
   17125       # built for inclusion in a dll (and should export symbols for example).
   17126 
   17127       ;;
   17128 
   17129     hpux9* | hpux10* | hpux11*)
   17130       lt_prog_compiler_wl_GCJ='-Wl,'
   17131       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   17132       # not for PA HP-UX.
   17133       case $host_cpu in
   17134       hppa*64*|ia64*)
   17135 	# +Z the default
   17136 	;;
   17137       *)
   17138 	lt_prog_compiler_pic_GCJ='+Z'
   17139 	;;
   17140       esac
   17141       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   17142       lt_prog_compiler_static_GCJ='${wl}-a ${wl}archive'
   17143       ;;
   17144 
   17145     irix5* | irix6* | nonstopux*)
   17146       lt_prog_compiler_wl_GCJ='-Wl,'
   17147       # PIC (with -KPIC) is the default.
   17148       lt_prog_compiler_static_GCJ='-non_shared'
   17149       ;;
   17150 
   17151     newsos6)
   17152       lt_prog_compiler_pic_GCJ='-KPIC'
   17153       lt_prog_compiler_static_GCJ='-Bstatic'
   17154       ;;
   17155 
   17156     linux* | k*bsd*-gnu)
   17157       case $cc_basename in
   17158       icc* | ecc*)
   17159 	lt_prog_compiler_wl_GCJ='-Wl,'
   17160 	lt_prog_compiler_pic_GCJ='-KPIC'
   17161 	lt_prog_compiler_static_GCJ='-static'
   17162         ;;
   17163       pgcc* | pgf77* | pgf90* | pgf95*)
   17164         # Portland Group compilers (*not* the Pentium gcc compiler,
   17165 	# which looks to be a dead project)
   17166 	lt_prog_compiler_wl_GCJ='-Wl,'
   17167 	lt_prog_compiler_pic_GCJ='-fpic'
   17168 	lt_prog_compiler_static_GCJ='-Bstatic'
   17169         ;;
   17170       ccc*)
   17171         lt_prog_compiler_wl_GCJ='-Wl,'
   17172         # All Alpha code is PIC.
   17173         lt_prog_compiler_static_GCJ='-non_shared'
   17174         ;;
   17175       *)
   17176         case `$CC -V 2>&1 | sed 5q` in
   17177 	*Sun\ C*)
   17178 	  # Sun C 5.9
   17179 	  lt_prog_compiler_pic_GCJ='-KPIC'
   17180 	  lt_prog_compiler_static_GCJ='-Bstatic'
   17181 	  lt_prog_compiler_wl_GCJ='-Wl,'
   17182 	  ;;
   17183 	*Sun\ F*)
   17184 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   17185 	  lt_prog_compiler_pic_GCJ='-KPIC'
   17186 	  lt_prog_compiler_static_GCJ='-Bstatic'
   17187 	  lt_prog_compiler_wl_GCJ=''
   17188 	  ;;
   17189 	esac
   17190 	;;
   17191       esac
   17192       ;;
   17193 
   17194     osf3* | osf4* | osf5*)
   17195       lt_prog_compiler_wl_GCJ='-Wl,'
   17196       # All OSF/1 code is PIC.
   17197       lt_prog_compiler_static_GCJ='-non_shared'
   17198       ;;
   17199 
   17200     rdos*)
   17201       lt_prog_compiler_static_GCJ='-non_shared'
   17202       ;;
   17203 
   17204     solaris*)
   17205       lt_prog_compiler_pic_GCJ='-KPIC'
   17206       lt_prog_compiler_static_GCJ='-Bstatic'
   17207       case $cc_basename in
   17208       f77* | f90* | f95*)
   17209 	lt_prog_compiler_wl_GCJ='-Qoption ld ';;
   17210       *)
   17211 	lt_prog_compiler_wl_GCJ='-Wl,';;
   17212       esac
   17213       ;;
   17214 
   17215     sunos4*)
   17216       lt_prog_compiler_wl_GCJ='-Qoption ld '
   17217       lt_prog_compiler_pic_GCJ='-PIC'
   17218       lt_prog_compiler_static_GCJ='-Bstatic'
   17219       ;;
   17220 
   17221     sysv4 | sysv4.2uw2* | sysv4.3*)
   17222       lt_prog_compiler_wl_GCJ='-Wl,'
   17223       lt_prog_compiler_pic_GCJ='-KPIC'
   17224       lt_prog_compiler_static_GCJ='-Bstatic'
   17225       ;;
   17226 
   17227     sysv4*MP*)
   17228       if test -d /usr/nec ;then
   17229 	lt_prog_compiler_pic_GCJ='-Kconform_pic'
   17230 	lt_prog_compiler_static_GCJ='-Bstatic'
   17231       fi
   17232       ;;
   17233 
   17234     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   17235       lt_prog_compiler_wl_GCJ='-Wl,'
   17236       lt_prog_compiler_pic_GCJ='-KPIC'
   17237       lt_prog_compiler_static_GCJ='-Bstatic'
   17238       ;;
   17239 
   17240     unicos*)
   17241       lt_prog_compiler_wl_GCJ='-Wl,'
   17242       lt_prog_compiler_can_build_shared_GCJ=no
   17243       ;;
   17244 
   17245     uts4*)
   17246       lt_prog_compiler_pic_GCJ='-pic'
   17247       lt_prog_compiler_static_GCJ='-Bstatic'
   17248       ;;
   17249 
   17250     *)
   17251       lt_prog_compiler_can_build_shared_GCJ=no
   17252       ;;
   17253     esac
   17254   fi
   17255 
   17256 { $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
   17257 $as_echo "$lt_prog_compiler_pic_GCJ" >&6; }
   17258 
   17259 #
   17260 # Check to make sure the PIC flag actually works.
   17261 #
   17262 if test -n "$lt_prog_compiler_pic_GCJ"; then
   17263 
   17264 { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
   17265 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... " >&6; }
   17266 if test "${lt_cv_prog_compiler_pic_works_GCJ+set}" = set; then
   17267   $as_echo_n "(cached) " >&6
   17268 else
   17269   lt_cv_prog_compiler_pic_works_GCJ=no
   17270   ac_outfile=conftest.$ac_objext
   17271    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   17272    lt_compiler_flag="$lt_prog_compiler_pic_GCJ"
   17273    # Insert the option either (1) after the last *FLAGS variable, or
   17274    # (2) before a word containing "conftest.", or (3) at the end.
   17275    # Note that $ac_compile itself does not contain backslashes and begins
   17276    # with a dollar sign (not a hyphen), so the echo should work correctly.
   17277    # The option is referenced via a variable to avoid confusing sed.
   17278    lt_compile=`echo "$ac_compile" | $SED \
   17279    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   17280    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   17281    -e 's:$: $lt_compiler_flag:'`
   17282    (eval echo "\"\$as_me:17282: $lt_compile\"" >&5)
   17283    (eval "$lt_compile" 2>conftest.err)
   17284    ac_status=$?
   17285    cat conftest.err >&5
   17286    echo "$as_me:17286: \$? = $ac_status" >&5
   17287    if (exit $ac_status) && test -s "$ac_outfile"; then
   17288      # The compiler can only warn and ignore the option if not recognized
   17289      # So say no if there are warnings other than the usual output.
   17290      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   17291      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   17292      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   17293        lt_cv_prog_compiler_pic_works_GCJ=yes
   17294      fi
   17295    fi
   17296    $rm conftest*
   17297 
   17298 fi
   17299 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_GCJ" >&5
   17300 $as_echo "$lt_cv_prog_compiler_pic_works_GCJ" >&6; }
   17301 
   17302 if test x"$lt_cv_prog_compiler_pic_works_GCJ" = xyes; then
   17303     case $lt_prog_compiler_pic_GCJ in
   17304      "" | " "*) ;;
   17305      *) lt_prog_compiler_pic_GCJ=" $lt_prog_compiler_pic_GCJ" ;;
   17306      esac
   17307 else
   17308     lt_prog_compiler_pic_GCJ=
   17309      lt_prog_compiler_can_build_shared_GCJ=no
   17310 fi
   17311 
   17312 fi
   17313 case $host_os in
   17314   # For platforms which do not support PIC, -DPIC is meaningless:
   17315   *djgpp*)
   17316     lt_prog_compiler_pic_GCJ=
   17317     ;;
   17318   *)
   17319     lt_prog_compiler_pic_GCJ="$lt_prog_compiler_pic_GCJ"
   17320     ;;
   17321 esac
   17322 
   17323 #
   17324 # Check to make sure the static flag actually works.
   17325 #
   17326 wl=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag=\"$lt_prog_compiler_static_GCJ\"
   17327 { $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   17328 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   17329 if test "${lt_cv_prog_compiler_static_works_GCJ+set}" = set; then
   17330   $as_echo_n "(cached) " >&6
   17331 else
   17332   lt_cv_prog_compiler_static_works_GCJ=no
   17333    save_LDFLAGS="$LDFLAGS"
   17334    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   17335    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   17336    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   17337      # The linker can only warn and ignore the option if not recognized
   17338      # So say no if there are warnings
   17339      if test -s conftest.err; then
   17340        # Append any errors to the config.log.
   17341        cat conftest.err 1>&5
   17342        $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
   17343        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   17344        if diff conftest.exp conftest.er2 >/dev/null; then
   17345          lt_cv_prog_compiler_static_works_GCJ=yes
   17346        fi
   17347      else
   17348        lt_cv_prog_compiler_static_works_GCJ=yes
   17349      fi
   17350    fi
   17351    $rm -r conftest*
   17352    LDFLAGS="$save_LDFLAGS"
   17353 
   17354 fi
   17355 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_GCJ" >&5
   17356 $as_echo "$lt_cv_prog_compiler_static_works_GCJ" >&6; }
   17357 
   17358 if test x"$lt_cv_prog_compiler_static_works_GCJ" = xyes; then
   17359     :
   17360 else
   17361     lt_prog_compiler_static_GCJ=
   17362 fi
   17363 
   17364 
   17365 { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
   17366 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   17367 if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
   17368   $as_echo_n "(cached) " >&6
   17369 else
   17370   lt_cv_prog_compiler_c_o_GCJ=no
   17371    $rm -r conftest 2>/dev/null
   17372    mkdir conftest
   17373    cd conftest
   17374    mkdir out
   17375    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   17376 
   17377    lt_compiler_flag="-o out/conftest2.$ac_objext"
   17378    # Insert the option either (1) after the last *FLAGS variable, or
   17379    # (2) before a word containing "conftest.", or (3) at the end.
   17380    # Note that $ac_compile itself does not contain backslashes and begins
   17381    # with a dollar sign (not a hyphen), so the echo should work correctly.
   17382    lt_compile=`echo "$ac_compile" | $SED \
   17383    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   17384    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   17385    -e 's:$: $lt_compiler_flag:'`
   17386    (eval echo "\"\$as_me:17386: $lt_compile\"" >&5)
   17387    (eval "$lt_compile" 2>out/conftest.err)
   17388    ac_status=$?
   17389    cat out/conftest.err >&5
   17390    echo "$as_me:17390: \$? = $ac_status" >&5
   17391    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   17392    then
   17393      # The compiler can only warn and ignore the option if not recognized
   17394      # So say no if there are warnings
   17395      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
   17396      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   17397      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   17398        lt_cv_prog_compiler_c_o_GCJ=yes
   17399      fi
   17400    fi
   17401    chmod u+w . 2>&5
   17402    $rm conftest*
   17403    # SGI C++ compiler will create directory out/ii_files/ for
   17404    # template instantiation
   17405    test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
   17406    $rm out/* && rmdir out
   17407    cd ..
   17408    rmdir conftest
   17409    $rm conftest*
   17410 
   17411 fi
   17412 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
   17413 $as_echo "$lt_cv_prog_compiler_c_o_GCJ" >&6; }
   17414 
   17415 
   17416 hard_links="nottested"
   17417 if test "$lt_cv_prog_compiler_c_o_GCJ" = no && test "$need_locks" != no; then
   17418   # do not overwrite the value of need_locks provided by the user
   17419   { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
   17420 $as_echo_n "checking if we can lock with hard links... " >&6; }
   17421   hard_links=yes
   17422   $rm conftest*
   17423   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   17424   touch conftest.a
   17425   ln conftest.a conftest.b 2>&5 || hard_links=no
   17426   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   17427   { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
   17428 $as_echo "$hard_links" >&6; }
   17429   if test "$hard_links" = no; then
   17430     { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   17431 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   17432     need_locks=warn
   17433   fi
   17434 else
   17435   need_locks=no
   17436 fi
   17437 
   17438 { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   17439 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   17440 
   17441   runpath_var=
   17442   allow_undefined_flag_GCJ=
   17443   enable_shared_with_static_runtimes_GCJ=no
   17444   archive_cmds_GCJ=
   17445   archive_expsym_cmds_GCJ=
   17446   old_archive_From_new_cmds_GCJ=
   17447   old_archive_from_expsyms_cmds_GCJ=
   17448   export_dynamic_flag_spec_GCJ=
   17449   whole_archive_flag_spec_GCJ=
   17450   thread_safe_flag_spec_GCJ=
   17451   hardcode_libdir_flag_spec_GCJ=
   17452   hardcode_libdir_flag_spec_ld_GCJ=
   17453   hardcode_libdir_separator_GCJ=
   17454   hardcode_direct_GCJ=no
   17455   hardcode_minus_L_GCJ=no
   17456   hardcode_shlibpath_var_GCJ=unsupported
   17457   link_all_deplibs_GCJ=unknown
   17458   hardcode_automatic_GCJ=no
   17459   module_cmds_GCJ=
   17460   module_expsym_cmds_GCJ=
   17461   always_export_symbols_GCJ=no
   17462   export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   17463   # include_expsyms should be a list of space-separated symbols to be *always*
   17464   # included in the symbol list
   17465   include_expsyms_GCJ=
   17466   # exclude_expsyms can be an extended regexp of symbols to exclude
   17467   # it will be wrapped by ` (' and `)$', so one must not match beginning or
   17468   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
   17469   # as well as any symbol that contains `d'.
   17470   exclude_expsyms_GCJ='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   17471   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   17472   # platforms (ab)use it in PIC code, but their linkers get confused if
   17473   # the symbol is explicitly referenced.  Since portable code cannot
   17474   # rely on this symbol name, it's probably fine to never include it in
   17475   # preloaded symbol tables.
   17476   # Exclude shared library initialization/finalization symbols.
   17477   extract_expsyms_cmds=
   17478   # Just being paranoid about ensuring that cc_basename is set.
   17479   for cc_temp in $compiler""; do
   17480   case $cc_temp in
   17481     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   17482     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   17483     \-*) ;;
   17484     *) break;;
   17485   esac
   17486 done
   17487 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   17488 
   17489   case $host_os in
   17490   cygwin* | mingw* | pw32*)
   17491     # FIXME: the MSVC++ port hasn't been tested in a loooong time
   17492     # When not using gcc, we currently assume that we are using
   17493     # Microsoft Visual C++.
   17494     if test "$GCC" != yes; then
   17495       with_gnu_ld=no
   17496     fi
   17497     ;;
   17498   interix*)
   17499     # we just hope/assume this is gcc and not c89 (= MSVC++)
   17500     with_gnu_ld=yes
   17501     ;;
   17502   openbsd*)
   17503     with_gnu_ld=no
   17504     ;;
   17505   esac
   17506 
   17507   ld_shlibs_GCJ=yes
   17508   if test "$with_gnu_ld" = yes; then
   17509     # If archive_cmds runs LD, not CC, wlarc should be empty
   17510     wlarc='${wl}'
   17511 
   17512     # Set some defaults for GNU ld with shared library support. These
   17513     # are reset later if shared libraries are not supported. Putting them
   17514     # here allows them to be overridden if necessary.
   17515     runpath_var=LD_RUN_PATH
   17516     hardcode_libdir_flag_spec_GCJ='${wl}--rpath ${wl}$libdir'
   17517     export_dynamic_flag_spec_GCJ='${wl}--export-dynamic'
   17518     # ancient GNU ld didn't support --whole-archive et. al.
   17519     if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
   17520 	whole_archive_flag_spec_GCJ="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   17521       else
   17522   	whole_archive_flag_spec_GCJ=
   17523     fi
   17524     supports_anon_versioning=no
   17525     case `$LD -v 2>/dev/null` in
   17526       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   17527       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   17528       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   17529       *\ 2.11.*) ;; # other 2.11 versions
   17530       *) supports_anon_versioning=yes ;;
   17531     esac
   17532 
   17533     # See if GNU ld supports shared libraries.
   17534     case $host_os in
   17535     aix[3-9]*)
   17536       # On AIX/PPC, the GNU linker is very broken
   17537       if test "$host_cpu" != ia64; then
   17538 	ld_shlibs_GCJ=no
   17539 	cat <<EOF 1>&2
   17540 
   17541 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
   17542 *** to be unable to reliably create shared libraries on AIX.
   17543 *** Therefore, libtool is disabling shared libraries support.  If you
   17544 *** really care for shared libraries, you may want to modify your PATH
   17545 *** so that a non-GNU linker is found, and then restart.
   17546 
   17547 EOF
   17548       fi
   17549       ;;
   17550 
   17551     amigaos*)
   17552       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)'
   17553       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   17554       hardcode_minus_L_GCJ=yes
   17555 
   17556       # Samuel A. Falvo II <kc5tja (at] dolphin.openprojects.net> reports
   17557       # that the semantics of dynamic libraries on AmigaOS, at least up
   17558       # to version 4, is to share data among multiple programs linked
   17559       # with the same dynamic library.  Since this doesn't match the
   17560       # behavior of shared libraries on other platforms, we can't use
   17561       # them.
   17562       ld_shlibs_GCJ=no
   17563       ;;
   17564 
   17565     beos*)
   17566       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   17567 	allow_undefined_flag_GCJ=unsupported
   17568 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   17569 	# support --undefined.  This deserves some investigation.  FIXME
   17570 	archive_cmds_GCJ='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   17571       else
   17572 	ld_shlibs_GCJ=no
   17573       fi
   17574       ;;
   17575 
   17576     cygwin* | mingw* | pw32*)
   17577       # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
   17578       # as there is no search path for DLLs.
   17579       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   17580       allow_undefined_flag_GCJ=unsupported
   17581       always_export_symbols_GCJ=no
   17582       enable_shared_with_static_runtimes_GCJ=yes
   17583       export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
   17584 
   17585       if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
   17586         archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   17587 	# If the export-symbols file already is a .def file (1st line
   17588 	# is EXPORTS), use it as is; otherwise, prepend...
   17589 	archive_expsym_cmds_GCJ='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   17590 	  cp $export_symbols $output_objdir/$soname.def;
   17591 	else
   17592 	  echo EXPORTS > $output_objdir/$soname.def;
   17593 	  cat $export_symbols >> $output_objdir/$soname.def;
   17594 	fi~
   17595 	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   17596       else
   17597 	ld_shlibs_GCJ=no
   17598       fi
   17599       ;;
   17600 
   17601     interix[3-9]*)
   17602       hardcode_direct_GCJ=no
   17603       hardcode_shlibpath_var_GCJ=no
   17604       hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
   17605       export_dynamic_flag_spec_GCJ='${wl}-E'
   17606       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   17607       # Instead, shared libraries are loaded at an image base (0x10000000 by
   17608       # default) and relocated if they conflict, which is a slow very memory
   17609       # consuming and fragmenting process.  To avoid this, we pick a random,
   17610       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   17611       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   17612       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'
   17613       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'
   17614       ;;
   17615 
   17616     gnu* | linux* | k*bsd*-gnu)
   17617       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   17618 	tmp_addflag=
   17619 	case $cc_basename,$host_cpu in
   17620 	pgcc*)				# Portland Group C compiler
   17621 	  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'
   17622 	  tmp_addflag=' $pic_flag'
   17623 	  ;;
   17624 	pgf77* | pgf90* | pgf95*)	# Portland Group f77 and f90 compilers
   17625 	  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'
   17626 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   17627 	ecc*,ia64* | icc*,ia64*)		# Intel C compiler on ia64
   17628 	  tmp_addflag=' -i_dynamic' ;;
   17629 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   17630 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   17631 	ifc* | ifort*)			# Intel Fortran compiler
   17632 	  tmp_addflag=' -nofor_main' ;;
   17633 	esac
   17634 	case `$CC -V 2>&1 | sed 5q` in
   17635 	*Sun\ C*)			# Sun C 5.9
   17636 	  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'
   17637 	  tmp_sharedflag='-G' ;;
   17638 	*Sun\ F*)			# Sun Fortran 8.3
   17639 	  tmp_sharedflag='-G' ;;
   17640 	*)
   17641 	  tmp_sharedflag='-shared' ;;
   17642 	esac
   17643 	archive_cmds_GCJ='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   17644 
   17645 	if test $supports_anon_versioning = yes; then
   17646 	  archive_expsym_cmds_GCJ='$echo "{ global:" > $output_objdir/$libname.ver~
   17647   cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   17648   $echo "local: *; };" >> $output_objdir/$libname.ver~
   17649 	  $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
   17650 	fi
   17651       else
   17652 	ld_shlibs_GCJ=no
   17653       fi
   17654       ;;
   17655 
   17656     netbsd*)
   17657       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   17658 	archive_cmds_GCJ='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   17659 	wlarc=
   17660       else
   17661 	archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   17662 	archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   17663       fi
   17664       ;;
   17665 
   17666     solaris*)
   17667       if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
   17668 	ld_shlibs_GCJ=no
   17669 	cat <<EOF 1>&2
   17670 
   17671 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   17672 *** create shared libraries on Solaris systems.  Therefore, libtool
   17673 *** is disabling shared libraries support.  We urge you to upgrade GNU
   17674 *** binutils to release 2.9.1 or newer.  Another option is to modify
   17675 *** your PATH or compiler configuration so that the native linker is
   17676 *** used, and then restart.
   17677 
   17678 EOF
   17679       elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   17680 	archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   17681 	archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   17682       else
   17683 	ld_shlibs_GCJ=no
   17684       fi
   17685       ;;
   17686 
   17687     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   17688       case `$LD -v 2>&1` in
   17689         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   17690 	ld_shlibs_GCJ=no
   17691 	cat <<_LT_EOF 1>&2
   17692 
   17693 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
   17694 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   17695 *** is disabling shared libraries support.  We urge you to upgrade GNU
   17696 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   17697 *** your PATH or compiler configuration so that the native linker is
   17698 *** used, and then restart.
   17699 
   17700 _LT_EOF
   17701 	;;
   17702 	*)
   17703 	  if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   17704 	    hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
   17705 	    archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
   17706 	    archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
   17707 	  else
   17708 	    ld_shlibs_GCJ=no
   17709 	  fi
   17710 	;;
   17711       esac
   17712       ;;
   17713 
   17714     sunos4*)
   17715       archive_cmds_GCJ='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   17716       wlarc=
   17717       hardcode_direct_GCJ=yes
   17718       hardcode_shlibpath_var_GCJ=no
   17719       ;;
   17720 
   17721     *)
   17722       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   17723 	archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   17724 	archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   17725       else
   17726 	ld_shlibs_GCJ=no
   17727       fi
   17728       ;;
   17729     esac
   17730 
   17731     if test "$ld_shlibs_GCJ" = no; then
   17732       runpath_var=
   17733       hardcode_libdir_flag_spec_GCJ=
   17734       export_dynamic_flag_spec_GCJ=
   17735       whole_archive_flag_spec_GCJ=
   17736     fi
   17737   else
   17738     # PORTME fill in a description of your system's linker (not GNU ld)
   17739     case $host_os in
   17740     aix3*)
   17741       allow_undefined_flag_GCJ=unsupported
   17742       always_export_symbols_GCJ=yes
   17743       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'
   17744       # Note: this linker hardcodes the directories in LIBPATH if there
   17745       # are no directories specified by -L.
   17746       hardcode_minus_L_GCJ=yes
   17747       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
   17748 	# Neither direct hardcoding nor static linking is supported with a
   17749 	# broken collect2.
   17750 	hardcode_direct_GCJ=unsupported
   17751       fi
   17752       ;;
   17753 
   17754     aix[4-9]*)
   17755       if test "$host_cpu" = ia64; then
   17756 	# On IA64, the linker does run time linking by default, so we don't
   17757 	# have to do anything special.
   17758 	aix_use_runtimelinking=no
   17759 	exp_sym_flag='-Bexport'
   17760 	no_entry_flag=""
   17761       else
   17762 	# If we're using GNU nm, then we don't want the "-C" option.
   17763 	# -C means demangle to AIX nm, but means don't demangle with GNU nm
   17764 	if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
   17765 	  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'
   17766 	else
   17767 	  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'
   17768 	fi
   17769 	aix_use_runtimelinking=no
   17770 
   17771 	# Test if we are trying to use run time linking or normal
   17772 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   17773 	# need to do runtime linking.
   17774 	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   17775 	  for ld_flag in $LDFLAGS; do
   17776   	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
   17777   	    aix_use_runtimelinking=yes
   17778   	    break
   17779   	  fi
   17780 	  done
   17781 	  ;;
   17782 	esac
   17783 
   17784 	exp_sym_flag='-bexport'
   17785 	no_entry_flag='-bnoentry'
   17786       fi
   17787 
   17788       # When large executables or shared objects are built, AIX ld can
   17789       # have problems creating the table of contents.  If linking a library
   17790       # or program results in "error TOC overflow" add -mminimal-toc to
   17791       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   17792       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   17793 
   17794       archive_cmds_GCJ=''
   17795       hardcode_direct_GCJ=yes
   17796       hardcode_libdir_separator_GCJ=':'
   17797       link_all_deplibs_GCJ=yes
   17798 
   17799       if test "$GCC" = yes; then
   17800 	case $host_os in aix4.[012]|aix4.[012].*)
   17801 	# We only want to do this on AIX 4.2 and lower, the check
   17802 	# below for broken collect2 doesn't work under 4.3+
   17803 	  collect2name=`${CC} -print-prog-name=collect2`
   17804 	  if test -f "$collect2name" && \
   17805   	   strings "$collect2name" | grep resolve_lib_name >/dev/null
   17806 	  then
   17807   	  # We have reworked collect2
   17808   	  :
   17809 	  else
   17810   	  # We have old collect2
   17811   	  hardcode_direct_GCJ=unsupported
   17812   	  # It fails to find uninstalled libraries when the uninstalled
   17813   	  # path is not listed in the libpath.  Setting hardcode_minus_L
   17814   	  # to unsupported forces relinking
   17815   	  hardcode_minus_L_GCJ=yes
   17816   	  hardcode_libdir_flag_spec_GCJ='-L$libdir'
   17817   	  hardcode_libdir_separator_GCJ=
   17818 	  fi
   17819 	  ;;
   17820 	esac
   17821 	shared_flag='-shared'
   17822 	if test "$aix_use_runtimelinking" = yes; then
   17823 	  shared_flag="$shared_flag "'${wl}-G'
   17824 	fi
   17825       else
   17826 	# not using gcc
   17827 	if test "$host_cpu" = ia64; then
   17828   	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   17829   	# chokes on -Wl,-G. The following line is correct:
   17830 	  shared_flag='-G'
   17831 	else
   17832 	  if test "$aix_use_runtimelinking" = yes; then
   17833 	    shared_flag='${wl}-G'
   17834 	  else
   17835 	    shared_flag='${wl}-bM:SRE'
   17836 	  fi
   17837 	fi
   17838       fi
   17839 
   17840       # It seems that -bexpall does not export symbols beginning with
   17841       # underscore (_), so it is better to generate a list of symbols to export.
   17842       always_export_symbols_GCJ=yes
   17843       if test "$aix_use_runtimelinking" = yes; then
   17844 	# Warning - without using the other runtime loading flags (-brtl),
   17845 	# -berok will link without error, but may produce a broken library.
   17846 	allow_undefined_flag_GCJ='-berok'
   17847        # Determine the default libpath from the value encoded in an empty executable.
   17848        cat >conftest.$ac_ext <<_ACEOF
   17849 /* confdefs.h.  */
   17850 _ACEOF
   17851 cat confdefs.h >>conftest.$ac_ext
   17852 cat >>conftest.$ac_ext <<_ACEOF
   17853 /* end confdefs.h.  */
   17854 
   17855 int
   17856 main ()
   17857 {
   17858 
   17859   ;
   17860   return 0;
   17861 }
   17862 _ACEOF
   17863 rm -f conftest.$ac_objext conftest$ac_exeext
   17864 if { (ac_try="$ac_link"
   17865 case "(($ac_try" in
   17866   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   17867   *) ac_try_echo=$ac_try;;
   17868 esac
   17869 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   17870 $as_echo "$ac_try_echo") >&5
   17871   (eval "$ac_link") 2>conftest.er1
   17872   ac_status=$?
   17873   grep -v '^ *+' conftest.er1 >conftest.err
   17874   rm -f conftest.er1
   17875   cat conftest.err >&5
   17876   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   17877   (exit $ac_status); } && {
   17878 	 test -z "$ac_c_werror_flag" ||
   17879 	 test ! -s conftest.err
   17880        } && test -s conftest$ac_exeext && {
   17881 	 test "$cross_compiling" = yes ||
   17882 	 $as_test_x conftest$ac_exeext
   17883        }; then
   17884 
   17885 lt_aix_libpath_sed='
   17886     /Import File Strings/,/^$/ {
   17887 	/^0/ {
   17888 	    s/^0  *\(.*\)$/\1/
   17889 	    p
   17890 	}
   17891     }'
   17892 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   17893 # Check for a 64-bit object if we didn't find anything.
   17894 if test -z "$aix_libpath"; then
   17895   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   17896 fi
   17897 else
   17898   $as_echo "$as_me: failed program was:" >&5
   17899 sed 's/^/| /' conftest.$ac_ext >&5
   17900 
   17901 
   17902 fi
   17903 
   17904 rm -rf conftest.dSYM
   17905 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   17906       conftest$ac_exeext conftest.$ac_ext
   17907 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   17908 
   17909        hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
   17910 	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"
   17911        else
   17912 	if test "$host_cpu" = ia64; then
   17913 	  hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib'
   17914 	  allow_undefined_flag_GCJ="-z nodefs"
   17915 	  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"
   17916 	else
   17917 	 # Determine the default libpath from the value encoded in an empty executable.
   17918 	 cat >conftest.$ac_ext <<_ACEOF
   17919 /* confdefs.h.  */
   17920 _ACEOF
   17921 cat confdefs.h >>conftest.$ac_ext
   17922 cat >>conftest.$ac_ext <<_ACEOF
   17923 /* end confdefs.h.  */
   17924 
   17925 int
   17926 main ()
   17927 {
   17928 
   17929   ;
   17930   return 0;
   17931 }
   17932 _ACEOF
   17933 rm -f conftest.$ac_objext conftest$ac_exeext
   17934 if { (ac_try="$ac_link"
   17935 case "(($ac_try" in
   17936   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   17937   *) ac_try_echo=$ac_try;;
   17938 esac
   17939 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   17940 $as_echo "$ac_try_echo") >&5
   17941   (eval "$ac_link") 2>conftest.er1
   17942   ac_status=$?
   17943   grep -v '^ *+' conftest.er1 >conftest.err
   17944   rm -f conftest.er1
   17945   cat conftest.err >&5
   17946   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   17947   (exit $ac_status); } && {
   17948 	 test -z "$ac_c_werror_flag" ||
   17949 	 test ! -s conftest.err
   17950        } && test -s conftest$ac_exeext && {
   17951 	 test "$cross_compiling" = yes ||
   17952 	 $as_test_x conftest$ac_exeext
   17953        }; then
   17954 
   17955 lt_aix_libpath_sed='
   17956     /Import File Strings/,/^$/ {
   17957 	/^0/ {
   17958 	    s/^0  *\(.*\)$/\1/
   17959 	    p
   17960 	}
   17961     }'
   17962 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   17963 # Check for a 64-bit object if we didn't find anything.
   17964 if test -z "$aix_libpath"; then
   17965   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   17966 fi
   17967 else
   17968   $as_echo "$as_me: failed program was:" >&5
   17969 sed 's/^/| /' conftest.$ac_ext >&5
   17970 
   17971 
   17972 fi
   17973 
   17974 rm -rf conftest.dSYM
   17975 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   17976       conftest$ac_exeext conftest.$ac_ext
   17977 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   17978 
   17979 	 hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
   17980 	  # Warning - without using the other run time loading flags,
   17981 	  # -berok will link without error, but may produce a broken library.
   17982 	  no_undefined_flag_GCJ=' ${wl}-bernotok'
   17983 	  allow_undefined_flag_GCJ=' ${wl}-berok'
   17984 	  # Exported symbols can be pulled into shared objects from archives
   17985 	  whole_archive_flag_spec_GCJ='$convenience'
   17986 	  archive_cmds_need_lc_GCJ=yes
   17987 	  # This is similar to how AIX traditionally builds its shared libraries.
   17988 	  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'
   17989 	fi
   17990       fi
   17991       ;;
   17992 
   17993     amigaos*)
   17994       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)'
   17995       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   17996       hardcode_minus_L_GCJ=yes
   17997       # see comment about different semantics on the GNU ld section
   17998       ld_shlibs_GCJ=no
   17999       ;;
   18000 
   18001     bsdi[45]*)
   18002       export_dynamic_flag_spec_GCJ=-rdynamic
   18003       ;;
   18004 
   18005     cygwin* | mingw* | pw32*)
   18006       # When not using gcc, we currently assume that we are using
   18007       # Microsoft Visual C++.
   18008       # hardcode_libdir_flag_spec is actually meaningless, as there is
   18009       # no search path for DLLs.
   18010       hardcode_libdir_flag_spec_GCJ=' '
   18011       allow_undefined_flag_GCJ=unsupported
   18012       # Tell ltmain to make .lib files, not .a files.
   18013       libext=lib
   18014       # Tell ltmain to make .dll files, not .so files.
   18015       shrext_cmds=".dll"
   18016       # FIXME: Setting linknames here is a bad hack.
   18017       archive_cmds_GCJ='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
   18018       # The linker will automatically build a .lib file if we build a DLL.
   18019       old_archive_From_new_cmds_GCJ='true'
   18020       # FIXME: Should let the user specify the lib program.
   18021       old_archive_cmds_GCJ='lib -OUT:$oldlib$oldobjs$old_deplibs'
   18022       fix_srcfile_path_GCJ='`cygpath -w "$srcfile"`'
   18023       enable_shared_with_static_runtimes_GCJ=yes
   18024       ;;
   18025 
   18026     darwin* | rhapsody*)
   18027       case $host_os in
   18028         rhapsody* | darwin1.[012])
   18029          allow_undefined_flag_GCJ='${wl}-undefined ${wl}suppress'
   18030          ;;
   18031        *) # Darwin 1.3 on
   18032          if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
   18033            allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   18034          else
   18035            case ${MACOSX_DEPLOYMENT_TARGET} in
   18036              10.[012])
   18037                allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   18038                ;;
   18039              10.*)
   18040                allow_undefined_flag_GCJ='${wl}-undefined ${wl}dynamic_lookup'
   18041                ;;
   18042            esac
   18043          fi
   18044          ;;
   18045       esac
   18046       archive_cmds_need_lc_GCJ=no
   18047       hardcode_direct_GCJ=no
   18048       hardcode_automatic_GCJ=yes
   18049       hardcode_shlibpath_var_GCJ=unsupported
   18050       whole_archive_flag_spec_GCJ=''
   18051       link_all_deplibs_GCJ=yes
   18052     if test "$GCC" = yes ; then
   18053     	output_verbose_link_cmd='echo'
   18054         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}"
   18055         module_cmds_GCJ="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
   18056         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}"
   18057         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}"
   18058     else
   18059       case $cc_basename in
   18060         xlc*)
   18061          output_verbose_link_cmd='echo'
   18062          archive_cmds_GCJ='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
   18063          module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
   18064           # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
   18065          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}'
   18066           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}'
   18067           ;;
   18068        *)
   18069          ld_shlibs_GCJ=no
   18070           ;;
   18071       esac
   18072     fi
   18073       ;;
   18074 
   18075     dgux*)
   18076       archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   18077       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   18078       hardcode_shlibpath_var_GCJ=no
   18079       ;;
   18080 
   18081     freebsd1*)
   18082       ld_shlibs_GCJ=no
   18083       ;;
   18084 
   18085     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   18086     # support.  Future versions do this automatically, but an explicit c++rt0.o
   18087     # does not break anything, and helps significantly (at the cost of a little
   18088     # extra space).
   18089     freebsd2.2*)
   18090       archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   18091       hardcode_libdir_flag_spec_GCJ='-R$libdir'
   18092       hardcode_direct_GCJ=yes
   18093       hardcode_shlibpath_var_GCJ=no
   18094       ;;
   18095 
   18096     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   18097     freebsd2*)
   18098       archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   18099       hardcode_direct_GCJ=yes
   18100       hardcode_minus_L_GCJ=yes
   18101       hardcode_shlibpath_var_GCJ=no
   18102       ;;
   18103 
   18104     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   18105     freebsd* | dragonfly*)
   18106       archive_cmds_GCJ='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
   18107       hardcode_libdir_flag_spec_GCJ='-R$libdir'
   18108       hardcode_direct_GCJ=yes
   18109       hardcode_shlibpath_var_GCJ=no
   18110       ;;
   18111 
   18112     hpux9*)
   18113       if test "$GCC" = yes; then
   18114 	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'
   18115       else
   18116 	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'
   18117       fi
   18118       hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
   18119       hardcode_libdir_separator_GCJ=:
   18120       hardcode_direct_GCJ=yes
   18121 
   18122       # hardcode_minus_L: Not really in the search PATH,
   18123       # but as the default location of the library.
   18124       hardcode_minus_L_GCJ=yes
   18125       export_dynamic_flag_spec_GCJ='${wl}-E'
   18126       ;;
   18127 
   18128     hpux10*)
   18129       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   18130 	archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   18131       else
   18132 	archive_cmds_GCJ='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   18133       fi
   18134       if test "$with_gnu_ld" = no; then
   18135 	hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
   18136 	hardcode_libdir_separator_GCJ=:
   18137 
   18138 	hardcode_direct_GCJ=yes
   18139 	export_dynamic_flag_spec_GCJ='${wl}-E'
   18140 
   18141 	# hardcode_minus_L: Not really in the search PATH,
   18142 	# but as the default location of the library.
   18143 	hardcode_minus_L_GCJ=yes
   18144       fi
   18145       ;;
   18146 
   18147     hpux11*)
   18148       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   18149 	case $host_cpu in
   18150 	hppa*64*)
   18151 	  archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   18152 	  ;;
   18153 	ia64*)
   18154 	  archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   18155 	  ;;
   18156 	*)
   18157 	  archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   18158 	  ;;
   18159 	esac
   18160       else
   18161 	case $host_cpu in
   18162 	hppa*64*)
   18163 	  archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   18164 	  ;;
   18165 	ia64*)
   18166 	  archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   18167 	  ;;
   18168 	*)
   18169 	  archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   18170 	  ;;
   18171 	esac
   18172       fi
   18173       if test "$with_gnu_ld" = no; then
   18174 	hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
   18175 	hardcode_libdir_separator_GCJ=:
   18176 
   18177 	case $host_cpu in
   18178 	hppa*64*|ia64*)
   18179 	  hardcode_libdir_flag_spec_ld_GCJ='+b $libdir'
   18180 	  hardcode_direct_GCJ=no
   18181 	  hardcode_shlibpath_var_GCJ=no
   18182 	  ;;
   18183 	*)
   18184 	  hardcode_direct_GCJ=yes
   18185 	  export_dynamic_flag_spec_GCJ='${wl}-E'
   18186 
   18187 	  # hardcode_minus_L: Not really in the search PATH,
   18188 	  # but as the default location of the library.
   18189 	  hardcode_minus_L_GCJ=yes
   18190 	  ;;
   18191 	esac
   18192       fi
   18193       ;;
   18194 
   18195     irix5* | irix6* | nonstopux*)
   18196       if test "$GCC" = yes; then
   18197 	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'
   18198       else
   18199 	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'
   18200 	hardcode_libdir_flag_spec_ld_GCJ='-rpath $libdir'
   18201       fi
   18202       hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
   18203       hardcode_libdir_separator_GCJ=:
   18204       link_all_deplibs_GCJ=yes
   18205       ;;
   18206 
   18207     netbsd*)
   18208       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   18209 	archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   18210       else
   18211 	archive_cmds_GCJ='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   18212       fi
   18213       hardcode_libdir_flag_spec_GCJ='-R$libdir'
   18214       hardcode_direct_GCJ=yes
   18215       hardcode_shlibpath_var_GCJ=no
   18216       ;;
   18217 
   18218     newsos6)
   18219       archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   18220       hardcode_direct_GCJ=yes
   18221       hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
   18222       hardcode_libdir_separator_GCJ=:
   18223       hardcode_shlibpath_var_GCJ=no
   18224       ;;
   18225 
   18226     openbsd*)
   18227       if test -f /usr/libexec/ld.so; then
   18228 	hardcode_direct_GCJ=yes
   18229 	hardcode_shlibpath_var_GCJ=no
   18230 	if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   18231 	  archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   18232 	  archive_expsym_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
   18233 	  hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
   18234 	  export_dynamic_flag_spec_GCJ='${wl}-E'
   18235 	else
   18236 	  case $host_os in
   18237 	   openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
   18238 	     archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   18239 	     hardcode_libdir_flag_spec_GCJ='-R$libdir'
   18240 	     ;;
   18241 	   *)
   18242 	     archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   18243 	     hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
   18244 	     ;;
   18245 	  esac
   18246         fi
   18247       else
   18248 	ld_shlibs_GCJ=no
   18249       fi
   18250       ;;
   18251 
   18252     os2*)
   18253       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   18254       hardcode_minus_L_GCJ=yes
   18255       allow_undefined_flag_GCJ=unsupported
   18256       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'
   18257       old_archive_From_new_cmds_GCJ='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
   18258       ;;
   18259 
   18260     osf3*)
   18261       if test "$GCC" = yes; then
   18262 	allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
   18263 	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'
   18264       else
   18265 	allow_undefined_flag_GCJ=' -expect_unresolved \*'
   18266 	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'
   18267       fi
   18268       hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
   18269       hardcode_libdir_separator_GCJ=:
   18270       ;;
   18271 
   18272     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   18273       if test "$GCC" = yes; then
   18274 	allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
   18275 	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'
   18276 	hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
   18277       else
   18278 	allow_undefined_flag_GCJ=' -expect_unresolved \*'
   18279 	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'
   18280 	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~
   18281 	$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'
   18282 
   18283 	# Both c and cxx compiler support -rpath directly
   18284 	hardcode_libdir_flag_spec_GCJ='-rpath $libdir'
   18285       fi
   18286       hardcode_libdir_separator_GCJ=:
   18287       ;;
   18288 
   18289     solaris*)
   18290       no_undefined_flag_GCJ=' -z text'
   18291       if test "$GCC" = yes; then
   18292 	wlarc='${wl}'
   18293 	archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   18294 	archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   18295 	  $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
   18296       else
   18297 	wlarc=''
   18298 	archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
   18299 	archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   18300   	$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
   18301       fi
   18302       hardcode_libdir_flag_spec_GCJ='-R$libdir'
   18303       hardcode_shlibpath_var_GCJ=no
   18304       case $host_os in
   18305       solaris2.[0-5] | solaris2.[0-5].*) ;;
   18306       *)
   18307 	# The compiler driver will combine and reorder linker options,
   18308 	# but understands `-z linker_flag'.  GCC discards it without `$wl',
   18309 	# but is careful enough not to reorder.
   18310  	# Supported since Solaris 2.6 (maybe 2.5.1?)
   18311 	if test "$GCC" = yes; then
   18312 	  whole_archive_flag_spec_GCJ='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
   18313 	else
   18314 	  whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract'
   18315 	fi
   18316 	;;
   18317       esac
   18318       link_all_deplibs_GCJ=yes
   18319       ;;
   18320 
   18321     sunos4*)
   18322       if test "x$host_vendor" = xsequent; then
   18323 	# Use $CC to link under sequent, because it throws in some extra .o
   18324 	# files that make .init and .fini sections work.
   18325 	archive_cmds_GCJ='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   18326       else
   18327 	archive_cmds_GCJ='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   18328       fi
   18329       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   18330       hardcode_direct_GCJ=yes
   18331       hardcode_minus_L_GCJ=yes
   18332       hardcode_shlibpath_var_GCJ=no
   18333       ;;
   18334 
   18335     sysv4)
   18336       case $host_vendor in
   18337 	sni)
   18338 	  archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   18339 	  hardcode_direct_GCJ=yes # is this really true???
   18340 	;;
   18341 	siemens)
   18342 	  ## LD is ld it makes a PLAMLIB
   18343 	  ## CC just makes a GrossModule.
   18344 	  archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   18345 	  reload_cmds_GCJ='$CC -r -o $output$reload_objs'
   18346 	  hardcode_direct_GCJ=no
   18347         ;;
   18348 	motorola)
   18349 	  archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   18350 	  hardcode_direct_GCJ=no #Motorola manual says yes, but my tests say they lie
   18351 	;;
   18352       esac
   18353       runpath_var='LD_RUN_PATH'
   18354       hardcode_shlibpath_var_GCJ=no
   18355       ;;
   18356 
   18357     sysv4.3*)
   18358       archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   18359       hardcode_shlibpath_var_GCJ=no
   18360       export_dynamic_flag_spec_GCJ='-Bexport'
   18361       ;;
   18362 
   18363     sysv4*MP*)
   18364       if test -d /usr/nec; then
   18365 	archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   18366 	hardcode_shlibpath_var_GCJ=no
   18367 	runpath_var=LD_RUN_PATH
   18368 	hardcode_runpath_var=yes
   18369 	ld_shlibs_GCJ=yes
   18370       fi
   18371       ;;
   18372 
   18373     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   18374       no_undefined_flag_GCJ='${wl}-z,text'
   18375       archive_cmds_need_lc_GCJ=no
   18376       hardcode_shlibpath_var_GCJ=no
   18377       runpath_var='LD_RUN_PATH'
   18378 
   18379       if test "$GCC" = yes; then
   18380 	archive_cmds_GCJ='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   18381 	archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   18382       else
   18383 	archive_cmds_GCJ='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   18384 	archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   18385       fi
   18386       ;;
   18387 
   18388     sysv5* | sco3.2v5* | sco5v6*)
   18389       # Note: We can NOT use -z defs as we might desire, because we do not
   18390       # link with -lc, and that would cause any symbols used from libc to
   18391       # always be unresolved, which means just about no library would
   18392       # ever link correctly.  If we're not using GNU ld we use -z text
   18393       # though, which does catch some bad symbols but isn't as heavy-handed
   18394       # as -z defs.
   18395       no_undefined_flag_GCJ='${wl}-z,text'
   18396       allow_undefined_flag_GCJ='${wl}-z,nodefs'
   18397       archive_cmds_need_lc_GCJ=no
   18398       hardcode_shlibpath_var_GCJ=no
   18399       hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
   18400       hardcode_libdir_separator_GCJ=':'
   18401       link_all_deplibs_GCJ=yes
   18402       export_dynamic_flag_spec_GCJ='${wl}-Bexport'
   18403       runpath_var='LD_RUN_PATH'
   18404 
   18405       if test "$GCC" = yes; then
   18406 	archive_cmds_GCJ='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   18407 	archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   18408       else
   18409 	archive_cmds_GCJ='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   18410 	archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   18411       fi
   18412       ;;
   18413 
   18414     uts4*)
   18415       archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   18416       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   18417       hardcode_shlibpath_var_GCJ=no
   18418       ;;
   18419 
   18420     *)
   18421       ld_shlibs_GCJ=no
   18422       ;;
   18423     esac
   18424   fi
   18425 
   18426 { $as_echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
   18427 $as_echo "$ld_shlibs_GCJ" >&6; }
   18428 test "$ld_shlibs_GCJ" = no && can_build_shared=no
   18429 
   18430 #
   18431 # Do we need to explicitly link libc?
   18432 #
   18433 case "x$archive_cmds_need_lc_GCJ" in
   18434 x|xyes)
   18435   # Assume -lc should be added
   18436   archive_cmds_need_lc_GCJ=yes
   18437 
   18438   if test "$enable_shared" = yes && test "$GCC" = yes; then
   18439     case $archive_cmds_GCJ in
   18440     *'~'*)
   18441       # FIXME: we may have to deal with multi-command sequences.
   18442       ;;
   18443     '$CC '*)
   18444       # Test whether the compiler implicitly links with -lc since on some
   18445       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   18446       # to ld, don't add -lc before -lgcc.
   18447       { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
   18448 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
   18449       $rm conftest*
   18450       echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   18451 
   18452       if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   18453   (eval $ac_compile) 2>&5
   18454   ac_status=$?
   18455   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   18456   (exit $ac_status); } 2>conftest.err; then
   18457         soname=conftest
   18458         lib=conftest
   18459         libobjs=conftest.$ac_objext
   18460         deplibs=
   18461         wl=$lt_prog_compiler_wl_GCJ
   18462 	pic_flag=$lt_prog_compiler_pic_GCJ
   18463         compiler_flags=-v
   18464         linker_flags=-v
   18465         verstring=
   18466         output_objdir=.
   18467         libname=conftest
   18468         lt_save_allow_undefined_flag=$allow_undefined_flag_GCJ
   18469         allow_undefined_flag_GCJ=
   18470         if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
   18471   (eval $archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
   18472   ac_status=$?
   18473   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   18474   (exit $ac_status); }
   18475         then
   18476 	  archive_cmds_need_lc_GCJ=no
   18477         else
   18478 	  archive_cmds_need_lc_GCJ=yes
   18479         fi
   18480         allow_undefined_flag_GCJ=$lt_save_allow_undefined_flag
   18481       else
   18482         cat conftest.err 1>&5
   18483       fi
   18484       $rm conftest*
   18485       { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
   18486 $as_echo "$archive_cmds_need_lc_GCJ" >&6; }
   18487       ;;
   18488     esac
   18489   fi
   18490   ;;
   18491 esac
   18492 
   18493 { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
   18494 $as_echo_n "checking dynamic linker characteristics... " >&6; }
   18495 library_names_spec=
   18496 libname_spec='lib$name'
   18497 soname_spec=
   18498 shrext_cmds=".so"
   18499 postinstall_cmds=
   18500 postuninstall_cmds=
   18501 finish_cmds=
   18502 finish_eval=
   18503 shlibpath_var=
   18504 shlibpath_overrides_runpath=unknown
   18505 version_type=none
   18506 dynamic_linker="$host_os ld.so"
   18507 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   18508 
   18509 need_lib_prefix=unknown
   18510 hardcode_into_libs=no
   18511 
   18512 # when you set need_version to no, make sure it does not cause -set_version
   18513 # flags to be left without arguments
   18514 need_version=unknown
   18515 
   18516 case $host_os in
   18517 aix3*)
   18518   version_type=linux
   18519   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   18520   shlibpath_var=LIBPATH
   18521 
   18522   # AIX 3 has no versioning support, so we append a major version to the name.
   18523   soname_spec='${libname}${release}${shared_ext}$major'
   18524   ;;
   18525 
   18526 aix[4-9]*)
   18527   version_type=linux
   18528   need_lib_prefix=no
   18529   need_version=no
   18530   hardcode_into_libs=yes
   18531   if test "$host_cpu" = ia64; then
   18532     # AIX 5 supports IA64
   18533     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
   18534     shlibpath_var=LD_LIBRARY_PATH
   18535   else
   18536     # With GCC up to 2.95.x, collect2 would create an import file
   18537     # for dependence libraries.  The import file would start with
   18538     # the line `#! .'.  This would cause the generated library to
   18539     # depend on `.', always an invalid library.  This was fixed in
   18540     # development snapshots of GCC prior to 3.0.
   18541     case $host_os in
   18542       aix4 | aix4.[01] | aix4.[01].*)
   18543       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   18544 	   echo ' yes '
   18545 	   echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
   18546 	:
   18547       else
   18548 	can_build_shared=no
   18549       fi
   18550       ;;
   18551     esac
   18552     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
   18553     # soname into executable. Probably we can add versioning support to
   18554     # collect2, so additional links can be useful in future.
   18555     if test "$aix_use_runtimelinking" = yes; then
   18556       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   18557       # instead of lib<name>.a to let people know that these are not
   18558       # typical AIX shared libraries.
   18559       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18560     else
   18561       # We preserve .a as extension for shared libraries through AIX4.2
   18562       # and later when we are not doing run time linking.
   18563       library_names_spec='${libname}${release}.a $libname.a'
   18564       soname_spec='${libname}${release}${shared_ext}$major'
   18565     fi
   18566     shlibpath_var=LIBPATH
   18567   fi
   18568   ;;
   18569 
   18570 amigaos*)
   18571   library_names_spec='$libname.ixlibrary $libname.a'
   18572   # Create ${libname}_ixlibrary.a entries in /sys/libs.
   18573   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'
   18574   ;;
   18575 
   18576 beos*)
   18577   library_names_spec='${libname}${shared_ext}'
   18578   dynamic_linker="$host_os ld.so"
   18579   shlibpath_var=LIBRARY_PATH
   18580   ;;
   18581 
   18582 bsdi[45]*)
   18583   version_type=linux
   18584   need_version=no
   18585   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18586   soname_spec='${libname}${release}${shared_ext}$major'
   18587   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   18588   shlibpath_var=LD_LIBRARY_PATH
   18589   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   18590   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   18591   # the default ld.so.conf also contains /usr/contrib/lib and
   18592   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   18593   # libtool to hard-code these into programs
   18594   ;;
   18595 
   18596 cygwin* | mingw* | pw32*)
   18597   version_type=windows
   18598   shrext_cmds=".dll"
   18599   need_version=no
   18600   need_lib_prefix=no
   18601 
   18602   case $GCC,$host_os in
   18603   yes,cygwin* | yes,mingw* | yes,pw32*)
   18604     library_names_spec='$libname.dll.a'
   18605     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   18606     postinstall_cmds='base_file=`basename \${file}`~
   18607       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
   18608       dldir=$destdir/`dirname \$dlpath`~
   18609       test -d \$dldir || mkdir -p \$dldir~
   18610       $install_prog $dir/$dlname \$dldir/$dlname~
   18611       chmod a+x \$dldir/$dlname'
   18612     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   18613       dlpath=$dir/\$dldll~
   18614        $rm \$dlpath'
   18615     shlibpath_overrides_runpath=yes
   18616 
   18617     case $host_os in
   18618     cygwin*)
   18619       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   18620       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   18621       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
   18622       ;;
   18623     mingw*)
   18624       # MinGW DLLs use traditional 'lib' prefix
   18625       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   18626       sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   18627       if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
   18628         # It is most probably a Windows format PATH printed by
   18629         # mingw gcc, but we are running on Cygwin. Gcc prints its search
   18630         # path with ; separators, and with drive letters. We can handle the
   18631         # drive letters (cygwin fileutils understands them), so leave them,
   18632         # especially as we might pass files found there to a mingw objdump,
   18633         # which wouldn't understand a cygwinified path. Ahh.
   18634         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   18635       else
   18636         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   18637       fi
   18638       ;;
   18639     pw32*)
   18640       # pw32 DLLs use 'pw' prefix rather than 'lib'
   18641       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   18642       ;;
   18643     esac
   18644     ;;
   18645 
   18646   *)
   18647     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
   18648     ;;
   18649   esac
   18650   dynamic_linker='Win32 ld.exe'
   18651   # FIXME: first we should search . and the directory the executable is in
   18652   shlibpath_var=PATH
   18653   ;;
   18654 
   18655 darwin* | rhapsody*)
   18656   dynamic_linker="$host_os dyld"
   18657   version_type=darwin
   18658   need_lib_prefix=no
   18659   need_version=no
   18660   library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
   18661   soname_spec='${libname}${release}${major}$shared_ext'
   18662   shlibpath_overrides_runpath=yes
   18663   shlibpath_var=DYLD_LIBRARY_PATH
   18664   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   18665 
   18666   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   18667   ;;
   18668 
   18669 dgux*)
   18670   version_type=linux
   18671   need_lib_prefix=no
   18672   need_version=no
   18673   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
   18674   soname_spec='${libname}${release}${shared_ext}$major'
   18675   shlibpath_var=LD_LIBRARY_PATH
   18676   ;;
   18677 
   18678 freebsd1*)
   18679   dynamic_linker=no
   18680   ;;
   18681 
   18682 freebsd* | dragonfly*)
   18683   # DragonFly does not have aout.  When/if they implement a new
   18684   # versioning mechanism, adjust this.
   18685   if test -x /usr/bin/objformat; then
   18686     objformat=`/usr/bin/objformat`
   18687   else
   18688     case $host_os in
   18689     freebsd[123]*) objformat=aout ;;
   18690     *) objformat=elf ;;
   18691     esac
   18692   fi
   18693   version_type=freebsd-$objformat
   18694   case $version_type in
   18695     freebsd-elf*)
   18696       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   18697       need_version=no
   18698       need_lib_prefix=no
   18699       ;;
   18700     freebsd-*)
   18701       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
   18702       need_version=yes
   18703       ;;
   18704   esac
   18705   shlibpath_var=LD_LIBRARY_PATH
   18706   case $host_os in
   18707   freebsd2*)
   18708     shlibpath_overrides_runpath=yes
   18709     ;;
   18710   freebsd3.[01]* | freebsdelf3.[01]*)
   18711     shlibpath_overrides_runpath=yes
   18712     hardcode_into_libs=yes
   18713     ;;
   18714   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   18715   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   18716     shlibpath_overrides_runpath=no
   18717     hardcode_into_libs=yes
   18718     ;;
   18719   *) # from 4.6 on, and DragonFly
   18720     shlibpath_overrides_runpath=yes
   18721     hardcode_into_libs=yes
   18722     ;;
   18723   esac
   18724   ;;
   18725 
   18726 gnu*)
   18727   version_type=linux
   18728   need_lib_prefix=no
   18729   need_version=no
   18730   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   18731   soname_spec='${libname}${release}${shared_ext}$major'
   18732   shlibpath_var=LD_LIBRARY_PATH
   18733   hardcode_into_libs=yes
   18734   ;;
   18735 
   18736 hpux9* | hpux10* | hpux11*)
   18737   # Give a soname corresponding to the major version so that dld.sl refuses to
   18738   # link against other versions.
   18739   version_type=sunos
   18740   need_lib_prefix=no
   18741   need_version=no
   18742   case $host_cpu in
   18743   ia64*)
   18744     shrext_cmds='.so'
   18745     hardcode_into_libs=yes
   18746     dynamic_linker="$host_os dld.so"
   18747     shlibpath_var=LD_LIBRARY_PATH
   18748     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   18749     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18750     soname_spec='${libname}${release}${shared_ext}$major'
   18751     if test "X$HPUX_IA64_MODE" = X32; then
   18752       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   18753     else
   18754       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   18755     fi
   18756     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   18757     ;;
   18758    hppa*64*)
   18759      shrext_cmds='.sl'
   18760      hardcode_into_libs=yes
   18761      dynamic_linker="$host_os dld.sl"
   18762      shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   18763      shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   18764      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18765      soname_spec='${libname}${release}${shared_ext}$major'
   18766      sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   18767      sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   18768      ;;
   18769    *)
   18770     shrext_cmds='.sl'
   18771     dynamic_linker="$host_os dld.sl"
   18772     shlibpath_var=SHLIB_PATH
   18773     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   18774     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18775     soname_spec='${libname}${release}${shared_ext}$major'
   18776     ;;
   18777   esac
   18778   # HP-UX runs *really* slowly unless shared libraries are mode 555.
   18779   postinstall_cmds='chmod 555 $lib'
   18780   ;;
   18781 
   18782 interix[3-9]*)
   18783   version_type=linux
   18784   need_lib_prefix=no
   18785   need_version=no
   18786   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   18787   soname_spec='${libname}${release}${shared_ext}$major'
   18788   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   18789   shlibpath_var=LD_LIBRARY_PATH
   18790   shlibpath_overrides_runpath=no
   18791   hardcode_into_libs=yes
   18792   ;;
   18793 
   18794 irix5* | irix6* | nonstopux*)
   18795   case $host_os in
   18796     nonstopux*) version_type=nonstopux ;;
   18797     *)
   18798 	if test "$lt_cv_prog_gnu_ld" = yes; then
   18799 		version_type=linux
   18800 	else
   18801 		version_type=irix
   18802 	fi ;;
   18803   esac
   18804   need_lib_prefix=no
   18805   need_version=no
   18806   soname_spec='${libname}${release}${shared_ext}$major'
   18807   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
   18808   case $host_os in
   18809   irix5* | nonstopux*)
   18810     libsuff= shlibsuff=
   18811     ;;
   18812   *)
   18813     case $LD in # libtool.m4 will add one of these switches to LD
   18814     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   18815       libsuff= shlibsuff= libmagic=32-bit;;
   18816     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   18817       libsuff=32 shlibsuff=N32 libmagic=N32;;
   18818     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   18819       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   18820     *) libsuff= shlibsuff= libmagic=never-match;;
   18821     esac
   18822     ;;
   18823   esac
   18824   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   18825   shlibpath_overrides_runpath=no
   18826   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   18827   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   18828   hardcode_into_libs=yes
   18829   ;;
   18830 
   18831 # No shared lib support for Linux oldld, aout, or coff.
   18832 linux*oldld* | linux*aout* | linux*coff*)
   18833   dynamic_linker=no
   18834   ;;
   18835 
   18836 # This must be Linux ELF.
   18837 linux* | k*bsd*-gnu)
   18838   version_type=linux
   18839   need_lib_prefix=no
   18840   need_version=no
   18841   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18842   soname_spec='${libname}${release}${shared_ext}$major'
   18843   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   18844   shlibpath_var=LD_LIBRARY_PATH
   18845   shlibpath_overrides_runpath=no
   18846   # This implies no fast_install, which is unacceptable.
   18847   # Some rework will be needed to allow for fast_install
   18848   # before this can be enabled.
   18849   hardcode_into_libs=yes
   18850 
   18851   # Append ld.so.conf contents to the search path
   18852   if test -f /etc/ld.so.conf; then
   18853     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' ' '`
   18854     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   18855   fi
   18856 
   18857   # We used to test for /lib/ld.so.1 and disable shared libraries on
   18858   # powerpc, because MkLinux only supported shared libraries with the
   18859   # GNU dynamic linker.  Since this was broken with cross compilers,
   18860   # most powerpc-linux boxes support dynamic linking these days and
   18861   # people can always --disable-shared, the test was removed, and we
   18862   # assume the GNU/Linux dynamic linker is in use.
   18863   dynamic_linker='GNU/Linux ld.so'
   18864   ;;
   18865 
   18866 netbsd*)
   18867   version_type=sunos
   18868   need_lib_prefix=no
   18869   need_version=no
   18870   if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   18871     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   18872     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   18873     dynamic_linker='NetBSD (a.out) ld.so'
   18874   else
   18875     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   18876     soname_spec='${libname}${release}${shared_ext}$major'
   18877     dynamic_linker='NetBSD ld.elf_so'
   18878   fi
   18879   shlibpath_var=LD_LIBRARY_PATH
   18880   shlibpath_overrides_runpath=yes
   18881   hardcode_into_libs=yes
   18882   ;;
   18883 
   18884 newsos6)
   18885   version_type=linux
   18886   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18887   shlibpath_var=LD_LIBRARY_PATH
   18888   shlibpath_overrides_runpath=yes
   18889   ;;
   18890 
   18891 nto-qnx*)
   18892   version_type=linux
   18893   need_lib_prefix=no
   18894   need_version=no
   18895   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18896   soname_spec='${libname}${release}${shared_ext}$major'
   18897   shlibpath_var=LD_LIBRARY_PATH
   18898   shlibpath_overrides_runpath=yes
   18899   ;;
   18900 
   18901 openbsd*)
   18902   version_type=sunos
   18903   sys_lib_dlsearch_path_spec="/usr/lib"
   18904   need_lib_prefix=no
   18905   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
   18906   case $host_os in
   18907     openbsd3.3 | openbsd3.3.*) need_version=yes ;;
   18908     *)                         need_version=no  ;;
   18909   esac
   18910   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   18911   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   18912   shlibpath_var=LD_LIBRARY_PATH
   18913   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   18914     case $host_os in
   18915       openbsd2.[89] | openbsd2.[89].*)
   18916 	shlibpath_overrides_runpath=no
   18917 	;;
   18918       *)
   18919 	shlibpath_overrides_runpath=yes
   18920 	;;
   18921       esac
   18922   else
   18923     shlibpath_overrides_runpath=yes
   18924   fi
   18925   ;;
   18926 
   18927 os2*)
   18928   libname_spec='$name'
   18929   shrext_cmds=".dll"
   18930   need_lib_prefix=no
   18931   library_names_spec='$libname${shared_ext} $libname.a'
   18932   dynamic_linker='OS/2 ld.exe'
   18933   shlibpath_var=LIBPATH
   18934   ;;
   18935 
   18936 osf3* | osf4* | osf5*)
   18937   version_type=osf
   18938   need_lib_prefix=no
   18939   need_version=no
   18940   soname_spec='${libname}${release}${shared_ext}$major'
   18941   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18942   shlibpath_var=LD_LIBRARY_PATH
   18943   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   18944   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   18945   ;;
   18946 
   18947 rdos*)
   18948   dynamic_linker=no
   18949   ;;
   18950 
   18951 solaris*)
   18952   version_type=linux
   18953   need_lib_prefix=no
   18954   need_version=no
   18955   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18956   soname_spec='${libname}${release}${shared_ext}$major'
   18957   shlibpath_var=LD_LIBRARY_PATH
   18958   shlibpath_overrides_runpath=yes
   18959   hardcode_into_libs=yes
   18960   # ldd complains unless libraries are executable
   18961   postinstall_cmds='chmod +x $lib'
   18962   ;;
   18963 
   18964 sunos4*)
   18965   version_type=sunos
   18966   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   18967   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   18968   shlibpath_var=LD_LIBRARY_PATH
   18969   shlibpath_overrides_runpath=yes
   18970   if test "$with_gnu_ld" = yes; then
   18971     need_lib_prefix=no
   18972   fi
   18973   need_version=yes
   18974   ;;
   18975 
   18976 sysv4 | sysv4.3*)
   18977   version_type=linux
   18978   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18979   soname_spec='${libname}${release}${shared_ext}$major'
   18980   shlibpath_var=LD_LIBRARY_PATH
   18981   case $host_vendor in
   18982     sni)
   18983       shlibpath_overrides_runpath=no
   18984       need_lib_prefix=no
   18985       export_dynamic_flag_spec='${wl}-Blargedynsym'
   18986       runpath_var=LD_RUN_PATH
   18987       ;;
   18988     siemens)
   18989       need_lib_prefix=no
   18990       ;;
   18991     motorola)
   18992       need_lib_prefix=no
   18993       need_version=no
   18994       shlibpath_overrides_runpath=no
   18995       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   18996       ;;
   18997   esac
   18998   ;;
   18999 
   19000 sysv4*MP*)
   19001   if test -d /usr/nec ;then
   19002     version_type=linux
   19003     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
   19004     soname_spec='$libname${shared_ext}.$major'
   19005     shlibpath_var=LD_LIBRARY_PATH
   19006   fi
   19007   ;;
   19008 
   19009 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   19010   version_type=freebsd-elf
   19011   need_lib_prefix=no
   19012   need_version=no
   19013   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   19014   soname_spec='${libname}${release}${shared_ext}$major'
   19015   shlibpath_var=LD_LIBRARY_PATH
   19016   hardcode_into_libs=yes
   19017   if test "$with_gnu_ld" = yes; then
   19018     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   19019     shlibpath_overrides_runpath=no
   19020   else
   19021     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   19022     shlibpath_overrides_runpath=yes
   19023     case $host_os in
   19024       sco3.2v5*)
   19025         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   19026 	;;
   19027     esac
   19028   fi
   19029   sys_lib_dlsearch_path_spec='/usr/lib'
   19030   ;;
   19031 
   19032 uts4*)
   19033   version_type=linux
   19034   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   19035   soname_spec='${libname}${release}${shared_ext}$major'
   19036   shlibpath_var=LD_LIBRARY_PATH
   19037   ;;
   19038 
   19039 *)
   19040   dynamic_linker=no
   19041   ;;
   19042 esac
   19043 { $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
   19044 $as_echo "$dynamic_linker" >&6; }
   19045 test "$dynamic_linker" = no && can_build_shared=no
   19046 
   19047 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
   19048   $as_echo_n "(cached) " >&6
   19049 else
   19050   lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
   19051 fi
   19052 
   19053 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
   19054 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
   19055   $as_echo_n "(cached) " >&6
   19056 else
   19057   lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
   19058 fi
   19059 
   19060 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
   19061 
   19062 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   19063 if test "$GCC" = yes; then
   19064   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   19065 fi
   19066 
   19067 { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
   19068 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
   19069 hardcode_action_GCJ=
   19070 if test -n "$hardcode_libdir_flag_spec_GCJ" || \
   19071    test -n "$runpath_var_GCJ" || \
   19072    test "X$hardcode_automatic_GCJ" = "Xyes" ; then
   19073 
   19074   # We can hardcode non-existant directories.
   19075   if test "$hardcode_direct_GCJ" != no &&
   19076      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   19077      # have to relink, otherwise we might link with an installed library
   19078      # when we should be linking with a yet-to-be-installed one
   19079      ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
   19080      test "$hardcode_minus_L_GCJ" != no; then
   19081     # Linking always hardcodes the temporary library directory.
   19082     hardcode_action_GCJ=relink
   19083   else
   19084     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   19085     hardcode_action_GCJ=immediate
   19086   fi
   19087 else
   19088   # We cannot hardcode anything, or else we can only hardcode existing
   19089   # directories.
   19090   hardcode_action_GCJ=unsupported
   19091 fi
   19092 { $as_echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
   19093 $as_echo "$hardcode_action_GCJ" >&6; }
   19094 
   19095 if test "$hardcode_action_GCJ" = relink; then
   19096   # Fast installation is not supported
   19097   enable_fast_install=no
   19098 elif test "$shlibpath_overrides_runpath" = yes ||
   19099      test "$enable_shared" = no; then
   19100   # Fast installation is not necessary
   19101   enable_fast_install=needless
   19102 fi
   19103 
   19104 
   19105 # The else clause should only fire when bootstrapping the
   19106 # libtool distribution, otherwise you forgot to ship ltmain.sh
   19107 # with your package, and you will get complaints that there are
   19108 # no rules to generate ltmain.sh.
   19109 if test -f "$ltmain"; then
   19110   # See if we are running on zsh, and set the options which allow our commands through
   19111   # without removal of \ escapes.
   19112   if test -n "${ZSH_VERSION+set}" ; then
   19113     setopt NO_GLOB_SUBST
   19114   fi
   19115   # Now quote all the things that may contain metacharacters while being
   19116   # careful not to overquote the AC_SUBSTed values.  We take copies of the
   19117   # variables and quote the copies for generation of the libtool script.
   19118   for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
   19119     SED SHELL STRIP \
   19120     libname_spec library_names_spec soname_spec extract_expsyms_cmds \
   19121     old_striplib striplib file_magic_cmd finish_cmds finish_eval \
   19122     deplibs_check_method reload_flag reload_cmds need_locks \
   19123     lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
   19124     lt_cv_sys_global_symbol_to_c_name_address \
   19125     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
   19126     old_postinstall_cmds old_postuninstall_cmds \
   19127     compiler_GCJ \
   19128     CC_GCJ \
   19129     LD_GCJ \
   19130     lt_prog_compiler_wl_GCJ \
   19131     lt_prog_compiler_pic_GCJ \
   19132     lt_prog_compiler_static_GCJ \
   19133     lt_prog_compiler_no_builtin_flag_GCJ \
   19134     export_dynamic_flag_spec_GCJ \
   19135     thread_safe_flag_spec_GCJ \
   19136     whole_archive_flag_spec_GCJ \
   19137     enable_shared_with_static_runtimes_GCJ \
   19138     old_archive_cmds_GCJ \
   19139     old_archive_from_new_cmds_GCJ \
   19140     predep_objects_GCJ \
   19141     postdep_objects_GCJ \
   19142     predeps_GCJ \
   19143     postdeps_GCJ \
   19144     compiler_lib_search_path_GCJ \
   19145     compiler_lib_search_dirs_GCJ \
   19146     archive_cmds_GCJ \
   19147     archive_expsym_cmds_GCJ \
   19148     postinstall_cmds_GCJ \
   19149     postuninstall_cmds_GCJ \
   19150     old_archive_from_expsyms_cmds_GCJ \
   19151     allow_undefined_flag_GCJ \
   19152     no_undefined_flag_GCJ \
   19153     export_symbols_cmds_GCJ \
   19154     hardcode_libdir_flag_spec_GCJ \
   19155     hardcode_libdir_flag_spec_ld_GCJ \
   19156     hardcode_libdir_separator_GCJ \
   19157     hardcode_automatic_GCJ \
   19158     module_cmds_GCJ \
   19159     module_expsym_cmds_GCJ \
   19160     lt_cv_prog_compiler_c_o_GCJ \
   19161     fix_srcfile_path_GCJ \
   19162     exclude_expsyms_GCJ \
   19163     include_expsyms_GCJ; do
   19164 
   19165     case $var in
   19166     old_archive_cmds_GCJ | \
   19167     old_archive_from_new_cmds_GCJ | \
   19168     archive_cmds_GCJ | \
   19169     archive_expsym_cmds_GCJ | \
   19170     module_cmds_GCJ | \
   19171     module_expsym_cmds_GCJ | \
   19172     old_archive_from_expsyms_cmds_GCJ | \
   19173     export_symbols_cmds_GCJ | \
   19174     extract_expsyms_cmds | reload_cmds | finish_cmds | \
   19175     postinstall_cmds | postuninstall_cmds | \
   19176     old_postinstall_cmds | old_postuninstall_cmds | \
   19177     sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
   19178       # Double-quote double-evaled strings.
   19179       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
   19180       ;;
   19181     *)
   19182       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
   19183       ;;
   19184     esac
   19185   done
   19186 
   19187   case $lt_echo in
   19188   *'\$0 --fallback-echo"')
   19189     lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
   19190     ;;
   19191   esac
   19192 
   19193 cfgfile="$ofile"
   19194 
   19195   cat <<__EOF__ >> "$cfgfile"
   19196 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
   19197 
   19198 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   19199 
   19200 # Shell to use when invoking shell scripts.
   19201 SHELL=$lt_SHELL
   19202 
   19203 # Whether or not to build shared libraries.
   19204 build_libtool_libs=$enable_shared
   19205 
   19206 # Whether or not to build static libraries.
   19207 build_old_libs=$enable_static
   19208 
   19209 # Whether or not to add -lc for building shared libraries.
   19210 build_libtool_need_lc=$archive_cmds_need_lc_GCJ
   19211 
   19212 # Whether or not to disallow shared libs when runtime libs are static
   19213 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
   19214 
   19215 # Whether or not to optimize for fast installation.
   19216 fast_install=$enable_fast_install
   19217 
   19218 # The host system.
   19219 host_alias=$host_alias
   19220 host=$host
   19221 host_os=$host_os
   19222 
   19223 # The build system.
   19224 build_alias=$build_alias
   19225 build=$build
   19226 build_os=$build_os
   19227 
   19228 # An echo program that does not interpret backslashes.
   19229 echo=$lt_echo
   19230 
   19231 # The archiver.
   19232 AR=$lt_AR
   19233 AR_FLAGS=$lt_AR_FLAGS
   19234 
   19235 # A C compiler.
   19236 LTCC=$lt_LTCC
   19237 
   19238 # LTCC compiler flags.
   19239 LTCFLAGS=$lt_LTCFLAGS
   19240 
   19241 # A language-specific compiler.
   19242 CC=$lt_compiler_GCJ
   19243 
   19244 # Is the compiler the GNU C compiler?
   19245 with_gcc=$GCC_GCJ
   19246 
   19247 # An ERE matcher.
   19248 EGREP=$lt_EGREP
   19249 
   19250 # The linker used to build libraries.
   19251 LD=$lt_LD_GCJ
   19252 
   19253 # Whether we need hard or soft links.
   19254 LN_S=$lt_LN_S
   19255 
   19256 # A BSD-compatible nm program.
   19257 NM=$lt_NM
   19258 
   19259 # A symbol stripping program
   19260 STRIP=$lt_STRIP
   19261 
   19262 # Used to examine libraries when file_magic_cmd begins "file"
   19263 MAGIC_CMD=$MAGIC_CMD
   19264 
   19265 # Used on cygwin: DLL creation program.
   19266 DLLTOOL="$DLLTOOL"
   19267 
   19268 # Used on cygwin: object dumper.
   19269 OBJDUMP="$OBJDUMP"
   19270 
   19271 # Used on cygwin: assembler.
   19272 AS="$AS"
   19273 
   19274 # The name of the directory that contains temporary libtool files.
   19275 objdir=$objdir
   19276 
   19277 # How to create reloadable object files.
   19278 reload_flag=$lt_reload_flag
   19279 reload_cmds=$lt_reload_cmds
   19280 
   19281 # How to pass a linker flag through the compiler.
   19282 wl=$lt_lt_prog_compiler_wl_GCJ
   19283 
   19284 # Object file suffix (normally "o").
   19285 objext="$ac_objext"
   19286 
   19287 # Old archive suffix (normally "a").
   19288 libext="$libext"
   19289 
   19290 # Shared library suffix (normally ".so").
   19291 shrext_cmds='$shrext_cmds'
   19292 
   19293 # Executable file suffix (normally "").
   19294 exeext="$exeext"
   19295 
   19296 # Additional compiler flags for building library objects.
   19297 pic_flag=$lt_lt_prog_compiler_pic_GCJ
   19298 pic_mode=$pic_mode
   19299 
   19300 # What is the maximum length of a command?
   19301 max_cmd_len=$lt_cv_sys_max_cmd_len
   19302 
   19303 # Does compiler simultaneously support -c and -o options?
   19304 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
   19305 
   19306 # Must we lock files when doing compilation?
   19307 need_locks=$lt_need_locks
   19308 
   19309 # Do we need the lib prefix for modules?
   19310 need_lib_prefix=$need_lib_prefix
   19311 
   19312 # Do we need a version for libraries?
   19313 need_version=$need_version
   19314 
   19315 # Whether dlopen is supported.
   19316 dlopen_support=$enable_dlopen
   19317 
   19318 # Whether dlopen of programs is supported.
   19319 dlopen_self=$enable_dlopen_self
   19320 
   19321 # Whether dlopen of statically linked programs is supported.
   19322 dlopen_self_static=$enable_dlopen_self_static
   19323 
   19324 # Compiler flag to prevent dynamic linking.
   19325 link_static_flag=$lt_lt_prog_compiler_static_GCJ
   19326 
   19327 # Compiler flag to turn off builtin functions.
   19328 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
   19329 
   19330 # Compiler flag to allow reflexive dlopens.
   19331 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
   19332 
   19333 # Compiler flag to generate shared objects directly from archives.
   19334 whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
   19335 
   19336 # Compiler flag to generate thread-safe objects.
   19337 thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
   19338 
   19339 # Library versioning type.
   19340 version_type=$version_type
   19341 
   19342 # Format of library name prefix.
   19343 libname_spec=$lt_libname_spec
   19344 
   19345 # List of archive names.  First name is the real one, the rest are links.
   19346 # The last name is the one that the linker finds with -lNAME.
   19347 library_names_spec=$lt_library_names_spec
   19348 
   19349 # The coded name of the library, if different from the real name.
   19350 soname_spec=$lt_soname_spec
   19351 
   19352 # Commands used to build and install an old-style archive.
   19353 RANLIB=$lt_RANLIB
   19354 old_archive_cmds=$lt_old_archive_cmds_GCJ
   19355 old_postinstall_cmds=$lt_old_postinstall_cmds
   19356 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   19357 
   19358 # Create an old-style archive from a shared archive.
   19359 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
   19360 
   19361 # Create a temporary old-style archive to link instead of a shared archive.
   19362 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
   19363 
   19364 # Commands used to build and install a shared archive.
   19365 archive_cmds=$lt_archive_cmds_GCJ
   19366 archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
   19367 postinstall_cmds=$lt_postinstall_cmds
   19368 postuninstall_cmds=$lt_postuninstall_cmds
   19369 
   19370 # Commands used to build a loadable module (assumed same as above if empty)
   19371 module_cmds=$lt_module_cmds_GCJ
   19372 module_expsym_cmds=$lt_module_expsym_cmds_GCJ
   19373 
   19374 # Commands to strip libraries.
   19375 old_striplib=$lt_old_striplib
   19376 striplib=$lt_striplib
   19377 
   19378 # Dependencies to place before the objects being linked to create a
   19379 # shared library.
   19380 predep_objects=$lt_predep_objects_GCJ
   19381 
   19382 # Dependencies to place after the objects being linked to create a
   19383 # shared library.
   19384 postdep_objects=$lt_postdep_objects_GCJ
   19385 
   19386 # Dependencies to place before the objects being linked to create a
   19387 # shared library.
   19388 predeps=$lt_predeps_GCJ
   19389 
   19390 # Dependencies to place after the objects being linked to create a
   19391 # shared library.
   19392 postdeps=$lt_postdeps_GCJ
   19393 
   19394 # The directories searched by this compiler when creating a shared
   19395 # library
   19396 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_GCJ
   19397 
   19398 # The library search path used internally by the compiler when linking
   19399 # a shared library.
   19400 compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
   19401 
   19402 # Method to check whether dependent libraries are shared objects.
   19403 deplibs_check_method=$lt_deplibs_check_method
   19404 
   19405 # Command to use when deplibs_check_method == file_magic.
   19406 file_magic_cmd=$lt_file_magic_cmd
   19407 
   19408 # Flag that allows shared libraries with undefined symbols to be built.
   19409 allow_undefined_flag=$lt_allow_undefined_flag_GCJ
   19410 
   19411 # Flag that forces no undefined symbols.
   19412 no_undefined_flag=$lt_no_undefined_flag_GCJ
   19413 
   19414 # Commands used to finish a libtool library installation in a directory.
   19415 finish_cmds=$lt_finish_cmds
   19416 
   19417 # Same as above, but a single script fragment to be evaled but not shown.
   19418 finish_eval=$lt_finish_eval
   19419 
   19420 # Take the output of nm and produce a listing of raw symbols and C names.
   19421 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   19422 
   19423 # Transform the output of nm in a proper C declaration
   19424 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   19425 
   19426 # Transform the output of nm in a C name address pair
   19427 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   19428 
   19429 # This is the shared library runtime path variable.
   19430 runpath_var=$runpath_var
   19431 
   19432 # This is the shared library path variable.
   19433 shlibpath_var=$shlibpath_var
   19434 
   19435 # Is shlibpath searched before the hard-coded library search path?
   19436 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   19437 
   19438 # How to hardcode a shared library path into an executable.
   19439 hardcode_action=$hardcode_action_GCJ
   19440 
   19441 # Whether we should hardcode library paths into libraries.
   19442 hardcode_into_libs=$hardcode_into_libs
   19443 
   19444 # Flag to hardcode \$libdir into a binary during linking.
   19445 # This must work even if \$libdir does not exist.
   19446 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
   19447 
   19448 # If ld is used when linking, flag to hardcode \$libdir into
   19449 # a binary during linking. This must work even if \$libdir does
   19450 # not exist.
   19451 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
   19452 
   19453 # Whether we need a single -rpath flag with a separated argument.
   19454 hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
   19455 
   19456 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
   19457 # resulting binary.
   19458 hardcode_direct=$hardcode_direct_GCJ
   19459 
   19460 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
   19461 # resulting binary.
   19462 hardcode_minus_L=$hardcode_minus_L_GCJ
   19463 
   19464 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
   19465 # the resulting binary.
   19466 hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
   19467 
   19468 # Set to yes if building a shared library automatically hardcodes DIR into the library
   19469 # and all subsequent libraries and executables linked against it.
   19470 hardcode_automatic=$hardcode_automatic_GCJ
   19471 
   19472 # Variables whose values should be saved in libtool wrapper scripts and
   19473 # restored at relink time.
   19474 variables_saved_for_relink="$variables_saved_for_relink"
   19475 
   19476 # Whether libtool must link a program against all its dependency libraries.
   19477 link_all_deplibs=$link_all_deplibs_GCJ
   19478 
   19479 # Compile-time system search path for libraries
   19480 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   19481 
   19482 # Run-time system search path for libraries
   19483 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   19484 
   19485 # Fix the shell variable \$srcfile for the compiler.
   19486 fix_srcfile_path=$lt_fix_srcfile_path
   19487 
   19488 # Set to yes if exported symbols are required.
   19489 always_export_symbols=$always_export_symbols_GCJ
   19490 
   19491 # The commands to list exported symbols.
   19492 export_symbols_cmds=$lt_export_symbols_cmds_GCJ
   19493 
   19494 # The commands to extract the exported symbol list from a shared archive.
   19495 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   19496 
   19497 # Symbols that should not be listed in the preloaded symbols.
   19498 exclude_expsyms=$lt_exclude_expsyms_GCJ
   19499 
   19500 # Symbols that must always be exported.
   19501 include_expsyms=$lt_include_expsyms_GCJ
   19502 
   19503 # ### END LIBTOOL TAG CONFIG: $tagname
   19504 
   19505 __EOF__
   19506 
   19507 
   19508 else
   19509   # If there is no Makefile yet, we rely on a make rule to execute
   19510   # `config.status --recheck' to rerun these tests and create the
   19511   # libtool script then.
   19512   ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
   19513   if test -f "$ltmain_in"; then
   19514     test -f Makefile && make "$ltmain"
   19515   fi
   19516 fi
   19517 
   19518 
   19519 ac_ext=c
   19520 ac_cpp='$CPP $CPPFLAGS'
   19521 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   19522 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   19523 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   19524 
   19525 CC="$lt_save_CC"
   19526 
   19527 	else
   19528 	  tagname=""
   19529 	fi
   19530 	;;
   19531 
   19532       RC)
   19533 
   19534 
   19535 # Source file extension for RC test sources.
   19536 ac_ext=rc
   19537 
   19538 # Object file extension for compiled RC test sources.
   19539 objext=o
   19540 objext_RC=$objext
   19541 
   19542 # Code to be used in simple compile tests
   19543 lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }'
   19544 
   19545 # Code to be used in simple link tests
   19546 lt_simple_link_test_code="$lt_simple_compile_test_code"
   19547 
   19548 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
   19549 
   19550 # If no C compiler was specified, use CC.
   19551 LTCC=${LTCC-"$CC"}
   19552 
   19553 # If no C compiler flags were specified, use CFLAGS.
   19554 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   19555 
   19556 # Allow CC to be a program name with arguments.
   19557 compiler=$CC
   19558 
   19559 
   19560 # save warnings/boilerplate of simple test code
   19561 ac_outfile=conftest.$ac_objext
   19562 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   19563 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   19564 _lt_compiler_boilerplate=`cat conftest.err`
   19565 $rm conftest*
   19566 
   19567 ac_outfile=conftest.$ac_objext
   19568 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   19569 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   19570 _lt_linker_boilerplate=`cat conftest.err`
   19571 $rm -r conftest*
   19572 
   19573 
   19574 # Allow CC to be a program name with arguments.
   19575 lt_save_CC="$CC"
   19576 CC=${RC-"windres"}
   19577 compiler=$CC
   19578 compiler_RC=$CC
   19579 for cc_temp in $compiler""; do
   19580   case $cc_temp in
   19581     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   19582     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   19583     \-*) ;;
   19584     *) break;;
   19585   esac
   19586 done
   19587 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   19588 
   19589 lt_cv_prog_compiler_c_o_RC=yes
   19590 
   19591 # The else clause should only fire when bootstrapping the
   19592 # libtool distribution, otherwise you forgot to ship ltmain.sh
   19593 # with your package, and you will get complaints that there are
   19594 # no rules to generate ltmain.sh.
   19595 if test -f "$ltmain"; then
   19596   # See if we are running on zsh, and set the options which allow our commands through
   19597   # without removal of \ escapes.
   19598   if test -n "${ZSH_VERSION+set}" ; then
   19599     setopt NO_GLOB_SUBST
   19600   fi
   19601   # Now quote all the things that may contain metacharacters while being
   19602   # careful not to overquote the AC_SUBSTed values.  We take copies of the
   19603   # variables and quote the copies for generation of the libtool script.
   19604   for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
   19605     SED SHELL STRIP \
   19606     libname_spec library_names_spec soname_spec extract_expsyms_cmds \
   19607     old_striplib striplib file_magic_cmd finish_cmds finish_eval \
   19608     deplibs_check_method reload_flag reload_cmds need_locks \
   19609     lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
   19610     lt_cv_sys_global_symbol_to_c_name_address \
   19611     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
   19612     old_postinstall_cmds old_postuninstall_cmds \
   19613     compiler_RC \
   19614     CC_RC \
   19615     LD_RC \
   19616     lt_prog_compiler_wl_RC \
   19617     lt_prog_compiler_pic_RC \
   19618     lt_prog_compiler_static_RC \
   19619     lt_prog_compiler_no_builtin_flag_RC \
   19620     export_dynamic_flag_spec_RC \
   19621     thread_safe_flag_spec_RC \
   19622     whole_archive_flag_spec_RC \
   19623     enable_shared_with_static_runtimes_RC \
   19624     old_archive_cmds_RC \
   19625     old_archive_from_new_cmds_RC \
   19626     predep_objects_RC \
   19627     postdep_objects_RC \
   19628     predeps_RC \
   19629     postdeps_RC \
   19630     compiler_lib_search_path_RC \
   19631     compiler_lib_search_dirs_RC \
   19632     archive_cmds_RC \
   19633     archive_expsym_cmds_RC \
   19634     postinstall_cmds_RC \
   19635     postuninstall_cmds_RC \
   19636     old_archive_from_expsyms_cmds_RC \
   19637     allow_undefined_flag_RC \
   19638     no_undefined_flag_RC \
   19639     export_symbols_cmds_RC \
   19640     hardcode_libdir_flag_spec_RC \
   19641     hardcode_libdir_flag_spec_ld_RC \
   19642     hardcode_libdir_separator_RC \
   19643     hardcode_automatic_RC \
   19644     module_cmds_RC \
   19645     module_expsym_cmds_RC \
   19646     lt_cv_prog_compiler_c_o_RC \
   19647     fix_srcfile_path_RC \
   19648     exclude_expsyms_RC \
   19649     include_expsyms_RC; do
   19650 
   19651     case $var in
   19652     old_archive_cmds_RC | \
   19653     old_archive_from_new_cmds_RC | \
   19654     archive_cmds_RC | \
   19655     archive_expsym_cmds_RC | \
   19656     module_cmds_RC | \
   19657     module_expsym_cmds_RC | \
   19658     old_archive_from_expsyms_cmds_RC | \
   19659     export_symbols_cmds_RC | \
   19660     extract_expsyms_cmds | reload_cmds | finish_cmds | \
   19661     postinstall_cmds | postuninstall_cmds | \
   19662     old_postinstall_cmds | old_postuninstall_cmds | \
   19663     sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
   19664       # Double-quote double-evaled strings.
   19665       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
   19666       ;;
   19667     *)
   19668       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
   19669       ;;
   19670     esac
   19671   done
   19672 
   19673   case $lt_echo in
   19674   *'\$0 --fallback-echo"')
   19675     lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
   19676     ;;
   19677   esac
   19678 
   19679 cfgfile="$ofile"
   19680 
   19681   cat <<__EOF__ >> "$cfgfile"
   19682 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
   19683 
   19684 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   19685 
   19686 # Shell to use when invoking shell scripts.
   19687 SHELL=$lt_SHELL
   19688 
   19689 # Whether or not to build shared libraries.
   19690 build_libtool_libs=$enable_shared
   19691 
   19692 # Whether or not to build static libraries.
   19693 build_old_libs=$enable_static
   19694 
   19695 # Whether or not to add -lc for building shared libraries.
   19696 build_libtool_need_lc=$archive_cmds_need_lc_RC
   19697 
   19698 # Whether or not to disallow shared libs when runtime libs are static
   19699 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
   19700 
   19701 # Whether or not to optimize for fast installation.
   19702 fast_install=$enable_fast_install
   19703 
   19704 # The host system.
   19705 host_alias=$host_alias
   19706 host=$host
   19707 host_os=$host_os
   19708 
   19709 # The build system.
   19710 build_alias=$build_alias
   19711 build=$build
   19712 build_os=$build_os
   19713 
   19714 # An echo program that does not interpret backslashes.
   19715 echo=$lt_echo
   19716 
   19717 # The archiver.
   19718 AR=$lt_AR
   19719 AR_FLAGS=$lt_AR_FLAGS
   19720 
   19721 # A C compiler.
   19722 LTCC=$lt_LTCC
   19723 
   19724 # LTCC compiler flags.
   19725 LTCFLAGS=$lt_LTCFLAGS
   19726 
   19727 # A language-specific compiler.
   19728 CC=$lt_compiler_RC
   19729 
   19730 # Is the compiler the GNU C compiler?
   19731 with_gcc=$GCC_RC
   19732 
   19733 # An ERE matcher.
   19734 EGREP=$lt_EGREP
   19735 
   19736 # The linker used to build libraries.
   19737 LD=$lt_LD_RC
   19738 
   19739 # Whether we need hard or soft links.
   19740 LN_S=$lt_LN_S
   19741 
   19742 # A BSD-compatible nm program.
   19743 NM=$lt_NM
   19744 
   19745 # A symbol stripping program
   19746 STRIP=$lt_STRIP
   19747 
   19748 # Used to examine libraries when file_magic_cmd begins "file"
   19749 MAGIC_CMD=$MAGIC_CMD
   19750 
   19751 # Used on cygwin: DLL creation program.
   19752 DLLTOOL="$DLLTOOL"
   19753 
   19754 # Used on cygwin: object dumper.
   19755 OBJDUMP="$OBJDUMP"
   19756 
   19757 # Used on cygwin: assembler.
   19758 AS="$AS"
   19759 
   19760 # The name of the directory that contains temporary libtool files.
   19761 objdir=$objdir
   19762 
   19763 # How to create reloadable object files.
   19764 reload_flag=$lt_reload_flag
   19765 reload_cmds=$lt_reload_cmds
   19766 
   19767 # How to pass a linker flag through the compiler.
   19768 wl=$lt_lt_prog_compiler_wl_RC
   19769 
   19770 # Object file suffix (normally "o").
   19771 objext="$ac_objext"
   19772 
   19773 # Old archive suffix (normally "a").
   19774 libext="$libext"
   19775 
   19776 # Shared library suffix (normally ".so").
   19777 shrext_cmds='$shrext_cmds'
   19778 
   19779 # Executable file suffix (normally "").
   19780 exeext="$exeext"
   19781 
   19782 # Additional compiler flags for building library objects.
   19783 pic_flag=$lt_lt_prog_compiler_pic_RC
   19784 pic_mode=$pic_mode
   19785 
   19786 # What is the maximum length of a command?
   19787 max_cmd_len=$lt_cv_sys_max_cmd_len
   19788 
   19789 # Does compiler simultaneously support -c and -o options?
   19790 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
   19791 
   19792 # Must we lock files when doing compilation?
   19793 need_locks=$lt_need_locks
   19794 
   19795 # Do we need the lib prefix for modules?
   19796 need_lib_prefix=$need_lib_prefix
   19797 
   19798 # Do we need a version for libraries?
   19799 need_version=$need_version
   19800 
   19801 # Whether dlopen is supported.
   19802 dlopen_support=$enable_dlopen
   19803 
   19804 # Whether dlopen of programs is supported.
   19805 dlopen_self=$enable_dlopen_self
   19806 
   19807 # Whether dlopen of statically linked programs is supported.
   19808 dlopen_self_static=$enable_dlopen_self_static
   19809 
   19810 # Compiler flag to prevent dynamic linking.
   19811 link_static_flag=$lt_lt_prog_compiler_static_RC
   19812 
   19813 # Compiler flag to turn off builtin functions.
   19814 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
   19815 
   19816 # Compiler flag to allow reflexive dlopens.
   19817 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
   19818 
   19819 # Compiler flag to generate shared objects directly from archives.
   19820 whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
   19821 
   19822 # Compiler flag to generate thread-safe objects.
   19823 thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
   19824 
   19825 # Library versioning type.
   19826 version_type=$version_type
   19827 
   19828 # Format of library name prefix.
   19829 libname_spec=$lt_libname_spec
   19830 
   19831 # List of archive names.  First name is the real one, the rest are links.
   19832 # The last name is the one that the linker finds with -lNAME.
   19833 library_names_spec=$lt_library_names_spec
   19834 
   19835 # The coded name of the library, if different from the real name.
   19836 soname_spec=$lt_soname_spec
   19837 
   19838 # Commands used to build and install an old-style archive.
   19839 RANLIB=$lt_RANLIB
   19840 old_archive_cmds=$lt_old_archive_cmds_RC
   19841 old_postinstall_cmds=$lt_old_postinstall_cmds
   19842 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   19843 
   19844 # Create an old-style archive from a shared archive.
   19845 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
   19846 
   19847 # Create a temporary old-style archive to link instead of a shared archive.
   19848 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
   19849 
   19850 # Commands used to build and install a shared archive.
   19851 archive_cmds=$lt_archive_cmds_RC
   19852 archive_expsym_cmds=$lt_archive_expsym_cmds_RC
   19853 postinstall_cmds=$lt_postinstall_cmds
   19854 postuninstall_cmds=$lt_postuninstall_cmds
   19855 
   19856 # Commands used to build a loadable module (assumed same as above if empty)
   19857 module_cmds=$lt_module_cmds_RC
   19858 module_expsym_cmds=$lt_module_expsym_cmds_RC
   19859 
   19860 # Commands to strip libraries.
   19861 old_striplib=$lt_old_striplib
   19862 striplib=$lt_striplib
   19863 
   19864 # Dependencies to place before the objects being linked to create a
   19865 # shared library.
   19866 predep_objects=$lt_predep_objects_RC
   19867 
   19868 # Dependencies to place after the objects being linked to create a
   19869 # shared library.
   19870 postdep_objects=$lt_postdep_objects_RC
   19871 
   19872 # Dependencies to place before the objects being linked to create a
   19873 # shared library.
   19874 predeps=$lt_predeps_RC
   19875 
   19876 # Dependencies to place after the objects being linked to create a
   19877 # shared library.
   19878 postdeps=$lt_postdeps_RC
   19879 
   19880 # The directories searched by this compiler when creating a shared
   19881 # library
   19882 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_RC
   19883 
   19884 # The library search path used internally by the compiler when linking
   19885 # a shared library.
   19886 compiler_lib_search_path=$lt_compiler_lib_search_path_RC
   19887 
   19888 # Method to check whether dependent libraries are shared objects.
   19889 deplibs_check_method=$lt_deplibs_check_method
   19890 
   19891 # Command to use when deplibs_check_method == file_magic.
   19892 file_magic_cmd=$lt_file_magic_cmd
   19893 
   19894 # Flag that allows shared libraries with undefined symbols to be built.
   19895 allow_undefined_flag=$lt_allow_undefined_flag_RC
   19896 
   19897 # Flag that forces no undefined symbols.
   19898 no_undefined_flag=$lt_no_undefined_flag_RC
   19899 
   19900 # Commands used to finish a libtool library installation in a directory.
   19901 finish_cmds=$lt_finish_cmds
   19902 
   19903 # Same as above, but a single script fragment to be evaled but not shown.
   19904 finish_eval=$lt_finish_eval
   19905 
   19906 # Take the output of nm and produce a listing of raw symbols and C names.
   19907 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   19908 
   19909 # Transform the output of nm in a proper C declaration
   19910 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   19911 
   19912 # Transform the output of nm in a C name address pair
   19913 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   19914 
   19915 # This is the shared library runtime path variable.
   19916 runpath_var=$runpath_var
   19917 
   19918 # This is the shared library path variable.
   19919 shlibpath_var=$shlibpath_var
   19920 
   19921 # Is shlibpath searched before the hard-coded library search path?
   19922 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   19923 
   19924 # How to hardcode a shared library path into an executable.
   19925 hardcode_action=$hardcode_action_RC
   19926 
   19927 # Whether we should hardcode library paths into libraries.
   19928 hardcode_into_libs=$hardcode_into_libs
   19929 
   19930 # Flag to hardcode \$libdir into a binary during linking.
   19931 # This must work even if \$libdir does not exist.
   19932 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
   19933 
   19934 # If ld is used when linking, flag to hardcode \$libdir into
   19935 # a binary during linking. This must work even if \$libdir does
   19936 # not exist.
   19937 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
   19938 
   19939 # Whether we need a single -rpath flag with a separated argument.
   19940 hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
   19941 
   19942 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
   19943 # resulting binary.
   19944 hardcode_direct=$hardcode_direct_RC
   19945 
   19946 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
   19947 # resulting binary.
   19948 hardcode_minus_L=$hardcode_minus_L_RC
   19949 
   19950 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
   19951 # the resulting binary.
   19952 hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
   19953 
   19954 # Set to yes if building a shared library automatically hardcodes DIR into the library
   19955 # and all subsequent libraries and executables linked against it.
   19956 hardcode_automatic=$hardcode_automatic_RC
   19957 
   19958 # Variables whose values should be saved in libtool wrapper scripts and
   19959 # restored at relink time.
   19960 variables_saved_for_relink="$variables_saved_for_relink"
   19961 
   19962 # Whether libtool must link a program against all its dependency libraries.
   19963 link_all_deplibs=$link_all_deplibs_RC
   19964 
   19965 # Compile-time system search path for libraries
   19966 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   19967 
   19968 # Run-time system search path for libraries
   19969 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   19970 
   19971 # Fix the shell variable \$srcfile for the compiler.
   19972 fix_srcfile_path=$lt_fix_srcfile_path
   19973 
   19974 # Set to yes if exported symbols are required.
   19975 always_export_symbols=$always_export_symbols_RC
   19976 
   19977 # The commands to list exported symbols.
   19978 export_symbols_cmds=$lt_export_symbols_cmds_RC
   19979 
   19980 # The commands to extract the exported symbol list from a shared archive.
   19981 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   19982 
   19983 # Symbols that should not be listed in the preloaded symbols.
   19984 exclude_expsyms=$lt_exclude_expsyms_RC
   19985 
   19986 # Symbols that must always be exported.
   19987 include_expsyms=$lt_include_expsyms_RC
   19988 
   19989 # ### END LIBTOOL TAG CONFIG: $tagname
   19990 
   19991 __EOF__
   19992 
   19993 
   19994 else
   19995   # If there is no Makefile yet, we rely on a make rule to execute
   19996   # `config.status --recheck' to rerun these tests and create the
   19997   # libtool script then.
   19998   ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
   19999   if test -f "$ltmain_in"; then
   20000     test -f Makefile && make "$ltmain"
   20001   fi
   20002 fi
   20003 
   20004 
   20005 ac_ext=c
   20006 ac_cpp='$CPP $CPPFLAGS'
   20007 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   20008 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   20009 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   20010 
   20011 CC="$lt_save_CC"
   20012 
   20013 	;;
   20014 
   20015       *)
   20016 	{ { $as_echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
   20017 $as_echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
   20018    { (exit 1); exit 1; }; }
   20019 	;;
   20020       esac
   20021 
   20022       # Append the new tag name to the list of available tags.
   20023       if test -n "$tagname" ; then
   20024       available_tags="$available_tags $tagname"
   20025     fi
   20026     fi
   20027   done
   20028   IFS="$lt_save_ifs"
   20029 
   20030   # Now substitute the updated list of available tags.
   20031   if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
   20032     mv "${ofile}T" "$ofile"
   20033     chmod +x "$ofile"
   20034   else
   20035     rm -f "${ofile}T"
   20036     { { $as_echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
   20037 $as_echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
   20038    { (exit 1); exit 1; }; }
   20039   fi
   20040 fi
   20041 
   20042 
   20043 
   20044 # This can be used to rebuild libtool when needed
   20045 LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
   20046 
   20047 # Always use our own libtool.
   20048 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
   20049 
   20050 # Prevent multiple expansion
   20051 
   20052 
   20053 
   20054 
   20055 
   20056 
   20057 
   20058 
   20059 
   20060 
   20061 
   20062 
   20063 
   20064 
   20065 
   20066 
   20067 
   20068 
   20069 
   20070 
   20071 ac_ext=c
   20072 ac_cpp='$CPP $CPPFLAGS'
   20073 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   20074 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   20075 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   20076 if test -n "$ac_tool_prefix"; then
   20077   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   20078 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   20079 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   20080 $as_echo_n "checking for $ac_word... " >&6; }
   20081 if test "${ac_cv_prog_CC+set}" = set; then
   20082   $as_echo_n "(cached) " >&6
   20083 else
   20084   if test -n "$CC"; then
   20085   ac_cv_prog_CC="$CC" # Let the user override the test.
   20086 else
   20087 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   20088 for as_dir in $PATH
   20089 do
   20090   IFS=$as_save_IFS
   20091   test -z "$as_dir" && as_dir=.
   20092   for ac_exec_ext in '' $ac_executable_extensions; do
   20093   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   20094     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   20095     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   20096     break 2
   20097   fi
   20098 done
   20099 done
   20100 IFS=$as_save_IFS
   20101 
   20102 fi
   20103 fi
   20104 CC=$ac_cv_prog_CC
   20105 if test -n "$CC"; then
   20106   { $as_echo "$as_me:$LINENO: result: $CC" >&5
   20107 $as_echo "$CC" >&6; }
   20108 else
   20109   { $as_echo "$as_me:$LINENO: result: no" >&5
   20110 $as_echo "no" >&6; }
   20111 fi
   20112 
   20113 
   20114 fi
   20115 if test -z "$ac_cv_prog_CC"; then
   20116   ac_ct_CC=$CC
   20117   # Extract the first word of "gcc", so it can be a program name with args.
   20118 set dummy gcc; ac_word=$2
   20119 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   20120 $as_echo_n "checking for $ac_word... " >&6; }
   20121 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
   20122   $as_echo_n "(cached) " >&6
   20123 else
   20124   if test -n "$ac_ct_CC"; then
   20125   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   20126 else
   20127 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   20128 for as_dir in $PATH
   20129 do
   20130   IFS=$as_save_IFS
   20131   test -z "$as_dir" && as_dir=.
   20132   for ac_exec_ext in '' $ac_executable_extensions; do
   20133   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   20134     ac_cv_prog_ac_ct_CC="gcc"
   20135     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   20136     break 2
   20137   fi
   20138 done
   20139 done
   20140 IFS=$as_save_IFS
   20141 
   20142 fi
   20143 fi
   20144 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   20145 if test -n "$ac_ct_CC"; then
   20146   { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
   20147 $as_echo "$ac_ct_CC" >&6; }
   20148 else
   20149   { $as_echo "$as_me:$LINENO: result: no" >&5
   20150 $as_echo "no" >&6; }
   20151 fi
   20152 
   20153   if test "x$ac_ct_CC" = x; then
   20154     CC=""
   20155   else
   20156     case $cross_compiling:$ac_tool_warned in
   20157 yes:)
   20158 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   20159 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   20160 ac_tool_warned=yes ;;
   20161 esac
   20162     CC=$ac_ct_CC
   20163   fi
   20164 else
   20165   CC="$ac_cv_prog_CC"
   20166 fi
   20167 
   20168 if test -z "$CC"; then
   20169           if test -n "$ac_tool_prefix"; then
   20170     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   20171 set dummy ${ac_tool_prefix}cc; ac_word=$2
   20172 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   20173 $as_echo_n "checking for $ac_word... " >&6; }
   20174 if test "${ac_cv_prog_CC+set}" = set; then
   20175   $as_echo_n "(cached) " >&6
   20176 else
   20177   if test -n "$CC"; then
   20178   ac_cv_prog_CC="$CC" # Let the user override the test.
   20179 else
   20180 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   20181 for as_dir in $PATH
   20182 do
   20183   IFS=$as_save_IFS
   20184   test -z "$as_dir" && as_dir=.
   20185   for ac_exec_ext in '' $ac_executable_extensions; do
   20186   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   20187     ac_cv_prog_CC="${ac_tool_prefix}cc"
   20188     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   20189     break 2
   20190   fi
   20191 done
   20192 done
   20193 IFS=$as_save_IFS
   20194 
   20195 fi
   20196 fi
   20197 CC=$ac_cv_prog_CC
   20198 if test -n "$CC"; then
   20199   { $as_echo "$as_me:$LINENO: result: $CC" >&5
   20200 $as_echo "$CC" >&6; }
   20201 else
   20202   { $as_echo "$as_me:$LINENO: result: no" >&5
   20203 $as_echo "no" >&6; }
   20204 fi
   20205 
   20206 
   20207   fi
   20208 fi
   20209 if test -z "$CC"; then
   20210   # Extract the first word of "cc", so it can be a program name with args.
   20211 set dummy cc; ac_word=$2
   20212 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   20213 $as_echo_n "checking for $ac_word... " >&6; }
   20214 if test "${ac_cv_prog_CC+set}" = set; then
   20215   $as_echo_n "(cached) " >&6
   20216 else
   20217   if test -n "$CC"; then
   20218   ac_cv_prog_CC="$CC" # Let the user override the test.
   20219 else
   20220   ac_prog_rejected=no
   20221 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   20222 for as_dir in $PATH
   20223 do
   20224   IFS=$as_save_IFS
   20225   test -z "$as_dir" && as_dir=.
   20226   for ac_exec_ext in '' $ac_executable_extensions; do
   20227   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   20228     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   20229        ac_prog_rejected=yes
   20230        continue
   20231      fi
   20232     ac_cv_prog_CC="cc"
   20233     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   20234     break 2
   20235   fi
   20236 done
   20237 done
   20238 IFS=$as_save_IFS
   20239 
   20240 if test $ac_prog_rejected = yes; then
   20241   # We found a bogon in the path, so make sure we never use it.
   20242   set dummy $ac_cv_prog_CC
   20243   shift
   20244   if test $# != 0; then
   20245     # We chose a different compiler from the bogus one.
   20246     # However, it has the same basename, so the bogon will be chosen
   20247     # first if we set CC to just the basename; use the full file name.
   20248     shift
   20249     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   20250   fi
   20251 fi
   20252 fi
   20253 fi
   20254 CC=$ac_cv_prog_CC
   20255 if test -n "$CC"; then
   20256   { $as_echo "$as_me:$LINENO: result: $CC" >&5
   20257 $as_echo "$CC" >&6; }
   20258 else
   20259   { $as_echo "$as_me:$LINENO: result: no" >&5
   20260 $as_echo "no" >&6; }
   20261 fi
   20262 
   20263 
   20264 fi
   20265 if test -z "$CC"; then
   20266   if test -n "$ac_tool_prefix"; then
   20267   for ac_prog in cl.exe
   20268   do
   20269     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   20270 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   20271 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   20272 $as_echo_n "checking for $ac_word... " >&6; }
   20273 if test "${ac_cv_prog_CC+set}" = set; then
   20274   $as_echo_n "(cached) " >&6
   20275 else
   20276   if test -n "$CC"; then
   20277   ac_cv_prog_CC="$CC" # Let the user override the test.
   20278 else
   20279 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   20280 for as_dir in $PATH
   20281 do
   20282   IFS=$as_save_IFS
   20283   test -z "$as_dir" && as_dir=.
   20284   for ac_exec_ext in '' $ac_executable_extensions; do
   20285   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   20286     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   20287     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   20288     break 2
   20289   fi
   20290 done
   20291 done
   20292 IFS=$as_save_IFS
   20293 
   20294 fi
   20295 fi
   20296 CC=$ac_cv_prog_CC
   20297 if test -n "$CC"; then
   20298   { $as_echo "$as_me:$LINENO: result: $CC" >&5
   20299 $as_echo "$CC" >&6; }
   20300 else
   20301   { $as_echo "$as_me:$LINENO: result: no" >&5
   20302 $as_echo "no" >&6; }
   20303 fi
   20304 
   20305 
   20306     test -n "$CC" && break
   20307   done
   20308 fi
   20309 if test -z "$CC"; then
   20310   ac_ct_CC=$CC
   20311   for ac_prog in cl.exe
   20312 do
   20313   # Extract the first word of "$ac_prog", so it can be a program name with args.
   20314 set dummy $ac_prog; ac_word=$2
   20315 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   20316 $as_echo_n "checking for $ac_word... " >&6; }
   20317 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
   20318   $as_echo_n "(cached) " >&6
   20319 else
   20320   if test -n "$ac_ct_CC"; then
   20321   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   20322 else
   20323 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   20324 for as_dir in $PATH
   20325 do
   20326   IFS=$as_save_IFS
   20327   test -z "$as_dir" && as_dir=.
   20328   for ac_exec_ext in '' $ac_executable_extensions; do
   20329   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   20330     ac_cv_prog_ac_ct_CC="$ac_prog"
   20331     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   20332     break 2
   20333   fi
   20334 done
   20335 done
   20336 IFS=$as_save_IFS
   20337 
   20338 fi
   20339 fi
   20340 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   20341 if test -n "$ac_ct_CC"; then
   20342   { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
   20343 $as_echo "$ac_ct_CC" >&6; }
   20344 else
   20345   { $as_echo "$as_me:$LINENO: result: no" >&5
   20346 $as_echo "no" >&6; }
   20347 fi
   20348 
   20349 
   20350   test -n "$ac_ct_CC" && break
   20351 done
   20352 
   20353   if test "x$ac_ct_CC" = x; then
   20354     CC=""
   20355   else
   20356     case $cross_compiling:$ac_tool_warned in
   20357 yes:)
   20358 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   20359 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   20360 ac_tool_warned=yes ;;
   20361 esac
   20362     CC=$ac_ct_CC
   20363   fi
   20364 fi
   20365 
   20366 fi
   20367 
   20368 
   20369 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   20370 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   20371 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
   20372 See \`config.log' for more details." >&5
   20373 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
   20374 See \`config.log' for more details." >&2;}
   20375    { (exit 1); exit 1; }; }; }
   20376 
   20377 # Provide some information about the compiler.
   20378 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
   20379 set X $ac_compile
   20380 ac_compiler=$2
   20381 { (ac_try="$ac_compiler --version >&5"
   20382 case "(($ac_try" in
   20383   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20384   *) ac_try_echo=$ac_try;;
   20385 esac
   20386 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   20387 $as_echo "$ac_try_echo") >&5
   20388   (eval "$ac_compiler --version >&5") 2>&5
   20389   ac_status=$?
   20390   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20391   (exit $ac_status); }
   20392 { (ac_try="$ac_compiler -v >&5"
   20393 case "(($ac_try" in
   20394   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20395   *) ac_try_echo=$ac_try;;
   20396 esac
   20397 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   20398 $as_echo "$ac_try_echo") >&5
   20399   (eval "$ac_compiler -v >&5") 2>&5
   20400   ac_status=$?
   20401   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20402   (exit $ac_status); }
   20403 { (ac_try="$ac_compiler -V >&5"
   20404 case "(($ac_try" in
   20405   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20406   *) ac_try_echo=$ac_try;;
   20407 esac
   20408 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   20409 $as_echo "$ac_try_echo") >&5
   20410   (eval "$ac_compiler -V >&5") 2>&5
   20411   ac_status=$?
   20412   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20413   (exit $ac_status); }
   20414 
   20415 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
   20416 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
   20417 if test "${ac_cv_c_compiler_gnu+set}" = set; then
   20418   $as_echo_n "(cached) " >&6
   20419 else
   20420   cat >conftest.$ac_ext <<_ACEOF
   20421 /* confdefs.h.  */
   20422 _ACEOF
   20423 cat confdefs.h >>conftest.$ac_ext
   20424 cat >>conftest.$ac_ext <<_ACEOF
   20425 /* end confdefs.h.  */
   20426 
   20427 int
   20428 main ()
   20429 {
   20430 #ifndef __GNUC__
   20431        choke me
   20432 #endif
   20433 
   20434   ;
   20435   return 0;
   20436 }
   20437 _ACEOF
   20438 rm -f conftest.$ac_objext
   20439 if { (ac_try="$ac_compile"
   20440 case "(($ac_try" in
   20441   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20442   *) ac_try_echo=$ac_try;;
   20443 esac
   20444 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   20445 $as_echo "$ac_try_echo") >&5
   20446   (eval "$ac_compile") 2>conftest.er1
   20447   ac_status=$?
   20448   grep -v '^ *+' conftest.er1 >conftest.err
   20449   rm -f conftest.er1
   20450   cat conftest.err >&5
   20451   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20452   (exit $ac_status); } && {
   20453 	 test -z "$ac_c_werror_flag" ||
   20454 	 test ! -s conftest.err
   20455        } && test -s conftest.$ac_objext; then
   20456   ac_compiler_gnu=yes
   20457 else
   20458   $as_echo "$as_me: failed program was:" >&5
   20459 sed 's/^/| /' conftest.$ac_ext >&5
   20460 
   20461 	ac_compiler_gnu=no
   20462 fi
   20463 
   20464 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   20465 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   20466 
   20467 fi
   20468 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
   20469 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
   20470 if test $ac_compiler_gnu = yes; then
   20471   GCC=yes
   20472 else
   20473   GCC=
   20474 fi
   20475 ac_test_CFLAGS=${CFLAGS+set}
   20476 ac_save_CFLAGS=$CFLAGS
   20477 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
   20478 $as_echo_n "checking whether $CC accepts -g... " >&6; }
   20479 if test "${ac_cv_prog_cc_g+set}" = set; then
   20480   $as_echo_n "(cached) " >&6
   20481 else
   20482   ac_save_c_werror_flag=$ac_c_werror_flag
   20483    ac_c_werror_flag=yes
   20484    ac_cv_prog_cc_g=no
   20485    CFLAGS="-g"
   20486    cat >conftest.$ac_ext <<_ACEOF
   20487 /* confdefs.h.  */
   20488 _ACEOF
   20489 cat confdefs.h >>conftest.$ac_ext
   20490 cat >>conftest.$ac_ext <<_ACEOF
   20491 /* end confdefs.h.  */
   20492 
   20493 int
   20494 main ()
   20495 {
   20496 
   20497   ;
   20498   return 0;
   20499 }
   20500 _ACEOF
   20501 rm -f conftest.$ac_objext
   20502 if { (ac_try="$ac_compile"
   20503 case "(($ac_try" in
   20504   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20505   *) ac_try_echo=$ac_try;;
   20506 esac
   20507 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   20508 $as_echo "$ac_try_echo") >&5
   20509   (eval "$ac_compile") 2>conftest.er1
   20510   ac_status=$?
   20511   grep -v '^ *+' conftest.er1 >conftest.err
   20512   rm -f conftest.er1
   20513   cat conftest.err >&5
   20514   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20515   (exit $ac_status); } && {
   20516 	 test -z "$ac_c_werror_flag" ||
   20517 	 test ! -s conftest.err
   20518        } && test -s conftest.$ac_objext; then
   20519   ac_cv_prog_cc_g=yes
   20520 else
   20521   $as_echo "$as_me: failed program was:" >&5
   20522 sed 's/^/| /' conftest.$ac_ext >&5
   20523 
   20524 	CFLAGS=""
   20525       cat >conftest.$ac_ext <<_ACEOF
   20526 /* confdefs.h.  */
   20527 _ACEOF
   20528 cat confdefs.h >>conftest.$ac_ext
   20529 cat >>conftest.$ac_ext <<_ACEOF
   20530 /* end confdefs.h.  */
   20531 
   20532 int
   20533 main ()
   20534 {
   20535 
   20536   ;
   20537   return 0;
   20538 }
   20539 _ACEOF
   20540 rm -f conftest.$ac_objext
   20541 if { (ac_try="$ac_compile"
   20542 case "(($ac_try" in
   20543   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20544   *) ac_try_echo=$ac_try;;
   20545 esac
   20546 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   20547 $as_echo "$ac_try_echo") >&5
   20548   (eval "$ac_compile") 2>conftest.er1
   20549   ac_status=$?
   20550   grep -v '^ *+' conftest.er1 >conftest.err
   20551   rm -f conftest.er1
   20552   cat conftest.err >&5
   20553   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20554   (exit $ac_status); } && {
   20555 	 test -z "$ac_c_werror_flag" ||
   20556 	 test ! -s conftest.err
   20557        } && test -s conftest.$ac_objext; then
   20558   :
   20559 else
   20560   $as_echo "$as_me: failed program was:" >&5
   20561 sed 's/^/| /' conftest.$ac_ext >&5
   20562 
   20563 	ac_c_werror_flag=$ac_save_c_werror_flag
   20564 	 CFLAGS="-g"
   20565 	 cat >conftest.$ac_ext <<_ACEOF
   20566 /* confdefs.h.  */
   20567 _ACEOF
   20568 cat confdefs.h >>conftest.$ac_ext
   20569 cat >>conftest.$ac_ext <<_ACEOF
   20570 /* end confdefs.h.  */
   20571 
   20572 int
   20573 main ()
   20574 {
   20575 
   20576   ;
   20577   return 0;
   20578 }
   20579 _ACEOF
   20580 rm -f conftest.$ac_objext
   20581 if { (ac_try="$ac_compile"
   20582 case "(($ac_try" in
   20583   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20584   *) ac_try_echo=$ac_try;;
   20585 esac
   20586 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   20587 $as_echo "$ac_try_echo") >&5
   20588   (eval "$ac_compile") 2>conftest.er1
   20589   ac_status=$?
   20590   grep -v '^ *+' conftest.er1 >conftest.err
   20591   rm -f conftest.er1
   20592   cat conftest.err >&5
   20593   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20594   (exit $ac_status); } && {
   20595 	 test -z "$ac_c_werror_flag" ||
   20596 	 test ! -s conftest.err
   20597        } && test -s conftest.$ac_objext; then
   20598   ac_cv_prog_cc_g=yes
   20599 else
   20600   $as_echo "$as_me: failed program was:" >&5
   20601 sed 's/^/| /' conftest.$ac_ext >&5
   20602 
   20603 
   20604 fi
   20605 
   20606 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   20607 fi
   20608 
   20609 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   20610 fi
   20611 
   20612 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   20613    ac_c_werror_flag=$ac_save_c_werror_flag
   20614 fi
   20615 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
   20616 $as_echo "$ac_cv_prog_cc_g" >&6; }
   20617 if test "$ac_test_CFLAGS" = set; then
   20618   CFLAGS=$ac_save_CFLAGS
   20619 elif test $ac_cv_prog_cc_g = yes; then
   20620   if test "$GCC" = yes; then
   20621     CFLAGS="-g -O2"
   20622   else
   20623     CFLAGS="-g"
   20624   fi
   20625 else
   20626   if test "$GCC" = yes; then
   20627     CFLAGS="-O2"
   20628   else
   20629     CFLAGS=
   20630   fi
   20631 fi
   20632 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
   20633 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
   20634 if test "${ac_cv_prog_cc_c89+set}" = set; then
   20635   $as_echo_n "(cached) " >&6
   20636 else
   20637   ac_cv_prog_cc_c89=no
   20638 ac_save_CC=$CC
   20639 cat >conftest.$ac_ext <<_ACEOF
   20640 /* confdefs.h.  */
   20641 _ACEOF
   20642 cat confdefs.h >>conftest.$ac_ext
   20643 cat >>conftest.$ac_ext <<_ACEOF
   20644 /* end confdefs.h.  */
   20645 #include <stdarg.h>
   20646 #include <stdio.h>
   20647 #include <sys/types.h>
   20648 #include <sys/stat.h>
   20649 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   20650 struct buf { int x; };
   20651 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   20652 static char *e (p, i)
   20653      char **p;
   20654      int i;
   20655 {
   20656   return p[i];
   20657 }
   20658 static char *f (char * (*g) (char **, int), char **p, ...)
   20659 {
   20660   char *s;
   20661   va_list v;
   20662   va_start (v,p);
   20663   s = g (p, va_arg (v,int));
   20664   va_end (v);
   20665   return s;
   20666 }
   20667 
   20668 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   20669    function prototypes and stuff, but not '\xHH' hex character constants.
   20670    These don't provoke an error unfortunately, instead are silently treated
   20671    as 'x'.  The following induces an error, until -std is added to get
   20672    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   20673    array size at least.  It's necessary to write '\x00'==0 to get something
   20674    that's true only with -std.  */
   20675 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   20676 
   20677 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   20678    inside strings and character constants.  */
   20679 #define FOO(x) 'x'
   20680 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   20681 
   20682 int test (int i, double x);
   20683 struct s1 {int (*f) (int a);};
   20684 struct s2 {int (*f) (double a);};
   20685 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   20686 int argc;
   20687 char **argv;
   20688 int
   20689 main ()
   20690 {
   20691 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   20692   ;
   20693   return 0;
   20694 }
   20695 _ACEOF
   20696 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   20697 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   20698 do
   20699   CC="$ac_save_CC $ac_arg"
   20700   rm -f conftest.$ac_objext
   20701 if { (ac_try="$ac_compile"
   20702 case "(($ac_try" in
   20703   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20704   *) ac_try_echo=$ac_try;;
   20705 esac
   20706 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   20707 $as_echo "$ac_try_echo") >&5
   20708   (eval "$ac_compile") 2>conftest.er1
   20709   ac_status=$?
   20710   grep -v '^ *+' conftest.er1 >conftest.err
   20711   rm -f conftest.er1
   20712   cat conftest.err >&5
   20713   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20714   (exit $ac_status); } && {
   20715 	 test -z "$ac_c_werror_flag" ||
   20716 	 test ! -s conftest.err
   20717        } && test -s conftest.$ac_objext; then
   20718   ac_cv_prog_cc_c89=$ac_arg
   20719 else
   20720   $as_echo "$as_me: failed program was:" >&5
   20721 sed 's/^/| /' conftest.$ac_ext >&5
   20722 
   20723 
   20724 fi
   20725 
   20726 rm -f core conftest.err conftest.$ac_objext
   20727   test "x$ac_cv_prog_cc_c89" != "xno" && break
   20728 done
   20729 rm -f conftest.$ac_ext
   20730 CC=$ac_save_CC
   20731 
   20732 fi
   20733 # AC_CACHE_VAL
   20734 case "x$ac_cv_prog_cc_c89" in
   20735   x)
   20736     { $as_echo "$as_me:$LINENO: result: none needed" >&5
   20737 $as_echo "none needed" >&6; } ;;
   20738   xno)
   20739     { $as_echo "$as_me:$LINENO: result: unsupported" >&5
   20740 $as_echo "unsupported" >&6; } ;;
   20741   *)
   20742     CC="$CC $ac_cv_prog_cc_c89"
   20743     { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
   20744 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
   20745 esac
   20746 
   20747 
   20748 ac_ext=c
   20749 ac_cpp='$CPP $CPPFLAGS'
   20750 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   20751 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   20752 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   20753 
   20754 depcc="$CC"   am_compiler_list=
   20755 
   20756 { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
   20757 $as_echo_n "checking dependency style of $depcc... " >&6; }
   20758 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
   20759   $as_echo_n "(cached) " >&6
   20760 else
   20761   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   20762   # We make a subdir and do the tests there.  Otherwise we can end up
   20763   # making bogus files that we don't know about and never remove.  For
   20764   # instance it was reported that on HP-UX the gcc test will end up
   20765   # making a dummy file named `D' -- because `-MD' means `put the output
   20766   # in D'.
   20767   mkdir conftest.dir
   20768   # Copy depcomp to subdir because otherwise we won't find it if we're
   20769   # using a relative directory.
   20770   cp "$am_depcomp" conftest.dir
   20771   cd conftest.dir
   20772   # We will build objects and dependencies in a subdirectory because
   20773   # it helps to detect inapplicable dependency modes.  For instance
   20774   # both Tru64's cc and ICC support -MD to output dependencies as a
   20775   # side effect of compilation, but ICC will put the dependencies in
   20776   # the current directory while Tru64 will put them in the object
   20777   # directory.
   20778   mkdir sub
   20779 
   20780   am_cv_CC_dependencies_compiler_type=none
   20781   if test "$am_compiler_list" = ""; then
   20782      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   20783   fi
   20784   am__universal=false
   20785   case " $depcc " in #(
   20786      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   20787      esac
   20788 
   20789   for depmode in $am_compiler_list; do
   20790     # Setup a source with many dependencies, because some compilers
   20791     # like to wrap large dependency lists on column 80 (with \), and
   20792     # we should not choose a depcomp mode which is confused by this.
   20793     #
   20794     # We need to recreate these files for each test, as the compiler may
   20795     # overwrite some of them when testing with obscure command lines.
   20796     # This happens at least with the AIX C compiler.
   20797     : > sub/conftest.c
   20798     for i in 1 2 3 4 5 6; do
   20799       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   20800       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
   20801       # Solaris 8's {/usr,}/bin/sh.
   20802       touch sub/conftst$i.h
   20803     done
   20804     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   20805 
   20806     # We check with `-c' and `-o' for the sake of the "dashmstdout"
   20807     # mode.  It turns out that the SunPro C++ compiler does not properly
   20808     # handle `-M -o', and we need to detect this.  Also, some Intel
   20809     # versions had trouble with output in subdirs
   20810     am__obj=sub/conftest.${OBJEXT-o}
   20811     am__minus_obj="-o $am__obj"
   20812     case $depmode in
   20813     gcc)
   20814       # This depmode causes a compiler race in universal mode.
   20815       test "$am__universal" = false || continue
   20816       ;;
   20817     nosideeffect)
   20818       # after this tag, mechanisms are not by side-effect, so they'll
   20819       # only be used when explicitly requested
   20820       if test "x$enable_dependency_tracking" = xyes; then
   20821 	continue
   20822       else
   20823 	break
   20824       fi
   20825       ;;
   20826     msvisualcpp | msvcmsys)
   20827       # This compiler won't grok `-c -o', but also, the minuso test has
   20828       # not run yet.  These depmodes are late enough in the game, and
   20829       # so weak that their functioning should not be impacted.
   20830       am__obj=conftest.${OBJEXT-o}
   20831       am__minus_obj=
   20832       ;;
   20833     none) break ;;
   20834     esac
   20835     if depmode=$depmode \
   20836        source=sub/conftest.c object=$am__obj \
   20837        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   20838        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   20839          >/dev/null 2>conftest.err &&
   20840        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   20841        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   20842        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   20843        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   20844       # icc doesn't choke on unknown options, it will just issue warnings
   20845       # or remarks (even with -Werror).  So we grep stderr for any message
   20846       # that says an option was ignored or not supported.
   20847       # When given -MP, icc 7.0 and 7.1 complain thusly:
   20848       #   icc: Command line warning: ignoring option '-M'; no argument required
   20849       # The diagnosis changed in icc 8.0:
   20850       #   icc: Command line remark: option '-MP' not supported
   20851       if (grep 'ignoring option' conftest.err ||
   20852           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   20853         am_cv_CC_dependencies_compiler_type=$depmode
   20854         break
   20855       fi
   20856     fi
   20857   done
   20858 
   20859   cd ..
   20860   rm -rf conftest.dir
   20861 else
   20862   am_cv_CC_dependencies_compiler_type=none
   20863 fi
   20864 
   20865 fi
   20866 { $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
   20867 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
   20868 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   20869 
   20870  if
   20871   test "x$enable_dependency_tracking" != xno \
   20872   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   20873   am__fastdepCC_TRUE=
   20874   am__fastdepCC_FALSE='#'
   20875 else
   20876   am__fastdepCC_TRUE='#'
   20877   am__fastdepCC_FALSE=
   20878 fi
   20879 
   20880 
   20881    { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C99" >&5
   20882 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
   20883 if test "${ac_cv_prog_cc_c99+set}" = set; then
   20884   $as_echo_n "(cached) " >&6
   20885 else
   20886   ac_cv_prog_cc_c99=no
   20887 ac_save_CC=$CC
   20888 cat >conftest.$ac_ext <<_ACEOF
   20889 /* confdefs.h.  */
   20890 _ACEOF
   20891 cat confdefs.h >>conftest.$ac_ext
   20892 cat >>conftest.$ac_ext <<_ACEOF
   20893 /* end confdefs.h.  */
   20894 #include <stdarg.h>
   20895 #include <stdbool.h>
   20896 #include <stdlib.h>
   20897 #include <wchar.h>
   20898 #include <stdio.h>
   20899 
   20900 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
   20901 #define debug(...) fprintf (stderr, __VA_ARGS__)
   20902 #define showlist(...) puts (#__VA_ARGS__)
   20903 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
   20904 static void
   20905 test_varargs_macros (void)
   20906 {
   20907   int x = 1234;
   20908   int y = 5678;
   20909   debug ("Flag");
   20910   debug ("X = %d\n", x);
   20911   showlist (The first, second, and third items.);
   20912   report (x>y, "x is %d but y is %d", x, y);
   20913 }
   20914 
   20915 // Check long long types.
   20916 #define BIG64 18446744073709551615ull
   20917 #define BIG32 4294967295ul
   20918 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
   20919 #if !BIG_OK
   20920   your preprocessor is broken;
   20921 #endif
   20922 #if BIG_OK
   20923 #else
   20924   your preprocessor is broken;
   20925 #endif
   20926 static long long int bignum = -9223372036854775807LL;
   20927 static unsigned long long int ubignum = BIG64;
   20928 
   20929 struct incomplete_array
   20930 {
   20931   int datasize;
   20932   double data[];
   20933 };
   20934 
   20935 struct named_init {
   20936   int number;
   20937   const wchar_t *name;
   20938   double average;
   20939 };
   20940 
   20941 typedef const char *ccp;
   20942 
   20943 static inline int
   20944 test_restrict (ccp restrict text)
   20945 {
   20946   // See if C++-style comments work.
   20947   // Iterate through items via the restricted pointer.
   20948   // Also check for declarations in for loops.
   20949   for (unsigned int i = 0; *(text+i) != '\0'; ++i)
   20950     continue;
   20951   return 0;
   20952 }
   20953 
   20954 // Check varargs and va_copy.
   20955 static void
   20956 test_varargs (const char *format, ...)
   20957 {
   20958   va_list args;
   20959   va_start (args, format);
   20960   va_list args_copy;
   20961   va_copy (args_copy, args);
   20962 
   20963   const char *str;
   20964   int number;
   20965   float fnumber;
   20966 
   20967   while (*format)
   20968     {
   20969       switch (*format++)
   20970 	{
   20971 	case 's': // string
   20972 	  str = va_arg (args_copy, const char *);
   20973 	  break;
   20974 	case 'd': // int
   20975 	  number = va_arg (args_copy, int);
   20976 	  break;
   20977 	case 'f': // float
   20978 	  fnumber = va_arg (args_copy, double);
   20979 	  break;
   20980 	default:
   20981 	  break;
   20982 	}
   20983     }
   20984   va_end (args_copy);
   20985   va_end (args);
   20986 }
   20987 
   20988 int
   20989 main ()
   20990 {
   20991 
   20992   // Check bool.
   20993   _Bool success = false;
   20994 
   20995   // Check restrict.
   20996   if (test_restrict ("String literal") == 0)
   20997     success = true;
   20998   char *restrict newvar = "Another string";
   20999 
   21000   // Check varargs.
   21001   test_varargs ("s, d' f .", "string", 65, 34.234);
   21002   test_varargs_macros ();
   21003 
   21004   // Check flexible array members.
   21005   struct incomplete_array *ia =
   21006     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
   21007   ia->datasize = 10;
   21008   for (int i = 0; i < ia->datasize; ++i)
   21009     ia->data[i] = i * 1.234;
   21010 
   21011   // Check named initializers.
   21012   struct named_init ni = {
   21013     .number = 34,
   21014     .name = L"Test wide string",
   21015     .average = 543.34343,
   21016   };
   21017 
   21018   ni.number = 58;
   21019 
   21020   int dynamic_array[ni.number];
   21021   dynamic_array[ni.number - 1] = 543;
   21022 
   21023   // work around unused variable warnings
   21024   return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
   21025 	  || dynamic_array[ni.number - 1] != 543);
   21026 
   21027   ;
   21028   return 0;
   21029 }
   21030 _ACEOF
   21031 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99
   21032 do
   21033   CC="$ac_save_CC $ac_arg"
   21034   rm -f conftest.$ac_objext
   21035 if { (ac_try="$ac_compile"
   21036 case "(($ac_try" in
   21037   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   21038   *) ac_try_echo=$ac_try;;
   21039 esac
   21040 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   21041 $as_echo "$ac_try_echo") >&5
   21042   (eval "$ac_compile") 2>conftest.er1
   21043   ac_status=$?
   21044   grep -v '^ *+' conftest.er1 >conftest.err
   21045   rm -f conftest.er1
   21046   cat conftest.err >&5
   21047   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21048   (exit $ac_status); } && {
   21049 	 test -z "$ac_c_werror_flag" ||
   21050 	 test ! -s conftest.err
   21051        } && test -s conftest.$ac_objext; then
   21052   ac_cv_prog_cc_c99=$ac_arg
   21053 else
   21054   $as_echo "$as_me: failed program was:" >&5
   21055 sed 's/^/| /' conftest.$ac_ext >&5
   21056 
   21057 
   21058 fi
   21059 
   21060 rm -f core conftest.err conftest.$ac_objext
   21061   test "x$ac_cv_prog_cc_c99" != "xno" && break
   21062 done
   21063 rm -f conftest.$ac_ext
   21064 CC=$ac_save_CC
   21065 
   21066 fi
   21067 # AC_CACHE_VAL
   21068 case "x$ac_cv_prog_cc_c99" in
   21069   x)
   21070     { $as_echo "$as_me:$LINENO: result: none needed" >&5
   21071 $as_echo "none needed" >&6; } ;;
   21072   xno)
   21073     { $as_echo "$as_me:$LINENO: result: unsupported" >&5
   21074 $as_echo "unsupported" >&6; } ;;
   21075   *)
   21076     CC="$CC $ac_cv_prog_cc_c99"
   21077     { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c99" >&5
   21078 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
   21079 esac
   21080 
   21081 
   21082 
   21083 
   21084 
   21085 
   21086 if  test "x$GCC" = xyes ; then
   21087     CWARNFLAGS="-Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes \
   21088 -Wmissing-declarations -Wnested-externs -fno-strict-aliasing \
   21089 -Wbad-function-cast"
   21090     case `$CC -dumpversion` in
   21091     3.4.* | 4.*)
   21092 	CWARNFLAGS="$CWARNFLAGS -Wold-style-definition -Wdeclaration-after-statement"
   21093 	;;
   21094     esac
   21095 else
   21096     { $as_echo "$as_me:$LINENO: checking whether __SUNPRO_C is declared" >&5
   21097 $as_echo_n "checking whether __SUNPRO_C is declared... " >&6; }
   21098 if test "${ac_cv_have_decl___SUNPRO_C+set}" = set; then
   21099   $as_echo_n "(cached) " >&6
   21100 else
   21101   cat >conftest.$ac_ext <<_ACEOF
   21102 /* confdefs.h.  */
   21103 _ACEOF
   21104 cat confdefs.h >>conftest.$ac_ext
   21105 cat >>conftest.$ac_ext <<_ACEOF
   21106 /* end confdefs.h.  */
   21107 $ac_includes_default
   21108 int
   21109 main ()
   21110 {
   21111 #ifndef __SUNPRO_C
   21112   (void) __SUNPRO_C;
   21113 #endif
   21114 
   21115   ;
   21116   return 0;
   21117 }
   21118 _ACEOF
   21119 rm -f conftest.$ac_objext
   21120 if { (ac_try="$ac_compile"
   21121 case "(($ac_try" in
   21122   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   21123   *) ac_try_echo=$ac_try;;
   21124 esac
   21125 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   21126 $as_echo "$ac_try_echo") >&5
   21127   (eval "$ac_compile") 2>conftest.er1
   21128   ac_status=$?
   21129   grep -v '^ *+' conftest.er1 >conftest.err
   21130   rm -f conftest.er1
   21131   cat conftest.err >&5
   21132   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21133   (exit $ac_status); } && {
   21134 	 test -z "$ac_c_werror_flag" ||
   21135 	 test ! -s conftest.err
   21136        } && test -s conftest.$ac_objext; then
   21137   ac_cv_have_decl___SUNPRO_C=yes
   21138 else
   21139   $as_echo "$as_me: failed program was:" >&5
   21140 sed 's/^/| /' conftest.$ac_ext >&5
   21141 
   21142 	ac_cv_have_decl___SUNPRO_C=no
   21143 fi
   21144 
   21145 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   21146 fi
   21147 { $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl___SUNPRO_C" >&5
   21148 $as_echo "$ac_cv_have_decl___SUNPRO_C" >&6; }
   21149 if test "x$ac_cv_have_decl___SUNPRO_C" = x""yes; then
   21150   SUNCC="yes"
   21151 else
   21152   SUNCC="no"
   21153 fi
   21154 
   21155     if test "x$SUNCC" = "xyes"; then
   21156 	CWARNFLAGS="-v"
   21157     fi
   21158 fi
   21159 
   21160 # Check whether --enable-silent-rules was given.
   21161 if test "${enable_silent_rules+set}" = set; then
   21162   enableval=$enable_silent_rules;
   21163 fi
   21164 
   21165 case $enable_silent_rules in
   21166 yes) AM_DEFAULT_VERBOSITY=0;;
   21167 no)  AM_DEFAULT_VERBOSITY=1;;
   21168 *)   AM_DEFAULT_VERBOSITY=0;;
   21169 esac
   21170 AM_BACKSLASH='\'
   21171 
   21172 
   21173 
   21174 
   21175 
   21176 
   21177 
   21178 # Check whether --enable-strict-compilation was given.
   21179 if test "${enable_strict_compilation+set}" = set; then
   21180   enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
   21181 else
   21182   STRICT_COMPILE=no
   21183 fi
   21184 
   21185 if test "x$STRICT_COMPILE" = "xyes"; then
   21186 	{ $as_echo "$as_me:$LINENO: checking whether __SUNPRO_C is declared" >&5
   21187 $as_echo_n "checking whether __SUNPRO_C is declared... " >&6; }
   21188 if test "${ac_cv_have_decl___SUNPRO_C+set}" = set; then
   21189   $as_echo_n "(cached) " >&6
   21190 else
   21191   cat >conftest.$ac_ext <<_ACEOF
   21192 /* confdefs.h.  */
   21193 _ACEOF
   21194 cat confdefs.h >>conftest.$ac_ext
   21195 cat >>conftest.$ac_ext <<_ACEOF
   21196 /* end confdefs.h.  */
   21197 $ac_includes_default
   21198 int
   21199 main ()
   21200 {
   21201 #ifndef __SUNPRO_C
   21202   (void) __SUNPRO_C;
   21203 #endif
   21204 
   21205   ;
   21206   return 0;
   21207 }
   21208 _ACEOF
   21209 rm -f conftest.$ac_objext
   21210 if { (ac_try="$ac_compile"
   21211 case "(($ac_try" in
   21212   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   21213   *) ac_try_echo=$ac_try;;
   21214 esac
   21215 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   21216 $as_echo "$ac_try_echo") >&5
   21217   (eval "$ac_compile") 2>conftest.er1
   21218   ac_status=$?
   21219   grep -v '^ *+' conftest.er1 >conftest.err
   21220   rm -f conftest.er1
   21221   cat conftest.err >&5
   21222   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21223   (exit $ac_status); } && {
   21224 	 test -z "$ac_c_werror_flag" ||
   21225 	 test ! -s conftest.err
   21226        } && test -s conftest.$ac_objext; then
   21227   ac_cv_have_decl___SUNPRO_C=yes
   21228 else
   21229   $as_echo "$as_me: failed program was:" >&5
   21230 sed 's/^/| /' conftest.$ac_ext >&5
   21231 
   21232 	ac_cv_have_decl___SUNPRO_C=no
   21233 fi
   21234 
   21235 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   21236 fi
   21237 { $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl___SUNPRO_C" >&5
   21238 $as_echo "$ac_cv_have_decl___SUNPRO_C" >&6; }
   21239 if test "x$ac_cv_have_decl___SUNPRO_C" = x""yes; then
   21240   SUNCC="yes"
   21241 else
   21242   SUNCC="no"
   21243 fi
   21244 
   21245 	{ $as_echo "$as_me:$LINENO: checking whether __INTEL_COMPILER is declared" >&5
   21246 $as_echo_n "checking whether __INTEL_COMPILER is declared... " >&6; }
   21247 if test "${ac_cv_have_decl___INTEL_COMPILER+set}" = set; then
   21248   $as_echo_n "(cached) " >&6
   21249 else
   21250   cat >conftest.$ac_ext <<_ACEOF
   21251 /* confdefs.h.  */
   21252 _ACEOF
   21253 cat confdefs.h >>conftest.$ac_ext
   21254 cat >>conftest.$ac_ext <<_ACEOF
   21255 /* end confdefs.h.  */
   21256 $ac_includes_default
   21257 int
   21258 main ()
   21259 {
   21260 #ifndef __INTEL_COMPILER
   21261   (void) __INTEL_COMPILER;
   21262 #endif
   21263 
   21264   ;
   21265   return 0;
   21266 }
   21267 _ACEOF
   21268 rm -f conftest.$ac_objext
   21269 if { (ac_try="$ac_compile"
   21270 case "(($ac_try" in
   21271   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   21272   *) ac_try_echo=$ac_try;;
   21273 esac
   21274 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   21275 $as_echo "$ac_try_echo") >&5
   21276   (eval "$ac_compile") 2>conftest.er1
   21277   ac_status=$?
   21278   grep -v '^ *+' conftest.er1 >conftest.err
   21279   rm -f conftest.er1
   21280   cat conftest.err >&5
   21281   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21282   (exit $ac_status); } && {
   21283 	 test -z "$ac_c_werror_flag" ||
   21284 	 test ! -s conftest.err
   21285        } && test -s conftest.$ac_objext; then
   21286   ac_cv_have_decl___INTEL_COMPILER=yes
   21287 else
   21288   $as_echo "$as_me: failed program was:" >&5
   21289 sed 's/^/| /' conftest.$ac_ext >&5
   21290 
   21291 	ac_cv_have_decl___INTEL_COMPILER=no
   21292 fi
   21293 
   21294 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   21295 fi
   21296 { $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl___INTEL_COMPILER" >&5
   21297 $as_echo "$ac_cv_have_decl___INTEL_COMPILER" >&6; }
   21298 if test "x$ac_cv_have_decl___INTEL_COMPILER" = x""yes; then
   21299   INTELCC="yes"
   21300 else
   21301   INTELCC="no"
   21302 fi
   21303 
   21304 	if test "x$GCC" = xyes ; then
   21305 		STRICT_CFLAGS="-pedantic -Werror"
   21306 	elif test "x$SUNCC" = "xyes"; then
   21307 		STRICT_CFLAGS="-errwarn"
   21308     elif test "x$INTELCC" = "xyes"; then
   21309 		STRICT_CFLAGS="-Werror"
   21310 	fi
   21311 fi
   21312 CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
   21313 
   21314 
   21315 
   21316 
   21317 # Check whether --with-release-version was given.
   21318 if test "${with_release_version+set}" = set; then
   21319   withval=$with_release_version; RELEASE_VERSION="$withval"
   21320 else
   21321   RELEASE_VERSION=""
   21322 fi
   21323 
   21324 	if test "x$RELEASE_VERSION" != "x"; then
   21325 		PACKAGE="$PACKAGE-$RELEASE_VERSION"
   21326 		PACKAGE_TARNAME="$PACKAGE_TARNAME-$RELEASE_VERSION"
   21327 		{ $as_echo "$as_me:$LINENO: Building with package name set to $PACKAGE" >&5
   21328 $as_echo "$as_me: Building with package name set to $PACKAGE" >&6;}
   21329 	fi
   21330 
   21331 cat >>confdefs.h <<_ACEOF
   21332 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   21333 _ACEOF
   21334 
   21335 	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
   21336 	if test "x$PVM" = "x"; then
   21337 		PVM="0"
   21338 	fi
   21339 
   21340 cat >>confdefs.h <<_ACEOF
   21341 #define PACKAGE_VERSION_MINOR $PVM
   21342 _ACEOF
   21343 
   21344 	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
   21345 	if test "x$PVP" = "x"; then
   21346 		PVP="0"
   21347 	fi
   21348 
   21349 cat >>confdefs.h <<_ACEOF
   21350 #define PACKAGE_VERSION_PATCHLEVEL $PVP
   21351 _ACEOF
   21352 
   21353 
   21354 
   21355 CHANGELOG_CMD="(GIT_DIR=\$(top_srcdir)/.git git log > .changelog.tmp && \
   21356 mv .changelog.tmp ChangeLog) || (rm -f .changelog.tmp; touch ChangeLog; \
   21357 echo 'git directory not found: installing possibly empty changelog.' >&2)"
   21358 
   21359 distcleancheck_listfiles='find . -type f ! -name ChangeLog -print'
   21360 
   21361 
   21362 
   21363 
   21364 
   21365 if test x$APP_MAN_SUFFIX = x    ; then
   21366     APP_MAN_SUFFIX=1
   21367 fi
   21368 if test x$APP_MAN_DIR = x    ; then
   21369     APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
   21370 fi
   21371 
   21372 if test x$LIB_MAN_SUFFIX = x    ; then
   21373     LIB_MAN_SUFFIX=3
   21374 fi
   21375 if test x$LIB_MAN_DIR = x    ; then
   21376     LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
   21377 fi
   21378 
   21379 if test x$FILE_MAN_SUFFIX = x    ; then
   21380     case $host_os in
   21381 	solaris*)	FILE_MAN_SUFFIX=4  ;;
   21382 	*)		FILE_MAN_SUFFIX=5  ;;
   21383     esac
   21384 fi
   21385 if test x$FILE_MAN_DIR = x    ; then
   21386     FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
   21387 fi
   21388 
   21389 if test x$MISC_MAN_SUFFIX = x    ; then
   21390     case $host_os in
   21391 	solaris*)	MISC_MAN_SUFFIX=5  ;;
   21392 	*)		MISC_MAN_SUFFIX=7  ;;
   21393     esac
   21394 fi
   21395 if test x$MISC_MAN_DIR = x    ; then
   21396     MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
   21397 fi
   21398 
   21399 if test x$DRIVER_MAN_SUFFIX = x    ; then
   21400     case $host_os in
   21401 	solaris*)	DRIVER_MAN_SUFFIX=7  ;;
   21402 	*)		DRIVER_MAN_SUFFIX=4  ;;
   21403     esac
   21404 fi
   21405 if test x$DRIVER_MAN_DIR = x    ; then
   21406     DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
   21407 fi
   21408 
   21409 if test x$ADMIN_MAN_SUFFIX = x    ; then
   21410     case $host_os in
   21411 	solaris*)	ADMIN_MAN_SUFFIX=1m ;;
   21412 	*)		ADMIN_MAN_SUFFIX=8  ;;
   21413     esac
   21414 fi
   21415 if test x$ADMIN_MAN_DIR = x    ; then
   21416     ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
   21417 fi
   21418 
   21419 
   21420 
   21421 
   21422 
   21423 
   21424 
   21425 
   21426 
   21427 
   21428 
   21429 
   21430 
   21431 
   21432 
   21433 
   21434 
   21435 # Checks for pkg-config packages
   21436 
   21437 
   21438 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   21439 	if test -n "$ac_tool_prefix"; then
   21440   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   21441 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   21442 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   21443 $as_echo_n "checking for $ac_word... " >&6; }
   21444 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
   21445   $as_echo_n "(cached) " >&6
   21446 else
   21447   case $PKG_CONFIG in
   21448   [\\/]* | ?:[\\/]*)
   21449   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   21450   ;;
   21451   *)
   21452   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   21453 for as_dir in $PATH
   21454 do
   21455   IFS=$as_save_IFS
   21456   test -z "$as_dir" && as_dir=.
   21457   for ac_exec_ext in '' $ac_executable_extensions; do
   21458   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   21459     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   21460     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   21461     break 2
   21462   fi
   21463 done
   21464 done
   21465 IFS=$as_save_IFS
   21466 
   21467   ;;
   21468 esac
   21469 fi
   21470 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   21471 if test -n "$PKG_CONFIG"; then
   21472   { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
   21473 $as_echo "$PKG_CONFIG" >&6; }
   21474 else
   21475   { $as_echo "$as_me:$LINENO: result: no" >&5
   21476 $as_echo "no" >&6; }
   21477 fi
   21478 
   21479 
   21480 fi
   21481 if test -z "$ac_cv_path_PKG_CONFIG"; then
   21482   ac_pt_PKG_CONFIG=$PKG_CONFIG
   21483   # Extract the first word of "pkg-config", so it can be a program name with args.
   21484 set dummy pkg-config; ac_word=$2
   21485 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   21486 $as_echo_n "checking for $ac_word... " >&6; }
   21487 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
   21488   $as_echo_n "(cached) " >&6
   21489 else
   21490   case $ac_pt_PKG_CONFIG in
   21491   [\\/]* | ?:[\\/]*)
   21492   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   21493   ;;
   21494   *)
   21495   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   21496 for as_dir in $PATH
   21497 do
   21498   IFS=$as_save_IFS
   21499   test -z "$as_dir" && as_dir=.
   21500   for ac_exec_ext in '' $ac_executable_extensions; do
   21501   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   21502     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   21503     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   21504     break 2
   21505   fi
   21506 done
   21507 done
   21508 IFS=$as_save_IFS
   21509 
   21510   ;;
   21511 esac
   21512 fi
   21513 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   21514 if test -n "$ac_pt_PKG_CONFIG"; then
   21515   { $as_echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
   21516 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
   21517 else
   21518   { $as_echo "$as_me:$LINENO: result: no" >&5
   21519 $as_echo "no" >&6; }
   21520 fi
   21521 
   21522   if test "x$ac_pt_PKG_CONFIG" = x; then
   21523     PKG_CONFIG=""
   21524   else
   21525     case $cross_compiling:$ac_tool_warned in
   21526 yes:)
   21527 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   21528 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   21529 ac_tool_warned=yes ;;
   21530 esac
   21531     PKG_CONFIG=$ac_pt_PKG_CONFIG
   21532   fi
   21533 else
   21534   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   21535 fi
   21536 
   21537 fi
   21538 if test -n "$PKG_CONFIG"; then
   21539 	_pkg_min_version=0.9.0
   21540 	{ $as_echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
   21541 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   21542 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   21543 		{ $as_echo "$as_me:$LINENO: result: yes" >&5
   21544 $as_echo "yes" >&6; }
   21545 	else
   21546 		{ $as_echo "$as_me:$LINENO: result: no" >&5
   21547 $as_echo "no" >&6; }
   21548 		PKG_CONFIG=""
   21549 	fi
   21550 
   21551 fi
   21552 
   21553 pkg_failed=no
   21554 { $as_echo "$as_me:$LINENO: checking for XEXT" >&5
   21555 $as_echo_n "checking for XEXT... " >&6; }
   21556 
   21557 if test -n "$XEXT_CFLAGS"; then
   21558     pkg_cv_XEXT_CFLAGS="$XEXT_CFLAGS"
   21559  elif test -n "$PKG_CONFIG"; then
   21560     if test -n "$PKG_CONFIG" && \
   21561     { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xproto >= 7.0.13 x11 >= 1.1.99.1 xextproto >= 7.0.99.2\"") >&5
   21562   ($PKG_CONFIG --exists --print-errors "xproto >= 7.0.13 x11 >= 1.1.99.1 xextproto >= 7.0.99.2") 2>&5
   21563   ac_status=$?
   21564   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21565   (exit $ac_status); }; then
   21566   pkg_cv_XEXT_CFLAGS=`$PKG_CONFIG --cflags "xproto >= 7.0.13 x11 >= 1.1.99.1 xextproto >= 7.0.99.2" 2>/dev/null`
   21567 else
   21568   pkg_failed=yes
   21569 fi
   21570  else
   21571     pkg_failed=untried
   21572 fi
   21573 if test -n "$XEXT_LIBS"; then
   21574     pkg_cv_XEXT_LIBS="$XEXT_LIBS"
   21575  elif test -n "$PKG_CONFIG"; then
   21576     if test -n "$PKG_CONFIG" && \
   21577     { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xproto >= 7.0.13 x11 >= 1.1.99.1 xextproto >= 7.0.99.2\"") >&5
   21578   ($PKG_CONFIG --exists --print-errors "xproto >= 7.0.13 x11 >= 1.1.99.1 xextproto >= 7.0.99.2") 2>&5
   21579   ac_status=$?
   21580   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21581   (exit $ac_status); }; then
   21582   pkg_cv_XEXT_LIBS=`$PKG_CONFIG --libs "xproto >= 7.0.13 x11 >= 1.1.99.1 xextproto >= 7.0.99.2" 2>/dev/null`
   21583 else
   21584   pkg_failed=yes
   21585 fi
   21586  else
   21587     pkg_failed=untried
   21588 fi
   21589 
   21590 
   21591 
   21592 if test $pkg_failed = yes; then
   21593 
   21594 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   21595         _pkg_short_errors_supported=yes
   21596 else
   21597         _pkg_short_errors_supported=no
   21598 fi
   21599         if test $_pkg_short_errors_supported = yes; then
   21600 	        XEXT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "xproto >= 7.0.13 x11 >= 1.1.99.1 xextproto >= 7.0.99.2" 2>&1`
   21601         else
   21602 	        XEXT_PKG_ERRORS=`$PKG_CONFIG --print-errors "xproto >= 7.0.13 x11 >= 1.1.99.1 xextproto >= 7.0.99.2" 2>&1`
   21603         fi
   21604 	# Put the nasty error message in config.log where it belongs
   21605 	echo "$XEXT_PKG_ERRORS" >&5
   21606 
   21607 	{ { $as_echo "$as_me:$LINENO: error: Package requirements (xproto >= 7.0.13 x11 >= 1.1.99.1 xextproto >= 7.0.99.2) were not met:
   21608 
   21609 $XEXT_PKG_ERRORS
   21610 
   21611 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   21612 installed software in a non-standard prefix.
   21613 
   21614 Alternatively, you may set the environment variables XEXT_CFLAGS
   21615 and XEXT_LIBS to avoid the need to call pkg-config.
   21616 See the pkg-config man page for more details.
   21617 " >&5
   21618 $as_echo "$as_me: error: Package requirements (xproto >= 7.0.13 x11 >= 1.1.99.1 xextproto >= 7.0.99.2) were not met:
   21619 
   21620 $XEXT_PKG_ERRORS
   21621 
   21622 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   21623 installed software in a non-standard prefix.
   21624 
   21625 Alternatively, you may set the environment variables XEXT_CFLAGS
   21626 and XEXT_LIBS to avoid the need to call pkg-config.
   21627 See the pkg-config man page for more details.
   21628 " >&2;}
   21629    { (exit 1); exit 1; }; }
   21630 elif test $pkg_failed = untried; then
   21631 	{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   21632 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   21633 { { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
   21634 is in your PATH or set the PKG_CONFIG environment variable to the full
   21635 path to pkg-config.
   21636 
   21637 Alternatively, you may set the environment variables XEXT_CFLAGS
   21638 and XEXT_LIBS to avoid the need to call pkg-config.
   21639 See the pkg-config man page for more details.
   21640 
   21641 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   21642 See \`config.log' for more details." >&5
   21643 $as_echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
   21644 is in your PATH or set the PKG_CONFIG environment variable to the full
   21645 path to pkg-config.
   21646 
   21647 Alternatively, you may set the environment variables XEXT_CFLAGS
   21648 and XEXT_LIBS to avoid the need to call pkg-config.
   21649 See the pkg-config man page for more details.
   21650 
   21651 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   21652 See \`config.log' for more details." >&2;}
   21653    { (exit 1); exit 1; }; }; }
   21654 else
   21655 	XEXT_CFLAGS=$pkg_cv_XEXT_CFLAGS
   21656 	XEXT_LIBS=$pkg_cv_XEXT_LIBS
   21657         { $as_echo "$as_me:$LINENO: result: yes" >&5
   21658 $as_echo "yes" >&6; }
   21659 	:
   21660 fi
   21661 XEXT_CFLAGS="$CWARNFLAGS $XEXT_CFLAGS"
   21662 
   21663 
   21664 
   21665 # Checks for libraries.
   21666 
   21667 # Checks for header files.
   21668 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
   21669 $as_echo_n "checking for ANSI C header files... " >&6; }
   21670 if test "${ac_cv_header_stdc+set}" = set; then
   21671   $as_echo_n "(cached) " >&6
   21672 else
   21673   cat >conftest.$ac_ext <<_ACEOF
   21674 /* confdefs.h.  */
   21675 _ACEOF
   21676 cat confdefs.h >>conftest.$ac_ext
   21677 cat >>conftest.$ac_ext <<_ACEOF
   21678 /* end confdefs.h.  */
   21679 #include <stdlib.h>
   21680 #include <stdarg.h>
   21681 #include <string.h>
   21682 #include <float.h>
   21683 
   21684 int
   21685 main ()
   21686 {
   21687 
   21688   ;
   21689   return 0;
   21690 }
   21691 _ACEOF
   21692 rm -f conftest.$ac_objext
   21693 if { (ac_try="$ac_compile"
   21694 case "(($ac_try" in
   21695   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   21696   *) ac_try_echo=$ac_try;;
   21697 esac
   21698 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   21699 $as_echo "$ac_try_echo") >&5
   21700   (eval "$ac_compile") 2>conftest.er1
   21701   ac_status=$?
   21702   grep -v '^ *+' conftest.er1 >conftest.err
   21703   rm -f conftest.er1
   21704   cat conftest.err >&5
   21705   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21706   (exit $ac_status); } && {
   21707 	 test -z "$ac_c_werror_flag" ||
   21708 	 test ! -s conftest.err
   21709        } && test -s conftest.$ac_objext; then
   21710   ac_cv_header_stdc=yes
   21711 else
   21712   $as_echo "$as_me: failed program was:" >&5
   21713 sed 's/^/| /' conftest.$ac_ext >&5
   21714 
   21715 	ac_cv_header_stdc=no
   21716 fi
   21717 
   21718 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   21719 
   21720 if test $ac_cv_header_stdc = yes; then
   21721   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   21722   cat >conftest.$ac_ext <<_ACEOF
   21723 /* confdefs.h.  */
   21724 _ACEOF
   21725 cat confdefs.h >>conftest.$ac_ext
   21726 cat >>conftest.$ac_ext <<_ACEOF
   21727 /* end confdefs.h.  */
   21728 #include <string.h>
   21729 
   21730 _ACEOF
   21731 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   21732   $EGREP "memchr" >/dev/null 2>&1; then
   21733   :
   21734 else
   21735   ac_cv_header_stdc=no
   21736 fi
   21737 rm -f conftest*
   21738 
   21739 fi
   21740 
   21741 if test $ac_cv_header_stdc = yes; then
   21742   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   21743   cat >conftest.$ac_ext <<_ACEOF
   21744 /* confdefs.h.  */
   21745 _ACEOF
   21746 cat confdefs.h >>conftest.$ac_ext
   21747 cat >>conftest.$ac_ext <<_ACEOF
   21748 /* end confdefs.h.  */
   21749 #include <stdlib.h>
   21750 
   21751 _ACEOF
   21752 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   21753   $EGREP "free" >/dev/null 2>&1; then
   21754   :
   21755 else
   21756   ac_cv_header_stdc=no
   21757 fi
   21758 rm -f conftest*
   21759 
   21760 fi
   21761 
   21762 if test $ac_cv_header_stdc = yes; then
   21763   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   21764   if test "$cross_compiling" = yes; then
   21765   :
   21766 else
   21767   cat >conftest.$ac_ext <<_ACEOF
   21768 /* confdefs.h.  */
   21769 _ACEOF
   21770 cat confdefs.h >>conftest.$ac_ext
   21771 cat >>conftest.$ac_ext <<_ACEOF
   21772 /* end confdefs.h.  */
   21773 #include <ctype.h>
   21774 #include <stdlib.h>
   21775 #if ((' ' & 0x0FF) == 0x020)
   21776 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   21777 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   21778 #else
   21779 # define ISLOWER(c) \
   21780 		   (('a' <= (c) && (c) <= 'i') \
   21781 		     || ('j' <= (c) && (c) <= 'r') \
   21782 		     || ('s' <= (c) && (c) <= 'z'))
   21783 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   21784 #endif
   21785 
   21786 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   21787 int
   21788 main ()
   21789 {
   21790   int i;
   21791   for (i = 0; i < 256; i++)
   21792     if (XOR (islower (i), ISLOWER (i))
   21793 	|| toupper (i) != TOUPPER (i))
   21794       return 2;
   21795   return 0;
   21796 }
   21797 _ACEOF
   21798 rm -f conftest$ac_exeext
   21799 if { (ac_try="$ac_link"
   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_link") 2>&5
   21807   ac_status=$?
   21808   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21809   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
   21810   { (case "(($ac_try" in
   21811   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   21812   *) ac_try_echo=$ac_try;;
   21813 esac
   21814 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   21815 $as_echo "$ac_try_echo") >&5
   21816   (eval "$ac_try") 2>&5
   21817   ac_status=$?
   21818   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21819   (exit $ac_status); }; }; then
   21820   :
   21821 else
   21822   $as_echo "$as_me: program exited with status $ac_status" >&5
   21823 $as_echo "$as_me: failed program was:" >&5
   21824 sed 's/^/| /' conftest.$ac_ext >&5
   21825 
   21826 ( exit $ac_status )
   21827 ac_cv_header_stdc=no
   21828 fi
   21829 rm -rf conftest.dSYM
   21830 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
   21831 fi
   21832 
   21833 
   21834 fi
   21835 fi
   21836 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
   21837 $as_echo "$ac_cv_header_stdc" >&6; }
   21838 if test $ac_cv_header_stdc = yes; then
   21839 
   21840 cat >>confdefs.h <<\_ACEOF
   21841 #define STDC_HEADERS 1
   21842 _ACEOF
   21843 
   21844 fi
   21845 
   21846 
   21847 
   21848 # Check whether --enable-malloc0returnsnull was given.
   21849 if test "${enable_malloc0returnsnull+set}" = set; then
   21850   enableval=$enable_malloc0returnsnull; MALLOC_ZERO_RETURNS_NULL=$enableval
   21851 else
   21852   MALLOC_ZERO_RETURNS_NULL=auto
   21853 fi
   21854 
   21855 
   21856 { $as_echo "$as_me:$LINENO: checking whether malloc(0) returns NULL" >&5
   21857 $as_echo_n "checking whether malloc(0) returns NULL... " >&6; }
   21858 if test "x$MALLOC_ZERO_RETURNS_NULL" = xauto; then
   21859 	if test "$cross_compiling" = yes; then
   21860   { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   21861 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   21862 { { $as_echo "$as_me:$LINENO: error: cannot run test program while cross compiling
   21863 See \`config.log' for more details." >&5
   21864 $as_echo "$as_me: error: cannot run test program while cross compiling
   21865 See \`config.log' for more details." >&2;}
   21866    { (exit 1); exit 1; }; }; }
   21867 else
   21868   cat >conftest.$ac_ext <<_ACEOF
   21869 
   21870 char *malloc();
   21871 char *realloc();
   21872 char *calloc();
   21873 main() {
   21874     char *m0, *r0, *c0, *p;
   21875     m0 = malloc(0);
   21876     p = malloc(10);
   21877     r0 = realloc(p,0);
   21878     c0 = calloc(0);
   21879     exit(m0 == 0 || r0 == 0 || c0 == 0 ? 0 : 1);
   21880 }
   21881 _ACEOF
   21882 rm -f conftest$ac_exeext
   21883 if { (ac_try="$ac_link"
   21884 case "(($ac_try" in
   21885   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   21886   *) ac_try_echo=$ac_try;;
   21887 esac
   21888 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   21889 $as_echo "$ac_try_echo") >&5
   21890   (eval "$ac_link") 2>&5
   21891   ac_status=$?
   21892   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21893   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
   21894   { (case "(($ac_try" in
   21895   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   21896   *) ac_try_echo=$ac_try;;
   21897 esac
   21898 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   21899 $as_echo "$ac_try_echo") >&5
   21900   (eval "$ac_try") 2>&5
   21901   ac_status=$?
   21902   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21903   (exit $ac_status); }; }; then
   21904   MALLOC_ZERO_RETURNS_NULL=yes
   21905 else
   21906   $as_echo "$as_me: program exited with status $ac_status" >&5
   21907 $as_echo "$as_me: failed program was:" >&5
   21908 sed 's/^/| /' conftest.$ac_ext >&5
   21909 
   21910 ( exit $ac_status )
   21911 MALLOC_ZERO_RETURNS_NULL=no
   21912 fi
   21913 rm -rf conftest.dSYM
   21914 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
   21915 fi
   21916 
   21917 
   21918 fi
   21919 { $as_echo "$as_me:$LINENO: result: $MALLOC_ZERO_RETURNS_NULL" >&5
   21920 $as_echo "$MALLOC_ZERO_RETURNS_NULL" >&6; }
   21921 
   21922 if test "x$MALLOC_ZERO_RETURNS_NULL" = xyes; then
   21923 	MALLOC_ZERO_CFLAGS="-DMALLOC_0_RETURNS_NULL"
   21924 	XMALLOC_ZERO_CFLAGS=$MALLOC_ZERO_CFLAGS
   21925 	XTMALLOC_ZERO_CFLAGS="$MALLOC_ZERO_CFLAGS -DXTMALLOC_BC"
   21926 else
   21927 	MALLOC_ZERO_CFLAGS=""
   21928 	XMALLOC_ZERO_CFLAGS=""
   21929 	XTMALLOC_ZERO_CFLAGS=""
   21930 fi
   21931 
   21932 
   21933 
   21934 
   21935 
   21936 
   21937 # Man page processing requirements
   21938 
   21939 
   21940 for ac_prog in cpp
   21941 do
   21942   # Extract the first word of "$ac_prog", so it can be a program name with args.
   21943 set dummy $ac_prog; ac_word=$2
   21944 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   21945 $as_echo_n "checking for $ac_word... " >&6; }
   21946 if test "${ac_cv_path_RAWCPP+set}" = set; then
   21947   $as_echo_n "(cached) " >&6
   21948 else
   21949   case $RAWCPP in
   21950   [\\/]* | ?:[\\/]*)
   21951   ac_cv_path_RAWCPP="$RAWCPP" # Let the user override the test with a path.
   21952   ;;
   21953   *)
   21954   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   21955 as_dummy="$PATH:/bin:/usr/bin:/usr/lib:/usr/libexec:/usr/ccs/lib:/usr/ccs/lbin:/lib"
   21956 for as_dir in $as_dummy
   21957 do
   21958   IFS=$as_save_IFS
   21959   test -z "$as_dir" && as_dir=.
   21960   for ac_exec_ext in '' $ac_executable_extensions; do
   21961   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   21962     ac_cv_path_RAWCPP="$as_dir/$ac_word$ac_exec_ext"
   21963     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   21964     break 2
   21965   fi
   21966 done
   21967 done
   21968 IFS=$as_save_IFS
   21969 
   21970   ;;
   21971 esac
   21972 fi
   21973 RAWCPP=$ac_cv_path_RAWCPP
   21974 if test -n "$RAWCPP"; then
   21975   { $as_echo "$as_me:$LINENO: result: $RAWCPP" >&5
   21976 $as_echo "$RAWCPP" >&6; }
   21977 else
   21978   { $as_echo "$as_me:$LINENO: result: no" >&5
   21979 $as_echo "no" >&6; }
   21980 fi
   21981 
   21982 
   21983   test -n "$RAWCPP" && break
   21984 done
   21985 test -n "$RAWCPP" || RAWCPP="${CPP}"
   21986 
   21987 
   21988 # Check for flag to avoid builtin definitions - assumes unix is predefined,
   21989 # which is not the best choice for supporting other OS'es, but covers most
   21990 # of the ones we need for now.
   21991 { $as_echo "$as_me:$LINENO: checking if $RAWCPP requires -undef" >&5
   21992 $as_echo_n "checking if $RAWCPP requires -undef... " >&6; }
   21993 cat >conftest.$ac_ext <<_ACEOF
   21994 Does cpp redefine unix ?
   21995 _ACEOF
   21996 if test `${RAWCPP} < conftest.$ac_ext | grep -c 'unix'` -eq 1 ; then
   21997 	{ $as_echo "$as_me:$LINENO: result: no" >&5
   21998 $as_echo "no" >&6; }
   21999 else
   22000 	if test `${RAWCPP} -undef < conftest.$ac_ext | grep -c 'unix'` -eq 1 ; then
   22001 		RAWCPPFLAGS=-undef
   22002 		{ $as_echo "$as_me:$LINENO: result: yes" >&5
   22003 $as_echo "yes" >&6; }
   22004 	# under Cygwin unix is still defined even with -undef
   22005 	elif test `${RAWCPP} -undef -ansi < conftest.$ac_ext | grep -c 'unix'` -eq 1 ; then
   22006 		RAWCPPFLAGS="-undef -ansi"
   22007 		{ $as_echo "$as_me:$LINENO: result: yes, with -ansi" >&5
   22008 $as_echo "yes, with -ansi" >&6; }
   22009 	else
   22010 		{ { $as_echo "$as_me:$LINENO: error: ${RAWCPP} defines unix with or without -undef.  I don't know what to do." >&5
   22011 $as_echo "$as_me: error: ${RAWCPP} defines unix with or without -undef.  I don't know what to do." >&2;}
   22012    { (exit 1); exit 1; }; }
   22013 	fi
   22014 fi
   22015 rm -f conftest.$ac_ext
   22016 
   22017 { $as_echo "$as_me:$LINENO: checking if $RAWCPP requires -traditional" >&5
   22018 $as_echo_n "checking if $RAWCPP requires -traditional... " >&6; }
   22019 cat >conftest.$ac_ext <<_ACEOF
   22020 Does cpp preserve   "whitespace"?
   22021 _ACEOF
   22022 if test `${RAWCPP} < conftest.$ac_ext | grep -c 'preserve   \"'` -eq 1 ; then
   22023 	{ $as_echo "$as_me:$LINENO: result: no" >&5
   22024 $as_echo "no" >&6; }
   22025 else
   22026 	if test `${RAWCPP} -traditional < conftest.$ac_ext | grep -c 'preserve   \"'` -eq 1 ; then
   22027 		RAWCPPFLAGS="${RAWCPPFLAGS} -traditional"
   22028 		{ $as_echo "$as_me:$LINENO: result: yes" >&5
   22029 $as_echo "yes" >&6; }
   22030 	else
   22031 		{ { $as_echo "$as_me:$LINENO: error: ${RAWCPP} does not preserve whitespace with or without -traditional.  I don't know what to do." >&5
   22032 $as_echo "$as_me: error: ${RAWCPP} does not preserve whitespace with or without -traditional.  I don't know what to do." >&2;}
   22033    { (exit 1); exit 1; }; }
   22034 	fi
   22035 fi
   22036 rm -f conftest.$ac_ext
   22037 
   22038 
   22039 
   22040 
   22041 
   22042 # Allow checking code with lint, sparse, etc.
   22043 
   22044 # Check whether --with-lint was given.
   22045 if test "${with_lint+set}" = set; then
   22046   withval=$with_lint; use_lint=$withval
   22047 else
   22048   use_lint=no
   22049 fi
   22050 
   22051 if test "x$use_lint" = "xyes" ; then
   22052 	LINT="lint"
   22053 else
   22054 	LINT="$use_lint"
   22055 fi
   22056 if test "x$LINT_FLAGS" = "x" -a "x$LINT" != "xno" ; then
   22057     case $LINT in
   22058 	lint|*/lint)
   22059 	    case $host_os in
   22060 		solaris*)
   22061 			LINT_FLAGS="-u -b -h -erroff=E_INDISTING_FROM_TRUNC2"
   22062 			;;
   22063 	    esac
   22064 	    ;;
   22065     esac
   22066 fi
   22067 
   22068 
   22069 
   22070  if test x$LINT != xno; then
   22071   LINT_TRUE=
   22072   LINT_FALSE='#'
   22073 else
   22074   LINT_TRUE='#'
   22075   LINT_FALSE=
   22076 fi
   22077 
   22078 
   22079 
   22080 
   22081 
   22082 # Build lint "library" for more indepth checks of programs calling this library
   22083 # Check whether --enable-lint-library was given.
   22084 if test "${enable_lint_library+set}" = set; then
   22085   enableval=$enable_lint_library; make_lint_lib=$enableval
   22086 else
   22087   make_lint_lib=no
   22088 fi
   22089 
   22090 if test "x$make_lint_lib" != "xno" ; then
   22091 	if test "x$LINT" = "xno" ; then
   22092 		{ { $as_echo "$as_me:$LINENO: error: Cannot make lint library without --with-lint" >&5
   22093 $as_echo "$as_me: error: Cannot make lint library without --with-lint" >&2;}
   22094    { (exit 1); exit 1; }; }
   22095 	fi
   22096 	if test "x$make_lint_lib" = "xyes" ; then
   22097 		LINTLIB=llib-lXext.ln
   22098 	else
   22099 		LINTLIB=$make_lint_lib
   22100 	fi
   22101 fi
   22102 
   22103  if test x$make_lint_lib != xno; then
   22104   MAKE_LINT_LIB_TRUE=
   22105   MAKE_LINT_LIB_FALSE='#'
   22106 else
   22107   MAKE_LINT_LIB_TRUE='#'
   22108   MAKE_LINT_LIB_FALSE=
   22109 fi
   22110 
   22111 
   22112 
   22113 LINT_FLAGS="${LINT_FLAGS} ${XEXT_CFLAGS}"
   22114 
   22115 ac_config_files="$ac_config_files Makefile man/Makefile src/Makefile xext.pc"
   22116 
   22117 cat >confcache <<\_ACEOF
   22118 # This file is a shell script that caches the results of configure
   22119 # tests run on this system so they can be shared between configure
   22120 # scripts and configure runs, see configure's option --config-cache.
   22121 # It is not useful on other systems.  If it contains results you don't
   22122 # want to keep, you may remove or edit it.
   22123 #
   22124 # config.status only pays attention to the cache file if you give it
   22125 # the --recheck option to rerun configure.
   22126 #
   22127 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   22128 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   22129 # following values.
   22130 
   22131 _ACEOF
   22132 
   22133 # The following way of writing the cache mishandles newlines in values,
   22134 # but we know of no workaround that is simple, portable, and efficient.
   22135 # So, we kill variables containing newlines.
   22136 # Ultrix sh set writes to stderr and can't be redirected directly,
   22137 # and sets the high bit in the cache file unless we assign to the vars.
   22138 (
   22139   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   22140     eval ac_val=\$$ac_var
   22141     case $ac_val in #(
   22142     *${as_nl}*)
   22143       case $ac_var in #(
   22144       *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
   22145 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   22146       esac
   22147       case $ac_var in #(
   22148       _ | IFS | as_nl) ;; #(
   22149       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   22150       *) $as_unset $ac_var ;;
   22151       esac ;;
   22152     esac
   22153   done
   22154 
   22155   (set) 2>&1 |
   22156     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   22157     *${as_nl}ac_space=\ *)
   22158       # `set' does not quote correctly, so add quotes (double-quote
   22159       # substitution turns \\\\ into \\, and sed turns \\ into \).
   22160       sed -n \
   22161 	"s/'/'\\\\''/g;
   22162 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   22163       ;; #(
   22164     *)
   22165       # `set' quotes correctly as required by POSIX, so do not add quotes.
   22166       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   22167       ;;
   22168     esac |
   22169     sort
   22170 ) |
   22171   sed '
   22172      /^ac_cv_env_/b end
   22173      t clear
   22174      :clear
   22175      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
   22176      t end
   22177      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   22178      :end' >>confcache
   22179 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   22180   if test -w "$cache_file"; then
   22181     test "x$cache_file" != "x/dev/null" &&
   22182       { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
   22183 $as_echo "$as_me: updating cache $cache_file" >&6;}
   22184     cat confcache >$cache_file
   22185   else
   22186     { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
   22187 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
   22188   fi
   22189 fi
   22190 rm -f confcache
   22191 
   22192 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   22193 # Let make expand exec_prefix.
   22194 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   22195 
   22196 DEFS=-DHAVE_CONFIG_H
   22197 
   22198 ac_libobjs=
   22199 ac_ltlibobjs=
   22200 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   22201   # 1. Remove the extension, and $U if already installed.
   22202   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   22203   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
   22204   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   22205   #    will be set to the directory where LIBOBJS objects are built.
   22206   ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   22207   ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
   22208 done
   22209 LIBOBJS=$ac_libobjs
   22210 
   22211 LTLIBOBJS=$ac_ltlibobjs
   22212 
   22213 
   22214  if test -n "$EXEEXT"; then
   22215   am__EXEEXT_TRUE=
   22216   am__EXEEXT_FALSE='#'
   22217 else
   22218   am__EXEEXT_TRUE='#'
   22219   am__EXEEXT_FALSE=
   22220 fi
   22221 
   22222 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
   22223   { { $as_echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
   22224 Usually this means the macro was only invoked conditionally." >&5
   22225 $as_echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
   22226 Usually this means the macro was only invoked conditionally." >&2;}
   22227    { (exit 1); exit 1; }; }
   22228 fi
   22229 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   22230   { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
   22231 Usually this means the macro was only invoked conditionally." >&5
   22232 $as_echo "$as_me: error: conditional \"AMDEP\" was never defined.
   22233 Usually this means the macro was only invoked conditionally." >&2;}
   22234    { (exit 1); exit 1; }; }
   22235 fi
   22236 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   22237   { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
   22238 Usually this means the macro was only invoked conditionally." >&5
   22239 $as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
   22240 Usually this means the macro was only invoked conditionally." >&2;}
   22241    { (exit 1); exit 1; }; }
   22242 fi
   22243 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
   22244   { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
   22245 Usually this means the macro was only invoked conditionally." >&5
   22246 $as_echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
   22247 Usually this means the macro was only invoked conditionally." >&2;}
   22248    { (exit 1); exit 1; }; }
   22249 fi
   22250 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   22251   { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
   22252 Usually this means the macro was only invoked conditionally." >&5
   22253 $as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
   22254 Usually this means the macro was only invoked conditionally." >&2;}
   22255    { (exit 1); exit 1; }; }
   22256 fi
   22257 if test -z "${LINT_TRUE}" && test -z "${LINT_FALSE}"; then
   22258   { { $as_echo "$as_me:$LINENO: error: conditional \"LINT\" was never defined.
   22259 Usually this means the macro was only invoked conditionally." >&5
   22260 $as_echo "$as_me: error: conditional \"LINT\" was never defined.
   22261 Usually this means the macro was only invoked conditionally." >&2;}
   22262    { (exit 1); exit 1; }; }
   22263 fi
   22264 if test -z "${MAKE_LINT_LIB_TRUE}" && test -z "${MAKE_LINT_LIB_FALSE}"; then
   22265   { { $as_echo "$as_me:$LINENO: error: conditional \"MAKE_LINT_LIB\" was never defined.
   22266 Usually this means the macro was only invoked conditionally." >&5
   22267 $as_echo "$as_me: error: conditional \"MAKE_LINT_LIB\" was never defined.
   22268 Usually this means the macro was only invoked conditionally." >&2;}
   22269    { (exit 1); exit 1; }; }
   22270 fi
   22271 
   22272 : ${CONFIG_STATUS=./config.status}
   22273 ac_write_fail=0
   22274 ac_clean_files_save=$ac_clean_files
   22275 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   22276 { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
   22277 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
   22278 cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   22279 #! $SHELL
   22280 # Generated by $as_me.
   22281 # Run this file to recreate the current configuration.
   22282 # Compiler output produced by configure, useful for debugging
   22283 # configure, is in config.log if it exists.
   22284 
   22285 debug=false
   22286 ac_cs_recheck=false
   22287 ac_cs_silent=false
   22288 SHELL=\${CONFIG_SHELL-$SHELL}
   22289 _ACEOF
   22290 
   22291 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   22292 ## --------------------- ##
   22293 ## M4sh Initialization.  ##
   22294 ## --------------------- ##
   22295 
   22296 # Be more Bourne compatible
   22297 DUALCASE=1; export DUALCASE # for MKS sh
   22298 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
   22299   emulate sh
   22300   NULLCMD=:
   22301   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   22302   # is contrary to our usage.  Disable this feature.
   22303   alias -g '${1+"$@"}'='"$@"'
   22304   setopt NO_GLOB_SUBST
   22305 else
   22306   case `(set -o) 2>/dev/null` in
   22307   *posix*) set -o posix ;;
   22308 esac
   22309 
   22310 fi
   22311 
   22312 
   22313 
   22314 
   22315 # PATH needs CR
   22316 # Avoid depending upon Character Ranges.
   22317 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   22318 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   22319 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   22320 as_cr_digits='0123456789'
   22321 as_cr_alnum=$as_cr_Letters$as_cr_digits
   22322 
   22323 as_nl='
   22324 '
   22325 export as_nl
   22326 # Printing a long string crashes Solaris 7 /usr/bin/printf.
   22327 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   22328 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
   22329 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
   22330 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
   22331   as_echo='printf %s\n'
   22332   as_echo_n='printf %s'
   22333 else
   22334   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
   22335     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
   22336     as_echo_n='/usr/ucb/echo -n'
   22337   else
   22338     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
   22339     as_echo_n_body='eval
   22340       arg=$1;
   22341       case $arg in
   22342       *"$as_nl"*)
   22343 	expr "X$arg" : "X\\(.*\\)$as_nl";
   22344 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
   22345       esac;
   22346       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
   22347     '
   22348     export as_echo_n_body
   22349     as_echo_n='sh -c $as_echo_n_body as_echo'
   22350   fi
   22351   export as_echo_body
   22352   as_echo='sh -c $as_echo_body as_echo'
   22353 fi
   22354 
   22355 # The user is always right.
   22356 if test "${PATH_SEPARATOR+set}" != set; then
   22357   PATH_SEPARATOR=:
   22358   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   22359     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   22360       PATH_SEPARATOR=';'
   22361   }
   22362 fi
   22363 
   22364 # Support unset when possible.
   22365 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   22366   as_unset=unset
   22367 else
   22368   as_unset=false
   22369 fi
   22370 
   22371 
   22372 # IFS
   22373 # We need space, tab and new line, in precisely that order.  Quoting is
   22374 # there to prevent editors from complaining about space-tab.
   22375 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
   22376 # splitting by setting IFS to empty value.)
   22377 IFS=" ""	$as_nl"
   22378 
   22379 # Find who we are.  Look in the path if we contain no directory separator.
   22380 case $0 in
   22381   *[\\/]* ) as_myself=$0 ;;
   22382   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   22383 for as_dir in $PATH
   22384 do
   22385   IFS=$as_save_IFS
   22386   test -z "$as_dir" && as_dir=.
   22387   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   22388 done
   22389 IFS=$as_save_IFS
   22390 
   22391      ;;
   22392 esac
   22393 # We did not find ourselves, most probably we were run as `sh COMMAND'
   22394 # in which case we are not to be found in the path.
   22395 if test "x$as_myself" = x; then
   22396   as_myself=$0
   22397 fi
   22398 if test ! -f "$as_myself"; then
   22399   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   22400   { (exit 1); exit 1; }
   22401 fi
   22402 
   22403 # Work around bugs in pre-3.0 UWIN ksh.
   22404 for as_var in ENV MAIL MAILPATH
   22405 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
   22406 done
   22407 PS1='$ '
   22408 PS2='> '
   22409 PS4='+ '
   22410 
   22411 # NLS nuisances.
   22412 LC_ALL=C
   22413 export LC_ALL
   22414 LANGUAGE=C
   22415 export LANGUAGE
   22416 
   22417 # Required to use basename.
   22418 if expr a : '\(a\)' >/dev/null 2>&1 &&
   22419    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   22420   as_expr=expr
   22421 else
   22422   as_expr=false
   22423 fi
   22424 
   22425 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   22426   as_basename=basename
   22427 else
   22428   as_basename=false
   22429 fi
   22430 
   22431 
   22432 # Name of the executable.
   22433 as_me=`$as_basename -- "$0" ||
   22434 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   22435 	 X"$0" : 'X\(//\)$' \| \
   22436 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   22437 $as_echo X/"$0" |
   22438     sed '/^.*\/\([^/][^/]*\)\/*$/{
   22439 	    s//\1/
   22440 	    q
   22441 	  }
   22442 	  /^X\/\(\/\/\)$/{
   22443 	    s//\1/
   22444 	    q
   22445 	  }
   22446 	  /^X\/\(\/\).*/{
   22447 	    s//\1/
   22448 	    q
   22449 	  }
   22450 	  s/.*/./; q'`
   22451 
   22452 # CDPATH.
   22453 $as_unset CDPATH
   22454 
   22455 
   22456 
   22457   as_lineno_1=$LINENO
   22458   as_lineno_2=$LINENO
   22459   test "x$as_lineno_1" != "x$as_lineno_2" &&
   22460   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
   22461 
   22462   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
   22463   # uniformly replaced by the line number.  The first 'sed' inserts a
   22464   # line-number line after each line using $LINENO; the second 'sed'
   22465   # does the real work.  The second script uses 'N' to pair each
   22466   # line-number line with the line containing $LINENO, and appends
   22467   # trailing '-' during substitution so that $LINENO is not a special
   22468   # case at line end.
   22469   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
   22470   # scripts with optimization help from Paolo Bonzini.  Blame Lee
   22471   # E. McMahon (1931-1989) for sed's syntax.  :-)
   22472   sed -n '
   22473     p
   22474     /[$]LINENO/=
   22475   ' <$as_myself |
   22476     sed '
   22477       s/[$]LINENO.*/&-/
   22478       t lineno
   22479       b
   22480       :lineno
   22481       N
   22482       :loop
   22483       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
   22484       t loop
   22485       s/-\n.*//
   22486     ' >$as_me.lineno &&
   22487   chmod +x "$as_me.lineno" ||
   22488     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
   22489    { (exit 1); exit 1; }; }
   22490 
   22491   # Don't try to exec as it changes $[0], causing all sort of problems
   22492   # (the dirname of $[0] is not the place where we might find the
   22493   # original and so on.  Autoconf is especially sensitive to this).
   22494   . "./$as_me.lineno"
   22495   # Exit status is that of the last command.
   22496   exit
   22497 }
   22498 
   22499 
   22500 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   22501   as_dirname=dirname
   22502 else
   22503   as_dirname=false
   22504 fi
   22505 
   22506 ECHO_C= ECHO_N= ECHO_T=
   22507 case `echo -n x` in
   22508 -n*)
   22509   case `echo 'x\c'` in
   22510   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   22511   *)   ECHO_C='\c';;
   22512   esac;;
   22513 *)
   22514   ECHO_N='-n';;
   22515 esac
   22516 if expr a : '\(a\)' >/dev/null 2>&1 &&
   22517    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   22518   as_expr=expr
   22519 else
   22520   as_expr=false
   22521 fi
   22522 
   22523 rm -f conf$$ conf$$.exe conf$$.file
   22524 if test -d conf$$.dir; then
   22525   rm -f conf$$.dir/conf$$.file
   22526 else
   22527   rm -f conf$$.dir
   22528   mkdir conf$$.dir 2>/dev/null
   22529 fi
   22530 if (echo >conf$$.file) 2>/dev/null; then
   22531   if ln -s conf$$.file conf$$ 2>/dev/null; then
   22532     as_ln_s='ln -s'
   22533     # ... but there are two gotchas:
   22534     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   22535     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   22536     # In both cases, we have to default to `cp -p'.
   22537     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   22538       as_ln_s='cp -p'
   22539   elif ln conf$$.file conf$$ 2>/dev/null; then
   22540     as_ln_s=ln
   22541   else
   22542     as_ln_s='cp -p'
   22543   fi
   22544 else
   22545   as_ln_s='cp -p'
   22546 fi
   22547 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   22548 rmdir conf$$.dir 2>/dev/null
   22549 
   22550 if mkdir -p . 2>/dev/null; then
   22551   as_mkdir_p=:
   22552 else
   22553   test -d ./-p && rmdir ./-p
   22554   as_mkdir_p=false
   22555 fi
   22556 
   22557 if test -x / >/dev/null 2>&1; then
   22558   as_test_x='test -x'
   22559 else
   22560   if ls -dL / >/dev/null 2>&1; then
   22561     as_ls_L_option=L
   22562   else
   22563     as_ls_L_option=
   22564   fi
   22565   as_test_x='
   22566     eval sh -c '\''
   22567       if test -d "$1"; then
   22568 	test -d "$1/.";
   22569       else
   22570 	case $1 in
   22571 	-*)set "./$1";;
   22572 	esac;
   22573 	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
   22574 	???[sx]*):;;*)false;;esac;fi
   22575     '\'' sh
   22576   '
   22577 fi
   22578 as_executable_p=$as_test_x
   22579 
   22580 # Sed expression to map a string onto a valid CPP name.
   22581 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   22582 
   22583 # Sed expression to map a string onto a valid variable name.
   22584 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   22585 
   22586 
   22587 exec 6>&1
   22588 
   22589 # Save the log message, to keep $[0] and so on meaningful, and to
   22590 # report actual input values of CONFIG_FILES etc. instead of their
   22591 # values after options handling.
   22592 ac_log="
   22593 This file was extended by libXext $as_me 1.1.1, which was
   22594 generated by GNU Autoconf 2.63.  Invocation command line was
   22595 
   22596   CONFIG_FILES    = $CONFIG_FILES
   22597   CONFIG_HEADERS  = $CONFIG_HEADERS
   22598   CONFIG_LINKS    = $CONFIG_LINKS
   22599   CONFIG_COMMANDS = $CONFIG_COMMANDS
   22600   $ $0 $@
   22601 
   22602 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   22603 "
   22604 
   22605 _ACEOF
   22606 
   22607 case $ac_config_files in *"
   22608 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   22609 esac
   22610 
   22611 case $ac_config_headers in *"
   22612 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   22613 esac
   22614 
   22615 
   22616 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   22617 # Files that config.status was made for.
   22618 config_files="$ac_config_files"
   22619 config_headers="$ac_config_headers"
   22620 config_commands="$ac_config_commands"
   22621 
   22622 _ACEOF
   22623 
   22624 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   22625 ac_cs_usage="\
   22626 \`$as_me' instantiates files from templates according to the
   22627 current configuration.
   22628 
   22629 Usage: $0 [OPTION]... [FILE]...
   22630 
   22631   -h, --help       print this help, then exit
   22632   -V, --version    print version number and configuration settings, then exit
   22633   -q, --quiet, --silent
   22634                    do not print progress messages
   22635   -d, --debug      don't remove temporary files
   22636       --recheck    update $as_me by reconfiguring in the same conditions
   22637       --file=FILE[:TEMPLATE]
   22638                    instantiate the configuration file FILE
   22639       --header=FILE[:TEMPLATE]
   22640                    instantiate the configuration header FILE
   22641 
   22642 Configuration files:
   22643 $config_files
   22644 
   22645 Configuration headers:
   22646 $config_headers
   22647 
   22648 Configuration commands:
   22649 $config_commands
   22650 
   22651 Report bugs to <bug-autoconf (at] gnu.org>."
   22652 
   22653 _ACEOF
   22654 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   22655 ac_cs_version="\\
   22656 libXext config.status 1.1.1
   22657 configured by $0, generated by GNU Autoconf 2.63,
   22658   with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
   22659 
   22660 Copyright (C) 2008 Free Software Foundation, Inc.
   22661 This config.status script is free software; the Free Software Foundation
   22662 gives unlimited permission to copy, distribute and modify it."
   22663 
   22664 ac_pwd='$ac_pwd'
   22665 srcdir='$srcdir'
   22666 INSTALL='$INSTALL'
   22667 MKDIR_P='$MKDIR_P'
   22668 AWK='$AWK'
   22669 test -n "\$AWK" || AWK=awk
   22670 _ACEOF
   22671 
   22672 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   22673 # The default lists apply if the user does not specify any file.
   22674 ac_need_defaults=:
   22675 while test $# != 0
   22676 do
   22677   case $1 in
   22678   --*=*)
   22679     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   22680     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   22681     ac_shift=:
   22682     ;;
   22683   *)
   22684     ac_option=$1
   22685     ac_optarg=$2
   22686     ac_shift=shift
   22687     ;;
   22688   esac
   22689 
   22690   case $ac_option in
   22691   # Handling of the options.
   22692   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   22693     ac_cs_recheck=: ;;
   22694   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   22695     $as_echo "$ac_cs_version"; exit ;;
   22696   --debug | --debu | --deb | --de | --d | -d )
   22697     debug=: ;;
   22698   --file | --fil | --fi | --f )
   22699     $ac_shift
   22700     case $ac_optarg in
   22701     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   22702     esac
   22703     CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
   22704     ac_need_defaults=false;;
   22705   --header | --heade | --head | --hea )
   22706     $ac_shift
   22707     case $ac_optarg in
   22708     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   22709     esac
   22710     CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'"
   22711     ac_need_defaults=false;;
   22712   --he | --h)
   22713     # Conflict between --help and --header
   22714     { $as_echo "$as_me: error: ambiguous option: $1
   22715 Try \`$0 --help' for more information." >&2
   22716    { (exit 1); exit 1; }; };;
   22717   --help | --hel | -h )
   22718     $as_echo "$ac_cs_usage"; exit ;;
   22719   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   22720   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   22721     ac_cs_silent=: ;;
   22722 
   22723   # This is an error.
   22724   -*) { $as_echo "$as_me: error: unrecognized option: $1
   22725 Try \`$0 --help' for more information." >&2
   22726    { (exit 1); exit 1; }; } ;;
   22727 
   22728   *) ac_config_targets="$ac_config_targets $1"
   22729      ac_need_defaults=false ;;
   22730 
   22731   esac
   22732   shift
   22733 done
   22734 
   22735 ac_configure_extra_args=
   22736 
   22737 if $ac_cs_silent; then
   22738   exec 6>/dev/null
   22739   ac_configure_extra_args="$ac_configure_extra_args --silent"
   22740 fi
   22741 
   22742 _ACEOF
   22743 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   22744 if \$ac_cs_recheck; then
   22745   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   22746   shift
   22747   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
   22748   CONFIG_SHELL='$SHELL'
   22749   export CONFIG_SHELL
   22750   exec "\$@"
   22751 fi
   22752 
   22753 _ACEOF
   22754 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   22755 exec 5>>config.log
   22756 {
   22757   echo
   22758   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   22759 ## Running $as_me. ##
   22760 _ASBOX
   22761   $as_echo "$ac_log"
   22762 } >&5
   22763 
   22764 _ACEOF
   22765 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   22766 #
   22767 # INIT-COMMANDS
   22768 #
   22769 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
   22770 
   22771 _ACEOF
   22772 
   22773 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   22774 
   22775 # Handling of arguments.
   22776 for ac_config_target in $ac_config_targets
   22777 do
   22778   case $ac_config_target in
   22779     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   22780     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   22781     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   22782     "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
   22783     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
   22784     "xext.pc") CONFIG_FILES="$CONFIG_FILES xext.pc" ;;
   22785 
   22786   *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
   22787 $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
   22788    { (exit 1); exit 1; }; };;
   22789   esac
   22790 done
   22791 
   22792 
   22793 # If the user did not use the arguments to specify the items to instantiate,
   22794 # then the envvar interface is used.  Set only those that are not.
   22795 # We use the long form for the default assignment because of an extremely
   22796 # bizarre bug on SunOS 4.1.3.
   22797 if $ac_need_defaults; then
   22798   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
   22799   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
   22800   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
   22801 fi
   22802 
   22803 # Have a temporary directory for convenience.  Make it in the build tree
   22804 # simply because there is no reason against having it here, and in addition,
   22805 # creating and moving files from /tmp can sometimes cause problems.
   22806 # Hook for its removal unless debugging.
   22807 # Note that there is a small window in which the directory will not be cleaned:
   22808 # after its creation but before its name has been assigned to `$tmp'.
   22809 $debug ||
   22810 {
   22811   tmp=
   22812   trap 'exit_status=$?
   22813   { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
   22814 ' 0
   22815   trap '{ (exit 1); exit 1; }' 1 2 13 15
   22816 }
   22817 # Create a (secure) tmp directory for tmp files.
   22818 
   22819 {
   22820   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   22821   test -n "$tmp" && test -d "$tmp"
   22822 }  ||
   22823 {
   22824   tmp=./conf$$-$RANDOM
   22825   (umask 077 && mkdir "$tmp")
   22826 } ||
   22827 {
   22828    $as_echo "$as_me: cannot create a temporary directory in ." >&2
   22829    { (exit 1); exit 1; }
   22830 }
   22831 
   22832 # Set up the scripts for CONFIG_FILES section.
   22833 # No need to generate them if there are no CONFIG_FILES.
   22834 # This happens for instance with `./config.status config.h'.
   22835 if test -n "$CONFIG_FILES"; then
   22836 
   22837 
   22838 ac_cr='
'
   22840 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   22841 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   22842   ac_cs_awk_cr='\\r'
   22843 else
   22844   ac_cs_awk_cr=$ac_cr
   22845 fi
   22846 
   22847 echo 'BEGIN {' >"$tmp/subs1.awk" &&
   22848 _ACEOF
   22849 
   22850 
   22851 {
   22852   echo "cat >conf$$subs.awk <<_ACEOF" &&
   22853   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   22854   echo "_ACEOF"
   22855 } >conf$$subs.sh ||
   22856   { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
   22857 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
   22858    { (exit 1); exit 1; }; }
   22859 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
   22860 ac_delim='%!_!# '
   22861 for ac_last_try in false false false false false :; do
   22862   . ./conf$$subs.sh ||
   22863     { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
   22864 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
   22865    { (exit 1); exit 1; }; }
   22866 
   22867   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   22868   if test $ac_delim_n = $ac_delim_num; then
   22869     break
   22870   elif $ac_last_try; then
   22871     { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
   22872 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
   22873    { (exit 1); exit 1; }; }
   22874   else
   22875     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   22876   fi
   22877 done
   22878 rm -f conf$$subs.sh
   22879 
   22880 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   22881 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
   22882 _ACEOF
   22883 sed -n '
   22884 h
   22885 s/^/S["/; s/!.*/"]=/
   22886 p
   22887 g
   22888 s/^[^!]*!//
   22889 :repl
   22890 t repl
   22891 s/'"$ac_delim"'$//
   22892 t delim
   22893 :nl
   22894 h
   22895 s/\(.\{148\}\).*/\1/
   22896 t more1
   22897 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   22898 p
   22899 n
   22900 b repl
   22901 :more1
   22902 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   22903 p
   22904 g
   22905 s/.\{148\}//
   22906 t nl
   22907 :delim
   22908 h
   22909 s/\(.\{148\}\).*/\1/
   22910 t more2
   22911 s/["\\]/\\&/g; s/^/"/; s/$/"/
   22912 p
   22913 b
   22914 :more2
   22915 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   22916 p
   22917 g
   22918 s/.\{148\}//
   22919 t delim
   22920 ' <conf$$subs.awk | sed '
   22921 /^[^""]/{
   22922   N
   22923   s/\n//
   22924 }
   22925 ' >>$CONFIG_STATUS || ac_write_fail=1
   22926 rm -f conf$$subs.awk
   22927 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   22928 _ACAWK
   22929 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
   22930   for (key in S) S_is_set[key] = 1
   22931   FS = ""
   22932 
   22933 }
   22934 {
   22935   line = $ 0
   22936   nfields = split(line, field, "@")
   22937   substed = 0
   22938   len = length(field[1])
   22939   for (i = 2; i < nfields; i++) {
   22940     key = field[i]
   22941     keylen = length(key)
   22942     if (S_is_set[key]) {
   22943       value = S[key]
   22944       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   22945       len += length(value) + length(field[++i])
   22946       substed = 1
   22947     } else
   22948       len += 1 + keylen
   22949   }
   22950 
   22951   print line
   22952 }
   22953 
   22954 _ACAWK
   22955 _ACEOF
   22956 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   22957 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   22958   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   22959 else
   22960   cat
   22961 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
   22962   || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
   22963 $as_echo "$as_me: error: could not setup config files machinery" >&2;}
   22964    { (exit 1); exit 1; }; }
   22965 _ACEOF
   22966 
   22967 # VPATH may cause trouble with some makes, so we remove $(srcdir),
   22968 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
   22969 # trailing colons and then remove the whole line if VPATH becomes empty
   22970 # (actually we leave an empty line to preserve line numbers).
   22971 if test "x$srcdir" = x.; then
   22972   ac_vpsub='/^[	 ]*VPATH[	 ]*=/{
   22973 s/:*\$(srcdir):*/:/
   22974 s/:*\${srcdir}:*/:/
   22975 s/:*@srcdir@:*/:/
   22976 s/^\([^=]*=[	 ]*\):*/\1/
   22977 s/:*$//
   22978 s/^[^=]*=[	 ]*$//
   22979 }'
   22980 fi
   22981 
   22982 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   22983 fi # test -n "$CONFIG_FILES"
   22984 
   22985 # Set up the scripts for CONFIG_HEADERS section.
   22986 # No need to generate them if there are no CONFIG_HEADERS.
   22987 # This happens for instance with `./config.status Makefile'.
   22988 if test -n "$CONFIG_HEADERS"; then
   22989 cat >"$tmp/defines.awk" <<\_ACAWK ||
   22990 BEGIN {
   22991 _ACEOF
   22992 
   22993 # Transform confdefs.h into an awk script `defines.awk', embedded as
   22994 # here-document in config.status, that substitutes the proper values into
   22995 # config.h.in to produce config.h.
   22996 
   22997 # Create a delimiter string that does not exist in confdefs.h, to ease
   22998 # handling of long lines.
   22999 ac_delim='%!_!# '
   23000 for ac_last_try in false false :; do
   23001   ac_t=`sed -n "/$ac_delim/p" confdefs.h`
   23002   if test -z "$ac_t"; then
   23003     break
   23004   elif $ac_last_try; then
   23005     { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5
   23006 $as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;}
   23007    { (exit 1); exit 1; }; }
   23008   else
   23009     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   23010   fi
   23011 done
   23012 
   23013 # For the awk script, D is an array of macro values keyed by name,
   23014 # likewise P contains macro parameters if any.  Preserve backslash
   23015 # newline sequences.
   23016 
   23017 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   23018 sed -n '
   23019 s/.\{148\}/&'"$ac_delim"'/g
   23020 t rset
   23021 :rset
   23022 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   23023 t def
   23024 d
   23025 :def
   23026 s/\\$//
   23027 t bsnl
   23028 s/["\\]/\\&/g
   23029 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   23030 D["\1"]=" \3"/p
   23031 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   23032 d
   23033 :bsnl
   23034 s/["\\]/\\&/g
   23035 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   23036 D["\1"]=" \3\\\\\\n"\\/p
   23037 t cont
   23038 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   23039 t cont
   23040 d
   23041 :cont
   23042 n
   23043 s/.\{148\}/&'"$ac_delim"'/g
   23044 t clear
   23045 :clear
   23046 s/\\$//
   23047 t bsnlc
   23048 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   23049 d
   23050 :bsnlc
   23051 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   23052 b cont
   23053 ' <confdefs.h | sed '
   23054 s/'"$ac_delim"'/"\\\
   23055 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   23056 
   23057 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   23058   for (key in D) D_is_set[key] = 1
   23059   FS = ""
   23060 }
   23061 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   23062   line = \$ 0
   23063   split(line, arg, " ")
   23064   if (arg[1] == "#") {
   23065     defundef = arg[2]
   23066     mac1 = arg[3]
   23067   } else {
   23068     defundef = substr(arg[1], 2)
   23069     mac1 = arg[2]
   23070   }
   23071   split(mac1, mac2, "(") #)
   23072   macro = mac2[1]
   23073   prefix = substr(line, 1, index(line, defundef) - 1)
   23074   if (D_is_set[macro]) {
   23075     # Preserve the white space surrounding the "#".
   23076     print prefix "define", macro P[macro] D[macro]
   23077     next
   23078   } else {
   23079     # Replace #undef with comments.  This is necessary, for example,
   23080     # in the case of _POSIX_SOURCE, which is predefined and required
   23081     # on some systems where configure will not decide to define it.
   23082     if (defundef == "undef") {
   23083       print "/*", prefix defundef, macro, "*/"
   23084       next
   23085     }
   23086   }
   23087 }
   23088 { print }
   23089 _ACAWK
   23090 _ACEOF
   23091 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   23092   { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
   23093 $as_echo "$as_me: error: could not setup config headers machinery" >&2;}
   23094    { (exit 1); exit 1; }; }
   23095 fi # test -n "$CONFIG_HEADERS"
   23096 
   23097 
   23098 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   23099 shift
   23100 for ac_tag
   23101 do
   23102   case $ac_tag in
   23103   :[FHLC]) ac_mode=$ac_tag; continue;;
   23104   esac
   23105   case $ac_mode$ac_tag in
   23106   :[FHL]*:*);;
   23107   :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
   23108 $as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
   23109    { (exit 1); exit 1; }; };;
   23110   :[FH]-) ac_tag=-:-;;
   23111   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   23112   esac
   23113   ac_save_IFS=$IFS
   23114   IFS=:
   23115   set x $ac_tag
   23116   IFS=$ac_save_IFS
   23117   shift
   23118   ac_file=$1
   23119   shift
   23120 
   23121   case $ac_mode in
   23122   :L) ac_source=$1;;
   23123   :[FH])
   23124     ac_file_inputs=
   23125     for ac_f
   23126     do
   23127       case $ac_f in
   23128       -) ac_f="$tmp/stdin";;
   23129       *) # Look for the file first in the build tree, then in the source tree
   23130 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   23131 	 # because $ac_f cannot contain `:'.
   23132 	 test -f "$ac_f" ||
   23133 	   case $ac_f in
   23134 	   [\\/$]*) false;;
   23135 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   23136 	   esac ||
   23137 	   { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
   23138 $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
   23139    { (exit 1); exit 1; }; };;
   23140       esac
   23141       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   23142       ac_file_inputs="$ac_file_inputs '$ac_f'"
   23143     done
   23144 
   23145     # Let's still pretend it is `configure' which instantiates (i.e., don't
   23146     # use $as_me), people would be surprised to read:
   23147     #    /* config.h.  Generated by config.status.  */
   23148     configure_input='Generated from '`
   23149 	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   23150 	`' by configure.'
   23151     if test x"$ac_file" != x-; then
   23152       configure_input="$ac_file.  $configure_input"
   23153       { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
   23154 $as_echo "$as_me: creating $ac_file" >&6;}
   23155     fi
   23156     # Neutralize special characters interpreted by sed in replacement strings.
   23157     case $configure_input in #(
   23158     *\&* | *\|* | *\\* )
   23159        ac_sed_conf_input=`$as_echo "$configure_input" |
   23160        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   23161     *) ac_sed_conf_input=$configure_input;;
   23162     esac
   23163 
   23164     case $ac_tag in
   23165     *:-:* | *:-) cat >"$tmp/stdin" \
   23166       || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
   23167 $as_echo "$as_me: error: could not create $ac_file" >&2;}
   23168    { (exit 1); exit 1; }; } ;;
   23169     esac
   23170     ;;
   23171   esac
   23172 
   23173   ac_dir=`$as_dirname -- "$ac_file" ||
   23174 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   23175 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   23176 	 X"$ac_file" : 'X\(//\)$' \| \
   23177 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   23178 $as_echo X"$ac_file" |
   23179     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   23180 	    s//\1/
   23181 	    q
   23182 	  }
   23183 	  /^X\(\/\/\)[^/].*/{
   23184 	    s//\1/
   23185 	    q
   23186 	  }
   23187 	  /^X\(\/\/\)$/{
   23188 	    s//\1/
   23189 	    q
   23190 	  }
   23191 	  /^X\(\/\).*/{
   23192 	    s//\1/
   23193 	    q
   23194 	  }
   23195 	  s/.*/./; q'`
   23196   { as_dir="$ac_dir"
   23197   case $as_dir in #(
   23198   -*) as_dir=./$as_dir;;
   23199   esac
   23200   test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
   23201     as_dirs=
   23202     while :; do
   23203       case $as_dir in #(
   23204       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   23205       *) as_qdir=$as_dir;;
   23206       esac
   23207       as_dirs="'$as_qdir' $as_dirs"
   23208       as_dir=`$as_dirname -- "$as_dir" ||
   23209 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   23210 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   23211 	 X"$as_dir" : 'X\(//\)$' \| \
   23212 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   23213 $as_echo X"$as_dir" |
   23214     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   23215 	    s//\1/
   23216 	    q
   23217 	  }
   23218 	  /^X\(\/\/\)[^/].*/{
   23219 	    s//\1/
   23220 	    q
   23221 	  }
   23222 	  /^X\(\/\/\)$/{
   23223 	    s//\1/
   23224 	    q
   23225 	  }
   23226 	  /^X\(\/\).*/{
   23227 	    s//\1/
   23228 	    q
   23229 	  }
   23230 	  s/.*/./; q'`
   23231       test -d "$as_dir" && break
   23232     done
   23233     test -z "$as_dirs" || eval "mkdir $as_dirs"
   23234   } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
   23235 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
   23236    { (exit 1); exit 1; }; }; }
   23237   ac_builddir=.
   23238 
   23239 case "$ac_dir" in
   23240 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   23241 *)
   23242   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   23243   # A ".." for each directory in $ac_dir_suffix.
   23244   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   23245   case $ac_top_builddir_sub in
   23246   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   23247   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   23248   esac ;;
   23249 esac
   23250 ac_abs_top_builddir=$ac_pwd
   23251 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   23252 # for backward compatibility:
   23253 ac_top_builddir=$ac_top_build_prefix
   23254 
   23255 case $srcdir in
   23256   .)  # We are building in place.
   23257     ac_srcdir=.
   23258     ac_top_srcdir=$ac_top_builddir_sub
   23259     ac_abs_top_srcdir=$ac_pwd ;;
   23260   [\\/]* | ?:[\\/]* )  # Absolute name.
   23261     ac_srcdir=$srcdir$ac_dir_suffix;
   23262     ac_top_srcdir=$srcdir
   23263     ac_abs_top_srcdir=$srcdir ;;
   23264   *) # Relative name.
   23265     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   23266     ac_top_srcdir=$ac_top_build_prefix$srcdir
   23267     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   23268 esac
   23269 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   23270 
   23271 
   23272   case $ac_mode in
   23273   :F)
   23274   #
   23275   # CONFIG_FILE
   23276   #
   23277 
   23278   case $INSTALL in
   23279   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   23280   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   23281   esac
   23282   ac_MKDIR_P=$MKDIR_P
   23283   case $MKDIR_P in
   23284   [\\/$]* | ?:[\\/]* ) ;;
   23285   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   23286   esac
   23287 _ACEOF
   23288 
   23289 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   23290 # If the template does not know about datarootdir, expand it.
   23291 # FIXME: This hack should be removed a few years after 2.60.
   23292 ac_datarootdir_hack=; ac_datarootdir_seen=
   23293 
   23294 ac_sed_dataroot='
   23295 /datarootdir/ {
   23296   p
   23297   q
   23298 }
   23299 /@datadir@/p
   23300 /@docdir@/p
   23301 /@infodir@/p
   23302 /@localedir@/p
   23303 /@mandir@/p
   23304 '
   23305 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   23306 *datarootdir*) ac_datarootdir_seen=yes;;
   23307 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   23308   { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   23309 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   23310 _ACEOF
   23311 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   23312   ac_datarootdir_hack='
   23313   s&@datadir@&$datadir&g
   23314   s&@docdir@&$docdir&g
   23315   s&@infodir@&$infodir&g
   23316   s&@localedir@&$localedir&g
   23317   s&@mandir@&$mandir&g
   23318     s&\\\${datarootdir}&$datarootdir&g' ;;
   23319 esac
   23320 _ACEOF
   23321 
   23322 # Neutralize VPATH when `$srcdir' = `.'.
   23323 # Shell code in configure.ac might set extrasub.
   23324 # FIXME: do we really want to maintain this feature?
   23325 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   23326 ac_sed_extra="$ac_vpsub
   23327 $extrasub
   23328 _ACEOF
   23329 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   23330 :t
   23331 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   23332 s|@configure_input@|$ac_sed_conf_input|;t t
   23333 s&@top_builddir@&$ac_top_builddir_sub&;t t
   23334 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   23335 s&@srcdir@&$ac_srcdir&;t t
   23336 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   23337 s&@top_srcdir@&$ac_top_srcdir&;t t
   23338 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   23339 s&@builddir@&$ac_builddir&;t t
   23340 s&@abs_builddir@&$ac_abs_builddir&;t t
   23341 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   23342 s&@INSTALL@&$ac_INSTALL&;t t
   23343 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   23344 $ac_datarootdir_hack
   23345 "
   23346 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
   23347   || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
   23348 $as_echo "$as_me: error: could not create $ac_file" >&2;}
   23349    { (exit 1); exit 1; }; }
   23350 
   23351 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   23352   { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
   23353   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
   23354   { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   23355 which seems to be undefined.  Please make sure it is defined." >&5
   23356 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   23357 which seems to be undefined.  Please make sure it is defined." >&2;}
   23358 
   23359   rm -f "$tmp/stdin"
   23360   case $ac_file in
   23361   -) cat "$tmp/out" && rm -f "$tmp/out";;
   23362   *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
   23363   esac \
   23364   || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
   23365 $as_echo "$as_me: error: could not create $ac_file" >&2;}
   23366    { (exit 1); exit 1; }; }
   23367  ;;
   23368   :H)
   23369   #
   23370   # CONFIG_HEADER
   23371   #
   23372   if test x"$ac_file" != x-; then
   23373     {
   23374       $as_echo "/* $configure_input  */" \
   23375       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
   23376     } >"$tmp/config.h" \
   23377       || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
   23378 $as_echo "$as_me: error: could not create $ac_file" >&2;}
   23379    { (exit 1); exit 1; }; }
   23380     if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
   23381       { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
   23382 $as_echo "$as_me: $ac_file is unchanged" >&6;}
   23383     else
   23384       rm -f "$ac_file"
   23385       mv "$tmp/config.h" "$ac_file" \
   23386 	|| { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
   23387 $as_echo "$as_me: error: could not create $ac_file" >&2;}
   23388    { (exit 1); exit 1; }; }
   23389     fi
   23390   else
   23391     $as_echo "/* $configure_input  */" \
   23392       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
   23393       || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
   23394 $as_echo "$as_me: error: could not create -" >&2;}
   23395    { (exit 1); exit 1; }; }
   23396   fi
   23397 # Compute "$ac_file"'s index in $config_headers.
   23398 _am_arg="$ac_file"
   23399 _am_stamp_count=1
   23400 for _am_header in $config_headers :; do
   23401   case $_am_header in
   23402     $_am_arg | $_am_arg:* )
   23403       break ;;
   23404     * )
   23405       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   23406   esac
   23407 done
   23408 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   23409 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   23410 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   23411 	 X"$_am_arg" : 'X\(//\)$' \| \
   23412 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   23413 $as_echo X"$_am_arg" |
   23414     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   23415 	    s//\1/
   23416 	    q
   23417 	  }
   23418 	  /^X\(\/\/\)[^/].*/{
   23419 	    s//\1/
   23420 	    q
   23421 	  }
   23422 	  /^X\(\/\/\)$/{
   23423 	    s//\1/
   23424 	    q
   23425 	  }
   23426 	  /^X\(\/\).*/{
   23427 	    s//\1/
   23428 	    q
   23429 	  }
   23430 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   23431  ;;
   23432 
   23433   :C)  { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
   23434 $as_echo "$as_me: executing $ac_file commands" >&6;}
   23435  ;;
   23436   esac
   23437 
   23438 
   23439   case $ac_file$ac_mode in
   23440     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   23441   # Autoconf 2.62 quotes --file arguments for eval, but not when files
   23442   # are listed without --file.  Let's play safe and only enable the eval
   23443   # if we detect the quoting.
   23444   case $CONFIG_FILES in
   23445   *\'*) eval set x "$CONFIG_FILES" ;;
   23446   *)   set x $CONFIG_FILES ;;
   23447   esac
   23448   shift
   23449   for mf
   23450   do
   23451     # Strip MF so we end up with the name of the file.
   23452     mf=`echo "$mf" | sed -e 's/:.*$//'`
   23453     # Check whether this is an Automake generated Makefile or not.
   23454     # We used to match only the files named `Makefile.in', but
   23455     # some people rename them; so instead we look at the file content.
   23456     # Grep'ing the first line is not enough: some people post-process
   23457     # each Makefile.in and add a new line on top of each file to say so.
   23458     # Grep'ing the whole file is not good either: AIX grep has a line
   23459     # limit of 2048, but all sed's we know have understand at least 4000.
   23460     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
   23461       dirpart=`$as_dirname -- "$mf" ||
   23462 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   23463 	 X"$mf" : 'X\(//\)[^/]' \| \
   23464 	 X"$mf" : 'X\(//\)$' \| \
   23465 	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
   23466 $as_echo X"$mf" |
   23467     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   23468 	    s//\1/
   23469 	    q
   23470 	  }
   23471 	  /^X\(\/\/\)[^/].*/{
   23472 	    s//\1/
   23473 	    q
   23474 	  }
   23475 	  /^X\(\/\/\)$/{
   23476 	    s//\1/
   23477 	    q
   23478 	  }
   23479 	  /^X\(\/\).*/{
   23480 	    s//\1/
   23481 	    q
   23482 	  }
   23483 	  s/.*/./; q'`
   23484     else
   23485       continue
   23486     fi
   23487     # Extract the definition of DEPDIR, am__include, and am__quote
   23488     # from the Makefile without running `make'.
   23489     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
   23490     test -z "$DEPDIR" && continue
   23491     am__include=`sed -n 's/^am__include = //p' < "$mf"`
   23492     test -z "am__include" && continue
   23493     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
   23494     # When using ansi2knr, U may be empty or an underscore; expand it
   23495     U=`sed -n 's/^U = //p' < "$mf"`
   23496     # Find all dependency output files, they are included files with
   23497     # $(DEPDIR) in their names.  We invoke sed twice because it is the
   23498     # simplest approach to changing $(DEPDIR) to its actual value in the
   23499     # expansion.
   23500     for file in `sed -n "
   23501       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
   23502 	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
   23503       # Make sure the directory exists.
   23504       test -f "$dirpart/$file" && continue
   23505       fdir=`$as_dirname -- "$file" ||
   23506 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   23507 	 X"$file" : 'X\(//\)[^/]' \| \
   23508 	 X"$file" : 'X\(//\)$' \| \
   23509 	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
   23510 $as_echo X"$file" |
   23511     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   23512 	    s//\1/
   23513 	    q
   23514 	  }
   23515 	  /^X\(\/\/\)[^/].*/{
   23516 	    s//\1/
   23517 	    q
   23518 	  }
   23519 	  /^X\(\/\/\)$/{
   23520 	    s//\1/
   23521 	    q
   23522 	  }
   23523 	  /^X\(\/\).*/{
   23524 	    s//\1/
   23525 	    q
   23526 	  }
   23527 	  s/.*/./; q'`
   23528       { as_dir=$dirpart/$fdir
   23529   case $as_dir in #(
   23530   -*) as_dir=./$as_dir;;
   23531   esac
   23532   test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
   23533     as_dirs=
   23534     while :; do
   23535       case $as_dir in #(
   23536       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   23537       *) as_qdir=$as_dir;;
   23538       esac
   23539       as_dirs="'$as_qdir' $as_dirs"
   23540       as_dir=`$as_dirname -- "$as_dir" ||
   23541 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   23542 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   23543 	 X"$as_dir" : 'X\(//\)$' \| \
   23544 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   23545 $as_echo X"$as_dir" |
   23546     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   23547 	    s//\1/
   23548 	    q
   23549 	  }
   23550 	  /^X\(\/\/\)[^/].*/{
   23551 	    s//\1/
   23552 	    q
   23553 	  }
   23554 	  /^X\(\/\/\)$/{
   23555 	    s//\1/
   23556 	    q
   23557 	  }
   23558 	  /^X\(\/\).*/{
   23559 	    s//\1/
   23560 	    q
   23561 	  }
   23562 	  s/.*/./; q'`
   23563       test -d "$as_dir" && break
   23564     done
   23565     test -z "$as_dirs" || eval "mkdir $as_dirs"
   23566   } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
   23567 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
   23568    { (exit 1); exit 1; }; }; }
   23569       # echo "creating $dirpart/$file"
   23570       echo '# dummy' > "$dirpart/$file"
   23571     done
   23572   done
   23573 }
   23574  ;;
   23575 
   23576   esac
   23577 done # for ac_tag
   23578 
   23579 
   23580 { (exit 0); exit 0; }
   23581 _ACEOF
   23582 chmod +x $CONFIG_STATUS
   23583 ac_clean_files=$ac_clean_files_save
   23584 
   23585 test $ac_write_fail = 0 ||
   23586   { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
   23587 $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
   23588    { (exit 1); exit 1; }; }
   23589 
   23590 
   23591 # configure is writing to config.log, and then calls config.status.
   23592 # config.status does its own redirection, appending to config.log.
   23593 # Unfortunately, on DOS this fails, as config.log is still kept open
   23594 # by configure, so config.status won't be able to write to it; its
   23595 # output is simply discarded.  So we exec the FD to /dev/null,
   23596 # effectively closing config.log, so it can be properly (re)opened and
   23597 # appended to by config.status.  When coming back to configure, we
   23598 # need to make the FD available again.
   23599 if test "$no_create" != yes; then
   23600   ac_cs_success=:
   23601   ac_config_status_args=
   23602   test "$silent" = yes &&
   23603     ac_config_status_args="$ac_config_status_args --quiet"
   23604   exec 5>/dev/null
   23605   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   23606   exec 5>>config.log
   23607   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   23608   # would make configure fail if this is the last instruction.
   23609   $ac_cs_success || { (exit 1); exit 1; }
   23610 fi
   23611 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   23612   { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   23613 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   23614 fi
   23615 
   23616