Home | History | Annotate | Line # | Download | only in dist
configure revision 1.1.1.3
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.63 for xf86-video-apm 1.2.2.
      4 #
      5 # Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
      6 #
      7 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
      8 # 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
      9 # This configure script is free software; the Free Software Foundation
     10 # gives unlimited permission to copy, distribute and modify it.
     11 ## --------------------- ##
     12 ## M4sh Initialization.  ##
     13 ## --------------------- ##
     14 
     15 # Be more Bourne compatible
     16 DUALCASE=1; export DUALCASE # for MKS sh
     17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
     18   emulate sh
     19   NULLCMD=:
     20   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
     21   # is contrary to our usage.  Disable this feature.
     22   alias -g '${1+"$@"}'='"$@"'
     23   setopt NO_GLOB_SUBST
     24 else
     25   case `(set -o) 2>/dev/null` in
     26   *posix*) set -o posix ;;
     27 esac
     28 
     29 fi
     30 
     31 
     32 
     33 
     34 # PATH needs CR
     35 # Avoid depending upon Character Ranges.
     36 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
     37 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
     38 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
     39 as_cr_digits='0123456789'
     40 as_cr_alnum=$as_cr_Letters$as_cr_digits
     41 
     42 as_nl='
     43 '
     44 export as_nl
     45 # Printing a long string crashes Solaris 7 /usr/bin/printf.
     46 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
     47 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
     48 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
     49 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
     50   as_echo='printf %s\n'
     51   as_echo_n='printf %s'
     52 else
     53   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
     54     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
     55     as_echo_n='/usr/ucb/echo -n'
     56   else
     57     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
     58     as_echo_n_body='eval
     59       arg=$1;
     60       case $arg in
     61       *"$as_nl"*)
     62 	expr "X$arg" : "X\\(.*\\)$as_nl";
     63 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
     64       esac;
     65       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
     66     '
     67     export as_echo_n_body
     68     as_echo_n='sh -c $as_echo_n_body as_echo'
     69   fi
     70   export as_echo_body
     71   as_echo='sh -c $as_echo_body as_echo'
     72 fi
     73 
     74 # The user is always right.
     75 if test "${PATH_SEPARATOR+set}" != set; then
     76   PATH_SEPARATOR=:
     77   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
     78     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
     79       PATH_SEPARATOR=';'
     80   }
     81 fi
     82 
     83 # Support unset when possible.
     84 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
     85   as_unset=unset
     86 else
     87   as_unset=false
     88 fi
     89 
     90 
     91 # IFS
     92 # We need space, tab and new line, in precisely that order.  Quoting is
     93 # there to prevent editors from complaining about space-tab.
     94 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
     95 # splitting by setting IFS to empty value.)
     96 IFS=" ""	$as_nl"
     97 
     98 # Find who we are.  Look in the path if we contain no directory separator.
     99 case $0 in
    100   *[\\/]* ) as_myself=$0 ;;
    101   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    102 for as_dir in $PATH
    103 do
    104   IFS=$as_save_IFS
    105   test -z "$as_dir" && as_dir=.
    106   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
    107 done
    108 IFS=$as_save_IFS
    109 
    110      ;;
    111 esac
    112 # We did not find ourselves, most probably we were run as `sh COMMAND'
    113 # in which case we are not to be found in the path.
    114 if test "x$as_myself" = x; then
    115   as_myself=$0
    116 fi
    117 if test ! -f "$as_myself"; then
    118   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
    119   { (exit 1); exit 1; }
    120 fi
    121 
    122 # Work around bugs in pre-3.0 UWIN ksh.
    123 for as_var in ENV MAIL MAILPATH
    124 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
    125 done
    126 PS1='$ '
    127 PS2='> '
    128 PS4='+ '
    129 
    130 # NLS nuisances.
    131 LC_ALL=C
    132 export LC_ALL
    133 LANGUAGE=C
    134 export LANGUAGE
    135 
    136 # Required to use basename.
    137 if expr a : '\(a\)' >/dev/null 2>&1 &&
    138    test "X`expr 00001 : '.*\(...\)'`" = X001; then
    139   as_expr=expr
    140 else
    141   as_expr=false
    142 fi
    143 
    144 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
    145   as_basename=basename
    146 else
    147   as_basename=false
    148 fi
    149 
    150 
    151 # Name of the executable.
    152 as_me=`$as_basename -- "$0" ||
    153 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
    154 	 X"$0" : 'X\(//\)$' \| \
    155 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
    156 $as_echo X/"$0" |
    157     sed '/^.*\/\([^/][^/]*\)\/*$/{
    158 	    s//\1/
    159 	    q
    160 	  }
    161 	  /^X\/\(\/\/\)$/{
    162 	    s//\1/
    163 	    q
    164 	  }
    165 	  /^X\/\(\/\).*/{
    166 	    s//\1/
    167 	    q
    168 	  }
    169 	  s/.*/./; q'`
    170 
    171 # CDPATH.
    172 $as_unset CDPATH
    173 
    174 
    175 if test "x$CONFIG_SHELL" = x; then
    176   if (eval ":") 2>/dev/null; then
    177   as_have_required=yes
    178 else
    179   as_have_required=no
    180 fi
    181 
    182   if test $as_have_required = yes &&	 (eval ":
    183 (as_func_return () {
    184   (exit \$1)
    185 }
    186 as_func_success () {
    187   as_func_return 0
    188 }
    189 as_func_failure () {
    190   as_func_return 1
    191 }
    192 as_func_ret_success () {
    193   return 0
    194 }
    195 as_func_ret_failure () {
    196   return 1
    197 }
    198 
    199 exitcode=0
    200 if as_func_success; then
    201   :
    202 else
    203   exitcode=1
    204   echo as_func_success failed.
    205 fi
    206 
    207 if as_func_failure; then
    208   exitcode=1
    209   echo as_func_failure succeeded.
    210 fi
    211 
    212 if as_func_ret_success; then
    213   :
    214 else
    215   exitcode=1
    216   echo as_func_ret_success failed.
    217 fi
    218 
    219 if as_func_ret_failure; then
    220   exitcode=1
    221   echo as_func_ret_failure succeeded.
    222 fi
    223 
    224 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
    225   :
    226 else
    227   exitcode=1
    228   echo positional parameters were not saved.
    229 fi
    230 
    231 test \$exitcode = 0) || { (exit 1); exit 1; }
    232 
    233 (
    234   as_lineno_1=\$LINENO
    235   as_lineno_2=\$LINENO
    236   test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
    237   test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
    238 ") 2> /dev/null; then
    239   :
    240 else
    241   as_candidate_shells=
    242     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    243 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
    244 do
    245   IFS=$as_save_IFS
    246   test -z "$as_dir" && as_dir=.
    247   case $as_dir in
    248 	 /*)
    249 	   for as_base in sh bash ksh sh5; do
    250 	     as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
    251 	   done;;
    252        esac
    253 done
    254 IFS=$as_save_IFS
    255 
    256 
    257       for as_shell in $as_candidate_shells $SHELL; do
    258 	 # Try only shells that exist, to save several forks.
    259 	 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
    260 		{ ("$as_shell") 2> /dev/null <<\_ASEOF
    261 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
    262   emulate sh
    263   NULLCMD=:
    264   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
    265   # is contrary to our usage.  Disable this feature.
    266   alias -g '${1+"$@"}'='"$@"'
    267   setopt NO_GLOB_SUBST
    268 else
    269   case `(set -o) 2>/dev/null` in
    270   *posix*) set -o posix ;;
    271 esac
    272 
    273 fi
    274 
    275 
    276 :
    277 _ASEOF
    278 }; then
    279   CONFIG_SHELL=$as_shell
    280 	       as_have_required=yes
    281 	       if { "$as_shell" 2> /dev/null <<\_ASEOF
    282 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
    283   emulate sh
    284   NULLCMD=:
    285   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
    286   # is contrary to our usage.  Disable this feature.
    287   alias -g '${1+"$@"}'='"$@"'
    288   setopt NO_GLOB_SUBST
    289 else
    290   case `(set -o) 2>/dev/null` in
    291   *posix*) set -o posix ;;
    292 esac
    293 
    294 fi
    295 
    296 
    297 :
    298 (as_func_return () {
    299   (exit $1)
    300 }
    301 as_func_success () {
    302   as_func_return 0
    303 }
    304 as_func_failure () {
    305   as_func_return 1
    306 }
    307 as_func_ret_success () {
    308   return 0
    309 }
    310 as_func_ret_failure () {
    311   return 1
    312 }
    313 
    314 exitcode=0
    315 if as_func_success; then
    316   :
    317 else
    318   exitcode=1
    319   echo as_func_success failed.
    320 fi
    321 
    322 if as_func_failure; then
    323   exitcode=1
    324   echo as_func_failure succeeded.
    325 fi
    326 
    327 if as_func_ret_success; then
    328   :
    329 else
    330   exitcode=1
    331   echo as_func_ret_success failed.
    332 fi
    333 
    334 if as_func_ret_failure; then
    335   exitcode=1
    336   echo as_func_ret_failure succeeded.
    337 fi
    338 
    339 if ( set x; as_func_ret_success y && test x = "$1" ); then
    340   :
    341 else
    342   exitcode=1
    343   echo positional parameters were not saved.
    344 fi
    345 
    346 test $exitcode = 0) || { (exit 1); exit 1; }
    347 
    348 (
    349   as_lineno_1=$LINENO
    350   as_lineno_2=$LINENO
    351   test "x$as_lineno_1" != "x$as_lineno_2" &&
    352   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
    353 
    354 _ASEOF
    355 }; then
    356   break
    357 fi
    358 
    359 fi
    360 
    361       done
    362 
    363       if test "x$CONFIG_SHELL" != x; then
    364   for as_var in BASH_ENV ENV
    365 	do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
    366 	done
    367 	export CONFIG_SHELL
    368 	exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
    369 fi
    370 
    371 
    372     if test $as_have_required = no; then
    373   echo This script requires a shell more modern than all the
    374       echo shells that I found on your system.  Please install a
    375       echo modern shell, or manually run the script under such a
    376       echo shell if you do have one.
    377       { (exit 1); exit 1; }
    378 fi
    379 
    380 
    381 fi
    382 
    383 fi
    384 
    385 
    386 
    387 (eval "as_func_return () {
    388   (exit \$1)
    389 }
    390 as_func_success () {
    391   as_func_return 0
    392 }
    393 as_func_failure () {
    394   as_func_return 1
    395 }
    396 as_func_ret_success () {
    397   return 0
    398 }
    399 as_func_ret_failure () {
    400   return 1
    401 }
    402 
    403 exitcode=0
    404 if as_func_success; then
    405   :
    406 else
    407   exitcode=1
    408   echo as_func_success failed.
    409 fi
    410 
    411 if as_func_failure; then
    412   exitcode=1
    413   echo as_func_failure succeeded.
    414 fi
    415 
    416 if as_func_ret_success; then
    417   :
    418 else
    419   exitcode=1
    420   echo as_func_ret_success failed.
    421 fi
    422 
    423 if as_func_ret_failure; then
    424   exitcode=1
    425   echo as_func_ret_failure succeeded.
    426 fi
    427 
    428 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
    429   :
    430 else
    431   exitcode=1
    432   echo positional parameters were not saved.
    433 fi
    434 
    435 test \$exitcode = 0") || {
    436   echo No shell found that supports shell functions.
    437   echo Please tell bug-autoconf@gnu.org about your system,
    438   echo including any error possibly output before this message.
    439   echo This can help us improve future autoconf versions.
    440   echo Configuration will now proceed without shell functions.
    441 }
    442 
    443 
    444 
    445   as_lineno_1=$LINENO
    446   as_lineno_2=$LINENO
    447   test "x$as_lineno_1" != "x$as_lineno_2" &&
    448   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
    449 
    450   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
    451   # uniformly replaced by the line number.  The first 'sed' inserts a
    452   # line-number line after each line using $LINENO; the second 'sed'
    453   # does the real work.  The second script uses 'N' to pair each
    454   # line-number line with the line containing $LINENO, and appends
    455   # trailing '-' during substitution so that $LINENO is not a special
    456   # case at line end.
    457   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
    458   # scripts with optimization help from Paolo Bonzini.  Blame Lee
    459   # E. McMahon (1931-1989) for sed's syntax.  :-)
    460   sed -n '
    461     p
    462     /[$]LINENO/=
    463   ' <$as_myself |
    464     sed '
    465       s/[$]LINENO.*/&-/
    466       t lineno
    467       b
    468       :lineno
    469       N
    470       :loop
    471       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
    472       t loop
    473       s/-\n.*//
    474     ' >$as_me.lineno &&
    475   chmod +x "$as_me.lineno" ||
    476     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
    477    { (exit 1); exit 1; }; }
    478 
    479   # Don't try to exec as it changes $[0], causing all sort of problems
    480   # (the dirname of $[0] is not the place where we might find the
    481   # original and so on.  Autoconf is especially sensitive to this).
    482   . "./$as_me.lineno"
    483   # Exit status is that of the last command.
    484   exit
    485 }
    486 
    487 
    488 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
    489   as_dirname=dirname
    490 else
    491   as_dirname=false
    492 fi
    493 
    494 ECHO_C= ECHO_N= ECHO_T=
    495 case `echo -n x` in
    496 -n*)
    497   case `echo 'x\c'` in
    498   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
    499   *)   ECHO_C='\c';;
    500   esac;;
    501 *)
    502   ECHO_N='-n';;
    503 esac
    504 if expr a : '\(a\)' >/dev/null 2>&1 &&
    505    test "X`expr 00001 : '.*\(...\)'`" = X001; then
    506   as_expr=expr
    507 else
    508   as_expr=false
    509 fi
    510 
    511 rm -f conf$$ conf$$.exe conf$$.file
    512 if test -d conf$$.dir; then
    513   rm -f conf$$.dir/conf$$.file
    514 else
    515   rm -f conf$$.dir
    516   mkdir conf$$.dir 2>/dev/null
    517 fi
    518 if (echo >conf$$.file) 2>/dev/null; then
    519   if ln -s conf$$.file conf$$ 2>/dev/null; then
    520     as_ln_s='ln -s'
    521     # ... but there are two gotchas:
    522     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
    523     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
    524     # In both cases, we have to default to `cp -p'.
    525     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
    526       as_ln_s='cp -p'
    527   elif ln conf$$.file conf$$ 2>/dev/null; then
    528     as_ln_s=ln
    529   else
    530     as_ln_s='cp -p'
    531   fi
    532 else
    533   as_ln_s='cp -p'
    534 fi
    535 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
    536 rmdir conf$$.dir 2>/dev/null
    537 
    538 if mkdir -p . 2>/dev/null; then
    539   as_mkdir_p=:
    540 else
    541   test -d ./-p && rmdir ./-p
    542   as_mkdir_p=false
    543 fi
    544 
    545 if test -x / >/dev/null 2>&1; then
    546   as_test_x='test -x'
    547 else
    548   if ls -dL / >/dev/null 2>&1; then
    549     as_ls_L_option=L
    550   else
    551     as_ls_L_option=
    552   fi
    553   as_test_x='
    554     eval sh -c '\''
    555       if test -d "$1"; then
    556 	test -d "$1/.";
    557       else
    558 	case $1 in
    559 	-*)set "./$1";;
    560 	esac;
    561 	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
    562 	???[sx]*):;;*)false;;esac;fi
    563     '\'' sh
    564   '
    565 fi
    566 as_executable_p=$as_test_x
    567 
    568 # Sed expression to map a string onto a valid CPP name.
    569 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
    570 
    571 # Sed expression to map a string onto a valid variable name.
    572 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
    573 
    574 
    575 
    576 
    577 # Check that we are running under the correct shell.
    578 SHELL=${CONFIG_SHELL-/bin/sh}
    579 
    580 case X$ECHO in
    581 X*--fallback-echo)
    582   # Remove one level of quotation (which was required for Make).
    583   ECHO=`echo "$ECHO" | sed 's,\\\\\$\\$0,'$0','`
    584   ;;
    585 esac
    586 
    587 echo=${ECHO-echo}
    588 if test "X$1" = X--no-reexec; then
    589   # Discard the --no-reexec flag, and continue.
    590   shift
    591 elif test "X$1" = X--fallback-echo; then
    592   # Avoid inline document here, it may be left over
    593   :
    594 elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then
    595   # Yippee, $echo works!
    596   :
    597 else
    598   # Restart under the correct shell.
    599   exec $SHELL "$0" --no-reexec ${1+"$@"}
    600 fi
    601 
    602 if test "X$1" = X--fallback-echo; then
    603   # used as fallback echo
    604   shift
    605   cat <<EOF
    606 $*
    607 EOF
    608   exit 0
    609 fi
    610 
    611 # The HP-UX ksh and POSIX shell print the target directory to stdout
    612 # if CDPATH is set.
    613 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
    614 
    615 if test -z "$ECHO"; then
    616 if test "X${echo_test_string+set}" != Xset; then
    617 # find a string as large as possible, as long as the shell can cope with it
    618   for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
    619     # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
    620     if (echo_test_string=`eval $cmd`) 2>/dev/null &&
    621        echo_test_string=`eval $cmd` &&
    622        (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null
    623     then
    624       break
    625     fi
    626   done
    627 fi
    628 
    629 if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
    630    echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
    631    test "X$echo_testing_string" = "X$echo_test_string"; then
    632   :
    633 else
    634   # The Solaris, AIX, and Digital Unix default echo programs unquote
    635   # backslashes.  This makes it impossible to quote backslashes using
    636   #   echo "$something" | sed 's/\\/\\\\/g'
    637   #
    638   # So, first we look for a working echo in the user's PATH.
    639 
    640   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
    641   for dir in $PATH /usr/ucb; do
    642     IFS="$lt_save_ifs"
    643     if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
    644        test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
    645        echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
    646        test "X$echo_testing_string" = "X$echo_test_string"; then
    647       echo="$dir/echo"
    648       break
    649     fi
    650   done
    651   IFS="$lt_save_ifs"
    652 
    653   if test "X$echo" = Xecho; then
    654     # We didn't find a better echo, so look for alternatives.
    655     if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
    656        echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` &&
    657        test "X$echo_testing_string" = "X$echo_test_string"; then
    658       # This shell has a builtin print -r that does the trick.
    659       echo='print -r'
    660     elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) &&
    661 	 test "X$CONFIG_SHELL" != X/bin/ksh; then
    662       # If we have ksh, try running configure again with it.
    663       ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
    664       export ORIGINAL_CONFIG_SHELL
    665       CONFIG_SHELL=/bin/ksh
    666       export CONFIG_SHELL
    667       exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
    668     else
    669       # Try using printf.
    670       echo='printf %s\n'
    671       if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
    672 	 echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
    673 	 test "X$echo_testing_string" = "X$echo_test_string"; then
    674 	# Cool, printf works
    675 	:
    676       elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
    677 	   test "X$echo_testing_string" = 'X\t' &&
    678 	   echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
    679 	   test "X$echo_testing_string" = "X$echo_test_string"; then
    680 	CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
    681 	export CONFIG_SHELL
    682 	SHELL="$CONFIG_SHELL"
    683 	export SHELL
    684 	echo="$CONFIG_SHELL $0 --fallback-echo"
    685       elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
    686 	   test "X$echo_testing_string" = 'X\t' &&
    687 	   echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
    688 	   test "X$echo_testing_string" = "X$echo_test_string"; then
    689 	echo="$CONFIG_SHELL $0 --fallback-echo"
    690       else
    691 	# maybe with a smaller string...
    692 	prev=:
    693 
    694 	for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
    695 	  if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null
    696 	  then
    697 	    break
    698 	  fi
    699 	  prev="$cmd"
    700 	done
    701 
    702 	if test "$prev" != 'sed 50q "$0"'; then
    703 	  echo_test_string=`eval $prev`
    704 	  export echo_test_string
    705 	  exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
    706 	else
    707 	  # Oops.  We lost completely, so just stick with echo.
    708 	  echo=echo
    709 	fi
    710       fi
    711     fi
    712   fi
    713 fi
    714 fi
    715 
    716 # Copy echo and quote the copy suitably for passing to libtool from
    717 # the Makefile, instead of quoting the original, which is used later.
    718 ECHO=$echo
    719 if test "X$ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
    720    ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
    721 fi
    722 
    723 
    724 
    725 
    726 tagnames=${tagnames+${tagnames},}CXX
    727 
    728 tagnames=${tagnames+${tagnames},}F77
    729 
    730 exec 7<&0 </dev/null 6>&1
    731 
    732 # Name of the host.
    733 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
    734 # so uname gets run too.
    735 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
    736 
    737 #
    738 # Initializations.
    739 #
    740 ac_default_prefix=/usr/local
    741 ac_clean_files=
    742 ac_config_libobj_dir=.
    743 LIBOBJS=
    744 cross_compiling=no
    745 subdirs=
    746 MFLAGS=
    747 MAKEFLAGS=
    748 SHELL=${CONFIG_SHELL-/bin/sh}
    749 
    750 # Identity of this package.
    751 PACKAGE_NAME='xf86-video-apm'
    752 PACKAGE_TARNAME='xf86-video-apm'
    753 PACKAGE_VERSION='1.2.2'
    754 PACKAGE_STRING='xf86-video-apm 1.2.2'
    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_HTML
    799 MAKE_PDF
    800 MAKE_PS
    801 MAKE_TEXT
    802 BUILD_PDFDOC_FALSE
    803 BUILD_PDFDOC_TRUE
    804 BUILD_LINUXDOC_FALSE
    805 BUILD_LINUXDOC_TRUE
    806 PS2PDF
    807 LINUXDOC
    808 ADMIN_MAN_DIR
    809 DRIVER_MAN_DIR
    810 MISC_MAN_DIR
    811 FILE_MAN_DIR
    812 LIB_MAN_DIR
    813 APP_MAN_DIR
    814 ADMIN_MAN_SUFFIX
    815 DRIVER_MAN_SUFFIX
    816 MISC_MAN_SUFFIX
    817 FILE_MAN_SUFFIX
    818 LIB_MAN_SUFFIX
    819 APP_MAN_SUFFIX
    820 DRIVER_NAME
    821 PCIACCESS_LIBS
    822 PCIACCESS_CFLAGS
    823 INCLUDES
    824 XF86RUSH_FALSE
    825 XF86RUSH_TRUE
    826 XF86RUSH_LIBS
    827 XF86RUSH_CFLAGS
    828 HAVE_XEXTPROTO_71_FALSE
    829 HAVE_XEXTPROTO_71_TRUE
    830 XEXT_LIBS
    831 XEXT_CFLAGS
    832 XORG_LIBS
    833 XORG_CFLAGS
    834 PKG_CONFIG
    835 moduledir
    836 LIBTOOL
    837 ac_ct_F77
    838 FFLAGS
    839 F77
    840 CXXCPP
    841 am__fastdepCXX_FALSE
    842 am__fastdepCXX_TRUE
    843 CXXDEPMODE
    844 ac_ct_CXX
    845 CXXFLAGS
    846 CXX
    847 CPP
    848 NMEDIT
    849 DSYMUTIL
    850 RANLIB
    851 AR
    852 ECHO
    853 LN_S
    854 EGREP
    855 GREP
    856 SED
    857 am__fastdepCC_FALSE
    858 am__fastdepCC_TRUE
    859 CCDEPMODE
    860 AMDEPBACKSLASH
    861 AMDEP_FALSE
    862 AMDEP_TRUE
    863 am__quote
    864 am__include
    865 DEPDIR
    866 OBJEXT
    867 EXEEXT
    868 ac_ct_CC
    869 CPPFLAGS
    870 LDFLAGS
    871 CFLAGS
    872 CC
    873 host_os
    874 host_vendor
    875 host_cpu
    876 host
    877 build_os
    878 build_vendor
    879 build_cpu
    880 build
    881 MAINT
    882 MAINTAINER_MODE_FALSE
    883 MAINTAINER_MODE_TRUE
    884 am__untar
    885 am__tar
    886 AMTAR
    887 am__leading_dot
    888 SET_MAKE
    889 AWK
    890 mkdir_p
    891 MKDIR_P
    892 INSTALL_STRIP_PROGRAM
    893 STRIP
    894 install_sh
    895 MAKEINFO
    896 AUTOHEADER
    897 AUTOMAKE
    898 AUTOCONF
    899 ACLOCAL
    900 VERSION
    901 PACKAGE
    902 CYGPATH_W
    903 am__isrc
    904 INSTALL_DATA
    905 INSTALL_SCRIPT
    906 INSTALL_PROGRAM
    907 target_alias
    908 host_alias
    909 build_alias
    910 LIBS
    911 ECHO_T
    912 ECHO_N
    913 ECHO_C
    914 DEFS
    915 mandir
    916 localedir
    917 libdir
    918 psdir
    919 pdfdir
    920 dvidir
    921 htmldir
    922 infodir
    923 docdir
    924 oldincludedir
    925 includedir
    926 localstatedir
    927 sharedstatedir
    928 sysconfdir
    929 datadir
    930 datarootdir
    931 libexecdir
    932 sbindir
    933 bindir
    934 program_transform_name
    935 prefix
    936 exec_prefix
    937 PACKAGE_BUGREPORT
    938 PACKAGE_STRING
    939 PACKAGE_VERSION
    940 PACKAGE_TARNAME
    941 PACKAGE_NAME
    942 PATH_SEPARATOR
    943 SHELL'
    944 ac_subst_files=''
    945 ac_user_opts='
    946 enable_option_checking
    947 enable_maintainer_mode
    948 enable_static
    949 enable_shared
    950 enable_fast_install
    951 enable_dependency_tracking
    952 with_gnu_ld
    953 enable_libtool_lock
    954 with_pic
    955 with_tags
    956 with_xorg_module_dir
    957 with_release_version
    958 '
    959       ac_precious_vars='build_alias
    960 host_alias
    961 target_alias
    962 CC
    963 CFLAGS
    964 LDFLAGS
    965 LIBS
    966 CPPFLAGS
    967 CPP
    968 CXX
    969 CXXFLAGS
    970 CCC
    971 CXXCPP
    972 F77
    973 FFLAGS
    974 PKG_CONFIG
    975 XORG_CFLAGS
    976 XORG_LIBS
    977 XEXT_CFLAGS
    978 XEXT_LIBS
    979 XF86RUSH_CFLAGS
    980 XF86RUSH_LIBS
    981 PCIACCESS_CFLAGS
    982 PCIACCESS_LIBS'
    983 
    984 
    985 # Initialize some variables set by options.
    986 ac_init_help=
    987 ac_init_version=false
    988 ac_unrecognized_opts=
    989 ac_unrecognized_sep=
    990 # The variables have the same names as the options, with
    991 # dashes changed to underlines.
    992 cache_file=/dev/null
    993 exec_prefix=NONE
    994 no_create=
    995 no_recursion=
    996 prefix=NONE
    997 program_prefix=NONE
    998 program_suffix=NONE
    999 program_transform_name=s,x,x,
   1000 silent=
   1001 site=
   1002 srcdir=
   1003 verbose=
   1004 x_includes=NONE
   1005 x_libraries=NONE
   1006 
   1007 # Installation directory options.
   1008 # These are left unexpanded so users can "make install exec_prefix=/foo"
   1009 # and all the variables that are supposed to be based on exec_prefix
   1010 # by default will actually change.
   1011 # Use braces instead of parens because sh, perl, etc. also accept them.
   1012 # (The list follows the same order as the GNU Coding Standards.)
   1013 bindir='${exec_prefix}/bin'
   1014 sbindir='${exec_prefix}/sbin'
   1015 libexecdir='${exec_prefix}/libexec'
   1016 datarootdir='${prefix}/share'
   1017 datadir='${datarootdir}'
   1018 sysconfdir='${prefix}/etc'
   1019 sharedstatedir='${prefix}/com'
   1020 localstatedir='${prefix}/var'
   1021 includedir='${prefix}/include'
   1022 oldincludedir='/usr/include'
   1023 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
   1024 infodir='${datarootdir}/info'
   1025 htmldir='${docdir}'
   1026 dvidir='${docdir}'
   1027 pdfdir='${docdir}'
   1028 psdir='${docdir}'
   1029 libdir='${exec_prefix}/lib'
   1030 localedir='${datarootdir}/locale'
   1031 mandir='${datarootdir}/man'
   1032 
   1033 ac_prev=
   1034 ac_dashdash=
   1035 for ac_option
   1036 do
   1037   # If the previous option needs an argument, assign it.
   1038   if test -n "$ac_prev"; then
   1039     eval $ac_prev=\$ac_option
   1040     ac_prev=
   1041     continue
   1042   fi
   1043 
   1044   case $ac_option in
   1045   *=*)	ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
   1046   *)	ac_optarg=yes ;;
   1047   esac
   1048 
   1049   # Accept the important Cygnus configure options, so we can diagnose typos.
   1050 
   1051   case $ac_dashdash$ac_option in
   1052   --)
   1053     ac_dashdash=yes ;;
   1054 
   1055   -bindir | --bindir | --bindi | --bind | --bin | --bi)
   1056     ac_prev=bindir ;;
   1057   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
   1058     bindir=$ac_optarg ;;
   1059 
   1060   -build | --build | --buil | --bui | --bu)
   1061     ac_prev=build_alias ;;
   1062   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
   1063     build_alias=$ac_optarg ;;
   1064 
   1065   -cache-file | --cache-file | --cache-fil | --cache-fi \
   1066   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
   1067     ac_prev=cache_file ;;
   1068   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
   1069   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
   1070     cache_file=$ac_optarg ;;
   1071 
   1072   --config-cache | -C)
   1073     cache_file=config.cache ;;
   1074 
   1075   -datadir | --datadir | --datadi | --datad)
   1076     ac_prev=datadir ;;
   1077   -datadir=* | --datadir=* | --datadi=* | --datad=*)
   1078     datadir=$ac_optarg ;;
   1079 
   1080   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
   1081   | --dataroo | --dataro | --datar)
   1082     ac_prev=datarootdir ;;
   1083   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
   1084   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
   1085     datarootdir=$ac_optarg ;;
   1086 
   1087   -disable-* | --disable-*)
   1088     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
   1089     # Reject names that are not valid shell variable names.
   1090     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1091       { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
   1092    { (exit 1); exit 1; }; }
   1093     ac_useropt_orig=$ac_useropt
   1094     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1095     case $ac_user_opts in
   1096       *"
   1097 "enable_$ac_useropt"
   1098 "*) ;;
   1099       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
   1100 	 ac_unrecognized_sep=', ';;
   1101     esac
   1102     eval enable_$ac_useropt=no ;;
   1103 
   1104   -docdir | --docdir | --docdi | --doc | --do)
   1105     ac_prev=docdir ;;
   1106   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
   1107     docdir=$ac_optarg ;;
   1108 
   1109   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
   1110     ac_prev=dvidir ;;
   1111   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
   1112     dvidir=$ac_optarg ;;
   1113 
   1114   -enable-* | --enable-*)
   1115     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
   1116     # Reject names that are not valid shell variable names.
   1117     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1118       { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
   1119    { (exit 1); exit 1; }; }
   1120     ac_useropt_orig=$ac_useropt
   1121     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1122     case $ac_user_opts in
   1123       *"
   1124 "enable_$ac_useropt"
   1125 "*) ;;
   1126       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
   1127 	 ac_unrecognized_sep=', ';;
   1128     esac
   1129     eval enable_$ac_useropt=\$ac_optarg ;;
   1130 
   1131   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
   1132   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
   1133   | --exec | --exe | --ex)
   1134     ac_prev=exec_prefix ;;
   1135   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
   1136   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
   1137   | --exec=* | --exe=* | --ex=*)
   1138     exec_prefix=$ac_optarg ;;
   1139 
   1140   -gas | --gas | --ga | --g)
   1141     # Obsolete; use --with-gas.
   1142     with_gas=yes ;;
   1143 
   1144   -help | --help | --hel | --he | -h)
   1145     ac_init_help=long ;;
   1146   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
   1147     ac_init_help=recursive ;;
   1148   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
   1149     ac_init_help=short ;;
   1150 
   1151   -host | --host | --hos | --ho)
   1152     ac_prev=host_alias ;;
   1153   -host=* | --host=* | --hos=* | --ho=*)
   1154     host_alias=$ac_optarg ;;
   1155 
   1156   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
   1157     ac_prev=htmldir ;;
   1158   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
   1159   | --ht=*)
   1160     htmldir=$ac_optarg ;;
   1161 
   1162   -includedir | --includedir | --includedi | --included | --include \
   1163   | --includ | --inclu | --incl | --inc)
   1164     ac_prev=includedir ;;
   1165   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
   1166   | --includ=* | --inclu=* | --incl=* | --inc=*)
   1167     includedir=$ac_optarg ;;
   1168 
   1169   -infodir | --infodir | --infodi | --infod | --info | --inf)
   1170     ac_prev=infodir ;;
   1171   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
   1172     infodir=$ac_optarg ;;
   1173 
   1174   -libdir | --libdir | --libdi | --libd)
   1175     ac_prev=libdir ;;
   1176   -libdir=* | --libdir=* | --libdi=* | --libd=*)
   1177     libdir=$ac_optarg ;;
   1178 
   1179   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
   1180   | --libexe | --libex | --libe)
   1181     ac_prev=libexecdir ;;
   1182   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
   1183   | --libexe=* | --libex=* | --libe=*)
   1184     libexecdir=$ac_optarg ;;
   1185 
   1186   -localedir | --localedir | --localedi | --localed | --locale)
   1187     ac_prev=localedir ;;
   1188   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
   1189     localedir=$ac_optarg ;;
   1190 
   1191   -localstatedir | --localstatedir | --localstatedi | --localstated \
   1192   | --localstate | --localstat | --localsta | --localst | --locals)
   1193     ac_prev=localstatedir ;;
   1194   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   1195   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   1196     localstatedir=$ac_optarg ;;
   1197 
   1198   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1199     ac_prev=mandir ;;
   1200   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1201     mandir=$ac_optarg ;;
   1202 
   1203   -nfp | --nfp | --nf)
   1204     # Obsolete; use --without-fp.
   1205     with_fp=no ;;
   1206 
   1207   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1208   | --no-cr | --no-c | -n)
   1209     no_create=yes ;;
   1210 
   1211   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1212   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1213     no_recursion=yes ;;
   1214 
   1215   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1216   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1217   | --oldin | --oldi | --old | --ol | --o)
   1218     ac_prev=oldincludedir ;;
   1219   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1220   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1221   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1222     oldincludedir=$ac_optarg ;;
   1223 
   1224   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1225     ac_prev=prefix ;;
   1226   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1227     prefix=$ac_optarg ;;
   1228 
   1229   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1230   | --program-pre | --program-pr | --program-p)
   1231     ac_prev=program_prefix ;;
   1232   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1233   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1234     program_prefix=$ac_optarg ;;
   1235 
   1236   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1237   | --program-suf | --program-su | --program-s)
   1238     ac_prev=program_suffix ;;
   1239   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1240   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1241     program_suffix=$ac_optarg ;;
   1242 
   1243   -program-transform-name | --program-transform-name \
   1244   | --program-transform-nam | --program-transform-na \
   1245   | --program-transform-n | --program-transform- \
   1246   | --program-transform | --program-transfor \
   1247   | --program-transfo | --program-transf \
   1248   | --program-trans | --program-tran \
   1249   | --progr-tra | --program-tr | --program-t)
   1250     ac_prev=program_transform_name ;;
   1251   -program-transform-name=* | --program-transform-name=* \
   1252   | --program-transform-nam=* | --program-transform-na=* \
   1253   | --program-transform-n=* | --program-transform-=* \
   1254   | --program-transform=* | --program-transfor=* \
   1255   | --program-transfo=* | --program-transf=* \
   1256   | --program-trans=* | --program-tran=* \
   1257   | --progr-tra=* | --program-tr=* | --program-t=*)
   1258     program_transform_name=$ac_optarg ;;
   1259 
   1260   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1261     ac_prev=pdfdir ;;
   1262   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1263     pdfdir=$ac_optarg ;;
   1264 
   1265   -psdir | --psdir | --psdi | --psd | --ps)
   1266     ac_prev=psdir ;;
   1267   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1268     psdir=$ac_optarg ;;
   1269 
   1270   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1271   | -silent | --silent | --silen | --sile | --sil)
   1272     silent=yes ;;
   1273 
   1274   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1275     ac_prev=sbindir ;;
   1276   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1277   | --sbi=* | --sb=*)
   1278     sbindir=$ac_optarg ;;
   1279 
   1280   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1281   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1282   | --sharedst | --shareds | --shared | --share | --shar \
   1283   | --sha | --sh)
   1284     ac_prev=sharedstatedir ;;
   1285   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1286   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1287   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1288   | --sha=* | --sh=*)
   1289     sharedstatedir=$ac_optarg ;;
   1290 
   1291   -site | --site | --sit)
   1292     ac_prev=site ;;
   1293   -site=* | --site=* | --sit=*)
   1294     site=$ac_optarg ;;
   1295 
   1296   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1297     ac_prev=srcdir ;;
   1298   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1299     srcdir=$ac_optarg ;;
   1300 
   1301   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1302   | --syscon | --sysco | --sysc | --sys | --sy)
   1303     ac_prev=sysconfdir ;;
   1304   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1305   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1306     sysconfdir=$ac_optarg ;;
   1307 
   1308   -target | --target | --targe | --targ | --tar | --ta | --t)
   1309     ac_prev=target_alias ;;
   1310   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1311     target_alias=$ac_optarg ;;
   1312 
   1313   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1314     verbose=yes ;;
   1315 
   1316   -version | --version | --versio | --versi | --vers | -V)
   1317     ac_init_version=: ;;
   1318 
   1319   -with-* | --with-*)
   1320     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1321     # Reject names that are not valid shell variable names.
   1322     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1323       { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
   1324    { (exit 1); exit 1; }; }
   1325     ac_useropt_orig=$ac_useropt
   1326     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1327     case $ac_user_opts in
   1328       *"
   1329 "with_$ac_useropt"
   1330 "*) ;;
   1331       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1332 	 ac_unrecognized_sep=', ';;
   1333     esac
   1334     eval with_$ac_useropt=\$ac_optarg ;;
   1335 
   1336   -without-* | --without-*)
   1337     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1338     # Reject names that are not valid shell variable names.
   1339     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1340       { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
   1341    { (exit 1); exit 1; }; }
   1342     ac_useropt_orig=$ac_useropt
   1343     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1344     case $ac_user_opts in
   1345       *"
   1346 "with_$ac_useropt"
   1347 "*) ;;
   1348       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1349 	 ac_unrecognized_sep=', ';;
   1350     esac
   1351     eval with_$ac_useropt=no ;;
   1352 
   1353   --x)
   1354     # Obsolete; use --with-x.
   1355     with_x=yes ;;
   1356 
   1357   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1358   | --x-incl | --x-inc | --x-in | --x-i)
   1359     ac_prev=x_includes ;;
   1360   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1361   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1362     x_includes=$ac_optarg ;;
   1363 
   1364   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1365   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1366     ac_prev=x_libraries ;;
   1367   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1368   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1369     x_libraries=$ac_optarg ;;
   1370 
   1371   -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
   1372 Try \`$0 --help' for more information." >&2
   1373    { (exit 1); exit 1; }; }
   1374     ;;
   1375 
   1376   *=*)
   1377     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1378     # Reject names that are not valid shell variable names.
   1379     expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
   1380       { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
   1381    { (exit 1); exit 1; }; }
   1382     eval $ac_envvar=\$ac_optarg
   1383     export $ac_envvar ;;
   1384 
   1385   *)
   1386     # FIXME: should be removed in autoconf 3.0.
   1387     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
   1388     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1389       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
   1390     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
   1391     ;;
   1392 
   1393   esac
   1394 done
   1395 
   1396 if test -n "$ac_prev"; then
   1397   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1398   { $as_echo "$as_me: error: missing argument to $ac_option" >&2
   1399    { (exit 1); exit 1; }; }
   1400 fi
   1401 
   1402 if test -n "$ac_unrecognized_opts"; then
   1403   case $enable_option_checking in
   1404     no) ;;
   1405     fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
   1406    { (exit 1); exit 1; }; } ;;
   1407     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1408   esac
   1409 fi
   1410 
   1411 # Check all directory arguments for consistency.
   1412 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1413 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1414 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1415 		libdir localedir mandir
   1416 do
   1417   eval ac_val=\$$ac_var
   1418   # Remove trailing slashes.
   1419   case $ac_val in
   1420     */ )
   1421       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1422       eval $ac_var=\$ac_val;;
   1423   esac
   1424   # Be sure to have absolute directory names.
   1425   case $ac_val in
   1426     [\\/$]* | ?:[\\/]* )  continue;;
   1427     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1428   esac
   1429   { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
   1430    { (exit 1); exit 1; }; }
   1431 done
   1432 
   1433 # There might be people who depend on the old broken behavior: `$host'
   1434 # used to hold the argument of --host etc.
   1435 # FIXME: To remove some day.
   1436 build=$build_alias
   1437 host=$host_alias
   1438 target=$target_alias
   1439 
   1440 # FIXME: To remove some day.
   1441 if test "x$host_alias" != x; then
   1442   if test "x$build_alias" = x; then
   1443     cross_compiling=maybe
   1444     $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
   1445     If a cross compiler is detected then cross compile mode will be used." >&2
   1446   elif test "x$build_alias" != "x$host_alias"; then
   1447     cross_compiling=yes
   1448   fi
   1449 fi
   1450 
   1451 ac_tool_prefix=
   1452 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1453 
   1454 test "$silent" = yes && exec 6>/dev/null
   1455 
   1456 
   1457 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1458 ac_ls_di=`ls -di .` &&
   1459 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1460   { $as_echo "$as_me: error: working directory cannot be determined" >&2
   1461    { (exit 1); exit 1; }; }
   1462 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1463   { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
   1464    { (exit 1); exit 1; }; }
   1465 
   1466 
   1467 # Find the source files, if location was not specified.
   1468 if test -z "$srcdir"; then
   1469   ac_srcdir_defaulted=yes
   1470   # Try the directory containing this script, then the parent directory.
   1471   ac_confdir=`$as_dirname -- "$as_myself" ||
   1472 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1473 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1474 	 X"$as_myself" : 'X\(//\)$' \| \
   1475 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1476 $as_echo X"$as_myself" |
   1477     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1478 	    s//\1/
   1479 	    q
   1480 	  }
   1481 	  /^X\(\/\/\)[^/].*/{
   1482 	    s//\1/
   1483 	    q
   1484 	  }
   1485 	  /^X\(\/\/\)$/{
   1486 	    s//\1/
   1487 	    q
   1488 	  }
   1489 	  /^X\(\/\).*/{
   1490 	    s//\1/
   1491 	    q
   1492 	  }
   1493 	  s/.*/./; q'`
   1494   srcdir=$ac_confdir
   1495   if test ! -r "$srcdir/$ac_unique_file"; then
   1496     srcdir=..
   1497   fi
   1498 else
   1499   ac_srcdir_defaulted=no
   1500 fi
   1501 if test ! -r "$srcdir/$ac_unique_file"; then
   1502   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1503   { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
   1504    { (exit 1); exit 1; }; }
   1505 fi
   1506 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1507 ac_abs_confdir=`(
   1508 	cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
   1509    { (exit 1); exit 1; }; }
   1510 	pwd)`
   1511 # When building in place, set srcdir=.
   1512 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1513   srcdir=.
   1514 fi
   1515 # Remove unnecessary trailing slashes from srcdir.
   1516 # Double slashes in file names in object file debugging info
   1517 # mess up M-x gdb in Emacs.
   1518 case $srcdir in
   1519 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1520 esac
   1521 for ac_var in $ac_precious_vars; do
   1522   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1523   eval ac_env_${ac_var}_value=\$${ac_var}
   1524   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1525   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1526 done
   1527 
   1528 #
   1529 # Report the --help message.
   1530 #
   1531 if test "$ac_init_help" = "long"; then
   1532   # Omit some internal or obsolete options to make the list less imposing.
   1533   # This message is too long to be a string in the A/UX 3.1 sh.
   1534   cat <<_ACEOF
   1535 \`configure' configures xf86-video-apm 1.2.2 to adapt to many kinds of systems.
   1536 
   1537 Usage: $0 [OPTION]... [VAR=VALUE]...
   1538 
   1539 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1540 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1541 
   1542 Defaults for the options are specified in brackets.
   1543 
   1544 Configuration:
   1545   -h, --help              display this help and exit
   1546       --help=short        display options specific to this package
   1547       --help=recursive    display the short help of all the included packages
   1548   -V, --version           display version information and exit
   1549   -q, --quiet, --silent   do not print \`checking...' messages
   1550       --cache-file=FILE   cache test results in FILE [disabled]
   1551   -C, --config-cache      alias for \`--cache-file=config.cache'
   1552   -n, --no-create         do not create output files
   1553       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1554 
   1555 Installation directories:
   1556   --prefix=PREFIX         install architecture-independent files in PREFIX
   1557                           [$ac_default_prefix]
   1558   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1559                           [PREFIX]
   1560 
   1561 By default, \`make install' will install all the files in
   1562 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1563 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1564 for instance \`--prefix=\$HOME'.
   1565 
   1566 For better control, use the options below.
   1567 
   1568 Fine tuning of the installation directories:
   1569   --bindir=DIR            user executables [EPREFIX/bin]
   1570   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1571   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1572   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1573   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1574   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1575   --libdir=DIR            object code libraries [EPREFIX/lib]
   1576   --includedir=DIR        C header files [PREFIX/include]
   1577   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1578   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1579   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1580   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1581   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1582   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1583   --docdir=DIR            documentation root [DATAROOTDIR/doc/xf86-video-apm]
   1584   --htmldir=DIR           html documentation [DOCDIR]
   1585   --dvidir=DIR            dvi documentation [DOCDIR]
   1586   --pdfdir=DIR            pdf documentation [DOCDIR]
   1587   --psdir=DIR             ps documentation [DOCDIR]
   1588 _ACEOF
   1589 
   1590   cat <<\_ACEOF
   1591 
   1592 Program names:
   1593   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1594   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1595   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1596 
   1597 System types:
   1598   --build=BUILD     configure for building on BUILD [guessed]
   1599   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1600 _ACEOF
   1601 fi
   1602 
   1603 if test -n "$ac_init_help"; then
   1604   case $ac_init_help in
   1605      short | recursive ) echo "Configuration of xf86-video-apm 1.2.2:";;
   1606    esac
   1607   cat <<\_ACEOF
   1608 
   1609 Optional Features:
   1610   --disable-option-checking  ignore unrecognized --enable/--with options
   1611   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1612   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1613   --enable-maintainer-mode  enable make rules and dependencies not useful
   1614 			  (and sometimes confusing) to the casual installer
   1615   --enable-static[=PKGS]  build static libraries [default=no]
   1616   --enable-shared[=PKGS]  build shared libraries [default=yes]
   1617   --enable-fast-install[=PKGS]
   1618                           optimize for fast installation [default=yes]
   1619   --disable-dependency-tracking  speeds up one-time build
   1620   --enable-dependency-tracking   do not reject slow dependency extractors
   1621   --disable-libtool-lock  avoid locking (might break parallel builds)
   1622 
   1623 Optional Packages:
   1624   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1625   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1626   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
   1627   --with-pic              try to use only PIC/non-PIC objects [default=use
   1628                           both]
   1629   --with-tags[=TAGS]      include additional configurations [automatic]
   1630   --with-xorg-module-dir=DIR
   1631   --with-release-version=STRING
   1632                           Use release version string in package name
   1633 
   1634 Some influential environment variables:
   1635   CC          C compiler command
   1636   CFLAGS      C compiler flags
   1637   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1638               nonstandard directory <lib dir>
   1639   LIBS        libraries to pass to the linker, e.g. -l<library>
   1640   CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
   1641               you have headers in a nonstandard directory <include dir>
   1642   CPP         C preprocessor
   1643   CXX         C++ compiler command
   1644   CXXFLAGS    C++ compiler flags
   1645   CXXCPP      C++ preprocessor
   1646   F77         Fortran 77 compiler command
   1647   FFLAGS      Fortran 77 compiler flags
   1648   PKG_CONFIG  path to pkg-config utility
   1649   XORG_CFLAGS C compiler flags for XORG, overriding pkg-config
   1650   XORG_LIBS   linker flags for XORG, overriding pkg-config
   1651   XEXT_CFLAGS C compiler flags for XEXT, overriding pkg-config
   1652   XEXT_LIBS   linker flags for XEXT, overriding pkg-config
   1653   XF86RUSH_CFLAGS
   1654               C compiler flags for XF86RUSH, overriding pkg-config
   1655   XF86RUSH_LIBS
   1656               linker flags for XF86RUSH, overriding pkg-config
   1657   PCIACCESS_CFLAGS
   1658               C compiler flags for PCIACCESS, overriding pkg-config
   1659   PCIACCESS_LIBS
   1660               linker flags for PCIACCESS, overriding pkg-config
   1661 
   1662 Use these variables to override the choices made by `configure' or to help
   1663 it to find libraries and programs with nonstandard names/locations.
   1664 
   1665 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
   1666 _ACEOF
   1667 ac_status=$?
   1668 fi
   1669 
   1670 if test "$ac_init_help" = "recursive"; then
   1671   # If there are subdirs, report their specific --help.
   1672   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1673     test -d "$ac_dir" ||
   1674       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1675       continue
   1676     ac_builddir=.
   1677 
   1678 case "$ac_dir" in
   1679 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1680 *)
   1681   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   1682   # A ".." for each directory in $ac_dir_suffix.
   1683   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1684   case $ac_top_builddir_sub in
   1685   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1686   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1687   esac ;;
   1688 esac
   1689 ac_abs_top_builddir=$ac_pwd
   1690 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1691 # for backward compatibility:
   1692 ac_top_builddir=$ac_top_build_prefix
   1693 
   1694 case $srcdir in
   1695   .)  # We are building in place.
   1696     ac_srcdir=.
   1697     ac_top_srcdir=$ac_top_builddir_sub
   1698     ac_abs_top_srcdir=$ac_pwd ;;
   1699   [\\/]* | ?:[\\/]* )  # Absolute name.
   1700     ac_srcdir=$srcdir$ac_dir_suffix;
   1701     ac_top_srcdir=$srcdir
   1702     ac_abs_top_srcdir=$srcdir ;;
   1703   *) # Relative name.
   1704     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1705     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1706     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1707 esac
   1708 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1709 
   1710     cd "$ac_dir" || { ac_status=$?; continue; }
   1711     # Check for guested configure.
   1712     if test -f "$ac_srcdir/configure.gnu"; then
   1713       echo &&
   1714       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1715     elif test -f "$ac_srcdir/configure"; then
   1716       echo &&
   1717       $SHELL "$ac_srcdir/configure" --help=recursive
   1718     else
   1719       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1720     fi || ac_status=$?
   1721     cd "$ac_pwd" || { ac_status=$?; break; }
   1722   done
   1723 fi
   1724 
   1725 test -n "$ac_init_help" && exit $ac_status
   1726 if $ac_init_version; then
   1727   cat <<\_ACEOF
   1728 xf86-video-apm configure 1.2.2
   1729 generated by GNU Autoconf 2.63
   1730 
   1731 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
   1732 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
   1733 This configure script is free software; the Free Software Foundation
   1734 gives unlimited permission to copy, distribute and modify it.
   1735 _ACEOF
   1736   exit
   1737 fi
   1738 cat >config.log <<_ACEOF
   1739 This file contains any messages produced by compilers while
   1740 running configure, to aid debugging if configure makes a mistake.
   1741 
   1742 It was created by xf86-video-apm $as_me 1.2.2, which was
   1743 generated by GNU Autoconf 2.63.  Invocation command line was
   1744 
   1745   $ $0 $@
   1746 
   1747 _ACEOF
   1748 exec 5>>config.log
   1749 {
   1750 cat <<_ASUNAME
   1751 ## --------- ##
   1752 ## Platform. ##
   1753 ## --------- ##
   1754 
   1755 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   1756 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   1757 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   1758 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   1759 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   1760 
   1761 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   1762 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   1763 
   1764 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   1765 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   1766 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   1767 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   1768 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   1769 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   1770 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   1771 
   1772 _ASUNAME
   1773 
   1774 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1775 for as_dir in $PATH
   1776 do
   1777   IFS=$as_save_IFS
   1778   test -z "$as_dir" && as_dir=.
   1779   $as_echo "PATH: $as_dir"
   1780 done
   1781 IFS=$as_save_IFS
   1782 
   1783 } >&5
   1784 
   1785 cat >&5 <<_ACEOF
   1786 
   1787 
   1788 ## ----------- ##
   1789 ## Core tests. ##
   1790 ## ----------- ##
   1791 
   1792 _ACEOF
   1793 
   1794 
   1795 # Keep a trace of the command line.
   1796 # Strip out --no-create and --no-recursion so they do not pile up.
   1797 # Strip out --silent because we don't want to record it for future runs.
   1798 # Also quote any args containing shell meta-characters.
   1799 # Make two passes to allow for proper duplicate-argument suppression.
   1800 ac_configure_args=
   1801 ac_configure_args0=
   1802 ac_configure_args1=
   1803 ac_must_keep_next=false
   1804 for ac_pass in 1 2
   1805 do
   1806   for ac_arg
   1807   do
   1808     case $ac_arg in
   1809     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   1810     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1811     | -silent | --silent | --silen | --sile | --sil)
   1812       continue ;;
   1813     *\'*)
   1814       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1815     esac
   1816     case $ac_pass in
   1817     1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
   1818     2)
   1819       ac_configure_args1="$ac_configure_args1 '$ac_arg'"
   1820       if test $ac_must_keep_next = true; then
   1821 	ac_must_keep_next=false # Got value, back to normal.
   1822       else
   1823 	case $ac_arg in
   1824 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   1825 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   1826 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   1827 	  | -with-* | --with-* | -without-* | --without-* | --x)
   1828 	    case "$ac_configure_args0 " in
   1829 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   1830 	    esac
   1831 	    ;;
   1832 	  -* ) ac_must_keep_next=true ;;
   1833 	esac
   1834       fi
   1835       ac_configure_args="$ac_configure_args '$ac_arg'"
   1836       ;;
   1837     esac
   1838   done
   1839 done
   1840 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
   1841 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
   1842 
   1843 # When interrupted or exit'd, cleanup temporary files, and complete
   1844 # config.log.  We remove comments because anyway the quotes in there
   1845 # would cause problems or look ugly.
   1846 # WARNING: Use '\'' to represent an apostrophe within the trap.
   1847 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   1848 trap 'exit_status=$?
   1849   # Save into config.log some information that might help in debugging.
   1850   {
   1851     echo
   1852 
   1853     cat <<\_ASBOX
   1854 ## ---------------- ##
   1855 ## Cache variables. ##
   1856 ## ---------------- ##
   1857 _ASBOX
   1858     echo
   1859     # The following way of writing the cache mishandles newlines in values,
   1860 (
   1861   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   1862     eval ac_val=\$$ac_var
   1863     case $ac_val in #(
   1864     *${as_nl}*)
   1865       case $ac_var in #(
   1866       *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
   1867 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   1868       esac
   1869       case $ac_var in #(
   1870       _ | IFS | as_nl) ;; #(
   1871       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   1872       *) $as_unset $ac_var ;;
   1873       esac ;;
   1874     esac
   1875   done
   1876   (set) 2>&1 |
   1877     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   1878     *${as_nl}ac_space=\ *)
   1879       sed -n \
   1880 	"s/'\''/'\''\\\\'\'''\''/g;
   1881 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   1882       ;; #(
   1883     *)
   1884       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   1885       ;;
   1886     esac |
   1887     sort
   1888 )
   1889     echo
   1890 
   1891     cat <<\_ASBOX
   1892 ## ----------------- ##
   1893 ## Output variables. ##
   1894 ## ----------------- ##
   1895 _ASBOX
   1896     echo
   1897     for ac_var in $ac_subst_vars
   1898     do
   1899       eval ac_val=\$$ac_var
   1900       case $ac_val in
   1901       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   1902       esac
   1903       $as_echo "$ac_var='\''$ac_val'\''"
   1904     done | sort
   1905     echo
   1906 
   1907     if test -n "$ac_subst_files"; then
   1908       cat <<\_ASBOX
   1909 ## ------------------- ##
   1910 ## File substitutions. ##
   1911 ## ------------------- ##
   1912 _ASBOX
   1913       echo
   1914       for ac_var in $ac_subst_files
   1915       do
   1916 	eval ac_val=\$$ac_var
   1917 	case $ac_val in
   1918 	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   1919 	esac
   1920 	$as_echo "$ac_var='\''$ac_val'\''"
   1921       done | sort
   1922       echo
   1923     fi
   1924 
   1925     if test -s confdefs.h; then
   1926       cat <<\_ASBOX
   1927 ## ----------- ##
   1928 ## confdefs.h. ##
   1929 ## ----------- ##
   1930 _ASBOX
   1931       echo
   1932       cat confdefs.h
   1933       echo
   1934     fi
   1935     test "$ac_signal" != 0 &&
   1936       $as_echo "$as_me: caught signal $ac_signal"
   1937     $as_echo "$as_me: exit $exit_status"
   1938   } >&5
   1939   rm -f core *.core core.conftest.* &&
   1940     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   1941     exit $exit_status
   1942 ' 0
   1943 for ac_signal in 1 2 13 15; do
   1944   trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
   1945 done
   1946 ac_signal=0
   1947 
   1948 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   1949 rm -f -r conftest* confdefs.h
   1950 
   1951 # Predefined preprocessor variables.
   1952 
   1953 cat >>confdefs.h <<_ACEOF
   1954 #define PACKAGE_NAME "$PACKAGE_NAME"
   1955 _ACEOF
   1956 
   1957 
   1958 cat >>confdefs.h <<_ACEOF
   1959 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
   1960 _ACEOF
   1961 
   1962 
   1963 cat >>confdefs.h <<_ACEOF
   1964 #define PACKAGE_VERSION "$PACKAGE_VERSION"
   1965 _ACEOF
   1966 
   1967 
   1968 cat >>confdefs.h <<_ACEOF
   1969 #define PACKAGE_STRING "$PACKAGE_STRING"
   1970 _ACEOF
   1971 
   1972 
   1973 cat >>confdefs.h <<_ACEOF
   1974 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
   1975 _ACEOF
   1976 
   1977 
   1978 # Let the site file select an alternate cache file if it wants to.
   1979 # Prefer an explicitly selected file to automatically selected ones.
   1980 ac_site_file1=NONE
   1981 ac_site_file2=NONE
   1982 if test -n "$CONFIG_SITE"; then
   1983   ac_site_file1=$CONFIG_SITE
   1984 elif test "x$prefix" != xNONE; then
   1985   ac_site_file1=$prefix/share/config.site
   1986   ac_site_file2=$prefix/etc/config.site
   1987 else
   1988   ac_site_file1=$ac_default_prefix/share/config.site
   1989   ac_site_file2=$ac_default_prefix/etc/config.site
   1990 fi
   1991 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
   1992 do
   1993   test "x$ac_site_file" = xNONE && continue
   1994   if test -r "$ac_site_file"; then
   1995     { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
   1996 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
   1997     sed 's/^/| /' "$ac_site_file" >&5
   1998     . "$ac_site_file"
   1999   fi
   2000 done
   2001 
   2002 if test -r "$cache_file"; then
   2003   # Some versions of bash will fail to source /dev/null (special
   2004   # files actually), so we avoid doing that.
   2005   if test -f "$cache_file"; then
   2006     { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
   2007 $as_echo "$as_me: loading cache $cache_file" >&6;}
   2008     case $cache_file in
   2009       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2010       *)                      . "./$cache_file";;
   2011     esac
   2012   fi
   2013 else
   2014   { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
   2015 $as_echo "$as_me: creating cache $cache_file" >&6;}
   2016   >$cache_file
   2017 fi
   2018 
   2019 # Check that the precious variables saved in the cache have kept the same
   2020 # value.
   2021 ac_cache_corrupted=false
   2022 for ac_var in $ac_precious_vars; do
   2023   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2024   eval ac_new_set=\$ac_env_${ac_var}_set
   2025   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2026   eval ac_new_val=\$ac_env_${ac_var}_value
   2027   case $ac_old_set,$ac_new_set in
   2028     set,)
   2029       { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   2030 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   2031       ac_cache_corrupted=: ;;
   2032     ,set)
   2033       { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
   2034 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   2035       ac_cache_corrupted=: ;;
   2036     ,);;
   2037     *)
   2038       if test "x$ac_old_val" != "x$ac_new_val"; then
   2039 	# differences in whitespace do not lead to failure.
   2040 	ac_old_val_w=`echo x $ac_old_val`
   2041 	ac_new_val_w=`echo x $ac_new_val`
   2042 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2043 	  { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
   2044 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   2045 	  ac_cache_corrupted=:
   2046 	else
   2047 	  { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
   2048 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
   2049 	  eval $ac_var=\$ac_old_val
   2050 	fi
   2051 	{ $as_echo "$as_me:$LINENO:   former value:  \`$ac_old_val'" >&5
   2052 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
   2053 	{ $as_echo "$as_me:$LINENO:   current value: \`$ac_new_val'" >&5
   2054 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
   2055       fi;;
   2056   esac
   2057   # Pass precious variables to config.status.
   2058   if test "$ac_new_set" = set; then
   2059     case $ac_new_val in
   2060     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2061     *) ac_arg=$ac_var=$ac_new_val ;;
   2062     esac
   2063     case " $ac_configure_args " in
   2064       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2065       *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
   2066     esac
   2067   fi
   2068 done
   2069 if $ac_cache_corrupted; then
   2070   { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   2071 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2072   { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
   2073 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
   2074   { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
   2075 $as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
   2076    { (exit 1); exit 1; }; }
   2077 fi
   2078 
   2079 
   2080 
   2081 
   2082 
   2083 
   2084 
   2085 
   2086 
   2087 
   2088 
   2089 
   2090 
   2091 
   2092 
   2093 
   2094 
   2095 
   2096 
   2097 
   2098 
   2099 
   2100 
   2101 
   2102 
   2103 ac_ext=c
   2104 ac_cpp='$CPP $CPPFLAGS'
   2105 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2106 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2107 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2108 
   2109 
   2110 
   2111 
   2112 ac_config_headers="$ac_config_headers config.h"
   2113 
   2114 ac_aux_dir=
   2115 for ac_dir in . "$srcdir"/.; do
   2116   if test -f "$ac_dir/install-sh"; then
   2117     ac_aux_dir=$ac_dir
   2118     ac_install_sh="$ac_aux_dir/install-sh -c"
   2119     break
   2120   elif test -f "$ac_dir/install.sh"; then
   2121     ac_aux_dir=$ac_dir
   2122     ac_install_sh="$ac_aux_dir/install.sh -c"
   2123     break
   2124   elif test -f "$ac_dir/shtool"; then
   2125     ac_aux_dir=$ac_dir
   2126     ac_install_sh="$ac_aux_dir/shtool install -c"
   2127     break
   2128   fi
   2129 done
   2130 if test -z "$ac_aux_dir"; then
   2131   { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in . \"$srcdir\"/." >&5
   2132 $as_echo "$as_me: error: cannot find install-sh or install.sh in . \"$srcdir\"/." >&2;}
   2133    { (exit 1); exit 1; }; }
   2134 fi
   2135 
   2136 # These three variables are undocumented and unsupported,
   2137 # and are intended to be withdrawn in a future Autoconf release.
   2138 # They can cause serious problems if a builder's source tree is in a directory
   2139 # whose full name contains unusual characters.
   2140 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
   2141 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
   2142 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
   2143 
   2144 
   2145 
   2146 am__api_version='1.11'
   2147 
   2148 # Find a good install program.  We prefer a C program (faster),
   2149 # so one script is as good as another.  But avoid the broken or
   2150 # incompatible versions:
   2151 # SysV /etc/install, /usr/sbin/install
   2152 # SunOS /usr/etc/install
   2153 # IRIX /sbin/install
   2154 # AIX /bin/install
   2155 # AmigaOS /C/install, which installs bootblocks on floppy discs
   2156 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   2157 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   2158 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   2159 # OS/2's system install, which has a completely different semantic
   2160 # ./install, which can be erroneously created by make from ./install.sh.
   2161 # Reject install programs that cannot install multiple files.
   2162 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
   2163 $as_echo_n "checking for a BSD-compatible install... " >&6; }
   2164 if test -z "$INSTALL"; then
   2165 if test "${ac_cv_path_install+set}" = set; then
   2166   $as_echo_n "(cached) " >&6
   2167 else
   2168   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2169 for as_dir in $PATH
   2170 do
   2171   IFS=$as_save_IFS
   2172   test -z "$as_dir" && as_dir=.
   2173   # Account for people who put trailing slashes in PATH elements.
   2174 case $as_dir/ in
   2175   ./ | .// | /cC/* | \
   2176   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   2177   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
   2178   /usr/ucb/* ) ;;
   2179   *)
   2180     # OSF1 and SCO ODT 3.0 have their own names for install.
   2181     # Don't use installbsd from OSF since it installs stuff as root
   2182     # by default.
   2183     for ac_prog in ginstall scoinst install; do
   2184       for ac_exec_ext in '' $ac_executable_extensions; do
   2185 	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
   2186 	  if test $ac_prog = install &&
   2187 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2188 	    # AIX install.  It has an incompatible calling convention.
   2189 	    :
   2190 	  elif test $ac_prog = install &&
   2191 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2192 	    # program-specific install script used by HP pwplus--don't use.
   2193 	    :
   2194 	  else
   2195 	    rm -rf conftest.one conftest.two conftest.dir
   2196 	    echo one > conftest.one
   2197 	    echo two > conftest.two
   2198 	    mkdir conftest.dir
   2199 	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
   2200 	      test -s conftest.one && test -s conftest.two &&
   2201 	      test -s conftest.dir/conftest.one &&
   2202 	      test -s conftest.dir/conftest.two
   2203 	    then
   2204 	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
   2205 	      break 3
   2206 	    fi
   2207 	  fi
   2208 	fi
   2209       done
   2210     done
   2211     ;;
   2212 esac
   2213 
   2214 done
   2215 IFS=$as_save_IFS
   2216 
   2217 rm -rf conftest.one conftest.two conftest.dir
   2218 
   2219 fi
   2220   if test "${ac_cv_path_install+set}" = set; then
   2221     INSTALL=$ac_cv_path_install
   2222   else
   2223     # As a last resort, use the slow shell script.  Don't cache a
   2224     # value for INSTALL within a source directory, because that will
   2225     # break other packages using the cache if that directory is
   2226     # removed, or if the value is a relative name.
   2227     INSTALL=$ac_install_sh
   2228   fi
   2229 fi
   2230 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
   2231 $as_echo "$INSTALL" >&6; }
   2232 
   2233 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   2234 # It thinks the first close brace ends the variable substitution.
   2235 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   2236 
   2237 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   2238 
   2239 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   2240 
   2241 { $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5
   2242 $as_echo_n "checking whether build environment is sane... " >&6; }
   2243 # Just in case
   2244 sleep 1
   2245 echo timestamp > conftest.file
   2246 # Reject unsafe characters in $srcdir or the absolute working directory
   2247 # name.  Accept space and tab only in the latter.
   2248 am_lf='
   2249 '
   2250 case `pwd` in
   2251   *[\\\"\#\$\&\'\`$am_lf]*)
   2252     { { $as_echo "$as_me:$LINENO: error: unsafe absolute working directory name" >&5
   2253 $as_echo "$as_me: error: unsafe absolute working directory name" >&2;}
   2254    { (exit 1); exit 1; }; };;
   2255 esac
   2256 case $srcdir in
   2257   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   2258     { { $as_echo "$as_me:$LINENO: error: unsafe srcdir value: \`$srcdir'" >&5
   2259 $as_echo "$as_me: error: unsafe srcdir value: \`$srcdir'" >&2;}
   2260    { (exit 1); exit 1; }; };;
   2261 esac
   2262 
   2263 # Do `set' in a subshell so we don't clobber the current shell's
   2264 # arguments.  Must try -L first in case configure is actually a
   2265 # symlink; some systems play weird games with the mod time of symlinks
   2266 # (eg FreeBSD returns the mod time of the symlink's containing
   2267 # directory).
   2268 if (
   2269    set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   2270    if test "$*" = "X"; then
   2271       # -L didn't work.
   2272       set X `ls -t "$srcdir/configure" conftest.file`
   2273    fi
   2274    rm -f conftest.file
   2275    if test "$*" != "X $srcdir/configure conftest.file" \
   2276       && test "$*" != "X conftest.file $srcdir/configure"; then
   2277 
   2278       # If neither matched, then we have a broken ls.  This can happen
   2279       # if, for instance, CONFIG_SHELL is bash and it inherits a
   2280       # broken ls alias from the environment.  This has actually
   2281       # happened.  Such a system could not be considered "sane".
   2282       { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
   2283 alias in your environment" >&5
   2284 $as_echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
   2285 alias in your environment" >&2;}
   2286    { (exit 1); exit 1; }; }
   2287    fi
   2288 
   2289    test "$2" = conftest.file
   2290    )
   2291 then
   2292    # Ok.
   2293    :
   2294 else
   2295    { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files!
   2296 Check your system clock" >&5
   2297 $as_echo "$as_me: error: newly created file is older than distributed files!
   2298 Check your system clock" >&2;}
   2299    { (exit 1); exit 1; }; }
   2300 fi
   2301 { $as_echo "$as_me:$LINENO: result: yes" >&5
   2302 $as_echo "yes" >&6; }
   2303 test "$program_prefix" != NONE &&
   2304   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   2305 # Use a double $ so make ignores it.
   2306 test "$program_suffix" != NONE &&
   2307   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   2308 # Double any \ or $.
   2309 # By default was `s,x,x', remove it if useless.
   2310 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   2311 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
   2312 
   2313 # expand $ac_aux_dir to an absolute path
   2314 am_aux_dir=`cd $ac_aux_dir && pwd`
   2315 
   2316 if test x"${MISSING+set}" != xset; then
   2317   case $am_aux_dir in
   2318   *\ * | *\	*)
   2319     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
   2320   *)
   2321     MISSING="\${SHELL} $am_aux_dir/missing" ;;
   2322   esac
   2323 fi
   2324 # Use eval to expand $SHELL
   2325 if eval "$MISSING --run true"; then
   2326   am_missing_run="$MISSING --run "
   2327 else
   2328   am_missing_run=
   2329   { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
   2330 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
   2331 fi
   2332 
   2333 if test x"${install_sh}" != xset; then
   2334   case $am_aux_dir in
   2335   *\ * | *\	*)
   2336     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   2337   *)
   2338     install_sh="\${SHELL} $am_aux_dir/install-sh"
   2339   esac
   2340 fi
   2341 
   2342 # Installed binaries are usually stripped using `strip' when the user
   2343 # run `make install-strip'.  However `strip' might not be the right
   2344 # tool to use in cross-compilation environments, therefore Automake
   2345 # will honor the `STRIP' environment variable to overrule this program.
   2346 if test "$cross_compiling" != no; then
   2347   if test -n "$ac_tool_prefix"; then
   2348   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   2349 set dummy ${ac_tool_prefix}strip; ac_word=$2
   2350 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   2351 $as_echo_n "checking for $ac_word... " >&6; }
   2352 if test "${ac_cv_prog_STRIP+set}" = set; then
   2353   $as_echo_n "(cached) " >&6
   2354 else
   2355   if test -n "$STRIP"; then
   2356   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   2357 else
   2358 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2359 for as_dir in $PATH
   2360 do
   2361   IFS=$as_save_IFS
   2362   test -z "$as_dir" && as_dir=.
   2363   for ac_exec_ext in '' $ac_executable_extensions; do
   2364   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2365     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   2366     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2367     break 2
   2368   fi
   2369 done
   2370 done
   2371 IFS=$as_save_IFS
   2372 
   2373 fi
   2374 fi
   2375 STRIP=$ac_cv_prog_STRIP
   2376 if test -n "$STRIP"; then
   2377   { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
   2378 $as_echo "$STRIP" >&6; }
   2379 else
   2380   { $as_echo "$as_me:$LINENO: result: no" >&5
   2381 $as_echo "no" >&6; }
   2382 fi
   2383 
   2384 
   2385 fi
   2386 if test -z "$ac_cv_prog_STRIP"; then
   2387   ac_ct_STRIP=$STRIP
   2388   # Extract the first word of "strip", so it can be a program name with args.
   2389 set dummy strip; ac_word=$2
   2390 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   2391 $as_echo_n "checking for $ac_word... " >&6; }
   2392 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
   2393   $as_echo_n "(cached) " >&6
   2394 else
   2395   if test -n "$ac_ct_STRIP"; then
   2396   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   2397 else
   2398 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2399 for as_dir in $PATH
   2400 do
   2401   IFS=$as_save_IFS
   2402   test -z "$as_dir" && as_dir=.
   2403   for ac_exec_ext in '' $ac_executable_extensions; do
   2404   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2405     ac_cv_prog_ac_ct_STRIP="strip"
   2406     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2407     break 2
   2408   fi
   2409 done
   2410 done
   2411 IFS=$as_save_IFS
   2412 
   2413 fi
   2414 fi
   2415 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   2416 if test -n "$ac_ct_STRIP"; then
   2417   { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
   2418 $as_echo "$ac_ct_STRIP" >&6; }
   2419 else
   2420   { $as_echo "$as_me:$LINENO: result: no" >&5
   2421 $as_echo "no" >&6; }
   2422 fi
   2423 
   2424   if test "x$ac_ct_STRIP" = x; then
   2425     STRIP=":"
   2426   else
   2427     case $cross_compiling:$ac_tool_warned in
   2428 yes:)
   2429 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   2430 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2431 ac_tool_warned=yes ;;
   2432 esac
   2433     STRIP=$ac_ct_STRIP
   2434   fi
   2435 else
   2436   STRIP="$ac_cv_prog_STRIP"
   2437 fi
   2438 
   2439 fi
   2440 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   2441 
   2442 { $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
   2443 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
   2444 if test -z "$MKDIR_P"; then
   2445   if test "${ac_cv_path_mkdir+set}" = set; then
   2446   $as_echo_n "(cached) " >&6
   2447 else
   2448   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2449 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   2450 do
   2451   IFS=$as_save_IFS
   2452   test -z "$as_dir" && as_dir=.
   2453   for ac_prog in mkdir gmkdir; do
   2454 	 for ac_exec_ext in '' $ac_executable_extensions; do
   2455 	   { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
   2456 	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
   2457 	     'mkdir (GNU coreutils) '* | \
   2458 	     'mkdir (coreutils) '* | \
   2459 	     'mkdir (fileutils) '4.1*)
   2460 	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
   2461 	       break 3;;
   2462 	   esac
   2463 	 done
   2464        done
   2465 done
   2466 IFS=$as_save_IFS
   2467 
   2468 fi
   2469 
   2470   if test "${ac_cv_path_mkdir+set}" = set; then
   2471     MKDIR_P="$ac_cv_path_mkdir -p"
   2472   else
   2473     # As a last resort, use the slow shell script.  Don't cache a
   2474     # value for MKDIR_P within a source directory, because that will
   2475     # break other packages using the cache if that directory is
   2476     # removed, or if the value is a relative name.
   2477     test -d ./--version && rmdir ./--version
   2478     MKDIR_P="$ac_install_sh -d"
   2479   fi
   2480 fi
   2481 { $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5
   2482 $as_echo "$MKDIR_P" >&6; }
   2483 
   2484 mkdir_p="$MKDIR_P"
   2485 case $mkdir_p in
   2486   [\\/$]* | ?:[\\/]*) ;;
   2487   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
   2488 esac
   2489 
   2490 for ac_prog in gawk mawk nawk awk
   2491 do
   2492   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2493 set dummy $ac_prog; ac_word=$2
   2494 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   2495 $as_echo_n "checking for $ac_word... " >&6; }
   2496 if test "${ac_cv_prog_AWK+set}" = set; then
   2497   $as_echo_n "(cached) " >&6
   2498 else
   2499   if test -n "$AWK"; then
   2500   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   2501 else
   2502 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2503 for as_dir in $PATH
   2504 do
   2505   IFS=$as_save_IFS
   2506   test -z "$as_dir" && as_dir=.
   2507   for ac_exec_ext in '' $ac_executable_extensions; do
   2508   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2509     ac_cv_prog_AWK="$ac_prog"
   2510     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2511     break 2
   2512   fi
   2513 done
   2514 done
   2515 IFS=$as_save_IFS
   2516 
   2517 fi
   2518 fi
   2519 AWK=$ac_cv_prog_AWK
   2520 if test -n "$AWK"; then
   2521   { $as_echo "$as_me:$LINENO: result: $AWK" >&5
   2522 $as_echo "$AWK" >&6; }
   2523 else
   2524   { $as_echo "$as_me:$LINENO: result: no" >&5
   2525 $as_echo "no" >&6; }
   2526 fi
   2527 
   2528 
   2529   test -n "$AWK" && break
   2530 done
   2531 
   2532 { $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   2533 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   2534 set x ${MAKE-make}
   2535 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   2536 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
   2537   $as_echo_n "(cached) " >&6
   2538 else
   2539   cat >conftest.make <<\_ACEOF
   2540 SHELL = /bin/sh
   2541 all:
   2542 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   2543 _ACEOF
   2544 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
   2545 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   2546   *@@@%%%=?*=@@@%%%*)
   2547     eval ac_cv_prog_make_${ac_make}_set=yes;;
   2548   *)
   2549     eval ac_cv_prog_make_${ac_make}_set=no;;
   2550 esac
   2551 rm -f conftest.make
   2552 fi
   2553 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   2554   { $as_echo "$as_me:$LINENO: result: yes" >&5
   2555 $as_echo "yes" >&6; }
   2556   SET_MAKE=
   2557 else
   2558   { $as_echo "$as_me:$LINENO: result: no" >&5
   2559 $as_echo "no" >&6; }
   2560   SET_MAKE="MAKE=${MAKE-make}"
   2561 fi
   2562 
   2563 rm -rf .tst 2>/dev/null
   2564 mkdir .tst 2>/dev/null
   2565 if test -d .tst; then
   2566   am__leading_dot=.
   2567 else
   2568   am__leading_dot=_
   2569 fi
   2570 rmdir .tst 2>/dev/null
   2571 
   2572 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   2573   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   2574   # is not polluted with repeated "-I."
   2575   am__isrc=' -I$(srcdir)'
   2576   # test to see if srcdir already configured
   2577   if test -f $srcdir/config.status; then
   2578     { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
   2579 $as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
   2580    { (exit 1); exit 1; }; }
   2581   fi
   2582 fi
   2583 
   2584 # test whether we have cygpath
   2585 if test -z "$CYGPATH_W"; then
   2586   if (cygpath --version) >/dev/null 2>/dev/null; then
   2587     CYGPATH_W='cygpath -w'
   2588   else
   2589     CYGPATH_W=echo
   2590   fi
   2591 fi
   2592 
   2593 
   2594 # Define the identity of the package.
   2595  PACKAGE='xf86-video-apm'
   2596  VERSION='1.2.2'
   2597 
   2598 
   2599 cat >>confdefs.h <<_ACEOF
   2600 #define PACKAGE "$PACKAGE"
   2601 _ACEOF
   2602 
   2603 
   2604 cat >>confdefs.h <<_ACEOF
   2605 #define VERSION "$VERSION"
   2606 _ACEOF
   2607 
   2608 # Some tools Automake needs.
   2609 
   2610 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   2611 
   2612 
   2613 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   2614 
   2615 
   2616 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   2617 
   2618 
   2619 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   2620 
   2621 
   2622 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   2623 
   2624 # We need awk for the "check" target.  The system "awk" is bad on
   2625 # some platforms.
   2626 # Always define AMTAR for backward compatibility.
   2627 
   2628 AMTAR=${AMTAR-"${am_missing_run}tar"}
   2629 
   2630 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
   2631 
   2632 
   2633 
   2634 
   2635 
   2636 
   2637 
   2638 { $as_echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
   2639 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
   2640     # Check whether --enable-maintainer-mode was given.
   2641 if test "${enable_maintainer_mode+set}" = set; then
   2642   enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
   2643 else
   2644   USE_MAINTAINER_MODE=no
   2645 fi
   2646 
   2647   { $as_echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
   2648 $as_echo "$USE_MAINTAINER_MODE" >&6; }
   2649    if test $USE_MAINTAINER_MODE = yes; then
   2650   MAINTAINER_MODE_TRUE=
   2651   MAINTAINER_MODE_FALSE='#'
   2652 else
   2653   MAINTAINER_MODE_TRUE='#'
   2654   MAINTAINER_MODE_FALSE=
   2655 fi
   2656 
   2657   MAINT=$MAINTAINER_MODE_TRUE
   2658 
   2659 
   2660 
   2661 # Checks for programs.
   2662 # Check whether --enable-static was given.
   2663 if test "${enable_static+set}" = set; then
   2664   enableval=$enable_static; p=${PACKAGE-default}
   2665     case $enableval in
   2666     yes) enable_static=yes ;;
   2667     no) enable_static=no ;;
   2668     *)
   2669      enable_static=no
   2670       # Look at the argument we got.  We use all the common list separators.
   2671       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   2672       for pkg in $enableval; do
   2673 	IFS="$lt_save_ifs"
   2674 	if test "X$pkg" = "X$p"; then
   2675 	  enable_static=yes
   2676 	fi
   2677       done
   2678       IFS="$lt_save_ifs"
   2679       ;;
   2680     esac
   2681 else
   2682   enable_static=no
   2683 fi
   2684 
   2685 
   2686 
   2687 # Check whether --enable-shared was given.
   2688 if test "${enable_shared+set}" = set; then
   2689   enableval=$enable_shared; p=${PACKAGE-default}
   2690     case $enableval in
   2691     yes) enable_shared=yes ;;
   2692     no) enable_shared=no ;;
   2693     *)
   2694       enable_shared=no
   2695       # Look at the argument we got.  We use all the common list separators.
   2696       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   2697       for pkg in $enableval; do
   2698 	IFS="$lt_save_ifs"
   2699 	if test "X$pkg" = "X$p"; then
   2700 	  enable_shared=yes
   2701 	fi
   2702       done
   2703       IFS="$lt_save_ifs"
   2704       ;;
   2705     esac
   2706 else
   2707   enable_shared=yes
   2708 fi
   2709 
   2710 
   2711 # Check whether --enable-fast-install was given.
   2712 if test "${enable_fast_install+set}" = set; then
   2713   enableval=$enable_fast_install; p=${PACKAGE-default}
   2714     case $enableval in
   2715     yes) enable_fast_install=yes ;;
   2716     no) enable_fast_install=no ;;
   2717     *)
   2718       enable_fast_install=no
   2719       # Look at the argument we got.  We use all the common list separators.
   2720       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   2721       for pkg in $enableval; do
   2722 	IFS="$lt_save_ifs"
   2723 	if test "X$pkg" = "X$p"; then
   2724 	  enable_fast_install=yes
   2725 	fi
   2726       done
   2727       IFS="$lt_save_ifs"
   2728       ;;
   2729     esac
   2730 else
   2731   enable_fast_install=yes
   2732 fi
   2733 
   2734 
   2735 # Make sure we can run config.sub.
   2736 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
   2737   { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
   2738 $as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
   2739    { (exit 1); exit 1; }; }
   2740 
   2741 { $as_echo "$as_me:$LINENO: checking build system type" >&5
   2742 $as_echo_n "checking build system type... " >&6; }
   2743 if test "${ac_cv_build+set}" = set; then
   2744   $as_echo_n "(cached) " >&6
   2745 else
   2746   ac_build_alias=$build_alias
   2747 test "x$ac_build_alias" = x &&
   2748   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
   2749 test "x$ac_build_alias" = x &&
   2750   { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
   2751 $as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
   2752    { (exit 1); exit 1; }; }
   2753 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
   2754   { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
   2755 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
   2756    { (exit 1); exit 1; }; }
   2757 
   2758 fi
   2759 { $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
   2760 $as_echo "$ac_cv_build" >&6; }
   2761 case $ac_cv_build in
   2762 *-*-*) ;;
   2763 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
   2764 $as_echo "$as_me: error: invalid value of canonical build" >&2;}
   2765    { (exit 1); exit 1; }; };;
   2766 esac
   2767 build=$ac_cv_build
   2768 ac_save_IFS=$IFS; IFS='-'
   2769 set x $ac_cv_build
   2770 shift
   2771 build_cpu=$1
   2772 build_vendor=$2
   2773 shift; shift
   2774 # Remember, the first character of IFS is used to create $*,
   2775 # except with old shells:
   2776 build_os=$*
   2777 IFS=$ac_save_IFS
   2778 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   2779 
   2780 
   2781 { $as_echo "$as_me:$LINENO: checking host system type" >&5
   2782 $as_echo_n "checking host system type... " >&6; }
   2783 if test "${ac_cv_host+set}" = set; then
   2784   $as_echo_n "(cached) " >&6
   2785 else
   2786   if test "x$host_alias" = x; then
   2787   ac_cv_host=$ac_cv_build
   2788 else
   2789   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
   2790     { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
   2791 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
   2792    { (exit 1); exit 1; }; }
   2793 fi
   2794 
   2795 fi
   2796 { $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
   2797 $as_echo "$ac_cv_host" >&6; }
   2798 case $ac_cv_host in
   2799 *-*-*) ;;
   2800 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
   2801 $as_echo "$as_me: error: invalid value of canonical host" >&2;}
   2802    { (exit 1); exit 1; }; };;
   2803 esac
   2804 host=$ac_cv_host
   2805 ac_save_IFS=$IFS; IFS='-'
   2806 set x $ac_cv_host
   2807 shift
   2808 host_cpu=$1
   2809 host_vendor=$2
   2810 shift; shift
   2811 # Remember, the first character of IFS is used to create $*,
   2812 # except with old shells:
   2813 host_os=$*
   2814 IFS=$ac_save_IFS
   2815 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   2816 
   2817 
   2818 DEPDIR="${am__leading_dot}deps"
   2819 
   2820 ac_config_commands="$ac_config_commands depfiles"
   2821 
   2822 
   2823 am_make=${MAKE-make}
   2824 cat > confinc << 'END'
   2825 am__doit:
   2826 	@echo this is the am__doit target
   2827 .PHONY: am__doit
   2828 END
   2829 # If we don't find an include directive, just comment out the code.
   2830 { $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
   2831 $as_echo_n "checking for style of include used by $am_make... " >&6; }
   2832 am__include="#"
   2833 am__quote=
   2834 _am_result=none
   2835 # First try GNU make style include.
   2836 echo "include confinc" > confmf
   2837 # Ignore all kinds of additional output from `make'.
   2838 case `$am_make -s -f confmf 2> /dev/null` in #(
   2839 *the\ am__doit\ target*)
   2840   am__include=include
   2841   am__quote=
   2842   _am_result=GNU
   2843   ;;
   2844 esac
   2845 # Now try BSD make style include.
   2846 if test "$am__include" = "#"; then
   2847    echo '.include "confinc"' > confmf
   2848    case `$am_make -s -f confmf 2> /dev/null` in #(
   2849    *the\ am__doit\ target*)
   2850      am__include=.include
   2851      am__quote="\""
   2852      _am_result=BSD
   2853      ;;
   2854    esac
   2855 fi
   2856 
   2857 
   2858 { $as_echo "$as_me:$LINENO: result: $_am_result" >&5
   2859 $as_echo "$_am_result" >&6; }
   2860 rm -f confinc confmf
   2861 
   2862 # Check whether --enable-dependency-tracking was given.
   2863 if test "${enable_dependency_tracking+set}" = set; then
   2864   enableval=$enable_dependency_tracking;
   2865 fi
   2866 
   2867 if test "x$enable_dependency_tracking" != xno; then
   2868   am_depcomp="$ac_aux_dir/depcomp"
   2869   AMDEPBACKSLASH='\'
   2870 fi
   2871  if test "x$enable_dependency_tracking" != xno; then
   2872   AMDEP_TRUE=
   2873   AMDEP_FALSE='#'
   2874 else
   2875   AMDEP_TRUE='#'
   2876   AMDEP_FALSE=
   2877 fi
   2878 
   2879 
   2880 ac_ext=c
   2881 ac_cpp='$CPP $CPPFLAGS'
   2882 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2883 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2884 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2885 if test -n "$ac_tool_prefix"; then
   2886   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   2887 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   2888 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   2889 $as_echo_n "checking for $ac_word... " >&6; }
   2890 if test "${ac_cv_prog_CC+set}" = set; then
   2891   $as_echo_n "(cached) " >&6
   2892 else
   2893   if test -n "$CC"; then
   2894   ac_cv_prog_CC="$CC" # Let the user override the test.
   2895 else
   2896 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2897 for as_dir in $PATH
   2898 do
   2899   IFS=$as_save_IFS
   2900   test -z "$as_dir" && as_dir=.
   2901   for ac_exec_ext in '' $ac_executable_extensions; do
   2902   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2903     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   2904     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2905     break 2
   2906   fi
   2907 done
   2908 done
   2909 IFS=$as_save_IFS
   2910 
   2911 fi
   2912 fi
   2913 CC=$ac_cv_prog_CC
   2914 if test -n "$CC"; then
   2915   { $as_echo "$as_me:$LINENO: result: $CC" >&5
   2916 $as_echo "$CC" >&6; }
   2917 else
   2918   { $as_echo "$as_me:$LINENO: result: no" >&5
   2919 $as_echo "no" >&6; }
   2920 fi
   2921 
   2922 
   2923 fi
   2924 if test -z "$ac_cv_prog_CC"; then
   2925   ac_ct_CC=$CC
   2926   # Extract the first word of "gcc", so it can be a program name with args.
   2927 set dummy gcc; ac_word=$2
   2928 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   2929 $as_echo_n "checking for $ac_word... " >&6; }
   2930 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
   2931   $as_echo_n "(cached) " >&6
   2932 else
   2933   if test -n "$ac_ct_CC"; then
   2934   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   2935 else
   2936 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2937 for as_dir in $PATH
   2938 do
   2939   IFS=$as_save_IFS
   2940   test -z "$as_dir" && as_dir=.
   2941   for ac_exec_ext in '' $ac_executable_extensions; do
   2942   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2943     ac_cv_prog_ac_ct_CC="gcc"
   2944     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2945     break 2
   2946   fi
   2947 done
   2948 done
   2949 IFS=$as_save_IFS
   2950 
   2951 fi
   2952 fi
   2953 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   2954 if test -n "$ac_ct_CC"; then
   2955   { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
   2956 $as_echo "$ac_ct_CC" >&6; }
   2957 else
   2958   { $as_echo "$as_me:$LINENO: result: no" >&5
   2959 $as_echo "no" >&6; }
   2960 fi
   2961 
   2962   if test "x$ac_ct_CC" = x; then
   2963     CC=""
   2964   else
   2965     case $cross_compiling:$ac_tool_warned in
   2966 yes:)
   2967 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   2968 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2969 ac_tool_warned=yes ;;
   2970 esac
   2971     CC=$ac_ct_CC
   2972   fi
   2973 else
   2974   CC="$ac_cv_prog_CC"
   2975 fi
   2976 
   2977 if test -z "$CC"; then
   2978           if test -n "$ac_tool_prefix"; then
   2979     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   2980 set dummy ${ac_tool_prefix}cc; ac_word=$2
   2981 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   2982 $as_echo_n "checking for $ac_word... " >&6; }
   2983 if test "${ac_cv_prog_CC+set}" = set; then
   2984   $as_echo_n "(cached) " >&6
   2985 else
   2986   if test -n "$CC"; then
   2987   ac_cv_prog_CC="$CC" # Let the user override the test.
   2988 else
   2989 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2990 for as_dir in $PATH
   2991 do
   2992   IFS=$as_save_IFS
   2993   test -z "$as_dir" && as_dir=.
   2994   for ac_exec_ext in '' $ac_executable_extensions; do
   2995   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2996     ac_cv_prog_CC="${ac_tool_prefix}cc"
   2997     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2998     break 2
   2999   fi
   3000 done
   3001 done
   3002 IFS=$as_save_IFS
   3003 
   3004 fi
   3005 fi
   3006 CC=$ac_cv_prog_CC
   3007 if test -n "$CC"; then
   3008   { $as_echo "$as_me:$LINENO: result: $CC" >&5
   3009 $as_echo "$CC" >&6; }
   3010 else
   3011   { $as_echo "$as_me:$LINENO: result: no" >&5
   3012 $as_echo "no" >&6; }
   3013 fi
   3014 
   3015 
   3016   fi
   3017 fi
   3018 if test -z "$CC"; then
   3019   # Extract the first word of "cc", so it can be a program name with args.
   3020 set dummy cc; ac_word=$2
   3021 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   3022 $as_echo_n "checking for $ac_word... " >&6; }
   3023 if test "${ac_cv_prog_CC+set}" = set; then
   3024   $as_echo_n "(cached) " >&6
   3025 else
   3026   if test -n "$CC"; then
   3027   ac_cv_prog_CC="$CC" # Let the user override the test.
   3028 else
   3029   ac_prog_rejected=no
   3030 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3031 for as_dir in $PATH
   3032 do
   3033   IFS=$as_save_IFS
   3034   test -z "$as_dir" && as_dir=.
   3035   for ac_exec_ext in '' $ac_executable_extensions; do
   3036   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3037     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   3038        ac_prog_rejected=yes
   3039        continue
   3040      fi
   3041     ac_cv_prog_CC="cc"
   3042     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   3043     break 2
   3044   fi
   3045 done
   3046 done
   3047 IFS=$as_save_IFS
   3048 
   3049 if test $ac_prog_rejected = yes; then
   3050   # We found a bogon in the path, so make sure we never use it.
   3051   set dummy $ac_cv_prog_CC
   3052   shift
   3053   if test $# != 0; then
   3054     # We chose a different compiler from the bogus one.
   3055     # However, it has the same basename, so the bogon will be chosen
   3056     # first if we set CC to just the basename; use the full file name.
   3057     shift
   3058     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   3059   fi
   3060 fi
   3061 fi
   3062 fi
   3063 CC=$ac_cv_prog_CC
   3064 if test -n "$CC"; then
   3065   { $as_echo "$as_me:$LINENO: result: $CC" >&5
   3066 $as_echo "$CC" >&6; }
   3067 else
   3068   { $as_echo "$as_me:$LINENO: result: no" >&5
   3069 $as_echo "no" >&6; }
   3070 fi
   3071 
   3072 
   3073 fi
   3074 if test -z "$CC"; then
   3075   if test -n "$ac_tool_prefix"; then
   3076   for ac_prog in cl.exe
   3077   do
   3078     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   3079 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   3080 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   3081 $as_echo_n "checking for $ac_word... " >&6; }
   3082 if test "${ac_cv_prog_CC+set}" = set; then
   3083   $as_echo_n "(cached) " >&6
   3084 else
   3085   if test -n "$CC"; then
   3086   ac_cv_prog_CC="$CC" # Let the user override the test.
   3087 else
   3088 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3089 for as_dir in $PATH
   3090 do
   3091   IFS=$as_save_IFS
   3092   test -z "$as_dir" && as_dir=.
   3093   for ac_exec_ext in '' $ac_executable_extensions; do
   3094   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3095     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   3096     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   3097     break 2
   3098   fi
   3099 done
   3100 done
   3101 IFS=$as_save_IFS
   3102 
   3103 fi
   3104 fi
   3105 CC=$ac_cv_prog_CC
   3106 if test -n "$CC"; then
   3107   { $as_echo "$as_me:$LINENO: result: $CC" >&5
   3108 $as_echo "$CC" >&6; }
   3109 else
   3110   { $as_echo "$as_me:$LINENO: result: no" >&5
   3111 $as_echo "no" >&6; }
   3112 fi
   3113 
   3114 
   3115     test -n "$CC" && break
   3116   done
   3117 fi
   3118 if test -z "$CC"; then
   3119   ac_ct_CC=$CC
   3120   for ac_prog in cl.exe
   3121 do
   3122   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3123 set dummy $ac_prog; ac_word=$2
   3124 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   3125 $as_echo_n "checking for $ac_word... " >&6; }
   3126 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
   3127   $as_echo_n "(cached) " >&6
   3128 else
   3129   if test -n "$ac_ct_CC"; then
   3130   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3131 else
   3132 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3133 for as_dir in $PATH
   3134 do
   3135   IFS=$as_save_IFS
   3136   test -z "$as_dir" && as_dir=.
   3137   for ac_exec_ext in '' $ac_executable_extensions; do
   3138   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3139     ac_cv_prog_ac_ct_CC="$ac_prog"
   3140     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   3141     break 2
   3142   fi
   3143 done
   3144 done
   3145 IFS=$as_save_IFS
   3146 
   3147 fi
   3148 fi
   3149 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3150 if test -n "$ac_ct_CC"; then
   3151   { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
   3152 $as_echo "$ac_ct_CC" >&6; }
   3153 else
   3154   { $as_echo "$as_me:$LINENO: result: no" >&5
   3155 $as_echo "no" >&6; }
   3156 fi
   3157 
   3158 
   3159   test -n "$ac_ct_CC" && break
   3160 done
   3161 
   3162   if test "x$ac_ct_CC" = x; then
   3163     CC=""
   3164   else
   3165     case $cross_compiling:$ac_tool_warned in
   3166 yes:)
   3167 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   3168 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3169 ac_tool_warned=yes ;;
   3170 esac
   3171     CC=$ac_ct_CC
   3172   fi
   3173 fi
   3174 
   3175 fi
   3176 
   3177 
   3178 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   3179 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3180 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
   3181 See \`config.log' for more details." >&5
   3182 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
   3183 See \`config.log' for more details." >&2;}
   3184    { (exit 1); exit 1; }; }; }
   3185 
   3186 # Provide some information about the compiler.
   3187 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
   3188 set X $ac_compile
   3189 ac_compiler=$2
   3190 { (ac_try="$ac_compiler --version >&5"
   3191 case "(($ac_try" in
   3192   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3193   *) ac_try_echo=$ac_try;;
   3194 esac
   3195 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3196 $as_echo "$ac_try_echo") >&5
   3197   (eval "$ac_compiler --version >&5") 2>&5
   3198   ac_status=$?
   3199   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3200   (exit $ac_status); }
   3201 { (ac_try="$ac_compiler -v >&5"
   3202 case "(($ac_try" in
   3203   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3204   *) ac_try_echo=$ac_try;;
   3205 esac
   3206 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3207 $as_echo "$ac_try_echo") >&5
   3208   (eval "$ac_compiler -v >&5") 2>&5
   3209   ac_status=$?
   3210   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3211   (exit $ac_status); }
   3212 { (ac_try="$ac_compiler -V >&5"
   3213 case "(($ac_try" in
   3214   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3215   *) ac_try_echo=$ac_try;;
   3216 esac
   3217 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3218 $as_echo "$ac_try_echo") >&5
   3219   (eval "$ac_compiler -V >&5") 2>&5
   3220   ac_status=$?
   3221   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3222   (exit $ac_status); }
   3223 
   3224 cat >conftest.$ac_ext <<_ACEOF
   3225 /* confdefs.h.  */
   3226 _ACEOF
   3227 cat confdefs.h >>conftest.$ac_ext
   3228 cat >>conftest.$ac_ext <<_ACEOF
   3229 /* end confdefs.h.  */
   3230 
   3231 int
   3232 main ()
   3233 {
   3234 
   3235   ;
   3236   return 0;
   3237 }
   3238 _ACEOF
   3239 ac_clean_files_save=$ac_clean_files
   3240 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   3241 # Try to create an executable without -o first, disregard a.out.
   3242 # It will help us diagnose broken compilers, and finding out an intuition
   3243 # of exeext.
   3244 { $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
   3245 $as_echo_n "checking for C compiler default output file name... " >&6; }
   3246 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   3247 
   3248 # The possible output files:
   3249 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   3250 
   3251 ac_rmfiles=
   3252 for ac_file in $ac_files
   3253 do
   3254   case $ac_file in
   3255     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3256     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   3257   esac
   3258 done
   3259 rm -f $ac_rmfiles
   3260 
   3261 if { (ac_try="$ac_link_default"
   3262 case "(($ac_try" in
   3263   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3264   *) ac_try_echo=$ac_try;;
   3265 esac
   3266 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3267 $as_echo "$ac_try_echo") >&5
   3268   (eval "$ac_link_default") 2>&5
   3269   ac_status=$?
   3270   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3271   (exit $ac_status); }; then
   3272   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   3273 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   3274 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   3275 # so that the user can short-circuit this test for compilers unknown to
   3276 # Autoconf.
   3277 for ac_file in $ac_files ''
   3278 do
   3279   test -f "$ac_file" || continue
   3280   case $ac_file in
   3281     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   3282 	;;
   3283     [ab].out )
   3284 	# We found the default executable, but exeext='' is most
   3285 	# certainly right.
   3286 	break;;
   3287     *.* )
   3288         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
   3289 	then :; else
   3290 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3291 	fi
   3292 	# We set ac_cv_exeext here because the later test for it is not
   3293 	# safe: cross compilers may not add the suffix if given an `-o'
   3294 	# argument, so we may need to know it at that point already.
   3295 	# Even if this section looks crufty: it has the advantage of
   3296 	# actually working.
   3297 	break;;
   3298     * )
   3299 	break;;
   3300   esac
   3301 done
   3302 test "$ac_cv_exeext" = no && ac_cv_exeext=
   3303 
   3304 else
   3305   ac_file=''
   3306 fi
   3307 
   3308 { $as_echo "$as_me:$LINENO: result: $ac_file" >&5
   3309 $as_echo "$ac_file" >&6; }
   3310 if test -z "$ac_file"; then
   3311   $as_echo "$as_me: failed program was:" >&5
   3312 sed 's/^/| /' conftest.$ac_ext >&5
   3313 
   3314 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   3315 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3316 { { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
   3317 See \`config.log' for more details." >&5
   3318 $as_echo "$as_me: error: C compiler cannot create executables
   3319 See \`config.log' for more details." >&2;}
   3320    { (exit 77); exit 77; }; }; }
   3321 fi
   3322 
   3323 ac_exeext=$ac_cv_exeext
   3324 
   3325 # Check that the compiler produces executables we can run.  If not, either
   3326 # the compiler is broken, or we cross compile.
   3327 { $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
   3328 $as_echo_n "checking whether the C compiler works... " >&6; }
   3329 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
   3330 # If not cross compiling, check that we can run a simple program.
   3331 if test "$cross_compiling" != yes; then
   3332   if { ac_try='./$ac_file'
   3333   { (case "(($ac_try" in
   3334   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3335   *) ac_try_echo=$ac_try;;
   3336 esac
   3337 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3338 $as_echo "$ac_try_echo") >&5
   3339   (eval "$ac_try") 2>&5
   3340   ac_status=$?
   3341   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3342   (exit $ac_status); }; }; then
   3343     cross_compiling=no
   3344   else
   3345     if test "$cross_compiling" = maybe; then
   3346 	cross_compiling=yes
   3347     else
   3348 	{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   3349 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3350 { { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
   3351 If you meant to cross compile, use \`--host'.
   3352 See \`config.log' for more details." >&5
   3353 $as_echo "$as_me: error: cannot run C compiled programs.
   3354 If you meant to cross compile, use \`--host'.
   3355 See \`config.log' for more details." >&2;}
   3356    { (exit 1); exit 1; }; }; }
   3357     fi
   3358   fi
   3359 fi
   3360 { $as_echo "$as_me:$LINENO: result: yes" >&5
   3361 $as_echo "yes" >&6; }
   3362 
   3363 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   3364 ac_clean_files=$ac_clean_files_save
   3365 # Check that the compiler produces executables we can run.  If not, either
   3366 # the compiler is broken, or we cross compile.
   3367 { $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
   3368 $as_echo_n "checking whether we are cross compiling... " >&6; }
   3369 { $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
   3370 $as_echo "$cross_compiling" >&6; }
   3371 
   3372 { $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
   3373 $as_echo_n "checking for suffix of executables... " >&6; }
   3374 if { (ac_try="$ac_link"
   3375 case "(($ac_try" in
   3376   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3377   *) ac_try_echo=$ac_try;;
   3378 esac
   3379 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3380 $as_echo "$ac_try_echo") >&5
   3381   (eval "$ac_link") 2>&5
   3382   ac_status=$?
   3383   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3384   (exit $ac_status); }; then
   3385   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   3386 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   3387 # work properly (i.e., refer to `conftest.exe'), while it won't with
   3388 # `rm'.
   3389 for ac_file in conftest.exe conftest conftest.*; do
   3390   test -f "$ac_file" || continue
   3391   case $ac_file in
   3392     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3393     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3394 	  break;;
   3395     * ) break;;
   3396   esac
   3397 done
   3398 else
   3399   { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   3400 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3401 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
   3402 See \`config.log' for more details." >&5
   3403 $as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
   3404 See \`config.log' for more details." >&2;}
   3405    { (exit 1); exit 1; }; }; }
   3406 fi
   3407 
   3408 rm -f conftest$ac_cv_exeext
   3409 { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
   3410 $as_echo "$ac_cv_exeext" >&6; }
   3411 
   3412 rm -f conftest.$ac_ext
   3413 EXEEXT=$ac_cv_exeext
   3414 ac_exeext=$EXEEXT
   3415 { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
   3416 $as_echo_n "checking for suffix of object files... " >&6; }
   3417 if test "${ac_cv_objext+set}" = set; then
   3418   $as_echo_n "(cached) " >&6
   3419 else
   3420   cat >conftest.$ac_ext <<_ACEOF
   3421 /* confdefs.h.  */
   3422 _ACEOF
   3423 cat confdefs.h >>conftest.$ac_ext
   3424 cat >>conftest.$ac_ext <<_ACEOF
   3425 /* end confdefs.h.  */
   3426 
   3427 int
   3428 main ()
   3429 {
   3430 
   3431   ;
   3432   return 0;
   3433 }
   3434 _ACEOF
   3435 rm -f conftest.o conftest.obj
   3436 if { (ac_try="$ac_compile"
   3437 case "(($ac_try" in
   3438   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3439   *) ac_try_echo=$ac_try;;
   3440 esac
   3441 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3442 $as_echo "$ac_try_echo") >&5
   3443   (eval "$ac_compile") 2>&5
   3444   ac_status=$?
   3445   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3446   (exit $ac_status); }; then
   3447   for ac_file in conftest.o conftest.obj conftest.*; do
   3448   test -f "$ac_file" || continue;
   3449   case $ac_file in
   3450     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   3451     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   3452        break;;
   3453   esac
   3454 done
   3455 else
   3456   $as_echo "$as_me: failed program was:" >&5
   3457 sed 's/^/| /' conftest.$ac_ext >&5
   3458 
   3459 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   3460 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3461 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
   3462 See \`config.log' for more details." >&5
   3463 $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
   3464 See \`config.log' for more details." >&2;}
   3465    { (exit 1); exit 1; }; }; }
   3466 fi
   3467 
   3468 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   3469 fi
   3470 { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
   3471 $as_echo "$ac_cv_objext" >&6; }
   3472 OBJEXT=$ac_cv_objext
   3473 ac_objext=$OBJEXT
   3474 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
   3475 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
   3476 if test "${ac_cv_c_compiler_gnu+set}" = set; then
   3477   $as_echo_n "(cached) " >&6
   3478 else
   3479   cat >conftest.$ac_ext <<_ACEOF
   3480 /* confdefs.h.  */
   3481 _ACEOF
   3482 cat confdefs.h >>conftest.$ac_ext
   3483 cat >>conftest.$ac_ext <<_ACEOF
   3484 /* end confdefs.h.  */
   3485 
   3486 int
   3487 main ()
   3488 {
   3489 #ifndef __GNUC__
   3490        choke me
   3491 #endif
   3492 
   3493   ;
   3494   return 0;
   3495 }
   3496 _ACEOF
   3497 rm -f conftest.$ac_objext
   3498 if { (ac_try="$ac_compile"
   3499 case "(($ac_try" in
   3500   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3501   *) ac_try_echo=$ac_try;;
   3502 esac
   3503 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3504 $as_echo "$ac_try_echo") >&5
   3505   (eval "$ac_compile") 2>conftest.er1
   3506   ac_status=$?
   3507   grep -v '^ *+' conftest.er1 >conftest.err
   3508   rm -f conftest.er1
   3509   cat conftest.err >&5
   3510   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3511   (exit $ac_status); } && {
   3512 	 test -z "$ac_c_werror_flag" ||
   3513 	 test ! -s conftest.err
   3514        } && test -s conftest.$ac_objext; then
   3515   ac_compiler_gnu=yes
   3516 else
   3517   $as_echo "$as_me: failed program was:" >&5
   3518 sed 's/^/| /' conftest.$ac_ext >&5
   3519 
   3520 	ac_compiler_gnu=no
   3521 fi
   3522 
   3523 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3524 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   3525 
   3526 fi
   3527 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
   3528 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
   3529 if test $ac_compiler_gnu = yes; then
   3530   GCC=yes
   3531 else
   3532   GCC=
   3533 fi
   3534 ac_test_CFLAGS=${CFLAGS+set}
   3535 ac_save_CFLAGS=$CFLAGS
   3536 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
   3537 $as_echo_n "checking whether $CC accepts -g... " >&6; }
   3538 if test "${ac_cv_prog_cc_g+set}" = set; then
   3539   $as_echo_n "(cached) " >&6
   3540 else
   3541   ac_save_c_werror_flag=$ac_c_werror_flag
   3542    ac_c_werror_flag=yes
   3543    ac_cv_prog_cc_g=no
   3544    CFLAGS="-g"
   3545    cat >conftest.$ac_ext <<_ACEOF
   3546 /* confdefs.h.  */
   3547 _ACEOF
   3548 cat confdefs.h >>conftest.$ac_ext
   3549 cat >>conftest.$ac_ext <<_ACEOF
   3550 /* end confdefs.h.  */
   3551 
   3552 int
   3553 main ()
   3554 {
   3555 
   3556   ;
   3557   return 0;
   3558 }
   3559 _ACEOF
   3560 rm -f conftest.$ac_objext
   3561 if { (ac_try="$ac_compile"
   3562 case "(($ac_try" in
   3563   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3564   *) ac_try_echo=$ac_try;;
   3565 esac
   3566 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3567 $as_echo "$ac_try_echo") >&5
   3568   (eval "$ac_compile") 2>conftest.er1
   3569   ac_status=$?
   3570   grep -v '^ *+' conftest.er1 >conftest.err
   3571   rm -f conftest.er1
   3572   cat conftest.err >&5
   3573   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3574   (exit $ac_status); } && {
   3575 	 test -z "$ac_c_werror_flag" ||
   3576 	 test ! -s conftest.err
   3577        } && test -s conftest.$ac_objext; then
   3578   ac_cv_prog_cc_g=yes
   3579 else
   3580   $as_echo "$as_me: failed program was:" >&5
   3581 sed 's/^/| /' conftest.$ac_ext >&5
   3582 
   3583 	CFLAGS=""
   3584       cat >conftest.$ac_ext <<_ACEOF
   3585 /* confdefs.h.  */
   3586 _ACEOF
   3587 cat confdefs.h >>conftest.$ac_ext
   3588 cat >>conftest.$ac_ext <<_ACEOF
   3589 /* end confdefs.h.  */
   3590 
   3591 int
   3592 main ()
   3593 {
   3594 
   3595   ;
   3596   return 0;
   3597 }
   3598 _ACEOF
   3599 rm -f conftest.$ac_objext
   3600 if { (ac_try="$ac_compile"
   3601 case "(($ac_try" in
   3602   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3603   *) ac_try_echo=$ac_try;;
   3604 esac
   3605 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3606 $as_echo "$ac_try_echo") >&5
   3607   (eval "$ac_compile") 2>conftest.er1
   3608   ac_status=$?
   3609   grep -v '^ *+' conftest.er1 >conftest.err
   3610   rm -f conftest.er1
   3611   cat conftest.err >&5
   3612   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3613   (exit $ac_status); } && {
   3614 	 test -z "$ac_c_werror_flag" ||
   3615 	 test ! -s conftest.err
   3616        } && test -s conftest.$ac_objext; then
   3617   :
   3618 else
   3619   $as_echo "$as_me: failed program was:" >&5
   3620 sed 's/^/| /' conftest.$ac_ext >&5
   3621 
   3622 	ac_c_werror_flag=$ac_save_c_werror_flag
   3623 	 CFLAGS="-g"
   3624 	 cat >conftest.$ac_ext <<_ACEOF
   3625 /* confdefs.h.  */
   3626 _ACEOF
   3627 cat confdefs.h >>conftest.$ac_ext
   3628 cat >>conftest.$ac_ext <<_ACEOF
   3629 /* end confdefs.h.  */
   3630 
   3631 int
   3632 main ()
   3633 {
   3634 
   3635   ;
   3636   return 0;
   3637 }
   3638 _ACEOF
   3639 rm -f conftest.$ac_objext
   3640 if { (ac_try="$ac_compile"
   3641 case "(($ac_try" in
   3642   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3643   *) ac_try_echo=$ac_try;;
   3644 esac
   3645 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3646 $as_echo "$ac_try_echo") >&5
   3647   (eval "$ac_compile") 2>conftest.er1
   3648   ac_status=$?
   3649   grep -v '^ *+' conftest.er1 >conftest.err
   3650   rm -f conftest.er1
   3651   cat conftest.err >&5
   3652   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3653   (exit $ac_status); } && {
   3654 	 test -z "$ac_c_werror_flag" ||
   3655 	 test ! -s conftest.err
   3656        } && test -s conftest.$ac_objext; then
   3657   ac_cv_prog_cc_g=yes
   3658 else
   3659   $as_echo "$as_me: failed program was:" >&5
   3660 sed 's/^/| /' conftest.$ac_ext >&5
   3661 
   3662 
   3663 fi
   3664 
   3665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3666 fi
   3667 
   3668 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3669 fi
   3670 
   3671 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3672    ac_c_werror_flag=$ac_save_c_werror_flag
   3673 fi
   3674 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
   3675 $as_echo "$ac_cv_prog_cc_g" >&6; }
   3676 if test "$ac_test_CFLAGS" = set; then
   3677   CFLAGS=$ac_save_CFLAGS
   3678 elif test $ac_cv_prog_cc_g = yes; then
   3679   if test "$GCC" = yes; then
   3680     CFLAGS="-g -O2"
   3681   else
   3682     CFLAGS="-g"
   3683   fi
   3684 else
   3685   if test "$GCC" = yes; then
   3686     CFLAGS="-O2"
   3687   else
   3688     CFLAGS=
   3689   fi
   3690 fi
   3691 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
   3692 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
   3693 if test "${ac_cv_prog_cc_c89+set}" = set; then
   3694   $as_echo_n "(cached) " >&6
   3695 else
   3696   ac_cv_prog_cc_c89=no
   3697 ac_save_CC=$CC
   3698 cat >conftest.$ac_ext <<_ACEOF
   3699 /* confdefs.h.  */
   3700 _ACEOF
   3701 cat confdefs.h >>conftest.$ac_ext
   3702 cat >>conftest.$ac_ext <<_ACEOF
   3703 /* end confdefs.h.  */
   3704 #include <stdarg.h>
   3705 #include <stdio.h>
   3706 #include <sys/types.h>
   3707 #include <sys/stat.h>
   3708 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   3709 struct buf { int x; };
   3710 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   3711 static char *e (p, i)
   3712      char **p;
   3713      int i;
   3714 {
   3715   return p[i];
   3716 }
   3717 static char *f (char * (*g) (char **, int), char **p, ...)
   3718 {
   3719   char *s;
   3720   va_list v;
   3721   va_start (v,p);
   3722   s = g (p, va_arg (v,int));
   3723   va_end (v);
   3724   return s;
   3725 }
   3726 
   3727 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   3728    function prototypes and stuff, but not '\xHH' hex character constants.
   3729    These don't provoke an error unfortunately, instead are silently treated
   3730    as 'x'.  The following induces an error, until -std is added to get
   3731    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   3732    array size at least.  It's necessary to write '\x00'==0 to get something
   3733    that's true only with -std.  */
   3734 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   3735 
   3736 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   3737    inside strings and character constants.  */
   3738 #define FOO(x) 'x'
   3739 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   3740 
   3741 int test (int i, double x);
   3742 struct s1 {int (*f) (int a);};
   3743 struct s2 {int (*f) (double a);};
   3744 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   3745 int argc;
   3746 char **argv;
   3747 int
   3748 main ()
   3749 {
   3750 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   3751   ;
   3752   return 0;
   3753 }
   3754 _ACEOF
   3755 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   3756 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   3757 do
   3758   CC="$ac_save_CC $ac_arg"
   3759   rm -f conftest.$ac_objext
   3760 if { (ac_try="$ac_compile"
   3761 case "(($ac_try" in
   3762   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3763   *) ac_try_echo=$ac_try;;
   3764 esac
   3765 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3766 $as_echo "$ac_try_echo") >&5
   3767   (eval "$ac_compile") 2>conftest.er1
   3768   ac_status=$?
   3769   grep -v '^ *+' conftest.er1 >conftest.err
   3770   rm -f conftest.er1
   3771   cat conftest.err >&5
   3772   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3773   (exit $ac_status); } && {
   3774 	 test -z "$ac_c_werror_flag" ||
   3775 	 test ! -s conftest.err
   3776        } && test -s conftest.$ac_objext; then
   3777   ac_cv_prog_cc_c89=$ac_arg
   3778 else
   3779   $as_echo "$as_me: failed program was:" >&5
   3780 sed 's/^/| /' conftest.$ac_ext >&5
   3781 
   3782 
   3783 fi
   3784 
   3785 rm -f core conftest.err conftest.$ac_objext
   3786   test "x$ac_cv_prog_cc_c89" != "xno" && break
   3787 done
   3788 rm -f conftest.$ac_ext
   3789 CC=$ac_save_CC
   3790 
   3791 fi
   3792 # AC_CACHE_VAL
   3793 case "x$ac_cv_prog_cc_c89" in
   3794   x)
   3795     { $as_echo "$as_me:$LINENO: result: none needed" >&5
   3796 $as_echo "none needed" >&6; } ;;
   3797   xno)
   3798     { $as_echo "$as_me:$LINENO: result: unsupported" >&5
   3799 $as_echo "unsupported" >&6; } ;;
   3800   *)
   3801     CC="$CC $ac_cv_prog_cc_c89"
   3802     { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
   3803 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
   3804 esac
   3805 
   3806 
   3807 ac_ext=c
   3808 ac_cpp='$CPP $CPPFLAGS'
   3809 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3810 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3811 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3812 
   3813 depcc="$CC"   am_compiler_list=
   3814 
   3815 { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
   3816 $as_echo_n "checking dependency style of $depcc... " >&6; }
   3817 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
   3818   $as_echo_n "(cached) " >&6
   3819 else
   3820   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   3821   # We make a subdir and do the tests there.  Otherwise we can end up
   3822   # making bogus files that we don't know about and never remove.  For
   3823   # instance it was reported that on HP-UX the gcc test will end up
   3824   # making a dummy file named `D' -- because `-MD' means `put the output
   3825   # in D'.
   3826   mkdir conftest.dir
   3827   # Copy depcomp to subdir because otherwise we won't find it if we're
   3828   # using a relative directory.
   3829   cp "$am_depcomp" conftest.dir
   3830   cd conftest.dir
   3831   # We will build objects and dependencies in a subdirectory because
   3832   # it helps to detect inapplicable dependency modes.  For instance
   3833   # both Tru64's cc and ICC support -MD to output dependencies as a
   3834   # side effect of compilation, but ICC will put the dependencies in
   3835   # the current directory while Tru64 will put them in the object
   3836   # directory.
   3837   mkdir sub
   3838 
   3839   am_cv_CC_dependencies_compiler_type=none
   3840   if test "$am_compiler_list" = ""; then
   3841      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   3842   fi
   3843   am__universal=false
   3844   case " $depcc " in #(
   3845      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   3846      esac
   3847 
   3848   for depmode in $am_compiler_list; do
   3849     # Setup a source with many dependencies, because some compilers
   3850     # like to wrap large dependency lists on column 80 (with \), and
   3851     # we should not choose a depcomp mode which is confused by this.
   3852     #
   3853     # We need to recreate these files for each test, as the compiler may
   3854     # overwrite some of them when testing with obscure command lines.
   3855     # This happens at least with the AIX C compiler.
   3856     : > sub/conftest.c
   3857     for i in 1 2 3 4 5 6; do
   3858       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   3859       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
   3860       # Solaris 8's {/usr,}/bin/sh.
   3861       touch sub/conftst$i.h
   3862     done
   3863     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   3864 
   3865     # We check with `-c' and `-o' for the sake of the "dashmstdout"
   3866     # mode.  It turns out that the SunPro C++ compiler does not properly
   3867     # handle `-M -o', and we need to detect this.  Also, some Intel
   3868     # versions had trouble with output in subdirs
   3869     am__obj=sub/conftest.${OBJEXT-o}
   3870     am__minus_obj="-o $am__obj"
   3871     case $depmode in
   3872     gcc)
   3873       # This depmode causes a compiler race in universal mode.
   3874       test "$am__universal" = false || continue
   3875       ;;
   3876     nosideeffect)
   3877       # after this tag, mechanisms are not by side-effect, so they'll
   3878       # only be used when explicitly requested
   3879       if test "x$enable_dependency_tracking" = xyes; then
   3880 	continue
   3881       else
   3882 	break
   3883       fi
   3884       ;;
   3885     msvisualcpp | msvcmsys)
   3886       # This compiler won't grok `-c -o', but also, the minuso test has
   3887       # not run yet.  These depmodes are late enough in the game, and
   3888       # so weak that their functioning should not be impacted.
   3889       am__obj=conftest.${OBJEXT-o}
   3890       am__minus_obj=
   3891       ;;
   3892     none) break ;;
   3893     esac
   3894     if depmode=$depmode \
   3895        source=sub/conftest.c object=$am__obj \
   3896        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   3897        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   3898          >/dev/null 2>conftest.err &&
   3899        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   3900        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   3901        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   3902        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   3903       # icc doesn't choke on unknown options, it will just issue warnings
   3904       # or remarks (even with -Werror).  So we grep stderr for any message
   3905       # that says an option was ignored or not supported.
   3906       # When given -MP, icc 7.0 and 7.1 complain thusly:
   3907       #   icc: Command line warning: ignoring option '-M'; no argument required
   3908       # The diagnosis changed in icc 8.0:
   3909       #   icc: Command line remark: option '-MP' not supported
   3910       if (grep 'ignoring option' conftest.err ||
   3911           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   3912         am_cv_CC_dependencies_compiler_type=$depmode
   3913         break
   3914       fi
   3915     fi
   3916   done
   3917 
   3918   cd ..
   3919   rm -rf conftest.dir
   3920 else
   3921   am_cv_CC_dependencies_compiler_type=none
   3922 fi
   3923 
   3924 fi
   3925 { $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
   3926 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
   3927 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   3928 
   3929  if
   3930   test "x$enable_dependency_tracking" != xno \
   3931   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   3932   am__fastdepCC_TRUE=
   3933   am__fastdepCC_FALSE='#'
   3934 else
   3935   am__fastdepCC_TRUE='#'
   3936   am__fastdepCC_FALSE=
   3937 fi
   3938 
   3939 
   3940 { $as_echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
   3941 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
   3942 if test "${lt_cv_path_SED+set}" = set; then
   3943   $as_echo_n "(cached) " >&6
   3944 else
   3945   # Loop through the user's path and test for sed and gsed.
   3946 # Then use that list of sed's as ones to test for truncation.
   3947 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3948 for as_dir in $PATH
   3949 do
   3950   IFS=$as_save_IFS
   3951   test -z "$as_dir" && as_dir=.
   3952   for lt_ac_prog in sed gsed; do
   3953     for ac_exec_ext in '' $ac_executable_extensions; do
   3954       if { test -f "$as_dir/$lt_ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$lt_ac_prog$ac_exec_ext"; }; then
   3955         lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
   3956       fi
   3957     done
   3958   done
   3959 done
   3960 IFS=$as_save_IFS
   3961 lt_ac_max=0
   3962 lt_ac_count=0
   3963 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
   3964 # along with /bin/sed that truncates output.
   3965 for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
   3966   test ! -f $lt_ac_sed && continue
   3967   cat /dev/null > conftest.in
   3968   lt_ac_count=0
   3969   echo $ECHO_N "0123456789$ECHO_C" >conftest.in
   3970   # Check for GNU sed and select it if it is found.
   3971   if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
   3972     lt_cv_path_SED=$lt_ac_sed
   3973     break
   3974   fi
   3975   while true; do
   3976     cat conftest.in conftest.in >conftest.tmp
   3977     mv conftest.tmp conftest.in
   3978     cp conftest.in conftest.nl
   3979     echo >>conftest.nl
   3980     $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
   3981     cmp -s conftest.out conftest.nl || break
   3982     # 10000 chars as input seems more than enough
   3983     test $lt_ac_count -gt 10 && break
   3984     lt_ac_count=`expr $lt_ac_count + 1`
   3985     if test $lt_ac_count -gt $lt_ac_max; then
   3986       lt_ac_max=$lt_ac_count
   3987       lt_cv_path_SED=$lt_ac_sed
   3988     fi
   3989   done
   3990 done
   3991 
   3992 fi
   3993 
   3994 SED=$lt_cv_path_SED
   3995 
   3996 { $as_echo "$as_me:$LINENO: result: $SED" >&5
   3997 $as_echo "$SED" >&6; }
   3998 
   3999 { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
   4000 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
   4001 if test "${ac_cv_path_GREP+set}" = set; then
   4002   $as_echo_n "(cached) " >&6
   4003 else
   4004   if test -z "$GREP"; then
   4005   ac_path_GREP_found=false
   4006   # Loop through the user's path and test for each of PROGNAME-LIST
   4007   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4008 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4009 do
   4010   IFS=$as_save_IFS
   4011   test -z "$as_dir" && as_dir=.
   4012   for ac_prog in grep ggrep; do
   4013     for ac_exec_ext in '' $ac_executable_extensions; do
   4014       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
   4015       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
   4016 # Check for GNU ac_path_GREP and select it if it is found.
   4017   # Check for GNU $ac_path_GREP
   4018 case `"$ac_path_GREP" --version 2>&1` in
   4019 *GNU*)
   4020   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   4021 *)
   4022   ac_count=0
   4023   $as_echo_n 0123456789 >"conftest.in"
   4024   while :
   4025   do
   4026     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4027     mv "conftest.tmp" "conftest.in"
   4028     cp "conftest.in" "conftest.nl"
   4029     $as_echo 'GREP' >> "conftest.nl"
   4030     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4031     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4032     ac_count=`expr $ac_count + 1`
   4033     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   4034       # Best one so far, save it but keep looking for a better one
   4035       ac_cv_path_GREP="$ac_path_GREP"
   4036       ac_path_GREP_max=$ac_count
   4037     fi
   4038     # 10*(2^10) chars as input seems more than enough
   4039     test $ac_count -gt 10 && break
   4040   done
   4041   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4042 esac
   4043 
   4044       $ac_path_GREP_found && break 3
   4045     done
   4046   done
   4047 done
   4048 IFS=$as_save_IFS
   4049   if test -z "$ac_cv_path_GREP"; then
   4050     { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
   4051 $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
   4052    { (exit 1); exit 1; }; }
   4053   fi
   4054 else
   4055   ac_cv_path_GREP=$GREP
   4056 fi
   4057 
   4058 fi
   4059 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
   4060 $as_echo "$ac_cv_path_GREP" >&6; }
   4061  GREP="$ac_cv_path_GREP"
   4062 
   4063 
   4064 { $as_echo "$as_me:$LINENO: checking for egrep" >&5
   4065 $as_echo_n "checking for egrep... " >&6; }
   4066 if test "${ac_cv_path_EGREP+set}" = set; then
   4067   $as_echo_n "(cached) " >&6
   4068 else
   4069   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   4070    then ac_cv_path_EGREP="$GREP -E"
   4071    else
   4072      if test -z "$EGREP"; then
   4073   ac_path_EGREP_found=false
   4074   # Loop through the user's path and test for each of PROGNAME-LIST
   4075   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4076 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4077 do
   4078   IFS=$as_save_IFS
   4079   test -z "$as_dir" && as_dir=.
   4080   for ac_prog in egrep; do
   4081     for ac_exec_ext in '' $ac_executable_extensions; do
   4082       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
   4083       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
   4084 # Check for GNU ac_path_EGREP and select it if it is found.
   4085   # Check for GNU $ac_path_EGREP
   4086 case `"$ac_path_EGREP" --version 2>&1` in
   4087 *GNU*)
   4088   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   4089 *)
   4090   ac_count=0
   4091   $as_echo_n 0123456789 >"conftest.in"
   4092   while :
   4093   do
   4094     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4095     mv "conftest.tmp" "conftest.in"
   4096     cp "conftest.in" "conftest.nl"
   4097     $as_echo 'EGREP' >> "conftest.nl"
   4098     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4099     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4100     ac_count=`expr $ac_count + 1`
   4101     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   4102       # Best one so far, save it but keep looking for a better one
   4103       ac_cv_path_EGREP="$ac_path_EGREP"
   4104       ac_path_EGREP_max=$ac_count
   4105     fi
   4106     # 10*(2^10) chars as input seems more than enough
   4107     test $ac_count -gt 10 && break
   4108   done
   4109   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4110 esac
   4111 
   4112       $ac_path_EGREP_found && break 3
   4113     done
   4114   done
   4115 done
   4116 IFS=$as_save_IFS
   4117   if test -z "$ac_cv_path_EGREP"; then
   4118     { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
   4119 $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
   4120    { (exit 1); exit 1; }; }
   4121   fi
   4122 else
   4123   ac_cv_path_EGREP=$EGREP
   4124 fi
   4125 
   4126    fi
   4127 fi
   4128 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
   4129 $as_echo "$ac_cv_path_EGREP" >&6; }
   4130  EGREP="$ac_cv_path_EGREP"
   4131 
   4132 
   4133 
   4134 # Check whether --with-gnu-ld was given.
   4135 if test "${with_gnu_ld+set}" = set; then
   4136   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
   4137 else
   4138   with_gnu_ld=no
   4139 fi
   4140 
   4141 ac_prog=ld
   4142 if test "$GCC" = yes; then
   4143   # Check if gcc -print-prog-name=ld gives a path.
   4144   { $as_echo "$as_me:$LINENO: checking for ld used by $CC" >&5
   4145 $as_echo_n "checking for ld used by $CC... " >&6; }
   4146   case $host in
   4147   *-*-mingw*)
   4148     # gcc leaves a trailing carriage return which upsets mingw
   4149     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   4150   *)
   4151     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   4152   esac
   4153   case $ac_prog in
   4154     # Accept absolute paths.
   4155     [\\/]* | ?:[\\/]*)
   4156       re_direlt='/[^/][^/]*/\.\./'
   4157       # Canonicalize the pathname of ld
   4158       ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
   4159       while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
   4160 	ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
   4161       done
   4162       test -z "$LD" && LD="$ac_prog"
   4163       ;;
   4164   "")
   4165     # If it fails, then pretend we aren't using GCC.
   4166     ac_prog=ld
   4167     ;;
   4168   *)
   4169     # If it is relative, then search for the first ld in PATH.
   4170     with_gnu_ld=unknown
   4171     ;;
   4172   esac
   4173 elif test "$with_gnu_ld" = yes; then
   4174   { $as_echo "$as_me:$LINENO: checking for GNU ld" >&5
   4175 $as_echo_n "checking for GNU ld... " >&6; }
   4176 else
   4177   { $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5
   4178 $as_echo_n "checking for non-GNU ld... " >&6; }
   4179 fi
   4180 if test "${lt_cv_path_LD+set}" = set; then
   4181   $as_echo_n "(cached) " >&6
   4182 else
   4183   if test -z "$LD"; then
   4184   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   4185   for ac_dir in $PATH; do
   4186     IFS="$lt_save_ifs"
   4187     test -z "$ac_dir" && ac_dir=.
   4188     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   4189       lt_cv_path_LD="$ac_dir/$ac_prog"
   4190       # Check to see if the program is GNU ld.  I'd rather use --version,
   4191       # but apparently some variants of GNU ld only accept -v.
   4192       # Break only if it was the GNU/non-GNU ld that we prefer.
   4193       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   4194       *GNU* | *'with BFD'*)
   4195 	test "$with_gnu_ld" != no && break
   4196 	;;
   4197       *)
   4198 	test "$with_gnu_ld" != yes && break
   4199 	;;
   4200       esac
   4201     fi
   4202   done
   4203   IFS="$lt_save_ifs"
   4204 else
   4205   lt_cv_path_LD="$LD" # Let the user override the test with a path.
   4206 fi
   4207 fi
   4208 
   4209 LD="$lt_cv_path_LD"
   4210 if test -n "$LD"; then
   4211   { $as_echo "$as_me:$LINENO: result: $LD" >&5
   4212 $as_echo "$LD" >&6; }
   4213 else
   4214   { $as_echo "$as_me:$LINENO: result: no" >&5
   4215 $as_echo "no" >&6; }
   4216 fi
   4217 test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
   4218 $as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
   4219    { (exit 1); exit 1; }; }
   4220 { $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
   4221 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
   4222 if test "${lt_cv_prog_gnu_ld+set}" = set; then
   4223   $as_echo_n "(cached) " >&6
   4224 else
   4225   # I'd rather use --version here, but apparently some GNU lds only accept -v.
   4226 case `$LD -v 2>&1 </dev/null` in
   4227 *GNU* | *'with BFD'*)
   4228   lt_cv_prog_gnu_ld=yes
   4229   ;;
   4230 *)
   4231   lt_cv_prog_gnu_ld=no
   4232   ;;
   4233 esac
   4234 fi
   4235 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
   4236 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
   4237 with_gnu_ld=$lt_cv_prog_gnu_ld
   4238 
   4239 
   4240 { $as_echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
   4241 $as_echo_n "checking for $LD option to reload object files... " >&6; }
   4242 if test "${lt_cv_ld_reload_flag+set}" = set; then
   4243   $as_echo_n "(cached) " >&6
   4244 else
   4245   lt_cv_ld_reload_flag='-r'
   4246 fi
   4247 { $as_echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
   4248 $as_echo "$lt_cv_ld_reload_flag" >&6; }
   4249 reload_flag=$lt_cv_ld_reload_flag
   4250 case $reload_flag in
   4251 "" | " "*) ;;
   4252 *) reload_flag=" $reload_flag" ;;
   4253 esac
   4254 reload_cmds='$LD$reload_flag -o $output$reload_objs'
   4255 case $host_os in
   4256   darwin*)
   4257     if test "$GCC" = yes; then
   4258       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
   4259     else
   4260       reload_cmds='$LD$reload_flag -o $output$reload_objs'
   4261     fi
   4262     ;;
   4263 esac
   4264 
   4265 { $as_echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
   4266 $as_echo_n "checking for BSD-compatible nm... " >&6; }
   4267 if test "${lt_cv_path_NM+set}" = set; then
   4268   $as_echo_n "(cached) " >&6
   4269 else
   4270   if test -n "$NM"; then
   4271   # Let the user override the test.
   4272   lt_cv_path_NM="$NM"
   4273 else
   4274   lt_nm_to_check="${ac_tool_prefix}nm"
   4275   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
   4276     lt_nm_to_check="$lt_nm_to_check nm"
   4277   fi
   4278   for lt_tmp_nm in $lt_nm_to_check; do
   4279     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   4280     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
   4281       IFS="$lt_save_ifs"
   4282       test -z "$ac_dir" && ac_dir=.
   4283       tmp_nm="$ac_dir/$lt_tmp_nm"
   4284       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
   4285 	# Check to see if the nm accepts a BSD-compat flag.
   4286 	# Adding the `sed 1q' prevents false positives on HP-UX, which says:
   4287 	#   nm: unknown option "B" ignored
   4288 	# Tru64's nm complains that /dev/null is an invalid object file
   4289 	case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
   4290 	*/dev/null* | *'Invalid file or object type'*)
   4291 	  lt_cv_path_NM="$tmp_nm -B"
   4292 	  break
   4293 	  ;;
   4294 	*)
   4295 	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
   4296 	  */dev/null*)
   4297 	    lt_cv_path_NM="$tmp_nm -p"
   4298 	    break
   4299 	    ;;
   4300 	  *)
   4301 	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
   4302 	    continue # so that we can try to find one that supports BSD flags
   4303 	    ;;
   4304 	  esac
   4305 	  ;;
   4306 	esac
   4307       fi
   4308     done
   4309     IFS="$lt_save_ifs"
   4310   done
   4311   test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
   4312 fi
   4313 fi
   4314 { $as_echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
   4315 $as_echo "$lt_cv_path_NM" >&6; }
   4316 NM="$lt_cv_path_NM"
   4317 
   4318 { $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5
   4319 $as_echo_n "checking whether ln -s works... " >&6; }
   4320 LN_S=$as_ln_s
   4321 if test "$LN_S" = "ln -s"; then
   4322   { $as_echo "$as_me:$LINENO: result: yes" >&5
   4323 $as_echo "yes" >&6; }
   4324 else
   4325   { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5
   4326 $as_echo "no, using $LN_S" >&6; }
   4327 fi
   4328 
   4329 { $as_echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
   4330 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
   4331 if test "${lt_cv_deplibs_check_method+set}" = set; then
   4332   $as_echo_n "(cached) " >&6
   4333 else
   4334   lt_cv_file_magic_cmd='$MAGIC_CMD'
   4335 lt_cv_file_magic_test_file=
   4336 lt_cv_deplibs_check_method='unknown'
   4337 # Need to set the preceding variable on all platforms that support
   4338 # interlibrary dependencies.
   4339 # 'none' -- dependencies not supported.
   4340 # `unknown' -- same as none, but documents that we really don't know.
   4341 # 'pass_all' -- all dependencies passed with no checks.
   4342 # 'test_compile' -- check by making test program.
   4343 # 'file_magic [[regex]]' -- check by looking for files in library path
   4344 # which responds to the $file_magic_cmd with a given extended regex.
   4345 # If you have `file' or equivalent on your system and you're not sure
   4346 # whether `pass_all' will *always* work, you probably want this one.
   4347 
   4348 case $host_os in
   4349 aix[4-9]*)
   4350   lt_cv_deplibs_check_method=pass_all
   4351   ;;
   4352 
   4353 beos*)
   4354   lt_cv_deplibs_check_method=pass_all
   4355   ;;
   4356 
   4357 bsdi[45]*)
   4358   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
   4359   lt_cv_file_magic_cmd='/usr/bin/file -L'
   4360   lt_cv_file_magic_test_file=/shlib/libc.so
   4361   ;;
   4362 
   4363 cygwin*)
   4364   # func_win32_libid is a shell function defined in ltmain.sh
   4365   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   4366   lt_cv_file_magic_cmd='func_win32_libid'
   4367   ;;
   4368 
   4369 mingw* | pw32*)
   4370   # Base MSYS/MinGW do not provide the 'file' command needed by
   4371   # func_win32_libid shell function, so use a weaker test based on 'objdump',
   4372   # unless we find 'file', for example because we are cross-compiling.
   4373   if ( file / ) >/dev/null 2>&1; then
   4374     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   4375     lt_cv_file_magic_cmd='func_win32_libid'
   4376   else
   4377     lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
   4378     lt_cv_file_magic_cmd='$OBJDUMP -f'
   4379   fi
   4380   ;;
   4381 
   4382 darwin* | rhapsody*)
   4383   lt_cv_deplibs_check_method=pass_all
   4384   ;;
   4385 
   4386 freebsd* | dragonfly*)
   4387   if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
   4388     case $host_cpu in
   4389     i*86 )
   4390       # Not sure whether the presence of OpenBSD here was a mistake.
   4391       # Let's accept both of them until this is cleared up.
   4392       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
   4393       lt_cv_file_magic_cmd=/usr/bin/file
   4394       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
   4395       ;;
   4396     esac
   4397   else
   4398     lt_cv_deplibs_check_method=pass_all
   4399   fi
   4400   ;;
   4401 
   4402 gnu*)
   4403   lt_cv_deplibs_check_method=pass_all
   4404   ;;
   4405 
   4406 hpux10.20* | hpux11*)
   4407   lt_cv_file_magic_cmd=/usr/bin/file
   4408   case $host_cpu in
   4409   ia64*)
   4410     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
   4411     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
   4412     ;;
   4413   hppa*64*)
   4414     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]'
   4415     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
   4416     ;;
   4417   *)
   4418     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
   4419     lt_cv_file_magic_test_file=/usr/lib/libc.sl
   4420     ;;
   4421   esac
   4422   ;;
   4423 
   4424 interix[3-9]*)
   4425   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
   4426   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
   4427   ;;
   4428 
   4429 irix5* | irix6* | nonstopux*)
   4430   case $LD in
   4431   *-32|*"-32 ") libmagic=32-bit;;
   4432   *-n32|*"-n32 ") libmagic=N32;;
   4433   *-64|*"-64 ") libmagic=64-bit;;
   4434   *) libmagic=never-match;;
   4435   esac
   4436   lt_cv_deplibs_check_method=pass_all
   4437   ;;
   4438 
   4439 # This must be Linux ELF.
   4440 linux* | k*bsd*-gnu)
   4441   lt_cv_deplibs_check_method=pass_all
   4442   ;;
   4443 
   4444 netbsd*)
   4445   if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
   4446     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   4447   else
   4448     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
   4449   fi
   4450   ;;
   4451 
   4452 newos6*)
   4453   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
   4454   lt_cv_file_magic_cmd=/usr/bin/file
   4455   lt_cv_file_magic_test_file=/usr/lib/libnls.so
   4456   ;;
   4457 
   4458 nto-qnx*)
   4459   lt_cv_deplibs_check_method=unknown
   4460   ;;
   4461 
   4462 openbsd*)
   4463   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   4464     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
   4465   else
   4466     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   4467   fi
   4468   ;;
   4469 
   4470 osf3* | osf4* | osf5*)
   4471   lt_cv_deplibs_check_method=pass_all
   4472   ;;
   4473 
   4474 rdos*)
   4475   lt_cv_deplibs_check_method=pass_all
   4476   ;;
   4477 
   4478 solaris*)
   4479   lt_cv_deplibs_check_method=pass_all
   4480   ;;
   4481 
   4482 sysv4 | sysv4.3*)
   4483   case $host_vendor in
   4484   motorola)
   4485     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]'
   4486     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
   4487     ;;
   4488   ncr)
   4489     lt_cv_deplibs_check_method=pass_all
   4490     ;;
   4491   sequent)
   4492     lt_cv_file_magic_cmd='/bin/file'
   4493     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
   4494     ;;
   4495   sni)
   4496     lt_cv_file_magic_cmd='/bin/file'
   4497     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
   4498     lt_cv_file_magic_test_file=/lib/libc.so
   4499     ;;
   4500   siemens)
   4501     lt_cv_deplibs_check_method=pass_all
   4502     ;;
   4503   pc)
   4504     lt_cv_deplibs_check_method=pass_all
   4505     ;;
   4506   esac
   4507   ;;
   4508 
   4509 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   4510   lt_cv_deplibs_check_method=pass_all
   4511   ;;
   4512 esac
   4513 
   4514 fi
   4515 { $as_echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
   4516 $as_echo "$lt_cv_deplibs_check_method" >&6; }
   4517 file_magic_cmd=$lt_cv_file_magic_cmd
   4518 deplibs_check_method=$lt_cv_deplibs_check_method
   4519 test -z "$deplibs_check_method" && deplibs_check_method=unknown
   4520 
   4521 
   4522 
   4523 
   4524 # If no C compiler was specified, use CC.
   4525 LTCC=${LTCC-"$CC"}
   4526 
   4527 # If no C compiler flags were specified, use CFLAGS.
   4528 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   4529 
   4530 # Allow CC to be a program name with arguments.
   4531 compiler=$CC
   4532 
   4533 
   4534 # Check whether --enable-libtool-lock was given.
   4535 if test "${enable_libtool_lock+set}" = set; then
   4536   enableval=$enable_libtool_lock;
   4537 fi
   4538 
   4539 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
   4540 
   4541 # Some flags need to be propagated to the compiler or linker for good
   4542 # libtool support.
   4543 case $host in
   4544 ia64-*-hpux*)
   4545   # Find out which ABI we are using.
   4546   echo 'int i;' > conftest.$ac_ext
   4547   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   4548   (eval $ac_compile) 2>&5
   4549   ac_status=$?
   4550   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4551   (exit $ac_status); }; then
   4552     case `/usr/bin/file conftest.$ac_objext` in
   4553     *ELF-32*)
   4554       HPUX_IA64_MODE="32"
   4555       ;;
   4556     *ELF-64*)
   4557       HPUX_IA64_MODE="64"
   4558       ;;
   4559     esac
   4560   fi
   4561   rm -rf conftest*
   4562   ;;
   4563 *-*-irix6*)
   4564   # Find out which ABI we are using.
   4565   echo '#line 4565 "configure"' > conftest.$ac_ext
   4566   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   4567   (eval $ac_compile) 2>&5
   4568   ac_status=$?
   4569   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4570   (exit $ac_status); }; then
   4571    if test "$lt_cv_prog_gnu_ld" = yes; then
   4572     case `/usr/bin/file conftest.$ac_objext` in
   4573     *32-bit*)
   4574       LD="${LD-ld} -melf32bsmip"
   4575       ;;
   4576     *N32*)
   4577       LD="${LD-ld} -melf32bmipn32"
   4578       ;;
   4579     *64-bit*)
   4580       LD="${LD-ld} -melf64bmip"
   4581       ;;
   4582     esac
   4583    else
   4584     case `/usr/bin/file conftest.$ac_objext` in
   4585     *32-bit*)
   4586       LD="${LD-ld} -32"
   4587       ;;
   4588     *N32*)
   4589       LD="${LD-ld} -n32"
   4590       ;;
   4591     *64-bit*)
   4592       LD="${LD-ld} -64"
   4593       ;;
   4594     esac
   4595    fi
   4596   fi
   4597   rm -rf conftest*
   4598   ;;
   4599 
   4600 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
   4601 s390*-*linux*|sparc*-*linux*)
   4602   # Find out which ABI we are using.
   4603   echo 'int i;' > conftest.$ac_ext
   4604   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   4605   (eval $ac_compile) 2>&5
   4606   ac_status=$?
   4607   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4608   (exit $ac_status); }; then
   4609     case `/usr/bin/file conftest.o` in
   4610     *32-bit*)
   4611       case $host in
   4612         x86_64-*kfreebsd*-gnu)
   4613           LD="${LD-ld} -m elf_i386_fbsd"
   4614           ;;
   4615         x86_64-*linux*)
   4616           LD="${LD-ld} -m elf_i386"
   4617           ;;
   4618         ppc64-*linux*|powerpc64-*linux*)
   4619           LD="${LD-ld} -m elf32ppclinux"
   4620           ;;
   4621         s390x-*linux*)
   4622           LD="${LD-ld} -m elf_s390"
   4623           ;;
   4624         sparc64-*linux*)
   4625           LD="${LD-ld} -m elf32_sparc"
   4626           ;;
   4627       esac
   4628       ;;
   4629     *64-bit*)
   4630       libsuff=64
   4631       case $host in
   4632         x86_64-*kfreebsd*-gnu)
   4633           LD="${LD-ld} -m elf_x86_64_fbsd"
   4634           ;;
   4635         x86_64-*linux*)
   4636           LD="${LD-ld} -m elf_x86_64"
   4637           ;;
   4638         ppc*-*linux*|powerpc*-*linux*)
   4639           LD="${LD-ld} -m elf64ppc"
   4640           ;;
   4641         s390*-*linux*)
   4642           LD="${LD-ld} -m elf64_s390"
   4643           ;;
   4644         sparc*-*linux*)
   4645           LD="${LD-ld} -m elf64_sparc"
   4646           ;;
   4647       esac
   4648       ;;
   4649     esac
   4650   fi
   4651   rm -rf conftest*
   4652   ;;
   4653 
   4654 *-*-sco3.2v5*)
   4655   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
   4656   SAVE_CFLAGS="$CFLAGS"
   4657   CFLAGS="$CFLAGS -belf"
   4658   { $as_echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
   4659 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
   4660 if test "${lt_cv_cc_needs_belf+set}" = set; then
   4661   $as_echo_n "(cached) " >&6
   4662 else
   4663   ac_ext=c
   4664 ac_cpp='$CPP $CPPFLAGS'
   4665 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4666 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4667 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4668 
   4669      cat >conftest.$ac_ext <<_ACEOF
   4670 /* confdefs.h.  */
   4671 _ACEOF
   4672 cat confdefs.h >>conftest.$ac_ext
   4673 cat >>conftest.$ac_ext <<_ACEOF
   4674 /* end confdefs.h.  */
   4675 
   4676 int
   4677 main ()
   4678 {
   4679 
   4680   ;
   4681   return 0;
   4682 }
   4683 _ACEOF
   4684 rm -f conftest.$ac_objext conftest$ac_exeext
   4685 if { (ac_try="$ac_link"
   4686 case "(($ac_try" in
   4687   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4688   *) ac_try_echo=$ac_try;;
   4689 esac
   4690 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   4691 $as_echo "$ac_try_echo") >&5
   4692   (eval "$ac_link") 2>conftest.er1
   4693   ac_status=$?
   4694   grep -v '^ *+' conftest.er1 >conftest.err
   4695   rm -f conftest.er1
   4696   cat conftest.err >&5
   4697   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4698   (exit $ac_status); } && {
   4699 	 test -z "$ac_c_werror_flag" ||
   4700 	 test ! -s conftest.err
   4701        } && test -s conftest$ac_exeext && {
   4702 	 test "$cross_compiling" = yes ||
   4703 	 $as_test_x conftest$ac_exeext
   4704        }; then
   4705   lt_cv_cc_needs_belf=yes
   4706 else
   4707   $as_echo "$as_me: failed program was:" >&5
   4708 sed 's/^/| /' conftest.$ac_ext >&5
   4709 
   4710 	lt_cv_cc_needs_belf=no
   4711 fi
   4712 
   4713 rm -rf conftest.dSYM
   4714 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   4715       conftest$ac_exeext conftest.$ac_ext
   4716      ac_ext=c
   4717 ac_cpp='$CPP $CPPFLAGS'
   4718 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4719 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4720 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4721 
   4722 fi
   4723 { $as_echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
   4724 $as_echo "$lt_cv_cc_needs_belf" >&6; }
   4725   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
   4726     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
   4727     CFLAGS="$SAVE_CFLAGS"
   4728   fi
   4729   ;;
   4730 sparc*-*solaris*)
   4731   # Find out which ABI we are using.
   4732   echo 'int i;' > conftest.$ac_ext
   4733   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   4734   (eval $ac_compile) 2>&5
   4735   ac_status=$?
   4736   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4737   (exit $ac_status); }; then
   4738     case `/usr/bin/file conftest.o` in
   4739     *64-bit*)
   4740       case $lt_cv_prog_gnu_ld in
   4741       yes*) LD="${LD-ld} -m elf64_sparc" ;;
   4742       *)
   4743         if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
   4744 	  LD="${LD-ld} -64"
   4745 	fi
   4746 	;;
   4747       esac
   4748       ;;
   4749     esac
   4750   fi
   4751   rm -rf conftest*
   4752   ;;
   4753 
   4754 
   4755 esac
   4756 
   4757 need_locks="$enable_libtool_lock"
   4758 
   4759 
   4760 ac_ext=c
   4761 ac_cpp='$CPP $CPPFLAGS'
   4762 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4763 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4764 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4765 { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
   4766 $as_echo_n "checking how to run the C preprocessor... " >&6; }
   4767 # On Suns, sometimes $CPP names a directory.
   4768 if test -n "$CPP" && test -d "$CPP"; then
   4769   CPP=
   4770 fi
   4771 if test -z "$CPP"; then
   4772   if test "${ac_cv_prog_CPP+set}" = set; then
   4773   $as_echo_n "(cached) " >&6
   4774 else
   4775       # Double quotes because CPP needs to be expanded
   4776     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
   4777     do
   4778       ac_preproc_ok=false
   4779 for ac_c_preproc_warn_flag in '' yes
   4780 do
   4781   # Use a header file that comes with gcc, so configuring glibc
   4782   # with a fresh cross-compiler works.
   4783   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   4784   # <limits.h> exists even on freestanding compilers.
   4785   # On the NeXT, cc -E runs the code through the compiler's parser,
   4786   # not just through cpp. "Syntax error" is here to catch this case.
   4787   cat >conftest.$ac_ext <<_ACEOF
   4788 /* confdefs.h.  */
   4789 _ACEOF
   4790 cat confdefs.h >>conftest.$ac_ext
   4791 cat >>conftest.$ac_ext <<_ACEOF
   4792 /* end confdefs.h.  */
   4793 #ifdef __STDC__
   4794 # include <limits.h>
   4795 #else
   4796 # include <assert.h>
   4797 #endif
   4798 		     Syntax error
   4799 _ACEOF
   4800 if { (ac_try="$ac_cpp conftest.$ac_ext"
   4801 case "(($ac_try" in
   4802   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4803   *) ac_try_echo=$ac_try;;
   4804 esac
   4805 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   4806 $as_echo "$ac_try_echo") >&5
   4807   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   4808   ac_status=$?
   4809   grep -v '^ *+' conftest.er1 >conftest.err
   4810   rm -f conftest.er1
   4811   cat conftest.err >&5
   4812   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4813   (exit $ac_status); } >/dev/null && {
   4814 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   4815 	 test ! -s conftest.err
   4816        }; then
   4817   :
   4818 else
   4819   $as_echo "$as_me: failed program was:" >&5
   4820 sed 's/^/| /' conftest.$ac_ext >&5
   4821 
   4822   # Broken: fails on valid input.
   4823 continue
   4824 fi
   4825 
   4826 rm -f conftest.err conftest.$ac_ext
   4827 
   4828   # OK, works on sane cases.  Now check whether nonexistent headers
   4829   # can be detected and how.
   4830   cat >conftest.$ac_ext <<_ACEOF
   4831 /* confdefs.h.  */
   4832 _ACEOF
   4833 cat confdefs.h >>conftest.$ac_ext
   4834 cat >>conftest.$ac_ext <<_ACEOF
   4835 /* end confdefs.h.  */
   4836 #include <ac_nonexistent.h>
   4837 _ACEOF
   4838 if { (ac_try="$ac_cpp conftest.$ac_ext"
   4839 case "(($ac_try" in
   4840   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4841   *) ac_try_echo=$ac_try;;
   4842 esac
   4843 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   4844 $as_echo "$ac_try_echo") >&5
   4845   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   4846   ac_status=$?
   4847   grep -v '^ *+' conftest.er1 >conftest.err
   4848   rm -f conftest.er1
   4849   cat conftest.err >&5
   4850   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4851   (exit $ac_status); } >/dev/null && {
   4852 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   4853 	 test ! -s conftest.err
   4854        }; then
   4855   # Broken: success on invalid input.
   4856 continue
   4857 else
   4858   $as_echo "$as_me: failed program was:" >&5
   4859 sed 's/^/| /' conftest.$ac_ext >&5
   4860 
   4861   # Passes both tests.
   4862 ac_preproc_ok=:
   4863 break
   4864 fi
   4865 
   4866 rm -f conftest.err conftest.$ac_ext
   4867 
   4868 done
   4869 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   4870 rm -f conftest.err conftest.$ac_ext
   4871 if $ac_preproc_ok; then
   4872   break
   4873 fi
   4874 
   4875     done
   4876     ac_cv_prog_CPP=$CPP
   4877 
   4878 fi
   4879   CPP=$ac_cv_prog_CPP
   4880 else
   4881   ac_cv_prog_CPP=$CPP
   4882 fi
   4883 { $as_echo "$as_me:$LINENO: result: $CPP" >&5
   4884 $as_echo "$CPP" >&6; }
   4885 ac_preproc_ok=false
   4886 for ac_c_preproc_warn_flag in '' yes
   4887 do
   4888   # Use a header file that comes with gcc, so configuring glibc
   4889   # with a fresh cross-compiler works.
   4890   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   4891   # <limits.h> exists even on freestanding compilers.
   4892   # On the NeXT, cc -E runs the code through the compiler's parser,
   4893   # not just through cpp. "Syntax error" is here to catch this case.
   4894   cat >conftest.$ac_ext <<_ACEOF
   4895 /* confdefs.h.  */
   4896 _ACEOF
   4897 cat confdefs.h >>conftest.$ac_ext
   4898 cat >>conftest.$ac_ext <<_ACEOF
   4899 /* end confdefs.h.  */
   4900 #ifdef __STDC__
   4901 # include <limits.h>
   4902 #else
   4903 # include <assert.h>
   4904 #endif
   4905 		     Syntax error
   4906 _ACEOF
   4907 if { (ac_try="$ac_cpp conftest.$ac_ext"
   4908 case "(($ac_try" in
   4909   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4910   *) ac_try_echo=$ac_try;;
   4911 esac
   4912 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   4913 $as_echo "$ac_try_echo") >&5
   4914   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   4915   ac_status=$?
   4916   grep -v '^ *+' conftest.er1 >conftest.err
   4917   rm -f conftest.er1
   4918   cat conftest.err >&5
   4919   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4920   (exit $ac_status); } >/dev/null && {
   4921 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   4922 	 test ! -s conftest.err
   4923        }; then
   4924   :
   4925 else
   4926   $as_echo "$as_me: failed program was:" >&5
   4927 sed 's/^/| /' conftest.$ac_ext >&5
   4928 
   4929   # Broken: fails on valid input.
   4930 continue
   4931 fi
   4932 
   4933 rm -f conftest.err conftest.$ac_ext
   4934 
   4935   # OK, works on sane cases.  Now check whether nonexistent headers
   4936   # can be detected and how.
   4937   cat >conftest.$ac_ext <<_ACEOF
   4938 /* confdefs.h.  */
   4939 _ACEOF
   4940 cat confdefs.h >>conftest.$ac_ext
   4941 cat >>conftest.$ac_ext <<_ACEOF
   4942 /* end confdefs.h.  */
   4943 #include <ac_nonexistent.h>
   4944 _ACEOF
   4945 if { (ac_try="$ac_cpp conftest.$ac_ext"
   4946 case "(($ac_try" in
   4947   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4948   *) ac_try_echo=$ac_try;;
   4949 esac
   4950 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   4951 $as_echo "$ac_try_echo") >&5
   4952   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   4953   ac_status=$?
   4954   grep -v '^ *+' conftest.er1 >conftest.err
   4955   rm -f conftest.er1
   4956   cat conftest.err >&5
   4957   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4958   (exit $ac_status); } >/dev/null && {
   4959 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   4960 	 test ! -s conftest.err
   4961        }; then
   4962   # Broken: success on invalid input.
   4963 continue
   4964 else
   4965   $as_echo "$as_me: failed program was:" >&5
   4966 sed 's/^/| /' conftest.$ac_ext >&5
   4967 
   4968   # Passes both tests.
   4969 ac_preproc_ok=:
   4970 break
   4971 fi
   4972 
   4973 rm -f conftest.err conftest.$ac_ext
   4974 
   4975 done
   4976 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   4977 rm -f conftest.err conftest.$ac_ext
   4978 if $ac_preproc_ok; then
   4979   :
   4980 else
   4981   { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   4982 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   4983 { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
   4984 See \`config.log' for more details." >&5
   4985 $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
   4986 See \`config.log' for more details." >&2;}
   4987    { (exit 1); exit 1; }; }; }
   4988 fi
   4989 
   4990 ac_ext=c
   4991 ac_cpp='$CPP $CPPFLAGS'
   4992 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4993 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4994 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4995 
   4996 
   4997 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
   4998 $as_echo_n "checking for ANSI C header files... " >&6; }
   4999 if test "${ac_cv_header_stdc+set}" = set; then
   5000   $as_echo_n "(cached) " >&6
   5001 else
   5002   cat >conftest.$ac_ext <<_ACEOF
   5003 /* confdefs.h.  */
   5004 _ACEOF
   5005 cat confdefs.h >>conftest.$ac_ext
   5006 cat >>conftest.$ac_ext <<_ACEOF
   5007 /* end confdefs.h.  */
   5008 #include <stdlib.h>
   5009 #include <stdarg.h>
   5010 #include <string.h>
   5011 #include <float.h>
   5012 
   5013 int
   5014 main ()
   5015 {
   5016 
   5017   ;
   5018   return 0;
   5019 }
   5020 _ACEOF
   5021 rm -f conftest.$ac_objext
   5022 if { (ac_try="$ac_compile"
   5023 case "(($ac_try" in
   5024   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5025   *) ac_try_echo=$ac_try;;
   5026 esac
   5027 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5028 $as_echo "$ac_try_echo") >&5
   5029   (eval "$ac_compile") 2>conftest.er1
   5030   ac_status=$?
   5031   grep -v '^ *+' conftest.er1 >conftest.err
   5032   rm -f conftest.er1
   5033   cat conftest.err >&5
   5034   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5035   (exit $ac_status); } && {
   5036 	 test -z "$ac_c_werror_flag" ||
   5037 	 test ! -s conftest.err
   5038        } && test -s conftest.$ac_objext; then
   5039   ac_cv_header_stdc=yes
   5040 else
   5041   $as_echo "$as_me: failed program was:" >&5
   5042 sed 's/^/| /' conftest.$ac_ext >&5
   5043 
   5044 	ac_cv_header_stdc=no
   5045 fi
   5046 
   5047 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5048 
   5049 if test $ac_cv_header_stdc = yes; then
   5050   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   5051   cat >conftest.$ac_ext <<_ACEOF
   5052 /* confdefs.h.  */
   5053 _ACEOF
   5054 cat confdefs.h >>conftest.$ac_ext
   5055 cat >>conftest.$ac_ext <<_ACEOF
   5056 /* end confdefs.h.  */
   5057 #include <string.h>
   5058 
   5059 _ACEOF
   5060 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   5061   $EGREP "memchr" >/dev/null 2>&1; then
   5062   :
   5063 else
   5064   ac_cv_header_stdc=no
   5065 fi
   5066 rm -f conftest*
   5067 
   5068 fi
   5069 
   5070 if test $ac_cv_header_stdc = yes; then
   5071   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   5072   cat >conftest.$ac_ext <<_ACEOF
   5073 /* confdefs.h.  */
   5074 _ACEOF
   5075 cat confdefs.h >>conftest.$ac_ext
   5076 cat >>conftest.$ac_ext <<_ACEOF
   5077 /* end confdefs.h.  */
   5078 #include <stdlib.h>
   5079 
   5080 _ACEOF
   5081 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   5082   $EGREP "free" >/dev/null 2>&1; then
   5083   :
   5084 else
   5085   ac_cv_header_stdc=no
   5086 fi
   5087 rm -f conftest*
   5088 
   5089 fi
   5090 
   5091 if test $ac_cv_header_stdc = yes; then
   5092   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   5093   if test "$cross_compiling" = yes; then
   5094   :
   5095 else
   5096   cat >conftest.$ac_ext <<_ACEOF
   5097 /* confdefs.h.  */
   5098 _ACEOF
   5099 cat confdefs.h >>conftest.$ac_ext
   5100 cat >>conftest.$ac_ext <<_ACEOF
   5101 /* end confdefs.h.  */
   5102 #include <ctype.h>
   5103 #include <stdlib.h>
   5104 #if ((' ' & 0x0FF) == 0x020)
   5105 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   5106 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   5107 #else
   5108 # define ISLOWER(c) \
   5109 		   (('a' <= (c) && (c) <= 'i') \
   5110 		     || ('j' <= (c) && (c) <= 'r') \
   5111 		     || ('s' <= (c) && (c) <= 'z'))
   5112 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   5113 #endif
   5114 
   5115 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   5116 int
   5117 main ()
   5118 {
   5119   int i;
   5120   for (i = 0; i < 256; i++)
   5121     if (XOR (islower (i), ISLOWER (i))
   5122 	|| toupper (i) != TOUPPER (i))
   5123       return 2;
   5124   return 0;
   5125 }
   5126 _ACEOF
   5127 rm -f conftest$ac_exeext
   5128 if { (ac_try="$ac_link"
   5129 case "(($ac_try" in
   5130   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5131   *) ac_try_echo=$ac_try;;
   5132 esac
   5133 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5134 $as_echo "$ac_try_echo") >&5
   5135   (eval "$ac_link") 2>&5
   5136   ac_status=$?
   5137   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5138   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
   5139   { (case "(($ac_try" in
   5140   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5141   *) ac_try_echo=$ac_try;;
   5142 esac
   5143 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5144 $as_echo "$ac_try_echo") >&5
   5145   (eval "$ac_try") 2>&5
   5146   ac_status=$?
   5147   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5148   (exit $ac_status); }; }; then
   5149   :
   5150 else
   5151   $as_echo "$as_me: program exited with status $ac_status" >&5
   5152 $as_echo "$as_me: failed program was:" >&5
   5153 sed 's/^/| /' conftest.$ac_ext >&5
   5154 
   5155 ( exit $ac_status )
   5156 ac_cv_header_stdc=no
   5157 fi
   5158 rm -rf conftest.dSYM
   5159 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
   5160 fi
   5161 
   5162 
   5163 fi
   5164 fi
   5165 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
   5166 $as_echo "$ac_cv_header_stdc" >&6; }
   5167 if test $ac_cv_header_stdc = yes; then
   5168 
   5169 cat >>confdefs.h <<\_ACEOF
   5170 #define STDC_HEADERS 1
   5171 _ACEOF
   5172 
   5173 fi
   5174 
   5175 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
   5176 
   5177 
   5178 
   5179 
   5180 
   5181 
   5182 
   5183 
   5184 
   5185 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
   5186 		  inttypes.h stdint.h unistd.h
   5187 do
   5188 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   5189 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
   5190 $as_echo_n "checking for $ac_header... " >&6; }
   5191 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   5192   $as_echo_n "(cached) " >&6
   5193 else
   5194   cat >conftest.$ac_ext <<_ACEOF
   5195 /* confdefs.h.  */
   5196 _ACEOF
   5197 cat confdefs.h >>conftest.$ac_ext
   5198 cat >>conftest.$ac_ext <<_ACEOF
   5199 /* end confdefs.h.  */
   5200 $ac_includes_default
   5201 
   5202 #include <$ac_header>
   5203 _ACEOF
   5204 rm -f conftest.$ac_objext
   5205 if { (ac_try="$ac_compile"
   5206 case "(($ac_try" in
   5207   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5208   *) ac_try_echo=$ac_try;;
   5209 esac
   5210 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5211 $as_echo "$ac_try_echo") >&5
   5212   (eval "$ac_compile") 2>conftest.er1
   5213   ac_status=$?
   5214   grep -v '^ *+' conftest.er1 >conftest.err
   5215   rm -f conftest.er1
   5216   cat conftest.err >&5
   5217   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5218   (exit $ac_status); } && {
   5219 	 test -z "$ac_c_werror_flag" ||
   5220 	 test ! -s conftest.err
   5221        } && test -s conftest.$ac_objext; then
   5222   eval "$as_ac_Header=yes"
   5223 else
   5224   $as_echo "$as_me: failed program was:" >&5
   5225 sed 's/^/| /' conftest.$ac_ext >&5
   5226 
   5227 	eval "$as_ac_Header=no"
   5228 fi
   5229 
   5230 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5231 fi
   5232 ac_res=`eval 'as_val=${'$as_ac_Header'}
   5233 		 $as_echo "$as_val"'`
   5234 	       { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
   5235 $as_echo "$ac_res" >&6; }
   5236 as_val=`eval 'as_val=${'$as_ac_Header'}
   5237 		 $as_echo "$as_val"'`
   5238    if test "x$as_val" = x""yes; then
   5239   cat >>confdefs.h <<_ACEOF
   5240 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   5241 _ACEOF
   5242 
   5243 fi
   5244 
   5245 done
   5246 
   5247 
   5248 
   5249 for ac_header in dlfcn.h
   5250 do
   5251 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   5252 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   5253   { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
   5254 $as_echo_n "checking for $ac_header... " >&6; }
   5255 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   5256   $as_echo_n "(cached) " >&6
   5257 fi
   5258 ac_res=`eval 'as_val=${'$as_ac_Header'}
   5259 		 $as_echo "$as_val"'`
   5260 	       { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
   5261 $as_echo "$ac_res" >&6; }
   5262 else
   5263   # Is the header compilable?
   5264 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
   5265 $as_echo_n "checking $ac_header usability... " >&6; }
   5266 cat >conftest.$ac_ext <<_ACEOF
   5267 /* confdefs.h.  */
   5268 _ACEOF
   5269 cat confdefs.h >>conftest.$ac_ext
   5270 cat >>conftest.$ac_ext <<_ACEOF
   5271 /* end confdefs.h.  */
   5272 $ac_includes_default
   5273 #include <$ac_header>
   5274 _ACEOF
   5275 rm -f conftest.$ac_objext
   5276 if { (ac_try="$ac_compile"
   5277 case "(($ac_try" in
   5278   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5279   *) ac_try_echo=$ac_try;;
   5280 esac
   5281 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5282 $as_echo "$ac_try_echo") >&5
   5283   (eval "$ac_compile") 2>conftest.er1
   5284   ac_status=$?
   5285   grep -v '^ *+' conftest.er1 >conftest.err
   5286   rm -f conftest.er1
   5287   cat conftest.err >&5
   5288   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5289   (exit $ac_status); } && {
   5290 	 test -z "$ac_c_werror_flag" ||
   5291 	 test ! -s conftest.err
   5292        } && test -s conftest.$ac_objext; then
   5293   ac_header_compiler=yes
   5294 else
   5295   $as_echo "$as_me: failed program was:" >&5
   5296 sed 's/^/| /' conftest.$ac_ext >&5
   5297 
   5298 	ac_header_compiler=no
   5299 fi
   5300 
   5301 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5302 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
   5303 $as_echo "$ac_header_compiler" >&6; }
   5304 
   5305 # Is the header present?
   5306 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
   5307 $as_echo_n "checking $ac_header presence... " >&6; }
   5308 cat >conftest.$ac_ext <<_ACEOF
   5309 /* confdefs.h.  */
   5310 _ACEOF
   5311 cat confdefs.h >>conftest.$ac_ext
   5312 cat >>conftest.$ac_ext <<_ACEOF
   5313 /* end confdefs.h.  */
   5314 #include <$ac_header>
   5315 _ACEOF
   5316 if { (ac_try="$ac_cpp conftest.$ac_ext"
   5317 case "(($ac_try" in
   5318   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5319   *) ac_try_echo=$ac_try;;
   5320 esac
   5321 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5322 $as_echo "$ac_try_echo") >&5
   5323   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   5324   ac_status=$?
   5325   grep -v '^ *+' conftest.er1 >conftest.err
   5326   rm -f conftest.er1
   5327   cat conftest.err >&5
   5328   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5329   (exit $ac_status); } >/dev/null && {
   5330 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   5331 	 test ! -s conftest.err
   5332        }; then
   5333   ac_header_preproc=yes
   5334 else
   5335   $as_echo "$as_me: failed program was:" >&5
   5336 sed 's/^/| /' conftest.$ac_ext >&5
   5337 
   5338   ac_header_preproc=no
   5339 fi
   5340 
   5341 rm -f conftest.err conftest.$ac_ext
   5342 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
   5343 $as_echo "$ac_header_preproc" >&6; }
   5344 
   5345 # So?  What about this header?
   5346 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
   5347   yes:no: )
   5348     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
   5349 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
   5350     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
   5351 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
   5352     ac_header_preproc=yes
   5353     ;;
   5354   no:yes:* )
   5355     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
   5356 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
   5357     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
   5358 $as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
   5359     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
   5360 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
   5361     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
   5362 $as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
   5363     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
   5364 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
   5365     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
   5366 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
   5367     ( cat <<\_ASBOX
   5368 ## ---------------------------------------------------------------------- ##
   5369 ## Report this to https://bugs.freedesktop.org/enter_bug.cgi?product=xorg ##
   5370 ## ---------------------------------------------------------------------- ##
   5371 _ASBOX
   5372      ) | sed "s/^/$as_me: WARNING:     /" >&2
   5373     ;;
   5374 esac
   5375 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
   5376 $as_echo_n "checking for $ac_header... " >&6; }
   5377 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   5378   $as_echo_n "(cached) " >&6
   5379 else
   5380   eval "$as_ac_Header=\$ac_header_preproc"
   5381 fi
   5382 ac_res=`eval 'as_val=${'$as_ac_Header'}
   5383 		 $as_echo "$as_val"'`
   5384 	       { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
   5385 $as_echo "$ac_res" >&6; }
   5386 
   5387 fi
   5388 as_val=`eval 'as_val=${'$as_ac_Header'}
   5389 		 $as_echo "$as_val"'`
   5390    if test "x$as_val" = x""yes; then
   5391   cat >>confdefs.h <<_ACEOF
   5392 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   5393 _ACEOF
   5394 
   5395 fi
   5396 
   5397 done
   5398 
   5399 ac_ext=cpp
   5400 ac_cpp='$CXXCPP $CPPFLAGS'
   5401 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5402 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5403 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   5404 if test -z "$CXX"; then
   5405   if test -n "$CCC"; then
   5406     CXX=$CCC
   5407   else
   5408     if test -n "$ac_tool_prefix"; then
   5409   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
   5410   do
   5411     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   5412 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   5413 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   5414 $as_echo_n "checking for $ac_word... " >&6; }
   5415 if test "${ac_cv_prog_CXX+set}" = set; then
   5416   $as_echo_n "(cached) " >&6
   5417 else
   5418   if test -n "$CXX"; then
   5419   ac_cv_prog_CXX="$CXX" # Let the user override the test.
   5420 else
   5421 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5422 for as_dir in $PATH
   5423 do
   5424   IFS=$as_save_IFS
   5425   test -z "$as_dir" && as_dir=.
   5426   for ac_exec_ext in '' $ac_executable_extensions; do
   5427   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5428     ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
   5429     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   5430     break 2
   5431   fi
   5432 done
   5433 done
   5434 IFS=$as_save_IFS
   5435 
   5436 fi
   5437 fi
   5438 CXX=$ac_cv_prog_CXX
   5439 if test -n "$CXX"; then
   5440   { $as_echo "$as_me:$LINENO: result: $CXX" >&5
   5441 $as_echo "$CXX" >&6; }
   5442 else
   5443   { $as_echo "$as_me:$LINENO: result: no" >&5
   5444 $as_echo "no" >&6; }
   5445 fi
   5446 
   5447 
   5448     test -n "$CXX" && break
   5449   done
   5450 fi
   5451 if test -z "$CXX"; then
   5452   ac_ct_CXX=$CXX
   5453   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
   5454 do
   5455   # Extract the first word of "$ac_prog", so it can be a program name with args.
   5456 set dummy $ac_prog; ac_word=$2
   5457 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   5458 $as_echo_n "checking for $ac_word... " >&6; }
   5459 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
   5460   $as_echo_n "(cached) " >&6
   5461 else
   5462   if test -n "$ac_ct_CXX"; then
   5463   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
   5464 else
   5465 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5466 for as_dir in $PATH
   5467 do
   5468   IFS=$as_save_IFS
   5469   test -z "$as_dir" && as_dir=.
   5470   for ac_exec_ext in '' $ac_executable_extensions; do
   5471   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5472     ac_cv_prog_ac_ct_CXX="$ac_prog"
   5473     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   5474     break 2
   5475   fi
   5476 done
   5477 done
   5478 IFS=$as_save_IFS
   5479 
   5480 fi
   5481 fi
   5482 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
   5483 if test -n "$ac_ct_CXX"; then
   5484   { $as_echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
   5485 $as_echo "$ac_ct_CXX" >&6; }
   5486 else
   5487   { $as_echo "$as_me:$LINENO: result: no" >&5
   5488 $as_echo "no" >&6; }
   5489 fi
   5490 
   5491 
   5492   test -n "$ac_ct_CXX" && break
   5493 done
   5494 
   5495   if test "x$ac_ct_CXX" = x; then
   5496     CXX="g++"
   5497   else
   5498     case $cross_compiling:$ac_tool_warned in
   5499 yes:)
   5500 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   5501 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5502 ac_tool_warned=yes ;;
   5503 esac
   5504     CXX=$ac_ct_CXX
   5505   fi
   5506 fi
   5507 
   5508   fi
   5509 fi
   5510 # Provide some information about the compiler.
   5511 $as_echo "$as_me:$LINENO: checking for C++ compiler version" >&5
   5512 set X $ac_compile
   5513 ac_compiler=$2
   5514 { (ac_try="$ac_compiler --version >&5"
   5515 case "(($ac_try" in
   5516   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5517   *) ac_try_echo=$ac_try;;
   5518 esac
   5519 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5520 $as_echo "$ac_try_echo") >&5
   5521   (eval "$ac_compiler --version >&5") 2>&5
   5522   ac_status=$?
   5523   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5524   (exit $ac_status); }
   5525 { (ac_try="$ac_compiler -v >&5"
   5526 case "(($ac_try" in
   5527   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5528   *) ac_try_echo=$ac_try;;
   5529 esac
   5530 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5531 $as_echo "$ac_try_echo") >&5
   5532   (eval "$ac_compiler -v >&5") 2>&5
   5533   ac_status=$?
   5534   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5535   (exit $ac_status); }
   5536 { (ac_try="$ac_compiler -V >&5"
   5537 case "(($ac_try" in
   5538   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5539   *) ac_try_echo=$ac_try;;
   5540 esac
   5541 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5542 $as_echo "$ac_try_echo") >&5
   5543   (eval "$ac_compiler -V >&5") 2>&5
   5544   ac_status=$?
   5545   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5546   (exit $ac_status); }
   5547 
   5548 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
   5549 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
   5550 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
   5551   $as_echo_n "(cached) " >&6
   5552 else
   5553   cat >conftest.$ac_ext <<_ACEOF
   5554 /* confdefs.h.  */
   5555 _ACEOF
   5556 cat confdefs.h >>conftest.$ac_ext
   5557 cat >>conftest.$ac_ext <<_ACEOF
   5558 /* end confdefs.h.  */
   5559 
   5560 int
   5561 main ()
   5562 {
   5563 #ifndef __GNUC__
   5564        choke me
   5565 #endif
   5566 
   5567   ;
   5568   return 0;
   5569 }
   5570 _ACEOF
   5571 rm -f conftest.$ac_objext
   5572 if { (ac_try="$ac_compile"
   5573 case "(($ac_try" in
   5574   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5575   *) ac_try_echo=$ac_try;;
   5576 esac
   5577 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5578 $as_echo "$ac_try_echo") >&5
   5579   (eval "$ac_compile") 2>conftest.er1
   5580   ac_status=$?
   5581   grep -v '^ *+' conftest.er1 >conftest.err
   5582   rm -f conftest.er1
   5583   cat conftest.err >&5
   5584   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5585   (exit $ac_status); } && {
   5586 	 test -z "$ac_cxx_werror_flag" ||
   5587 	 test ! -s conftest.err
   5588        } && test -s conftest.$ac_objext; then
   5589   ac_compiler_gnu=yes
   5590 else
   5591   $as_echo "$as_me: failed program was:" >&5
   5592 sed 's/^/| /' conftest.$ac_ext >&5
   5593 
   5594 	ac_compiler_gnu=no
   5595 fi
   5596 
   5597 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5598 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
   5599 
   5600 fi
   5601 { $as_echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
   5602 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
   5603 if test $ac_compiler_gnu = yes; then
   5604   GXX=yes
   5605 else
   5606   GXX=
   5607 fi
   5608 ac_test_CXXFLAGS=${CXXFLAGS+set}
   5609 ac_save_CXXFLAGS=$CXXFLAGS
   5610 { $as_echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
   5611 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
   5612 if test "${ac_cv_prog_cxx_g+set}" = set; then
   5613   $as_echo_n "(cached) " >&6
   5614 else
   5615   ac_save_cxx_werror_flag=$ac_cxx_werror_flag
   5616    ac_cxx_werror_flag=yes
   5617    ac_cv_prog_cxx_g=no
   5618    CXXFLAGS="-g"
   5619    cat >conftest.$ac_ext <<_ACEOF
   5620 /* confdefs.h.  */
   5621 _ACEOF
   5622 cat confdefs.h >>conftest.$ac_ext
   5623 cat >>conftest.$ac_ext <<_ACEOF
   5624 /* end confdefs.h.  */
   5625 
   5626 int
   5627 main ()
   5628 {
   5629 
   5630   ;
   5631   return 0;
   5632 }
   5633 _ACEOF
   5634 rm -f conftest.$ac_objext
   5635 if { (ac_try="$ac_compile"
   5636 case "(($ac_try" in
   5637   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5638   *) ac_try_echo=$ac_try;;
   5639 esac
   5640 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5641 $as_echo "$ac_try_echo") >&5
   5642   (eval "$ac_compile") 2>conftest.er1
   5643   ac_status=$?
   5644   grep -v '^ *+' conftest.er1 >conftest.err
   5645   rm -f conftest.er1
   5646   cat conftest.err >&5
   5647   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5648   (exit $ac_status); } && {
   5649 	 test -z "$ac_cxx_werror_flag" ||
   5650 	 test ! -s conftest.err
   5651        } && test -s conftest.$ac_objext; then
   5652   ac_cv_prog_cxx_g=yes
   5653 else
   5654   $as_echo "$as_me: failed program was:" >&5
   5655 sed 's/^/| /' conftest.$ac_ext >&5
   5656 
   5657 	CXXFLAGS=""
   5658       cat >conftest.$ac_ext <<_ACEOF
   5659 /* confdefs.h.  */
   5660 _ACEOF
   5661 cat confdefs.h >>conftest.$ac_ext
   5662 cat >>conftest.$ac_ext <<_ACEOF
   5663 /* end confdefs.h.  */
   5664 
   5665 int
   5666 main ()
   5667 {
   5668 
   5669   ;
   5670   return 0;
   5671 }
   5672 _ACEOF
   5673 rm -f conftest.$ac_objext
   5674 if { (ac_try="$ac_compile"
   5675 case "(($ac_try" in
   5676   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5677   *) ac_try_echo=$ac_try;;
   5678 esac
   5679 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5680 $as_echo "$ac_try_echo") >&5
   5681   (eval "$ac_compile") 2>conftest.er1
   5682   ac_status=$?
   5683   grep -v '^ *+' conftest.er1 >conftest.err
   5684   rm -f conftest.er1
   5685   cat conftest.err >&5
   5686   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5687   (exit $ac_status); } && {
   5688 	 test -z "$ac_cxx_werror_flag" ||
   5689 	 test ! -s conftest.err
   5690        } && test -s conftest.$ac_objext; then
   5691   :
   5692 else
   5693   $as_echo "$as_me: failed program was:" >&5
   5694 sed 's/^/| /' conftest.$ac_ext >&5
   5695 
   5696 	ac_cxx_werror_flag=$ac_save_cxx_werror_flag
   5697 	 CXXFLAGS="-g"
   5698 	 cat >conftest.$ac_ext <<_ACEOF
   5699 /* confdefs.h.  */
   5700 _ACEOF
   5701 cat confdefs.h >>conftest.$ac_ext
   5702 cat >>conftest.$ac_ext <<_ACEOF
   5703 /* end confdefs.h.  */
   5704 
   5705 int
   5706 main ()
   5707 {
   5708 
   5709   ;
   5710   return 0;
   5711 }
   5712 _ACEOF
   5713 rm -f conftest.$ac_objext
   5714 if { (ac_try="$ac_compile"
   5715 case "(($ac_try" in
   5716   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5717   *) ac_try_echo=$ac_try;;
   5718 esac
   5719 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5720 $as_echo "$ac_try_echo") >&5
   5721   (eval "$ac_compile") 2>conftest.er1
   5722   ac_status=$?
   5723   grep -v '^ *+' conftest.er1 >conftest.err
   5724   rm -f conftest.er1
   5725   cat conftest.err >&5
   5726   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5727   (exit $ac_status); } && {
   5728 	 test -z "$ac_cxx_werror_flag" ||
   5729 	 test ! -s conftest.err
   5730        } && test -s conftest.$ac_objext; then
   5731   ac_cv_prog_cxx_g=yes
   5732 else
   5733   $as_echo "$as_me: failed program was:" >&5
   5734 sed 's/^/| /' conftest.$ac_ext >&5
   5735 
   5736 
   5737 fi
   5738 
   5739 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5740 fi
   5741 
   5742 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5743 fi
   5744 
   5745 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5746    ac_cxx_werror_flag=$ac_save_cxx_werror_flag
   5747 fi
   5748 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
   5749 $as_echo "$ac_cv_prog_cxx_g" >&6; }
   5750 if test "$ac_test_CXXFLAGS" = set; then
   5751   CXXFLAGS=$ac_save_CXXFLAGS
   5752 elif test $ac_cv_prog_cxx_g = yes; then
   5753   if test "$GXX" = yes; then
   5754     CXXFLAGS="-g -O2"
   5755   else
   5756     CXXFLAGS="-g"
   5757   fi
   5758 else
   5759   if test "$GXX" = yes; then
   5760     CXXFLAGS="-O2"
   5761   else
   5762     CXXFLAGS=
   5763   fi
   5764 fi
   5765 ac_ext=cpp
   5766 ac_cpp='$CXXCPP $CPPFLAGS'
   5767 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5768 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5769 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   5770 
   5771 depcc="$CXX"  am_compiler_list=
   5772 
   5773 { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
   5774 $as_echo_n "checking dependency style of $depcc... " >&6; }
   5775 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
   5776   $as_echo_n "(cached) " >&6
   5777 else
   5778   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   5779   # We make a subdir and do the tests there.  Otherwise we can end up
   5780   # making bogus files that we don't know about and never remove.  For
   5781   # instance it was reported that on HP-UX the gcc test will end up
   5782   # making a dummy file named `D' -- because `-MD' means `put the output
   5783   # in D'.
   5784   mkdir conftest.dir
   5785   # Copy depcomp to subdir because otherwise we won't find it if we're
   5786   # using a relative directory.
   5787   cp "$am_depcomp" conftest.dir
   5788   cd conftest.dir
   5789   # We will build objects and dependencies in a subdirectory because
   5790   # it helps to detect inapplicable dependency modes.  For instance
   5791   # both Tru64's cc and ICC support -MD to output dependencies as a
   5792   # side effect of compilation, but ICC will put the dependencies in
   5793   # the current directory while Tru64 will put them in the object
   5794   # directory.
   5795   mkdir sub
   5796 
   5797   am_cv_CXX_dependencies_compiler_type=none
   5798   if test "$am_compiler_list" = ""; then
   5799      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   5800   fi
   5801   am__universal=false
   5802   case " $depcc " in #(
   5803      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   5804      esac
   5805 
   5806   for depmode in $am_compiler_list; do
   5807     # Setup a source with many dependencies, because some compilers
   5808     # like to wrap large dependency lists on column 80 (with \), and
   5809     # we should not choose a depcomp mode which is confused by this.
   5810     #
   5811     # We need to recreate these files for each test, as the compiler may
   5812     # overwrite some of them when testing with obscure command lines.
   5813     # This happens at least with the AIX C compiler.
   5814     : > sub/conftest.c
   5815     for i in 1 2 3 4 5 6; do
   5816       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   5817       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
   5818       # Solaris 8's {/usr,}/bin/sh.
   5819       touch sub/conftst$i.h
   5820     done
   5821     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   5822 
   5823     # We check with `-c' and `-o' for the sake of the "dashmstdout"
   5824     # mode.  It turns out that the SunPro C++ compiler does not properly
   5825     # handle `-M -o', and we need to detect this.  Also, some Intel
   5826     # versions had trouble with output in subdirs
   5827     am__obj=sub/conftest.${OBJEXT-o}
   5828     am__minus_obj="-o $am__obj"
   5829     case $depmode in
   5830     gcc)
   5831       # This depmode causes a compiler race in universal mode.
   5832       test "$am__universal" = false || continue
   5833       ;;
   5834     nosideeffect)
   5835       # after this tag, mechanisms are not by side-effect, so they'll
   5836       # only be used when explicitly requested
   5837       if test "x$enable_dependency_tracking" = xyes; then
   5838 	continue
   5839       else
   5840 	break
   5841       fi
   5842       ;;
   5843     msvisualcpp | msvcmsys)
   5844       # This compiler won't grok `-c -o', but also, the minuso test has
   5845       # not run yet.  These depmodes are late enough in the game, and
   5846       # so weak that their functioning should not be impacted.
   5847       am__obj=conftest.${OBJEXT-o}
   5848       am__minus_obj=
   5849       ;;
   5850     none) break ;;
   5851     esac
   5852     if depmode=$depmode \
   5853        source=sub/conftest.c object=$am__obj \
   5854        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   5855        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   5856          >/dev/null 2>conftest.err &&
   5857        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   5858        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   5859        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   5860        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   5861       # icc doesn't choke on unknown options, it will just issue warnings
   5862       # or remarks (even with -Werror).  So we grep stderr for any message
   5863       # that says an option was ignored or not supported.
   5864       # When given -MP, icc 7.0 and 7.1 complain thusly:
   5865       #   icc: Command line warning: ignoring option '-M'; no argument required
   5866       # The diagnosis changed in icc 8.0:
   5867       #   icc: Command line remark: option '-MP' not supported
   5868       if (grep 'ignoring option' conftest.err ||
   5869           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   5870         am_cv_CXX_dependencies_compiler_type=$depmode
   5871         break
   5872       fi
   5873     fi
   5874   done
   5875 
   5876   cd ..
   5877   rm -rf conftest.dir
   5878 else
   5879   am_cv_CXX_dependencies_compiler_type=none
   5880 fi
   5881 
   5882 fi
   5883 { $as_echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
   5884 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
   5885 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
   5886 
   5887  if
   5888   test "x$enable_dependency_tracking" != xno \
   5889   && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
   5890   am__fastdepCXX_TRUE=
   5891   am__fastdepCXX_FALSE='#'
   5892 else
   5893   am__fastdepCXX_TRUE='#'
   5894   am__fastdepCXX_FALSE=
   5895 fi
   5896 
   5897 
   5898 
   5899 
   5900 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
   5901     ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
   5902     (test "X$CXX" != "Xg++"))) ; then
   5903   ac_ext=cpp
   5904 ac_cpp='$CXXCPP $CPPFLAGS'
   5905 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5906 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5907 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   5908 { $as_echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
   5909 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
   5910 if test -z "$CXXCPP"; then
   5911   if test "${ac_cv_prog_CXXCPP+set}" = set; then
   5912   $as_echo_n "(cached) " >&6
   5913 else
   5914       # Double quotes because CXXCPP needs to be expanded
   5915     for CXXCPP in "$CXX -E" "/lib/cpp"
   5916     do
   5917       ac_preproc_ok=false
   5918 for ac_cxx_preproc_warn_flag in '' yes
   5919 do
   5920   # Use a header file that comes with gcc, so configuring glibc
   5921   # with a fresh cross-compiler works.
   5922   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   5923   # <limits.h> exists even on freestanding compilers.
   5924   # On the NeXT, cc -E runs the code through the compiler's parser,
   5925   # not just through cpp. "Syntax error" is here to catch this case.
   5926   cat >conftest.$ac_ext <<_ACEOF
   5927 /* confdefs.h.  */
   5928 _ACEOF
   5929 cat confdefs.h >>conftest.$ac_ext
   5930 cat >>conftest.$ac_ext <<_ACEOF
   5931 /* end confdefs.h.  */
   5932 #ifdef __STDC__
   5933 # include <limits.h>
   5934 #else
   5935 # include <assert.h>
   5936 #endif
   5937 		     Syntax error
   5938 _ACEOF
   5939 if { (ac_try="$ac_cpp conftest.$ac_ext"
   5940 case "(($ac_try" in
   5941   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5942   *) ac_try_echo=$ac_try;;
   5943 esac
   5944 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5945 $as_echo "$ac_try_echo") >&5
   5946   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   5947   ac_status=$?
   5948   grep -v '^ *+' conftest.er1 >conftest.err
   5949   rm -f conftest.er1
   5950   cat conftest.err >&5
   5951   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5952   (exit $ac_status); } >/dev/null && {
   5953 	 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
   5954 	 test ! -s conftest.err
   5955        }; then
   5956   :
   5957 else
   5958   $as_echo "$as_me: failed program was:" >&5
   5959 sed 's/^/| /' conftest.$ac_ext >&5
   5960 
   5961   # Broken: fails on valid input.
   5962 continue
   5963 fi
   5964 
   5965 rm -f conftest.err conftest.$ac_ext
   5966 
   5967   # OK, works on sane cases.  Now check whether nonexistent headers
   5968   # can be detected and how.
   5969   cat >conftest.$ac_ext <<_ACEOF
   5970 /* confdefs.h.  */
   5971 _ACEOF
   5972 cat confdefs.h >>conftest.$ac_ext
   5973 cat >>conftest.$ac_ext <<_ACEOF
   5974 /* end confdefs.h.  */
   5975 #include <ac_nonexistent.h>
   5976 _ACEOF
   5977 if { (ac_try="$ac_cpp conftest.$ac_ext"
   5978 case "(($ac_try" in
   5979   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5980   *) ac_try_echo=$ac_try;;
   5981 esac
   5982 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5983 $as_echo "$ac_try_echo") >&5
   5984   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   5985   ac_status=$?
   5986   grep -v '^ *+' conftest.er1 >conftest.err
   5987   rm -f conftest.er1
   5988   cat conftest.err >&5
   5989   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5990   (exit $ac_status); } >/dev/null && {
   5991 	 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
   5992 	 test ! -s conftest.err
   5993        }; then
   5994   # Broken: success on invalid input.
   5995 continue
   5996 else
   5997   $as_echo "$as_me: failed program was:" >&5
   5998 sed 's/^/| /' conftest.$ac_ext >&5
   5999 
   6000   # Passes both tests.
   6001 ac_preproc_ok=:
   6002 break
   6003 fi
   6004 
   6005 rm -f conftest.err conftest.$ac_ext
   6006 
   6007 done
   6008 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   6009 rm -f conftest.err conftest.$ac_ext
   6010 if $ac_preproc_ok; then
   6011   break
   6012 fi
   6013 
   6014     done
   6015     ac_cv_prog_CXXCPP=$CXXCPP
   6016 
   6017 fi
   6018   CXXCPP=$ac_cv_prog_CXXCPP
   6019 else
   6020   ac_cv_prog_CXXCPP=$CXXCPP
   6021 fi
   6022 { $as_echo "$as_me:$LINENO: result: $CXXCPP" >&5
   6023 $as_echo "$CXXCPP" >&6; }
   6024 ac_preproc_ok=false
   6025 for ac_cxx_preproc_warn_flag in '' yes
   6026 do
   6027   # Use a header file that comes with gcc, so configuring glibc
   6028   # with a fresh cross-compiler works.
   6029   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   6030   # <limits.h> exists even on freestanding compilers.
   6031   # On the NeXT, cc -E runs the code through the compiler's parser,
   6032   # not just through cpp. "Syntax error" is here to catch this case.
   6033   cat >conftest.$ac_ext <<_ACEOF
   6034 /* confdefs.h.  */
   6035 _ACEOF
   6036 cat confdefs.h >>conftest.$ac_ext
   6037 cat >>conftest.$ac_ext <<_ACEOF
   6038 /* end confdefs.h.  */
   6039 #ifdef __STDC__
   6040 # include <limits.h>
   6041 #else
   6042 # include <assert.h>
   6043 #endif
   6044 		     Syntax error
   6045 _ACEOF
   6046 if { (ac_try="$ac_cpp conftest.$ac_ext"
   6047 case "(($ac_try" in
   6048   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6049   *) ac_try_echo=$ac_try;;
   6050 esac
   6051 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   6052 $as_echo "$ac_try_echo") >&5
   6053   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   6054   ac_status=$?
   6055   grep -v '^ *+' conftest.er1 >conftest.err
   6056   rm -f conftest.er1
   6057   cat conftest.err >&5
   6058   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6059   (exit $ac_status); } >/dev/null && {
   6060 	 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
   6061 	 test ! -s conftest.err
   6062        }; then
   6063   :
   6064 else
   6065   $as_echo "$as_me: failed program was:" >&5
   6066 sed 's/^/| /' conftest.$ac_ext >&5
   6067 
   6068   # Broken: fails on valid input.
   6069 continue
   6070 fi
   6071 
   6072 rm -f conftest.err conftest.$ac_ext
   6073 
   6074   # OK, works on sane cases.  Now check whether nonexistent headers
   6075   # can be detected and how.
   6076   cat >conftest.$ac_ext <<_ACEOF
   6077 /* confdefs.h.  */
   6078 _ACEOF
   6079 cat confdefs.h >>conftest.$ac_ext
   6080 cat >>conftest.$ac_ext <<_ACEOF
   6081 /* end confdefs.h.  */
   6082 #include <ac_nonexistent.h>
   6083 _ACEOF
   6084 if { (ac_try="$ac_cpp conftest.$ac_ext"
   6085 case "(($ac_try" in
   6086   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6087   *) ac_try_echo=$ac_try;;
   6088 esac
   6089 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   6090 $as_echo "$ac_try_echo") >&5
   6091   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   6092   ac_status=$?
   6093   grep -v '^ *+' conftest.er1 >conftest.err
   6094   rm -f conftest.er1
   6095   cat conftest.err >&5
   6096   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6097   (exit $ac_status); } >/dev/null && {
   6098 	 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
   6099 	 test ! -s conftest.err
   6100        }; then
   6101   # Broken: success on invalid input.
   6102 continue
   6103 else
   6104   $as_echo "$as_me: failed program was:" >&5
   6105 sed 's/^/| /' conftest.$ac_ext >&5
   6106 
   6107   # Passes both tests.
   6108 ac_preproc_ok=:
   6109 break
   6110 fi
   6111 
   6112 rm -f conftest.err conftest.$ac_ext
   6113 
   6114 done
   6115 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   6116 rm -f conftest.err conftest.$ac_ext
   6117 if $ac_preproc_ok; then
   6118   :
   6119 else
   6120   { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   6121 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   6122 { { $as_echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
   6123 See \`config.log' for more details." >&5
   6124 $as_echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
   6125 See \`config.log' for more details." >&2;}
   6126    { (exit 1); exit 1; }; }; }
   6127 fi
   6128 
   6129 ac_ext=cpp
   6130 ac_cpp='$CXXCPP $CPPFLAGS'
   6131 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   6132 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   6133 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   6134 
   6135 fi
   6136 
   6137 
   6138 ac_ext=f
   6139 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
   6140 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   6141 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
   6142 if test -n "$ac_tool_prefix"; then
   6143   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
   6144   do
   6145     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   6146 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   6147 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   6148 $as_echo_n "checking for $ac_word... " >&6; }
   6149 if test "${ac_cv_prog_F77+set}" = set; then
   6150   $as_echo_n "(cached) " >&6
   6151 else
   6152   if test -n "$F77"; then
   6153   ac_cv_prog_F77="$F77" # Let the user override the test.
   6154 else
   6155 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6156 for as_dir in $PATH
   6157 do
   6158   IFS=$as_save_IFS
   6159   test -z "$as_dir" && as_dir=.
   6160   for ac_exec_ext in '' $ac_executable_extensions; do
   6161   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6162     ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
   6163     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6164     break 2
   6165   fi
   6166 done
   6167 done
   6168 IFS=$as_save_IFS
   6169 
   6170 fi
   6171 fi
   6172 F77=$ac_cv_prog_F77
   6173 if test -n "$F77"; then
   6174   { $as_echo "$as_me:$LINENO: result: $F77" >&5
   6175 $as_echo "$F77" >&6; }
   6176 else
   6177   { $as_echo "$as_me:$LINENO: result: no" >&5
   6178 $as_echo "no" >&6; }
   6179 fi
   6180 
   6181 
   6182     test -n "$F77" && break
   6183   done
   6184 fi
   6185 if test -z "$F77"; then
   6186   ac_ct_F77=$F77
   6187   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
   6188 do
   6189   # Extract the first word of "$ac_prog", so it can be a program name with args.
   6190 set dummy $ac_prog; ac_word=$2
   6191 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   6192 $as_echo_n "checking for $ac_word... " >&6; }
   6193 if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
   6194   $as_echo_n "(cached) " >&6
   6195 else
   6196   if test -n "$ac_ct_F77"; then
   6197   ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test.
   6198 else
   6199 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6200 for as_dir in $PATH
   6201 do
   6202   IFS=$as_save_IFS
   6203   test -z "$as_dir" && as_dir=.
   6204   for ac_exec_ext in '' $ac_executable_extensions; do
   6205   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6206     ac_cv_prog_ac_ct_F77="$ac_prog"
   6207     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6208     break 2
   6209   fi
   6210 done
   6211 done
   6212 IFS=$as_save_IFS
   6213 
   6214 fi
   6215 fi
   6216 ac_ct_F77=$ac_cv_prog_ac_ct_F77
   6217 if test -n "$ac_ct_F77"; then
   6218   { $as_echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
   6219 $as_echo "$ac_ct_F77" >&6; }
   6220 else
   6221   { $as_echo "$as_me:$LINENO: result: no" >&5
   6222 $as_echo "no" >&6; }
   6223 fi
   6224 
   6225 
   6226   test -n "$ac_ct_F77" && break
   6227 done
   6228 
   6229   if test "x$ac_ct_F77" = x; then
   6230     F77=""
   6231   else
   6232     case $cross_compiling:$ac_tool_warned in
   6233 yes:)
   6234 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   6235 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6236 ac_tool_warned=yes ;;
   6237 esac
   6238     F77=$ac_ct_F77
   6239   fi
   6240 fi
   6241 
   6242 
   6243 # Provide some information about the compiler.
   6244 $as_echo "$as_me:$LINENO: checking for Fortran 77 compiler version" >&5
   6245 set X $ac_compile
   6246 ac_compiler=$2
   6247 { (ac_try="$ac_compiler --version >&5"
   6248 case "(($ac_try" in
   6249   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6250   *) ac_try_echo=$ac_try;;
   6251 esac
   6252 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   6253 $as_echo "$ac_try_echo") >&5
   6254   (eval "$ac_compiler --version >&5") 2>&5
   6255   ac_status=$?
   6256   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6257   (exit $ac_status); }
   6258 { (ac_try="$ac_compiler -v >&5"
   6259 case "(($ac_try" in
   6260   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6261   *) ac_try_echo=$ac_try;;
   6262 esac
   6263 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   6264 $as_echo "$ac_try_echo") >&5
   6265   (eval "$ac_compiler -v >&5") 2>&5
   6266   ac_status=$?
   6267   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6268   (exit $ac_status); }
   6269 { (ac_try="$ac_compiler -V >&5"
   6270 case "(($ac_try" in
   6271   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6272   *) ac_try_echo=$ac_try;;
   6273 esac
   6274 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   6275 $as_echo "$ac_try_echo") >&5
   6276   (eval "$ac_compiler -V >&5") 2>&5
   6277   ac_status=$?
   6278   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6279   (exit $ac_status); }
   6280 rm -f a.out
   6281 
   6282 # If we don't use `.F' as extension, the preprocessor is not run on the
   6283 # input file.  (Note that this only needs to work for GNU compilers.)
   6284 ac_save_ext=$ac_ext
   6285 ac_ext=F
   6286 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
   6287 $as_echo_n "checking whether we are using the GNU Fortran 77 compiler... " >&6; }
   6288 if test "${ac_cv_f77_compiler_gnu+set}" = set; then
   6289   $as_echo_n "(cached) " >&6
   6290 else
   6291   cat >conftest.$ac_ext <<_ACEOF
   6292       program main
   6293 #ifndef __GNUC__
   6294        choke me
   6295 #endif
   6296 
   6297       end
   6298 _ACEOF
   6299 rm -f conftest.$ac_objext
   6300 if { (ac_try="$ac_compile"
   6301 case "(($ac_try" in
   6302   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6303   *) ac_try_echo=$ac_try;;
   6304 esac
   6305 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   6306 $as_echo "$ac_try_echo") >&5
   6307   (eval "$ac_compile") 2>conftest.er1
   6308   ac_status=$?
   6309   grep -v '^ *+' conftest.er1 >conftest.err
   6310   rm -f conftest.er1
   6311   cat conftest.err >&5
   6312   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6313   (exit $ac_status); } && {
   6314 	 test -z "$ac_f77_werror_flag" ||
   6315 	 test ! -s conftest.err
   6316        } && test -s conftest.$ac_objext; then
   6317   ac_compiler_gnu=yes
   6318 else
   6319   $as_echo "$as_me: failed program was:" >&5
   6320 sed 's/^/| /' conftest.$ac_ext >&5
   6321 
   6322 	ac_compiler_gnu=no
   6323 fi
   6324 
   6325 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6326 ac_cv_f77_compiler_gnu=$ac_compiler_gnu
   6327 
   6328 fi
   6329 { $as_echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
   6330 $as_echo "$ac_cv_f77_compiler_gnu" >&6; }
   6331 ac_ext=$ac_save_ext
   6332 ac_test_FFLAGS=${FFLAGS+set}
   6333 ac_save_FFLAGS=$FFLAGS
   6334 FFLAGS=
   6335 { $as_echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
   6336 $as_echo_n "checking whether $F77 accepts -g... " >&6; }
   6337 if test "${ac_cv_prog_f77_g+set}" = set; then
   6338   $as_echo_n "(cached) " >&6
   6339 else
   6340   FFLAGS=-g
   6341 cat >conftest.$ac_ext <<_ACEOF
   6342       program main
   6343 
   6344       end
   6345 _ACEOF
   6346 rm -f conftest.$ac_objext
   6347 if { (ac_try="$ac_compile"
   6348 case "(($ac_try" in
   6349   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6350   *) ac_try_echo=$ac_try;;
   6351 esac
   6352 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   6353 $as_echo "$ac_try_echo") >&5
   6354   (eval "$ac_compile") 2>conftest.er1
   6355   ac_status=$?
   6356   grep -v '^ *+' conftest.er1 >conftest.err
   6357   rm -f conftest.er1
   6358   cat conftest.err >&5
   6359   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6360   (exit $ac_status); } && {
   6361 	 test -z "$ac_f77_werror_flag" ||
   6362 	 test ! -s conftest.err
   6363        } && test -s conftest.$ac_objext; then
   6364   ac_cv_prog_f77_g=yes
   6365 else
   6366   $as_echo "$as_me: failed program was:" >&5
   6367 sed 's/^/| /' conftest.$ac_ext >&5
   6368 
   6369 	ac_cv_prog_f77_g=no
   6370 fi
   6371 
   6372 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6373 
   6374 fi
   6375 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
   6376 $as_echo "$ac_cv_prog_f77_g" >&6; }
   6377 if test "$ac_test_FFLAGS" = set; then
   6378   FFLAGS=$ac_save_FFLAGS
   6379 elif test $ac_cv_prog_f77_g = yes; then
   6380   if test "x$ac_cv_f77_compiler_gnu" = xyes; then
   6381     FFLAGS="-g -O2"
   6382   else
   6383     FFLAGS="-g"
   6384   fi
   6385 else
   6386   if test "x$ac_cv_f77_compiler_gnu" = xyes; then
   6387     FFLAGS="-O2"
   6388   else
   6389     FFLAGS=
   6390   fi
   6391 fi
   6392 
   6393 if test $ac_compiler_gnu = yes; then
   6394   G77=yes
   6395 else
   6396   G77=
   6397 fi
   6398 ac_ext=c
   6399 ac_cpp='$CPP $CPPFLAGS'
   6400 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   6401 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   6402 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   6403 
   6404 
   6405 
   6406 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
   6407 # find the maximum length of command line arguments
   6408 { $as_echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
   6409 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
   6410 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
   6411   $as_echo_n "(cached) " >&6
   6412 else
   6413     i=0
   6414   teststring="ABCD"
   6415 
   6416   case $build_os in
   6417   msdosdjgpp*)
   6418     # On DJGPP, this test can blow up pretty badly due to problems in libc
   6419     # (any single argument exceeding 2000 bytes causes a buffer overrun
   6420     # during glob expansion).  Even if it were fixed, the result of this
   6421     # check would be larger than it should be.
   6422     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
   6423     ;;
   6424 
   6425   gnu*)
   6426     # Under GNU Hurd, this test is not required because there is
   6427     # no limit to the length of command line arguments.
   6428     # Libtool will interpret -1 as no limit whatsoever
   6429     lt_cv_sys_max_cmd_len=-1;
   6430     ;;
   6431 
   6432   cygwin* | mingw*)
   6433     # On Win9x/ME, this test blows up -- it succeeds, but takes
   6434     # about 5 minutes as the teststring grows exponentially.
   6435     # Worse, since 9x/ME are not pre-emptively multitasking,
   6436     # you end up with a "frozen" computer, even though with patience
   6437     # the test eventually succeeds (with a max line length of 256k).
   6438     # Instead, let's just punt: use the minimum linelength reported by
   6439     # all of the supported platforms: 8192 (on NT/2K/XP).
   6440     lt_cv_sys_max_cmd_len=8192;
   6441     ;;
   6442 
   6443   amigaos*)
   6444     # On AmigaOS with pdksh, this test takes hours, literally.
   6445     # So we just punt and use a minimum line length of 8192.
   6446     lt_cv_sys_max_cmd_len=8192;
   6447     ;;
   6448 
   6449   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
   6450     # This has been around since 386BSD, at least.  Likely further.
   6451     if test -x /sbin/sysctl; then
   6452       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
   6453     elif test -x /usr/sbin/sysctl; then
   6454       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
   6455     else
   6456       lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
   6457     fi
   6458     # And add a safety zone
   6459     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   6460     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   6461     ;;
   6462 
   6463   interix*)
   6464     # We know the value 262144 and hardcode it with a safety zone (like BSD)
   6465     lt_cv_sys_max_cmd_len=196608
   6466     ;;
   6467 
   6468   osf*)
   6469     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
   6470     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
   6471     # nice to cause kernel panics so lets avoid the loop below.
   6472     # First set a reasonable default.
   6473     lt_cv_sys_max_cmd_len=16384
   6474     #
   6475     if test -x /sbin/sysconfig; then
   6476       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
   6477         *1*) lt_cv_sys_max_cmd_len=-1 ;;
   6478       esac
   6479     fi
   6480     ;;
   6481   sco3.2v5*)
   6482     lt_cv_sys_max_cmd_len=102400
   6483     ;;
   6484   sysv5* | sco5v6* | sysv4.2uw2*)
   6485     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
   6486     if test -n "$kargmax"; then
   6487       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ 	]//'`
   6488     else
   6489       lt_cv_sys_max_cmd_len=32768
   6490     fi
   6491     ;;
   6492   *)
   6493     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
   6494     if test -n "$lt_cv_sys_max_cmd_len"; then
   6495       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   6496       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   6497     else
   6498       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
   6499       while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
   6500 	       = "XX$teststring") >/dev/null 2>&1 &&
   6501 	      new_result=`expr "X$teststring" : ".*" 2>&1` &&
   6502 	      lt_cv_sys_max_cmd_len=$new_result &&
   6503 	      test $i != 17 # 1/2 MB should be enough
   6504       do
   6505         i=`expr $i + 1`
   6506         teststring=$teststring$teststring
   6507       done
   6508       teststring=
   6509       # Add a significant safety factor because C++ compilers can tack on massive
   6510       # amounts of additional arguments before passing them to the linker.
   6511       # It appears as though 1/2 is a usable value.
   6512       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
   6513     fi
   6514     ;;
   6515   esac
   6516 
   6517 fi
   6518 
   6519 if test -n $lt_cv_sys_max_cmd_len ; then
   6520   { $as_echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
   6521 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
   6522 else
   6523   { $as_echo "$as_me:$LINENO: result: none" >&5
   6524 $as_echo "none" >&6; }
   6525 fi
   6526 
   6527 
   6528 
   6529 
   6530 
   6531 # Check for command to grab the raw symbol name followed by C symbol from nm.
   6532 { $as_echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
   6533 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
   6534 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
   6535   $as_echo_n "(cached) " >&6
   6536 else
   6537 
   6538 # These are sane defaults that work on at least a few old systems.
   6539 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
   6540 
   6541 # Character class describing NM global symbol codes.
   6542 symcode='[BCDEGRST]'
   6543 
   6544 # Regexp to match symbols that can be accessed directly from C.
   6545 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
   6546 
   6547 # Transform an extracted symbol line into a proper C declaration
   6548 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
   6549 
   6550 # Transform an extracted symbol line into symbol name and symbol address
   6551 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'"
   6552 
   6553 # Define system-specific variables.
   6554 case $host_os in
   6555 aix*)
   6556   symcode='[BCDT]'
   6557   ;;
   6558 cygwin* | mingw* | pw32*)
   6559   symcode='[ABCDGISTW]'
   6560   ;;
   6561 hpux*) # Its linker distinguishes data from code symbols
   6562   if test "$host_cpu" = ia64; then
   6563     symcode='[ABCDEGRST]'
   6564   fi
   6565   lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
   6566   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'"
   6567   ;;
   6568 linux* | k*bsd*-gnu)
   6569   if test "$host_cpu" = ia64; then
   6570     symcode='[ABCDGIRSTW]'
   6571     lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
   6572     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'"
   6573   fi
   6574   ;;
   6575 irix* | nonstopux*)
   6576   symcode='[BCDEGRST]'
   6577   ;;
   6578 osf*)
   6579   symcode='[BCDEGQRST]'
   6580   ;;
   6581 solaris*)
   6582   symcode='[BDRT]'
   6583   ;;
   6584 sco3.2v5*)
   6585   symcode='[DT]'
   6586   ;;
   6587 sysv4.2uw2*)
   6588   symcode='[DT]'
   6589   ;;
   6590 sysv5* | sco5v6* | unixware* | OpenUNIX*)
   6591   symcode='[ABDT]'
   6592   ;;
   6593 sysv4)
   6594   symcode='[DFNSTU]'
   6595   ;;
   6596 esac
   6597 
   6598 # Handle CRLF in mingw tool chain
   6599 opt_cr=
   6600 case $build_os in
   6601 mingw*)
   6602   opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
   6603   ;;
   6604 esac
   6605 
   6606 # If we're using GNU nm, then use its standard symbol codes.
   6607 case `$NM -V 2>&1` in
   6608 *GNU* | *'with BFD'*)
   6609   symcode='[ABCDGIRSTW]' ;;
   6610 esac
   6611 
   6612 # Try without a prefix undercore, then with it.
   6613 for ac_symprfx in "" "_"; do
   6614 
   6615   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
   6616   symxfrm="\\1 $ac_symprfx\\2 \\2"
   6617 
   6618   # Write the raw and C identifiers.
   6619   lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ 	]\($symcode$symcode*\)[ 	][ 	]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
   6620 
   6621   # Check to see that the pipe works correctly.
   6622   pipe_works=no
   6623 
   6624   rm -f conftest*
   6625   cat > conftest.$ac_ext <<EOF
   6626 #ifdef __cplusplus
   6627 extern "C" {
   6628 #endif
   6629 char nm_test_var;
   6630 void nm_test_func(){}
   6631 #ifdef __cplusplus
   6632 }
   6633 #endif
   6634 int main(){nm_test_var='a';nm_test_func();return(0);}
   6635 EOF
   6636 
   6637   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   6638   (eval $ac_compile) 2>&5
   6639   ac_status=$?
   6640   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6641   (exit $ac_status); }; then
   6642     # Now try to grab the symbols.
   6643     nlist=conftest.nm
   6644     if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
   6645   (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
   6646   ac_status=$?
   6647   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6648   (exit $ac_status); } && test -s "$nlist"; then
   6649       # Try sorting and uniquifying the output.
   6650       if sort "$nlist" | uniq > "$nlist"T; then
   6651 	mv -f "$nlist"T "$nlist"
   6652       else
   6653 	rm -f "$nlist"T
   6654       fi
   6655 
   6656       # Make sure that we snagged all the symbols we need.
   6657       if grep ' nm_test_var$' "$nlist" >/dev/null; then
   6658 	if grep ' nm_test_func$' "$nlist" >/dev/null; then
   6659 	  cat <<EOF > conftest.$ac_ext
   6660 #ifdef __cplusplus
   6661 extern "C" {
   6662 #endif
   6663 
   6664 EOF
   6665 	  # Now generate the symbol file.
   6666 	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
   6667 
   6668 	  cat <<EOF >> conftest.$ac_ext
   6669 #if defined (__STDC__) && __STDC__
   6670 # define lt_ptr_t void *
   6671 #else
   6672 # define lt_ptr_t char *
   6673 # define const
   6674 #endif
   6675 
   6676 /* The mapping between symbol names and symbols. */
   6677 const struct {
   6678   const char *name;
   6679   lt_ptr_t address;
   6680 }
   6681 lt_preloaded_symbols[] =
   6682 {
   6683 EOF
   6684 	  $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext
   6685 	  cat <<\EOF >> conftest.$ac_ext
   6686   {0, (lt_ptr_t) 0}
   6687 };
   6688 
   6689 #ifdef __cplusplus
   6690 }
   6691 #endif
   6692 EOF
   6693 	  # Now try linking the two files.
   6694 	  mv conftest.$ac_objext conftstm.$ac_objext
   6695 	  lt_save_LIBS="$LIBS"
   6696 	  lt_save_CFLAGS="$CFLAGS"
   6697 	  LIBS="conftstm.$ac_objext"
   6698 	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
   6699 	  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   6700   (eval $ac_link) 2>&5
   6701   ac_status=$?
   6702   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6703   (exit $ac_status); } && test -s conftest${ac_exeext}; then
   6704 	    pipe_works=yes
   6705 	  fi
   6706 	  LIBS="$lt_save_LIBS"
   6707 	  CFLAGS="$lt_save_CFLAGS"
   6708 	else
   6709 	  echo "cannot find nm_test_func in $nlist" >&5
   6710 	fi
   6711       else
   6712 	echo "cannot find nm_test_var in $nlist" >&5
   6713       fi
   6714     else
   6715       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
   6716     fi
   6717   else
   6718     echo "$progname: failed program was:" >&5
   6719     cat conftest.$ac_ext >&5
   6720   fi
   6721   rm -rf conftest* conftst*
   6722 
   6723   # Do not use the global_symbol_pipe unless it works.
   6724   if test "$pipe_works" = yes; then
   6725     break
   6726   else
   6727     lt_cv_sys_global_symbol_pipe=
   6728   fi
   6729 done
   6730 
   6731 fi
   6732 
   6733 if test -z "$lt_cv_sys_global_symbol_pipe"; then
   6734   lt_cv_sys_global_symbol_to_cdecl=
   6735 fi
   6736 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
   6737   { $as_echo "$as_me:$LINENO: result: failed" >&5
   6738 $as_echo "failed" >&6; }
   6739 else
   6740   { $as_echo "$as_me:$LINENO: result: ok" >&5
   6741 $as_echo "ok" >&6; }
   6742 fi
   6743 
   6744 { $as_echo "$as_me:$LINENO: checking for objdir" >&5
   6745 $as_echo_n "checking for objdir... " >&6; }
   6746 if test "${lt_cv_objdir+set}" = set; then
   6747   $as_echo_n "(cached) " >&6
   6748 else
   6749   rm -f .libs 2>/dev/null
   6750 mkdir .libs 2>/dev/null
   6751 if test -d .libs; then
   6752   lt_cv_objdir=.libs
   6753 else
   6754   # MS-DOS does not allow filenames that begin with a dot.
   6755   lt_cv_objdir=_libs
   6756 fi
   6757 rmdir .libs 2>/dev/null
   6758 fi
   6759 { $as_echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
   6760 $as_echo "$lt_cv_objdir" >&6; }
   6761 objdir=$lt_cv_objdir
   6762 
   6763 
   6764 
   6765 
   6766 
   6767 case $host_os in
   6768 aix3*)
   6769   # AIX sometimes has problems with the GCC collect2 program.  For some
   6770   # reason, if we set the COLLECT_NAMES environment variable, the problems
   6771   # vanish in a puff of smoke.
   6772   if test "X${COLLECT_NAMES+set}" != Xset; then
   6773     COLLECT_NAMES=
   6774     export COLLECT_NAMES
   6775   fi
   6776   ;;
   6777 esac
   6778 
   6779 # Sed substitution that helps us do robust quoting.  It backslashifies
   6780 # metacharacters that are still active within double-quoted strings.
   6781 Xsed='sed -e 1s/^X//'
   6782 sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g'
   6783 
   6784 # Same as above, but do not quote variable references.
   6785 double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g'
   6786 
   6787 # Sed substitution to delay expansion of an escaped shell variable in a
   6788 # double_quote_subst'ed string.
   6789 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
   6790 
   6791 # Sed substitution to avoid accidental globbing in evaled expressions
   6792 no_glob_subst='s/\*/\\\*/g'
   6793 
   6794 # Constants:
   6795 rm="rm -f"
   6796 
   6797 # Global variables:
   6798 default_ofile=libtool
   6799 can_build_shared=yes
   6800 
   6801 # All known linkers require a `.a' archive for static linking (except MSVC,
   6802 # which needs '.lib').
   6803 libext=a
   6804 ltmain="$ac_aux_dir/ltmain.sh"
   6805 ofile="$default_ofile"
   6806 with_gnu_ld="$lt_cv_prog_gnu_ld"
   6807 
   6808 if test -n "$ac_tool_prefix"; then
   6809   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
   6810 set dummy ${ac_tool_prefix}ar; ac_word=$2
   6811 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   6812 $as_echo_n "checking for $ac_word... " >&6; }
   6813 if test "${ac_cv_prog_AR+set}" = set; then
   6814   $as_echo_n "(cached) " >&6
   6815 else
   6816   if test -n "$AR"; then
   6817   ac_cv_prog_AR="$AR" # Let the user override the test.
   6818 else
   6819 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6820 for as_dir in $PATH
   6821 do
   6822   IFS=$as_save_IFS
   6823   test -z "$as_dir" && as_dir=.
   6824   for ac_exec_ext in '' $ac_executable_extensions; do
   6825   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6826     ac_cv_prog_AR="${ac_tool_prefix}ar"
   6827     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6828     break 2
   6829   fi
   6830 done
   6831 done
   6832 IFS=$as_save_IFS
   6833 
   6834 fi
   6835 fi
   6836 AR=$ac_cv_prog_AR
   6837 if test -n "$AR"; then
   6838   { $as_echo "$as_me:$LINENO: result: $AR" >&5
   6839 $as_echo "$AR" >&6; }
   6840 else
   6841   { $as_echo "$as_me:$LINENO: result: no" >&5
   6842 $as_echo "no" >&6; }
   6843 fi
   6844 
   6845 
   6846 fi
   6847 if test -z "$ac_cv_prog_AR"; then
   6848   ac_ct_AR=$AR
   6849   # Extract the first word of "ar", so it can be a program name with args.
   6850 set dummy ar; ac_word=$2
   6851 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   6852 $as_echo_n "checking for $ac_word... " >&6; }
   6853 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
   6854   $as_echo_n "(cached) " >&6
   6855 else
   6856   if test -n "$ac_ct_AR"; then
   6857   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
   6858 else
   6859 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6860 for as_dir in $PATH
   6861 do
   6862   IFS=$as_save_IFS
   6863   test -z "$as_dir" && as_dir=.
   6864   for ac_exec_ext in '' $ac_executable_extensions; do
   6865   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6866     ac_cv_prog_ac_ct_AR="ar"
   6867     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6868     break 2
   6869   fi
   6870 done
   6871 done
   6872 IFS=$as_save_IFS
   6873 
   6874 fi
   6875 fi
   6876 ac_ct_AR=$ac_cv_prog_ac_ct_AR
   6877 if test -n "$ac_ct_AR"; then
   6878   { $as_echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
   6879 $as_echo "$ac_ct_AR" >&6; }
   6880 else
   6881   { $as_echo "$as_me:$LINENO: result: no" >&5
   6882 $as_echo "no" >&6; }
   6883 fi
   6884 
   6885   if test "x$ac_ct_AR" = x; then
   6886     AR="false"
   6887   else
   6888     case $cross_compiling:$ac_tool_warned in
   6889 yes:)
   6890 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   6891 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6892 ac_tool_warned=yes ;;
   6893 esac
   6894     AR=$ac_ct_AR
   6895   fi
   6896 else
   6897   AR="$ac_cv_prog_AR"
   6898 fi
   6899 
   6900 if test -n "$ac_tool_prefix"; then
   6901   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
   6902 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
   6903 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   6904 $as_echo_n "checking for $ac_word... " >&6; }
   6905 if test "${ac_cv_prog_RANLIB+set}" = set; then
   6906   $as_echo_n "(cached) " >&6
   6907 else
   6908   if test -n "$RANLIB"; then
   6909   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
   6910 else
   6911 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6912 for as_dir in $PATH
   6913 do
   6914   IFS=$as_save_IFS
   6915   test -z "$as_dir" && as_dir=.
   6916   for ac_exec_ext in '' $ac_executable_extensions; do
   6917   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6918     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
   6919     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6920     break 2
   6921   fi
   6922 done
   6923 done
   6924 IFS=$as_save_IFS
   6925 
   6926 fi
   6927 fi
   6928 RANLIB=$ac_cv_prog_RANLIB
   6929 if test -n "$RANLIB"; then
   6930   { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
   6931 $as_echo "$RANLIB" >&6; }
   6932 else
   6933   { $as_echo "$as_me:$LINENO: result: no" >&5
   6934 $as_echo "no" >&6; }
   6935 fi
   6936 
   6937 
   6938 fi
   6939 if test -z "$ac_cv_prog_RANLIB"; then
   6940   ac_ct_RANLIB=$RANLIB
   6941   # Extract the first word of "ranlib", so it can be a program name with args.
   6942 set dummy ranlib; ac_word=$2
   6943 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   6944 $as_echo_n "checking for $ac_word... " >&6; }
   6945 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
   6946   $as_echo_n "(cached) " >&6
   6947 else
   6948   if test -n "$ac_ct_RANLIB"; then
   6949   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
   6950 else
   6951 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6952 for as_dir in $PATH
   6953 do
   6954   IFS=$as_save_IFS
   6955   test -z "$as_dir" && as_dir=.
   6956   for ac_exec_ext in '' $ac_executable_extensions; do
   6957   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6958     ac_cv_prog_ac_ct_RANLIB="ranlib"
   6959     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6960     break 2
   6961   fi
   6962 done
   6963 done
   6964 IFS=$as_save_IFS
   6965 
   6966 fi
   6967 fi
   6968 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
   6969 if test -n "$ac_ct_RANLIB"; then
   6970   { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
   6971 $as_echo "$ac_ct_RANLIB" >&6; }
   6972 else
   6973   { $as_echo "$as_me:$LINENO: result: no" >&5
   6974 $as_echo "no" >&6; }
   6975 fi
   6976 
   6977   if test "x$ac_ct_RANLIB" = x; then
   6978     RANLIB=":"
   6979   else
   6980     case $cross_compiling:$ac_tool_warned in
   6981 yes:)
   6982 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   6983 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6984 ac_tool_warned=yes ;;
   6985 esac
   6986     RANLIB=$ac_ct_RANLIB
   6987   fi
   6988 else
   6989   RANLIB="$ac_cv_prog_RANLIB"
   6990 fi
   6991 
   6992 if test -n "$ac_tool_prefix"; then
   6993   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   6994 set dummy ${ac_tool_prefix}strip; ac_word=$2
   6995 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   6996 $as_echo_n "checking for $ac_word... " >&6; }
   6997 if test "${ac_cv_prog_STRIP+set}" = set; then
   6998   $as_echo_n "(cached) " >&6
   6999 else
   7000   if test -n "$STRIP"; then
   7001   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   7002 else
   7003 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7004 for as_dir in $PATH
   7005 do
   7006   IFS=$as_save_IFS
   7007   test -z "$as_dir" && as_dir=.
   7008   for ac_exec_ext in '' $ac_executable_extensions; do
   7009   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7010     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   7011     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   7012     break 2
   7013   fi
   7014 done
   7015 done
   7016 IFS=$as_save_IFS
   7017 
   7018 fi
   7019 fi
   7020 STRIP=$ac_cv_prog_STRIP
   7021 if test -n "$STRIP"; then
   7022   { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
   7023 $as_echo "$STRIP" >&6; }
   7024 else
   7025   { $as_echo "$as_me:$LINENO: result: no" >&5
   7026 $as_echo "no" >&6; }
   7027 fi
   7028 
   7029 
   7030 fi
   7031 if test -z "$ac_cv_prog_STRIP"; then
   7032   ac_ct_STRIP=$STRIP
   7033   # Extract the first word of "strip", so it can be a program name with args.
   7034 set dummy strip; ac_word=$2
   7035 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   7036 $as_echo_n "checking for $ac_word... " >&6; }
   7037 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
   7038   $as_echo_n "(cached) " >&6
   7039 else
   7040   if test -n "$ac_ct_STRIP"; then
   7041   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   7042 else
   7043 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7044 for as_dir in $PATH
   7045 do
   7046   IFS=$as_save_IFS
   7047   test -z "$as_dir" && as_dir=.
   7048   for ac_exec_ext in '' $ac_executable_extensions; do
   7049   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7050     ac_cv_prog_ac_ct_STRIP="strip"
   7051     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   7052     break 2
   7053   fi
   7054 done
   7055 done
   7056 IFS=$as_save_IFS
   7057 
   7058 fi
   7059 fi
   7060 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   7061 if test -n "$ac_ct_STRIP"; then
   7062   { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
   7063 $as_echo "$ac_ct_STRIP" >&6; }
   7064 else
   7065   { $as_echo "$as_me:$LINENO: result: no" >&5
   7066 $as_echo "no" >&6; }
   7067 fi
   7068 
   7069   if test "x$ac_ct_STRIP" = x; then
   7070     STRIP=":"
   7071   else
   7072     case $cross_compiling:$ac_tool_warned in
   7073 yes:)
   7074 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   7075 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7076 ac_tool_warned=yes ;;
   7077 esac
   7078     STRIP=$ac_ct_STRIP
   7079   fi
   7080 else
   7081   STRIP="$ac_cv_prog_STRIP"
   7082 fi
   7083 
   7084 
   7085 old_CC="$CC"
   7086 old_CFLAGS="$CFLAGS"
   7087 
   7088 # Set sane defaults for various variables
   7089 test -z "$AR" && AR=ar
   7090 test -z "$AR_FLAGS" && AR_FLAGS=cru
   7091 test -z "$AS" && AS=as
   7092 test -z "$CC" && CC=cc
   7093 test -z "$LTCC" && LTCC=$CC
   7094 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
   7095 test -z "$DLLTOOL" && DLLTOOL=dlltool
   7096 test -z "$LD" && LD=ld
   7097 test -z "$LN_S" && LN_S="ln -s"
   7098 test -z "$MAGIC_CMD" && MAGIC_CMD=file
   7099 test -z "$NM" && NM=nm
   7100 test -z "$SED" && SED=sed
   7101 test -z "$OBJDUMP" && OBJDUMP=objdump
   7102 test -z "$RANLIB" && RANLIB=:
   7103 test -z "$STRIP" && STRIP=:
   7104 test -z "$ac_objext" && ac_objext=o
   7105 
   7106 # Determine commands to create old-style static archives.
   7107 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
   7108 old_postinstall_cmds='chmod 644 $oldlib'
   7109 old_postuninstall_cmds=
   7110 
   7111 if test -n "$RANLIB"; then
   7112   case $host_os in
   7113   openbsd*)
   7114     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
   7115     ;;
   7116   *)
   7117     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
   7118     ;;
   7119   esac
   7120   old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
   7121 fi
   7122 
   7123 for cc_temp in $compiler""; do
   7124   case $cc_temp in
   7125     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   7126     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   7127     \-*) ;;
   7128     *) break;;
   7129   esac
   7130 done
   7131 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   7132 
   7133 
   7134 # Only perform the check for file, if the check method requires it
   7135 case $deplibs_check_method in
   7136 file_magic*)
   7137   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
   7138     { $as_echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
   7139 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
   7140 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
   7141   $as_echo_n "(cached) " >&6
   7142 else
   7143   case $MAGIC_CMD in
   7144 [\\/*] |  ?:[\\/]*)
   7145   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   7146   ;;
   7147 *)
   7148   lt_save_MAGIC_CMD="$MAGIC_CMD"
   7149   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   7150   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   7151   for ac_dir in $ac_dummy; do
   7152     IFS="$lt_save_ifs"
   7153     test -z "$ac_dir" && ac_dir=.
   7154     if test -f $ac_dir/${ac_tool_prefix}file; then
   7155       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
   7156       if test -n "$file_magic_test_file"; then
   7157 	case $deplibs_check_method in
   7158 	"file_magic "*)
   7159 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   7160 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7161 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   7162 	    $EGREP "$file_magic_regex" > /dev/null; then
   7163 	    :
   7164 	  else
   7165 	    cat <<EOF 1>&2
   7166 
   7167 *** Warning: the command libtool uses to detect shared libraries,
   7168 *** $file_magic_cmd, produces output that libtool cannot recognize.
   7169 *** The result is that libtool may fail to recognize shared libraries
   7170 *** as such.  This will affect the creation of libtool libraries that
   7171 *** depend on shared libraries, but programs linked with such libtool
   7172 *** libraries will work regardless of this problem.  Nevertheless, you
   7173 *** may want to report the problem to your system manager and/or to
   7174 *** bug-libtool@gnu.org
   7175 
   7176 EOF
   7177 	  fi ;;
   7178 	esac
   7179       fi
   7180       break
   7181     fi
   7182   done
   7183   IFS="$lt_save_ifs"
   7184   MAGIC_CMD="$lt_save_MAGIC_CMD"
   7185   ;;
   7186 esac
   7187 fi
   7188 
   7189 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7190 if test -n "$MAGIC_CMD"; then
   7191   { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
   7192 $as_echo "$MAGIC_CMD" >&6; }
   7193 else
   7194   { $as_echo "$as_me:$LINENO: result: no" >&5
   7195 $as_echo "no" >&6; }
   7196 fi
   7197 
   7198 if test -z "$lt_cv_path_MAGIC_CMD"; then
   7199   if test -n "$ac_tool_prefix"; then
   7200     { $as_echo "$as_me:$LINENO: checking for file" >&5
   7201 $as_echo_n "checking for file... " >&6; }
   7202 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
   7203   $as_echo_n "(cached) " >&6
   7204 else
   7205   case $MAGIC_CMD in
   7206 [\\/*] |  ?:[\\/]*)
   7207   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   7208   ;;
   7209 *)
   7210   lt_save_MAGIC_CMD="$MAGIC_CMD"
   7211   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   7212   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   7213   for ac_dir in $ac_dummy; do
   7214     IFS="$lt_save_ifs"
   7215     test -z "$ac_dir" && ac_dir=.
   7216     if test -f $ac_dir/file; then
   7217       lt_cv_path_MAGIC_CMD="$ac_dir/file"
   7218       if test -n "$file_magic_test_file"; then
   7219 	case $deplibs_check_method in
   7220 	"file_magic "*)
   7221 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   7222 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7223 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   7224 	    $EGREP "$file_magic_regex" > /dev/null; then
   7225 	    :
   7226 	  else
   7227 	    cat <<EOF 1>&2
   7228 
   7229 *** Warning: the command libtool uses to detect shared libraries,
   7230 *** $file_magic_cmd, produces output that libtool cannot recognize.
   7231 *** The result is that libtool may fail to recognize shared libraries
   7232 *** as such.  This will affect the creation of libtool libraries that
   7233 *** depend on shared libraries, but programs linked with such libtool
   7234 *** libraries will work regardless of this problem.  Nevertheless, you
   7235 *** may want to report the problem to your system manager and/or to
   7236 *** bug-libtool@gnu.org
   7237 
   7238 EOF
   7239 	  fi ;;
   7240 	esac
   7241       fi
   7242       break
   7243     fi
   7244   done
   7245   IFS="$lt_save_ifs"
   7246   MAGIC_CMD="$lt_save_MAGIC_CMD"
   7247   ;;
   7248 esac
   7249 fi
   7250 
   7251 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7252 if test -n "$MAGIC_CMD"; then
   7253   { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
   7254 $as_echo "$MAGIC_CMD" >&6; }
   7255 else
   7256   { $as_echo "$as_me:$LINENO: result: no" >&5
   7257 $as_echo "no" >&6; }
   7258 fi
   7259 
   7260   else
   7261     MAGIC_CMD=:
   7262   fi
   7263 fi
   7264 
   7265   fi
   7266   ;;
   7267 esac
   7268 
   7269 
   7270   case $host_os in
   7271     rhapsody* | darwin*)
   7272     if test -n "$ac_tool_prefix"; then
   7273   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
   7274 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
   7275 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   7276 $as_echo_n "checking for $ac_word... " >&6; }
   7277 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then
   7278   $as_echo_n "(cached) " >&6
   7279 else
   7280   if test -n "$DSYMUTIL"; then
   7281   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
   7282 else
   7283 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7284 for as_dir in $PATH
   7285 do
   7286   IFS=$as_save_IFS
   7287   test -z "$as_dir" && as_dir=.
   7288   for ac_exec_ext in '' $ac_executable_extensions; do
   7289   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7290     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
   7291     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   7292     break 2
   7293   fi
   7294 done
   7295 done
   7296 IFS=$as_save_IFS
   7297 
   7298 fi
   7299 fi
   7300 DSYMUTIL=$ac_cv_prog_DSYMUTIL
   7301 if test -n "$DSYMUTIL"; then
   7302   { $as_echo "$as_me:$LINENO: result: $DSYMUTIL" >&5
   7303 $as_echo "$DSYMUTIL" >&6; }
   7304 else
   7305   { $as_echo "$as_me:$LINENO: result: no" >&5
   7306 $as_echo "no" >&6; }
   7307 fi
   7308 
   7309 
   7310 fi
   7311 if test -z "$ac_cv_prog_DSYMUTIL"; then
   7312   ac_ct_DSYMUTIL=$DSYMUTIL
   7313   # Extract the first word of "dsymutil", so it can be a program name with args.
   7314 set dummy dsymutil; ac_word=$2
   7315 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   7316 $as_echo_n "checking for $ac_word... " >&6; }
   7317 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then
   7318   $as_echo_n "(cached) " >&6
   7319 else
   7320   if test -n "$ac_ct_DSYMUTIL"; then
   7321   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
   7322 else
   7323 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7324 for as_dir in $PATH
   7325 do
   7326   IFS=$as_save_IFS
   7327   test -z "$as_dir" && as_dir=.
   7328   for ac_exec_ext in '' $ac_executable_extensions; do
   7329   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7330     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
   7331     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   7332     break 2
   7333   fi
   7334 done
   7335 done
   7336 IFS=$as_save_IFS
   7337 
   7338 fi
   7339 fi
   7340 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
   7341 if test -n "$ac_ct_DSYMUTIL"; then
   7342   { $as_echo "$as_me:$LINENO: result: $ac_ct_DSYMUTIL" >&5
   7343 $as_echo "$ac_ct_DSYMUTIL" >&6; }
   7344 else
   7345   { $as_echo "$as_me:$LINENO: result: no" >&5
   7346 $as_echo "no" >&6; }
   7347 fi
   7348 
   7349   if test "x$ac_ct_DSYMUTIL" = x; then
   7350     DSYMUTIL=":"
   7351   else
   7352     case $cross_compiling:$ac_tool_warned in
   7353 yes:)
   7354 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   7355 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7356 ac_tool_warned=yes ;;
   7357 esac
   7358     DSYMUTIL=$ac_ct_DSYMUTIL
   7359   fi
   7360 else
   7361   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
   7362 fi
   7363 
   7364     if test -n "$ac_tool_prefix"; then
   7365   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
   7366 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
   7367 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   7368 $as_echo_n "checking for $ac_word... " >&6; }
   7369 if test "${ac_cv_prog_NMEDIT+set}" = set; then
   7370   $as_echo_n "(cached) " >&6
   7371 else
   7372   if test -n "$NMEDIT"; then
   7373   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
   7374 else
   7375 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7376 for as_dir in $PATH
   7377 do
   7378   IFS=$as_save_IFS
   7379   test -z "$as_dir" && as_dir=.
   7380   for ac_exec_ext in '' $ac_executable_extensions; do
   7381   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7382     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
   7383     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   7384     break 2
   7385   fi
   7386 done
   7387 done
   7388 IFS=$as_save_IFS
   7389 
   7390 fi
   7391 fi
   7392 NMEDIT=$ac_cv_prog_NMEDIT
   7393 if test -n "$NMEDIT"; then
   7394   { $as_echo "$as_me:$LINENO: result: $NMEDIT" >&5
   7395 $as_echo "$NMEDIT" >&6; }
   7396 else
   7397   { $as_echo "$as_me:$LINENO: result: no" >&5
   7398 $as_echo "no" >&6; }
   7399 fi
   7400 
   7401 
   7402 fi
   7403 if test -z "$ac_cv_prog_NMEDIT"; then
   7404   ac_ct_NMEDIT=$NMEDIT
   7405   # Extract the first word of "nmedit", so it can be a program name with args.
   7406 set dummy nmedit; ac_word=$2
   7407 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   7408 $as_echo_n "checking for $ac_word... " >&6; }
   7409 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then
   7410   $as_echo_n "(cached) " >&6
   7411 else
   7412   if test -n "$ac_ct_NMEDIT"; then
   7413   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
   7414 else
   7415 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7416 for as_dir in $PATH
   7417 do
   7418   IFS=$as_save_IFS
   7419   test -z "$as_dir" && as_dir=.
   7420   for ac_exec_ext in '' $ac_executable_extensions; do
   7421   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7422     ac_cv_prog_ac_ct_NMEDIT="nmedit"
   7423     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   7424     break 2
   7425   fi
   7426 done
   7427 done
   7428 IFS=$as_save_IFS
   7429 
   7430 fi
   7431 fi
   7432 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
   7433 if test -n "$ac_ct_NMEDIT"; then
   7434   { $as_echo "$as_me:$LINENO: result: $ac_ct_NMEDIT" >&5
   7435 $as_echo "$ac_ct_NMEDIT" >&6; }
   7436 else
   7437   { $as_echo "$as_me:$LINENO: result: no" >&5
   7438 $as_echo "no" >&6; }
   7439 fi
   7440 
   7441   if test "x$ac_ct_NMEDIT" = x; then
   7442     NMEDIT=":"
   7443   else
   7444     case $cross_compiling:$ac_tool_warned in
   7445 yes:)
   7446 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   7447 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7448 ac_tool_warned=yes ;;
   7449 esac
   7450     NMEDIT=$ac_ct_NMEDIT
   7451   fi
   7452 else
   7453   NMEDIT="$ac_cv_prog_NMEDIT"
   7454 fi
   7455 
   7456 
   7457     { $as_echo "$as_me:$LINENO: checking for -single_module linker flag" >&5
   7458 $as_echo_n "checking for -single_module linker flag... " >&6; }
   7459 if test "${lt_cv_apple_cc_single_mod+set}" = set; then
   7460   $as_echo_n "(cached) " >&6
   7461 else
   7462   lt_cv_apple_cc_single_mod=no
   7463       if test -z "${LT_MULTI_MODULE}"; then
   7464    # By default we will add the -single_module flag. You can override
   7465    # by either setting the environment variable LT_MULTI_MODULE
   7466    # non-empty at configure time, or by adding -multi_module to the
   7467    # link flags.
   7468    echo "int foo(void){return 1;}" > conftest.c
   7469    $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   7470      -dynamiclib ${wl}-single_module conftest.c
   7471    if test -f libconftest.dylib; then
   7472      lt_cv_apple_cc_single_mod=yes
   7473      rm -rf libconftest.dylib*
   7474    fi
   7475    rm conftest.c
   7476       fi
   7477 fi
   7478 { $as_echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5
   7479 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
   7480     { $as_echo "$as_me:$LINENO: checking for -exported_symbols_list linker flag" >&5
   7481 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
   7482 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then
   7483   $as_echo_n "(cached) " >&6
   7484 else
   7485   lt_cv_ld_exported_symbols_list=no
   7486       save_LDFLAGS=$LDFLAGS
   7487       echo "_main" > conftest.sym
   7488       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
   7489       cat >conftest.$ac_ext <<_ACEOF
   7490 /* confdefs.h.  */
   7491 _ACEOF
   7492 cat confdefs.h >>conftest.$ac_ext
   7493 cat >>conftest.$ac_ext <<_ACEOF
   7494 /* end confdefs.h.  */
   7495 
   7496 int
   7497 main ()
   7498 {
   7499 
   7500   ;
   7501   return 0;
   7502 }
   7503 _ACEOF
   7504 rm -f conftest.$ac_objext conftest$ac_exeext
   7505 if { (ac_try="$ac_link"
   7506 case "(($ac_try" in
   7507   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   7508   *) ac_try_echo=$ac_try;;
   7509 esac
   7510 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   7511 $as_echo "$ac_try_echo") >&5
   7512   (eval "$ac_link") 2>conftest.er1
   7513   ac_status=$?
   7514   grep -v '^ *+' conftest.er1 >conftest.err
   7515   rm -f conftest.er1
   7516   cat conftest.err >&5
   7517   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7518   (exit $ac_status); } && {
   7519 	 test -z "$ac_c_werror_flag" ||
   7520 	 test ! -s conftest.err
   7521        } && test -s conftest$ac_exeext && {
   7522 	 test "$cross_compiling" = yes ||
   7523 	 $as_test_x conftest$ac_exeext
   7524        }; then
   7525   lt_cv_ld_exported_symbols_list=yes
   7526 else
   7527   $as_echo "$as_me: failed program was:" >&5
   7528 sed 's/^/| /' conftest.$ac_ext >&5
   7529 
   7530 	lt_cv_ld_exported_symbols_list=no
   7531 fi
   7532 
   7533 rm -rf conftest.dSYM
   7534 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   7535       conftest$ac_exeext conftest.$ac_ext
   7536    LDFLAGS="$save_LDFLAGS"
   7537 
   7538 fi
   7539 { $as_echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5
   7540 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
   7541     case $host_os in
   7542     rhapsody* | darwin1.[0123])
   7543       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
   7544     darwin1.*)
   7545      _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
   7546     darwin*)
   7547       # if running on 10.5 or later, the deployment target defaults
   7548       # to the OS version, if on x86, and 10.4, the deployment
   7549       # target defaults to 10.4. Don't you love it?
   7550       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
   7551    10.0,*86*-darwin8*|10.0,*-darwin[91]*)
   7552      _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
   7553    10.[012]*)
   7554      _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
   7555    10.*)
   7556      _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
   7557       esac
   7558     ;;
   7559   esac
   7560     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
   7561       _lt_dar_single_mod='$single_module'
   7562     fi
   7563     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
   7564       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
   7565     else
   7566       _lt_dar_export_syms="~$NMEDIT -s \$output_objdir/\${libname}-symbols.expsym \${lib}"
   7567     fi
   7568     if test "$DSYMUTIL" != ":"; then
   7569       _lt_dsymutil="~$DSYMUTIL \$lib || :"
   7570     else
   7571       _lt_dsymutil=
   7572     fi
   7573     ;;
   7574   esac
   7575 
   7576 
   7577 enable_dlopen=no
   7578 enable_win32_dll=no
   7579 
   7580 # Check whether --enable-libtool-lock was given.
   7581 if test "${enable_libtool_lock+set}" = set; then
   7582   enableval=$enable_libtool_lock;
   7583 fi
   7584 
   7585 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
   7586 
   7587 
   7588 # Check whether --with-pic was given.
   7589 if test "${with_pic+set}" = set; then
   7590   withval=$with_pic; pic_mode="$withval"
   7591 else
   7592   pic_mode=default
   7593 fi
   7594 
   7595 test -z "$pic_mode" && pic_mode=default
   7596 
   7597 # Use C for the default configuration in the libtool script
   7598 tagname=
   7599 lt_save_CC="$CC"
   7600 ac_ext=c
   7601 ac_cpp='$CPP $CPPFLAGS'
   7602 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7603 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7604 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7605 
   7606 
   7607 # Source file extension for C test sources.
   7608 ac_ext=c
   7609 
   7610 # Object file extension for compiled C test sources.
   7611 objext=o
   7612 objext=$objext
   7613 
   7614 # Code to be used in simple compile tests
   7615 lt_simple_compile_test_code="int some_variable = 0;"
   7616 
   7617 # Code to be used in simple link tests
   7618 lt_simple_link_test_code='int main(){return(0);}'
   7619 
   7620 
   7621 # If no C compiler was specified, use CC.
   7622 LTCC=${LTCC-"$CC"}
   7623 
   7624 # If no C compiler flags were specified, use CFLAGS.
   7625 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   7626 
   7627 # Allow CC to be a program name with arguments.
   7628 compiler=$CC
   7629 
   7630 
   7631 # save warnings/boilerplate of simple test code
   7632 ac_outfile=conftest.$ac_objext
   7633 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   7634 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   7635 _lt_compiler_boilerplate=`cat conftest.err`
   7636 $rm conftest*
   7637 
   7638 ac_outfile=conftest.$ac_objext
   7639 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   7640 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   7641 _lt_linker_boilerplate=`cat conftest.err`
   7642 $rm -r conftest*
   7643 
   7644 
   7645 
   7646 lt_prog_compiler_no_builtin_flag=
   7647 
   7648 if test "$GCC" = yes; then
   7649   lt_prog_compiler_no_builtin_flag=' -fno-builtin'
   7650 
   7651 
   7652 { $as_echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
   7653 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
   7654 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
   7655   $as_echo_n "(cached) " >&6
   7656 else
   7657   lt_cv_prog_compiler_rtti_exceptions=no
   7658   ac_outfile=conftest.$ac_objext
   7659    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   7660    lt_compiler_flag="-fno-rtti -fno-exceptions"
   7661    # Insert the option either (1) after the last *FLAGS variable, or
   7662    # (2) before a word containing "conftest.", or (3) at the end.
   7663    # Note that $ac_compile itself does not contain backslashes and begins
   7664    # with a dollar sign (not a hyphen), so the echo should work correctly.
   7665    # The option is referenced via a variable to avoid confusing sed.
   7666    lt_compile=`echo "$ac_compile" | $SED \
   7667    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   7668    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   7669    -e 's:$: $lt_compiler_flag:'`
   7670    (eval echo "\"\$as_me:7670: $lt_compile\"" >&5)
   7671    (eval "$lt_compile" 2>conftest.err)
   7672    ac_status=$?
   7673    cat conftest.err >&5
   7674    echo "$as_me:7674: \$? = $ac_status" >&5
   7675    if (exit $ac_status) && test -s "$ac_outfile"; then
   7676      # The compiler can only warn and ignore the option if not recognized
   7677      # So say no if there are warnings other than the usual output.
   7678      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   7679      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   7680      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   7681        lt_cv_prog_compiler_rtti_exceptions=yes
   7682      fi
   7683    fi
   7684    $rm conftest*
   7685 
   7686 fi
   7687 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
   7688 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
   7689 
   7690 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
   7691     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
   7692 else
   7693     :
   7694 fi
   7695 
   7696 fi
   7697 
   7698 lt_prog_compiler_wl=
   7699 lt_prog_compiler_pic=
   7700 lt_prog_compiler_static=
   7701 
   7702 { $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
   7703 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
   7704 
   7705   if test "$GCC" = yes; then
   7706     lt_prog_compiler_wl='-Wl,'
   7707     lt_prog_compiler_static='-static'
   7708 
   7709     case $host_os in
   7710       aix*)
   7711       # All AIX code is PIC.
   7712       if test "$host_cpu" = ia64; then
   7713 	# AIX 5 now supports IA64 processor
   7714 	lt_prog_compiler_static='-Bstatic'
   7715       fi
   7716       ;;
   7717 
   7718     amigaos*)
   7719       # FIXME: we need at least 68020 code to build shared libraries, but
   7720       # adding the `-m68020' flag to GCC prevents building anything better,
   7721       # like `-m68040'.
   7722       lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
   7723       ;;
   7724 
   7725     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   7726       # PIC is the default for these OSes.
   7727       ;;
   7728 
   7729     mingw* | cygwin* | pw32* | os2*)
   7730       # This hack is so that the source file can tell whether it is being
   7731       # built for inclusion in a dll (and should export symbols for example).
   7732       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   7733       # (--disable-auto-import) libraries
   7734       lt_prog_compiler_pic='-DDLL_EXPORT'
   7735       ;;
   7736 
   7737     darwin* | rhapsody*)
   7738       # PIC is the default on this platform
   7739       # Common symbols not allowed in MH_DYLIB files
   7740       lt_prog_compiler_pic='-fno-common'
   7741       ;;
   7742 
   7743     interix[3-9]*)
   7744       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   7745       # Instead, we relocate shared libraries at runtime.
   7746       ;;
   7747 
   7748     msdosdjgpp*)
   7749       # Just because we use GCC doesn't mean we suddenly get shared libraries
   7750       # on systems that don't support them.
   7751       lt_prog_compiler_can_build_shared=no
   7752       enable_shared=no
   7753       ;;
   7754 
   7755     sysv4*MP*)
   7756       if test -d /usr/nec; then
   7757 	lt_prog_compiler_pic=-Kconform_pic
   7758       fi
   7759       ;;
   7760 
   7761     hpux*)
   7762       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   7763       # not for PA HP-UX.
   7764       case $host_cpu in
   7765       hppa*64*|ia64*)
   7766 	# +Z the default
   7767 	;;
   7768       *)
   7769 	lt_prog_compiler_pic='-fPIC'
   7770 	;;
   7771       esac
   7772       ;;
   7773 
   7774     *)
   7775       lt_prog_compiler_pic='-fPIC'
   7776       ;;
   7777     esac
   7778   else
   7779     # PORTME Check for flag to pass linker flags through the system compiler.
   7780     case $host_os in
   7781     aix*)
   7782       lt_prog_compiler_wl='-Wl,'
   7783       if test "$host_cpu" = ia64; then
   7784 	# AIX 5 now supports IA64 processor
   7785 	lt_prog_compiler_static='-Bstatic'
   7786       else
   7787 	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
   7788       fi
   7789       ;;
   7790       darwin*)
   7791         # PIC is the default on this platform
   7792         # Common symbols not allowed in MH_DYLIB files
   7793        case $cc_basename in
   7794          xlc*)
   7795          lt_prog_compiler_pic='-qnocommon'
   7796          lt_prog_compiler_wl='-Wl,'
   7797          ;;
   7798        esac
   7799        ;;
   7800 
   7801     mingw* | cygwin* | pw32* | os2*)
   7802       # This hack is so that the source file can tell whether it is being
   7803       # built for inclusion in a dll (and should export symbols for example).
   7804       lt_prog_compiler_pic='-DDLL_EXPORT'
   7805       ;;
   7806 
   7807     hpux9* | hpux10* | hpux11*)
   7808       lt_prog_compiler_wl='-Wl,'
   7809       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   7810       # not for PA HP-UX.
   7811       case $host_cpu in
   7812       hppa*64*|ia64*)
   7813 	# +Z the default
   7814 	;;
   7815       *)
   7816 	lt_prog_compiler_pic='+Z'
   7817 	;;
   7818       esac
   7819       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   7820       lt_prog_compiler_static='${wl}-a ${wl}archive'
   7821       ;;
   7822 
   7823     irix5* | irix6* | nonstopux*)
   7824       lt_prog_compiler_wl='-Wl,'
   7825       # PIC (with -KPIC) is the default.
   7826       lt_prog_compiler_static='-non_shared'
   7827       ;;
   7828 
   7829     newsos6)
   7830       lt_prog_compiler_pic='-KPIC'
   7831       lt_prog_compiler_static='-Bstatic'
   7832       ;;
   7833 
   7834     linux* | k*bsd*-gnu)
   7835       case $cc_basename in
   7836       icc* | ecc*)
   7837 	lt_prog_compiler_wl='-Wl,'
   7838 	lt_prog_compiler_pic='-KPIC'
   7839 	lt_prog_compiler_static='-static'
   7840         ;;
   7841       pgcc* | pgf77* | pgf90* | pgf95*)
   7842         # Portland Group compilers (*not* the Pentium gcc compiler,
   7843 	# which looks to be a dead project)
   7844 	lt_prog_compiler_wl='-Wl,'
   7845 	lt_prog_compiler_pic='-fpic'
   7846 	lt_prog_compiler_static='-Bstatic'
   7847         ;;
   7848       ccc*)
   7849         lt_prog_compiler_wl='-Wl,'
   7850         # All Alpha code is PIC.
   7851         lt_prog_compiler_static='-non_shared'
   7852         ;;
   7853       *)
   7854         case `$CC -V 2>&1 | sed 5q` in
   7855 	*Sun\ C*)
   7856 	  # Sun C 5.9
   7857 	  lt_prog_compiler_pic='-KPIC'
   7858 	  lt_prog_compiler_static='-Bstatic'
   7859 	  lt_prog_compiler_wl='-Wl,'
   7860 	  ;;
   7861 	*Sun\ F*)
   7862 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   7863 	  lt_prog_compiler_pic='-KPIC'
   7864 	  lt_prog_compiler_static='-Bstatic'
   7865 	  lt_prog_compiler_wl=''
   7866 	  ;;
   7867 	esac
   7868 	;;
   7869       esac
   7870       ;;
   7871 
   7872     osf3* | osf4* | osf5*)
   7873       lt_prog_compiler_wl='-Wl,'
   7874       # All OSF/1 code is PIC.
   7875       lt_prog_compiler_static='-non_shared'
   7876       ;;
   7877 
   7878     rdos*)
   7879       lt_prog_compiler_static='-non_shared'
   7880       ;;
   7881 
   7882     solaris*)
   7883       lt_prog_compiler_pic='-KPIC'
   7884       lt_prog_compiler_static='-Bstatic'
   7885       case $cc_basename in
   7886       f77* | f90* | f95*)
   7887 	lt_prog_compiler_wl='-Qoption ld ';;
   7888       *)
   7889 	lt_prog_compiler_wl='-Wl,';;
   7890       esac
   7891       ;;
   7892 
   7893     sunos4*)
   7894       lt_prog_compiler_wl='-Qoption ld '
   7895       lt_prog_compiler_pic='-PIC'
   7896       lt_prog_compiler_static='-Bstatic'
   7897       ;;
   7898 
   7899     sysv4 | sysv4.2uw2* | sysv4.3*)
   7900       lt_prog_compiler_wl='-Wl,'
   7901       lt_prog_compiler_pic='-KPIC'
   7902       lt_prog_compiler_static='-Bstatic'
   7903       ;;
   7904 
   7905     sysv4*MP*)
   7906       if test -d /usr/nec ;then
   7907 	lt_prog_compiler_pic='-Kconform_pic'
   7908 	lt_prog_compiler_static='-Bstatic'
   7909       fi
   7910       ;;
   7911 
   7912     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   7913       lt_prog_compiler_wl='-Wl,'
   7914       lt_prog_compiler_pic='-KPIC'
   7915       lt_prog_compiler_static='-Bstatic'
   7916       ;;
   7917 
   7918     unicos*)
   7919       lt_prog_compiler_wl='-Wl,'
   7920       lt_prog_compiler_can_build_shared=no
   7921       ;;
   7922 
   7923     uts4*)
   7924       lt_prog_compiler_pic='-pic'
   7925       lt_prog_compiler_static='-Bstatic'
   7926       ;;
   7927 
   7928     *)
   7929       lt_prog_compiler_can_build_shared=no
   7930       ;;
   7931     esac
   7932   fi
   7933 
   7934 { $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
   7935 $as_echo "$lt_prog_compiler_pic" >&6; }
   7936 
   7937 #
   7938 # Check to make sure the PIC flag actually works.
   7939 #
   7940 if test -n "$lt_prog_compiler_pic"; then
   7941 
   7942 { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
   7943 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
   7944 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then
   7945   $as_echo_n "(cached) " >&6
   7946 else
   7947   lt_cv_prog_compiler_pic_works=no
   7948   ac_outfile=conftest.$ac_objext
   7949    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   7950    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
   7951    # Insert the option either (1) after the last *FLAGS variable, or
   7952    # (2) before a word containing "conftest.", or (3) at the end.
   7953    # Note that $ac_compile itself does not contain backslashes and begins
   7954    # with a dollar sign (not a hyphen), so the echo should work correctly.
   7955    # The option is referenced via a variable to avoid confusing sed.
   7956    lt_compile=`echo "$ac_compile" | $SED \
   7957    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   7958    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   7959    -e 's:$: $lt_compiler_flag:'`
   7960    (eval echo "\"\$as_me:7960: $lt_compile\"" >&5)
   7961    (eval "$lt_compile" 2>conftest.err)
   7962    ac_status=$?
   7963    cat conftest.err >&5
   7964    echo "$as_me:7964: \$? = $ac_status" >&5
   7965    if (exit $ac_status) && test -s "$ac_outfile"; then
   7966      # The compiler can only warn and ignore the option if not recognized
   7967      # So say no if there are warnings other than the usual output.
   7968      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   7969      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   7970      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   7971        lt_cv_prog_compiler_pic_works=yes
   7972      fi
   7973    fi
   7974    $rm conftest*
   7975 
   7976 fi
   7977 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5
   7978 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
   7979 
   7980 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
   7981     case $lt_prog_compiler_pic in
   7982      "" | " "*) ;;
   7983      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
   7984      esac
   7985 else
   7986     lt_prog_compiler_pic=
   7987      lt_prog_compiler_can_build_shared=no
   7988 fi
   7989 
   7990 fi
   7991 case $host_os in
   7992   # For platforms which do not support PIC, -DPIC is meaningless:
   7993   *djgpp*)
   7994     lt_prog_compiler_pic=
   7995     ;;
   7996   *)
   7997     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
   7998     ;;
   7999 esac
   8000 
   8001 #
   8002 # Check to make sure the static flag actually works.
   8003 #
   8004 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
   8005 { $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   8006 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   8007 if test "${lt_cv_prog_compiler_static_works+set}" = set; then
   8008   $as_echo_n "(cached) " >&6
   8009 else
   8010   lt_cv_prog_compiler_static_works=no
   8011    save_LDFLAGS="$LDFLAGS"
   8012    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   8013    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   8014    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   8015      # The linker can only warn and ignore the option if not recognized
   8016      # So say no if there are warnings
   8017      if test -s conftest.err; then
   8018        # Append any errors to the config.log.
   8019        cat conftest.err 1>&5
   8020        $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
   8021        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   8022        if diff conftest.exp conftest.er2 >/dev/null; then
   8023          lt_cv_prog_compiler_static_works=yes
   8024        fi
   8025      else
   8026        lt_cv_prog_compiler_static_works=yes
   8027      fi
   8028    fi
   8029    $rm -r conftest*
   8030    LDFLAGS="$save_LDFLAGS"
   8031 
   8032 fi
   8033 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5
   8034 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
   8035 
   8036 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
   8037     :
   8038 else
   8039     lt_prog_compiler_static=
   8040 fi
   8041 
   8042 
   8043 { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
   8044 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   8045 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
   8046   $as_echo_n "(cached) " >&6
   8047 else
   8048   lt_cv_prog_compiler_c_o=no
   8049    $rm -r conftest 2>/dev/null
   8050    mkdir conftest
   8051    cd conftest
   8052    mkdir out
   8053    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8054 
   8055    lt_compiler_flag="-o out/conftest2.$ac_objext"
   8056    # Insert the option either (1) after the last *FLAGS variable, or
   8057    # (2) before a word containing "conftest.", or (3) at the end.
   8058    # Note that $ac_compile itself does not contain backslashes and begins
   8059    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8060    lt_compile=`echo "$ac_compile" | $SED \
   8061    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8062    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8063    -e 's:$: $lt_compiler_flag:'`
   8064    (eval echo "\"\$as_me:8064: $lt_compile\"" >&5)
   8065    (eval "$lt_compile" 2>out/conftest.err)
   8066    ac_status=$?
   8067    cat out/conftest.err >&5
   8068    echo "$as_me:8068: \$? = $ac_status" >&5
   8069    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   8070    then
   8071      # The compiler can only warn and ignore the option if not recognized
   8072      # So say no if there are warnings
   8073      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
   8074      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   8075      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   8076        lt_cv_prog_compiler_c_o=yes
   8077      fi
   8078    fi
   8079    chmod u+w . 2>&5
   8080    $rm conftest*
   8081    # SGI C++ compiler will create directory out/ii_files/ for
   8082    # template instantiation
   8083    test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
   8084    $rm out/* && rmdir out
   8085    cd ..
   8086    rmdir conftest
   8087    $rm conftest*
   8088 
   8089 fi
   8090 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
   8091 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   8092 
   8093 
   8094 hard_links="nottested"
   8095 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
   8096   # do not overwrite the value of need_locks provided by the user
   8097   { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
   8098 $as_echo_n "checking if we can lock with hard links... " >&6; }
   8099   hard_links=yes
   8100   $rm conftest*
   8101   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   8102   touch conftest.a
   8103   ln conftest.a conftest.b 2>&5 || hard_links=no
   8104   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   8105   { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
   8106 $as_echo "$hard_links" >&6; }
   8107   if test "$hard_links" = no; then
   8108     { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   8109 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   8110     need_locks=warn
   8111   fi
   8112 else
   8113   need_locks=no
   8114 fi
   8115 
   8116 { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   8117 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   8118 
   8119   runpath_var=
   8120   allow_undefined_flag=
   8121   enable_shared_with_static_runtimes=no
   8122   archive_cmds=
   8123   archive_expsym_cmds=
   8124   old_archive_From_new_cmds=
   8125   old_archive_from_expsyms_cmds=
   8126   export_dynamic_flag_spec=
   8127   whole_archive_flag_spec=
   8128   thread_safe_flag_spec=
   8129   hardcode_libdir_flag_spec=
   8130   hardcode_libdir_flag_spec_ld=
   8131   hardcode_libdir_separator=
   8132   hardcode_direct=no
   8133   hardcode_minus_L=no
   8134   hardcode_shlibpath_var=unsupported
   8135   link_all_deplibs=unknown
   8136   hardcode_automatic=no
   8137   module_cmds=
   8138   module_expsym_cmds=
   8139   always_export_symbols=no
   8140   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   8141   # include_expsyms should be a list of space-separated symbols to be *always*
   8142   # included in the symbol list
   8143   include_expsyms=
   8144   # exclude_expsyms can be an extended regexp of symbols to exclude
   8145   # it will be wrapped by ` (' and `)$', so one must not match beginning or
   8146   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
   8147   # as well as any symbol that contains `d'.
   8148   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   8149   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   8150   # platforms (ab)use it in PIC code, but their linkers get confused if
   8151   # the symbol is explicitly referenced.  Since portable code cannot
   8152   # rely on this symbol name, it's probably fine to never include it in
   8153   # preloaded symbol tables.
   8154   # Exclude shared library initialization/finalization symbols.
   8155   extract_expsyms_cmds=
   8156   # Just being paranoid about ensuring that cc_basename is set.
   8157   for cc_temp in $compiler""; do
   8158   case $cc_temp in
   8159     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   8160     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   8161     \-*) ;;
   8162     *) break;;
   8163   esac
   8164 done
   8165 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   8166 
   8167   case $host_os in
   8168   cygwin* | mingw* | pw32*)
   8169     # FIXME: the MSVC++ port hasn't been tested in a loooong time
   8170     # When not using gcc, we currently assume that we are using
   8171     # Microsoft Visual C++.
   8172     if test "$GCC" != yes; then
   8173       with_gnu_ld=no
   8174     fi
   8175     ;;
   8176   interix*)
   8177     # we just hope/assume this is gcc and not c89 (= MSVC++)
   8178     with_gnu_ld=yes
   8179     ;;
   8180   openbsd*)
   8181     with_gnu_ld=no
   8182     ;;
   8183   esac
   8184 
   8185   ld_shlibs=yes
   8186   if test "$with_gnu_ld" = yes; then
   8187     # If archive_cmds runs LD, not CC, wlarc should be empty
   8188     wlarc='${wl}'
   8189 
   8190     # Set some defaults for GNU ld with shared library support. These
   8191     # are reset later if shared libraries are not supported. Putting them
   8192     # here allows them to be overridden if necessary.
   8193     runpath_var=LD_RUN_PATH
   8194     hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
   8195     export_dynamic_flag_spec='${wl}--export-dynamic'
   8196     # ancient GNU ld didn't support --whole-archive et. al.
   8197     if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
   8198 	whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   8199       else
   8200   	whole_archive_flag_spec=
   8201     fi
   8202     supports_anon_versioning=no
   8203     case `$LD -v 2>/dev/null` in
   8204       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   8205       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   8206       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   8207       *\ 2.11.*) ;; # other 2.11 versions
   8208       *) supports_anon_versioning=yes ;;
   8209     esac
   8210 
   8211     # See if GNU ld supports shared libraries.
   8212     case $host_os in
   8213     aix[3-9]*)
   8214       # On AIX/PPC, the GNU linker is very broken
   8215       if test "$host_cpu" != ia64; then
   8216 	ld_shlibs=no
   8217 	cat <<EOF 1>&2
   8218 
   8219 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
   8220 *** to be unable to reliably create shared libraries on AIX.
   8221 *** Therefore, libtool is disabling shared libraries support.  If you
   8222 *** really care for shared libraries, you may want to modify your PATH
   8223 *** so that a non-GNU linker is found, and then restart.
   8224 
   8225 EOF
   8226       fi
   8227       ;;
   8228 
   8229     amigaos*)
   8230       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)'
   8231       hardcode_libdir_flag_spec='-L$libdir'
   8232       hardcode_minus_L=yes
   8233 
   8234       # Samuel A. Falvo II <kc5tja (at] dolphin.openprojects.net> reports
   8235       # that the semantics of dynamic libraries on AmigaOS, at least up
   8236       # to version 4, is to share data among multiple programs linked
   8237       # with the same dynamic library.  Since this doesn't match the
   8238       # behavior of shared libraries on other platforms, we can't use
   8239       # them.
   8240       ld_shlibs=no
   8241       ;;
   8242 
   8243     beos*)
   8244       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   8245 	allow_undefined_flag=unsupported
   8246 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   8247 	# support --undefined.  This deserves some investigation.  FIXME
   8248 	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8249       else
   8250 	ld_shlibs=no
   8251       fi
   8252       ;;
   8253 
   8254     cygwin* | mingw* | pw32*)
   8255       # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
   8256       # as there is no search path for DLLs.
   8257       hardcode_libdir_flag_spec='-L$libdir'
   8258       allow_undefined_flag=unsupported
   8259       always_export_symbols=no
   8260       enable_shared_with_static_runtimes=yes
   8261       export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
   8262 
   8263       if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
   8264         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   8265 	# If the export-symbols file already is a .def file (1st line
   8266 	# is EXPORTS), use it as is; otherwise, prepend...
   8267 	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   8268 	  cp $export_symbols $output_objdir/$soname.def;
   8269 	else
   8270 	  echo EXPORTS > $output_objdir/$soname.def;
   8271 	  cat $export_symbols >> $output_objdir/$soname.def;
   8272 	fi~
   8273 	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   8274       else
   8275 	ld_shlibs=no
   8276       fi
   8277       ;;
   8278 
   8279     interix[3-9]*)
   8280       hardcode_direct=no
   8281       hardcode_shlibpath_var=no
   8282       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   8283       export_dynamic_flag_spec='${wl}-E'
   8284       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   8285       # Instead, shared libraries are loaded at an image base (0x10000000 by
   8286       # default) and relocated if they conflict, which is a slow very memory
   8287       # consuming and fragmenting process.  To avoid this, we pick a random,
   8288       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   8289       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   8290       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
   8291       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'
   8292       ;;
   8293 
   8294     gnu* | linux* | k*bsd*-gnu)
   8295       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   8296 	tmp_addflag=
   8297 	case $cc_basename,$host_cpu in
   8298 	pgcc*)				# Portland Group C compiler
   8299 	  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'
   8300 	  tmp_addflag=' $pic_flag'
   8301 	  ;;
   8302 	pgf77* | pgf90* | pgf95*)	# Portland Group f77 and f90 compilers
   8303 	  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'
   8304 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   8305 	ecc*,ia64* | icc*,ia64*)		# Intel C compiler on ia64
   8306 	  tmp_addflag=' -i_dynamic' ;;
   8307 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   8308 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   8309 	ifc* | ifort*)			# Intel Fortran compiler
   8310 	  tmp_addflag=' -nofor_main' ;;
   8311 	esac
   8312 	case `$CC -V 2>&1 | sed 5q` in
   8313 	*Sun\ C*)			# Sun C 5.9
   8314 	  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'
   8315 	  tmp_sharedflag='-G' ;;
   8316 	*Sun\ F*)			# Sun Fortran 8.3
   8317 	  tmp_sharedflag='-G' ;;
   8318 	*)
   8319 	  tmp_sharedflag='-shared' ;;
   8320 	esac
   8321 	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8322 
   8323 	if test $supports_anon_versioning = yes; then
   8324 	  archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~
   8325   cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   8326   $echo "local: *; };" >> $output_objdir/$libname.ver~
   8327 	  $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
   8328 	fi
   8329       else
   8330 	ld_shlibs=no
   8331       fi
   8332       ;;
   8333 
   8334     netbsd*)
   8335       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   8336 	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   8337 	wlarc=
   8338       else
   8339 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8340 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8341       fi
   8342       ;;
   8343 
   8344     solaris*)
   8345       if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
   8346 	ld_shlibs=no
   8347 	cat <<EOF 1>&2
   8348 
   8349 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   8350 *** create shared libraries on Solaris systems.  Therefore, libtool
   8351 *** is disabling shared libraries support.  We urge you to upgrade GNU
   8352 *** binutils to release 2.9.1 or newer.  Another option is to modify
   8353 *** your PATH or compiler configuration so that the native linker is
   8354 *** used, and then restart.
   8355 
   8356 EOF
   8357       elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   8358 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8359 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8360       else
   8361 	ld_shlibs=no
   8362       fi
   8363       ;;
   8364 
   8365     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   8366       case `$LD -v 2>&1` in
   8367         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   8368 	ld_shlibs=no
   8369 	cat <<_LT_EOF 1>&2
   8370 
   8371 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
   8372 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   8373 *** is disabling shared libraries support.  We urge you to upgrade GNU
   8374 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   8375 *** your PATH or compiler configuration so that the native linker is
   8376 *** used, and then restart.
   8377 
   8378 _LT_EOF
   8379 	;;
   8380 	*)
   8381 	  if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   8382 	    hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
   8383 	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
   8384 	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
   8385 	  else
   8386 	    ld_shlibs=no
   8387 	  fi
   8388 	;;
   8389       esac
   8390       ;;
   8391 
   8392     sunos4*)
   8393       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   8394       wlarc=
   8395       hardcode_direct=yes
   8396       hardcode_shlibpath_var=no
   8397       ;;
   8398 
   8399     *)
   8400       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   8401 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8402 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8403       else
   8404 	ld_shlibs=no
   8405       fi
   8406       ;;
   8407     esac
   8408 
   8409     if test "$ld_shlibs" = no; then
   8410       runpath_var=
   8411       hardcode_libdir_flag_spec=
   8412       export_dynamic_flag_spec=
   8413       whole_archive_flag_spec=
   8414     fi
   8415   else
   8416     # PORTME fill in a description of your system's linker (not GNU ld)
   8417     case $host_os in
   8418     aix3*)
   8419       allow_undefined_flag=unsupported
   8420       always_export_symbols=yes
   8421       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'
   8422       # Note: this linker hardcodes the directories in LIBPATH if there
   8423       # are no directories specified by -L.
   8424       hardcode_minus_L=yes
   8425       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
   8426 	# Neither direct hardcoding nor static linking is supported with a
   8427 	# broken collect2.
   8428 	hardcode_direct=unsupported
   8429       fi
   8430       ;;
   8431 
   8432     aix[4-9]*)
   8433       if test "$host_cpu" = ia64; then
   8434 	# On IA64, the linker does run time linking by default, so we don't
   8435 	# have to do anything special.
   8436 	aix_use_runtimelinking=no
   8437 	exp_sym_flag='-Bexport'
   8438 	no_entry_flag=""
   8439       else
   8440 	# If we're using GNU nm, then we don't want the "-C" option.
   8441 	# -C means demangle to AIX nm, but means don't demangle with GNU nm
   8442 	if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
   8443 	  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'
   8444 	else
   8445 	  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'
   8446 	fi
   8447 	aix_use_runtimelinking=no
   8448 
   8449 	# Test if we are trying to use run time linking or normal
   8450 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   8451 	# need to do runtime linking.
   8452 	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   8453 	  for ld_flag in $LDFLAGS; do
   8454   	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
   8455   	    aix_use_runtimelinking=yes
   8456   	    break
   8457   	  fi
   8458 	  done
   8459 	  ;;
   8460 	esac
   8461 
   8462 	exp_sym_flag='-bexport'
   8463 	no_entry_flag='-bnoentry'
   8464       fi
   8465 
   8466       # When large executables or shared objects are built, AIX ld can
   8467       # have problems creating the table of contents.  If linking a library
   8468       # or program results in "error TOC overflow" add -mminimal-toc to
   8469       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   8470       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   8471 
   8472       archive_cmds=''
   8473       hardcode_direct=yes
   8474       hardcode_libdir_separator=':'
   8475       link_all_deplibs=yes
   8476 
   8477       if test "$GCC" = yes; then
   8478 	case $host_os in aix4.[012]|aix4.[012].*)
   8479 	# We only want to do this on AIX 4.2 and lower, the check
   8480 	# below for broken collect2 doesn't work under 4.3+
   8481 	  collect2name=`${CC} -print-prog-name=collect2`
   8482 	  if test -f "$collect2name" && \
   8483   	   strings "$collect2name" | grep resolve_lib_name >/dev/null
   8484 	  then
   8485   	  # We have reworked collect2
   8486   	  :
   8487 	  else
   8488   	  # We have old collect2
   8489   	  hardcode_direct=unsupported
   8490   	  # It fails to find uninstalled libraries when the uninstalled
   8491   	  # path is not listed in the libpath.  Setting hardcode_minus_L
   8492   	  # to unsupported forces relinking
   8493   	  hardcode_minus_L=yes
   8494   	  hardcode_libdir_flag_spec='-L$libdir'
   8495   	  hardcode_libdir_separator=
   8496 	  fi
   8497 	  ;;
   8498 	esac
   8499 	shared_flag='-shared'
   8500 	if test "$aix_use_runtimelinking" = yes; then
   8501 	  shared_flag="$shared_flag "'${wl}-G'
   8502 	fi
   8503       else
   8504 	# not using gcc
   8505 	if test "$host_cpu" = ia64; then
   8506   	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   8507   	# chokes on -Wl,-G. The following line is correct:
   8508 	  shared_flag='-G'
   8509 	else
   8510 	  if test "$aix_use_runtimelinking" = yes; then
   8511 	    shared_flag='${wl}-G'
   8512 	  else
   8513 	    shared_flag='${wl}-bM:SRE'
   8514 	  fi
   8515 	fi
   8516       fi
   8517 
   8518       # It seems that -bexpall does not export symbols beginning with
   8519       # underscore (_), so it is better to generate a list of symbols to export.
   8520       always_export_symbols=yes
   8521       if test "$aix_use_runtimelinking" = yes; then
   8522 	# Warning - without using the other runtime loading flags (-brtl),
   8523 	# -berok will link without error, but may produce a broken library.
   8524 	allow_undefined_flag='-berok'
   8525        # Determine the default libpath from the value encoded in an empty executable.
   8526        cat >conftest.$ac_ext <<_ACEOF
   8527 /* confdefs.h.  */
   8528 _ACEOF
   8529 cat confdefs.h >>conftest.$ac_ext
   8530 cat >>conftest.$ac_ext <<_ACEOF
   8531 /* end confdefs.h.  */
   8532 
   8533 int
   8534 main ()
   8535 {
   8536 
   8537   ;
   8538   return 0;
   8539 }
   8540 _ACEOF
   8541 rm -f conftest.$ac_objext conftest$ac_exeext
   8542 if { (ac_try="$ac_link"
   8543 case "(($ac_try" in
   8544   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   8545   *) ac_try_echo=$ac_try;;
   8546 esac
   8547 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   8548 $as_echo "$ac_try_echo") >&5
   8549   (eval "$ac_link") 2>conftest.er1
   8550   ac_status=$?
   8551   grep -v '^ *+' conftest.er1 >conftest.err
   8552   rm -f conftest.er1
   8553   cat conftest.err >&5
   8554   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8555   (exit $ac_status); } && {
   8556 	 test -z "$ac_c_werror_flag" ||
   8557 	 test ! -s conftest.err
   8558        } && test -s conftest$ac_exeext && {
   8559 	 test "$cross_compiling" = yes ||
   8560 	 $as_test_x conftest$ac_exeext
   8561        }; then
   8562 
   8563 lt_aix_libpath_sed='
   8564     /Import File Strings/,/^$/ {
   8565 	/^0/ {
   8566 	    s/^0  *\(.*\)$/\1/
   8567 	    p
   8568 	}
   8569     }'
   8570 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   8571 # Check for a 64-bit object if we didn't find anything.
   8572 if test -z "$aix_libpath"; then
   8573   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   8574 fi
   8575 else
   8576   $as_echo "$as_me: failed program was:" >&5
   8577 sed 's/^/| /' conftest.$ac_ext >&5
   8578 
   8579 
   8580 fi
   8581 
   8582 rm -rf conftest.dSYM
   8583 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   8584       conftest$ac_exeext conftest.$ac_ext
   8585 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   8586 
   8587        hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   8588 	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"
   8589        else
   8590 	if test "$host_cpu" = ia64; then
   8591 	  hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
   8592 	  allow_undefined_flag="-z nodefs"
   8593 	  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"
   8594 	else
   8595 	 # Determine the default libpath from the value encoded in an empty executable.
   8596 	 cat >conftest.$ac_ext <<_ACEOF
   8597 /* confdefs.h.  */
   8598 _ACEOF
   8599 cat confdefs.h >>conftest.$ac_ext
   8600 cat >>conftest.$ac_ext <<_ACEOF
   8601 /* end confdefs.h.  */
   8602 
   8603 int
   8604 main ()
   8605 {
   8606 
   8607   ;
   8608   return 0;
   8609 }
   8610 _ACEOF
   8611 rm -f conftest.$ac_objext conftest$ac_exeext
   8612 if { (ac_try="$ac_link"
   8613 case "(($ac_try" in
   8614   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   8615   *) ac_try_echo=$ac_try;;
   8616 esac
   8617 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   8618 $as_echo "$ac_try_echo") >&5
   8619   (eval "$ac_link") 2>conftest.er1
   8620   ac_status=$?
   8621   grep -v '^ *+' conftest.er1 >conftest.err
   8622   rm -f conftest.er1
   8623   cat conftest.err >&5
   8624   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8625   (exit $ac_status); } && {
   8626 	 test -z "$ac_c_werror_flag" ||
   8627 	 test ! -s conftest.err
   8628        } && test -s conftest$ac_exeext && {
   8629 	 test "$cross_compiling" = yes ||
   8630 	 $as_test_x conftest$ac_exeext
   8631        }; then
   8632 
   8633 lt_aix_libpath_sed='
   8634     /Import File Strings/,/^$/ {
   8635 	/^0/ {
   8636 	    s/^0  *\(.*\)$/\1/
   8637 	    p
   8638 	}
   8639     }'
   8640 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   8641 # Check for a 64-bit object if we didn't find anything.
   8642 if test -z "$aix_libpath"; then
   8643   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   8644 fi
   8645 else
   8646   $as_echo "$as_me: failed program was:" >&5
   8647 sed 's/^/| /' conftest.$ac_ext >&5
   8648 
   8649 
   8650 fi
   8651 
   8652 rm -rf conftest.dSYM
   8653 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   8654       conftest$ac_exeext conftest.$ac_ext
   8655 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   8656 
   8657 	 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   8658 	  # Warning - without using the other run time loading flags,
   8659 	  # -berok will link without error, but may produce a broken library.
   8660 	  no_undefined_flag=' ${wl}-bernotok'
   8661 	  allow_undefined_flag=' ${wl}-berok'
   8662 	  # Exported symbols can be pulled into shared objects from archives
   8663 	  whole_archive_flag_spec='$convenience'
   8664 	  archive_cmds_need_lc=yes
   8665 	  # This is similar to how AIX traditionally builds its shared libraries.
   8666 	  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'
   8667 	fi
   8668       fi
   8669       ;;
   8670 
   8671     amigaos*)
   8672       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)'
   8673       hardcode_libdir_flag_spec='-L$libdir'
   8674       hardcode_minus_L=yes
   8675       # see comment about different semantics on the GNU ld section
   8676       ld_shlibs=no
   8677       ;;
   8678 
   8679     bsdi[45]*)
   8680       export_dynamic_flag_spec=-rdynamic
   8681       ;;
   8682 
   8683     cygwin* | mingw* | pw32*)
   8684       # When not using gcc, we currently assume that we are using
   8685       # Microsoft Visual C++.
   8686       # hardcode_libdir_flag_spec is actually meaningless, as there is
   8687       # no search path for DLLs.
   8688       hardcode_libdir_flag_spec=' '
   8689       allow_undefined_flag=unsupported
   8690       # Tell ltmain to make .lib files, not .a files.
   8691       libext=lib
   8692       # Tell ltmain to make .dll files, not .so files.
   8693       shrext_cmds=".dll"
   8694       # FIXME: Setting linknames here is a bad hack.
   8695       archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
   8696       # The linker will automatically build a .lib file if we build a DLL.
   8697       old_archive_From_new_cmds='true'
   8698       # FIXME: Should let the user specify the lib program.
   8699       old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
   8700       fix_srcfile_path='`cygpath -w "$srcfile"`'
   8701       enable_shared_with_static_runtimes=yes
   8702       ;;
   8703 
   8704     darwin* | rhapsody*)
   8705       case $host_os in
   8706         rhapsody* | darwin1.[012])
   8707          allow_undefined_flag='${wl}-undefined ${wl}suppress'
   8708          ;;
   8709        *) # Darwin 1.3 on
   8710          if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
   8711            allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   8712          else
   8713            case ${MACOSX_DEPLOYMENT_TARGET} in
   8714              10.[012])
   8715                allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   8716                ;;
   8717              10.*)
   8718                allow_undefined_flag='${wl}-undefined ${wl}dynamic_lookup'
   8719                ;;
   8720            esac
   8721          fi
   8722          ;;
   8723       esac
   8724       archive_cmds_need_lc=no
   8725       hardcode_direct=no
   8726       hardcode_automatic=yes
   8727       hardcode_shlibpath_var=unsupported
   8728       whole_archive_flag_spec=''
   8729       link_all_deplibs=yes
   8730     if test "$GCC" = yes ; then
   8731     	output_verbose_link_cmd='echo'
   8732         archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
   8733         module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
   8734         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}"
   8735         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}"
   8736     else
   8737       case $cc_basename in
   8738         xlc*)
   8739          output_verbose_link_cmd='echo'
   8740          archive_cmds='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
   8741          module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
   8742           # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
   8743          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}'
   8744           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}'
   8745           ;;
   8746        *)
   8747          ld_shlibs=no
   8748           ;;
   8749       esac
   8750     fi
   8751       ;;
   8752 
   8753     dgux*)
   8754       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8755       hardcode_libdir_flag_spec='-L$libdir'
   8756       hardcode_shlibpath_var=no
   8757       ;;
   8758 
   8759     freebsd1*)
   8760       ld_shlibs=no
   8761       ;;
   8762 
   8763     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   8764     # support.  Future versions do this automatically, but an explicit c++rt0.o
   8765     # does not break anything, and helps significantly (at the cost of a little
   8766     # extra space).
   8767     freebsd2.2*)
   8768       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   8769       hardcode_libdir_flag_spec='-R$libdir'
   8770       hardcode_direct=yes
   8771       hardcode_shlibpath_var=no
   8772       ;;
   8773 
   8774     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   8775     freebsd2*)
   8776       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   8777       hardcode_direct=yes
   8778       hardcode_minus_L=yes
   8779       hardcode_shlibpath_var=no
   8780       ;;
   8781 
   8782     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   8783     freebsd* | dragonfly*)
   8784       archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
   8785       hardcode_libdir_flag_spec='-R$libdir'
   8786       hardcode_direct=yes
   8787       hardcode_shlibpath_var=no
   8788       ;;
   8789 
   8790     hpux9*)
   8791       if test "$GCC" = yes; then
   8792 	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'
   8793       else
   8794 	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'
   8795       fi
   8796       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   8797       hardcode_libdir_separator=:
   8798       hardcode_direct=yes
   8799 
   8800       # hardcode_minus_L: Not really in the search PATH,
   8801       # but as the default location of the library.
   8802       hardcode_minus_L=yes
   8803       export_dynamic_flag_spec='${wl}-E'
   8804       ;;
   8805 
   8806     hpux10*)
   8807       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   8808 	archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   8809       else
   8810 	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   8811       fi
   8812       if test "$with_gnu_ld" = no; then
   8813 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   8814 	hardcode_libdir_separator=:
   8815 
   8816 	hardcode_direct=yes
   8817 	export_dynamic_flag_spec='${wl}-E'
   8818 
   8819 	# hardcode_minus_L: Not really in the search PATH,
   8820 	# but as the default location of the library.
   8821 	hardcode_minus_L=yes
   8822       fi
   8823       ;;
   8824 
   8825     hpux11*)
   8826       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   8827 	case $host_cpu in
   8828 	hppa*64*)
   8829 	  archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   8830 	  ;;
   8831 	ia64*)
   8832 	  archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   8833 	  ;;
   8834 	*)
   8835 	  archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   8836 	  ;;
   8837 	esac
   8838       else
   8839 	case $host_cpu in
   8840 	hppa*64*)
   8841 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   8842 	  ;;
   8843 	ia64*)
   8844 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   8845 	  ;;
   8846 	*)
   8847 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   8848 	  ;;
   8849 	esac
   8850       fi
   8851       if test "$with_gnu_ld" = no; then
   8852 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   8853 	hardcode_libdir_separator=:
   8854 
   8855 	case $host_cpu in
   8856 	hppa*64*|ia64*)
   8857 	  hardcode_libdir_flag_spec_ld='+b $libdir'
   8858 	  hardcode_direct=no
   8859 	  hardcode_shlibpath_var=no
   8860 	  ;;
   8861 	*)
   8862 	  hardcode_direct=yes
   8863 	  export_dynamic_flag_spec='${wl}-E'
   8864 
   8865 	  # hardcode_minus_L: Not really in the search PATH,
   8866 	  # but as the default location of the library.
   8867 	  hardcode_minus_L=yes
   8868 	  ;;
   8869 	esac
   8870       fi
   8871       ;;
   8872 
   8873     irix5* | irix6* | nonstopux*)
   8874       if test "$GCC" = yes; then
   8875 	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'
   8876       else
   8877 	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'
   8878 	hardcode_libdir_flag_spec_ld='-rpath $libdir'
   8879       fi
   8880       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8881       hardcode_libdir_separator=:
   8882       link_all_deplibs=yes
   8883       ;;
   8884 
   8885     netbsd*)
   8886       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   8887 	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   8888       else
   8889 	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   8890       fi
   8891       hardcode_libdir_flag_spec='-R$libdir'
   8892       hardcode_direct=yes
   8893       hardcode_shlibpath_var=no
   8894       ;;
   8895 
   8896     newsos6)
   8897       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8898       hardcode_direct=yes
   8899       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8900       hardcode_libdir_separator=:
   8901       hardcode_shlibpath_var=no
   8902       ;;
   8903 
   8904     openbsd*)
   8905       if test -f /usr/libexec/ld.so; then
   8906 	hardcode_direct=yes
   8907 	hardcode_shlibpath_var=no
   8908 	if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   8909 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   8910 	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
   8911 	  hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   8912 	  export_dynamic_flag_spec='${wl}-E'
   8913 	else
   8914 	  case $host_os in
   8915 	   openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
   8916 	     archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   8917 	     hardcode_libdir_flag_spec='-R$libdir'
   8918 	     ;;
   8919 	   *)
   8920 	     archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   8921 	     hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   8922 	     ;;
   8923 	  esac
   8924         fi
   8925       else
   8926 	ld_shlibs=no
   8927       fi
   8928       ;;
   8929 
   8930     os2*)
   8931       hardcode_libdir_flag_spec='-L$libdir'
   8932       hardcode_minus_L=yes
   8933       allow_undefined_flag=unsupported
   8934       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'
   8935       old_archive_From_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
   8936       ;;
   8937 
   8938     osf3*)
   8939       if test "$GCC" = yes; then
   8940 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   8941 	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'
   8942       else
   8943 	allow_undefined_flag=' -expect_unresolved \*'
   8944 	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'
   8945       fi
   8946       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8947       hardcode_libdir_separator=:
   8948       ;;
   8949 
   8950     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   8951       if test "$GCC" = yes; then
   8952 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   8953 	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'
   8954 	hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8955       else
   8956 	allow_undefined_flag=' -expect_unresolved \*'
   8957 	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'
   8958 	archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
   8959 	$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'
   8960 
   8961 	# Both c and cxx compiler support -rpath directly
   8962 	hardcode_libdir_flag_spec='-rpath $libdir'
   8963       fi
   8964       hardcode_libdir_separator=:
   8965       ;;
   8966 
   8967     solaris*)
   8968       no_undefined_flag=' -z text'
   8969       if test "$GCC" = yes; then
   8970 	wlarc='${wl}'
   8971 	archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   8972 	archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   8973 	  $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
   8974       else
   8975 	wlarc=''
   8976 	archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8977 	archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   8978   	$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
   8979       fi
   8980       hardcode_libdir_flag_spec='-R$libdir'
   8981       hardcode_shlibpath_var=no
   8982       case $host_os in
   8983       solaris2.[0-5] | solaris2.[0-5].*) ;;
   8984       *)
   8985 	# The compiler driver will combine and reorder linker options,
   8986 	# but understands `-z linker_flag'.  GCC discards it without `$wl',
   8987 	# but is careful enough not to reorder.
   8988  	# Supported since Solaris 2.6 (maybe 2.5.1?)
   8989 	if test "$GCC" = yes; then
   8990 	  whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
   8991 	else
   8992 	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
   8993 	fi
   8994 	;;
   8995       esac
   8996       link_all_deplibs=yes
   8997       ;;
   8998 
   8999     sunos4*)
   9000       if test "x$host_vendor" = xsequent; then
   9001 	# Use $CC to link under sequent, because it throws in some extra .o
   9002 	# files that make .init and .fini sections work.
   9003 	archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   9004       else
   9005 	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   9006       fi
   9007       hardcode_libdir_flag_spec='-L$libdir'
   9008       hardcode_direct=yes
   9009       hardcode_minus_L=yes
   9010       hardcode_shlibpath_var=no
   9011       ;;
   9012 
   9013     sysv4)
   9014       case $host_vendor in
   9015 	sni)
   9016 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9017 	  hardcode_direct=yes # is this really true???
   9018 	;;
   9019 	siemens)
   9020 	  ## LD is ld it makes a PLAMLIB
   9021 	  ## CC just makes a GrossModule.
   9022 	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   9023 	  reload_cmds='$CC -r -o $output$reload_objs'
   9024 	  hardcode_direct=no
   9025         ;;
   9026 	motorola)
   9027 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9028 	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
   9029 	;;
   9030       esac
   9031       runpath_var='LD_RUN_PATH'
   9032       hardcode_shlibpath_var=no
   9033       ;;
   9034 
   9035     sysv4.3*)
   9036       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9037       hardcode_shlibpath_var=no
   9038       export_dynamic_flag_spec='-Bexport'
   9039       ;;
   9040 
   9041     sysv4*MP*)
   9042       if test -d /usr/nec; then
   9043 	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9044 	hardcode_shlibpath_var=no
   9045 	runpath_var=LD_RUN_PATH
   9046 	hardcode_runpath_var=yes
   9047 	ld_shlibs=yes
   9048       fi
   9049       ;;
   9050 
   9051     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   9052       no_undefined_flag='${wl}-z,text'
   9053       archive_cmds_need_lc=no
   9054       hardcode_shlibpath_var=no
   9055       runpath_var='LD_RUN_PATH'
   9056 
   9057       if test "$GCC" = yes; then
   9058 	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9059 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9060       else
   9061 	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9062 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9063       fi
   9064       ;;
   9065 
   9066     sysv5* | sco3.2v5* | sco5v6*)
   9067       # Note: We can NOT use -z defs as we might desire, because we do not
   9068       # link with -lc, and that would cause any symbols used from libc to
   9069       # always be unresolved, which means just about no library would
   9070       # ever link correctly.  If we're not using GNU ld we use -z text
   9071       # though, which does catch some bad symbols but isn't as heavy-handed
   9072       # as -z defs.
   9073       no_undefined_flag='${wl}-z,text'
   9074       allow_undefined_flag='${wl}-z,nodefs'
   9075       archive_cmds_need_lc=no
   9076       hardcode_shlibpath_var=no
   9077       hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
   9078       hardcode_libdir_separator=':'
   9079       link_all_deplibs=yes
   9080       export_dynamic_flag_spec='${wl}-Bexport'
   9081       runpath_var='LD_RUN_PATH'
   9082 
   9083       if test "$GCC" = yes; then
   9084 	archive_cmds='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   9085 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   9086       else
   9087 	archive_cmds='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   9088 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   9089       fi
   9090       ;;
   9091 
   9092     uts4*)
   9093       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9094       hardcode_libdir_flag_spec='-L$libdir'
   9095       hardcode_shlibpath_var=no
   9096       ;;
   9097 
   9098     *)
   9099       ld_shlibs=no
   9100       ;;
   9101     esac
   9102   fi
   9103 
   9104 { $as_echo "$as_me:$LINENO: result: $ld_shlibs" >&5
   9105 $as_echo "$ld_shlibs" >&6; }
   9106 test "$ld_shlibs" = no && can_build_shared=no
   9107 
   9108 #
   9109 # Do we need to explicitly link libc?
   9110 #
   9111 case "x$archive_cmds_need_lc" in
   9112 x|xyes)
   9113   # Assume -lc should be added
   9114   archive_cmds_need_lc=yes
   9115 
   9116   if test "$enable_shared" = yes && test "$GCC" = yes; then
   9117     case $archive_cmds in
   9118     *'~'*)
   9119       # FIXME: we may have to deal with multi-command sequences.
   9120       ;;
   9121     '$CC '*)
   9122       # Test whether the compiler implicitly links with -lc since on some
   9123       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   9124       # to ld, don't add -lc before -lgcc.
   9125       { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
   9126 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
   9127       $rm conftest*
   9128       echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   9129 
   9130       if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   9131   (eval $ac_compile) 2>&5
   9132   ac_status=$?
   9133   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9134   (exit $ac_status); } 2>conftest.err; then
   9135         soname=conftest
   9136         lib=conftest
   9137         libobjs=conftest.$ac_objext
   9138         deplibs=
   9139         wl=$lt_prog_compiler_wl
   9140 	pic_flag=$lt_prog_compiler_pic
   9141         compiler_flags=-v
   9142         linker_flags=-v
   9143         verstring=
   9144         output_objdir=.
   9145         libname=conftest
   9146         lt_save_allow_undefined_flag=$allow_undefined_flag
   9147         allow_undefined_flag=
   9148         if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
   9149   (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
   9150   ac_status=$?
   9151   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9152   (exit $ac_status); }
   9153         then
   9154 	  archive_cmds_need_lc=no
   9155         else
   9156 	  archive_cmds_need_lc=yes
   9157         fi
   9158         allow_undefined_flag=$lt_save_allow_undefined_flag
   9159       else
   9160         cat conftest.err 1>&5
   9161       fi
   9162       $rm conftest*
   9163       { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
   9164 $as_echo "$archive_cmds_need_lc" >&6; }
   9165       ;;
   9166     esac
   9167   fi
   9168   ;;
   9169 esac
   9170 
   9171 { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
   9172 $as_echo_n "checking dynamic linker characteristics... " >&6; }
   9173 library_names_spec=
   9174 libname_spec='lib$name'
   9175 soname_spec=
   9176 shrext_cmds=".so"
   9177 postinstall_cmds=
   9178 postuninstall_cmds=
   9179 finish_cmds=
   9180 finish_eval=
   9181 shlibpath_var=
   9182 shlibpath_overrides_runpath=unknown
   9183 version_type=none
   9184 dynamic_linker="$host_os ld.so"
   9185 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   9186 
   9187 if test "$GCC" = yes; then
   9188   case $host_os in
   9189     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
   9190     *) lt_awk_arg="/^libraries:/" ;;
   9191   esac
   9192   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   9193   if echo "$lt_search_path_spec" | grep ';' >/dev/null ; then
   9194     # if the path contains ";" then we assume it to be the separator
   9195     # otherwise default to the standard path separator (i.e. ":") - it is
   9196     # assumed that no part of a normal pathname contains ";" but that should
   9197     # okay in the real world where ";" in dirpaths is itself problematic.
   9198     lt_search_path_spec=`echo "$lt_search_path_spec" | $SED -e 's/;/ /g'`
   9199   else
   9200     lt_search_path_spec=`echo "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   9201   fi
   9202   # Ok, now we have the path, separated by spaces, we can step through it
   9203   # and add multilib dir if necessary.
   9204   lt_tmp_lt_search_path_spec=
   9205   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
   9206   for lt_sys_path in $lt_search_path_spec; do
   9207     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
   9208       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
   9209     else
   9210       test -d "$lt_sys_path" && \
   9211 	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
   9212     fi
   9213   done
   9214   lt_search_path_spec=`echo $lt_tmp_lt_search_path_spec | awk '
   9215 BEGIN {RS=" "; FS="/|\n";} {
   9216   lt_foo="";
   9217   lt_count=0;
   9218   for (lt_i = NF; lt_i > 0; lt_i--) {
   9219     if ($lt_i != "" && $lt_i != ".") {
   9220       if ($lt_i == "..") {
   9221         lt_count++;
   9222       } else {
   9223         if (lt_count == 0) {
   9224           lt_foo="/" $lt_i lt_foo;
   9225         } else {
   9226           lt_count--;
   9227         }
   9228       }
   9229     }
   9230   }
   9231   if (lt_foo != "") { lt_freq[lt_foo]++; }
   9232   if (lt_freq[lt_foo] == 1) { print lt_foo; }
   9233 }'`
   9234   sys_lib_search_path_spec=`echo $lt_search_path_spec`
   9235 else
   9236   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   9237 fi
   9238 need_lib_prefix=unknown
   9239 hardcode_into_libs=no
   9240 
   9241 # when you set need_version to no, make sure it does not cause -set_version
   9242 # flags to be left without arguments
   9243 need_version=unknown
   9244 
   9245 case $host_os in
   9246 aix3*)
   9247   version_type=linux
   9248   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   9249   shlibpath_var=LIBPATH
   9250 
   9251   # AIX 3 has no versioning support, so we append a major version to the name.
   9252   soname_spec='${libname}${release}${shared_ext}$major'
   9253   ;;
   9254 
   9255 aix[4-9]*)
   9256   version_type=linux
   9257   need_lib_prefix=no
   9258   need_version=no
   9259   hardcode_into_libs=yes
   9260   if test "$host_cpu" = ia64; then
   9261     # AIX 5 supports IA64
   9262     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
   9263     shlibpath_var=LD_LIBRARY_PATH
   9264   else
   9265     # With GCC up to 2.95.x, collect2 would create an import file
   9266     # for dependence libraries.  The import file would start with
   9267     # the line `#! .'.  This would cause the generated library to
   9268     # depend on `.', always an invalid library.  This was fixed in
   9269     # development snapshots of GCC prior to 3.0.
   9270     case $host_os in
   9271       aix4 | aix4.[01] | aix4.[01].*)
   9272       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   9273 	   echo ' yes '
   9274 	   echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
   9275 	:
   9276       else
   9277 	can_build_shared=no
   9278       fi
   9279       ;;
   9280     esac
   9281     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
   9282     # soname into executable. Probably we can add versioning support to
   9283     # collect2, so additional links can be useful in future.
   9284     if test "$aix_use_runtimelinking" = yes; then
   9285       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   9286       # instead of lib<name>.a to let people know that these are not
   9287       # typical AIX shared libraries.
   9288       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9289     else
   9290       # We preserve .a as extension for shared libraries through AIX4.2
   9291       # and later when we are not doing run time linking.
   9292       library_names_spec='${libname}${release}.a $libname.a'
   9293       soname_spec='${libname}${release}${shared_ext}$major'
   9294     fi
   9295     shlibpath_var=LIBPATH
   9296   fi
   9297   ;;
   9298 
   9299 amigaos*)
   9300   library_names_spec='$libname.ixlibrary $libname.a'
   9301   # Create ${libname}_ixlibrary.a entries in /sys/libs.
   9302   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'
   9303   ;;
   9304 
   9305 beos*)
   9306   library_names_spec='${libname}${shared_ext}'
   9307   dynamic_linker="$host_os ld.so"
   9308   shlibpath_var=LIBRARY_PATH
   9309   ;;
   9310 
   9311 bsdi[45]*)
   9312   version_type=linux
   9313   need_version=no
   9314   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9315   soname_spec='${libname}${release}${shared_ext}$major'
   9316   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   9317   shlibpath_var=LD_LIBRARY_PATH
   9318   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   9319   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   9320   # the default ld.so.conf also contains /usr/contrib/lib and
   9321   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   9322   # libtool to hard-code these into programs
   9323   ;;
   9324 
   9325 cygwin* | mingw* | pw32*)
   9326   version_type=windows
   9327   shrext_cmds=".dll"
   9328   need_version=no
   9329   need_lib_prefix=no
   9330 
   9331   case $GCC,$host_os in
   9332   yes,cygwin* | yes,mingw* | yes,pw32*)
   9333     library_names_spec='$libname.dll.a'
   9334     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   9335     postinstall_cmds='base_file=`basename \${file}`~
   9336       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
   9337       dldir=$destdir/`dirname \$dlpath`~
   9338       test -d \$dldir || mkdir -p \$dldir~
   9339       $install_prog $dir/$dlname \$dldir/$dlname~
   9340       chmod a+x \$dldir/$dlname'
   9341     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   9342       dlpath=$dir/\$dldll~
   9343        $rm \$dlpath'
   9344     shlibpath_overrides_runpath=yes
   9345 
   9346     case $host_os in
   9347     cygwin*)
   9348       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   9349       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   9350       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
   9351       ;;
   9352     mingw*)
   9353       # MinGW DLLs use traditional 'lib' prefix
   9354       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   9355       sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   9356       if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
   9357         # It is most probably a Windows format PATH printed by
   9358         # mingw gcc, but we are running on Cygwin. Gcc prints its search
   9359         # path with ; separators, and with drive letters. We can handle the
   9360         # drive letters (cygwin fileutils understands them), so leave them,
   9361         # especially as we might pass files found there to a mingw objdump,
   9362         # which wouldn't understand a cygwinified path. Ahh.
   9363         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   9364       else
   9365         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   9366       fi
   9367       ;;
   9368     pw32*)
   9369       # pw32 DLLs use 'pw' prefix rather than 'lib'
   9370       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   9371       ;;
   9372     esac
   9373     ;;
   9374 
   9375   *)
   9376     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
   9377     ;;
   9378   esac
   9379   dynamic_linker='Win32 ld.exe'
   9380   # FIXME: first we should search . and the directory the executable is in
   9381   shlibpath_var=PATH
   9382   ;;
   9383 
   9384 darwin* | rhapsody*)
   9385   dynamic_linker="$host_os dyld"
   9386   version_type=darwin
   9387   need_lib_prefix=no
   9388   need_version=no
   9389   library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
   9390   soname_spec='${libname}${release}${major}$shared_ext'
   9391   shlibpath_overrides_runpath=yes
   9392   shlibpath_var=DYLD_LIBRARY_PATH
   9393   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   9394 
   9395   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
   9396   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   9397   ;;
   9398 
   9399 dgux*)
   9400   version_type=linux
   9401   need_lib_prefix=no
   9402   need_version=no
   9403   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
   9404   soname_spec='${libname}${release}${shared_ext}$major'
   9405   shlibpath_var=LD_LIBRARY_PATH
   9406   ;;
   9407 
   9408 freebsd1*)
   9409   dynamic_linker=no
   9410   ;;
   9411 
   9412 freebsd* | dragonfly*)
   9413   # DragonFly does not have aout.  When/if they implement a new
   9414   # versioning mechanism, adjust this.
   9415   if test -x /usr/bin/objformat; then
   9416     objformat=`/usr/bin/objformat`
   9417   else
   9418     case $host_os in
   9419     freebsd[123]*) objformat=aout ;;
   9420     *) objformat=elf ;;
   9421     esac
   9422   fi
   9423   version_type=freebsd-$objformat
   9424   case $version_type in
   9425     freebsd-elf*)
   9426       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   9427       need_version=no
   9428       need_lib_prefix=no
   9429       ;;
   9430     freebsd-*)
   9431       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
   9432       need_version=yes
   9433       ;;
   9434   esac
   9435   shlibpath_var=LD_LIBRARY_PATH
   9436   case $host_os in
   9437   freebsd2*)
   9438     shlibpath_overrides_runpath=yes
   9439     ;;
   9440   freebsd3.[01]* | freebsdelf3.[01]*)
   9441     shlibpath_overrides_runpath=yes
   9442     hardcode_into_libs=yes
   9443     ;;
   9444   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   9445   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   9446     shlibpath_overrides_runpath=no
   9447     hardcode_into_libs=yes
   9448     ;;
   9449   *) # from 4.6 on, and DragonFly
   9450     shlibpath_overrides_runpath=yes
   9451     hardcode_into_libs=yes
   9452     ;;
   9453   esac
   9454   ;;
   9455 
   9456 gnu*)
   9457   version_type=linux
   9458   need_lib_prefix=no
   9459   need_version=no
   9460   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   9461   soname_spec='${libname}${release}${shared_ext}$major'
   9462   shlibpath_var=LD_LIBRARY_PATH
   9463   hardcode_into_libs=yes
   9464   ;;
   9465 
   9466 hpux9* | hpux10* | hpux11*)
   9467   # Give a soname corresponding to the major version so that dld.sl refuses to
   9468   # link against other versions.
   9469   version_type=sunos
   9470   need_lib_prefix=no
   9471   need_version=no
   9472   case $host_cpu in
   9473   ia64*)
   9474     shrext_cmds='.so'
   9475     hardcode_into_libs=yes
   9476     dynamic_linker="$host_os dld.so"
   9477     shlibpath_var=LD_LIBRARY_PATH
   9478     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   9479     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9480     soname_spec='${libname}${release}${shared_ext}$major'
   9481     if test "X$HPUX_IA64_MODE" = X32; then
   9482       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   9483     else
   9484       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   9485     fi
   9486     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   9487     ;;
   9488    hppa*64*)
   9489      shrext_cmds='.sl'
   9490      hardcode_into_libs=yes
   9491      dynamic_linker="$host_os dld.sl"
   9492      shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   9493      shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   9494      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9495      soname_spec='${libname}${release}${shared_ext}$major'
   9496      sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   9497      sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   9498      ;;
   9499    *)
   9500     shrext_cmds='.sl'
   9501     dynamic_linker="$host_os dld.sl"
   9502     shlibpath_var=SHLIB_PATH
   9503     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   9504     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9505     soname_spec='${libname}${release}${shared_ext}$major'
   9506     ;;
   9507   esac
   9508   # HP-UX runs *really* slowly unless shared libraries are mode 555.
   9509   postinstall_cmds='chmod 555 $lib'
   9510   ;;
   9511 
   9512 interix[3-9]*)
   9513   version_type=linux
   9514   need_lib_prefix=no
   9515   need_version=no
   9516   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   9517   soname_spec='${libname}${release}${shared_ext}$major'
   9518   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   9519   shlibpath_var=LD_LIBRARY_PATH
   9520   shlibpath_overrides_runpath=no
   9521   hardcode_into_libs=yes
   9522   ;;
   9523 
   9524 irix5* | irix6* | nonstopux*)
   9525   case $host_os in
   9526     nonstopux*) version_type=nonstopux ;;
   9527     *)
   9528 	if test "$lt_cv_prog_gnu_ld" = yes; then
   9529 		version_type=linux
   9530 	else
   9531 		version_type=irix
   9532 	fi ;;
   9533   esac
   9534   need_lib_prefix=no
   9535   need_version=no
   9536   soname_spec='${libname}${release}${shared_ext}$major'
   9537   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
   9538   case $host_os in
   9539   irix5* | nonstopux*)
   9540     libsuff= shlibsuff=
   9541     ;;
   9542   *)
   9543     case $LD in # libtool.m4 will add one of these switches to LD
   9544     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   9545       libsuff= shlibsuff= libmagic=32-bit;;
   9546     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   9547       libsuff=32 shlibsuff=N32 libmagic=N32;;
   9548     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   9549       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   9550     *) libsuff= shlibsuff= libmagic=never-match;;
   9551     esac
   9552     ;;
   9553   esac
   9554   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   9555   shlibpath_overrides_runpath=no
   9556   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   9557   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   9558   hardcode_into_libs=yes
   9559   ;;
   9560 
   9561 # No shared lib support for Linux oldld, aout, or coff.
   9562 linux*oldld* | linux*aout* | linux*coff*)
   9563   dynamic_linker=no
   9564   ;;
   9565 
   9566 # This must be Linux ELF.
   9567 linux* | k*bsd*-gnu)
   9568   version_type=linux
   9569   need_lib_prefix=no
   9570   need_version=no
   9571   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9572   soname_spec='${libname}${release}${shared_ext}$major'
   9573   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   9574   shlibpath_var=LD_LIBRARY_PATH
   9575   shlibpath_overrides_runpath=no
   9576   # This implies no fast_install, which is unacceptable.
   9577   # Some rework will be needed to allow for fast_install
   9578   # before this can be enabled.
   9579   hardcode_into_libs=yes
   9580   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   9581   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   9582 
   9583   # Append ld.so.conf contents to the search path
   9584   if test -f /etc/ld.so.conf; then
   9585     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' ' '`
   9586     sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
   9587   fi
   9588 
   9589   # We used to test for /lib/ld.so.1 and disable shared libraries on
   9590   # powerpc, because MkLinux only supported shared libraries with the
   9591   # GNU dynamic linker.  Since this was broken with cross compilers,
   9592   # most powerpc-linux boxes support dynamic linking these days and
   9593   # people can always --disable-shared, the test was removed, and we
   9594   # assume the GNU/Linux dynamic linker is in use.
   9595   dynamic_linker='GNU/Linux ld.so'
   9596   ;;
   9597 
   9598 netbsd*)
   9599   version_type=sunos
   9600   need_lib_prefix=no
   9601   need_version=no
   9602   if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   9603     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   9604     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   9605     dynamic_linker='NetBSD (a.out) ld.so'
   9606   else
   9607     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   9608     soname_spec='${libname}${release}${shared_ext}$major'
   9609     dynamic_linker='NetBSD ld.elf_so'
   9610   fi
   9611   shlibpath_var=LD_LIBRARY_PATH
   9612   shlibpath_overrides_runpath=yes
   9613   hardcode_into_libs=yes
   9614   ;;
   9615 
   9616 newsos6)
   9617   version_type=linux
   9618   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9619   shlibpath_var=LD_LIBRARY_PATH
   9620   shlibpath_overrides_runpath=yes
   9621   ;;
   9622 
   9623 nto-qnx*)
   9624   version_type=linux
   9625   need_lib_prefix=no
   9626   need_version=no
   9627   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9628   soname_spec='${libname}${release}${shared_ext}$major'
   9629   shlibpath_var=LD_LIBRARY_PATH
   9630   shlibpath_overrides_runpath=yes
   9631   ;;
   9632 
   9633 openbsd*)
   9634   version_type=sunos
   9635   sys_lib_dlsearch_path_spec="/usr/lib"
   9636   need_lib_prefix=no
   9637   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
   9638   case $host_os in
   9639     openbsd3.3 | openbsd3.3.*) need_version=yes ;;
   9640     *)                         need_version=no  ;;
   9641   esac
   9642   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   9643   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   9644   shlibpath_var=LD_LIBRARY_PATH
   9645   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   9646     case $host_os in
   9647       openbsd2.[89] | openbsd2.[89].*)
   9648 	shlibpath_overrides_runpath=no
   9649 	;;
   9650       *)
   9651 	shlibpath_overrides_runpath=yes
   9652 	;;
   9653       esac
   9654   else
   9655     shlibpath_overrides_runpath=yes
   9656   fi
   9657   ;;
   9658 
   9659 os2*)
   9660   libname_spec='$name'
   9661   shrext_cmds=".dll"
   9662   need_lib_prefix=no
   9663   library_names_spec='$libname${shared_ext} $libname.a'
   9664   dynamic_linker='OS/2 ld.exe'
   9665   shlibpath_var=LIBPATH
   9666   ;;
   9667 
   9668 osf3* | osf4* | osf5*)
   9669   version_type=osf
   9670   need_lib_prefix=no
   9671   need_version=no
   9672   soname_spec='${libname}${release}${shared_ext}$major'
   9673   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9674   shlibpath_var=LD_LIBRARY_PATH
   9675   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   9676   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   9677   ;;
   9678 
   9679 rdos*)
   9680   dynamic_linker=no
   9681   ;;
   9682 
   9683 solaris*)
   9684   version_type=linux
   9685   need_lib_prefix=no
   9686   need_version=no
   9687   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9688   soname_spec='${libname}${release}${shared_ext}$major'
   9689   shlibpath_var=LD_LIBRARY_PATH
   9690   shlibpath_overrides_runpath=yes
   9691   hardcode_into_libs=yes
   9692   # ldd complains unless libraries are executable
   9693   postinstall_cmds='chmod +x $lib'
   9694   ;;
   9695 
   9696 sunos4*)
   9697   version_type=sunos
   9698   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   9699   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   9700   shlibpath_var=LD_LIBRARY_PATH
   9701   shlibpath_overrides_runpath=yes
   9702   if test "$with_gnu_ld" = yes; then
   9703     need_lib_prefix=no
   9704   fi
   9705   need_version=yes
   9706   ;;
   9707 
   9708 sysv4 | sysv4.3*)
   9709   version_type=linux
   9710   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9711   soname_spec='${libname}${release}${shared_ext}$major'
   9712   shlibpath_var=LD_LIBRARY_PATH
   9713   case $host_vendor in
   9714     sni)
   9715       shlibpath_overrides_runpath=no
   9716       need_lib_prefix=no
   9717       export_dynamic_flag_spec='${wl}-Blargedynsym'
   9718       runpath_var=LD_RUN_PATH
   9719       ;;
   9720     siemens)
   9721       need_lib_prefix=no
   9722       ;;
   9723     motorola)
   9724       need_lib_prefix=no
   9725       need_version=no
   9726       shlibpath_overrides_runpath=no
   9727       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   9728       ;;
   9729   esac
   9730   ;;
   9731 
   9732 sysv4*MP*)
   9733   if test -d /usr/nec ;then
   9734     version_type=linux
   9735     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
   9736     soname_spec='$libname${shared_ext}.$major'
   9737     shlibpath_var=LD_LIBRARY_PATH
   9738   fi
   9739   ;;
   9740 
   9741 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   9742   version_type=freebsd-elf
   9743   need_lib_prefix=no
   9744   need_version=no
   9745   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   9746   soname_spec='${libname}${release}${shared_ext}$major'
   9747   shlibpath_var=LD_LIBRARY_PATH
   9748   hardcode_into_libs=yes
   9749   if test "$with_gnu_ld" = yes; then
   9750     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   9751     shlibpath_overrides_runpath=no
   9752   else
   9753     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   9754     shlibpath_overrides_runpath=yes
   9755     case $host_os in
   9756       sco3.2v5*)
   9757         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   9758 	;;
   9759     esac
   9760   fi
   9761   sys_lib_dlsearch_path_spec='/usr/lib'
   9762   ;;
   9763 
   9764 uts4*)
   9765   version_type=linux
   9766   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9767   soname_spec='${libname}${release}${shared_ext}$major'
   9768   shlibpath_var=LD_LIBRARY_PATH
   9769   ;;
   9770 
   9771 *)
   9772   dynamic_linker=no
   9773   ;;
   9774 esac
   9775 { $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
   9776 $as_echo "$dynamic_linker" >&6; }
   9777 test "$dynamic_linker" = no && can_build_shared=no
   9778 
   9779 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
   9780   $as_echo_n "(cached) " >&6
   9781 else
   9782   lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
   9783 fi
   9784 
   9785 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
   9786 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
   9787   $as_echo_n "(cached) " >&6
   9788 else
   9789   lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
   9790 fi
   9791 
   9792 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
   9793 
   9794 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   9795 if test "$GCC" = yes; then
   9796   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   9797 fi
   9798 
   9799 { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
   9800 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
   9801 hardcode_action=
   9802 if test -n "$hardcode_libdir_flag_spec" || \
   9803    test -n "$runpath_var" || \
   9804    test "X$hardcode_automatic" = "Xyes" ; then
   9805 
   9806   # We can hardcode non-existant directories.
   9807   if test "$hardcode_direct" != no &&
   9808      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   9809      # have to relink, otherwise we might link with an installed library
   9810      # when we should be linking with a yet-to-be-installed one
   9811      ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
   9812      test "$hardcode_minus_L" != no; then
   9813     # Linking always hardcodes the temporary library directory.
   9814     hardcode_action=relink
   9815   else
   9816     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   9817     hardcode_action=immediate
   9818   fi
   9819 else
   9820   # We cannot hardcode anything, or else we can only hardcode existing
   9821   # directories.
   9822   hardcode_action=unsupported
   9823 fi
   9824 { $as_echo "$as_me:$LINENO: result: $hardcode_action" >&5
   9825 $as_echo "$hardcode_action" >&6; }
   9826 
   9827 if test "$hardcode_action" = relink; then
   9828   # Fast installation is not supported
   9829   enable_fast_install=no
   9830 elif test "$shlibpath_overrides_runpath" = yes ||
   9831      test "$enable_shared" = no; then
   9832   # Fast installation is not necessary
   9833   enable_fast_install=needless
   9834 fi
   9835 
   9836 striplib=
   9837 old_striplib=
   9838 { $as_echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
   9839 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
   9840 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
   9841   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
   9842   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
   9843   { $as_echo "$as_me:$LINENO: result: yes" >&5
   9844 $as_echo "yes" >&6; }
   9845 else
   9846 # FIXME - insert some real tests, host_os isn't really good enough
   9847   case $host_os in
   9848    darwin*)
   9849        if test -n "$STRIP" ; then
   9850          striplib="$STRIP -x"
   9851          old_striplib="$STRIP -S"
   9852          { $as_echo "$as_me:$LINENO: result: yes" >&5
   9853 $as_echo "yes" >&6; }
   9854        else
   9855   { $as_echo "$as_me:$LINENO: result: no" >&5
   9856 $as_echo "no" >&6; }
   9857 fi
   9858        ;;
   9859    *)
   9860   { $as_echo "$as_me:$LINENO: result: no" >&5
   9861 $as_echo "no" >&6; }
   9862     ;;
   9863   esac
   9864 fi
   9865 
   9866 if test "x$enable_dlopen" != xyes; then
   9867   enable_dlopen=unknown
   9868   enable_dlopen_self=unknown
   9869   enable_dlopen_self_static=unknown
   9870 else
   9871   lt_cv_dlopen=no
   9872   lt_cv_dlopen_libs=
   9873 
   9874   case $host_os in
   9875   beos*)
   9876     lt_cv_dlopen="load_add_on"
   9877     lt_cv_dlopen_libs=
   9878     lt_cv_dlopen_self=yes
   9879     ;;
   9880 
   9881   mingw* | pw32*)
   9882     lt_cv_dlopen="LoadLibrary"
   9883     lt_cv_dlopen_libs=
   9884    ;;
   9885 
   9886   cygwin*)
   9887     lt_cv_dlopen="dlopen"
   9888     lt_cv_dlopen_libs=
   9889    ;;
   9890 
   9891   darwin*)
   9892   # if libdl is installed we need to link against it
   9893     { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
   9894 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   9895 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
   9896   $as_echo_n "(cached) " >&6
   9897 else
   9898   ac_check_lib_save_LIBS=$LIBS
   9899 LIBS="-ldl  $LIBS"
   9900 cat >conftest.$ac_ext <<_ACEOF
   9901 /* confdefs.h.  */
   9902 _ACEOF
   9903 cat confdefs.h >>conftest.$ac_ext
   9904 cat >>conftest.$ac_ext <<_ACEOF
   9905 /* end confdefs.h.  */
   9906 
   9907 /* Override any GCC internal prototype to avoid an error.
   9908    Use char because int might match the return type of a GCC
   9909    builtin and then its argument prototype would still apply.  */
   9910 #ifdef __cplusplus
   9911 extern "C"
   9912 #endif
   9913 char dlopen ();
   9914 int
   9915 main ()
   9916 {
   9917 return dlopen ();
   9918   ;
   9919   return 0;
   9920 }
   9921 _ACEOF
   9922 rm -f conftest.$ac_objext conftest$ac_exeext
   9923 if { (ac_try="$ac_link"
   9924 case "(($ac_try" in
   9925   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   9926   *) ac_try_echo=$ac_try;;
   9927 esac
   9928 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   9929 $as_echo "$ac_try_echo") >&5
   9930   (eval "$ac_link") 2>conftest.er1
   9931   ac_status=$?
   9932   grep -v '^ *+' conftest.er1 >conftest.err
   9933   rm -f conftest.er1
   9934   cat conftest.err >&5
   9935   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9936   (exit $ac_status); } && {
   9937 	 test -z "$ac_c_werror_flag" ||
   9938 	 test ! -s conftest.err
   9939        } && test -s conftest$ac_exeext && {
   9940 	 test "$cross_compiling" = yes ||
   9941 	 $as_test_x conftest$ac_exeext
   9942        }; then
   9943   ac_cv_lib_dl_dlopen=yes
   9944 else
   9945   $as_echo "$as_me: failed program was:" >&5
   9946 sed 's/^/| /' conftest.$ac_ext >&5
   9947 
   9948 	ac_cv_lib_dl_dlopen=no
   9949 fi
   9950 
   9951 rm -rf conftest.dSYM
   9952 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   9953       conftest$ac_exeext conftest.$ac_ext
   9954 LIBS=$ac_check_lib_save_LIBS
   9955 fi
   9956 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
   9957 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   9958 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
   9959   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   9960 else
   9961 
   9962     lt_cv_dlopen="dyld"
   9963     lt_cv_dlopen_libs=
   9964     lt_cv_dlopen_self=yes
   9965 
   9966 fi
   9967 
   9968    ;;
   9969 
   9970   *)
   9971     { $as_echo "$as_me:$LINENO: checking for shl_load" >&5
   9972 $as_echo_n "checking for shl_load... " >&6; }
   9973 if test "${ac_cv_func_shl_load+set}" = set; then
   9974   $as_echo_n "(cached) " >&6
   9975 else
   9976   cat >conftest.$ac_ext <<_ACEOF
   9977 /* confdefs.h.  */
   9978 _ACEOF
   9979 cat confdefs.h >>conftest.$ac_ext
   9980 cat >>conftest.$ac_ext <<_ACEOF
   9981 /* end confdefs.h.  */
   9982 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
   9983    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   9984 #define shl_load innocuous_shl_load
   9985 
   9986 /* System header to define __stub macros and hopefully few prototypes,
   9987     which can conflict with char shl_load (); below.
   9988     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   9989     <limits.h> exists even on freestanding compilers.  */
   9990 
   9991 #ifdef __STDC__
   9992 # include <limits.h>
   9993 #else
   9994 # include <assert.h>
   9995 #endif
   9996 
   9997 #undef shl_load
   9998 
   9999 /* Override any GCC internal prototype to avoid an error.
   10000    Use char because int might match the return type of a GCC
   10001    builtin and then its argument prototype would still apply.  */
   10002 #ifdef __cplusplus
   10003 extern "C"
   10004 #endif
   10005 char shl_load ();
   10006 /* The GNU C library defines this for functions which it implements
   10007     to always fail with ENOSYS.  Some functions are actually named
   10008     something starting with __ and the normal name is an alias.  */
   10009 #if defined __stub_shl_load || defined __stub___shl_load
   10010 choke me
   10011 #endif
   10012 
   10013 int
   10014 main ()
   10015 {
   10016 return shl_load ();
   10017   ;
   10018   return 0;
   10019 }
   10020 _ACEOF
   10021 rm -f conftest.$ac_objext conftest$ac_exeext
   10022 if { (ac_try="$ac_link"
   10023 case "(($ac_try" in
   10024   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   10025   *) ac_try_echo=$ac_try;;
   10026 esac
   10027 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   10028 $as_echo "$ac_try_echo") >&5
   10029   (eval "$ac_link") 2>conftest.er1
   10030   ac_status=$?
   10031   grep -v '^ *+' conftest.er1 >conftest.err
   10032   rm -f conftest.er1
   10033   cat conftest.err >&5
   10034   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10035   (exit $ac_status); } && {
   10036 	 test -z "$ac_c_werror_flag" ||
   10037 	 test ! -s conftest.err
   10038        } && test -s conftest$ac_exeext && {
   10039 	 test "$cross_compiling" = yes ||
   10040 	 $as_test_x conftest$ac_exeext
   10041        }; then
   10042   ac_cv_func_shl_load=yes
   10043 else
   10044   $as_echo "$as_me: failed program was:" >&5
   10045 sed 's/^/| /' conftest.$ac_ext >&5
   10046 
   10047 	ac_cv_func_shl_load=no
   10048 fi
   10049 
   10050 rm -rf conftest.dSYM
   10051 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   10052       conftest$ac_exeext conftest.$ac_ext
   10053 fi
   10054 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
   10055 $as_echo "$ac_cv_func_shl_load" >&6; }
   10056 if test "x$ac_cv_func_shl_load" = x""yes; then
   10057   lt_cv_dlopen="shl_load"
   10058 else
   10059   { $as_echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
   10060 $as_echo_n "checking for shl_load in -ldld... " >&6; }
   10061 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
   10062   $as_echo_n "(cached) " >&6
   10063 else
   10064   ac_check_lib_save_LIBS=$LIBS
   10065 LIBS="-ldld  $LIBS"
   10066 cat >conftest.$ac_ext <<_ACEOF
   10067 /* confdefs.h.  */
   10068 _ACEOF
   10069 cat confdefs.h >>conftest.$ac_ext
   10070 cat >>conftest.$ac_ext <<_ACEOF
   10071 /* end confdefs.h.  */
   10072 
   10073 /* Override any GCC internal prototype to avoid an error.
   10074    Use char because int might match the return type of a GCC
   10075    builtin and then its argument prototype would still apply.  */
   10076 #ifdef __cplusplus
   10077 extern "C"
   10078 #endif
   10079 char shl_load ();
   10080 int
   10081 main ()
   10082 {
   10083 return shl_load ();
   10084   ;
   10085   return 0;
   10086 }
   10087 _ACEOF
   10088 rm -f conftest.$ac_objext conftest$ac_exeext
   10089 if { (ac_try="$ac_link"
   10090 case "(($ac_try" in
   10091   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   10092   *) ac_try_echo=$ac_try;;
   10093 esac
   10094 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   10095 $as_echo "$ac_try_echo") >&5
   10096   (eval "$ac_link") 2>conftest.er1
   10097   ac_status=$?
   10098   grep -v '^ *+' conftest.er1 >conftest.err
   10099   rm -f conftest.er1
   10100   cat conftest.err >&5
   10101   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10102   (exit $ac_status); } && {
   10103 	 test -z "$ac_c_werror_flag" ||
   10104 	 test ! -s conftest.err
   10105        } && test -s conftest$ac_exeext && {
   10106 	 test "$cross_compiling" = yes ||
   10107 	 $as_test_x conftest$ac_exeext
   10108        }; then
   10109   ac_cv_lib_dld_shl_load=yes
   10110 else
   10111   $as_echo "$as_me: failed program was:" >&5
   10112 sed 's/^/| /' conftest.$ac_ext >&5
   10113 
   10114 	ac_cv_lib_dld_shl_load=no
   10115 fi
   10116 
   10117 rm -rf conftest.dSYM
   10118 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   10119       conftest$ac_exeext conftest.$ac_ext
   10120 LIBS=$ac_check_lib_save_LIBS
   10121 fi
   10122 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
   10123 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
   10124 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then
   10125   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
   10126 else
   10127   { $as_echo "$as_me:$LINENO: checking for dlopen" >&5
   10128 $as_echo_n "checking for dlopen... " >&6; }
   10129 if test "${ac_cv_func_dlopen+set}" = set; then
   10130   $as_echo_n "(cached) " >&6
   10131 else
   10132   cat >conftest.$ac_ext <<_ACEOF
   10133 /* confdefs.h.  */
   10134 _ACEOF
   10135 cat confdefs.h >>conftest.$ac_ext
   10136 cat >>conftest.$ac_ext <<_ACEOF
   10137 /* end confdefs.h.  */
   10138 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
   10139    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   10140 #define dlopen innocuous_dlopen
   10141 
   10142 /* System header to define __stub macros and hopefully few prototypes,
   10143     which can conflict with char dlopen (); below.
   10144     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   10145     <limits.h> exists even on freestanding compilers.  */
   10146 
   10147 #ifdef __STDC__
   10148 # include <limits.h>
   10149 #else
   10150 # include <assert.h>
   10151 #endif
   10152 
   10153 #undef dlopen
   10154 
   10155 /* Override any GCC internal prototype to avoid an error.
   10156    Use char because int might match the return type of a GCC
   10157    builtin and then its argument prototype would still apply.  */
   10158 #ifdef __cplusplus
   10159 extern "C"
   10160 #endif
   10161 char dlopen ();
   10162 /* The GNU C library defines this for functions which it implements
   10163     to always fail with ENOSYS.  Some functions are actually named
   10164     something starting with __ and the normal name is an alias.  */
   10165 #if defined __stub_dlopen || defined __stub___dlopen
   10166 choke me
   10167 #endif
   10168 
   10169 int
   10170 main ()
   10171 {
   10172 return dlopen ();
   10173   ;
   10174   return 0;
   10175 }
   10176 _ACEOF
   10177 rm -f conftest.$ac_objext conftest$ac_exeext
   10178 if { (ac_try="$ac_link"
   10179 case "(($ac_try" in
   10180   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   10181   *) ac_try_echo=$ac_try;;
   10182 esac
   10183 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   10184 $as_echo "$ac_try_echo") >&5
   10185   (eval "$ac_link") 2>conftest.er1
   10186   ac_status=$?
   10187   grep -v '^ *+' conftest.er1 >conftest.err
   10188   rm -f conftest.er1
   10189   cat conftest.err >&5
   10190   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10191   (exit $ac_status); } && {
   10192 	 test -z "$ac_c_werror_flag" ||
   10193 	 test ! -s conftest.err
   10194        } && test -s conftest$ac_exeext && {
   10195 	 test "$cross_compiling" = yes ||
   10196 	 $as_test_x conftest$ac_exeext
   10197        }; then
   10198   ac_cv_func_dlopen=yes
   10199 else
   10200   $as_echo "$as_me: failed program was:" >&5
   10201 sed 's/^/| /' conftest.$ac_ext >&5
   10202 
   10203 	ac_cv_func_dlopen=no
   10204 fi
   10205 
   10206 rm -rf conftest.dSYM
   10207 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   10208       conftest$ac_exeext conftest.$ac_ext
   10209 fi
   10210 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
   10211 $as_echo "$ac_cv_func_dlopen" >&6; }
   10212 if test "x$ac_cv_func_dlopen" = x""yes; then
   10213   lt_cv_dlopen="dlopen"
   10214 else
   10215   { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
   10216 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   10217 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
   10218   $as_echo_n "(cached) " >&6
   10219 else
   10220   ac_check_lib_save_LIBS=$LIBS
   10221 LIBS="-ldl  $LIBS"
   10222 cat >conftest.$ac_ext <<_ACEOF
   10223 /* confdefs.h.  */
   10224 _ACEOF
   10225 cat confdefs.h >>conftest.$ac_ext
   10226 cat >>conftest.$ac_ext <<_ACEOF
   10227 /* end confdefs.h.  */
   10228 
   10229 /* Override any GCC internal prototype to avoid an error.
   10230    Use char because int might match the return type of a GCC
   10231    builtin and then its argument prototype would still apply.  */
   10232 #ifdef __cplusplus
   10233 extern "C"
   10234 #endif
   10235 char dlopen ();
   10236 int
   10237 main ()
   10238 {
   10239 return dlopen ();
   10240   ;
   10241   return 0;
   10242 }
   10243 _ACEOF
   10244 rm -f conftest.$ac_objext conftest$ac_exeext
   10245 if { (ac_try="$ac_link"
   10246 case "(($ac_try" in
   10247   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   10248   *) ac_try_echo=$ac_try;;
   10249 esac
   10250 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   10251 $as_echo "$ac_try_echo") >&5
   10252   (eval "$ac_link") 2>conftest.er1
   10253   ac_status=$?
   10254   grep -v '^ *+' conftest.er1 >conftest.err
   10255   rm -f conftest.er1
   10256   cat conftest.err >&5
   10257   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10258   (exit $ac_status); } && {
   10259 	 test -z "$ac_c_werror_flag" ||
   10260 	 test ! -s conftest.err
   10261        } && test -s conftest$ac_exeext && {
   10262 	 test "$cross_compiling" = yes ||
   10263 	 $as_test_x conftest$ac_exeext
   10264        }; then
   10265   ac_cv_lib_dl_dlopen=yes
   10266 else
   10267   $as_echo "$as_me: failed program was:" >&5
   10268 sed 's/^/| /' conftest.$ac_ext >&5
   10269 
   10270 	ac_cv_lib_dl_dlopen=no
   10271 fi
   10272 
   10273 rm -rf conftest.dSYM
   10274 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   10275       conftest$ac_exeext conftest.$ac_ext
   10276 LIBS=$ac_check_lib_save_LIBS
   10277 fi
   10278 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
   10279 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   10280 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
   10281   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   10282 else
   10283   { $as_echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
   10284 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
   10285 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
   10286   $as_echo_n "(cached) " >&6
   10287 else
   10288   ac_check_lib_save_LIBS=$LIBS
   10289 LIBS="-lsvld  $LIBS"
   10290 cat >conftest.$ac_ext <<_ACEOF
   10291 /* confdefs.h.  */
   10292 _ACEOF
   10293 cat confdefs.h >>conftest.$ac_ext
   10294 cat >>conftest.$ac_ext <<_ACEOF
   10295 /* end confdefs.h.  */
   10296 
   10297 /* Override any GCC internal prototype to avoid an error.
   10298    Use char because int might match the return type of a GCC
   10299    builtin and then its argument prototype would still apply.  */
   10300 #ifdef __cplusplus
   10301 extern "C"
   10302 #endif
   10303 char dlopen ();
   10304 int
   10305 main ()
   10306 {
   10307 return dlopen ();
   10308   ;
   10309   return 0;
   10310 }
   10311 _ACEOF
   10312 rm -f conftest.$ac_objext conftest$ac_exeext
   10313 if { (ac_try="$ac_link"
   10314 case "(($ac_try" in
   10315   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   10316   *) ac_try_echo=$ac_try;;
   10317 esac
   10318 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   10319 $as_echo "$ac_try_echo") >&5
   10320   (eval "$ac_link") 2>conftest.er1
   10321   ac_status=$?
   10322   grep -v '^ *+' conftest.er1 >conftest.err
   10323   rm -f conftest.er1
   10324   cat conftest.err >&5
   10325   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10326   (exit $ac_status); } && {
   10327 	 test -z "$ac_c_werror_flag" ||
   10328 	 test ! -s conftest.err
   10329        } && test -s conftest$ac_exeext && {
   10330 	 test "$cross_compiling" = yes ||
   10331 	 $as_test_x conftest$ac_exeext
   10332        }; then
   10333   ac_cv_lib_svld_dlopen=yes
   10334 else
   10335   $as_echo "$as_me: failed program was:" >&5
   10336 sed 's/^/| /' conftest.$ac_ext >&5
   10337 
   10338 	ac_cv_lib_svld_dlopen=no
   10339 fi
   10340 
   10341 rm -rf conftest.dSYM
   10342 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   10343       conftest$ac_exeext conftest.$ac_ext
   10344 LIBS=$ac_check_lib_save_LIBS
   10345 fi
   10346 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
   10347 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
   10348 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then
   10349   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
   10350 else
   10351   { $as_echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
   10352 $as_echo_n "checking for dld_link in -ldld... " >&6; }
   10353 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
   10354   $as_echo_n "(cached) " >&6
   10355 else
   10356   ac_check_lib_save_LIBS=$LIBS
   10357 LIBS="-ldld  $LIBS"
   10358 cat >conftest.$ac_ext <<_ACEOF
   10359 /* confdefs.h.  */
   10360 _ACEOF
   10361 cat confdefs.h >>conftest.$ac_ext
   10362 cat >>conftest.$ac_ext <<_ACEOF
   10363 /* end confdefs.h.  */
   10364 
   10365 /* Override any GCC internal prototype to avoid an error.
   10366    Use char because int might match the return type of a GCC
   10367    builtin and then its argument prototype would still apply.  */
   10368 #ifdef __cplusplus
   10369 extern "C"
   10370 #endif
   10371 char dld_link ();
   10372 int
   10373 main ()
   10374 {
   10375 return dld_link ();
   10376   ;
   10377   return 0;
   10378 }
   10379 _ACEOF
   10380 rm -f conftest.$ac_objext conftest$ac_exeext
   10381 if { (ac_try="$ac_link"
   10382 case "(($ac_try" in
   10383   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   10384   *) ac_try_echo=$ac_try;;
   10385 esac
   10386 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   10387 $as_echo "$ac_try_echo") >&5
   10388   (eval "$ac_link") 2>conftest.er1
   10389   ac_status=$?
   10390   grep -v '^ *+' conftest.er1 >conftest.err
   10391   rm -f conftest.er1
   10392   cat conftest.err >&5
   10393   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10394   (exit $ac_status); } && {
   10395 	 test -z "$ac_c_werror_flag" ||
   10396 	 test ! -s conftest.err
   10397        } && test -s conftest$ac_exeext && {
   10398 	 test "$cross_compiling" = yes ||
   10399 	 $as_test_x conftest$ac_exeext
   10400        }; then
   10401   ac_cv_lib_dld_dld_link=yes
   10402 else
   10403   $as_echo "$as_me: failed program was:" >&5
   10404 sed 's/^/| /' conftest.$ac_ext >&5
   10405 
   10406 	ac_cv_lib_dld_dld_link=no
   10407 fi
   10408 
   10409 rm -rf conftest.dSYM
   10410 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   10411       conftest$ac_exeext conftest.$ac_ext
   10412 LIBS=$ac_check_lib_save_LIBS
   10413 fi
   10414 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
   10415 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
   10416 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then
   10417   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
   10418 fi
   10419 
   10420 
   10421 fi
   10422 
   10423 
   10424 fi
   10425 
   10426 
   10427 fi
   10428 
   10429 
   10430 fi
   10431 
   10432 
   10433 fi
   10434 
   10435     ;;
   10436   esac
   10437 
   10438   if test "x$lt_cv_dlopen" != xno; then
   10439     enable_dlopen=yes
   10440   else
   10441     enable_dlopen=no
   10442   fi
   10443 
   10444   case $lt_cv_dlopen in
   10445   dlopen)
   10446     save_CPPFLAGS="$CPPFLAGS"
   10447     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
   10448 
   10449     save_LDFLAGS="$LDFLAGS"
   10450     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
   10451 
   10452     save_LIBS="$LIBS"
   10453     LIBS="$lt_cv_dlopen_libs $LIBS"
   10454 
   10455     { $as_echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
   10456 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
   10457 if test "${lt_cv_dlopen_self+set}" = set; then
   10458   $as_echo_n "(cached) " >&6
   10459 else
   10460   	  if test "$cross_compiling" = yes; then :
   10461   lt_cv_dlopen_self=cross
   10462 else
   10463   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   10464   lt_status=$lt_dlunknown
   10465   cat > conftest.$ac_ext <<EOF
   10466 #line 10466 "configure"
   10467 #include "confdefs.h"
   10468 
   10469 #if HAVE_DLFCN_H
   10470 #include <dlfcn.h>
   10471 #endif
   10472 
   10473 #include <stdio.h>
   10474 
   10475 #ifdef RTLD_GLOBAL
   10476 #  define LT_DLGLOBAL		RTLD_GLOBAL
   10477 #else
   10478 #  ifdef DL_GLOBAL
   10479 #    define LT_DLGLOBAL		DL_GLOBAL
   10480 #  else
   10481 #    define LT_DLGLOBAL		0
   10482 #  endif
   10483 #endif
   10484 
   10485 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   10486    find out it does not work in some platform. */
   10487 #ifndef LT_DLLAZY_OR_NOW
   10488 #  ifdef RTLD_LAZY
   10489 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   10490 #  else
   10491 #    ifdef DL_LAZY
   10492 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   10493 #    else
   10494 #      ifdef RTLD_NOW
   10495 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   10496 #      else
   10497 #        ifdef DL_NOW
   10498 #          define LT_DLLAZY_OR_NOW	DL_NOW
   10499 #        else
   10500 #          define LT_DLLAZY_OR_NOW	0
   10501 #        endif
   10502 #      endif
   10503 #    endif
   10504 #  endif
   10505 #endif
   10506 
   10507 #ifdef __cplusplus
   10508 extern "C" void exit (int);
   10509 #endif
   10510 
   10511 void fnord() { int i=42;}
   10512 int main ()
   10513 {
   10514   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   10515   int status = $lt_dlunknown;
   10516 
   10517   if (self)
   10518     {
   10519       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   10520       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
   10521       /* dlclose (self); */
   10522     }
   10523   else
   10524     puts (dlerror ());
   10525 
   10526     exit (status);
   10527 }
   10528 EOF
   10529   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   10530   (eval $ac_link) 2>&5
   10531   ac_status=$?
   10532   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10533   (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
   10534     (./conftest; exit; ) >&5 2>/dev/null
   10535     lt_status=$?
   10536     case x$lt_status in
   10537       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
   10538       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
   10539       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
   10540     esac
   10541   else :
   10542     # compilation failed
   10543     lt_cv_dlopen_self=no
   10544   fi
   10545 fi
   10546 rm -fr conftest*
   10547 
   10548 
   10549 fi
   10550 { $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
   10551 $as_echo "$lt_cv_dlopen_self" >&6; }
   10552 
   10553     if test "x$lt_cv_dlopen_self" = xyes; then
   10554       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
   10555       { $as_echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
   10556 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
   10557 if test "${lt_cv_dlopen_self_static+set}" = set; then
   10558   $as_echo_n "(cached) " >&6
   10559 else
   10560   	  if test "$cross_compiling" = yes; then :
   10561   lt_cv_dlopen_self_static=cross
   10562 else
   10563   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   10564   lt_status=$lt_dlunknown
   10565   cat > conftest.$ac_ext <<EOF
   10566 #line 10566 "configure"
   10567 #include "confdefs.h"
   10568 
   10569 #if HAVE_DLFCN_H
   10570 #include <dlfcn.h>
   10571 #endif
   10572 
   10573 #include <stdio.h>
   10574 
   10575 #ifdef RTLD_GLOBAL
   10576 #  define LT_DLGLOBAL		RTLD_GLOBAL
   10577 #else
   10578 #  ifdef DL_GLOBAL
   10579 #    define LT_DLGLOBAL		DL_GLOBAL
   10580 #  else
   10581 #    define LT_DLGLOBAL		0
   10582 #  endif
   10583 #endif
   10584 
   10585 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   10586    find out it does not work in some platform. */
   10587 #ifndef LT_DLLAZY_OR_NOW
   10588 #  ifdef RTLD_LAZY
   10589 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   10590 #  else
   10591 #    ifdef DL_LAZY
   10592 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   10593 #    else
   10594 #      ifdef RTLD_NOW
   10595 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   10596 #      else
   10597 #        ifdef DL_NOW
   10598 #          define LT_DLLAZY_OR_NOW	DL_NOW
   10599 #        else
   10600 #          define LT_DLLAZY_OR_NOW	0
   10601 #        endif
   10602 #      endif
   10603 #    endif
   10604 #  endif
   10605 #endif
   10606 
   10607 #ifdef __cplusplus
   10608 extern "C" void exit (int);
   10609 #endif
   10610 
   10611 void fnord() { int i=42;}
   10612 int main ()
   10613 {
   10614   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   10615   int status = $lt_dlunknown;
   10616 
   10617   if (self)
   10618     {
   10619       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   10620       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
   10621       /* dlclose (self); */
   10622     }
   10623   else
   10624     puts (dlerror ());
   10625 
   10626     exit (status);
   10627 }
   10628 EOF
   10629   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   10630   (eval $ac_link) 2>&5
   10631   ac_status=$?
   10632   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10633   (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
   10634     (./conftest; exit; ) >&5 2>/dev/null
   10635     lt_status=$?
   10636     case x$lt_status in
   10637       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
   10638       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
   10639       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
   10640     esac
   10641   else :
   10642     # compilation failed
   10643     lt_cv_dlopen_self_static=no
   10644   fi
   10645 fi
   10646 rm -fr conftest*
   10647 
   10648 
   10649 fi
   10650 { $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
   10651 $as_echo "$lt_cv_dlopen_self_static" >&6; }
   10652     fi
   10653 
   10654     CPPFLAGS="$save_CPPFLAGS"
   10655     LDFLAGS="$save_LDFLAGS"
   10656     LIBS="$save_LIBS"
   10657     ;;
   10658   esac
   10659 
   10660   case $lt_cv_dlopen_self in
   10661   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
   10662   *) enable_dlopen_self=unknown ;;
   10663   esac
   10664 
   10665   case $lt_cv_dlopen_self_static in
   10666   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
   10667   *) enable_dlopen_self_static=unknown ;;
   10668   esac
   10669 fi
   10670 
   10671 
   10672 # Report which library types will actually be built
   10673 { $as_echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
   10674 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
   10675 { $as_echo "$as_me:$LINENO: result: $can_build_shared" >&5
   10676 $as_echo "$can_build_shared" >&6; }
   10677 
   10678 { $as_echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
   10679 $as_echo_n "checking whether to build shared libraries... " >&6; }
   10680 test "$can_build_shared" = "no" && enable_shared=no
   10681 
   10682 # On AIX, shared libraries and static libraries use the same namespace, and
   10683 # are all built from PIC.
   10684 case $host_os in
   10685 aix3*)
   10686   test "$enable_shared" = yes && enable_static=no
   10687   if test -n "$RANLIB"; then
   10688     archive_cmds="$archive_cmds~\$RANLIB \$lib"
   10689     postinstall_cmds='$RANLIB $lib'
   10690   fi
   10691   ;;
   10692 
   10693 aix[4-9]*)
   10694   if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
   10695     test "$enable_shared" = yes && enable_static=no
   10696   fi
   10697     ;;
   10698 esac
   10699 { $as_echo "$as_me:$LINENO: result: $enable_shared" >&5
   10700 $as_echo "$enable_shared" >&6; }
   10701 
   10702 { $as_echo "$as_me:$LINENO: checking whether to build static libraries" >&5
   10703 $as_echo_n "checking whether to build static libraries... " >&6; }
   10704 # Make sure either enable_shared or enable_static is yes.
   10705 test "$enable_shared" = yes || enable_static=yes
   10706 { $as_echo "$as_me:$LINENO: result: $enable_static" >&5
   10707 $as_echo "$enable_static" >&6; }
   10708 
   10709 # The else clause should only fire when bootstrapping the
   10710 # libtool distribution, otherwise you forgot to ship ltmain.sh
   10711 # with your package, and you will get complaints that there are
   10712 # no rules to generate ltmain.sh.
   10713 if test -f "$ltmain"; then
   10714   # See if we are running on zsh, and set the options which allow our commands through
   10715   # without removal of \ escapes.
   10716   if test -n "${ZSH_VERSION+set}" ; then
   10717     setopt NO_GLOB_SUBST
   10718   fi
   10719   # Now quote all the things that may contain metacharacters while being
   10720   # careful not to overquote the AC_SUBSTed values.  We take copies of the
   10721   # variables and quote the copies for generation of the libtool script.
   10722   for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
   10723     SED SHELL STRIP \
   10724     libname_spec library_names_spec soname_spec extract_expsyms_cmds \
   10725     old_striplib striplib file_magic_cmd finish_cmds finish_eval \
   10726     deplibs_check_method reload_flag reload_cmds need_locks \
   10727     lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
   10728     lt_cv_sys_global_symbol_to_c_name_address \
   10729     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
   10730     old_postinstall_cmds old_postuninstall_cmds \
   10731     compiler \
   10732     CC \
   10733     LD \
   10734     lt_prog_compiler_wl \
   10735     lt_prog_compiler_pic \
   10736     lt_prog_compiler_static \
   10737     lt_prog_compiler_no_builtin_flag \
   10738     export_dynamic_flag_spec \
   10739     thread_safe_flag_spec \
   10740     whole_archive_flag_spec \
   10741     enable_shared_with_static_runtimes \
   10742     old_archive_cmds \
   10743     old_archive_from_new_cmds \
   10744     predep_objects \
   10745     postdep_objects \
   10746     predeps \
   10747     postdeps \
   10748     compiler_lib_search_path \
   10749     compiler_lib_search_dirs \
   10750     archive_cmds \
   10751     archive_expsym_cmds \
   10752     postinstall_cmds \
   10753     postuninstall_cmds \
   10754     old_archive_from_expsyms_cmds \
   10755     allow_undefined_flag \
   10756     no_undefined_flag \
   10757     export_symbols_cmds \
   10758     hardcode_libdir_flag_spec \
   10759     hardcode_libdir_flag_spec_ld \
   10760     hardcode_libdir_separator \
   10761     hardcode_automatic \
   10762     module_cmds \
   10763     module_expsym_cmds \
   10764     lt_cv_prog_compiler_c_o \
   10765     fix_srcfile_path \
   10766     exclude_expsyms \
   10767     include_expsyms; do
   10768 
   10769     case $var in
   10770     old_archive_cmds | \
   10771     old_archive_from_new_cmds | \
   10772     archive_cmds | \
   10773     archive_expsym_cmds | \
   10774     module_cmds | \
   10775     module_expsym_cmds | \
   10776     old_archive_from_expsyms_cmds | \
   10777     export_symbols_cmds | \
   10778     extract_expsyms_cmds | reload_cmds | finish_cmds | \
   10779     postinstall_cmds | postuninstall_cmds | \
   10780     old_postinstall_cmds | old_postuninstall_cmds | \
   10781     sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
   10782       # Double-quote double-evaled strings.
   10783       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
   10784       ;;
   10785     *)
   10786       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
   10787       ;;
   10788     esac
   10789   done
   10790 
   10791   case $lt_echo in
   10792   *'\$0 --fallback-echo"')
   10793     lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
   10794     ;;
   10795   esac
   10796 
   10797 cfgfile="${ofile}T"
   10798   trap "$rm \"$cfgfile\"; exit 1" 1 2 15
   10799   $rm -f "$cfgfile"
   10800   { $as_echo "$as_me:$LINENO: creating $ofile" >&5
   10801 $as_echo "$as_me: creating $ofile" >&6;}
   10802 
   10803   cat <<__EOF__ >> "$cfgfile"
   10804 #! $SHELL
   10805 
   10806 # `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
   10807 # Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
   10808 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
   10809 #
   10810 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008
   10811 # Free Software Foundation, Inc.
   10812 #
   10813 # This file is part of GNU Libtool:
   10814 # Originally by Gordon Matzigkeit <gord (at] gnu.ai.mit.edu>, 1996
   10815 #
   10816 # This program is free software; you can redistribute it and/or modify
   10817 # it under the terms of the GNU General Public License as published by
   10818 # the Free Software Foundation; either version 2 of the License, or
   10819 # (at your option) any later version.
   10820 #
   10821 # This program is distributed in the hope that it will be useful, but
   10822 # WITHOUT ANY WARRANTY; without even the implied warranty of
   10823 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
   10824 # General Public License for more details.
   10825 #
   10826 # You should have received a copy of the GNU General Public License
   10827 # along with this program; if not, write to the Free Software
   10828 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
   10829 #
   10830 # As a special exception to the GNU General Public License, if you
   10831 # distribute this file as part of a program that contains a
   10832 # configuration script generated by Autoconf, you may include it under
   10833 # the same distribution terms that you use for the rest of that program.
   10834 
   10835 # A sed program that does not truncate output.
   10836 SED=$lt_SED
   10837 
   10838 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
   10839 Xsed="$SED -e 1s/^X//"
   10840 
   10841 # The HP-UX ksh and POSIX shell print the target directory to stdout
   10842 # if CDPATH is set.
   10843 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   10844 
   10845 # The names of the tagged configurations supported by this script.
   10846 available_tags=
   10847 
   10848 # ### BEGIN LIBTOOL CONFIG
   10849 
   10850 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   10851 
   10852 # Shell to use when invoking shell scripts.
   10853 SHELL=$lt_SHELL
   10854 
   10855 # Whether or not to build shared libraries.
   10856 build_libtool_libs=$enable_shared
   10857 
   10858 # Whether or not to build static libraries.
   10859 build_old_libs=$enable_static
   10860 
   10861 # Whether or not to add -lc for building shared libraries.
   10862 build_libtool_need_lc=$archive_cmds_need_lc
   10863 
   10864 # Whether or not to disallow shared libs when runtime libs are static
   10865 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
   10866 
   10867 # Whether or not to optimize for fast installation.
   10868 fast_install=$enable_fast_install
   10869 
   10870 # The host system.
   10871 host_alias=$host_alias
   10872 host=$host
   10873 host_os=$host_os
   10874 
   10875 # The build system.
   10876 build_alias=$build_alias
   10877 build=$build
   10878 build_os=$build_os
   10879 
   10880 # An echo program that does not interpret backslashes.
   10881 echo=$lt_echo
   10882 
   10883 # The archiver.
   10884 AR=$lt_AR
   10885 AR_FLAGS=$lt_AR_FLAGS
   10886 
   10887 # A C compiler.
   10888 LTCC=$lt_LTCC
   10889 
   10890 # LTCC compiler flags.
   10891 LTCFLAGS=$lt_LTCFLAGS
   10892 
   10893 # A language-specific compiler.
   10894 CC=$lt_compiler
   10895 
   10896 # Is the compiler the GNU C compiler?
   10897 with_gcc=$GCC
   10898 
   10899 # An ERE matcher.
   10900 EGREP=$lt_EGREP
   10901 
   10902 # The linker used to build libraries.
   10903 LD=$lt_LD
   10904 
   10905 # Whether we need hard or soft links.
   10906 LN_S=$lt_LN_S
   10907 
   10908 # A BSD-compatible nm program.
   10909 NM=$lt_NM
   10910 
   10911 # A symbol stripping program
   10912 STRIP=$lt_STRIP
   10913 
   10914 # Used to examine libraries when file_magic_cmd begins "file"
   10915 MAGIC_CMD=$MAGIC_CMD
   10916 
   10917 # Used on cygwin: DLL creation program.
   10918 DLLTOOL="$DLLTOOL"
   10919 
   10920 # Used on cygwin: object dumper.
   10921 OBJDUMP="$OBJDUMP"
   10922 
   10923 # Used on cygwin: assembler.
   10924 AS="$AS"
   10925 
   10926 # The name of the directory that contains temporary libtool files.
   10927 objdir=$objdir
   10928 
   10929 # How to create reloadable object files.
   10930 reload_flag=$lt_reload_flag
   10931 reload_cmds=$lt_reload_cmds
   10932 
   10933 # How to pass a linker flag through the compiler.
   10934 wl=$lt_lt_prog_compiler_wl
   10935 
   10936 # Object file suffix (normally "o").
   10937 objext="$ac_objext"
   10938 
   10939 # Old archive suffix (normally "a").
   10940 libext="$libext"
   10941 
   10942 # Shared library suffix (normally ".so").
   10943 shrext_cmds='$shrext_cmds'
   10944 
   10945 # Executable file suffix (normally "").
   10946 exeext="$exeext"
   10947 
   10948 # Additional compiler flags for building library objects.
   10949 pic_flag=$lt_lt_prog_compiler_pic
   10950 pic_mode=$pic_mode
   10951 
   10952 # What is the maximum length of a command?
   10953 max_cmd_len=$lt_cv_sys_max_cmd_len
   10954 
   10955 # Does compiler simultaneously support -c and -o options?
   10956 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
   10957 
   10958 # Must we lock files when doing compilation?
   10959 need_locks=$lt_need_locks
   10960 
   10961 # Do we need the lib prefix for modules?
   10962 need_lib_prefix=$need_lib_prefix
   10963 
   10964 # Do we need a version for libraries?
   10965 need_version=$need_version
   10966 
   10967 # Whether dlopen is supported.
   10968 dlopen_support=$enable_dlopen
   10969 
   10970 # Whether dlopen of programs is supported.
   10971 dlopen_self=$enable_dlopen_self
   10972 
   10973 # Whether dlopen of statically linked programs is supported.
   10974 dlopen_self_static=$enable_dlopen_self_static
   10975 
   10976 # Compiler flag to prevent dynamic linking.
   10977 link_static_flag=$lt_lt_prog_compiler_static
   10978 
   10979 # Compiler flag to turn off builtin functions.
   10980 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
   10981 
   10982 # Compiler flag to allow reflexive dlopens.
   10983 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
   10984 
   10985 # Compiler flag to generate shared objects directly from archives.
   10986 whole_archive_flag_spec=$lt_whole_archive_flag_spec
   10987 
   10988 # Compiler flag to generate thread-safe objects.
   10989 thread_safe_flag_spec=$lt_thread_safe_flag_spec
   10990 
   10991 # Library versioning type.
   10992 version_type=$version_type
   10993 
   10994 # Format of library name prefix.
   10995 libname_spec=$lt_libname_spec
   10996 
   10997 # List of archive names.  First name is the real one, the rest are links.
   10998 # The last name is the one that the linker finds with -lNAME.
   10999 library_names_spec=$lt_library_names_spec
   11000 
   11001 # The coded name of the library, if different from the real name.
   11002 soname_spec=$lt_soname_spec
   11003 
   11004 # Commands used to build and install an old-style archive.
   11005 RANLIB=$lt_RANLIB
   11006 old_archive_cmds=$lt_old_archive_cmds
   11007 old_postinstall_cmds=$lt_old_postinstall_cmds
   11008 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   11009 
   11010 # Create an old-style archive from a shared archive.
   11011 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
   11012 
   11013 # Create a temporary old-style archive to link instead of a shared archive.
   11014 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
   11015 
   11016 # Commands used to build and install a shared archive.
   11017 archive_cmds=$lt_archive_cmds
   11018 archive_expsym_cmds=$lt_archive_expsym_cmds
   11019 postinstall_cmds=$lt_postinstall_cmds
   11020 postuninstall_cmds=$lt_postuninstall_cmds
   11021 
   11022 # Commands used to build a loadable module (assumed same as above if empty)
   11023 module_cmds=$lt_module_cmds
   11024 module_expsym_cmds=$lt_module_expsym_cmds
   11025 
   11026 # Commands to strip libraries.
   11027 old_striplib=$lt_old_striplib
   11028 striplib=$lt_striplib
   11029 
   11030 # Dependencies to place before the objects being linked to create a
   11031 # shared library.
   11032 predep_objects=$lt_predep_objects
   11033 
   11034 # Dependencies to place after the objects being linked to create a
   11035 # shared library.
   11036 postdep_objects=$lt_postdep_objects
   11037 
   11038 # Dependencies to place before the objects being linked to create a
   11039 # shared library.
   11040 predeps=$lt_predeps
   11041 
   11042 # Dependencies to place after the objects being linked to create a
   11043 # shared library.
   11044 postdeps=$lt_postdeps
   11045 
   11046 # The directories searched by this compiler when creating a shared
   11047 # library
   11048 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
   11049 
   11050 # The library search path used internally by the compiler when linking
   11051 # a shared library.
   11052 compiler_lib_search_path=$lt_compiler_lib_search_path
   11053 
   11054 # Method to check whether dependent libraries are shared objects.
   11055 deplibs_check_method=$lt_deplibs_check_method
   11056 
   11057 # Command to use when deplibs_check_method == file_magic.
   11058 file_magic_cmd=$lt_file_magic_cmd
   11059 
   11060 # Flag that allows shared libraries with undefined symbols to be built.
   11061 allow_undefined_flag=$lt_allow_undefined_flag
   11062 
   11063 # Flag that forces no undefined symbols.
   11064 no_undefined_flag=$lt_no_undefined_flag
   11065 
   11066 # Commands used to finish a libtool library installation in a directory.
   11067 finish_cmds=$lt_finish_cmds
   11068 
   11069 # Same as above, but a single script fragment to be evaled but not shown.
   11070 finish_eval=$lt_finish_eval
   11071 
   11072 # Take the output of nm and produce a listing of raw symbols and C names.
   11073 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   11074 
   11075 # Transform the output of nm in a proper C declaration
   11076 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   11077 
   11078 # Transform the output of nm in a C name address pair
   11079 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   11080 
   11081 # This is the shared library runtime path variable.
   11082 runpath_var=$runpath_var
   11083 
   11084 # This is the shared library path variable.
   11085 shlibpath_var=$shlibpath_var
   11086 
   11087 # Is shlibpath searched before the hard-coded library search path?
   11088 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   11089 
   11090 # How to hardcode a shared library path into an executable.
   11091 hardcode_action=$hardcode_action
   11092 
   11093 # Whether we should hardcode library paths into libraries.
   11094 hardcode_into_libs=$hardcode_into_libs
   11095 
   11096 # Flag to hardcode \$libdir into a binary during linking.
   11097 # This must work even if \$libdir does not exist.
   11098 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
   11099 
   11100 # If ld is used when linking, flag to hardcode \$libdir into
   11101 # a binary during linking. This must work even if \$libdir does
   11102 # not exist.
   11103 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
   11104 
   11105 # Whether we need a single -rpath flag with a separated argument.
   11106 hardcode_libdir_separator=$lt_hardcode_libdir_separator
   11107 
   11108 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
   11109 # resulting binary.
   11110 hardcode_direct=$hardcode_direct
   11111 
   11112 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
   11113 # resulting binary.
   11114 hardcode_minus_L=$hardcode_minus_L
   11115 
   11116 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
   11117 # the resulting binary.
   11118 hardcode_shlibpath_var=$hardcode_shlibpath_var
   11119 
   11120 # Set to yes if building a shared library automatically hardcodes DIR into the library
   11121 # and all subsequent libraries and executables linked against it.
   11122 hardcode_automatic=$hardcode_automatic
   11123 
   11124 # Variables whose values should be saved in libtool wrapper scripts and
   11125 # restored at relink time.
   11126 variables_saved_for_relink="$variables_saved_for_relink"
   11127 
   11128 # Whether libtool must link a program against all its dependency libraries.
   11129 link_all_deplibs=$link_all_deplibs
   11130 
   11131 # Compile-time system search path for libraries
   11132 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   11133 
   11134 # Run-time system search path for libraries
   11135 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   11136 
   11137 # Fix the shell variable \$srcfile for the compiler.
   11138 fix_srcfile_path=$lt_fix_srcfile_path
   11139 
   11140 # Set to yes if exported symbols are required.
   11141 always_export_symbols=$always_export_symbols
   11142 
   11143 # The commands to list exported symbols.
   11144 export_symbols_cmds=$lt_export_symbols_cmds
   11145 
   11146 # The commands to extract the exported symbol list from a shared archive.
   11147 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   11148 
   11149 # Symbols that should not be listed in the preloaded symbols.
   11150 exclude_expsyms=$lt_exclude_expsyms
   11151 
   11152 # Symbols that must always be exported.
   11153 include_expsyms=$lt_include_expsyms
   11154 
   11155 # ### END LIBTOOL CONFIG
   11156 
   11157 __EOF__
   11158 
   11159 
   11160   case $host_os in
   11161   aix3*)
   11162     cat <<\EOF >> "$cfgfile"
   11163 
   11164 # AIX sometimes has problems with the GCC collect2 program.  For some
   11165 # reason, if we set the COLLECT_NAMES environment variable, the problems
   11166 # vanish in a puff of smoke.
   11167 if test "X${COLLECT_NAMES+set}" != Xset; then
   11168   COLLECT_NAMES=
   11169   export COLLECT_NAMES
   11170 fi
   11171 EOF
   11172     ;;
   11173   esac
   11174 
   11175   # We use sed instead of cat because bash on DJGPP gets confused if
   11176   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
   11177   # text mode, it properly converts lines to CR/LF.  This bash problem
   11178   # is reportedly fixed, but why not run on old versions too?
   11179   sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
   11180 
   11181   mv -f "$cfgfile" "$ofile" || \
   11182     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
   11183   chmod +x "$ofile"
   11184 
   11185 else
   11186   # If there is no Makefile yet, we rely on a make rule to execute
   11187   # `config.status --recheck' to rerun these tests and create the
   11188   # libtool script then.
   11189   ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
   11190   if test -f "$ltmain_in"; then
   11191     test -f Makefile && make "$ltmain"
   11192   fi
   11193 fi
   11194 
   11195 
   11196 ac_ext=c
   11197 ac_cpp='$CPP $CPPFLAGS'
   11198 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   11199 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   11200 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   11201 
   11202 CC="$lt_save_CC"
   11203 
   11204 
   11205 # Check whether --with-tags was given.
   11206 if test "${with_tags+set}" = set; then
   11207   withval=$with_tags; tagnames="$withval"
   11208 fi
   11209 
   11210 
   11211 if test -f "$ltmain" && test -n "$tagnames"; then
   11212   if test ! -f "${ofile}"; then
   11213     { $as_echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist" >&5
   11214 $as_echo "$as_me: WARNING: output file \`$ofile' does not exist" >&2;}
   11215   fi
   11216 
   11217   if test -z "$LTCC"; then
   11218     eval "`$SHELL ${ofile} --config | grep '^LTCC='`"
   11219     if test -z "$LTCC"; then
   11220       { $as_echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
   11221 $as_echo "$as_me: WARNING: output file \`$ofile' does not look like a libtool script" >&2;}
   11222     else
   11223       { $as_echo "$as_me:$LINENO: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&5
   11224 $as_echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;}
   11225     fi
   11226   fi
   11227   if test -z "$LTCFLAGS"; then
   11228     eval "`$SHELL ${ofile} --config | grep '^LTCFLAGS='`"
   11229   fi
   11230 
   11231   # Extract list of available tagged configurations in $ofile.
   11232   # Note that this assumes the entire list is on one line.
   11233   available_tags=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
   11234 
   11235   lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   11236   for tagname in $tagnames; do
   11237     IFS="$lt_save_ifs"
   11238     # Check whether tagname contains only valid characters
   11239     case `$echo "X$tagname" | $Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
   11240     "") ;;
   11241     *)  { { $as_echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
   11242 $as_echo "$as_me: error: invalid tag name: $tagname" >&2;}
   11243    { (exit 1); exit 1; }; }
   11244 	;;
   11245     esac
   11246 
   11247     if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
   11248     then
   11249       { { $as_echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
   11250 $as_echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
   11251    { (exit 1); exit 1; }; }
   11252     fi
   11253 
   11254     # Update the list of available tags.
   11255     if test -n "$tagname"; then
   11256       echo appending configuration tag \"$tagname\" to $ofile
   11257 
   11258       case $tagname in
   11259       CXX)
   11260 	if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
   11261 	    ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
   11262 	    (test "X$CXX" != "Xg++"))) ; then
   11263 	  ac_ext=cpp
   11264 ac_cpp='$CXXCPP $CPPFLAGS'
   11265 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   11266 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   11267 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   11268 
   11269 
   11270 
   11271 
   11272 archive_cmds_need_lc_CXX=no
   11273 allow_undefined_flag_CXX=
   11274 always_export_symbols_CXX=no
   11275 archive_expsym_cmds_CXX=
   11276 export_dynamic_flag_spec_CXX=
   11277 hardcode_direct_CXX=no
   11278 hardcode_libdir_flag_spec_CXX=
   11279 hardcode_libdir_flag_spec_ld_CXX=
   11280 hardcode_libdir_separator_CXX=
   11281 hardcode_minus_L_CXX=no
   11282 hardcode_shlibpath_var_CXX=unsupported
   11283 hardcode_automatic_CXX=no
   11284 module_cmds_CXX=
   11285 module_expsym_cmds_CXX=
   11286 link_all_deplibs_CXX=unknown
   11287 old_archive_cmds_CXX=$old_archive_cmds
   11288 no_undefined_flag_CXX=
   11289 whole_archive_flag_spec_CXX=
   11290 enable_shared_with_static_runtimes_CXX=no
   11291 
   11292 # Dependencies to place before and after the object being linked:
   11293 predep_objects_CXX=
   11294 postdep_objects_CXX=
   11295 predeps_CXX=
   11296 postdeps_CXX=
   11297 compiler_lib_search_path_CXX=
   11298 compiler_lib_search_dirs_CXX=
   11299 
   11300 # Source file extension for C++ test sources.
   11301 ac_ext=cpp
   11302 
   11303 # Object file extension for compiled C++ test sources.
   11304 objext=o
   11305 objext_CXX=$objext
   11306 
   11307 # Code to be used in simple compile tests
   11308 lt_simple_compile_test_code="int some_variable = 0;"
   11309 
   11310 # Code to be used in simple link tests
   11311 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
   11312 
   11313 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
   11314 
   11315 # If no C compiler was specified, use CC.
   11316 LTCC=${LTCC-"$CC"}
   11317 
   11318 # If no C compiler flags were specified, use CFLAGS.
   11319 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   11320 
   11321 # Allow CC to be a program name with arguments.
   11322 compiler=$CC
   11323 
   11324 
   11325 # save warnings/boilerplate of simple test code
   11326 ac_outfile=conftest.$ac_objext
   11327 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   11328 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   11329 _lt_compiler_boilerplate=`cat conftest.err`
   11330 $rm conftest*
   11331 
   11332 ac_outfile=conftest.$ac_objext
   11333 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   11334 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   11335 _lt_linker_boilerplate=`cat conftest.err`
   11336 $rm -r conftest*
   11337 
   11338 
   11339 # Allow CC to be a program name with arguments.
   11340 lt_save_CC=$CC
   11341 lt_save_LD=$LD
   11342 lt_save_GCC=$GCC
   11343 GCC=$GXX
   11344 lt_save_with_gnu_ld=$with_gnu_ld
   11345 lt_save_path_LD=$lt_cv_path_LD
   11346 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
   11347   lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
   11348 else
   11349   $as_unset lt_cv_prog_gnu_ld
   11350 fi
   11351 if test -n "${lt_cv_path_LDCXX+set}"; then
   11352   lt_cv_path_LD=$lt_cv_path_LDCXX
   11353 else
   11354   $as_unset lt_cv_path_LD
   11355 fi
   11356 test -z "${LDCXX+set}" || LD=$LDCXX
   11357 CC=${CXX-"c++"}
   11358 compiler=$CC
   11359 compiler_CXX=$CC
   11360 for cc_temp in $compiler""; do
   11361   case $cc_temp in
   11362     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   11363     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   11364     \-*) ;;
   11365     *) break;;
   11366   esac
   11367 done
   11368 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   11369 
   11370 
   11371 # We don't want -fno-exception wen compiling C++ code, so set the
   11372 # no_builtin_flag separately
   11373 if test "$GXX" = yes; then
   11374   lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
   11375 else
   11376   lt_prog_compiler_no_builtin_flag_CXX=
   11377 fi
   11378 
   11379 if test "$GXX" = yes; then
   11380   # Set up default GNU C++ configuration
   11381 
   11382 
   11383 # Check whether --with-gnu-ld was given.
   11384 if test "${with_gnu_ld+set}" = set; then
   11385   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
   11386 else
   11387   with_gnu_ld=no
   11388 fi
   11389 
   11390 ac_prog=ld
   11391 if test "$GCC" = yes; then
   11392   # Check if gcc -print-prog-name=ld gives a path.
   11393   { $as_echo "$as_me:$LINENO: checking for ld used by $CC" >&5
   11394 $as_echo_n "checking for ld used by $CC... " >&6; }
   11395   case $host in
   11396   *-*-mingw*)
   11397     # gcc leaves a trailing carriage return which upsets mingw
   11398     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   11399   *)
   11400     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   11401   esac
   11402   case $ac_prog in
   11403     # Accept absolute paths.
   11404     [\\/]* | ?:[\\/]*)
   11405       re_direlt='/[^/][^/]*/\.\./'
   11406       # Canonicalize the pathname of ld
   11407       ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
   11408       while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
   11409 	ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
   11410       done
   11411       test -z "$LD" && LD="$ac_prog"
   11412       ;;
   11413   "")
   11414     # If it fails, then pretend we aren't using GCC.
   11415     ac_prog=ld
   11416     ;;
   11417   *)
   11418     # If it is relative, then search for the first ld in PATH.
   11419     with_gnu_ld=unknown
   11420     ;;
   11421   esac
   11422 elif test "$with_gnu_ld" = yes; then
   11423   { $as_echo "$as_me:$LINENO: checking for GNU ld" >&5
   11424 $as_echo_n "checking for GNU ld... " >&6; }
   11425 else
   11426   { $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5
   11427 $as_echo_n "checking for non-GNU ld... " >&6; }
   11428 fi
   11429 if test "${lt_cv_path_LD+set}" = set; then
   11430   $as_echo_n "(cached) " >&6
   11431 else
   11432   if test -z "$LD"; then
   11433   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   11434   for ac_dir in $PATH; do
   11435     IFS="$lt_save_ifs"
   11436     test -z "$ac_dir" && ac_dir=.
   11437     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   11438       lt_cv_path_LD="$ac_dir/$ac_prog"
   11439       # Check to see if the program is GNU ld.  I'd rather use --version,
   11440       # but apparently some variants of GNU ld only accept -v.
   11441       # Break only if it was the GNU/non-GNU ld that we prefer.
   11442       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   11443       *GNU* | *'with BFD'*)
   11444 	test "$with_gnu_ld" != no && break
   11445 	;;
   11446       *)
   11447 	test "$with_gnu_ld" != yes && break
   11448 	;;
   11449       esac
   11450     fi
   11451   done
   11452   IFS="$lt_save_ifs"
   11453 else
   11454   lt_cv_path_LD="$LD" # Let the user override the test with a path.
   11455 fi
   11456 fi
   11457 
   11458 LD="$lt_cv_path_LD"
   11459 if test -n "$LD"; then
   11460   { $as_echo "$as_me:$LINENO: result: $LD" >&5
   11461 $as_echo "$LD" >&6; }
   11462 else
   11463   { $as_echo "$as_me:$LINENO: result: no" >&5
   11464 $as_echo "no" >&6; }
   11465 fi
   11466 test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
   11467 $as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
   11468    { (exit 1); exit 1; }; }
   11469 { $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
   11470 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
   11471 if test "${lt_cv_prog_gnu_ld+set}" = set; then
   11472   $as_echo_n "(cached) " >&6
   11473 else
   11474   # I'd rather use --version here, but apparently some GNU lds only accept -v.
   11475 case `$LD -v 2>&1 </dev/null` in
   11476 *GNU* | *'with BFD'*)
   11477   lt_cv_prog_gnu_ld=yes
   11478   ;;
   11479 *)
   11480   lt_cv_prog_gnu_ld=no
   11481   ;;
   11482 esac
   11483 fi
   11484 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
   11485 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
   11486 with_gnu_ld=$lt_cv_prog_gnu_ld
   11487 
   11488 
   11489 
   11490   # Check if GNU C++ uses GNU ld as the underlying linker, since the
   11491   # archiving commands below assume that GNU ld is being used.
   11492   if test "$with_gnu_ld" = yes; then
   11493     archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
   11494     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'
   11495 
   11496     hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
   11497     export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
   11498 
   11499     # If archive_cmds runs LD, not CC, wlarc should be empty
   11500     # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
   11501     #     investigate it a little bit more. (MM)
   11502     wlarc='${wl}'
   11503 
   11504     # ancient GNU ld didn't support --whole-archive et. al.
   11505     if eval "`$CC -print-prog-name=ld` --help 2>&1" | \
   11506 	grep 'no-whole-archive' > /dev/null; then
   11507       whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   11508     else
   11509       whole_archive_flag_spec_CXX=
   11510     fi
   11511   else
   11512     with_gnu_ld=no
   11513     wlarc=
   11514 
   11515     # A generic and very simple default shared library creation
   11516     # command for GNU C++ for the case where it uses the native
   11517     # linker, instead of GNU ld.  If possible, this setting should
   11518     # overridden to take advantage of the native linker features on
   11519     # the platform it is being used on.
   11520     archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
   11521   fi
   11522 
   11523   # Commands to make compiler produce verbose output that lists
   11524   # what "hidden" libraries, object files and flags are used when
   11525   # linking a shared library.
   11526   output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
   11527 
   11528 else
   11529   GXX=no
   11530   with_gnu_ld=no
   11531   wlarc=
   11532 fi
   11533 
   11534 # PORTME: fill in a description of your system's C++ link characteristics
   11535 { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   11536 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   11537 ld_shlibs_CXX=yes
   11538 case $host_os in
   11539   aix3*)
   11540     # FIXME: insert proper C++ library support
   11541     ld_shlibs_CXX=no
   11542     ;;
   11543   aix[4-9]*)
   11544     if test "$host_cpu" = ia64; then
   11545       # On IA64, the linker does run time linking by default, so we don't
   11546       # have to do anything special.
   11547       aix_use_runtimelinking=no
   11548       exp_sym_flag='-Bexport'
   11549       no_entry_flag=""
   11550     else
   11551       aix_use_runtimelinking=no
   11552 
   11553       # Test if we are trying to use run time linking or normal
   11554       # AIX style linking. If -brtl is somewhere in LDFLAGS, we
   11555       # need to do runtime linking.
   11556       case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   11557 	for ld_flag in $LDFLAGS; do
   11558 	  case $ld_flag in
   11559 	  *-brtl*)
   11560 	    aix_use_runtimelinking=yes
   11561 	    break
   11562 	    ;;
   11563 	  esac
   11564 	done
   11565 	;;
   11566       esac
   11567 
   11568       exp_sym_flag='-bexport'
   11569       no_entry_flag='-bnoentry'
   11570     fi
   11571 
   11572     # When large executables or shared objects are built, AIX ld can
   11573     # have problems creating the table of contents.  If linking a library
   11574     # or program results in "error TOC overflow" add -mminimal-toc to
   11575     # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   11576     # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   11577 
   11578     archive_cmds_CXX=''
   11579     hardcode_direct_CXX=yes
   11580     hardcode_libdir_separator_CXX=':'
   11581     link_all_deplibs_CXX=yes
   11582 
   11583     if test "$GXX" = yes; then
   11584       case $host_os in aix4.[012]|aix4.[012].*)
   11585       # We only want to do this on AIX 4.2 and lower, the check
   11586       # below for broken collect2 doesn't work under 4.3+
   11587 	collect2name=`${CC} -print-prog-name=collect2`
   11588 	if test -f "$collect2name" && \
   11589 	   strings "$collect2name" | grep resolve_lib_name >/dev/null
   11590 	then
   11591 	  # We have reworked collect2
   11592 	  :
   11593 	else
   11594 	  # We have old collect2
   11595 	  hardcode_direct_CXX=unsupported
   11596 	  # It fails to find uninstalled libraries when the uninstalled
   11597 	  # path is not listed in the libpath.  Setting hardcode_minus_L
   11598 	  # to unsupported forces relinking
   11599 	  hardcode_minus_L_CXX=yes
   11600 	  hardcode_libdir_flag_spec_CXX='-L$libdir'
   11601 	  hardcode_libdir_separator_CXX=
   11602 	fi
   11603 	;;
   11604       esac
   11605       shared_flag='-shared'
   11606       if test "$aix_use_runtimelinking" = yes; then
   11607 	shared_flag="$shared_flag "'${wl}-G'
   11608       fi
   11609     else
   11610       # not using gcc
   11611       if test "$host_cpu" = ia64; then
   11612 	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   11613 	# chokes on -Wl,-G. The following line is correct:
   11614 	shared_flag='-G'
   11615       else
   11616 	if test "$aix_use_runtimelinking" = yes; then
   11617 	  shared_flag='${wl}-G'
   11618 	else
   11619 	  shared_flag='${wl}-bM:SRE'
   11620 	fi
   11621       fi
   11622     fi
   11623 
   11624     # It seems that -bexpall does not export symbols beginning with
   11625     # underscore (_), so it is better to generate a list of symbols to export.
   11626     always_export_symbols_CXX=yes
   11627     if test "$aix_use_runtimelinking" = yes; then
   11628       # Warning - without using the other runtime loading flags (-brtl),
   11629       # -berok will link without error, but may produce a broken library.
   11630       allow_undefined_flag_CXX='-berok'
   11631       # Determine the default libpath from the value encoded in an empty executable.
   11632       cat >conftest.$ac_ext <<_ACEOF
   11633 /* confdefs.h.  */
   11634 _ACEOF
   11635 cat confdefs.h >>conftest.$ac_ext
   11636 cat >>conftest.$ac_ext <<_ACEOF
   11637 /* end confdefs.h.  */
   11638 
   11639 int
   11640 main ()
   11641 {
   11642 
   11643   ;
   11644   return 0;
   11645 }
   11646 _ACEOF
   11647 rm -f conftest.$ac_objext conftest$ac_exeext
   11648 if { (ac_try="$ac_link"
   11649 case "(($ac_try" in
   11650   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   11651   *) ac_try_echo=$ac_try;;
   11652 esac
   11653 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   11654 $as_echo "$ac_try_echo") >&5
   11655   (eval "$ac_link") 2>conftest.er1
   11656   ac_status=$?
   11657   grep -v '^ *+' conftest.er1 >conftest.err
   11658   rm -f conftest.er1
   11659   cat conftest.err >&5
   11660   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11661   (exit $ac_status); } && {
   11662 	 test -z "$ac_cxx_werror_flag" ||
   11663 	 test ! -s conftest.err
   11664        } && test -s conftest$ac_exeext && {
   11665 	 test "$cross_compiling" = yes ||
   11666 	 $as_test_x conftest$ac_exeext
   11667        }; then
   11668 
   11669 lt_aix_libpath_sed='
   11670     /Import File Strings/,/^$/ {
   11671 	/^0/ {
   11672 	    s/^0  *\(.*\)$/\1/
   11673 	    p
   11674 	}
   11675     }'
   11676 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   11677 # Check for a 64-bit object if we didn't find anything.
   11678 if test -z "$aix_libpath"; then
   11679   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   11680 fi
   11681 else
   11682   $as_echo "$as_me: failed program was:" >&5
   11683 sed 's/^/| /' conftest.$ac_ext >&5
   11684 
   11685 
   11686 fi
   11687 
   11688 rm -rf conftest.dSYM
   11689 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   11690       conftest$ac_exeext conftest.$ac_ext
   11691 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   11692 
   11693       hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
   11694 
   11695       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"
   11696      else
   11697       if test "$host_cpu" = ia64; then
   11698 	hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
   11699 	allow_undefined_flag_CXX="-z nodefs"
   11700 	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"
   11701       else
   11702 	# Determine the default libpath from the value encoded in an empty executable.
   11703 	cat >conftest.$ac_ext <<_ACEOF
   11704 /* confdefs.h.  */
   11705 _ACEOF
   11706 cat confdefs.h >>conftest.$ac_ext
   11707 cat >>conftest.$ac_ext <<_ACEOF
   11708 /* end confdefs.h.  */
   11709 
   11710 int
   11711 main ()
   11712 {
   11713 
   11714   ;
   11715   return 0;
   11716 }
   11717 _ACEOF
   11718 rm -f conftest.$ac_objext conftest$ac_exeext
   11719 if { (ac_try="$ac_link"
   11720 case "(($ac_try" in
   11721   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   11722   *) ac_try_echo=$ac_try;;
   11723 esac
   11724 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   11725 $as_echo "$ac_try_echo") >&5
   11726   (eval "$ac_link") 2>conftest.er1
   11727   ac_status=$?
   11728   grep -v '^ *+' conftest.er1 >conftest.err
   11729   rm -f conftest.er1
   11730   cat conftest.err >&5
   11731   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11732   (exit $ac_status); } && {
   11733 	 test -z "$ac_cxx_werror_flag" ||
   11734 	 test ! -s conftest.err
   11735        } && test -s conftest$ac_exeext && {
   11736 	 test "$cross_compiling" = yes ||
   11737 	 $as_test_x conftest$ac_exeext
   11738        }; then
   11739 
   11740 lt_aix_libpath_sed='
   11741     /Import File Strings/,/^$/ {
   11742 	/^0/ {
   11743 	    s/^0  *\(.*\)$/\1/
   11744 	    p
   11745 	}
   11746     }'
   11747 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   11748 # Check for a 64-bit object if we didn't find anything.
   11749 if test -z "$aix_libpath"; then
   11750   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   11751 fi
   11752 else
   11753   $as_echo "$as_me: failed program was:" >&5
   11754 sed 's/^/| /' conftest.$ac_ext >&5
   11755 
   11756 
   11757 fi
   11758 
   11759 rm -rf conftest.dSYM
   11760 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   11761       conftest$ac_exeext conftest.$ac_ext
   11762 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   11763 
   11764 	hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
   11765 	# Warning - without using the other run time loading flags,
   11766 	# -berok will link without error, but may produce a broken library.
   11767 	no_undefined_flag_CXX=' ${wl}-bernotok'
   11768 	allow_undefined_flag_CXX=' ${wl}-berok'
   11769 	# Exported symbols can be pulled into shared objects from archives
   11770 	whole_archive_flag_spec_CXX='$convenience'
   11771 	archive_cmds_need_lc_CXX=yes
   11772 	# This is similar to how AIX traditionally builds its shared libraries.
   11773 	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'
   11774       fi
   11775     fi
   11776     ;;
   11777 
   11778   beos*)
   11779     if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   11780       allow_undefined_flag_CXX=unsupported
   11781       # Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   11782       # support --undefined.  This deserves some investigation.  FIXME
   11783       archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   11784     else
   11785       ld_shlibs_CXX=no
   11786     fi
   11787     ;;
   11788 
   11789   chorus*)
   11790     case $cc_basename in
   11791       *)
   11792 	# FIXME: insert proper C++ library support
   11793 	ld_shlibs_CXX=no
   11794 	;;
   11795     esac
   11796     ;;
   11797 
   11798   cygwin* | mingw* | pw32*)
   11799     # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
   11800     # as there is no search path for DLLs.
   11801     hardcode_libdir_flag_spec_CXX='-L$libdir'
   11802     allow_undefined_flag_CXX=unsupported
   11803     always_export_symbols_CXX=no
   11804     enable_shared_with_static_runtimes_CXX=yes
   11805 
   11806     if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
   11807       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'
   11808       # If the export-symbols file already is a .def file (1st line
   11809       # is EXPORTS), use it as is; otherwise, prepend...
   11810       archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   11811 	cp $export_symbols $output_objdir/$soname.def;
   11812       else
   11813 	echo EXPORTS > $output_objdir/$soname.def;
   11814 	cat $export_symbols >> $output_objdir/$soname.def;
   11815       fi~
   11816       $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'
   11817     else
   11818       ld_shlibs_CXX=no
   11819     fi
   11820   ;;
   11821       darwin* | rhapsody*)
   11822       archive_cmds_need_lc_CXX=no
   11823       hardcode_direct_CXX=no
   11824       hardcode_automatic_CXX=yes
   11825       hardcode_shlibpath_var_CXX=unsupported
   11826       whole_archive_flag_spec_CXX=''
   11827       link_all_deplibs_CXX=yes
   11828       allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
   11829       if test "$GXX" = yes ; then
   11830       output_verbose_link_cmd='echo'
   11831       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}"
   11832       module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
   11833       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}"
   11834       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}"
   11835       if test "$lt_cv_apple_cc_single_mod" != "yes"; then
   11836         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}"
   11837         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}"
   11838       fi
   11839       else
   11840       case $cc_basename in
   11841         xlc*)
   11842          output_verbose_link_cmd='echo'
   11843           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'
   11844           module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
   11845           # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
   11846           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}'
   11847           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}'
   11848           ;;
   11849        *)
   11850          ld_shlibs_CXX=no
   11851           ;;
   11852       esac
   11853       fi
   11854         ;;
   11855 
   11856   dgux*)
   11857     case $cc_basename in
   11858       ec++*)
   11859 	# FIXME: insert proper C++ library support
   11860 	ld_shlibs_CXX=no
   11861 	;;
   11862       ghcx*)
   11863 	# Green Hills C++ Compiler
   11864 	# FIXME: insert proper C++ library support
   11865 	ld_shlibs_CXX=no
   11866 	;;
   11867       *)
   11868 	# FIXME: insert proper C++ library support
   11869 	ld_shlibs_CXX=no
   11870 	;;
   11871     esac
   11872     ;;
   11873   freebsd[12]*)
   11874     # C++ shared libraries reported to be fairly broken before switch to ELF
   11875     ld_shlibs_CXX=no
   11876     ;;
   11877   freebsd-elf*)
   11878     archive_cmds_need_lc_CXX=no
   11879     ;;
   11880   freebsd* | dragonfly*)
   11881     # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
   11882     # conventions
   11883     ld_shlibs_CXX=yes
   11884     ;;
   11885   gnu*)
   11886     ;;
   11887   hpux9*)
   11888     hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
   11889     hardcode_libdir_separator_CXX=:
   11890     export_dynamic_flag_spec_CXX='${wl}-E'
   11891     hardcode_direct_CXX=yes
   11892     hardcode_minus_L_CXX=yes # Not in the search PATH,
   11893 				# but as the default
   11894 				# location of the library.
   11895 
   11896     case $cc_basename in
   11897     CC*)
   11898       # FIXME: insert proper C++ library support
   11899       ld_shlibs_CXX=no
   11900       ;;
   11901     aCC*)
   11902       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'
   11903       # Commands to make compiler produce verbose output that lists
   11904       # what "hidden" libraries, object files and flags are used when
   11905       # linking a shared library.
   11906       #
   11907       # There doesn't appear to be a way to prevent this compiler from
   11908       # explicitly linking system object files so we need to strip them
   11909       # from the output so that they don't get included in the library
   11910       # dependencies.
   11911       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'
   11912       ;;
   11913     *)
   11914       if test "$GXX" = yes; then
   11915         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'
   11916       else
   11917         # FIXME: insert proper C++ library support
   11918         ld_shlibs_CXX=no
   11919       fi
   11920       ;;
   11921     esac
   11922     ;;
   11923   hpux10*|hpux11*)
   11924     if test $with_gnu_ld = no; then
   11925       hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
   11926       hardcode_libdir_separator_CXX=:
   11927 
   11928       case $host_cpu in
   11929       hppa*64*|ia64*) ;;
   11930       *)
   11931 	export_dynamic_flag_spec_CXX='${wl}-E'
   11932         ;;
   11933       esac
   11934     fi
   11935     case $host_cpu in
   11936     hppa*64*|ia64*)
   11937       hardcode_direct_CXX=no
   11938       hardcode_shlibpath_var_CXX=no
   11939       ;;
   11940     *)
   11941       hardcode_direct_CXX=yes
   11942       hardcode_minus_L_CXX=yes # Not in the search PATH,
   11943 					      # but as the default
   11944 					      # location of the library.
   11945       ;;
   11946     esac
   11947 
   11948     case $cc_basename in
   11949       CC*)
   11950 	# FIXME: insert proper C++ library support
   11951 	ld_shlibs_CXX=no
   11952 	;;
   11953       aCC*)
   11954 	case $host_cpu in
   11955 	hppa*64*)
   11956 	  archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   11957 	  ;;
   11958 	ia64*)
   11959 	  archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   11960 	  ;;
   11961 	*)
   11962 	  archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   11963 	  ;;
   11964 	esac
   11965 	# Commands to make compiler produce verbose output that lists
   11966 	# what "hidden" libraries, object files and flags are used when
   11967 	# linking a shared library.
   11968 	#
   11969 	# There doesn't appear to be a way to prevent this compiler from
   11970 	# explicitly linking system object files so we need to strip them
   11971 	# from the output so that they don't get included in the library
   11972 	# dependencies.
   11973 	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'
   11974 	;;
   11975       *)
   11976 	if test "$GXX" = yes; then
   11977 	  if test $with_gnu_ld = no; then
   11978 	    case $host_cpu in
   11979 	    hppa*64*)
   11980 	      archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   11981 	      ;;
   11982 	    ia64*)
   11983 	      archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   11984 	      ;;
   11985 	    *)
   11986 	      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'
   11987 	      ;;
   11988 	    esac
   11989 	  fi
   11990 	else
   11991 	  # FIXME: insert proper C++ library support
   11992 	  ld_shlibs_CXX=no
   11993 	fi
   11994 	;;
   11995     esac
   11996     ;;
   11997   interix[3-9]*)
   11998     hardcode_direct_CXX=no
   11999     hardcode_shlibpath_var_CXX=no
   12000     hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
   12001     export_dynamic_flag_spec_CXX='${wl}-E'
   12002     # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   12003     # Instead, shared libraries are loaded at an image base (0x10000000 by
   12004     # default) and relocated if they conflict, which is a slow very memory
   12005     # consuming and fragmenting process.  To avoid this, we pick a random,
   12006     # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   12007     # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   12008     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'
   12009     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'
   12010     ;;
   12011   irix5* | irix6*)
   12012     case $cc_basename in
   12013       CC*)
   12014 	# SGI C++
   12015 	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'
   12016 
   12017 	# Archives containing C++ object files must be created using
   12018 	# "CC -ar", where "CC" is the IRIX C++ compiler.  This is
   12019 	# necessary to make sure instantiated templates are included
   12020 	# in the archive.
   12021 	old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
   12022 	;;
   12023       *)
   12024 	if test "$GXX" = yes; then
   12025 	  if test "$with_gnu_ld" = no; then
   12026 	    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'
   12027 	  else
   12028 	    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'
   12029 	  fi
   12030 	fi
   12031 	link_all_deplibs_CXX=yes
   12032 	;;
   12033     esac
   12034     hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
   12035     hardcode_libdir_separator_CXX=:
   12036     ;;
   12037   linux* | k*bsd*-gnu)
   12038     case $cc_basename in
   12039       KCC*)
   12040 	# Kuck and Associates, Inc. (KAI) C++ Compiler
   12041 
   12042 	# KCC will only create a shared library if the output file
   12043 	# ends with ".so" (or ".sl" for HP-UX), so rename the library
   12044 	# to its proper name (with version) after linking.
   12045 	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'
   12046 	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'
   12047 	# Commands to make compiler produce verbose output that lists
   12048 	# what "hidden" libraries, object files and flags are used when
   12049 	# linking a shared library.
   12050 	#
   12051 	# There doesn't appear to be a way to prevent this compiler from
   12052 	# explicitly linking system object files so we need to strip them
   12053 	# from the output so that they don't get included in the library
   12054 	# dependencies.
   12055 	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'
   12056 
   12057 	hardcode_libdir_flag_spec_CXX='${wl}--rpath,$libdir'
   12058 	export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
   12059 
   12060 	# Archives containing C++ object files must be created using
   12061 	# "CC -Bstatic", where "CC" is the KAI C++ compiler.
   12062 	old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
   12063 	;;
   12064       icpc*)
   12065 	# Intel C++
   12066 	with_gnu_ld=yes
   12067 	# version 8.0 and above of icpc choke on multiply defined symbols
   12068 	# if we add $predep_objects and $postdep_objects, however 7.1 and
   12069 	# earlier do not add the objects themselves.
   12070 	case `$CC -V 2>&1` in
   12071 	*"Version 7."*)
   12072   	  archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
   12073   	  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'
   12074 	  ;;
   12075 	*)  # Version 8.0 or newer
   12076 	  tmp_idyn=
   12077 	  case $host_cpu in
   12078 	    ia64*) tmp_idyn=' -i_dynamic';;
   12079 	  esac
   12080   	  archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   12081 	  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'
   12082 	  ;;
   12083 	esac
   12084 	archive_cmds_need_lc_CXX=no
   12085 	hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
   12086 	export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
   12087 	whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
   12088 	;;
   12089       pgCC* | pgcpp*)
   12090         # Portland Group C++ compiler
   12091 	archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
   12092   	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'
   12093 
   12094 	hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
   12095 	export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
   12096 	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'
   12097         ;;
   12098       cxx*)
   12099 	# Compaq C++
   12100 	archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
   12101 	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'
   12102 
   12103 	runpath_var=LD_RUN_PATH
   12104 	hardcode_libdir_flag_spec_CXX='-rpath $libdir'
   12105 	hardcode_libdir_separator_CXX=:
   12106 
   12107 	# Commands to make compiler produce verbose output that lists
   12108 	# what "hidden" libraries, object files and flags are used when
   12109 	# linking a shared library.
   12110 	#
   12111 	# There doesn't appear to be a way to prevent this compiler from
   12112 	# explicitly linking system object files so we need to strip them
   12113 	# from the output so that they don't get included in the library
   12114 	# dependencies.
   12115 	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'
   12116 	;;
   12117       *)
   12118 	case `$CC -V 2>&1 | sed 5q` in
   12119 	*Sun\ C*)
   12120 	  # Sun C++ 5.9
   12121 	  no_undefined_flag_CXX=' -zdefs'
   12122 	  archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   12123 	  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'
   12124 	  hardcode_libdir_flag_spec_CXX='-R$libdir'
   12125 	  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'
   12126 
   12127 	  # Not sure whether something based on
   12128 	  # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
   12129 	  # would be better.
   12130 	  output_verbose_link_cmd='echo'
   12131 
   12132 	  # Archives containing C++ object files must be created using
   12133 	  # "CC -xar", where "CC" is the Sun C++ compiler.  This is
   12134 	  # necessary to make sure instantiated templates are included
   12135 	  # in the archive.
   12136 	  old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
   12137 	  ;;
   12138 	esac
   12139 	;;
   12140     esac
   12141     ;;
   12142   lynxos*)
   12143     # FIXME: insert proper C++ library support
   12144     ld_shlibs_CXX=no
   12145     ;;
   12146   m88k*)
   12147     # FIXME: insert proper C++ library support
   12148     ld_shlibs_CXX=no
   12149     ;;
   12150   mvs*)
   12151     case $cc_basename in
   12152       cxx*)
   12153 	# FIXME: insert proper C++ library support
   12154 	ld_shlibs_CXX=no
   12155 	;;
   12156       *)
   12157 	# FIXME: insert proper C++ library support
   12158 	ld_shlibs_CXX=no
   12159 	;;
   12160     esac
   12161     ;;
   12162   netbsd*)
   12163     if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   12164       archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
   12165       wlarc=
   12166       hardcode_libdir_flag_spec_CXX='-R$libdir'
   12167       hardcode_direct_CXX=yes
   12168       hardcode_shlibpath_var_CXX=no
   12169     fi
   12170     # Workaround some broken pre-1.5 toolchains
   12171     output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
   12172     ;;
   12173   openbsd2*)
   12174     # C++ shared libraries are fairly broken
   12175     ld_shlibs_CXX=no
   12176     ;;
   12177   openbsd*)
   12178     if test -f /usr/libexec/ld.so; then
   12179       hardcode_direct_CXX=yes
   12180       hardcode_shlibpath_var_CXX=no
   12181       archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
   12182       hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
   12183       if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   12184 	archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
   12185 	export_dynamic_flag_spec_CXX='${wl}-E'
   12186 	whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   12187       fi
   12188       output_verbose_link_cmd='echo'
   12189     else
   12190       ld_shlibs_CXX=no
   12191     fi
   12192     ;;
   12193   osf3*)
   12194     case $cc_basename in
   12195       KCC*)
   12196 	# Kuck and Associates, Inc. (KAI) C++ Compiler
   12197 
   12198 	# KCC will only create a shared library if the output file
   12199 	# ends with ".so" (or ".sl" for HP-UX), so rename the library
   12200 	# to its proper name (with version) after linking.
   12201 	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'
   12202 
   12203 	hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
   12204 	hardcode_libdir_separator_CXX=:
   12205 
   12206 	# Archives containing C++ object files must be created using
   12207 	# "CC -Bstatic", where "CC" is the KAI C++ compiler.
   12208 	old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
   12209 
   12210 	;;
   12211       RCC*)
   12212 	# Rational C++ 2.4.1
   12213 	# FIXME: insert proper C++ library support
   12214 	ld_shlibs_CXX=no
   12215 	;;
   12216       cxx*)
   12217 	allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
   12218 	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'
   12219 
   12220 	hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
   12221 	hardcode_libdir_separator_CXX=:
   12222 
   12223 	# Commands to make compiler produce verbose output that lists
   12224 	# what "hidden" libraries, object files and flags are used when
   12225 	# linking a shared library.
   12226 	#
   12227 	# There doesn't appear to be a way to prevent this compiler from
   12228 	# explicitly linking system object files so we need to strip them
   12229 	# from the output so that they don't get included in the library
   12230 	# dependencies.
   12231 	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'
   12232 	;;
   12233       *)
   12234 	if test "$GXX" = yes && test "$with_gnu_ld" = no; then
   12235 	  allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
   12236 	  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'
   12237 
   12238 	  hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
   12239 	  hardcode_libdir_separator_CXX=:
   12240 
   12241 	  # Commands to make compiler produce verbose output that lists
   12242 	  # what "hidden" libraries, object files and flags are used when
   12243 	  # linking a shared library.
   12244 	  output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
   12245 
   12246 	else
   12247 	  # FIXME: insert proper C++ library support
   12248 	  ld_shlibs_CXX=no
   12249 	fi
   12250 	;;
   12251     esac
   12252     ;;
   12253   osf4* | osf5*)
   12254     case $cc_basename in
   12255       KCC*)
   12256 	# Kuck and Associates, Inc. (KAI) C++ Compiler
   12257 
   12258 	# KCC will only create a shared library if the output file
   12259 	# ends with ".so" (or ".sl" for HP-UX), so rename the library
   12260 	# to its proper name (with version) after linking.
   12261 	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'
   12262 
   12263 	hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
   12264 	hardcode_libdir_separator_CXX=:
   12265 
   12266 	# Archives containing C++ object files must be created using
   12267 	# the KAI C++ compiler.
   12268 	old_archive_cmds_CXX='$CC -o $oldlib $oldobjs'
   12269 	;;
   12270       RCC*)
   12271 	# Rational C++ 2.4.1
   12272 	# FIXME: insert proper C++ library support
   12273 	ld_shlibs_CXX=no
   12274 	;;
   12275       cxx*)
   12276 	allow_undefined_flag_CXX=' -expect_unresolved \*'
   12277 	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'
   12278 	archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
   12279 	  echo "-hidden">> $lib.exp~
   12280 	  $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~
   12281 	  $rm $lib.exp'
   12282 
   12283 	hardcode_libdir_flag_spec_CXX='-rpath $libdir'
   12284 	hardcode_libdir_separator_CXX=:
   12285 
   12286 	# Commands to make compiler produce verbose output that lists
   12287 	# what "hidden" libraries, object files and flags are used when
   12288 	# linking a shared library.
   12289 	#
   12290 	# There doesn't appear to be a way to prevent this compiler from
   12291 	# explicitly linking system object files so we need to strip them
   12292 	# from the output so that they don't get included in the library
   12293 	# dependencies.
   12294 	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'
   12295 	;;
   12296       *)
   12297 	if test "$GXX" = yes && test "$with_gnu_ld" = no; then
   12298 	  allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
   12299 	 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'
   12300 
   12301 	  hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
   12302 	  hardcode_libdir_separator_CXX=:
   12303 
   12304 	  # Commands to make compiler produce verbose output that lists
   12305 	  # what "hidden" libraries, object files and flags are used when
   12306 	  # linking a shared library.
   12307 	  output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
   12308 
   12309 	else
   12310 	  # FIXME: insert proper C++ library support
   12311 	  ld_shlibs_CXX=no
   12312 	fi
   12313 	;;
   12314     esac
   12315     ;;
   12316   psos*)
   12317     # FIXME: insert proper C++ library support
   12318     ld_shlibs_CXX=no
   12319     ;;
   12320   sunos4*)
   12321     case $cc_basename in
   12322       CC*)
   12323 	# Sun C++ 4.x
   12324 	# FIXME: insert proper C++ library support
   12325 	ld_shlibs_CXX=no
   12326 	;;
   12327       lcc*)
   12328 	# Lucid
   12329 	# FIXME: insert proper C++ library support
   12330 	ld_shlibs_CXX=no
   12331 	;;
   12332       *)
   12333 	# FIXME: insert proper C++ library support
   12334 	ld_shlibs_CXX=no
   12335 	;;
   12336     esac
   12337     ;;
   12338   solaris*)
   12339     case $cc_basename in
   12340       CC*)
   12341 	# Sun C++ 4.2, 5.x and Centerline C++
   12342         archive_cmds_need_lc_CXX=yes
   12343 	no_undefined_flag_CXX=' -zdefs'
   12344 	archive_cmds_CXX='$CC -G${allow_undefined_flag}  -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   12345 	archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   12346 	$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'
   12347 
   12348 	hardcode_libdir_flag_spec_CXX='-R$libdir'
   12349 	hardcode_shlibpath_var_CXX=no
   12350 	case $host_os in
   12351 	  solaris2.[0-5] | solaris2.[0-5].*) ;;
   12352 	  *)
   12353 	    # The compiler driver will combine and reorder linker options,
   12354 	    # but understands `-z linker_flag'.
   12355 	    # Supported since Solaris 2.6 (maybe 2.5.1?)
   12356 	    whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
   12357 	    ;;
   12358 	esac
   12359 	link_all_deplibs_CXX=yes
   12360 
   12361 	output_verbose_link_cmd='echo'
   12362 
   12363 	# Archives containing C++ object files must be created using
   12364 	# "CC -xar", where "CC" is the Sun C++ compiler.  This is
   12365 	# necessary to make sure instantiated templates are included
   12366 	# in the archive.
   12367 	old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
   12368 	;;
   12369       gcx*)
   12370 	# Green Hills C++ Compiler
   12371 	archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
   12372 
   12373 	# The C++ compiler must be used to create the archive.
   12374 	old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
   12375 	;;
   12376       *)
   12377 	# GNU C++ compiler with Solaris linker
   12378 	if test "$GXX" = yes && test "$with_gnu_ld" = no; then
   12379 	  no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
   12380 	  if $CC --version | grep -v '^2\.7' > /dev/null; then
   12381 	    archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
   12382 	    archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   12383 		$CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
   12384 
   12385 	    # Commands to make compiler produce verbose output that lists
   12386 	    # what "hidden" libraries, object files and flags are used when
   12387 	    # linking a shared library.
   12388 	    output_verbose_link_cmd="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
   12389 	  else
   12390 	    # g++ 2.7 appears to require `-G' NOT `-shared' on this
   12391 	    # platform.
   12392 	    archive_cmds_CXX='$CC -G -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 -G -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 -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
   12400 	  fi
   12401 
   12402 	  hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
   12403 	  case $host_os in
   12404 	  solaris2.[0-5] | solaris2.[0-5].*) ;;
   12405 	  *)
   12406 	    whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
   12407 	    ;;
   12408 	  esac
   12409 	fi
   12410 	;;
   12411     esac
   12412     ;;
   12413   sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   12414     no_undefined_flag_CXX='${wl}-z,text'
   12415     archive_cmds_need_lc_CXX=no
   12416     hardcode_shlibpath_var_CXX=no
   12417     runpath_var='LD_RUN_PATH'
   12418 
   12419     case $cc_basename in
   12420       CC*)
   12421 	archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   12422 	archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   12423 	;;
   12424       *)
   12425 	archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   12426 	archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   12427 	;;
   12428     esac
   12429     ;;
   12430   sysv5* | sco3.2v5* | sco5v6*)
   12431     # Note: We can NOT use -z defs as we might desire, because we do not
   12432     # link with -lc, and that would cause any symbols used from libc to
   12433     # always be unresolved, which means just about no library would
   12434     # ever link correctly.  If we're not using GNU ld we use -z text
   12435     # though, which does catch some bad symbols but isn't as heavy-handed
   12436     # as -z defs.
   12437     # For security reasons, it is highly recommended that you always
   12438     # use absolute paths for naming shared libraries, and exclude the
   12439     # DT_RUNPATH tag from executables and libraries.  But doing so
   12440     # requires that you compile everything twice, which is a pain.
   12441     # So that behaviour is only enabled if SCOABSPATH is set to a
   12442     # non-empty value in the environment.  Most likely only useful for
   12443     # creating official distributions of packages.
   12444     # This is a hack until libtool officially supports absolute path
   12445     # names for shared libraries.
   12446     no_undefined_flag_CXX='${wl}-z,text'
   12447     allow_undefined_flag_CXX='${wl}-z,nodefs'
   12448     archive_cmds_need_lc_CXX=no
   12449     hardcode_shlibpath_var_CXX=no
   12450     hardcode_libdir_flag_spec_CXX='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
   12451     hardcode_libdir_separator_CXX=':'
   12452     link_all_deplibs_CXX=yes
   12453     export_dynamic_flag_spec_CXX='${wl}-Bexport'
   12454     runpath_var='LD_RUN_PATH'
   12455 
   12456     case $cc_basename in
   12457       CC*)
   12458 	archive_cmds_CXX='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   12459 	archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   12460 	;;
   12461       *)
   12462 	archive_cmds_CXX='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   12463 	archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   12464 	;;
   12465     esac
   12466     ;;
   12467   tandem*)
   12468     case $cc_basename in
   12469       NCC*)
   12470 	# NonStop-UX NCC 3.20
   12471 	# FIXME: insert proper C++ library support
   12472 	ld_shlibs_CXX=no
   12473 	;;
   12474       *)
   12475 	# FIXME: insert proper C++ library support
   12476 	ld_shlibs_CXX=no
   12477 	;;
   12478     esac
   12479     ;;
   12480   vxworks*)
   12481     # FIXME: insert proper C++ library support
   12482     ld_shlibs_CXX=no
   12483     ;;
   12484   *)
   12485     # FIXME: insert proper C++ library support
   12486     ld_shlibs_CXX=no
   12487     ;;
   12488 esac
   12489 { $as_echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
   12490 $as_echo "$ld_shlibs_CXX" >&6; }
   12491 test "$ld_shlibs_CXX" = no && can_build_shared=no
   12492 
   12493 GCC_CXX="$GXX"
   12494 LD_CXX="$LD"
   12495 
   12496 cat > conftest.$ac_ext <<EOF
   12497 class Foo
   12498 {
   12499 public:
   12500   Foo (void) { a = 0; }
   12501 private:
   12502   int a;
   12503 };
   12504 EOF
   12505 
   12506 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   12507   (eval $ac_compile) 2>&5
   12508   ac_status=$?
   12509   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12510   (exit $ac_status); }; then
   12511   # Parse the compiler output and extract the necessary
   12512   # objects, libraries and library flags.
   12513 
   12514   # Sentinel used to keep track of whether or not we are before
   12515   # the conftest object file.
   12516   pre_test_object_deps_done=no
   12517 
   12518   # The `*' in the case matches for architectures that use `case' in
   12519   # $output_verbose_cmd can trigger glob expansion during the loop
   12520   # eval without this substitution.
   12521   output_verbose_link_cmd=`$echo "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
   12522 
   12523   for p in `eval $output_verbose_link_cmd`; do
   12524     case $p in
   12525 
   12526     -L* | -R* | -l*)
   12527        # Some compilers place space between "-{L,R}" and the path.
   12528        # Remove the space.
   12529        if test $p = "-L" \
   12530 	  || test $p = "-R"; then
   12531 	 prev=$p
   12532 	 continue
   12533        else
   12534 	 prev=
   12535        fi
   12536 
   12537        if test "$pre_test_object_deps_done" = no; then
   12538 	 case $p in
   12539 	 -L* | -R*)
   12540 	   # Internal compiler library paths should come after those
   12541 	   # provided the user.  The postdeps already come after the
   12542 	   # user supplied libs so there is no need to process them.
   12543 	   if test -z "$compiler_lib_search_path_CXX"; then
   12544 	     compiler_lib_search_path_CXX="${prev}${p}"
   12545 	   else
   12546 	     compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
   12547 	   fi
   12548 	   ;;
   12549 	 # The "-l" case would never come before the object being
   12550 	 # linked, so don't bother handling this case.
   12551 	 esac
   12552        else
   12553 	 if test -z "$postdeps_CXX"; then
   12554 	   postdeps_CXX="${prev}${p}"
   12555 	 else
   12556 	   postdeps_CXX="${postdeps_CXX} ${prev}${p}"
   12557 	 fi
   12558        fi
   12559        ;;
   12560 
   12561     *.$objext)
   12562        # This assumes that the test object file only shows up
   12563        # once in the compiler output.
   12564        if test "$p" = "conftest.$objext"; then
   12565 	 pre_test_object_deps_done=yes
   12566 	 continue
   12567        fi
   12568 
   12569        if test "$pre_test_object_deps_done" = no; then
   12570 	 if test -z "$predep_objects_CXX"; then
   12571 	   predep_objects_CXX="$p"
   12572 	 else
   12573 	   predep_objects_CXX="$predep_objects_CXX $p"
   12574 	 fi
   12575        else
   12576 	 if test -z "$postdep_objects_CXX"; then
   12577 	   postdep_objects_CXX="$p"
   12578 	 else
   12579 	   postdep_objects_CXX="$postdep_objects_CXX $p"
   12580 	 fi
   12581        fi
   12582        ;;
   12583 
   12584     *) ;; # Ignore the rest.
   12585 
   12586     esac
   12587   done
   12588 
   12589   # Clean up.
   12590   rm -f a.out a.exe
   12591 else
   12592   echo "libtool.m4: error: problem compiling CXX test program"
   12593 fi
   12594 
   12595 $rm -f confest.$objext
   12596 
   12597 compiler_lib_search_dirs_CXX=
   12598 if test -n "$compiler_lib_search_path_CXX"; then
   12599   compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
   12600 fi
   12601 
   12602 # PORTME: override above test on systems where it is broken
   12603 case $host_os in
   12604 interix[3-9]*)
   12605   # Interix 3.5 installs completely hosed .la files for C++, so rather than
   12606   # hack all around it, let's just trust "g++" to DTRT.
   12607   predep_objects_CXX=
   12608   postdep_objects_CXX=
   12609   postdeps_CXX=
   12610   ;;
   12611 
   12612 linux*)
   12613   case `$CC -V 2>&1 | sed 5q` in
   12614   *Sun\ C*)
   12615     # Sun C++ 5.9
   12616     #
   12617     # The more standards-conforming stlport4 library is
   12618     # incompatible with the Cstd library. Avoid specifying
   12619     # it if it's in CXXFLAGS. Ignore libCrun as
   12620     # -library=stlport4 depends on it.
   12621     case " $CXX $CXXFLAGS " in
   12622     *" -library=stlport4 "*)
   12623       solaris_use_stlport4=yes
   12624       ;;
   12625     esac
   12626     if test "$solaris_use_stlport4" != yes; then
   12627       postdeps_CXX='-library=Cstd -library=Crun'
   12628     fi
   12629     ;;
   12630   esac
   12631   ;;
   12632 
   12633 solaris*)
   12634   case $cc_basename in
   12635   CC*)
   12636     # The more standards-conforming stlport4 library is
   12637     # incompatible with the Cstd library. Avoid specifying
   12638     # it if it's in CXXFLAGS. Ignore libCrun as
   12639     # -library=stlport4 depends on it.
   12640     case " $CXX $CXXFLAGS " in
   12641     *" -library=stlport4 "*)
   12642       solaris_use_stlport4=yes
   12643       ;;
   12644     esac
   12645 
   12646     # Adding this requires a known-good setup of shared libraries for
   12647     # Sun compiler versions before 5.6, else PIC objects from an old
   12648     # archive will be linked into the output, leading to subtle bugs.
   12649     if test "$solaris_use_stlport4" != yes; then
   12650       postdeps_CXX='-library=Cstd -library=Crun'
   12651     fi
   12652     ;;
   12653   esac
   12654   ;;
   12655 esac
   12656 
   12657 case " $postdeps_CXX " in
   12658 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
   12659 esac
   12660 
   12661 lt_prog_compiler_wl_CXX=
   12662 lt_prog_compiler_pic_CXX=
   12663 lt_prog_compiler_static_CXX=
   12664 
   12665 { $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
   12666 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
   12667 
   12668   # C++ specific cases for pic, static, wl, etc.
   12669   if test "$GXX" = yes; then
   12670     lt_prog_compiler_wl_CXX='-Wl,'
   12671     lt_prog_compiler_static_CXX='-static'
   12672 
   12673     case $host_os in
   12674     aix*)
   12675       # All AIX code is PIC.
   12676       if test "$host_cpu" = ia64; then
   12677 	# AIX 5 now supports IA64 processor
   12678 	lt_prog_compiler_static_CXX='-Bstatic'
   12679       fi
   12680       ;;
   12681     amigaos*)
   12682       # FIXME: we need at least 68020 code to build shared libraries, but
   12683       # adding the `-m68020' flag to GCC prevents building anything better,
   12684       # like `-m68040'.
   12685       lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
   12686       ;;
   12687     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   12688       # PIC is the default for these OSes.
   12689       ;;
   12690     mingw* | cygwin* | os2* | pw32*)
   12691       # This hack is so that the source file can tell whether it is being
   12692       # built for inclusion in a dll (and should export symbols for example).
   12693       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   12694       # (--disable-auto-import) libraries
   12695       lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
   12696       ;;
   12697     darwin* | rhapsody*)
   12698       # PIC is the default on this platform
   12699       # Common symbols not allowed in MH_DYLIB files
   12700       lt_prog_compiler_pic_CXX='-fno-common'
   12701       ;;
   12702     *djgpp*)
   12703       # DJGPP does not support shared libraries at all
   12704       lt_prog_compiler_pic_CXX=
   12705       ;;
   12706     interix[3-9]*)
   12707       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   12708       # Instead, we relocate shared libraries at runtime.
   12709       ;;
   12710     sysv4*MP*)
   12711       if test -d /usr/nec; then
   12712 	lt_prog_compiler_pic_CXX=-Kconform_pic
   12713       fi
   12714       ;;
   12715     hpux*)
   12716       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   12717       # not for PA HP-UX.
   12718       case $host_cpu in
   12719       hppa*64*|ia64*)
   12720 	;;
   12721       *)
   12722 	lt_prog_compiler_pic_CXX='-fPIC'
   12723 	;;
   12724       esac
   12725       ;;
   12726     *)
   12727       lt_prog_compiler_pic_CXX='-fPIC'
   12728       ;;
   12729     esac
   12730   else
   12731     case $host_os in
   12732       aix[4-9]*)
   12733 	# All AIX code is PIC.
   12734 	if test "$host_cpu" = ia64; then
   12735 	  # AIX 5 now supports IA64 processor
   12736 	  lt_prog_compiler_static_CXX='-Bstatic'
   12737 	else
   12738 	  lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
   12739 	fi
   12740 	;;
   12741       chorus*)
   12742 	case $cc_basename in
   12743 	cxch68*)
   12744 	  # Green Hills C++ Compiler
   12745 	  # _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"
   12746 	  ;;
   12747 	esac
   12748 	;;
   12749        darwin*)
   12750          # PIC is the default on this platform
   12751          # Common symbols not allowed in MH_DYLIB files
   12752          case $cc_basename in
   12753            xlc*)
   12754            lt_prog_compiler_pic_CXX='-qnocommon'
   12755            lt_prog_compiler_wl_CXX='-Wl,'
   12756            ;;
   12757          esac
   12758        ;;
   12759       dgux*)
   12760 	case $cc_basename in
   12761 	  ec++*)
   12762 	    lt_prog_compiler_pic_CXX='-KPIC'
   12763 	    ;;
   12764 	  ghcx*)
   12765 	    # Green Hills C++ Compiler
   12766 	    lt_prog_compiler_pic_CXX='-pic'
   12767 	    ;;
   12768 	  *)
   12769 	    ;;
   12770 	esac
   12771 	;;
   12772       freebsd* | dragonfly*)
   12773 	# FreeBSD uses GNU C++
   12774 	;;
   12775       hpux9* | hpux10* | hpux11*)
   12776 	case $cc_basename in
   12777 	  CC*)
   12778 	    lt_prog_compiler_wl_CXX='-Wl,'
   12779 	    lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
   12780 	    if test "$host_cpu" != ia64; then
   12781 	      lt_prog_compiler_pic_CXX='+Z'
   12782 	    fi
   12783 	    ;;
   12784 	  aCC*)
   12785 	    lt_prog_compiler_wl_CXX='-Wl,'
   12786 	    lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
   12787 	    case $host_cpu in
   12788 	    hppa*64*|ia64*)
   12789 	      # +Z the default
   12790 	      ;;
   12791 	    *)
   12792 	      lt_prog_compiler_pic_CXX='+Z'
   12793 	      ;;
   12794 	    esac
   12795 	    ;;
   12796 	  *)
   12797 	    ;;
   12798 	esac
   12799 	;;
   12800       interix*)
   12801 	# This is c89, which is MS Visual C++ (no shared libs)
   12802 	# Anyone wants to do a port?
   12803 	;;
   12804       irix5* | irix6* | nonstopux*)
   12805 	case $cc_basename in
   12806 	  CC*)
   12807 	    lt_prog_compiler_wl_CXX='-Wl,'
   12808 	    lt_prog_compiler_static_CXX='-non_shared'
   12809 	    # CC pic flag -KPIC is the default.
   12810 	    ;;
   12811 	  *)
   12812 	    ;;
   12813 	esac
   12814 	;;
   12815       linux* | k*bsd*-gnu)
   12816 	case $cc_basename in
   12817 	  KCC*)
   12818 	    # KAI C++ Compiler
   12819 	    lt_prog_compiler_wl_CXX='--backend -Wl,'
   12820 	    lt_prog_compiler_pic_CXX='-fPIC'
   12821 	    ;;
   12822 	  icpc* | ecpc*)
   12823 	    # Intel C++
   12824 	    lt_prog_compiler_wl_CXX='-Wl,'
   12825 	    lt_prog_compiler_pic_CXX='-KPIC'
   12826 	    lt_prog_compiler_static_CXX='-static'
   12827 	    ;;
   12828 	  pgCC* | pgcpp*)
   12829 	    # Portland Group C++ compiler.
   12830 	    lt_prog_compiler_wl_CXX='-Wl,'
   12831 	    lt_prog_compiler_pic_CXX='-fpic'
   12832 	    lt_prog_compiler_static_CXX='-Bstatic'
   12833 	    ;;
   12834 	  cxx*)
   12835 	    # Compaq C++
   12836 	    # Make sure the PIC flag is empty.  It appears that all Alpha
   12837 	    # Linux and Compaq Tru64 Unix objects are PIC.
   12838 	    lt_prog_compiler_pic_CXX=
   12839 	    lt_prog_compiler_static_CXX='-non_shared'
   12840 	    ;;
   12841 	  *)
   12842 	    case `$CC -V 2>&1 | sed 5q` in
   12843 	    *Sun\ C*)
   12844 	      # Sun C++ 5.9
   12845 	      lt_prog_compiler_pic_CXX='-KPIC'
   12846 	      lt_prog_compiler_static_CXX='-Bstatic'
   12847 	      lt_prog_compiler_wl_CXX='-Qoption ld '
   12848 	      ;;
   12849 	    esac
   12850 	    ;;
   12851 	esac
   12852 	;;
   12853       lynxos*)
   12854 	;;
   12855       m88k*)
   12856 	;;
   12857       mvs*)
   12858 	case $cc_basename in
   12859 	  cxx*)
   12860 	    lt_prog_compiler_pic_CXX='-W c,exportall'
   12861 	    ;;
   12862 	  *)
   12863 	    ;;
   12864 	esac
   12865 	;;
   12866       netbsd*)
   12867 	;;
   12868       osf3* | osf4* | osf5*)
   12869 	case $cc_basename in
   12870 	  KCC*)
   12871 	    lt_prog_compiler_wl_CXX='--backend -Wl,'
   12872 	    ;;
   12873 	  RCC*)
   12874 	    # Rational C++ 2.4.1
   12875 	    lt_prog_compiler_pic_CXX='-pic'
   12876 	    ;;
   12877 	  cxx*)
   12878 	    # Digital/Compaq C++
   12879 	    lt_prog_compiler_wl_CXX='-Wl,'
   12880 	    # Make sure the PIC flag is empty.  It appears that all Alpha
   12881 	    # Linux and Compaq Tru64 Unix objects are PIC.
   12882 	    lt_prog_compiler_pic_CXX=
   12883 	    lt_prog_compiler_static_CXX='-non_shared'
   12884 	    ;;
   12885 	  *)
   12886 	    ;;
   12887 	esac
   12888 	;;
   12889       psos*)
   12890 	;;
   12891       solaris*)
   12892 	case $cc_basename in
   12893 	  CC*)
   12894 	    # Sun C++ 4.2, 5.x and Centerline C++
   12895 	    lt_prog_compiler_pic_CXX='-KPIC'
   12896 	    lt_prog_compiler_static_CXX='-Bstatic'
   12897 	    lt_prog_compiler_wl_CXX='-Qoption ld '
   12898 	    ;;
   12899 	  gcx*)
   12900 	    # Green Hills C++ Compiler
   12901 	    lt_prog_compiler_pic_CXX='-PIC'
   12902 	    ;;
   12903 	  *)
   12904 	    ;;
   12905 	esac
   12906 	;;
   12907       sunos4*)
   12908 	case $cc_basename in
   12909 	  CC*)
   12910 	    # Sun C++ 4.x
   12911 	    lt_prog_compiler_pic_CXX='-pic'
   12912 	    lt_prog_compiler_static_CXX='-Bstatic'
   12913 	    ;;
   12914 	  lcc*)
   12915 	    # Lucid
   12916 	    lt_prog_compiler_pic_CXX='-pic'
   12917 	    ;;
   12918 	  *)
   12919 	    ;;
   12920 	esac
   12921 	;;
   12922       tandem*)
   12923 	case $cc_basename in
   12924 	  NCC*)
   12925 	    # NonStop-UX NCC 3.20
   12926 	    lt_prog_compiler_pic_CXX='-KPIC'
   12927 	    ;;
   12928 	  *)
   12929 	    ;;
   12930 	esac
   12931 	;;
   12932       sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   12933 	case $cc_basename in
   12934 	  CC*)
   12935 	    lt_prog_compiler_wl_CXX='-Wl,'
   12936 	    lt_prog_compiler_pic_CXX='-KPIC'
   12937 	    lt_prog_compiler_static_CXX='-Bstatic'
   12938 	    ;;
   12939 	esac
   12940 	;;
   12941       vxworks*)
   12942 	;;
   12943       *)
   12944 	lt_prog_compiler_can_build_shared_CXX=no
   12945 	;;
   12946     esac
   12947   fi
   12948 
   12949 { $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
   12950 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
   12951 
   12952 #
   12953 # Check to make sure the PIC flag actually works.
   12954 #
   12955 if test -n "$lt_prog_compiler_pic_CXX"; then
   12956 
   12957 { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
   12958 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
   12959 if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then
   12960   $as_echo_n "(cached) " >&6
   12961 else
   12962   lt_cv_prog_compiler_pic_works_CXX=no
   12963   ac_outfile=conftest.$ac_objext
   12964    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   12965    lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
   12966    # Insert the option either (1) after the last *FLAGS variable, or
   12967    # (2) before a word containing "conftest.", or (3) at the end.
   12968    # Note that $ac_compile itself does not contain backslashes and begins
   12969    # with a dollar sign (not a hyphen), so the echo should work correctly.
   12970    # The option is referenced via a variable to avoid confusing sed.
   12971    lt_compile=`echo "$ac_compile" | $SED \
   12972    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   12973    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   12974    -e 's:$: $lt_compiler_flag:'`
   12975    (eval echo "\"\$as_me:12975: $lt_compile\"" >&5)
   12976    (eval "$lt_compile" 2>conftest.err)
   12977    ac_status=$?
   12978    cat conftest.err >&5
   12979    echo "$as_me:12979: \$? = $ac_status" >&5
   12980    if (exit $ac_status) && test -s "$ac_outfile"; then
   12981      # The compiler can only warn and ignore the option if not recognized
   12982      # So say no if there are warnings other than the usual output.
   12983      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   12984      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   12985      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   12986        lt_cv_prog_compiler_pic_works_CXX=yes
   12987      fi
   12988    fi
   12989    $rm conftest*
   12990 
   12991 fi
   12992 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
   12993 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
   12994 
   12995 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
   12996     case $lt_prog_compiler_pic_CXX in
   12997      "" | " "*) ;;
   12998      *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
   12999      esac
   13000 else
   13001     lt_prog_compiler_pic_CXX=
   13002      lt_prog_compiler_can_build_shared_CXX=no
   13003 fi
   13004 
   13005 fi
   13006 case $host_os in
   13007   # For platforms which do not support PIC, -DPIC is meaningless:
   13008   *djgpp*)
   13009     lt_prog_compiler_pic_CXX=
   13010     ;;
   13011   *)
   13012     lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
   13013     ;;
   13014 esac
   13015 
   13016 #
   13017 # Check to make sure the static flag actually works.
   13018 #
   13019 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
   13020 { $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   13021 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   13022 if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then
   13023   $as_echo_n "(cached) " >&6
   13024 else
   13025   lt_cv_prog_compiler_static_works_CXX=no
   13026    save_LDFLAGS="$LDFLAGS"
   13027    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   13028    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   13029    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   13030      # The linker can only warn and ignore the option if not recognized
   13031      # So say no if there are warnings
   13032      if test -s conftest.err; then
   13033        # Append any errors to the config.log.
   13034        cat conftest.err 1>&5
   13035        $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
   13036        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   13037        if diff conftest.exp conftest.er2 >/dev/null; then
   13038          lt_cv_prog_compiler_static_works_CXX=yes
   13039        fi
   13040      else
   13041        lt_cv_prog_compiler_static_works_CXX=yes
   13042      fi
   13043    fi
   13044    $rm -r conftest*
   13045    LDFLAGS="$save_LDFLAGS"
   13046 
   13047 fi
   13048 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_CXX" >&5
   13049 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
   13050 
   13051 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
   13052     :
   13053 else
   13054     lt_prog_compiler_static_CXX=
   13055 fi
   13056 
   13057 
   13058 { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
   13059 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   13060 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
   13061   $as_echo_n "(cached) " >&6
   13062 else
   13063   lt_cv_prog_compiler_c_o_CXX=no
   13064    $rm -r conftest 2>/dev/null
   13065    mkdir conftest
   13066    cd conftest
   13067    mkdir out
   13068    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   13069 
   13070    lt_compiler_flag="-o out/conftest2.$ac_objext"
   13071    # Insert the option either (1) after the last *FLAGS variable, or
   13072    # (2) before a word containing "conftest.", or (3) at the end.
   13073    # Note that $ac_compile itself does not contain backslashes and begins
   13074    # with a dollar sign (not a hyphen), so the echo should work correctly.
   13075    lt_compile=`echo "$ac_compile" | $SED \
   13076    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   13077    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   13078    -e 's:$: $lt_compiler_flag:'`
   13079    (eval echo "\"\$as_me:13079: $lt_compile\"" >&5)
   13080    (eval "$lt_compile" 2>out/conftest.err)
   13081    ac_status=$?
   13082    cat out/conftest.err >&5
   13083    echo "$as_me:13083: \$? = $ac_status" >&5
   13084    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   13085    then
   13086      # The compiler can only warn and ignore the option if not recognized
   13087      # So say no if there are warnings
   13088      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
   13089      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   13090      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   13091        lt_cv_prog_compiler_c_o_CXX=yes
   13092      fi
   13093    fi
   13094    chmod u+w . 2>&5
   13095    $rm conftest*
   13096    # SGI C++ compiler will create directory out/ii_files/ for
   13097    # template instantiation
   13098    test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
   13099    $rm out/* && rmdir out
   13100    cd ..
   13101    rmdir conftest
   13102    $rm conftest*
   13103 
   13104 fi
   13105 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
   13106 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
   13107 
   13108 
   13109 hard_links="nottested"
   13110 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
   13111   # do not overwrite the value of need_locks provided by the user
   13112   { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
   13113 $as_echo_n "checking if we can lock with hard links... " >&6; }
   13114   hard_links=yes
   13115   $rm conftest*
   13116   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   13117   touch conftest.a
   13118   ln conftest.a conftest.b 2>&5 || hard_links=no
   13119   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   13120   { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
   13121 $as_echo "$hard_links" >&6; }
   13122   if test "$hard_links" = no; then
   13123     { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   13124 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   13125     need_locks=warn
   13126   fi
   13127 else
   13128   need_locks=no
   13129 fi
   13130 
   13131 { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   13132 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   13133 
   13134   export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   13135   case $host_os in
   13136   aix[4-9]*)
   13137     # If we're using GNU nm, then we don't want the "-C" option.
   13138     # -C means demangle to AIX nm, but means don't demangle with GNU nm
   13139     if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
   13140       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'
   13141     else
   13142       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'
   13143     fi
   13144     ;;
   13145   pw32*)
   13146     export_symbols_cmds_CXX="$ltdll_cmds"
   13147   ;;
   13148   cygwin* | mingw*)
   13149     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'
   13150   ;;
   13151   *)
   13152     export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   13153   ;;
   13154   esac
   13155   exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   13156 
   13157 { $as_echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
   13158 $as_echo "$ld_shlibs_CXX" >&6; }
   13159 test "$ld_shlibs_CXX" = no && can_build_shared=no
   13160 
   13161 #
   13162 # Do we need to explicitly link libc?
   13163 #
   13164 case "x$archive_cmds_need_lc_CXX" in
   13165 x|xyes)
   13166   # Assume -lc should be added
   13167   archive_cmds_need_lc_CXX=yes
   13168 
   13169   if test "$enable_shared" = yes && test "$GCC" = yes; then
   13170     case $archive_cmds_CXX in
   13171     *'~'*)
   13172       # FIXME: we may have to deal with multi-command sequences.
   13173       ;;
   13174     '$CC '*)
   13175       # Test whether the compiler implicitly links with -lc since on some
   13176       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   13177       # to ld, don't add -lc before -lgcc.
   13178       { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
   13179 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
   13180       $rm conftest*
   13181       echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   13182 
   13183       if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   13184   (eval $ac_compile) 2>&5
   13185   ac_status=$?
   13186   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   13187   (exit $ac_status); } 2>conftest.err; then
   13188         soname=conftest
   13189         lib=conftest
   13190         libobjs=conftest.$ac_objext
   13191         deplibs=
   13192         wl=$lt_prog_compiler_wl_CXX
   13193 	pic_flag=$lt_prog_compiler_pic_CXX
   13194         compiler_flags=-v
   13195         linker_flags=-v
   13196         verstring=
   13197         output_objdir=.
   13198         libname=conftest
   13199         lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
   13200         allow_undefined_flag_CXX=
   13201         if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
   13202   (eval $archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
   13203   ac_status=$?
   13204   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   13205   (exit $ac_status); }
   13206         then
   13207 	  archive_cmds_need_lc_CXX=no
   13208         else
   13209 	  archive_cmds_need_lc_CXX=yes
   13210         fi
   13211         allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
   13212       else
   13213         cat conftest.err 1>&5
   13214       fi
   13215       $rm conftest*
   13216       { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
   13217 $as_echo "$archive_cmds_need_lc_CXX" >&6; }
   13218       ;;
   13219     esac
   13220   fi
   13221   ;;
   13222 esac
   13223 
   13224 { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
   13225 $as_echo_n "checking dynamic linker characteristics... " >&6; }
   13226 library_names_spec=
   13227 libname_spec='lib$name'
   13228 soname_spec=
   13229 shrext_cmds=".so"
   13230 postinstall_cmds=
   13231 postuninstall_cmds=
   13232 finish_cmds=
   13233 finish_eval=
   13234 shlibpath_var=
   13235 shlibpath_overrides_runpath=unknown
   13236 version_type=none
   13237 dynamic_linker="$host_os ld.so"
   13238 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   13239 
   13240 need_lib_prefix=unknown
   13241 hardcode_into_libs=no
   13242 
   13243 # when you set need_version to no, make sure it does not cause -set_version
   13244 # flags to be left without arguments
   13245 need_version=unknown
   13246 
   13247 case $host_os in
   13248 aix3*)
   13249   version_type=linux
   13250   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   13251   shlibpath_var=LIBPATH
   13252 
   13253   # AIX 3 has no versioning support, so we append a major version to the name.
   13254   soname_spec='${libname}${release}${shared_ext}$major'
   13255   ;;
   13256 
   13257 aix[4-9]*)
   13258   version_type=linux
   13259   need_lib_prefix=no
   13260   need_version=no
   13261   hardcode_into_libs=yes
   13262   if test "$host_cpu" = ia64; then
   13263     # AIX 5 supports IA64
   13264     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
   13265     shlibpath_var=LD_LIBRARY_PATH
   13266   else
   13267     # With GCC up to 2.95.x, collect2 would create an import file
   13268     # for dependence libraries.  The import file would start with
   13269     # the line `#! .'.  This would cause the generated library to
   13270     # depend on `.', always an invalid library.  This was fixed in
   13271     # development snapshots of GCC prior to 3.0.
   13272     case $host_os in
   13273       aix4 | aix4.[01] | aix4.[01].*)
   13274       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   13275 	   echo ' yes '
   13276 	   echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
   13277 	:
   13278       else
   13279 	can_build_shared=no
   13280       fi
   13281       ;;
   13282     esac
   13283     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
   13284     # soname into executable. Probably we can add versioning support to
   13285     # collect2, so additional links can be useful in future.
   13286     if test "$aix_use_runtimelinking" = yes; then
   13287       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   13288       # instead of lib<name>.a to let people know that these are not
   13289       # typical AIX shared libraries.
   13290       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13291     else
   13292       # We preserve .a as extension for shared libraries through AIX4.2
   13293       # and later when we are not doing run time linking.
   13294       library_names_spec='${libname}${release}.a $libname.a'
   13295       soname_spec='${libname}${release}${shared_ext}$major'
   13296     fi
   13297     shlibpath_var=LIBPATH
   13298   fi
   13299   ;;
   13300 
   13301 amigaos*)
   13302   library_names_spec='$libname.ixlibrary $libname.a'
   13303   # Create ${libname}_ixlibrary.a entries in /sys/libs.
   13304   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'
   13305   ;;
   13306 
   13307 beos*)
   13308   library_names_spec='${libname}${shared_ext}'
   13309   dynamic_linker="$host_os ld.so"
   13310   shlibpath_var=LIBRARY_PATH
   13311   ;;
   13312 
   13313 bsdi[45]*)
   13314   version_type=linux
   13315   need_version=no
   13316   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13317   soname_spec='${libname}${release}${shared_ext}$major'
   13318   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   13319   shlibpath_var=LD_LIBRARY_PATH
   13320   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   13321   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   13322   # the default ld.so.conf also contains /usr/contrib/lib and
   13323   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   13324   # libtool to hard-code these into programs
   13325   ;;
   13326 
   13327 cygwin* | mingw* | pw32*)
   13328   version_type=windows
   13329   shrext_cmds=".dll"
   13330   need_version=no
   13331   need_lib_prefix=no
   13332 
   13333   case $GCC,$host_os in
   13334   yes,cygwin* | yes,mingw* | yes,pw32*)
   13335     library_names_spec='$libname.dll.a'
   13336     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   13337     postinstall_cmds='base_file=`basename \${file}`~
   13338       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
   13339       dldir=$destdir/`dirname \$dlpath`~
   13340       test -d \$dldir || mkdir -p \$dldir~
   13341       $install_prog $dir/$dlname \$dldir/$dlname~
   13342       chmod a+x \$dldir/$dlname'
   13343     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   13344       dlpath=$dir/\$dldll~
   13345        $rm \$dlpath'
   13346     shlibpath_overrides_runpath=yes
   13347 
   13348     case $host_os in
   13349     cygwin*)
   13350       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   13351       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   13352       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
   13353       ;;
   13354     mingw*)
   13355       # MinGW DLLs use traditional 'lib' prefix
   13356       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   13357       sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   13358       if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
   13359         # It is most probably a Windows format PATH printed by
   13360         # mingw gcc, but we are running on Cygwin. Gcc prints its search
   13361         # path with ; separators, and with drive letters. We can handle the
   13362         # drive letters (cygwin fileutils understands them), so leave them,
   13363         # especially as we might pass files found there to a mingw objdump,
   13364         # which wouldn't understand a cygwinified path. Ahh.
   13365         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   13366       else
   13367         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   13368       fi
   13369       ;;
   13370     pw32*)
   13371       # pw32 DLLs use 'pw' prefix rather than 'lib'
   13372       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   13373       ;;
   13374     esac
   13375     ;;
   13376 
   13377   *)
   13378     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
   13379     ;;
   13380   esac
   13381   dynamic_linker='Win32 ld.exe'
   13382   # FIXME: first we should search . and the directory the executable is in
   13383   shlibpath_var=PATH
   13384   ;;
   13385 
   13386 darwin* | rhapsody*)
   13387   dynamic_linker="$host_os dyld"
   13388   version_type=darwin
   13389   need_lib_prefix=no
   13390   need_version=no
   13391   library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
   13392   soname_spec='${libname}${release}${major}$shared_ext'
   13393   shlibpath_overrides_runpath=yes
   13394   shlibpath_var=DYLD_LIBRARY_PATH
   13395   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   13396 
   13397   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   13398   ;;
   13399 
   13400 dgux*)
   13401   version_type=linux
   13402   need_lib_prefix=no
   13403   need_version=no
   13404   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
   13405   soname_spec='${libname}${release}${shared_ext}$major'
   13406   shlibpath_var=LD_LIBRARY_PATH
   13407   ;;
   13408 
   13409 freebsd1*)
   13410   dynamic_linker=no
   13411   ;;
   13412 
   13413 freebsd* | dragonfly*)
   13414   # DragonFly does not have aout.  When/if they implement a new
   13415   # versioning mechanism, adjust this.
   13416   if test -x /usr/bin/objformat; then
   13417     objformat=`/usr/bin/objformat`
   13418   else
   13419     case $host_os in
   13420     freebsd[123]*) objformat=aout ;;
   13421     *) objformat=elf ;;
   13422     esac
   13423   fi
   13424   version_type=freebsd-$objformat
   13425   case $version_type in
   13426     freebsd-elf*)
   13427       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   13428       need_version=no
   13429       need_lib_prefix=no
   13430       ;;
   13431     freebsd-*)
   13432       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
   13433       need_version=yes
   13434       ;;
   13435   esac
   13436   shlibpath_var=LD_LIBRARY_PATH
   13437   case $host_os in
   13438   freebsd2*)
   13439     shlibpath_overrides_runpath=yes
   13440     ;;
   13441   freebsd3.[01]* | freebsdelf3.[01]*)
   13442     shlibpath_overrides_runpath=yes
   13443     hardcode_into_libs=yes
   13444     ;;
   13445   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   13446   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   13447     shlibpath_overrides_runpath=no
   13448     hardcode_into_libs=yes
   13449     ;;
   13450   *) # from 4.6 on, and DragonFly
   13451     shlibpath_overrides_runpath=yes
   13452     hardcode_into_libs=yes
   13453     ;;
   13454   esac
   13455   ;;
   13456 
   13457 gnu*)
   13458   version_type=linux
   13459   need_lib_prefix=no
   13460   need_version=no
   13461   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   13462   soname_spec='${libname}${release}${shared_ext}$major'
   13463   shlibpath_var=LD_LIBRARY_PATH
   13464   hardcode_into_libs=yes
   13465   ;;
   13466 
   13467 hpux9* | hpux10* | hpux11*)
   13468   # Give a soname corresponding to the major version so that dld.sl refuses to
   13469   # link against other versions.
   13470   version_type=sunos
   13471   need_lib_prefix=no
   13472   need_version=no
   13473   case $host_cpu in
   13474   ia64*)
   13475     shrext_cmds='.so'
   13476     hardcode_into_libs=yes
   13477     dynamic_linker="$host_os dld.so"
   13478     shlibpath_var=LD_LIBRARY_PATH
   13479     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   13480     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13481     soname_spec='${libname}${release}${shared_ext}$major'
   13482     if test "X$HPUX_IA64_MODE" = X32; then
   13483       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   13484     else
   13485       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   13486     fi
   13487     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   13488     ;;
   13489    hppa*64*)
   13490      shrext_cmds='.sl'
   13491      hardcode_into_libs=yes
   13492      dynamic_linker="$host_os dld.sl"
   13493      shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   13494      shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   13495      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13496      soname_spec='${libname}${release}${shared_ext}$major'
   13497      sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   13498      sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   13499      ;;
   13500    *)
   13501     shrext_cmds='.sl'
   13502     dynamic_linker="$host_os dld.sl"
   13503     shlibpath_var=SHLIB_PATH
   13504     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   13505     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13506     soname_spec='${libname}${release}${shared_ext}$major'
   13507     ;;
   13508   esac
   13509   # HP-UX runs *really* slowly unless shared libraries are mode 555.
   13510   postinstall_cmds='chmod 555 $lib'
   13511   ;;
   13512 
   13513 interix[3-9]*)
   13514   version_type=linux
   13515   need_lib_prefix=no
   13516   need_version=no
   13517   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   13518   soname_spec='${libname}${release}${shared_ext}$major'
   13519   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   13520   shlibpath_var=LD_LIBRARY_PATH
   13521   shlibpath_overrides_runpath=no
   13522   hardcode_into_libs=yes
   13523   ;;
   13524 
   13525 irix5* | irix6* | nonstopux*)
   13526   case $host_os in
   13527     nonstopux*) version_type=nonstopux ;;
   13528     *)
   13529 	if test "$lt_cv_prog_gnu_ld" = yes; then
   13530 		version_type=linux
   13531 	else
   13532 		version_type=irix
   13533 	fi ;;
   13534   esac
   13535   need_lib_prefix=no
   13536   need_version=no
   13537   soname_spec='${libname}${release}${shared_ext}$major'
   13538   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
   13539   case $host_os in
   13540   irix5* | nonstopux*)
   13541     libsuff= shlibsuff=
   13542     ;;
   13543   *)
   13544     case $LD in # libtool.m4 will add one of these switches to LD
   13545     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   13546       libsuff= shlibsuff= libmagic=32-bit;;
   13547     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   13548       libsuff=32 shlibsuff=N32 libmagic=N32;;
   13549     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   13550       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   13551     *) libsuff= shlibsuff= libmagic=never-match;;
   13552     esac
   13553     ;;
   13554   esac
   13555   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   13556   shlibpath_overrides_runpath=no
   13557   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   13558   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   13559   hardcode_into_libs=yes
   13560   ;;
   13561 
   13562 # No shared lib support for Linux oldld, aout, or coff.
   13563 linux*oldld* | linux*aout* | linux*coff*)
   13564   dynamic_linker=no
   13565   ;;
   13566 
   13567 # This must be Linux ELF.
   13568 linux* | k*bsd*-gnu)
   13569   version_type=linux
   13570   need_lib_prefix=no
   13571   need_version=no
   13572   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13573   soname_spec='${libname}${release}${shared_ext}$major'
   13574   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   13575   shlibpath_var=LD_LIBRARY_PATH
   13576   shlibpath_overrides_runpath=no
   13577   # This implies no fast_install, which is unacceptable.
   13578   # Some rework will be needed to allow for fast_install
   13579   # before this can be enabled.
   13580   hardcode_into_libs=yes
   13581   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   13582   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   13583 
   13584   # Append ld.so.conf contents to the search path
   13585   if test -f /etc/ld.so.conf; then
   13586     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' ' '`
   13587     sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
   13588   fi
   13589 
   13590   # We used to test for /lib/ld.so.1 and disable shared libraries on
   13591   # powerpc, because MkLinux only supported shared libraries with the
   13592   # GNU dynamic linker.  Since this was broken with cross compilers,
   13593   # most powerpc-linux boxes support dynamic linking these days and
   13594   # people can always --disable-shared, the test was removed, and we
   13595   # assume the GNU/Linux dynamic linker is in use.
   13596   dynamic_linker='GNU/Linux ld.so'
   13597   ;;
   13598 
   13599 netbsd*)
   13600   version_type=sunos
   13601   need_lib_prefix=no
   13602   need_version=no
   13603   if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   13604     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   13605     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   13606     dynamic_linker='NetBSD (a.out) ld.so'
   13607   else
   13608     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   13609     soname_spec='${libname}${release}${shared_ext}$major'
   13610     dynamic_linker='NetBSD ld.elf_so'
   13611   fi
   13612   shlibpath_var=LD_LIBRARY_PATH
   13613   shlibpath_overrides_runpath=yes
   13614   hardcode_into_libs=yes
   13615   ;;
   13616 
   13617 newsos6)
   13618   version_type=linux
   13619   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13620   shlibpath_var=LD_LIBRARY_PATH
   13621   shlibpath_overrides_runpath=yes
   13622   ;;
   13623 
   13624 nto-qnx*)
   13625   version_type=linux
   13626   need_lib_prefix=no
   13627   need_version=no
   13628   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13629   soname_spec='${libname}${release}${shared_ext}$major'
   13630   shlibpath_var=LD_LIBRARY_PATH
   13631   shlibpath_overrides_runpath=yes
   13632   ;;
   13633 
   13634 openbsd*)
   13635   version_type=sunos
   13636   sys_lib_dlsearch_path_spec="/usr/lib"
   13637   need_lib_prefix=no
   13638   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
   13639   case $host_os in
   13640     openbsd3.3 | openbsd3.3.*) need_version=yes ;;
   13641     *)                         need_version=no  ;;
   13642   esac
   13643   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   13644   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   13645   shlibpath_var=LD_LIBRARY_PATH
   13646   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   13647     case $host_os in
   13648       openbsd2.[89] | openbsd2.[89].*)
   13649 	shlibpath_overrides_runpath=no
   13650 	;;
   13651       *)
   13652 	shlibpath_overrides_runpath=yes
   13653 	;;
   13654       esac
   13655   else
   13656     shlibpath_overrides_runpath=yes
   13657   fi
   13658   ;;
   13659 
   13660 os2*)
   13661   libname_spec='$name'
   13662   shrext_cmds=".dll"
   13663   need_lib_prefix=no
   13664   library_names_spec='$libname${shared_ext} $libname.a'
   13665   dynamic_linker='OS/2 ld.exe'
   13666   shlibpath_var=LIBPATH
   13667   ;;
   13668 
   13669 osf3* | osf4* | osf5*)
   13670   version_type=osf
   13671   need_lib_prefix=no
   13672   need_version=no
   13673   soname_spec='${libname}${release}${shared_ext}$major'
   13674   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13675   shlibpath_var=LD_LIBRARY_PATH
   13676   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   13677   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   13678   ;;
   13679 
   13680 rdos*)
   13681   dynamic_linker=no
   13682   ;;
   13683 
   13684 solaris*)
   13685   version_type=linux
   13686   need_lib_prefix=no
   13687   need_version=no
   13688   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13689   soname_spec='${libname}${release}${shared_ext}$major'
   13690   shlibpath_var=LD_LIBRARY_PATH
   13691   shlibpath_overrides_runpath=yes
   13692   hardcode_into_libs=yes
   13693   # ldd complains unless libraries are executable
   13694   postinstall_cmds='chmod +x $lib'
   13695   ;;
   13696 
   13697 sunos4*)
   13698   version_type=sunos
   13699   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   13700   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   13701   shlibpath_var=LD_LIBRARY_PATH
   13702   shlibpath_overrides_runpath=yes
   13703   if test "$with_gnu_ld" = yes; then
   13704     need_lib_prefix=no
   13705   fi
   13706   need_version=yes
   13707   ;;
   13708 
   13709 sysv4 | sysv4.3*)
   13710   version_type=linux
   13711   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13712   soname_spec='${libname}${release}${shared_ext}$major'
   13713   shlibpath_var=LD_LIBRARY_PATH
   13714   case $host_vendor in
   13715     sni)
   13716       shlibpath_overrides_runpath=no
   13717       need_lib_prefix=no
   13718       export_dynamic_flag_spec='${wl}-Blargedynsym'
   13719       runpath_var=LD_RUN_PATH
   13720       ;;
   13721     siemens)
   13722       need_lib_prefix=no
   13723       ;;
   13724     motorola)
   13725       need_lib_prefix=no
   13726       need_version=no
   13727       shlibpath_overrides_runpath=no
   13728       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   13729       ;;
   13730   esac
   13731   ;;
   13732 
   13733 sysv4*MP*)
   13734   if test -d /usr/nec ;then
   13735     version_type=linux
   13736     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
   13737     soname_spec='$libname${shared_ext}.$major'
   13738     shlibpath_var=LD_LIBRARY_PATH
   13739   fi
   13740   ;;
   13741 
   13742 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   13743   version_type=freebsd-elf
   13744   need_lib_prefix=no
   13745   need_version=no
   13746   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   13747   soname_spec='${libname}${release}${shared_ext}$major'
   13748   shlibpath_var=LD_LIBRARY_PATH
   13749   hardcode_into_libs=yes
   13750   if test "$with_gnu_ld" = yes; then
   13751     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   13752     shlibpath_overrides_runpath=no
   13753   else
   13754     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   13755     shlibpath_overrides_runpath=yes
   13756     case $host_os in
   13757       sco3.2v5*)
   13758         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   13759 	;;
   13760     esac
   13761   fi
   13762   sys_lib_dlsearch_path_spec='/usr/lib'
   13763   ;;
   13764 
   13765 uts4*)
   13766   version_type=linux
   13767   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13768   soname_spec='${libname}${release}${shared_ext}$major'
   13769   shlibpath_var=LD_LIBRARY_PATH
   13770   ;;
   13771 
   13772 *)
   13773   dynamic_linker=no
   13774   ;;
   13775 esac
   13776 { $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
   13777 $as_echo "$dynamic_linker" >&6; }
   13778 test "$dynamic_linker" = no && can_build_shared=no
   13779 
   13780 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
   13781   $as_echo_n "(cached) " >&6
   13782 else
   13783   lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
   13784 fi
   13785 
   13786 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
   13787 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
   13788   $as_echo_n "(cached) " >&6
   13789 else
   13790   lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
   13791 fi
   13792 
   13793 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
   13794 
   13795 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   13796 if test "$GCC" = yes; then
   13797   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   13798 fi
   13799 
   13800 { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
   13801 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
   13802 hardcode_action_CXX=
   13803 if test -n "$hardcode_libdir_flag_spec_CXX" || \
   13804    test -n "$runpath_var_CXX" || \
   13805    test "X$hardcode_automatic_CXX" = "Xyes" ; then
   13806 
   13807   # We can hardcode non-existant directories.
   13808   if test "$hardcode_direct_CXX" != no &&
   13809      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   13810      # have to relink, otherwise we might link with an installed library
   13811      # when we should be linking with a yet-to-be-installed one
   13812      ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
   13813      test "$hardcode_minus_L_CXX" != no; then
   13814     # Linking always hardcodes the temporary library directory.
   13815     hardcode_action_CXX=relink
   13816   else
   13817     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   13818     hardcode_action_CXX=immediate
   13819   fi
   13820 else
   13821   # We cannot hardcode anything, or else we can only hardcode existing
   13822   # directories.
   13823   hardcode_action_CXX=unsupported
   13824 fi
   13825 { $as_echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
   13826 $as_echo "$hardcode_action_CXX" >&6; }
   13827 
   13828 if test "$hardcode_action_CXX" = relink; then
   13829   # Fast installation is not supported
   13830   enable_fast_install=no
   13831 elif test "$shlibpath_overrides_runpath" = yes ||
   13832      test "$enable_shared" = no; then
   13833   # Fast installation is not necessary
   13834   enable_fast_install=needless
   13835 fi
   13836 
   13837 
   13838 # The else clause should only fire when bootstrapping the
   13839 # libtool distribution, otherwise you forgot to ship ltmain.sh
   13840 # with your package, and you will get complaints that there are
   13841 # no rules to generate ltmain.sh.
   13842 if test -f "$ltmain"; then
   13843   # See if we are running on zsh, and set the options which allow our commands through
   13844   # without removal of \ escapes.
   13845   if test -n "${ZSH_VERSION+set}" ; then
   13846     setopt NO_GLOB_SUBST
   13847   fi
   13848   # Now quote all the things that may contain metacharacters while being
   13849   # careful not to overquote the AC_SUBSTed values.  We take copies of the
   13850   # variables and quote the copies for generation of the libtool script.
   13851   for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
   13852     SED SHELL STRIP \
   13853     libname_spec library_names_spec soname_spec extract_expsyms_cmds \
   13854     old_striplib striplib file_magic_cmd finish_cmds finish_eval \
   13855     deplibs_check_method reload_flag reload_cmds need_locks \
   13856     lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
   13857     lt_cv_sys_global_symbol_to_c_name_address \
   13858     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
   13859     old_postinstall_cmds old_postuninstall_cmds \
   13860     compiler_CXX \
   13861     CC_CXX \
   13862     LD_CXX \
   13863     lt_prog_compiler_wl_CXX \
   13864     lt_prog_compiler_pic_CXX \
   13865     lt_prog_compiler_static_CXX \
   13866     lt_prog_compiler_no_builtin_flag_CXX \
   13867     export_dynamic_flag_spec_CXX \
   13868     thread_safe_flag_spec_CXX \
   13869     whole_archive_flag_spec_CXX \
   13870     enable_shared_with_static_runtimes_CXX \
   13871     old_archive_cmds_CXX \
   13872     old_archive_from_new_cmds_CXX \
   13873     predep_objects_CXX \
   13874     postdep_objects_CXX \
   13875     predeps_CXX \
   13876     postdeps_CXX \
   13877     compiler_lib_search_path_CXX \
   13878     compiler_lib_search_dirs_CXX \
   13879     archive_cmds_CXX \
   13880     archive_expsym_cmds_CXX \
   13881     postinstall_cmds_CXX \
   13882     postuninstall_cmds_CXX \
   13883     old_archive_from_expsyms_cmds_CXX \
   13884     allow_undefined_flag_CXX \
   13885     no_undefined_flag_CXX \
   13886     export_symbols_cmds_CXX \
   13887     hardcode_libdir_flag_spec_CXX \
   13888     hardcode_libdir_flag_spec_ld_CXX \
   13889     hardcode_libdir_separator_CXX \
   13890     hardcode_automatic_CXX \
   13891     module_cmds_CXX \
   13892     module_expsym_cmds_CXX \
   13893     lt_cv_prog_compiler_c_o_CXX \
   13894     fix_srcfile_path_CXX \
   13895     exclude_expsyms_CXX \
   13896     include_expsyms_CXX; do
   13897 
   13898     case $var in
   13899     old_archive_cmds_CXX | \
   13900     old_archive_from_new_cmds_CXX | \
   13901     archive_cmds_CXX | \
   13902     archive_expsym_cmds_CXX | \
   13903     module_cmds_CXX | \
   13904     module_expsym_cmds_CXX | \
   13905     old_archive_from_expsyms_cmds_CXX | \
   13906     export_symbols_cmds_CXX | \
   13907     extract_expsyms_cmds | reload_cmds | finish_cmds | \
   13908     postinstall_cmds | postuninstall_cmds | \
   13909     old_postinstall_cmds | old_postuninstall_cmds | \
   13910     sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
   13911       # Double-quote double-evaled strings.
   13912       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
   13913       ;;
   13914     *)
   13915       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
   13916       ;;
   13917     esac
   13918   done
   13919 
   13920   case $lt_echo in
   13921   *'\$0 --fallback-echo"')
   13922     lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
   13923     ;;
   13924   esac
   13925 
   13926 cfgfile="$ofile"
   13927 
   13928   cat <<__EOF__ >> "$cfgfile"
   13929 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
   13930 
   13931 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   13932 
   13933 # Shell to use when invoking shell scripts.
   13934 SHELL=$lt_SHELL
   13935 
   13936 # Whether or not to build shared libraries.
   13937 build_libtool_libs=$enable_shared
   13938 
   13939 # Whether or not to build static libraries.
   13940 build_old_libs=$enable_static
   13941 
   13942 # Whether or not to add -lc for building shared libraries.
   13943 build_libtool_need_lc=$archive_cmds_need_lc_CXX
   13944 
   13945 # Whether or not to disallow shared libs when runtime libs are static
   13946 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
   13947 
   13948 # Whether or not to optimize for fast installation.
   13949 fast_install=$enable_fast_install
   13950 
   13951 # The host system.
   13952 host_alias=$host_alias
   13953 host=$host
   13954 host_os=$host_os
   13955 
   13956 # The build system.
   13957 build_alias=$build_alias
   13958 build=$build
   13959 build_os=$build_os
   13960 
   13961 # An echo program that does not interpret backslashes.
   13962 echo=$lt_echo
   13963 
   13964 # The archiver.
   13965 AR=$lt_AR
   13966 AR_FLAGS=$lt_AR_FLAGS
   13967 
   13968 # A C compiler.
   13969 LTCC=$lt_LTCC
   13970 
   13971 # LTCC compiler flags.
   13972 LTCFLAGS=$lt_LTCFLAGS
   13973 
   13974 # A language-specific compiler.
   13975 CC=$lt_compiler_CXX
   13976 
   13977 # Is the compiler the GNU C compiler?
   13978 with_gcc=$GCC_CXX
   13979 
   13980 # An ERE matcher.
   13981 EGREP=$lt_EGREP
   13982 
   13983 # The linker used to build libraries.
   13984 LD=$lt_LD_CXX
   13985 
   13986 # Whether we need hard or soft links.
   13987 LN_S=$lt_LN_S
   13988 
   13989 # A BSD-compatible nm program.
   13990 NM=$lt_NM
   13991 
   13992 # A symbol stripping program
   13993 STRIP=$lt_STRIP
   13994 
   13995 # Used to examine libraries when file_magic_cmd begins "file"
   13996 MAGIC_CMD=$MAGIC_CMD
   13997 
   13998 # Used on cygwin: DLL creation program.
   13999 DLLTOOL="$DLLTOOL"
   14000 
   14001 # Used on cygwin: object dumper.
   14002 OBJDUMP="$OBJDUMP"
   14003 
   14004 # Used on cygwin: assembler.
   14005 AS="$AS"
   14006 
   14007 # The name of the directory that contains temporary libtool files.
   14008 objdir=$objdir
   14009 
   14010 # How to create reloadable object files.
   14011 reload_flag=$lt_reload_flag
   14012 reload_cmds=$lt_reload_cmds
   14013 
   14014 # How to pass a linker flag through the compiler.
   14015 wl=$lt_lt_prog_compiler_wl_CXX
   14016 
   14017 # Object file suffix (normally "o").
   14018 objext="$ac_objext"
   14019 
   14020 # Old archive suffix (normally "a").
   14021 libext="$libext"
   14022 
   14023 # Shared library suffix (normally ".so").
   14024 shrext_cmds='$shrext_cmds'
   14025 
   14026 # Executable file suffix (normally "").
   14027 exeext="$exeext"
   14028 
   14029 # Additional compiler flags for building library objects.
   14030 pic_flag=$lt_lt_prog_compiler_pic_CXX
   14031 pic_mode=$pic_mode
   14032 
   14033 # What is the maximum length of a command?
   14034 max_cmd_len=$lt_cv_sys_max_cmd_len
   14035 
   14036 # Does compiler simultaneously support -c and -o options?
   14037 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
   14038 
   14039 # Must we lock files when doing compilation?
   14040 need_locks=$lt_need_locks
   14041 
   14042 # Do we need the lib prefix for modules?
   14043 need_lib_prefix=$need_lib_prefix
   14044 
   14045 # Do we need a version for libraries?
   14046 need_version=$need_version
   14047 
   14048 # Whether dlopen is supported.
   14049 dlopen_support=$enable_dlopen
   14050 
   14051 # Whether dlopen of programs is supported.
   14052 dlopen_self=$enable_dlopen_self
   14053 
   14054 # Whether dlopen of statically linked programs is supported.
   14055 dlopen_self_static=$enable_dlopen_self_static
   14056 
   14057 # Compiler flag to prevent dynamic linking.
   14058 link_static_flag=$lt_lt_prog_compiler_static_CXX
   14059 
   14060 # Compiler flag to turn off builtin functions.
   14061 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
   14062 
   14063 # Compiler flag to allow reflexive dlopens.
   14064 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
   14065 
   14066 # Compiler flag to generate shared objects directly from archives.
   14067 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
   14068 
   14069 # Compiler flag to generate thread-safe objects.
   14070 thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
   14071 
   14072 # Library versioning type.
   14073 version_type=$version_type
   14074 
   14075 # Format of library name prefix.
   14076 libname_spec=$lt_libname_spec
   14077 
   14078 # List of archive names.  First name is the real one, the rest are links.
   14079 # The last name is the one that the linker finds with -lNAME.
   14080 library_names_spec=$lt_library_names_spec
   14081 
   14082 # The coded name of the library, if different from the real name.
   14083 soname_spec=$lt_soname_spec
   14084 
   14085 # Commands used to build and install an old-style archive.
   14086 RANLIB=$lt_RANLIB
   14087 old_archive_cmds=$lt_old_archive_cmds_CXX
   14088 old_postinstall_cmds=$lt_old_postinstall_cmds
   14089 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   14090 
   14091 # Create an old-style archive from a shared archive.
   14092 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
   14093 
   14094 # Create a temporary old-style archive to link instead of a shared archive.
   14095 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
   14096 
   14097 # Commands used to build and install a shared archive.
   14098 archive_cmds=$lt_archive_cmds_CXX
   14099 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
   14100 postinstall_cmds=$lt_postinstall_cmds
   14101 postuninstall_cmds=$lt_postuninstall_cmds
   14102 
   14103 # Commands used to build a loadable module (assumed same as above if empty)
   14104 module_cmds=$lt_module_cmds_CXX
   14105 module_expsym_cmds=$lt_module_expsym_cmds_CXX
   14106 
   14107 # Commands to strip libraries.
   14108 old_striplib=$lt_old_striplib
   14109 striplib=$lt_striplib
   14110 
   14111 # Dependencies to place before the objects being linked to create a
   14112 # shared library.
   14113 predep_objects=$lt_predep_objects_CXX
   14114 
   14115 # Dependencies to place after the objects being linked to create a
   14116 # shared library.
   14117 postdep_objects=$lt_postdep_objects_CXX
   14118 
   14119 # Dependencies to place before the objects being linked to create a
   14120 # shared library.
   14121 predeps=$lt_predeps_CXX
   14122 
   14123 # Dependencies to place after the objects being linked to create a
   14124 # shared library.
   14125 postdeps=$lt_postdeps_CXX
   14126 
   14127 # The directories searched by this compiler when creating a shared
   14128 # library
   14129 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
   14130 
   14131 # The library search path used internally by the compiler when linking
   14132 # a shared library.
   14133 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
   14134 
   14135 # Method to check whether dependent libraries are shared objects.
   14136 deplibs_check_method=$lt_deplibs_check_method
   14137 
   14138 # Command to use when deplibs_check_method == file_magic.
   14139 file_magic_cmd=$lt_file_magic_cmd
   14140 
   14141 # Flag that allows shared libraries with undefined symbols to be built.
   14142 allow_undefined_flag=$lt_allow_undefined_flag_CXX
   14143 
   14144 # Flag that forces no undefined symbols.
   14145 no_undefined_flag=$lt_no_undefined_flag_CXX
   14146 
   14147 # Commands used to finish a libtool library installation in a directory.
   14148 finish_cmds=$lt_finish_cmds
   14149 
   14150 # Same as above, but a single script fragment to be evaled but not shown.
   14151 finish_eval=$lt_finish_eval
   14152 
   14153 # Take the output of nm and produce a listing of raw symbols and C names.
   14154 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   14155 
   14156 # Transform the output of nm in a proper C declaration
   14157 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   14158 
   14159 # Transform the output of nm in a C name address pair
   14160 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   14161 
   14162 # This is the shared library runtime path variable.
   14163 runpath_var=$runpath_var
   14164 
   14165 # This is the shared library path variable.
   14166 shlibpath_var=$shlibpath_var
   14167 
   14168 # Is shlibpath searched before the hard-coded library search path?
   14169 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   14170 
   14171 # How to hardcode a shared library path into an executable.
   14172 hardcode_action=$hardcode_action_CXX
   14173 
   14174 # Whether we should hardcode library paths into libraries.
   14175 hardcode_into_libs=$hardcode_into_libs
   14176 
   14177 # Flag to hardcode \$libdir into a binary during linking.
   14178 # This must work even if \$libdir does not exist.
   14179 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
   14180 
   14181 # If ld is used when linking, flag to hardcode \$libdir into
   14182 # a binary during linking. This must work even if \$libdir does
   14183 # not exist.
   14184 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
   14185 
   14186 # Whether we need a single -rpath flag with a separated argument.
   14187 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
   14188 
   14189 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
   14190 # resulting binary.
   14191 hardcode_direct=$hardcode_direct_CXX
   14192 
   14193 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
   14194 # resulting binary.
   14195 hardcode_minus_L=$hardcode_minus_L_CXX
   14196 
   14197 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
   14198 # the resulting binary.
   14199 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
   14200 
   14201 # Set to yes if building a shared library automatically hardcodes DIR into the library
   14202 # and all subsequent libraries and executables linked against it.
   14203 hardcode_automatic=$hardcode_automatic_CXX
   14204 
   14205 # Variables whose values should be saved in libtool wrapper scripts and
   14206 # restored at relink time.
   14207 variables_saved_for_relink="$variables_saved_for_relink"
   14208 
   14209 # Whether libtool must link a program against all its dependency libraries.
   14210 link_all_deplibs=$link_all_deplibs_CXX
   14211 
   14212 # Compile-time system search path for libraries
   14213 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   14214 
   14215 # Run-time system search path for libraries
   14216 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   14217 
   14218 # Fix the shell variable \$srcfile for the compiler.
   14219 fix_srcfile_path=$lt_fix_srcfile_path
   14220 
   14221 # Set to yes if exported symbols are required.
   14222 always_export_symbols=$always_export_symbols_CXX
   14223 
   14224 # The commands to list exported symbols.
   14225 export_symbols_cmds=$lt_export_symbols_cmds_CXX
   14226 
   14227 # The commands to extract the exported symbol list from a shared archive.
   14228 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   14229 
   14230 # Symbols that should not be listed in the preloaded symbols.
   14231 exclude_expsyms=$lt_exclude_expsyms_CXX
   14232 
   14233 # Symbols that must always be exported.
   14234 include_expsyms=$lt_include_expsyms_CXX
   14235 
   14236 # ### END LIBTOOL TAG CONFIG: $tagname
   14237 
   14238 __EOF__
   14239 
   14240 
   14241 else
   14242   # If there is no Makefile yet, we rely on a make rule to execute
   14243   # `config.status --recheck' to rerun these tests and create the
   14244   # libtool script then.
   14245   ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
   14246   if test -f "$ltmain_in"; then
   14247     test -f Makefile && make "$ltmain"
   14248   fi
   14249 fi
   14250 
   14251 
   14252 ac_ext=c
   14253 ac_cpp='$CPP $CPPFLAGS'
   14254 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   14255 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   14256 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   14257 
   14258 CC=$lt_save_CC
   14259 LDCXX=$LD
   14260 LD=$lt_save_LD
   14261 GCC=$lt_save_GCC
   14262 with_gnu_ldcxx=$with_gnu_ld
   14263 with_gnu_ld=$lt_save_with_gnu_ld
   14264 lt_cv_path_LDCXX=$lt_cv_path_LD
   14265 lt_cv_path_LD=$lt_save_path_LD
   14266 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
   14267 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
   14268 
   14269 	else
   14270 	  tagname=""
   14271 	fi
   14272 	;;
   14273 
   14274       F77)
   14275 	if test -n "$F77" && test "X$F77" != "Xno"; then
   14276 
   14277 ac_ext=f
   14278 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
   14279 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   14280 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
   14281 
   14282 
   14283 archive_cmds_need_lc_F77=no
   14284 allow_undefined_flag_F77=
   14285 always_export_symbols_F77=no
   14286 archive_expsym_cmds_F77=
   14287 export_dynamic_flag_spec_F77=
   14288 hardcode_direct_F77=no
   14289 hardcode_libdir_flag_spec_F77=
   14290 hardcode_libdir_flag_spec_ld_F77=
   14291 hardcode_libdir_separator_F77=
   14292 hardcode_minus_L_F77=no
   14293 hardcode_automatic_F77=no
   14294 module_cmds_F77=
   14295 module_expsym_cmds_F77=
   14296 link_all_deplibs_F77=unknown
   14297 old_archive_cmds_F77=$old_archive_cmds
   14298 no_undefined_flag_F77=
   14299 whole_archive_flag_spec_F77=
   14300 enable_shared_with_static_runtimes_F77=no
   14301 
   14302 # Source file extension for f77 test sources.
   14303 ac_ext=f
   14304 
   14305 # Object file extension for compiled f77 test sources.
   14306 objext=o
   14307 objext_F77=$objext
   14308 
   14309 # Code to be used in simple compile tests
   14310 lt_simple_compile_test_code="\
   14311       subroutine t
   14312       return
   14313       end
   14314 "
   14315 
   14316 # Code to be used in simple link tests
   14317 lt_simple_link_test_code="\
   14318       program t
   14319       end
   14320 "
   14321 
   14322 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
   14323 
   14324 # If no C compiler was specified, use CC.
   14325 LTCC=${LTCC-"$CC"}
   14326 
   14327 # If no C compiler flags were specified, use CFLAGS.
   14328 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   14329 
   14330 # Allow CC to be a program name with arguments.
   14331 compiler=$CC
   14332 
   14333 
   14334 # save warnings/boilerplate of simple test code
   14335 ac_outfile=conftest.$ac_objext
   14336 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   14337 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   14338 _lt_compiler_boilerplate=`cat conftest.err`
   14339 $rm conftest*
   14340 
   14341 ac_outfile=conftest.$ac_objext
   14342 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   14343 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   14344 _lt_linker_boilerplate=`cat conftest.err`
   14345 $rm -r conftest*
   14346 
   14347 
   14348 # Allow CC to be a program name with arguments.
   14349 lt_save_CC="$CC"
   14350 CC=${F77-"f77"}
   14351 compiler=$CC
   14352 compiler_F77=$CC
   14353 for cc_temp in $compiler""; do
   14354   case $cc_temp in
   14355     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   14356     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   14357     \-*) ;;
   14358     *) break;;
   14359   esac
   14360 done
   14361 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   14362 
   14363 
   14364 { $as_echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
   14365 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
   14366 { $as_echo "$as_me:$LINENO: result: $can_build_shared" >&5
   14367 $as_echo "$can_build_shared" >&6; }
   14368 
   14369 { $as_echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
   14370 $as_echo_n "checking whether to build shared libraries... " >&6; }
   14371 test "$can_build_shared" = "no" && enable_shared=no
   14372 
   14373 # On AIX, shared libraries and static libraries use the same namespace, and
   14374 # are all built from PIC.
   14375 case $host_os in
   14376 aix3*)
   14377   test "$enable_shared" = yes && enable_static=no
   14378   if test -n "$RANLIB"; then
   14379     archive_cmds="$archive_cmds~\$RANLIB \$lib"
   14380     postinstall_cmds='$RANLIB $lib'
   14381   fi
   14382   ;;
   14383 aix[4-9]*)
   14384   if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
   14385     test "$enable_shared" = yes && enable_static=no
   14386   fi
   14387   ;;
   14388 esac
   14389 { $as_echo "$as_me:$LINENO: result: $enable_shared" >&5
   14390 $as_echo "$enable_shared" >&6; }
   14391 
   14392 { $as_echo "$as_me:$LINENO: checking whether to build static libraries" >&5
   14393 $as_echo_n "checking whether to build static libraries... " >&6; }
   14394 # Make sure either enable_shared or enable_static is yes.
   14395 test "$enable_shared" = yes || enable_static=yes
   14396 { $as_echo "$as_me:$LINENO: result: $enable_static" >&5
   14397 $as_echo "$enable_static" >&6; }
   14398 
   14399 GCC_F77="$G77"
   14400 LD_F77="$LD"
   14401 
   14402 lt_prog_compiler_wl_F77=
   14403 lt_prog_compiler_pic_F77=
   14404 lt_prog_compiler_static_F77=
   14405 
   14406 { $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
   14407 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
   14408 
   14409   if test "$GCC" = yes; then
   14410     lt_prog_compiler_wl_F77='-Wl,'
   14411     lt_prog_compiler_static_F77='-static'
   14412 
   14413     case $host_os in
   14414       aix*)
   14415       # All AIX code is PIC.
   14416       if test "$host_cpu" = ia64; then
   14417 	# AIX 5 now supports IA64 processor
   14418 	lt_prog_compiler_static_F77='-Bstatic'
   14419       fi
   14420       ;;
   14421 
   14422     amigaos*)
   14423       # FIXME: we need at least 68020 code to build shared libraries, but
   14424       # adding the `-m68020' flag to GCC prevents building anything better,
   14425       # like `-m68040'.
   14426       lt_prog_compiler_pic_F77='-m68020 -resident32 -malways-restore-a4'
   14427       ;;
   14428 
   14429     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   14430       # PIC is the default for these OSes.
   14431       ;;
   14432 
   14433     mingw* | cygwin* | pw32* | os2*)
   14434       # This hack is so that the source file can tell whether it is being
   14435       # built for inclusion in a dll (and should export symbols for example).
   14436       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   14437       # (--disable-auto-import) libraries
   14438       lt_prog_compiler_pic_F77='-DDLL_EXPORT'
   14439       ;;
   14440 
   14441     darwin* | rhapsody*)
   14442       # PIC is the default on this platform
   14443       # Common symbols not allowed in MH_DYLIB files
   14444       lt_prog_compiler_pic_F77='-fno-common'
   14445       ;;
   14446 
   14447     interix[3-9]*)
   14448       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   14449       # Instead, we relocate shared libraries at runtime.
   14450       ;;
   14451 
   14452     msdosdjgpp*)
   14453       # Just because we use GCC doesn't mean we suddenly get shared libraries
   14454       # on systems that don't support them.
   14455       lt_prog_compiler_can_build_shared_F77=no
   14456       enable_shared=no
   14457       ;;
   14458 
   14459     sysv4*MP*)
   14460       if test -d /usr/nec; then
   14461 	lt_prog_compiler_pic_F77=-Kconform_pic
   14462       fi
   14463       ;;
   14464 
   14465     hpux*)
   14466       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   14467       # not for PA HP-UX.
   14468       case $host_cpu in
   14469       hppa*64*|ia64*)
   14470 	# +Z the default
   14471 	;;
   14472       *)
   14473 	lt_prog_compiler_pic_F77='-fPIC'
   14474 	;;
   14475       esac
   14476       ;;
   14477 
   14478     *)
   14479       lt_prog_compiler_pic_F77='-fPIC'
   14480       ;;
   14481     esac
   14482   else
   14483     # PORTME Check for flag to pass linker flags through the system compiler.
   14484     case $host_os in
   14485     aix*)
   14486       lt_prog_compiler_wl_F77='-Wl,'
   14487       if test "$host_cpu" = ia64; then
   14488 	# AIX 5 now supports IA64 processor
   14489 	lt_prog_compiler_static_F77='-Bstatic'
   14490       else
   14491 	lt_prog_compiler_static_F77='-bnso -bI:/lib/syscalls.exp'
   14492       fi
   14493       ;;
   14494       darwin*)
   14495         # PIC is the default on this platform
   14496         # Common symbols not allowed in MH_DYLIB files
   14497        case $cc_basename in
   14498          xlc*)
   14499          lt_prog_compiler_pic_F77='-qnocommon'
   14500          lt_prog_compiler_wl_F77='-Wl,'
   14501          ;;
   14502        esac
   14503        ;;
   14504 
   14505     mingw* | cygwin* | pw32* | os2*)
   14506       # This hack is so that the source file can tell whether it is being
   14507       # built for inclusion in a dll (and should export symbols for example).
   14508       lt_prog_compiler_pic_F77='-DDLL_EXPORT'
   14509       ;;
   14510 
   14511     hpux9* | hpux10* | hpux11*)
   14512       lt_prog_compiler_wl_F77='-Wl,'
   14513       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   14514       # not for PA HP-UX.
   14515       case $host_cpu in
   14516       hppa*64*|ia64*)
   14517 	# +Z the default
   14518 	;;
   14519       *)
   14520 	lt_prog_compiler_pic_F77='+Z'
   14521 	;;
   14522       esac
   14523       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   14524       lt_prog_compiler_static_F77='${wl}-a ${wl}archive'
   14525       ;;
   14526 
   14527     irix5* | irix6* | nonstopux*)
   14528       lt_prog_compiler_wl_F77='-Wl,'
   14529       # PIC (with -KPIC) is the default.
   14530       lt_prog_compiler_static_F77='-non_shared'
   14531       ;;
   14532 
   14533     newsos6)
   14534       lt_prog_compiler_pic_F77='-KPIC'
   14535       lt_prog_compiler_static_F77='-Bstatic'
   14536       ;;
   14537 
   14538     linux* | k*bsd*-gnu)
   14539       case $cc_basename in
   14540       icc* | ecc*)
   14541 	lt_prog_compiler_wl_F77='-Wl,'
   14542 	lt_prog_compiler_pic_F77='-KPIC'
   14543 	lt_prog_compiler_static_F77='-static'
   14544         ;;
   14545       pgcc* | pgf77* | pgf90* | pgf95*)
   14546         # Portland Group compilers (*not* the Pentium gcc compiler,
   14547 	# which looks to be a dead project)
   14548 	lt_prog_compiler_wl_F77='-Wl,'
   14549 	lt_prog_compiler_pic_F77='-fpic'
   14550 	lt_prog_compiler_static_F77='-Bstatic'
   14551         ;;
   14552       ccc*)
   14553         lt_prog_compiler_wl_F77='-Wl,'
   14554         # All Alpha code is PIC.
   14555         lt_prog_compiler_static_F77='-non_shared'
   14556         ;;
   14557       *)
   14558         case `$CC -V 2>&1 | sed 5q` in
   14559 	*Sun\ C*)
   14560 	  # Sun C 5.9
   14561 	  lt_prog_compiler_pic_F77='-KPIC'
   14562 	  lt_prog_compiler_static_F77='-Bstatic'
   14563 	  lt_prog_compiler_wl_F77='-Wl,'
   14564 	  ;;
   14565 	*Sun\ F*)
   14566 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   14567 	  lt_prog_compiler_pic_F77='-KPIC'
   14568 	  lt_prog_compiler_static_F77='-Bstatic'
   14569 	  lt_prog_compiler_wl_F77=''
   14570 	  ;;
   14571 	esac
   14572 	;;
   14573       esac
   14574       ;;
   14575 
   14576     osf3* | osf4* | osf5*)
   14577       lt_prog_compiler_wl_F77='-Wl,'
   14578       # All OSF/1 code is PIC.
   14579       lt_prog_compiler_static_F77='-non_shared'
   14580       ;;
   14581 
   14582     rdos*)
   14583       lt_prog_compiler_static_F77='-non_shared'
   14584       ;;
   14585 
   14586     solaris*)
   14587       lt_prog_compiler_pic_F77='-KPIC'
   14588       lt_prog_compiler_static_F77='-Bstatic'
   14589       case $cc_basename in
   14590       f77* | f90* | f95*)
   14591 	lt_prog_compiler_wl_F77='-Qoption ld ';;
   14592       *)
   14593 	lt_prog_compiler_wl_F77='-Wl,';;
   14594       esac
   14595       ;;
   14596 
   14597     sunos4*)
   14598       lt_prog_compiler_wl_F77='-Qoption ld '
   14599       lt_prog_compiler_pic_F77='-PIC'
   14600       lt_prog_compiler_static_F77='-Bstatic'
   14601       ;;
   14602 
   14603     sysv4 | sysv4.2uw2* | sysv4.3*)
   14604       lt_prog_compiler_wl_F77='-Wl,'
   14605       lt_prog_compiler_pic_F77='-KPIC'
   14606       lt_prog_compiler_static_F77='-Bstatic'
   14607       ;;
   14608 
   14609     sysv4*MP*)
   14610       if test -d /usr/nec ;then
   14611 	lt_prog_compiler_pic_F77='-Kconform_pic'
   14612 	lt_prog_compiler_static_F77='-Bstatic'
   14613       fi
   14614       ;;
   14615 
   14616     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   14617       lt_prog_compiler_wl_F77='-Wl,'
   14618       lt_prog_compiler_pic_F77='-KPIC'
   14619       lt_prog_compiler_static_F77='-Bstatic'
   14620       ;;
   14621 
   14622     unicos*)
   14623       lt_prog_compiler_wl_F77='-Wl,'
   14624       lt_prog_compiler_can_build_shared_F77=no
   14625       ;;
   14626 
   14627     uts4*)
   14628       lt_prog_compiler_pic_F77='-pic'
   14629       lt_prog_compiler_static_F77='-Bstatic'
   14630       ;;
   14631 
   14632     *)
   14633       lt_prog_compiler_can_build_shared_F77=no
   14634       ;;
   14635     esac
   14636   fi
   14637 
   14638 { $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
   14639 $as_echo "$lt_prog_compiler_pic_F77" >&6; }
   14640 
   14641 #
   14642 # Check to make sure the PIC flag actually works.
   14643 #
   14644 if test -n "$lt_prog_compiler_pic_F77"; then
   14645 
   14646 { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
   14647 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... " >&6; }
   14648 if test "${lt_cv_prog_compiler_pic_works_F77+set}" = set; then
   14649   $as_echo_n "(cached) " >&6
   14650 else
   14651   lt_cv_prog_compiler_pic_works_F77=no
   14652   ac_outfile=conftest.$ac_objext
   14653    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   14654    lt_compiler_flag="$lt_prog_compiler_pic_F77"
   14655    # Insert the option either (1) after the last *FLAGS variable, or
   14656    # (2) before a word containing "conftest.", or (3) at the end.
   14657    # Note that $ac_compile itself does not contain backslashes and begins
   14658    # with a dollar sign (not a hyphen), so the echo should work correctly.
   14659    # The option is referenced via a variable to avoid confusing sed.
   14660    lt_compile=`echo "$ac_compile" | $SED \
   14661    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   14662    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   14663    -e 's:$: $lt_compiler_flag:'`
   14664    (eval echo "\"\$as_me:14664: $lt_compile\"" >&5)
   14665    (eval "$lt_compile" 2>conftest.err)
   14666    ac_status=$?
   14667    cat conftest.err >&5
   14668    echo "$as_me:14668: \$? = $ac_status" >&5
   14669    if (exit $ac_status) && test -s "$ac_outfile"; then
   14670      # The compiler can only warn and ignore the option if not recognized
   14671      # So say no if there are warnings other than the usual output.
   14672      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   14673      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   14674      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   14675        lt_cv_prog_compiler_pic_works_F77=yes
   14676      fi
   14677    fi
   14678    $rm conftest*
   14679 
   14680 fi
   14681 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_F77" >&5
   14682 $as_echo "$lt_cv_prog_compiler_pic_works_F77" >&6; }
   14683 
   14684 if test x"$lt_cv_prog_compiler_pic_works_F77" = xyes; then
   14685     case $lt_prog_compiler_pic_F77 in
   14686      "" | " "*) ;;
   14687      *) lt_prog_compiler_pic_F77=" $lt_prog_compiler_pic_F77" ;;
   14688      esac
   14689 else
   14690     lt_prog_compiler_pic_F77=
   14691      lt_prog_compiler_can_build_shared_F77=no
   14692 fi
   14693 
   14694 fi
   14695 case $host_os in
   14696   # For platforms which do not support PIC, -DPIC is meaningless:
   14697   *djgpp*)
   14698     lt_prog_compiler_pic_F77=
   14699     ;;
   14700   *)
   14701     lt_prog_compiler_pic_F77="$lt_prog_compiler_pic_F77"
   14702     ;;
   14703 esac
   14704 
   14705 #
   14706 # Check to make sure the static flag actually works.
   14707 #
   14708 wl=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag=\"$lt_prog_compiler_static_F77\"
   14709 { $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   14710 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   14711 if test "${lt_cv_prog_compiler_static_works_F77+set}" = set; then
   14712   $as_echo_n "(cached) " >&6
   14713 else
   14714   lt_cv_prog_compiler_static_works_F77=no
   14715    save_LDFLAGS="$LDFLAGS"
   14716    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   14717    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   14718    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   14719      # The linker can only warn and ignore the option if not recognized
   14720      # So say no if there are warnings
   14721      if test -s conftest.err; then
   14722        # Append any errors to the config.log.
   14723        cat conftest.err 1>&5
   14724        $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
   14725        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   14726        if diff conftest.exp conftest.er2 >/dev/null; then
   14727          lt_cv_prog_compiler_static_works_F77=yes
   14728        fi
   14729      else
   14730        lt_cv_prog_compiler_static_works_F77=yes
   14731      fi
   14732    fi
   14733    $rm -r conftest*
   14734    LDFLAGS="$save_LDFLAGS"
   14735 
   14736 fi
   14737 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_F77" >&5
   14738 $as_echo "$lt_cv_prog_compiler_static_works_F77" >&6; }
   14739 
   14740 if test x"$lt_cv_prog_compiler_static_works_F77" = xyes; then
   14741     :
   14742 else
   14743     lt_prog_compiler_static_F77=
   14744 fi
   14745 
   14746 
   14747 { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
   14748 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   14749 if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
   14750   $as_echo_n "(cached) " >&6
   14751 else
   14752   lt_cv_prog_compiler_c_o_F77=no
   14753    $rm -r conftest 2>/dev/null
   14754    mkdir conftest
   14755    cd conftest
   14756    mkdir out
   14757    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   14758 
   14759    lt_compiler_flag="-o out/conftest2.$ac_objext"
   14760    # Insert the option either (1) after the last *FLAGS variable, or
   14761    # (2) before a word containing "conftest.", or (3) at the end.
   14762    # Note that $ac_compile itself does not contain backslashes and begins
   14763    # with a dollar sign (not a hyphen), so the echo should work correctly.
   14764    lt_compile=`echo "$ac_compile" | $SED \
   14765    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   14766    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   14767    -e 's:$: $lt_compiler_flag:'`
   14768    (eval echo "\"\$as_me:14768: $lt_compile\"" >&5)
   14769    (eval "$lt_compile" 2>out/conftest.err)
   14770    ac_status=$?
   14771    cat out/conftest.err >&5
   14772    echo "$as_me:14772: \$? = $ac_status" >&5
   14773    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   14774    then
   14775      # The compiler can only warn and ignore the option if not recognized
   14776      # So say no if there are warnings
   14777      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
   14778      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   14779      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   14780        lt_cv_prog_compiler_c_o_F77=yes
   14781      fi
   14782    fi
   14783    chmod u+w . 2>&5
   14784    $rm conftest*
   14785    # SGI C++ compiler will create directory out/ii_files/ for
   14786    # template instantiation
   14787    test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
   14788    $rm out/* && rmdir out
   14789    cd ..
   14790    rmdir conftest
   14791    $rm conftest*
   14792 
   14793 fi
   14794 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
   14795 $as_echo "$lt_cv_prog_compiler_c_o_F77" >&6; }
   14796 
   14797 
   14798 hard_links="nottested"
   14799 if test "$lt_cv_prog_compiler_c_o_F77" = no && test "$need_locks" != no; then
   14800   # do not overwrite the value of need_locks provided by the user
   14801   { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
   14802 $as_echo_n "checking if we can lock with hard links... " >&6; }
   14803   hard_links=yes
   14804   $rm conftest*
   14805   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   14806   touch conftest.a
   14807   ln conftest.a conftest.b 2>&5 || hard_links=no
   14808   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   14809   { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
   14810 $as_echo "$hard_links" >&6; }
   14811   if test "$hard_links" = no; then
   14812     { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   14813 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   14814     need_locks=warn
   14815   fi
   14816 else
   14817   need_locks=no
   14818 fi
   14819 
   14820 { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   14821 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   14822 
   14823   runpath_var=
   14824   allow_undefined_flag_F77=
   14825   enable_shared_with_static_runtimes_F77=no
   14826   archive_cmds_F77=
   14827   archive_expsym_cmds_F77=
   14828   old_archive_From_new_cmds_F77=
   14829   old_archive_from_expsyms_cmds_F77=
   14830   export_dynamic_flag_spec_F77=
   14831   whole_archive_flag_spec_F77=
   14832   thread_safe_flag_spec_F77=
   14833   hardcode_libdir_flag_spec_F77=
   14834   hardcode_libdir_flag_spec_ld_F77=
   14835   hardcode_libdir_separator_F77=
   14836   hardcode_direct_F77=no
   14837   hardcode_minus_L_F77=no
   14838   hardcode_shlibpath_var_F77=unsupported
   14839   link_all_deplibs_F77=unknown
   14840   hardcode_automatic_F77=no
   14841   module_cmds_F77=
   14842   module_expsym_cmds_F77=
   14843   always_export_symbols_F77=no
   14844   export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   14845   # include_expsyms should be a list of space-separated symbols to be *always*
   14846   # included in the symbol list
   14847   include_expsyms_F77=
   14848   # exclude_expsyms can be an extended regexp of symbols to exclude
   14849   # it will be wrapped by ` (' and `)$', so one must not match beginning or
   14850   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
   14851   # as well as any symbol that contains `d'.
   14852   exclude_expsyms_F77='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   14853   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   14854   # platforms (ab)use it in PIC code, but their linkers get confused if
   14855   # the symbol is explicitly referenced.  Since portable code cannot
   14856   # rely on this symbol name, it's probably fine to never include it in
   14857   # preloaded symbol tables.
   14858   # Exclude shared library initialization/finalization symbols.
   14859   extract_expsyms_cmds=
   14860   # Just being paranoid about ensuring that cc_basename is set.
   14861   for cc_temp in $compiler""; do
   14862   case $cc_temp in
   14863     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   14864     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   14865     \-*) ;;
   14866     *) break;;
   14867   esac
   14868 done
   14869 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   14870 
   14871   case $host_os in
   14872   cygwin* | mingw* | pw32*)
   14873     # FIXME: the MSVC++ port hasn't been tested in a loooong time
   14874     # When not using gcc, we currently assume that we are using
   14875     # Microsoft Visual C++.
   14876     if test "$GCC" != yes; then
   14877       with_gnu_ld=no
   14878     fi
   14879     ;;
   14880   interix*)
   14881     # we just hope/assume this is gcc and not c89 (= MSVC++)
   14882     with_gnu_ld=yes
   14883     ;;
   14884   openbsd*)
   14885     with_gnu_ld=no
   14886     ;;
   14887   esac
   14888 
   14889   ld_shlibs_F77=yes
   14890   if test "$with_gnu_ld" = yes; then
   14891     # If archive_cmds runs LD, not CC, wlarc should be empty
   14892     wlarc='${wl}'
   14893 
   14894     # Set some defaults for GNU ld with shared library support. These
   14895     # are reset later if shared libraries are not supported. Putting them
   14896     # here allows them to be overridden if necessary.
   14897     runpath_var=LD_RUN_PATH
   14898     hardcode_libdir_flag_spec_F77='${wl}--rpath ${wl}$libdir'
   14899     export_dynamic_flag_spec_F77='${wl}--export-dynamic'
   14900     # ancient GNU ld didn't support --whole-archive et. al.
   14901     if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
   14902 	whole_archive_flag_spec_F77="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   14903       else
   14904   	whole_archive_flag_spec_F77=
   14905     fi
   14906     supports_anon_versioning=no
   14907     case `$LD -v 2>/dev/null` in
   14908       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   14909       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   14910       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   14911       *\ 2.11.*) ;; # other 2.11 versions
   14912       *) supports_anon_versioning=yes ;;
   14913     esac
   14914 
   14915     # See if GNU ld supports shared libraries.
   14916     case $host_os in
   14917     aix[3-9]*)
   14918       # On AIX/PPC, the GNU linker is very broken
   14919       if test "$host_cpu" != ia64; then
   14920 	ld_shlibs_F77=no
   14921 	cat <<EOF 1>&2
   14922 
   14923 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
   14924 *** to be unable to reliably create shared libraries on AIX.
   14925 *** Therefore, libtool is disabling shared libraries support.  If you
   14926 *** really care for shared libraries, you may want to modify your PATH
   14927 *** so that a non-GNU linker is found, and then restart.
   14928 
   14929 EOF
   14930       fi
   14931       ;;
   14932 
   14933     amigaos*)
   14934       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)'
   14935       hardcode_libdir_flag_spec_F77='-L$libdir'
   14936       hardcode_minus_L_F77=yes
   14937 
   14938       # Samuel A. Falvo II <kc5tja (at] dolphin.openprojects.net> reports
   14939       # that the semantics of dynamic libraries on AmigaOS, at least up
   14940       # to version 4, is to share data among multiple programs linked
   14941       # with the same dynamic library.  Since this doesn't match the
   14942       # behavior of shared libraries on other platforms, we can't use
   14943       # them.
   14944       ld_shlibs_F77=no
   14945       ;;
   14946 
   14947     beos*)
   14948       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   14949 	allow_undefined_flag_F77=unsupported
   14950 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   14951 	# support --undefined.  This deserves some investigation.  FIXME
   14952 	archive_cmds_F77='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   14953       else
   14954 	ld_shlibs_F77=no
   14955       fi
   14956       ;;
   14957 
   14958     cygwin* | mingw* | pw32*)
   14959       # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
   14960       # as there is no search path for DLLs.
   14961       hardcode_libdir_flag_spec_F77='-L$libdir'
   14962       allow_undefined_flag_F77=unsupported
   14963       always_export_symbols_F77=no
   14964       enable_shared_with_static_runtimes_F77=yes
   14965       export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
   14966 
   14967       if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
   14968         archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   14969 	# If the export-symbols file already is a .def file (1st line
   14970 	# is EXPORTS), use it as is; otherwise, prepend...
   14971 	archive_expsym_cmds_F77='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   14972 	  cp $export_symbols $output_objdir/$soname.def;
   14973 	else
   14974 	  echo EXPORTS > $output_objdir/$soname.def;
   14975 	  cat $export_symbols >> $output_objdir/$soname.def;
   14976 	fi~
   14977 	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   14978       else
   14979 	ld_shlibs_F77=no
   14980       fi
   14981       ;;
   14982 
   14983     interix[3-9]*)
   14984       hardcode_direct_F77=no
   14985       hardcode_shlibpath_var_F77=no
   14986       hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
   14987       export_dynamic_flag_spec_F77='${wl}-E'
   14988       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   14989       # Instead, shared libraries are loaded at an image base (0x10000000 by
   14990       # default) and relocated if they conflict, which is a slow very memory
   14991       # consuming and fragmenting process.  To avoid this, we pick a random,
   14992       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   14993       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   14994       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'
   14995       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'
   14996       ;;
   14997 
   14998     gnu* | linux* | k*bsd*-gnu)
   14999       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   15000 	tmp_addflag=
   15001 	case $cc_basename,$host_cpu in
   15002 	pgcc*)				# Portland Group C compiler
   15003 	  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'
   15004 	  tmp_addflag=' $pic_flag'
   15005 	  ;;
   15006 	pgf77* | pgf90* | pgf95*)	# Portland Group f77 and f90 compilers
   15007 	  whole_archive_flag_spec_F77='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
   15008 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   15009 	ecc*,ia64* | icc*,ia64*)		# Intel C compiler on ia64
   15010 	  tmp_addflag=' -i_dynamic' ;;
   15011 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   15012 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   15013 	ifc* | ifort*)			# Intel Fortran compiler
   15014 	  tmp_addflag=' -nofor_main' ;;
   15015 	esac
   15016 	case `$CC -V 2>&1 | sed 5q` in
   15017 	*Sun\ C*)			# Sun C 5.9
   15018 	  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'
   15019 	  tmp_sharedflag='-G' ;;
   15020 	*Sun\ F*)			# Sun Fortran 8.3
   15021 	  tmp_sharedflag='-G' ;;
   15022 	*)
   15023 	  tmp_sharedflag='-shared' ;;
   15024 	esac
   15025 	archive_cmds_F77='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   15026 
   15027 	if test $supports_anon_versioning = yes; then
   15028 	  archive_expsym_cmds_F77='$echo "{ global:" > $output_objdir/$libname.ver~
   15029   cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   15030   $echo "local: *; };" >> $output_objdir/$libname.ver~
   15031 	  $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
   15032 	fi
   15033       else
   15034 	ld_shlibs_F77=no
   15035       fi
   15036       ;;
   15037 
   15038     netbsd*)
   15039       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   15040 	archive_cmds_F77='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   15041 	wlarc=
   15042       else
   15043 	archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   15044 	archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   15045       fi
   15046       ;;
   15047 
   15048     solaris*)
   15049       if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
   15050 	ld_shlibs_F77=no
   15051 	cat <<EOF 1>&2
   15052 
   15053 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   15054 *** create shared libraries on Solaris systems.  Therefore, libtool
   15055 *** is disabling shared libraries support.  We urge you to upgrade GNU
   15056 *** binutils to release 2.9.1 or newer.  Another option is to modify
   15057 *** your PATH or compiler configuration so that the native linker is
   15058 *** used, and then restart.
   15059 
   15060 EOF
   15061       elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   15062 	archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   15063 	archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   15064       else
   15065 	ld_shlibs_F77=no
   15066       fi
   15067       ;;
   15068 
   15069     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   15070       case `$LD -v 2>&1` in
   15071         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   15072 	ld_shlibs_F77=no
   15073 	cat <<_LT_EOF 1>&2
   15074 
   15075 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
   15076 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   15077 *** is disabling shared libraries support.  We urge you to upgrade GNU
   15078 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   15079 *** your PATH or compiler configuration so that the native linker is
   15080 *** used, and then restart.
   15081 
   15082 _LT_EOF
   15083 	;;
   15084 	*)
   15085 	  if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   15086 	    hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
   15087 	    archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
   15088 	    archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
   15089 	  else
   15090 	    ld_shlibs_F77=no
   15091 	  fi
   15092 	;;
   15093       esac
   15094       ;;
   15095 
   15096     sunos4*)
   15097       archive_cmds_F77='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   15098       wlarc=
   15099       hardcode_direct_F77=yes
   15100       hardcode_shlibpath_var_F77=no
   15101       ;;
   15102 
   15103     *)
   15104       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   15105 	archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   15106 	archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   15107       else
   15108 	ld_shlibs_F77=no
   15109       fi
   15110       ;;
   15111     esac
   15112 
   15113     if test "$ld_shlibs_F77" = no; then
   15114       runpath_var=
   15115       hardcode_libdir_flag_spec_F77=
   15116       export_dynamic_flag_spec_F77=
   15117       whole_archive_flag_spec_F77=
   15118     fi
   15119   else
   15120     # PORTME fill in a description of your system's linker (not GNU ld)
   15121     case $host_os in
   15122     aix3*)
   15123       allow_undefined_flag_F77=unsupported
   15124       always_export_symbols_F77=yes
   15125       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'
   15126       # Note: this linker hardcodes the directories in LIBPATH if there
   15127       # are no directories specified by -L.
   15128       hardcode_minus_L_F77=yes
   15129       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
   15130 	# Neither direct hardcoding nor static linking is supported with a
   15131 	# broken collect2.
   15132 	hardcode_direct_F77=unsupported
   15133       fi
   15134       ;;
   15135 
   15136     aix[4-9]*)
   15137       if test "$host_cpu" = ia64; then
   15138 	# On IA64, the linker does run time linking by default, so we don't
   15139 	# have to do anything special.
   15140 	aix_use_runtimelinking=no
   15141 	exp_sym_flag='-Bexport'
   15142 	no_entry_flag=""
   15143       else
   15144 	# If we're using GNU nm, then we don't want the "-C" option.
   15145 	# -C means demangle to AIX nm, but means don't demangle with GNU nm
   15146 	if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
   15147 	  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'
   15148 	else
   15149 	  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'
   15150 	fi
   15151 	aix_use_runtimelinking=no
   15152 
   15153 	# Test if we are trying to use run time linking or normal
   15154 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   15155 	# need to do runtime linking.
   15156 	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   15157 	  for ld_flag in $LDFLAGS; do
   15158   	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
   15159   	    aix_use_runtimelinking=yes
   15160   	    break
   15161   	  fi
   15162 	  done
   15163 	  ;;
   15164 	esac
   15165 
   15166 	exp_sym_flag='-bexport'
   15167 	no_entry_flag='-bnoentry'
   15168       fi
   15169 
   15170       # When large executables or shared objects are built, AIX ld can
   15171       # have problems creating the table of contents.  If linking a library
   15172       # or program results in "error TOC overflow" add -mminimal-toc to
   15173       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   15174       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   15175 
   15176       archive_cmds_F77=''
   15177       hardcode_direct_F77=yes
   15178       hardcode_libdir_separator_F77=':'
   15179       link_all_deplibs_F77=yes
   15180 
   15181       if test "$GCC" = yes; then
   15182 	case $host_os in aix4.[012]|aix4.[012].*)
   15183 	# We only want to do this on AIX 4.2 and lower, the check
   15184 	# below for broken collect2 doesn't work under 4.3+
   15185 	  collect2name=`${CC} -print-prog-name=collect2`
   15186 	  if test -f "$collect2name" && \
   15187   	   strings "$collect2name" | grep resolve_lib_name >/dev/null
   15188 	  then
   15189   	  # We have reworked collect2
   15190   	  :
   15191 	  else
   15192   	  # We have old collect2
   15193   	  hardcode_direct_F77=unsupported
   15194   	  # It fails to find uninstalled libraries when the uninstalled
   15195   	  # path is not listed in the libpath.  Setting hardcode_minus_L
   15196   	  # to unsupported forces relinking
   15197   	  hardcode_minus_L_F77=yes
   15198   	  hardcode_libdir_flag_spec_F77='-L$libdir'
   15199   	  hardcode_libdir_separator_F77=
   15200 	  fi
   15201 	  ;;
   15202 	esac
   15203 	shared_flag='-shared'
   15204 	if test "$aix_use_runtimelinking" = yes; then
   15205 	  shared_flag="$shared_flag "'${wl}-G'
   15206 	fi
   15207       else
   15208 	# not using gcc
   15209 	if test "$host_cpu" = ia64; then
   15210   	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   15211   	# chokes on -Wl,-G. The following line is correct:
   15212 	  shared_flag='-G'
   15213 	else
   15214 	  if test "$aix_use_runtimelinking" = yes; then
   15215 	    shared_flag='${wl}-G'
   15216 	  else
   15217 	    shared_flag='${wl}-bM:SRE'
   15218 	  fi
   15219 	fi
   15220       fi
   15221 
   15222       # It seems that -bexpall does not export symbols beginning with
   15223       # underscore (_), so it is better to generate a list of symbols to export.
   15224       always_export_symbols_F77=yes
   15225       if test "$aix_use_runtimelinking" = yes; then
   15226 	# Warning - without using the other runtime loading flags (-brtl),
   15227 	# -berok will link without error, but may produce a broken library.
   15228 	allow_undefined_flag_F77='-berok'
   15229        # Determine the default libpath from the value encoded in an empty executable.
   15230        cat >conftest.$ac_ext <<_ACEOF
   15231       program main
   15232 
   15233       end
   15234 _ACEOF
   15235 rm -f conftest.$ac_objext conftest$ac_exeext
   15236 if { (ac_try="$ac_link"
   15237 case "(($ac_try" in
   15238   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   15239   *) ac_try_echo=$ac_try;;
   15240 esac
   15241 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   15242 $as_echo "$ac_try_echo") >&5
   15243   (eval "$ac_link") 2>conftest.er1
   15244   ac_status=$?
   15245   grep -v '^ *+' conftest.er1 >conftest.err
   15246   rm -f conftest.er1
   15247   cat conftest.err >&5
   15248   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   15249   (exit $ac_status); } && {
   15250 	 test -z "$ac_f77_werror_flag" ||
   15251 	 test ! -s conftest.err
   15252        } && test -s conftest$ac_exeext && {
   15253 	 test "$cross_compiling" = yes ||
   15254 	 $as_test_x conftest$ac_exeext
   15255        }; then
   15256 
   15257 lt_aix_libpath_sed='
   15258     /Import File Strings/,/^$/ {
   15259 	/^0/ {
   15260 	    s/^0  *\(.*\)$/\1/
   15261 	    p
   15262 	}
   15263     }'
   15264 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   15265 # Check for a 64-bit object if we didn't find anything.
   15266 if test -z "$aix_libpath"; then
   15267   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   15268 fi
   15269 else
   15270   $as_echo "$as_me: failed program was:" >&5
   15271 sed 's/^/| /' conftest.$ac_ext >&5
   15272 
   15273 
   15274 fi
   15275 
   15276 rm -rf conftest.dSYM
   15277 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   15278       conftest$ac_exeext conftest.$ac_ext
   15279 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   15280 
   15281        hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
   15282 	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"
   15283        else
   15284 	if test "$host_cpu" = ia64; then
   15285 	  hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib'
   15286 	  allow_undefined_flag_F77="-z nodefs"
   15287 	  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"
   15288 	else
   15289 	 # Determine the default libpath from the value encoded in an empty executable.
   15290 	 cat >conftest.$ac_ext <<_ACEOF
   15291       program main
   15292 
   15293       end
   15294 _ACEOF
   15295 rm -f conftest.$ac_objext conftest$ac_exeext
   15296 if { (ac_try="$ac_link"
   15297 case "(($ac_try" in
   15298   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   15299   *) ac_try_echo=$ac_try;;
   15300 esac
   15301 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   15302 $as_echo "$ac_try_echo") >&5
   15303   (eval "$ac_link") 2>conftest.er1
   15304   ac_status=$?
   15305   grep -v '^ *+' conftest.er1 >conftest.err
   15306   rm -f conftest.er1
   15307   cat conftest.err >&5
   15308   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   15309   (exit $ac_status); } && {
   15310 	 test -z "$ac_f77_werror_flag" ||
   15311 	 test ! -s conftest.err
   15312        } && test -s conftest$ac_exeext && {
   15313 	 test "$cross_compiling" = yes ||
   15314 	 $as_test_x conftest$ac_exeext
   15315        }; then
   15316 
   15317 lt_aix_libpath_sed='
   15318     /Import File Strings/,/^$/ {
   15319 	/^0/ {
   15320 	    s/^0  *\(.*\)$/\1/
   15321 	    p
   15322 	}
   15323     }'
   15324 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   15325 # Check for a 64-bit object if we didn't find anything.
   15326 if test -z "$aix_libpath"; then
   15327   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   15328 fi
   15329 else
   15330   $as_echo "$as_me: failed program was:" >&5
   15331 sed 's/^/| /' conftest.$ac_ext >&5
   15332 
   15333 
   15334 fi
   15335 
   15336 rm -rf conftest.dSYM
   15337 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   15338       conftest$ac_exeext conftest.$ac_ext
   15339 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   15340 
   15341 	 hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
   15342 	  # Warning - without using the other run time loading flags,
   15343 	  # -berok will link without error, but may produce a broken library.
   15344 	  no_undefined_flag_F77=' ${wl}-bernotok'
   15345 	  allow_undefined_flag_F77=' ${wl}-berok'
   15346 	  # Exported symbols can be pulled into shared objects from archives
   15347 	  whole_archive_flag_spec_F77='$convenience'
   15348 	  archive_cmds_need_lc_F77=yes
   15349 	  # This is similar to how AIX traditionally builds its shared libraries.
   15350 	  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'
   15351 	fi
   15352       fi
   15353       ;;
   15354 
   15355     amigaos*)
   15356       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)'
   15357       hardcode_libdir_flag_spec_F77='-L$libdir'
   15358       hardcode_minus_L_F77=yes
   15359       # see comment about different semantics on the GNU ld section
   15360       ld_shlibs_F77=no
   15361       ;;
   15362 
   15363     bsdi[45]*)
   15364       export_dynamic_flag_spec_F77=-rdynamic
   15365       ;;
   15366 
   15367     cygwin* | mingw* | pw32*)
   15368       # When not using gcc, we currently assume that we are using
   15369       # Microsoft Visual C++.
   15370       # hardcode_libdir_flag_spec is actually meaningless, as there is
   15371       # no search path for DLLs.
   15372       hardcode_libdir_flag_spec_F77=' '
   15373       allow_undefined_flag_F77=unsupported
   15374       # Tell ltmain to make .lib files, not .a files.
   15375       libext=lib
   15376       # Tell ltmain to make .dll files, not .so files.
   15377       shrext_cmds=".dll"
   15378       # FIXME: Setting linknames here is a bad hack.
   15379       archive_cmds_F77='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
   15380       # The linker will automatically build a .lib file if we build a DLL.
   15381       old_archive_From_new_cmds_F77='true'
   15382       # FIXME: Should let the user specify the lib program.
   15383       old_archive_cmds_F77='lib -OUT:$oldlib$oldobjs$old_deplibs'
   15384       fix_srcfile_path_F77='`cygpath -w "$srcfile"`'
   15385       enable_shared_with_static_runtimes_F77=yes
   15386       ;;
   15387 
   15388     darwin* | rhapsody*)
   15389       case $host_os in
   15390         rhapsody* | darwin1.[012])
   15391          allow_undefined_flag_F77='${wl}-undefined ${wl}suppress'
   15392          ;;
   15393        *) # Darwin 1.3 on
   15394          if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
   15395            allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   15396          else
   15397            case ${MACOSX_DEPLOYMENT_TARGET} in
   15398              10.[012])
   15399                allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   15400                ;;
   15401              10.*)
   15402                allow_undefined_flag_F77='${wl}-undefined ${wl}dynamic_lookup'
   15403                ;;
   15404            esac
   15405          fi
   15406          ;;
   15407       esac
   15408       archive_cmds_need_lc_F77=no
   15409       hardcode_direct_F77=no
   15410       hardcode_automatic_F77=yes
   15411       hardcode_shlibpath_var_F77=unsupported
   15412       whole_archive_flag_spec_F77=''
   15413       link_all_deplibs_F77=yes
   15414     if test "$GCC" = yes ; then
   15415     	output_verbose_link_cmd='echo'
   15416         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}"
   15417         module_cmds_F77="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
   15418         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}"
   15419         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}"
   15420     else
   15421       case $cc_basename in
   15422         xlc*)
   15423          output_verbose_link_cmd='echo'
   15424          archive_cmds_F77='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
   15425          module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
   15426           # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
   15427          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}'
   15428           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}'
   15429           ;;
   15430        *)
   15431          ld_shlibs_F77=no
   15432           ;;
   15433       esac
   15434     fi
   15435       ;;
   15436 
   15437     dgux*)
   15438       archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15439       hardcode_libdir_flag_spec_F77='-L$libdir'
   15440       hardcode_shlibpath_var_F77=no
   15441       ;;
   15442 
   15443     freebsd1*)
   15444       ld_shlibs_F77=no
   15445       ;;
   15446 
   15447     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   15448     # support.  Future versions do this automatically, but an explicit c++rt0.o
   15449     # does not break anything, and helps significantly (at the cost of a little
   15450     # extra space).
   15451     freebsd2.2*)
   15452       archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   15453       hardcode_libdir_flag_spec_F77='-R$libdir'
   15454       hardcode_direct_F77=yes
   15455       hardcode_shlibpath_var_F77=no
   15456       ;;
   15457 
   15458     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   15459     freebsd2*)
   15460       archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   15461       hardcode_direct_F77=yes
   15462       hardcode_minus_L_F77=yes
   15463       hardcode_shlibpath_var_F77=no
   15464       ;;
   15465 
   15466     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   15467     freebsd* | dragonfly*)
   15468       archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
   15469       hardcode_libdir_flag_spec_F77='-R$libdir'
   15470       hardcode_direct_F77=yes
   15471       hardcode_shlibpath_var_F77=no
   15472       ;;
   15473 
   15474     hpux9*)
   15475       if test "$GCC" = yes; then
   15476 	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'
   15477       else
   15478 	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'
   15479       fi
   15480       hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
   15481       hardcode_libdir_separator_F77=:
   15482       hardcode_direct_F77=yes
   15483 
   15484       # hardcode_minus_L: Not really in the search PATH,
   15485       # but as the default location of the library.
   15486       hardcode_minus_L_F77=yes
   15487       export_dynamic_flag_spec_F77='${wl}-E'
   15488       ;;
   15489 
   15490     hpux10*)
   15491       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   15492 	archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   15493       else
   15494 	archive_cmds_F77='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   15495       fi
   15496       if test "$with_gnu_ld" = no; then
   15497 	hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
   15498 	hardcode_libdir_separator_F77=:
   15499 
   15500 	hardcode_direct_F77=yes
   15501 	export_dynamic_flag_spec_F77='${wl}-E'
   15502 
   15503 	# hardcode_minus_L: Not really in the search PATH,
   15504 	# but as the default location of the library.
   15505 	hardcode_minus_L_F77=yes
   15506       fi
   15507       ;;
   15508 
   15509     hpux11*)
   15510       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   15511 	case $host_cpu in
   15512 	hppa*64*)
   15513 	  archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   15514 	  ;;
   15515 	ia64*)
   15516 	  archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   15517 	  ;;
   15518 	*)
   15519 	  archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   15520 	  ;;
   15521 	esac
   15522       else
   15523 	case $host_cpu in
   15524 	hppa*64*)
   15525 	  archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   15526 	  ;;
   15527 	ia64*)
   15528 	  archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   15529 	  ;;
   15530 	*)
   15531 	  archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   15532 	  ;;
   15533 	esac
   15534       fi
   15535       if test "$with_gnu_ld" = no; then
   15536 	hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
   15537 	hardcode_libdir_separator_F77=:
   15538 
   15539 	case $host_cpu in
   15540 	hppa*64*|ia64*)
   15541 	  hardcode_libdir_flag_spec_ld_F77='+b $libdir'
   15542 	  hardcode_direct_F77=no
   15543 	  hardcode_shlibpath_var_F77=no
   15544 	  ;;
   15545 	*)
   15546 	  hardcode_direct_F77=yes
   15547 	  export_dynamic_flag_spec_F77='${wl}-E'
   15548 
   15549 	  # hardcode_minus_L: Not really in the search PATH,
   15550 	  # but as the default location of the library.
   15551 	  hardcode_minus_L_F77=yes
   15552 	  ;;
   15553 	esac
   15554       fi
   15555       ;;
   15556 
   15557     irix5* | irix6* | nonstopux*)
   15558       if test "$GCC" = yes; then
   15559 	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'
   15560       else
   15561 	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'
   15562 	hardcode_libdir_flag_spec_ld_F77='-rpath $libdir'
   15563       fi
   15564       hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
   15565       hardcode_libdir_separator_F77=:
   15566       link_all_deplibs_F77=yes
   15567       ;;
   15568 
   15569     netbsd*)
   15570       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   15571 	archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   15572       else
   15573 	archive_cmds_F77='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   15574       fi
   15575       hardcode_libdir_flag_spec_F77='-R$libdir'
   15576       hardcode_direct_F77=yes
   15577       hardcode_shlibpath_var_F77=no
   15578       ;;
   15579 
   15580     newsos6)
   15581       archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15582       hardcode_direct_F77=yes
   15583       hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
   15584       hardcode_libdir_separator_F77=:
   15585       hardcode_shlibpath_var_F77=no
   15586       ;;
   15587 
   15588     openbsd*)
   15589       if test -f /usr/libexec/ld.so; then
   15590 	hardcode_direct_F77=yes
   15591 	hardcode_shlibpath_var_F77=no
   15592 	if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   15593 	  archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   15594 	  archive_expsym_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
   15595 	  hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
   15596 	  export_dynamic_flag_spec_F77='${wl}-E'
   15597 	else
   15598 	  case $host_os in
   15599 	   openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
   15600 	     archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   15601 	     hardcode_libdir_flag_spec_F77='-R$libdir'
   15602 	     ;;
   15603 	   *)
   15604 	     archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   15605 	     hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
   15606 	     ;;
   15607 	  esac
   15608         fi
   15609       else
   15610 	ld_shlibs_F77=no
   15611       fi
   15612       ;;
   15613 
   15614     os2*)
   15615       hardcode_libdir_flag_spec_F77='-L$libdir'
   15616       hardcode_minus_L_F77=yes
   15617       allow_undefined_flag_F77=unsupported
   15618       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'
   15619       old_archive_From_new_cmds_F77='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
   15620       ;;
   15621 
   15622     osf3*)
   15623       if test "$GCC" = yes; then
   15624 	allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
   15625 	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'
   15626       else
   15627 	allow_undefined_flag_F77=' -expect_unresolved \*'
   15628 	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'
   15629       fi
   15630       hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
   15631       hardcode_libdir_separator_F77=:
   15632       ;;
   15633 
   15634     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   15635       if test "$GCC" = yes; then
   15636 	allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
   15637 	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'
   15638 	hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
   15639       else
   15640 	allow_undefined_flag_F77=' -expect_unresolved \*'
   15641 	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'
   15642 	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~
   15643 	$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'
   15644 
   15645 	# Both c and cxx compiler support -rpath directly
   15646 	hardcode_libdir_flag_spec_F77='-rpath $libdir'
   15647       fi
   15648       hardcode_libdir_separator_F77=:
   15649       ;;
   15650 
   15651     solaris*)
   15652       no_undefined_flag_F77=' -z text'
   15653       if test "$GCC" = yes; then
   15654 	wlarc='${wl}'
   15655 	archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   15656 	archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   15657 	  $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
   15658       else
   15659 	wlarc=''
   15660 	archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15661 	archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   15662   	$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
   15663       fi
   15664       hardcode_libdir_flag_spec_F77='-R$libdir'
   15665       hardcode_shlibpath_var_F77=no
   15666       case $host_os in
   15667       solaris2.[0-5] | solaris2.[0-5].*) ;;
   15668       *)
   15669 	# The compiler driver will combine and reorder linker options,
   15670 	# but understands `-z linker_flag'.  GCC discards it without `$wl',
   15671 	# but is careful enough not to reorder.
   15672  	# Supported since Solaris 2.6 (maybe 2.5.1?)
   15673 	if test "$GCC" = yes; then
   15674 	  whole_archive_flag_spec_F77='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
   15675 	else
   15676 	  whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract'
   15677 	fi
   15678 	;;
   15679       esac
   15680       link_all_deplibs_F77=yes
   15681       ;;
   15682 
   15683     sunos4*)
   15684       if test "x$host_vendor" = xsequent; then
   15685 	# Use $CC to link under sequent, because it throws in some extra .o
   15686 	# files that make .init and .fini sections work.
   15687 	archive_cmds_F77='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   15688       else
   15689 	archive_cmds_F77='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   15690       fi
   15691       hardcode_libdir_flag_spec_F77='-L$libdir'
   15692       hardcode_direct_F77=yes
   15693       hardcode_minus_L_F77=yes
   15694       hardcode_shlibpath_var_F77=no
   15695       ;;
   15696 
   15697     sysv4)
   15698       case $host_vendor in
   15699 	sni)
   15700 	  archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15701 	  hardcode_direct_F77=yes # is this really true???
   15702 	;;
   15703 	siemens)
   15704 	  ## LD is ld it makes a PLAMLIB
   15705 	  ## CC just makes a GrossModule.
   15706 	  archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   15707 	  reload_cmds_F77='$CC -r -o $output$reload_objs'
   15708 	  hardcode_direct_F77=no
   15709         ;;
   15710 	motorola)
   15711 	  archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15712 	  hardcode_direct_F77=no #Motorola manual says yes, but my tests say they lie
   15713 	;;
   15714       esac
   15715       runpath_var='LD_RUN_PATH'
   15716       hardcode_shlibpath_var_F77=no
   15717       ;;
   15718 
   15719     sysv4.3*)
   15720       archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15721       hardcode_shlibpath_var_F77=no
   15722       export_dynamic_flag_spec_F77='-Bexport'
   15723       ;;
   15724 
   15725     sysv4*MP*)
   15726       if test -d /usr/nec; then
   15727 	archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15728 	hardcode_shlibpath_var_F77=no
   15729 	runpath_var=LD_RUN_PATH
   15730 	hardcode_runpath_var=yes
   15731 	ld_shlibs_F77=yes
   15732       fi
   15733       ;;
   15734 
   15735     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   15736       no_undefined_flag_F77='${wl}-z,text'
   15737       archive_cmds_need_lc_F77=no
   15738       hardcode_shlibpath_var_F77=no
   15739       runpath_var='LD_RUN_PATH'
   15740 
   15741       if test "$GCC" = yes; then
   15742 	archive_cmds_F77='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   15743 	archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   15744       else
   15745 	archive_cmds_F77='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   15746 	archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   15747       fi
   15748       ;;
   15749 
   15750     sysv5* | sco3.2v5* | sco5v6*)
   15751       # Note: We can NOT use -z defs as we might desire, because we do not
   15752       # link with -lc, and that would cause any symbols used from libc to
   15753       # always be unresolved, which means just about no library would
   15754       # ever link correctly.  If we're not using GNU ld we use -z text
   15755       # though, which does catch some bad symbols but isn't as heavy-handed
   15756       # as -z defs.
   15757       no_undefined_flag_F77='${wl}-z,text'
   15758       allow_undefined_flag_F77='${wl}-z,nodefs'
   15759       archive_cmds_need_lc_F77=no
   15760       hardcode_shlibpath_var_F77=no
   15761       hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
   15762       hardcode_libdir_separator_F77=':'
   15763       link_all_deplibs_F77=yes
   15764       export_dynamic_flag_spec_F77='${wl}-Bexport'
   15765       runpath_var='LD_RUN_PATH'
   15766 
   15767       if test "$GCC" = yes; then
   15768 	archive_cmds_F77='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   15769 	archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   15770       else
   15771 	archive_cmds_F77='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   15772 	archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   15773       fi
   15774       ;;
   15775 
   15776     uts4*)
   15777       archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15778       hardcode_libdir_flag_spec_F77='-L$libdir'
   15779       hardcode_shlibpath_var_F77=no
   15780       ;;
   15781 
   15782     *)
   15783       ld_shlibs_F77=no
   15784       ;;
   15785     esac
   15786   fi
   15787 
   15788 { $as_echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
   15789 $as_echo "$ld_shlibs_F77" >&6; }
   15790 test "$ld_shlibs_F77" = no && can_build_shared=no
   15791 
   15792 #
   15793 # Do we need to explicitly link libc?
   15794 #
   15795 case "x$archive_cmds_need_lc_F77" in
   15796 x|xyes)
   15797   # Assume -lc should be added
   15798   archive_cmds_need_lc_F77=yes
   15799 
   15800   if test "$enable_shared" = yes && test "$GCC" = yes; then
   15801     case $archive_cmds_F77 in
   15802     *'~'*)
   15803       # FIXME: we may have to deal with multi-command sequences.
   15804       ;;
   15805     '$CC '*)
   15806       # Test whether the compiler implicitly links with -lc since on some
   15807       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   15808       # to ld, don't add -lc before -lgcc.
   15809       { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
   15810 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
   15811       $rm conftest*
   15812       echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   15813 
   15814       if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   15815   (eval $ac_compile) 2>&5
   15816   ac_status=$?
   15817   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   15818   (exit $ac_status); } 2>conftest.err; then
   15819         soname=conftest
   15820         lib=conftest
   15821         libobjs=conftest.$ac_objext
   15822         deplibs=
   15823         wl=$lt_prog_compiler_wl_F77
   15824 	pic_flag=$lt_prog_compiler_pic_F77
   15825         compiler_flags=-v
   15826         linker_flags=-v
   15827         verstring=
   15828         output_objdir=.
   15829         libname=conftest
   15830         lt_save_allow_undefined_flag=$allow_undefined_flag_F77
   15831         allow_undefined_flag_F77=
   15832         if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
   15833   (eval $archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
   15834   ac_status=$?
   15835   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   15836   (exit $ac_status); }
   15837         then
   15838 	  archive_cmds_need_lc_F77=no
   15839         else
   15840 	  archive_cmds_need_lc_F77=yes
   15841         fi
   15842         allow_undefined_flag_F77=$lt_save_allow_undefined_flag
   15843       else
   15844         cat conftest.err 1>&5
   15845       fi
   15846       $rm conftest*
   15847       { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
   15848 $as_echo "$archive_cmds_need_lc_F77" >&6; }
   15849       ;;
   15850     esac
   15851   fi
   15852   ;;
   15853 esac
   15854 
   15855 { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
   15856 $as_echo_n "checking dynamic linker characteristics... " >&6; }
   15857 library_names_spec=
   15858 libname_spec='lib$name'
   15859 soname_spec=
   15860 shrext_cmds=".so"
   15861 postinstall_cmds=
   15862 postuninstall_cmds=
   15863 finish_cmds=
   15864 finish_eval=
   15865 shlibpath_var=
   15866 shlibpath_overrides_runpath=unknown
   15867 version_type=none
   15868 dynamic_linker="$host_os ld.so"
   15869 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   15870 
   15871 need_lib_prefix=unknown
   15872 hardcode_into_libs=no
   15873 
   15874 # when you set need_version to no, make sure it does not cause -set_version
   15875 # flags to be left without arguments
   15876 need_version=unknown
   15877 
   15878 case $host_os in
   15879 aix3*)
   15880   version_type=linux
   15881   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   15882   shlibpath_var=LIBPATH
   15883 
   15884   # AIX 3 has no versioning support, so we append a major version to the name.
   15885   soname_spec='${libname}${release}${shared_ext}$major'
   15886   ;;
   15887 
   15888 aix[4-9]*)
   15889   version_type=linux
   15890   need_lib_prefix=no
   15891   need_version=no
   15892   hardcode_into_libs=yes
   15893   if test "$host_cpu" = ia64; then
   15894     # AIX 5 supports IA64
   15895     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
   15896     shlibpath_var=LD_LIBRARY_PATH
   15897   else
   15898     # With GCC up to 2.95.x, collect2 would create an import file
   15899     # for dependence libraries.  The import file would start with
   15900     # the line `#! .'.  This would cause the generated library to
   15901     # depend on `.', always an invalid library.  This was fixed in
   15902     # development snapshots of GCC prior to 3.0.
   15903     case $host_os in
   15904       aix4 | aix4.[01] | aix4.[01].*)
   15905       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   15906 	   echo ' yes '
   15907 	   echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
   15908 	:
   15909       else
   15910 	can_build_shared=no
   15911       fi
   15912       ;;
   15913     esac
   15914     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
   15915     # soname into executable. Probably we can add versioning support to
   15916     # collect2, so additional links can be useful in future.
   15917     if test "$aix_use_runtimelinking" = yes; then
   15918       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   15919       # instead of lib<name>.a to let people know that these are not
   15920       # typical AIX shared libraries.
   15921       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15922     else
   15923       # We preserve .a as extension for shared libraries through AIX4.2
   15924       # and later when we are not doing run time linking.
   15925       library_names_spec='${libname}${release}.a $libname.a'
   15926       soname_spec='${libname}${release}${shared_ext}$major'
   15927     fi
   15928     shlibpath_var=LIBPATH
   15929   fi
   15930   ;;
   15931 
   15932 amigaos*)
   15933   library_names_spec='$libname.ixlibrary $libname.a'
   15934   # Create ${libname}_ixlibrary.a entries in /sys/libs.
   15935   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'
   15936   ;;
   15937 
   15938 beos*)
   15939   library_names_spec='${libname}${shared_ext}'
   15940   dynamic_linker="$host_os ld.so"
   15941   shlibpath_var=LIBRARY_PATH
   15942   ;;
   15943 
   15944 bsdi[45]*)
   15945   version_type=linux
   15946   need_version=no
   15947   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15948   soname_spec='${libname}${release}${shared_ext}$major'
   15949   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   15950   shlibpath_var=LD_LIBRARY_PATH
   15951   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   15952   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   15953   # the default ld.so.conf also contains /usr/contrib/lib and
   15954   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   15955   # libtool to hard-code these into programs
   15956   ;;
   15957 
   15958 cygwin* | mingw* | pw32*)
   15959   version_type=windows
   15960   shrext_cmds=".dll"
   15961   need_version=no
   15962   need_lib_prefix=no
   15963 
   15964   case $GCC,$host_os in
   15965   yes,cygwin* | yes,mingw* | yes,pw32*)
   15966     library_names_spec='$libname.dll.a'
   15967     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   15968     postinstall_cmds='base_file=`basename \${file}`~
   15969       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
   15970       dldir=$destdir/`dirname \$dlpath`~
   15971       test -d \$dldir || mkdir -p \$dldir~
   15972       $install_prog $dir/$dlname \$dldir/$dlname~
   15973       chmod a+x \$dldir/$dlname'
   15974     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   15975       dlpath=$dir/\$dldll~
   15976        $rm \$dlpath'
   15977     shlibpath_overrides_runpath=yes
   15978 
   15979     case $host_os in
   15980     cygwin*)
   15981       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   15982       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   15983       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
   15984       ;;
   15985     mingw*)
   15986       # MinGW DLLs use traditional 'lib' prefix
   15987       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   15988       sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   15989       if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
   15990         # It is most probably a Windows format PATH printed by
   15991         # mingw gcc, but we are running on Cygwin. Gcc prints its search
   15992         # path with ; separators, and with drive letters. We can handle the
   15993         # drive letters (cygwin fileutils understands them), so leave them,
   15994         # especially as we might pass files found there to a mingw objdump,
   15995         # which wouldn't understand a cygwinified path. Ahh.
   15996         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   15997       else
   15998         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   15999       fi
   16000       ;;
   16001     pw32*)
   16002       # pw32 DLLs use 'pw' prefix rather than 'lib'
   16003       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   16004       ;;
   16005     esac
   16006     ;;
   16007 
   16008   *)
   16009     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
   16010     ;;
   16011   esac
   16012   dynamic_linker='Win32 ld.exe'
   16013   # FIXME: first we should search . and the directory the executable is in
   16014   shlibpath_var=PATH
   16015   ;;
   16016 
   16017 darwin* | rhapsody*)
   16018   dynamic_linker="$host_os dyld"
   16019   version_type=darwin
   16020   need_lib_prefix=no
   16021   need_version=no
   16022   library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
   16023   soname_spec='${libname}${release}${major}$shared_ext'
   16024   shlibpath_overrides_runpath=yes
   16025   shlibpath_var=DYLD_LIBRARY_PATH
   16026   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   16027 
   16028   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   16029   ;;
   16030 
   16031 dgux*)
   16032   version_type=linux
   16033   need_lib_prefix=no
   16034   need_version=no
   16035   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
   16036   soname_spec='${libname}${release}${shared_ext}$major'
   16037   shlibpath_var=LD_LIBRARY_PATH
   16038   ;;
   16039 
   16040 freebsd1*)
   16041   dynamic_linker=no
   16042   ;;
   16043 
   16044 freebsd* | dragonfly*)
   16045   # DragonFly does not have aout.  When/if they implement a new
   16046   # versioning mechanism, adjust this.
   16047   if test -x /usr/bin/objformat; then
   16048     objformat=`/usr/bin/objformat`
   16049   else
   16050     case $host_os in
   16051     freebsd[123]*) objformat=aout ;;
   16052     *) objformat=elf ;;
   16053     esac
   16054   fi
   16055   version_type=freebsd-$objformat
   16056   case $version_type in
   16057     freebsd-elf*)
   16058       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   16059       need_version=no
   16060       need_lib_prefix=no
   16061       ;;
   16062     freebsd-*)
   16063       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
   16064       need_version=yes
   16065       ;;
   16066   esac
   16067   shlibpath_var=LD_LIBRARY_PATH
   16068   case $host_os in
   16069   freebsd2*)
   16070     shlibpath_overrides_runpath=yes
   16071     ;;
   16072   freebsd3.[01]* | freebsdelf3.[01]*)
   16073     shlibpath_overrides_runpath=yes
   16074     hardcode_into_libs=yes
   16075     ;;
   16076   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   16077   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   16078     shlibpath_overrides_runpath=no
   16079     hardcode_into_libs=yes
   16080     ;;
   16081   *) # from 4.6 on, and DragonFly
   16082     shlibpath_overrides_runpath=yes
   16083     hardcode_into_libs=yes
   16084     ;;
   16085   esac
   16086   ;;
   16087 
   16088 gnu*)
   16089   version_type=linux
   16090   need_lib_prefix=no
   16091   need_version=no
   16092   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   16093   soname_spec='${libname}${release}${shared_ext}$major'
   16094   shlibpath_var=LD_LIBRARY_PATH
   16095   hardcode_into_libs=yes
   16096   ;;
   16097 
   16098 hpux9* | hpux10* | hpux11*)
   16099   # Give a soname corresponding to the major version so that dld.sl refuses to
   16100   # link against other versions.
   16101   version_type=sunos
   16102   need_lib_prefix=no
   16103   need_version=no
   16104   case $host_cpu in
   16105   ia64*)
   16106     shrext_cmds='.so'
   16107     hardcode_into_libs=yes
   16108     dynamic_linker="$host_os dld.so"
   16109     shlibpath_var=LD_LIBRARY_PATH
   16110     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   16111     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16112     soname_spec='${libname}${release}${shared_ext}$major'
   16113     if test "X$HPUX_IA64_MODE" = X32; then
   16114       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   16115     else
   16116       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   16117     fi
   16118     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   16119     ;;
   16120    hppa*64*)
   16121      shrext_cmds='.sl'
   16122      hardcode_into_libs=yes
   16123      dynamic_linker="$host_os dld.sl"
   16124      shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   16125      shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   16126      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16127      soname_spec='${libname}${release}${shared_ext}$major'
   16128      sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   16129      sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   16130      ;;
   16131    *)
   16132     shrext_cmds='.sl'
   16133     dynamic_linker="$host_os dld.sl"
   16134     shlibpath_var=SHLIB_PATH
   16135     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   16136     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16137     soname_spec='${libname}${release}${shared_ext}$major'
   16138     ;;
   16139   esac
   16140   # HP-UX runs *really* slowly unless shared libraries are mode 555.
   16141   postinstall_cmds='chmod 555 $lib'
   16142   ;;
   16143 
   16144 interix[3-9]*)
   16145   version_type=linux
   16146   need_lib_prefix=no
   16147   need_version=no
   16148   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   16149   soname_spec='${libname}${release}${shared_ext}$major'
   16150   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   16151   shlibpath_var=LD_LIBRARY_PATH
   16152   shlibpath_overrides_runpath=no
   16153   hardcode_into_libs=yes
   16154   ;;
   16155 
   16156 irix5* | irix6* | nonstopux*)
   16157   case $host_os in
   16158     nonstopux*) version_type=nonstopux ;;
   16159     *)
   16160 	if test "$lt_cv_prog_gnu_ld" = yes; then
   16161 		version_type=linux
   16162 	else
   16163 		version_type=irix
   16164 	fi ;;
   16165   esac
   16166   need_lib_prefix=no
   16167   need_version=no
   16168   soname_spec='${libname}${release}${shared_ext}$major'
   16169   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
   16170   case $host_os in
   16171   irix5* | nonstopux*)
   16172     libsuff= shlibsuff=
   16173     ;;
   16174   *)
   16175     case $LD in # libtool.m4 will add one of these switches to LD
   16176     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   16177       libsuff= shlibsuff= libmagic=32-bit;;
   16178     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   16179       libsuff=32 shlibsuff=N32 libmagic=N32;;
   16180     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   16181       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   16182     *) libsuff= shlibsuff= libmagic=never-match;;
   16183     esac
   16184     ;;
   16185   esac
   16186   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   16187   shlibpath_overrides_runpath=no
   16188   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   16189   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   16190   hardcode_into_libs=yes
   16191   ;;
   16192 
   16193 # No shared lib support for Linux oldld, aout, or coff.
   16194 linux*oldld* | linux*aout* | linux*coff*)
   16195   dynamic_linker=no
   16196   ;;
   16197 
   16198 # This must be Linux ELF.
   16199 linux* | k*bsd*-gnu)
   16200   version_type=linux
   16201   need_lib_prefix=no
   16202   need_version=no
   16203   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16204   soname_spec='${libname}${release}${shared_ext}$major'
   16205   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   16206   shlibpath_var=LD_LIBRARY_PATH
   16207   shlibpath_overrides_runpath=no
   16208   # This implies no fast_install, which is unacceptable.
   16209   # Some rework will be needed to allow for fast_install
   16210   # before this can be enabled.
   16211   hardcode_into_libs=yes
   16212   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   16213   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   16214 
   16215   # Append ld.so.conf contents to the search path
   16216   if test -f /etc/ld.so.conf; then
   16217     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' ' '`
   16218     sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
   16219   fi
   16220 
   16221   # We used to test for /lib/ld.so.1 and disable shared libraries on
   16222   # powerpc, because MkLinux only supported shared libraries with the
   16223   # GNU dynamic linker.  Since this was broken with cross compilers,
   16224   # most powerpc-linux boxes support dynamic linking these days and
   16225   # people can always --disable-shared, the test was removed, and we
   16226   # assume the GNU/Linux dynamic linker is in use.
   16227   dynamic_linker='GNU/Linux ld.so'
   16228   ;;
   16229 
   16230 netbsd*)
   16231   version_type=sunos
   16232   need_lib_prefix=no
   16233   need_version=no
   16234   if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   16235     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   16236     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   16237     dynamic_linker='NetBSD (a.out) ld.so'
   16238   else
   16239     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   16240     soname_spec='${libname}${release}${shared_ext}$major'
   16241     dynamic_linker='NetBSD ld.elf_so'
   16242   fi
   16243   shlibpath_var=LD_LIBRARY_PATH
   16244   shlibpath_overrides_runpath=yes
   16245   hardcode_into_libs=yes
   16246   ;;
   16247 
   16248 newsos6)
   16249   version_type=linux
   16250   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16251   shlibpath_var=LD_LIBRARY_PATH
   16252   shlibpath_overrides_runpath=yes
   16253   ;;
   16254 
   16255 nto-qnx*)
   16256   version_type=linux
   16257   need_lib_prefix=no
   16258   need_version=no
   16259   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16260   soname_spec='${libname}${release}${shared_ext}$major'
   16261   shlibpath_var=LD_LIBRARY_PATH
   16262   shlibpath_overrides_runpath=yes
   16263   ;;
   16264 
   16265 openbsd*)
   16266   version_type=sunos
   16267   sys_lib_dlsearch_path_spec="/usr/lib"
   16268   need_lib_prefix=no
   16269   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
   16270   case $host_os in
   16271     openbsd3.3 | openbsd3.3.*) need_version=yes ;;
   16272     *)                         need_version=no  ;;
   16273   esac
   16274   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   16275   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   16276   shlibpath_var=LD_LIBRARY_PATH
   16277   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   16278     case $host_os in
   16279       openbsd2.[89] | openbsd2.[89].*)
   16280 	shlibpath_overrides_runpath=no
   16281 	;;
   16282       *)
   16283 	shlibpath_overrides_runpath=yes
   16284 	;;
   16285       esac
   16286   else
   16287     shlibpath_overrides_runpath=yes
   16288   fi
   16289   ;;
   16290 
   16291 os2*)
   16292   libname_spec='$name'
   16293   shrext_cmds=".dll"
   16294   need_lib_prefix=no
   16295   library_names_spec='$libname${shared_ext} $libname.a'
   16296   dynamic_linker='OS/2 ld.exe'
   16297   shlibpath_var=LIBPATH
   16298   ;;
   16299 
   16300 osf3* | osf4* | osf5*)
   16301   version_type=osf
   16302   need_lib_prefix=no
   16303   need_version=no
   16304   soname_spec='${libname}${release}${shared_ext}$major'
   16305   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16306   shlibpath_var=LD_LIBRARY_PATH
   16307   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   16308   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   16309   ;;
   16310 
   16311 rdos*)
   16312   dynamic_linker=no
   16313   ;;
   16314 
   16315 solaris*)
   16316   version_type=linux
   16317   need_lib_prefix=no
   16318   need_version=no
   16319   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16320   soname_spec='${libname}${release}${shared_ext}$major'
   16321   shlibpath_var=LD_LIBRARY_PATH
   16322   shlibpath_overrides_runpath=yes
   16323   hardcode_into_libs=yes
   16324   # ldd complains unless libraries are executable
   16325   postinstall_cmds='chmod +x $lib'
   16326   ;;
   16327 
   16328 sunos4*)
   16329   version_type=sunos
   16330   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   16331   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   16332   shlibpath_var=LD_LIBRARY_PATH
   16333   shlibpath_overrides_runpath=yes
   16334   if test "$with_gnu_ld" = yes; then
   16335     need_lib_prefix=no
   16336   fi
   16337   need_version=yes
   16338   ;;
   16339 
   16340 sysv4 | sysv4.3*)
   16341   version_type=linux
   16342   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16343   soname_spec='${libname}${release}${shared_ext}$major'
   16344   shlibpath_var=LD_LIBRARY_PATH
   16345   case $host_vendor in
   16346     sni)
   16347       shlibpath_overrides_runpath=no
   16348       need_lib_prefix=no
   16349       export_dynamic_flag_spec='${wl}-Blargedynsym'
   16350       runpath_var=LD_RUN_PATH
   16351       ;;
   16352     siemens)
   16353       need_lib_prefix=no
   16354       ;;
   16355     motorola)
   16356       need_lib_prefix=no
   16357       need_version=no
   16358       shlibpath_overrides_runpath=no
   16359       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   16360       ;;
   16361   esac
   16362   ;;
   16363 
   16364 sysv4*MP*)
   16365   if test -d /usr/nec ;then
   16366     version_type=linux
   16367     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
   16368     soname_spec='$libname${shared_ext}.$major'
   16369     shlibpath_var=LD_LIBRARY_PATH
   16370   fi
   16371   ;;
   16372 
   16373 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   16374   version_type=freebsd-elf
   16375   need_lib_prefix=no
   16376   need_version=no
   16377   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   16378   soname_spec='${libname}${release}${shared_ext}$major'
   16379   shlibpath_var=LD_LIBRARY_PATH
   16380   hardcode_into_libs=yes
   16381   if test "$with_gnu_ld" = yes; then
   16382     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   16383     shlibpath_overrides_runpath=no
   16384   else
   16385     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   16386     shlibpath_overrides_runpath=yes
   16387     case $host_os in
   16388       sco3.2v5*)
   16389         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   16390 	;;
   16391     esac
   16392   fi
   16393   sys_lib_dlsearch_path_spec='/usr/lib'
   16394   ;;
   16395 
   16396 uts4*)
   16397   version_type=linux
   16398   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16399   soname_spec='${libname}${release}${shared_ext}$major'
   16400   shlibpath_var=LD_LIBRARY_PATH
   16401   ;;
   16402 
   16403 *)
   16404   dynamic_linker=no
   16405   ;;
   16406 esac
   16407 { $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
   16408 $as_echo "$dynamic_linker" >&6; }
   16409 test "$dynamic_linker" = no && can_build_shared=no
   16410 
   16411 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
   16412   $as_echo_n "(cached) " >&6
   16413 else
   16414   lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
   16415 fi
   16416 
   16417 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
   16418 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
   16419   $as_echo_n "(cached) " >&6
   16420 else
   16421   lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
   16422 fi
   16423 
   16424 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
   16425 
   16426 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   16427 if test "$GCC" = yes; then
   16428   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   16429 fi
   16430 
   16431 { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
   16432 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
   16433 hardcode_action_F77=
   16434 if test -n "$hardcode_libdir_flag_spec_F77" || \
   16435    test -n "$runpath_var_F77" || \
   16436    test "X$hardcode_automatic_F77" = "Xyes" ; then
   16437 
   16438   # We can hardcode non-existant directories.
   16439   if test "$hardcode_direct_F77" != no &&
   16440      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   16441      # have to relink, otherwise we might link with an installed library
   16442      # when we should be linking with a yet-to-be-installed one
   16443      ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
   16444      test "$hardcode_minus_L_F77" != no; then
   16445     # Linking always hardcodes the temporary library directory.
   16446     hardcode_action_F77=relink
   16447   else
   16448     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   16449     hardcode_action_F77=immediate
   16450   fi
   16451 else
   16452   # We cannot hardcode anything, or else we can only hardcode existing
   16453   # directories.
   16454   hardcode_action_F77=unsupported
   16455 fi
   16456 { $as_echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
   16457 $as_echo "$hardcode_action_F77" >&6; }
   16458 
   16459 if test "$hardcode_action_F77" = relink; then
   16460   # Fast installation is not supported
   16461   enable_fast_install=no
   16462 elif test "$shlibpath_overrides_runpath" = yes ||
   16463      test "$enable_shared" = no; then
   16464   # Fast installation is not necessary
   16465   enable_fast_install=needless
   16466 fi
   16467 
   16468 
   16469 # The else clause should only fire when bootstrapping the
   16470 # libtool distribution, otherwise you forgot to ship ltmain.sh
   16471 # with your package, and you will get complaints that there are
   16472 # no rules to generate ltmain.sh.
   16473 if test -f "$ltmain"; then
   16474   # See if we are running on zsh, and set the options which allow our commands through
   16475   # without removal of \ escapes.
   16476   if test -n "${ZSH_VERSION+set}" ; then
   16477     setopt NO_GLOB_SUBST
   16478   fi
   16479   # Now quote all the things that may contain metacharacters while being
   16480   # careful not to overquote the AC_SUBSTed values.  We take copies of the
   16481   # variables and quote the copies for generation of the libtool script.
   16482   for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
   16483     SED SHELL STRIP \
   16484     libname_spec library_names_spec soname_spec extract_expsyms_cmds \
   16485     old_striplib striplib file_magic_cmd finish_cmds finish_eval \
   16486     deplibs_check_method reload_flag reload_cmds need_locks \
   16487     lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
   16488     lt_cv_sys_global_symbol_to_c_name_address \
   16489     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
   16490     old_postinstall_cmds old_postuninstall_cmds \
   16491     compiler_F77 \
   16492     CC_F77 \
   16493     LD_F77 \
   16494     lt_prog_compiler_wl_F77 \
   16495     lt_prog_compiler_pic_F77 \
   16496     lt_prog_compiler_static_F77 \
   16497     lt_prog_compiler_no_builtin_flag_F77 \
   16498     export_dynamic_flag_spec_F77 \
   16499     thread_safe_flag_spec_F77 \
   16500     whole_archive_flag_spec_F77 \
   16501     enable_shared_with_static_runtimes_F77 \
   16502     old_archive_cmds_F77 \
   16503     old_archive_from_new_cmds_F77 \
   16504     predep_objects_F77 \
   16505     postdep_objects_F77 \
   16506     predeps_F77 \
   16507     postdeps_F77 \
   16508     compiler_lib_search_path_F77 \
   16509     compiler_lib_search_dirs_F77 \
   16510     archive_cmds_F77 \
   16511     archive_expsym_cmds_F77 \
   16512     postinstall_cmds_F77 \
   16513     postuninstall_cmds_F77 \
   16514     old_archive_from_expsyms_cmds_F77 \
   16515     allow_undefined_flag_F77 \
   16516     no_undefined_flag_F77 \
   16517     export_symbols_cmds_F77 \
   16518     hardcode_libdir_flag_spec_F77 \
   16519     hardcode_libdir_flag_spec_ld_F77 \
   16520     hardcode_libdir_separator_F77 \
   16521     hardcode_automatic_F77 \
   16522     module_cmds_F77 \
   16523     module_expsym_cmds_F77 \
   16524     lt_cv_prog_compiler_c_o_F77 \
   16525     fix_srcfile_path_F77 \
   16526     exclude_expsyms_F77 \
   16527     include_expsyms_F77; do
   16528 
   16529     case $var in
   16530     old_archive_cmds_F77 | \
   16531     old_archive_from_new_cmds_F77 | \
   16532     archive_cmds_F77 | \
   16533     archive_expsym_cmds_F77 | \
   16534     module_cmds_F77 | \
   16535     module_expsym_cmds_F77 | \
   16536     old_archive_from_expsyms_cmds_F77 | \
   16537     export_symbols_cmds_F77 | \
   16538     extract_expsyms_cmds | reload_cmds | finish_cmds | \
   16539     postinstall_cmds | postuninstall_cmds | \
   16540     old_postinstall_cmds | old_postuninstall_cmds | \
   16541     sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
   16542       # Double-quote double-evaled strings.
   16543       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
   16544       ;;
   16545     *)
   16546       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
   16547       ;;
   16548     esac
   16549   done
   16550 
   16551   case $lt_echo in
   16552   *'\$0 --fallback-echo"')
   16553     lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
   16554     ;;
   16555   esac
   16556 
   16557 cfgfile="$ofile"
   16558 
   16559   cat <<__EOF__ >> "$cfgfile"
   16560 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
   16561 
   16562 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   16563 
   16564 # Shell to use when invoking shell scripts.
   16565 SHELL=$lt_SHELL
   16566 
   16567 # Whether or not to build shared libraries.
   16568 build_libtool_libs=$enable_shared
   16569 
   16570 # Whether or not to build static libraries.
   16571 build_old_libs=$enable_static
   16572 
   16573 # Whether or not to add -lc for building shared libraries.
   16574 build_libtool_need_lc=$archive_cmds_need_lc_F77
   16575 
   16576 # Whether or not to disallow shared libs when runtime libs are static
   16577 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
   16578 
   16579 # Whether or not to optimize for fast installation.
   16580 fast_install=$enable_fast_install
   16581 
   16582 # The host system.
   16583 host_alias=$host_alias
   16584 host=$host
   16585 host_os=$host_os
   16586 
   16587 # The build system.
   16588 build_alias=$build_alias
   16589 build=$build
   16590 build_os=$build_os
   16591 
   16592 # An echo program that does not interpret backslashes.
   16593 echo=$lt_echo
   16594 
   16595 # The archiver.
   16596 AR=$lt_AR
   16597 AR_FLAGS=$lt_AR_FLAGS
   16598 
   16599 # A C compiler.
   16600 LTCC=$lt_LTCC
   16601 
   16602 # LTCC compiler flags.
   16603 LTCFLAGS=$lt_LTCFLAGS
   16604 
   16605 # A language-specific compiler.
   16606 CC=$lt_compiler_F77
   16607 
   16608 # Is the compiler the GNU C compiler?
   16609 with_gcc=$GCC_F77
   16610 
   16611 # An ERE matcher.
   16612 EGREP=$lt_EGREP
   16613 
   16614 # The linker used to build libraries.
   16615 LD=$lt_LD_F77
   16616 
   16617 # Whether we need hard or soft links.
   16618 LN_S=$lt_LN_S
   16619 
   16620 # A BSD-compatible nm program.
   16621 NM=$lt_NM
   16622 
   16623 # A symbol stripping program
   16624 STRIP=$lt_STRIP
   16625 
   16626 # Used to examine libraries when file_magic_cmd begins "file"
   16627 MAGIC_CMD=$MAGIC_CMD
   16628 
   16629 # Used on cygwin: DLL creation program.
   16630 DLLTOOL="$DLLTOOL"
   16631 
   16632 # Used on cygwin: object dumper.
   16633 OBJDUMP="$OBJDUMP"
   16634 
   16635 # Used on cygwin: assembler.
   16636 AS="$AS"
   16637 
   16638 # The name of the directory that contains temporary libtool files.
   16639 objdir=$objdir
   16640 
   16641 # How to create reloadable object files.
   16642 reload_flag=$lt_reload_flag
   16643 reload_cmds=$lt_reload_cmds
   16644 
   16645 # How to pass a linker flag through the compiler.
   16646 wl=$lt_lt_prog_compiler_wl_F77
   16647 
   16648 # Object file suffix (normally "o").
   16649 objext="$ac_objext"
   16650 
   16651 # Old archive suffix (normally "a").
   16652 libext="$libext"
   16653 
   16654 # Shared library suffix (normally ".so").
   16655 shrext_cmds='$shrext_cmds'
   16656 
   16657 # Executable file suffix (normally "").
   16658 exeext="$exeext"
   16659 
   16660 # Additional compiler flags for building library objects.
   16661 pic_flag=$lt_lt_prog_compiler_pic_F77
   16662 pic_mode=$pic_mode
   16663 
   16664 # What is the maximum length of a command?
   16665 max_cmd_len=$lt_cv_sys_max_cmd_len
   16666 
   16667 # Does compiler simultaneously support -c and -o options?
   16668 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
   16669 
   16670 # Must we lock files when doing compilation?
   16671 need_locks=$lt_need_locks
   16672 
   16673 # Do we need the lib prefix for modules?
   16674 need_lib_prefix=$need_lib_prefix
   16675 
   16676 # Do we need a version for libraries?
   16677 need_version=$need_version
   16678 
   16679 # Whether dlopen is supported.
   16680 dlopen_support=$enable_dlopen
   16681 
   16682 # Whether dlopen of programs is supported.
   16683 dlopen_self=$enable_dlopen_self
   16684 
   16685 # Whether dlopen of statically linked programs is supported.
   16686 dlopen_self_static=$enable_dlopen_self_static
   16687 
   16688 # Compiler flag to prevent dynamic linking.
   16689 link_static_flag=$lt_lt_prog_compiler_static_F77
   16690 
   16691 # Compiler flag to turn off builtin functions.
   16692 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
   16693 
   16694 # Compiler flag to allow reflexive dlopens.
   16695 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
   16696 
   16697 # Compiler flag to generate shared objects directly from archives.
   16698 whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
   16699 
   16700 # Compiler flag to generate thread-safe objects.
   16701 thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
   16702 
   16703 # Library versioning type.
   16704 version_type=$version_type
   16705 
   16706 # Format of library name prefix.
   16707 libname_spec=$lt_libname_spec
   16708 
   16709 # List of archive names.  First name is the real one, the rest are links.
   16710 # The last name is the one that the linker finds with -lNAME.
   16711 library_names_spec=$lt_library_names_spec
   16712 
   16713 # The coded name of the library, if different from the real name.
   16714 soname_spec=$lt_soname_spec
   16715 
   16716 # Commands used to build and install an old-style archive.
   16717 RANLIB=$lt_RANLIB
   16718 old_archive_cmds=$lt_old_archive_cmds_F77
   16719 old_postinstall_cmds=$lt_old_postinstall_cmds
   16720 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   16721 
   16722 # Create an old-style archive from a shared archive.
   16723 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
   16724 
   16725 # Create a temporary old-style archive to link instead of a shared archive.
   16726 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
   16727 
   16728 # Commands used to build and install a shared archive.
   16729 archive_cmds=$lt_archive_cmds_F77
   16730 archive_expsym_cmds=$lt_archive_expsym_cmds_F77
   16731 postinstall_cmds=$lt_postinstall_cmds
   16732 postuninstall_cmds=$lt_postuninstall_cmds
   16733 
   16734 # Commands used to build a loadable module (assumed same as above if empty)
   16735 module_cmds=$lt_module_cmds_F77
   16736 module_expsym_cmds=$lt_module_expsym_cmds_F77
   16737 
   16738 # Commands to strip libraries.
   16739 old_striplib=$lt_old_striplib
   16740 striplib=$lt_striplib
   16741 
   16742 # Dependencies to place before the objects being linked to create a
   16743 # shared library.
   16744 predep_objects=$lt_predep_objects_F77
   16745 
   16746 # Dependencies to place after the objects being linked to create a
   16747 # shared library.
   16748 postdep_objects=$lt_postdep_objects_F77
   16749 
   16750 # Dependencies to place before the objects being linked to create a
   16751 # shared library.
   16752 predeps=$lt_predeps_F77
   16753 
   16754 # Dependencies to place after the objects being linked to create a
   16755 # shared library.
   16756 postdeps=$lt_postdeps_F77
   16757 
   16758 # The directories searched by this compiler when creating a shared
   16759 # library
   16760 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_F77
   16761 
   16762 # The library search path used internally by the compiler when linking
   16763 # a shared library.
   16764 compiler_lib_search_path=$lt_compiler_lib_search_path_F77
   16765 
   16766 # Method to check whether dependent libraries are shared objects.
   16767 deplibs_check_method=$lt_deplibs_check_method
   16768 
   16769 # Command to use when deplibs_check_method == file_magic.
   16770 file_magic_cmd=$lt_file_magic_cmd
   16771 
   16772 # Flag that allows shared libraries with undefined symbols to be built.
   16773 allow_undefined_flag=$lt_allow_undefined_flag_F77
   16774 
   16775 # Flag that forces no undefined symbols.
   16776 no_undefined_flag=$lt_no_undefined_flag_F77
   16777 
   16778 # Commands used to finish a libtool library installation in a directory.
   16779 finish_cmds=$lt_finish_cmds
   16780 
   16781 # Same as above, but a single script fragment to be evaled but not shown.
   16782 finish_eval=$lt_finish_eval
   16783 
   16784 # Take the output of nm and produce a listing of raw symbols and C names.
   16785 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   16786 
   16787 # Transform the output of nm in a proper C declaration
   16788 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   16789 
   16790 # Transform the output of nm in a C name address pair
   16791 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   16792 
   16793 # This is the shared library runtime path variable.
   16794 runpath_var=$runpath_var
   16795 
   16796 # This is the shared library path variable.
   16797 shlibpath_var=$shlibpath_var
   16798 
   16799 # Is shlibpath searched before the hard-coded library search path?
   16800 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   16801 
   16802 # How to hardcode a shared library path into an executable.
   16803 hardcode_action=$hardcode_action_F77
   16804 
   16805 # Whether we should hardcode library paths into libraries.
   16806 hardcode_into_libs=$hardcode_into_libs
   16807 
   16808 # Flag to hardcode \$libdir into a binary during linking.
   16809 # This must work even if \$libdir does not exist.
   16810 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
   16811 
   16812 # If ld is used when linking, flag to hardcode \$libdir into
   16813 # a binary during linking. This must work even if \$libdir does
   16814 # not exist.
   16815 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
   16816 
   16817 # Whether we need a single -rpath flag with a separated argument.
   16818 hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
   16819 
   16820 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
   16821 # resulting binary.
   16822 hardcode_direct=$hardcode_direct_F77
   16823 
   16824 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
   16825 # resulting binary.
   16826 hardcode_minus_L=$hardcode_minus_L_F77
   16827 
   16828 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
   16829 # the resulting binary.
   16830 hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
   16831 
   16832 # Set to yes if building a shared library automatically hardcodes DIR into the library
   16833 # and all subsequent libraries and executables linked against it.
   16834 hardcode_automatic=$hardcode_automatic_F77
   16835 
   16836 # Variables whose values should be saved in libtool wrapper scripts and
   16837 # restored at relink time.
   16838 variables_saved_for_relink="$variables_saved_for_relink"
   16839 
   16840 # Whether libtool must link a program against all its dependency libraries.
   16841 link_all_deplibs=$link_all_deplibs_F77
   16842 
   16843 # Compile-time system search path for libraries
   16844 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   16845 
   16846 # Run-time system search path for libraries
   16847 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   16848 
   16849 # Fix the shell variable \$srcfile for the compiler.
   16850 fix_srcfile_path=$lt_fix_srcfile_path
   16851 
   16852 # Set to yes if exported symbols are required.
   16853 always_export_symbols=$always_export_symbols_F77
   16854 
   16855 # The commands to list exported symbols.
   16856 export_symbols_cmds=$lt_export_symbols_cmds_F77
   16857 
   16858 # The commands to extract the exported symbol list from a shared archive.
   16859 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   16860 
   16861 # Symbols that should not be listed in the preloaded symbols.
   16862 exclude_expsyms=$lt_exclude_expsyms_F77
   16863 
   16864 # Symbols that must always be exported.
   16865 include_expsyms=$lt_include_expsyms_F77
   16866 
   16867 # ### END LIBTOOL TAG CONFIG: $tagname
   16868 
   16869 __EOF__
   16870 
   16871 
   16872 else
   16873   # If there is no Makefile yet, we rely on a make rule to execute
   16874   # `config.status --recheck' to rerun these tests and create the
   16875   # libtool script then.
   16876   ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
   16877   if test -f "$ltmain_in"; then
   16878     test -f Makefile && make "$ltmain"
   16879   fi
   16880 fi
   16881 
   16882 
   16883 ac_ext=c
   16884 ac_cpp='$CPP $CPPFLAGS'
   16885 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   16886 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   16887 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   16888 
   16889 CC="$lt_save_CC"
   16890 
   16891 	else
   16892 	  tagname=""
   16893 	fi
   16894 	;;
   16895 
   16896       GCJ)
   16897 	if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
   16898 
   16899 
   16900 # Source file extension for Java test sources.
   16901 ac_ext=java
   16902 
   16903 # Object file extension for compiled Java test sources.
   16904 objext=o
   16905 objext_GCJ=$objext
   16906 
   16907 # Code to be used in simple compile tests
   16908 lt_simple_compile_test_code="class foo {}"
   16909 
   16910 # Code to be used in simple link tests
   16911 lt_simple_link_test_code='public class conftest { public static void main(String[] argv) {}; }'
   16912 
   16913 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
   16914 
   16915 # If no C compiler was specified, use CC.
   16916 LTCC=${LTCC-"$CC"}
   16917 
   16918 # If no C compiler flags were specified, use CFLAGS.
   16919 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   16920 
   16921 # Allow CC to be a program name with arguments.
   16922 compiler=$CC
   16923 
   16924 
   16925 # save warnings/boilerplate of simple test code
   16926 ac_outfile=conftest.$ac_objext
   16927 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   16928 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   16929 _lt_compiler_boilerplate=`cat conftest.err`
   16930 $rm conftest*
   16931 
   16932 ac_outfile=conftest.$ac_objext
   16933 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   16934 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   16935 _lt_linker_boilerplate=`cat conftest.err`
   16936 $rm -r conftest*
   16937 
   16938 
   16939 # Allow CC to be a program name with arguments.
   16940 lt_save_CC="$CC"
   16941 CC=${GCJ-"gcj"}
   16942 compiler=$CC
   16943 compiler_GCJ=$CC
   16944 for cc_temp in $compiler""; do
   16945   case $cc_temp in
   16946     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   16947     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   16948     \-*) ;;
   16949     *) break;;
   16950   esac
   16951 done
   16952 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   16953 
   16954 
   16955 # GCJ did not exist at the time GCC didn't implicitly link libc in.
   16956 archive_cmds_need_lc_GCJ=no
   16957 
   16958 old_archive_cmds_GCJ=$old_archive_cmds
   16959 
   16960 
   16961 lt_prog_compiler_no_builtin_flag_GCJ=
   16962 
   16963 if test "$GCC" = yes; then
   16964   lt_prog_compiler_no_builtin_flag_GCJ=' -fno-builtin'
   16965 
   16966 
   16967 { $as_echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
   16968 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
   16969 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
   16970   $as_echo_n "(cached) " >&6
   16971 else
   16972   lt_cv_prog_compiler_rtti_exceptions=no
   16973   ac_outfile=conftest.$ac_objext
   16974    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   16975    lt_compiler_flag="-fno-rtti -fno-exceptions"
   16976    # Insert the option either (1) after the last *FLAGS variable, or
   16977    # (2) before a word containing "conftest.", or (3) at the end.
   16978    # Note that $ac_compile itself does not contain backslashes and begins
   16979    # with a dollar sign (not a hyphen), so the echo should work correctly.
   16980    # The option is referenced via a variable to avoid confusing sed.
   16981    lt_compile=`echo "$ac_compile" | $SED \
   16982    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   16983    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   16984    -e 's:$: $lt_compiler_flag:'`
   16985    (eval echo "\"\$as_me:16985: $lt_compile\"" >&5)
   16986    (eval "$lt_compile" 2>conftest.err)
   16987    ac_status=$?
   16988    cat conftest.err >&5
   16989    echo "$as_me:16989: \$? = $ac_status" >&5
   16990    if (exit $ac_status) && test -s "$ac_outfile"; then
   16991      # The compiler can only warn and ignore the option if not recognized
   16992      # So say no if there are warnings other than the usual output.
   16993      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   16994      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   16995      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   16996        lt_cv_prog_compiler_rtti_exceptions=yes
   16997      fi
   16998    fi
   16999    $rm conftest*
   17000 
   17001 fi
   17002 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
   17003 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
   17004 
   17005 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
   17006     lt_prog_compiler_no_builtin_flag_GCJ="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
   17007 else
   17008     :
   17009 fi
   17010 
   17011 fi
   17012 
   17013 lt_prog_compiler_wl_GCJ=
   17014 lt_prog_compiler_pic_GCJ=
   17015 lt_prog_compiler_static_GCJ=
   17016 
   17017 { $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
   17018 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
   17019 
   17020   if test "$GCC" = yes; then
   17021     lt_prog_compiler_wl_GCJ='-Wl,'
   17022     lt_prog_compiler_static_GCJ='-static'
   17023 
   17024     case $host_os in
   17025       aix*)
   17026       # All AIX code is PIC.
   17027       if test "$host_cpu" = ia64; then
   17028 	# AIX 5 now supports IA64 processor
   17029 	lt_prog_compiler_static_GCJ='-Bstatic'
   17030       fi
   17031       ;;
   17032 
   17033     amigaos*)
   17034       # FIXME: we need at least 68020 code to build shared libraries, but
   17035       # adding the `-m68020' flag to GCC prevents building anything better,
   17036       # like `-m68040'.
   17037       lt_prog_compiler_pic_GCJ='-m68020 -resident32 -malways-restore-a4'
   17038       ;;
   17039 
   17040     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   17041       # PIC is the default for these OSes.
   17042       ;;
   17043 
   17044     mingw* | cygwin* | pw32* | os2*)
   17045       # This hack is so that the source file can tell whether it is being
   17046       # built for inclusion in a dll (and should export symbols for example).
   17047       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   17048       # (--disable-auto-import) libraries
   17049 
   17050       ;;
   17051 
   17052     darwin* | rhapsody*)
   17053       # PIC is the default on this platform
   17054       # Common symbols not allowed in MH_DYLIB files
   17055       lt_prog_compiler_pic_GCJ='-fno-common'
   17056       ;;
   17057 
   17058     interix[3-9]*)
   17059       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   17060       # Instead, we relocate shared libraries at runtime.
   17061       ;;
   17062 
   17063     msdosdjgpp*)
   17064       # Just because we use GCC doesn't mean we suddenly get shared libraries
   17065       # on systems that don't support them.
   17066       lt_prog_compiler_can_build_shared_GCJ=no
   17067       enable_shared=no
   17068       ;;
   17069 
   17070     sysv4*MP*)
   17071       if test -d /usr/nec; then
   17072 	lt_prog_compiler_pic_GCJ=-Kconform_pic
   17073       fi
   17074       ;;
   17075 
   17076     hpux*)
   17077       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   17078       # not for PA HP-UX.
   17079       case $host_cpu in
   17080       hppa*64*|ia64*)
   17081 	# +Z the default
   17082 	;;
   17083       *)
   17084 	lt_prog_compiler_pic_GCJ='-fPIC'
   17085 	;;
   17086       esac
   17087       ;;
   17088 
   17089     *)
   17090       lt_prog_compiler_pic_GCJ='-fPIC'
   17091       ;;
   17092     esac
   17093   else
   17094     # PORTME Check for flag to pass linker flags through the system compiler.
   17095     case $host_os in
   17096     aix*)
   17097       lt_prog_compiler_wl_GCJ='-Wl,'
   17098       if test "$host_cpu" = ia64; then
   17099 	# AIX 5 now supports IA64 processor
   17100 	lt_prog_compiler_static_GCJ='-Bstatic'
   17101       else
   17102 	lt_prog_compiler_static_GCJ='-bnso -bI:/lib/syscalls.exp'
   17103       fi
   17104       ;;
   17105       darwin*)
   17106         # PIC is the default on this platform
   17107         # Common symbols not allowed in MH_DYLIB files
   17108        case $cc_basename in
   17109          xlc*)
   17110          lt_prog_compiler_pic_GCJ='-qnocommon'
   17111          lt_prog_compiler_wl_GCJ='-Wl,'
   17112          ;;
   17113        esac
   17114        ;;
   17115 
   17116     mingw* | cygwin* | pw32* | os2*)
   17117       # This hack is so that the source file can tell whether it is being
   17118       # built for inclusion in a dll (and should export symbols for example).
   17119 
   17120       ;;
   17121 
   17122     hpux9* | hpux10* | hpux11*)
   17123       lt_prog_compiler_wl_GCJ='-Wl,'
   17124       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   17125       # not for PA HP-UX.
   17126       case $host_cpu in
   17127       hppa*64*|ia64*)
   17128 	# +Z the default
   17129 	;;
   17130       *)
   17131 	lt_prog_compiler_pic_GCJ='+Z'
   17132 	;;
   17133       esac
   17134       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   17135       lt_prog_compiler_static_GCJ='${wl}-a ${wl}archive'
   17136       ;;
   17137 
   17138     irix5* | irix6* | nonstopux*)
   17139       lt_prog_compiler_wl_GCJ='-Wl,'
   17140       # PIC (with -KPIC) is the default.
   17141       lt_prog_compiler_static_GCJ='-non_shared'
   17142       ;;
   17143 
   17144     newsos6)
   17145       lt_prog_compiler_pic_GCJ='-KPIC'
   17146       lt_prog_compiler_static_GCJ='-Bstatic'
   17147       ;;
   17148 
   17149     linux* | k*bsd*-gnu)
   17150       case $cc_basename in
   17151       icc* | ecc*)
   17152 	lt_prog_compiler_wl_GCJ='-Wl,'
   17153 	lt_prog_compiler_pic_GCJ='-KPIC'
   17154 	lt_prog_compiler_static_GCJ='-static'
   17155         ;;
   17156       pgcc* | pgf77* | pgf90* | pgf95*)
   17157         # Portland Group compilers (*not* the Pentium gcc compiler,
   17158 	# which looks to be a dead project)
   17159 	lt_prog_compiler_wl_GCJ='-Wl,'
   17160 	lt_prog_compiler_pic_GCJ='-fpic'
   17161 	lt_prog_compiler_static_GCJ='-Bstatic'
   17162         ;;
   17163       ccc*)
   17164         lt_prog_compiler_wl_GCJ='-Wl,'
   17165         # All Alpha code is PIC.
   17166         lt_prog_compiler_static_GCJ='-non_shared'
   17167         ;;
   17168       *)
   17169         case `$CC -V 2>&1 | sed 5q` in
   17170 	*Sun\ C*)
   17171 	  # Sun C 5.9
   17172 	  lt_prog_compiler_pic_GCJ='-KPIC'
   17173 	  lt_prog_compiler_static_GCJ='-Bstatic'
   17174 	  lt_prog_compiler_wl_GCJ='-Wl,'
   17175 	  ;;
   17176 	*Sun\ F*)
   17177 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   17178 	  lt_prog_compiler_pic_GCJ='-KPIC'
   17179 	  lt_prog_compiler_static_GCJ='-Bstatic'
   17180 	  lt_prog_compiler_wl_GCJ=''
   17181 	  ;;
   17182 	esac
   17183 	;;
   17184       esac
   17185       ;;
   17186 
   17187     osf3* | osf4* | osf5*)
   17188       lt_prog_compiler_wl_GCJ='-Wl,'
   17189       # All OSF/1 code is PIC.
   17190       lt_prog_compiler_static_GCJ='-non_shared'
   17191       ;;
   17192 
   17193     rdos*)
   17194       lt_prog_compiler_static_GCJ='-non_shared'
   17195       ;;
   17196 
   17197     solaris*)
   17198       lt_prog_compiler_pic_GCJ='-KPIC'
   17199       lt_prog_compiler_static_GCJ='-Bstatic'
   17200       case $cc_basename in
   17201       f77* | f90* | f95*)
   17202 	lt_prog_compiler_wl_GCJ='-Qoption ld ';;
   17203       *)
   17204 	lt_prog_compiler_wl_GCJ='-Wl,';;
   17205       esac
   17206       ;;
   17207 
   17208     sunos4*)
   17209       lt_prog_compiler_wl_GCJ='-Qoption ld '
   17210       lt_prog_compiler_pic_GCJ='-PIC'
   17211       lt_prog_compiler_static_GCJ='-Bstatic'
   17212       ;;
   17213 
   17214     sysv4 | sysv4.2uw2* | sysv4.3*)
   17215       lt_prog_compiler_wl_GCJ='-Wl,'
   17216       lt_prog_compiler_pic_GCJ='-KPIC'
   17217       lt_prog_compiler_static_GCJ='-Bstatic'
   17218       ;;
   17219 
   17220     sysv4*MP*)
   17221       if test -d /usr/nec ;then
   17222 	lt_prog_compiler_pic_GCJ='-Kconform_pic'
   17223 	lt_prog_compiler_static_GCJ='-Bstatic'
   17224       fi
   17225       ;;
   17226 
   17227     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   17228       lt_prog_compiler_wl_GCJ='-Wl,'
   17229       lt_prog_compiler_pic_GCJ='-KPIC'
   17230       lt_prog_compiler_static_GCJ='-Bstatic'
   17231       ;;
   17232 
   17233     unicos*)
   17234       lt_prog_compiler_wl_GCJ='-Wl,'
   17235       lt_prog_compiler_can_build_shared_GCJ=no
   17236       ;;
   17237 
   17238     uts4*)
   17239       lt_prog_compiler_pic_GCJ='-pic'
   17240       lt_prog_compiler_static_GCJ='-Bstatic'
   17241       ;;
   17242 
   17243     *)
   17244       lt_prog_compiler_can_build_shared_GCJ=no
   17245       ;;
   17246     esac
   17247   fi
   17248 
   17249 { $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
   17250 $as_echo "$lt_prog_compiler_pic_GCJ" >&6; }
   17251 
   17252 #
   17253 # Check to make sure the PIC flag actually works.
   17254 #
   17255 if test -n "$lt_prog_compiler_pic_GCJ"; then
   17256 
   17257 { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
   17258 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... " >&6; }
   17259 if test "${lt_cv_prog_compiler_pic_works_GCJ+set}" = set; then
   17260   $as_echo_n "(cached) " >&6
   17261 else
   17262   lt_cv_prog_compiler_pic_works_GCJ=no
   17263   ac_outfile=conftest.$ac_objext
   17264    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   17265    lt_compiler_flag="$lt_prog_compiler_pic_GCJ"
   17266    # Insert the option either (1) after the last *FLAGS variable, or
   17267    # (2) before a word containing "conftest.", or (3) at the end.
   17268    # Note that $ac_compile itself does not contain backslashes and begins
   17269    # with a dollar sign (not a hyphen), so the echo should work correctly.
   17270    # The option is referenced via a variable to avoid confusing sed.
   17271    lt_compile=`echo "$ac_compile" | $SED \
   17272    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   17273    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   17274    -e 's:$: $lt_compiler_flag:'`
   17275    (eval echo "\"\$as_me:17275: $lt_compile\"" >&5)
   17276    (eval "$lt_compile" 2>conftest.err)
   17277    ac_status=$?
   17278    cat conftest.err >&5
   17279    echo "$as_me:17279: \$? = $ac_status" >&5
   17280    if (exit $ac_status) && test -s "$ac_outfile"; then
   17281      # The compiler can only warn and ignore the option if not recognized
   17282      # So say no if there are warnings other than the usual output.
   17283      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   17284      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   17285      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   17286        lt_cv_prog_compiler_pic_works_GCJ=yes
   17287      fi
   17288    fi
   17289    $rm conftest*
   17290 
   17291 fi
   17292 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_GCJ" >&5
   17293 $as_echo "$lt_cv_prog_compiler_pic_works_GCJ" >&6; }
   17294 
   17295 if test x"$lt_cv_prog_compiler_pic_works_GCJ" = xyes; then
   17296     case $lt_prog_compiler_pic_GCJ in
   17297      "" | " "*) ;;
   17298      *) lt_prog_compiler_pic_GCJ=" $lt_prog_compiler_pic_GCJ" ;;
   17299      esac
   17300 else
   17301     lt_prog_compiler_pic_GCJ=
   17302      lt_prog_compiler_can_build_shared_GCJ=no
   17303 fi
   17304 
   17305 fi
   17306 case $host_os in
   17307   # For platforms which do not support PIC, -DPIC is meaningless:
   17308   *djgpp*)
   17309     lt_prog_compiler_pic_GCJ=
   17310     ;;
   17311   *)
   17312     lt_prog_compiler_pic_GCJ="$lt_prog_compiler_pic_GCJ"
   17313     ;;
   17314 esac
   17315 
   17316 #
   17317 # Check to make sure the static flag actually works.
   17318 #
   17319 wl=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag=\"$lt_prog_compiler_static_GCJ\"
   17320 { $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   17321 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   17322 if test "${lt_cv_prog_compiler_static_works_GCJ+set}" = set; then
   17323   $as_echo_n "(cached) " >&6
   17324 else
   17325   lt_cv_prog_compiler_static_works_GCJ=no
   17326    save_LDFLAGS="$LDFLAGS"
   17327    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   17328    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   17329    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   17330      # The linker can only warn and ignore the option if not recognized
   17331      # So say no if there are warnings
   17332      if test -s conftest.err; then
   17333        # Append any errors to the config.log.
   17334        cat conftest.err 1>&5
   17335        $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
   17336        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   17337        if diff conftest.exp conftest.er2 >/dev/null; then
   17338          lt_cv_prog_compiler_static_works_GCJ=yes
   17339        fi
   17340      else
   17341        lt_cv_prog_compiler_static_works_GCJ=yes
   17342      fi
   17343    fi
   17344    $rm -r conftest*
   17345    LDFLAGS="$save_LDFLAGS"
   17346 
   17347 fi
   17348 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_GCJ" >&5
   17349 $as_echo "$lt_cv_prog_compiler_static_works_GCJ" >&6; }
   17350 
   17351 if test x"$lt_cv_prog_compiler_static_works_GCJ" = xyes; then
   17352     :
   17353 else
   17354     lt_prog_compiler_static_GCJ=
   17355 fi
   17356 
   17357 
   17358 { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
   17359 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   17360 if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
   17361   $as_echo_n "(cached) " >&6
   17362 else
   17363   lt_cv_prog_compiler_c_o_GCJ=no
   17364    $rm -r conftest 2>/dev/null
   17365    mkdir conftest
   17366    cd conftest
   17367    mkdir out
   17368    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   17369 
   17370    lt_compiler_flag="-o out/conftest2.$ac_objext"
   17371    # Insert the option either (1) after the last *FLAGS variable, or
   17372    # (2) before a word containing "conftest.", or (3) at the end.
   17373    # Note that $ac_compile itself does not contain backslashes and begins
   17374    # with a dollar sign (not a hyphen), so the echo should work correctly.
   17375    lt_compile=`echo "$ac_compile" | $SED \
   17376    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   17377    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   17378    -e 's:$: $lt_compiler_flag:'`
   17379    (eval echo "\"\$as_me:17379: $lt_compile\"" >&5)
   17380    (eval "$lt_compile" 2>out/conftest.err)
   17381    ac_status=$?
   17382    cat out/conftest.err >&5
   17383    echo "$as_me:17383: \$? = $ac_status" >&5
   17384    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   17385    then
   17386      # The compiler can only warn and ignore the option if not recognized
   17387      # So say no if there are warnings
   17388      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
   17389      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   17390      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   17391        lt_cv_prog_compiler_c_o_GCJ=yes
   17392      fi
   17393    fi
   17394    chmod u+w . 2>&5
   17395    $rm conftest*
   17396    # SGI C++ compiler will create directory out/ii_files/ for
   17397    # template instantiation
   17398    test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
   17399    $rm out/* && rmdir out
   17400    cd ..
   17401    rmdir conftest
   17402    $rm conftest*
   17403 
   17404 fi
   17405 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
   17406 $as_echo "$lt_cv_prog_compiler_c_o_GCJ" >&6; }
   17407 
   17408 
   17409 hard_links="nottested"
   17410 if test "$lt_cv_prog_compiler_c_o_GCJ" = no && test "$need_locks" != no; then
   17411   # do not overwrite the value of need_locks provided by the user
   17412   { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
   17413 $as_echo_n "checking if we can lock with hard links... " >&6; }
   17414   hard_links=yes
   17415   $rm conftest*
   17416   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   17417   touch conftest.a
   17418   ln conftest.a conftest.b 2>&5 || hard_links=no
   17419   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   17420   { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
   17421 $as_echo "$hard_links" >&6; }
   17422   if test "$hard_links" = no; then
   17423     { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   17424 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   17425     need_locks=warn
   17426   fi
   17427 else
   17428   need_locks=no
   17429 fi
   17430 
   17431 { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   17432 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   17433 
   17434   runpath_var=
   17435   allow_undefined_flag_GCJ=
   17436   enable_shared_with_static_runtimes_GCJ=no
   17437   archive_cmds_GCJ=
   17438   archive_expsym_cmds_GCJ=
   17439   old_archive_From_new_cmds_GCJ=
   17440   old_archive_from_expsyms_cmds_GCJ=
   17441   export_dynamic_flag_spec_GCJ=
   17442   whole_archive_flag_spec_GCJ=
   17443   thread_safe_flag_spec_GCJ=
   17444   hardcode_libdir_flag_spec_GCJ=
   17445   hardcode_libdir_flag_spec_ld_GCJ=
   17446   hardcode_libdir_separator_GCJ=
   17447   hardcode_direct_GCJ=no
   17448   hardcode_minus_L_GCJ=no
   17449   hardcode_shlibpath_var_GCJ=unsupported
   17450   link_all_deplibs_GCJ=unknown
   17451   hardcode_automatic_GCJ=no
   17452   module_cmds_GCJ=
   17453   module_expsym_cmds_GCJ=
   17454   always_export_symbols_GCJ=no
   17455   export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   17456   # include_expsyms should be a list of space-separated symbols to be *always*
   17457   # included in the symbol list
   17458   include_expsyms_GCJ=
   17459   # exclude_expsyms can be an extended regexp of symbols to exclude
   17460   # it will be wrapped by ` (' and `)$', so one must not match beginning or
   17461   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
   17462   # as well as any symbol that contains `d'.
   17463   exclude_expsyms_GCJ='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   17464   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   17465   # platforms (ab)use it in PIC code, but their linkers get confused if
   17466   # the symbol is explicitly referenced.  Since portable code cannot
   17467   # rely on this symbol name, it's probably fine to never include it in
   17468   # preloaded symbol tables.
   17469   # Exclude shared library initialization/finalization symbols.
   17470   extract_expsyms_cmds=
   17471   # Just being paranoid about ensuring that cc_basename is set.
   17472   for cc_temp in $compiler""; do
   17473   case $cc_temp in
   17474     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   17475     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   17476     \-*) ;;
   17477     *) break;;
   17478   esac
   17479 done
   17480 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   17481 
   17482   case $host_os in
   17483   cygwin* | mingw* | pw32*)
   17484     # FIXME: the MSVC++ port hasn't been tested in a loooong time
   17485     # When not using gcc, we currently assume that we are using
   17486     # Microsoft Visual C++.
   17487     if test "$GCC" != yes; then
   17488       with_gnu_ld=no
   17489     fi
   17490     ;;
   17491   interix*)
   17492     # we just hope/assume this is gcc and not c89 (= MSVC++)
   17493     with_gnu_ld=yes
   17494     ;;
   17495   openbsd*)
   17496     with_gnu_ld=no
   17497     ;;
   17498   esac
   17499 
   17500   ld_shlibs_GCJ=yes
   17501   if test "$with_gnu_ld" = yes; then
   17502     # If archive_cmds runs LD, not CC, wlarc should be empty
   17503     wlarc='${wl}'
   17504 
   17505     # Set some defaults for GNU ld with shared library support. These
   17506     # are reset later if shared libraries are not supported. Putting them
   17507     # here allows them to be overridden if necessary.
   17508     runpath_var=LD_RUN_PATH
   17509     hardcode_libdir_flag_spec_GCJ='${wl}--rpath ${wl}$libdir'
   17510     export_dynamic_flag_spec_GCJ='${wl}--export-dynamic'
   17511     # ancient GNU ld didn't support --whole-archive et. al.
   17512     if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
   17513 	whole_archive_flag_spec_GCJ="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   17514       else
   17515   	whole_archive_flag_spec_GCJ=
   17516     fi
   17517     supports_anon_versioning=no
   17518     case `$LD -v 2>/dev/null` in
   17519       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   17520       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   17521       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   17522       *\ 2.11.*) ;; # other 2.11 versions
   17523       *) supports_anon_versioning=yes ;;
   17524     esac
   17525 
   17526     # See if GNU ld supports shared libraries.
   17527     case $host_os in
   17528     aix[3-9]*)
   17529       # On AIX/PPC, the GNU linker is very broken
   17530       if test "$host_cpu" != ia64; then
   17531 	ld_shlibs_GCJ=no
   17532 	cat <<EOF 1>&2
   17533 
   17534 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
   17535 *** to be unable to reliably create shared libraries on AIX.
   17536 *** Therefore, libtool is disabling shared libraries support.  If you
   17537 *** really care for shared libraries, you may want to modify your PATH
   17538 *** so that a non-GNU linker is found, and then restart.
   17539 
   17540 EOF
   17541       fi
   17542       ;;
   17543 
   17544     amigaos*)
   17545       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)'
   17546       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   17547       hardcode_minus_L_GCJ=yes
   17548 
   17549       # Samuel A. Falvo II <kc5tja (at] dolphin.openprojects.net> reports
   17550       # that the semantics of dynamic libraries on AmigaOS, at least up
   17551       # to version 4, is to share data among multiple programs linked
   17552       # with the same dynamic library.  Since this doesn't match the
   17553       # behavior of shared libraries on other platforms, we can't use
   17554       # them.
   17555       ld_shlibs_GCJ=no
   17556       ;;
   17557 
   17558     beos*)
   17559       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   17560 	allow_undefined_flag_GCJ=unsupported
   17561 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   17562 	# support --undefined.  This deserves some investigation.  FIXME
   17563 	archive_cmds_GCJ='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   17564       else
   17565 	ld_shlibs_GCJ=no
   17566       fi
   17567       ;;
   17568 
   17569     cygwin* | mingw* | pw32*)
   17570       # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
   17571       # as there is no search path for DLLs.
   17572       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   17573       allow_undefined_flag_GCJ=unsupported
   17574       always_export_symbols_GCJ=no
   17575       enable_shared_with_static_runtimes_GCJ=yes
   17576       export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
   17577 
   17578       if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
   17579         archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   17580 	# If the export-symbols file already is a .def file (1st line
   17581 	# is EXPORTS), use it as is; otherwise, prepend...
   17582 	archive_expsym_cmds_GCJ='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   17583 	  cp $export_symbols $output_objdir/$soname.def;
   17584 	else
   17585 	  echo EXPORTS > $output_objdir/$soname.def;
   17586 	  cat $export_symbols >> $output_objdir/$soname.def;
   17587 	fi~
   17588 	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   17589       else
   17590 	ld_shlibs_GCJ=no
   17591       fi
   17592       ;;
   17593 
   17594     interix[3-9]*)
   17595       hardcode_direct_GCJ=no
   17596       hardcode_shlibpath_var_GCJ=no
   17597       hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
   17598       export_dynamic_flag_spec_GCJ='${wl}-E'
   17599       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   17600       # Instead, shared libraries are loaded at an image base (0x10000000 by
   17601       # default) and relocated if they conflict, which is a slow very memory
   17602       # consuming and fragmenting process.  To avoid this, we pick a random,
   17603       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   17604       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   17605       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'
   17606       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'
   17607       ;;
   17608 
   17609     gnu* | linux* | k*bsd*-gnu)
   17610       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   17611 	tmp_addflag=
   17612 	case $cc_basename,$host_cpu in
   17613 	pgcc*)				# Portland Group C compiler
   17614 	  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'
   17615 	  tmp_addflag=' $pic_flag'
   17616 	  ;;
   17617 	pgf77* | pgf90* | pgf95*)	# Portland Group f77 and f90 compilers
   17618 	  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'
   17619 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   17620 	ecc*,ia64* | icc*,ia64*)		# Intel C compiler on ia64
   17621 	  tmp_addflag=' -i_dynamic' ;;
   17622 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   17623 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   17624 	ifc* | ifort*)			# Intel Fortran compiler
   17625 	  tmp_addflag=' -nofor_main' ;;
   17626 	esac
   17627 	case `$CC -V 2>&1 | sed 5q` in
   17628 	*Sun\ C*)			# Sun C 5.9
   17629 	  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'
   17630 	  tmp_sharedflag='-G' ;;
   17631 	*Sun\ F*)			# Sun Fortran 8.3
   17632 	  tmp_sharedflag='-G' ;;
   17633 	*)
   17634 	  tmp_sharedflag='-shared' ;;
   17635 	esac
   17636 	archive_cmds_GCJ='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   17637 
   17638 	if test $supports_anon_versioning = yes; then
   17639 	  archive_expsym_cmds_GCJ='$echo "{ global:" > $output_objdir/$libname.ver~
   17640   cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   17641   $echo "local: *; };" >> $output_objdir/$libname.ver~
   17642 	  $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
   17643 	fi
   17644       else
   17645 	ld_shlibs_GCJ=no
   17646       fi
   17647       ;;
   17648 
   17649     netbsd*)
   17650       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   17651 	archive_cmds_GCJ='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   17652 	wlarc=
   17653       else
   17654 	archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   17655 	archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   17656       fi
   17657       ;;
   17658 
   17659     solaris*)
   17660       if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
   17661 	ld_shlibs_GCJ=no
   17662 	cat <<EOF 1>&2
   17663 
   17664 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   17665 *** create shared libraries on Solaris systems.  Therefore, libtool
   17666 *** is disabling shared libraries support.  We urge you to upgrade GNU
   17667 *** binutils to release 2.9.1 or newer.  Another option is to modify
   17668 *** your PATH or compiler configuration so that the native linker is
   17669 *** used, and then restart.
   17670 
   17671 EOF
   17672       elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   17673 	archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   17674 	archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   17675       else
   17676 	ld_shlibs_GCJ=no
   17677       fi
   17678       ;;
   17679 
   17680     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   17681       case `$LD -v 2>&1` in
   17682         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   17683 	ld_shlibs_GCJ=no
   17684 	cat <<_LT_EOF 1>&2
   17685 
   17686 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
   17687 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   17688 *** is disabling shared libraries support.  We urge you to upgrade GNU
   17689 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   17690 *** your PATH or compiler configuration so that the native linker is
   17691 *** used, and then restart.
   17692 
   17693 _LT_EOF
   17694 	;;
   17695 	*)
   17696 	  if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   17697 	    hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
   17698 	    archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
   17699 	    archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
   17700 	  else
   17701 	    ld_shlibs_GCJ=no
   17702 	  fi
   17703 	;;
   17704       esac
   17705       ;;
   17706 
   17707     sunos4*)
   17708       archive_cmds_GCJ='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   17709       wlarc=
   17710       hardcode_direct_GCJ=yes
   17711       hardcode_shlibpath_var_GCJ=no
   17712       ;;
   17713 
   17714     *)
   17715       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   17716 	archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   17717 	archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   17718       else
   17719 	ld_shlibs_GCJ=no
   17720       fi
   17721       ;;
   17722     esac
   17723 
   17724     if test "$ld_shlibs_GCJ" = no; then
   17725       runpath_var=
   17726       hardcode_libdir_flag_spec_GCJ=
   17727       export_dynamic_flag_spec_GCJ=
   17728       whole_archive_flag_spec_GCJ=
   17729     fi
   17730   else
   17731     # PORTME fill in a description of your system's linker (not GNU ld)
   17732     case $host_os in
   17733     aix3*)
   17734       allow_undefined_flag_GCJ=unsupported
   17735       always_export_symbols_GCJ=yes
   17736       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'
   17737       # Note: this linker hardcodes the directories in LIBPATH if there
   17738       # are no directories specified by -L.
   17739       hardcode_minus_L_GCJ=yes
   17740       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
   17741 	# Neither direct hardcoding nor static linking is supported with a
   17742 	# broken collect2.
   17743 	hardcode_direct_GCJ=unsupported
   17744       fi
   17745       ;;
   17746 
   17747     aix[4-9]*)
   17748       if test "$host_cpu" = ia64; then
   17749 	# On IA64, the linker does run time linking by default, so we don't
   17750 	# have to do anything special.
   17751 	aix_use_runtimelinking=no
   17752 	exp_sym_flag='-Bexport'
   17753 	no_entry_flag=""
   17754       else
   17755 	# If we're using GNU nm, then we don't want the "-C" option.
   17756 	# -C means demangle to AIX nm, but means don't demangle with GNU nm
   17757 	if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
   17758 	  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'
   17759 	else
   17760 	  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'
   17761 	fi
   17762 	aix_use_runtimelinking=no
   17763 
   17764 	# Test if we are trying to use run time linking or normal
   17765 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   17766 	# need to do runtime linking.
   17767 	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   17768 	  for ld_flag in $LDFLAGS; do
   17769   	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
   17770   	    aix_use_runtimelinking=yes
   17771   	    break
   17772   	  fi
   17773 	  done
   17774 	  ;;
   17775 	esac
   17776 
   17777 	exp_sym_flag='-bexport'
   17778 	no_entry_flag='-bnoentry'
   17779       fi
   17780 
   17781       # When large executables or shared objects are built, AIX ld can
   17782       # have problems creating the table of contents.  If linking a library
   17783       # or program results in "error TOC overflow" add -mminimal-toc to
   17784       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   17785       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   17786 
   17787       archive_cmds_GCJ=''
   17788       hardcode_direct_GCJ=yes
   17789       hardcode_libdir_separator_GCJ=':'
   17790       link_all_deplibs_GCJ=yes
   17791 
   17792       if test "$GCC" = yes; then
   17793 	case $host_os in aix4.[012]|aix4.[012].*)
   17794 	# We only want to do this on AIX 4.2 and lower, the check
   17795 	# below for broken collect2 doesn't work under 4.3+
   17796 	  collect2name=`${CC} -print-prog-name=collect2`
   17797 	  if test -f "$collect2name" && \
   17798   	   strings "$collect2name" | grep resolve_lib_name >/dev/null
   17799 	  then
   17800   	  # We have reworked collect2
   17801   	  :
   17802 	  else
   17803   	  # We have old collect2
   17804   	  hardcode_direct_GCJ=unsupported
   17805   	  # It fails to find uninstalled libraries when the uninstalled
   17806   	  # path is not listed in the libpath.  Setting hardcode_minus_L
   17807   	  # to unsupported forces relinking
   17808   	  hardcode_minus_L_GCJ=yes
   17809   	  hardcode_libdir_flag_spec_GCJ='-L$libdir'
   17810   	  hardcode_libdir_separator_GCJ=
   17811 	  fi
   17812 	  ;;
   17813 	esac
   17814 	shared_flag='-shared'
   17815 	if test "$aix_use_runtimelinking" = yes; then
   17816 	  shared_flag="$shared_flag "'${wl}-G'
   17817 	fi
   17818       else
   17819 	# not using gcc
   17820 	if test "$host_cpu" = ia64; then
   17821   	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   17822   	# chokes on -Wl,-G. The following line is correct:
   17823 	  shared_flag='-G'
   17824 	else
   17825 	  if test "$aix_use_runtimelinking" = yes; then
   17826 	    shared_flag='${wl}-G'
   17827 	  else
   17828 	    shared_flag='${wl}-bM:SRE'
   17829 	  fi
   17830 	fi
   17831       fi
   17832 
   17833       # It seems that -bexpall does not export symbols beginning with
   17834       # underscore (_), so it is better to generate a list of symbols to export.
   17835       always_export_symbols_GCJ=yes
   17836       if test "$aix_use_runtimelinking" = yes; then
   17837 	# Warning - without using the other runtime loading flags (-brtl),
   17838 	# -berok will link without error, but may produce a broken library.
   17839 	allow_undefined_flag_GCJ='-berok'
   17840        # Determine the default libpath from the value encoded in an empty executable.
   17841        cat >conftest.$ac_ext <<_ACEOF
   17842 /* confdefs.h.  */
   17843 _ACEOF
   17844 cat confdefs.h >>conftest.$ac_ext
   17845 cat >>conftest.$ac_ext <<_ACEOF
   17846 /* end confdefs.h.  */
   17847 
   17848 int
   17849 main ()
   17850 {
   17851 
   17852   ;
   17853   return 0;
   17854 }
   17855 _ACEOF
   17856 rm -f conftest.$ac_objext conftest$ac_exeext
   17857 if { (ac_try="$ac_link"
   17858 case "(($ac_try" in
   17859   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   17860   *) ac_try_echo=$ac_try;;
   17861 esac
   17862 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   17863 $as_echo "$ac_try_echo") >&5
   17864   (eval "$ac_link") 2>conftest.er1
   17865   ac_status=$?
   17866   grep -v '^ *+' conftest.er1 >conftest.err
   17867   rm -f conftest.er1
   17868   cat conftest.err >&5
   17869   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   17870   (exit $ac_status); } && {
   17871 	 test -z "$ac_c_werror_flag" ||
   17872 	 test ! -s conftest.err
   17873        } && test -s conftest$ac_exeext && {
   17874 	 test "$cross_compiling" = yes ||
   17875 	 $as_test_x conftest$ac_exeext
   17876        }; then
   17877 
   17878 lt_aix_libpath_sed='
   17879     /Import File Strings/,/^$/ {
   17880 	/^0/ {
   17881 	    s/^0  *\(.*\)$/\1/
   17882 	    p
   17883 	}
   17884     }'
   17885 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   17886 # Check for a 64-bit object if we didn't find anything.
   17887 if test -z "$aix_libpath"; then
   17888   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   17889 fi
   17890 else
   17891   $as_echo "$as_me: failed program was:" >&5
   17892 sed 's/^/| /' conftest.$ac_ext >&5
   17893 
   17894 
   17895 fi
   17896 
   17897 rm -rf conftest.dSYM
   17898 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   17899       conftest$ac_exeext conftest.$ac_ext
   17900 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   17901 
   17902        hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
   17903 	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"
   17904        else
   17905 	if test "$host_cpu" = ia64; then
   17906 	  hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib'
   17907 	  allow_undefined_flag_GCJ="-z nodefs"
   17908 	  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"
   17909 	else
   17910 	 # Determine the default libpath from the value encoded in an empty executable.
   17911 	 cat >conftest.$ac_ext <<_ACEOF
   17912 /* confdefs.h.  */
   17913 _ACEOF
   17914 cat confdefs.h >>conftest.$ac_ext
   17915 cat >>conftest.$ac_ext <<_ACEOF
   17916 /* end confdefs.h.  */
   17917 
   17918 int
   17919 main ()
   17920 {
   17921 
   17922   ;
   17923   return 0;
   17924 }
   17925 _ACEOF
   17926 rm -f conftest.$ac_objext conftest$ac_exeext
   17927 if { (ac_try="$ac_link"
   17928 case "(($ac_try" in
   17929   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   17930   *) ac_try_echo=$ac_try;;
   17931 esac
   17932 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   17933 $as_echo "$ac_try_echo") >&5
   17934   (eval "$ac_link") 2>conftest.er1
   17935   ac_status=$?
   17936   grep -v '^ *+' conftest.er1 >conftest.err
   17937   rm -f conftest.er1
   17938   cat conftest.err >&5
   17939   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   17940   (exit $ac_status); } && {
   17941 	 test -z "$ac_c_werror_flag" ||
   17942 	 test ! -s conftest.err
   17943        } && test -s conftest$ac_exeext && {
   17944 	 test "$cross_compiling" = yes ||
   17945 	 $as_test_x conftest$ac_exeext
   17946        }; then
   17947 
   17948 lt_aix_libpath_sed='
   17949     /Import File Strings/,/^$/ {
   17950 	/^0/ {
   17951 	    s/^0  *\(.*\)$/\1/
   17952 	    p
   17953 	}
   17954     }'
   17955 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   17956 # Check for a 64-bit object if we didn't find anything.
   17957 if test -z "$aix_libpath"; then
   17958   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   17959 fi
   17960 else
   17961   $as_echo "$as_me: failed program was:" >&5
   17962 sed 's/^/| /' conftest.$ac_ext >&5
   17963 
   17964 
   17965 fi
   17966 
   17967 rm -rf conftest.dSYM
   17968 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   17969       conftest$ac_exeext conftest.$ac_ext
   17970 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   17971 
   17972 	 hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
   17973 	  # Warning - without using the other run time loading flags,
   17974 	  # -berok will link without error, but may produce a broken library.
   17975 	  no_undefined_flag_GCJ=' ${wl}-bernotok'
   17976 	  allow_undefined_flag_GCJ=' ${wl}-berok'
   17977 	  # Exported symbols can be pulled into shared objects from archives
   17978 	  whole_archive_flag_spec_GCJ='$convenience'
   17979 	  archive_cmds_need_lc_GCJ=yes
   17980 	  # This is similar to how AIX traditionally builds its shared libraries.
   17981 	  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'
   17982 	fi
   17983       fi
   17984       ;;
   17985 
   17986     amigaos*)
   17987       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)'
   17988       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   17989       hardcode_minus_L_GCJ=yes
   17990       # see comment about different semantics on the GNU ld section
   17991       ld_shlibs_GCJ=no
   17992       ;;
   17993 
   17994     bsdi[45]*)
   17995       export_dynamic_flag_spec_GCJ=-rdynamic
   17996       ;;
   17997 
   17998     cygwin* | mingw* | pw32*)
   17999       # When not using gcc, we currently assume that we are using
   18000       # Microsoft Visual C++.
   18001       # hardcode_libdir_flag_spec is actually meaningless, as there is
   18002       # no search path for DLLs.
   18003       hardcode_libdir_flag_spec_GCJ=' '
   18004       allow_undefined_flag_GCJ=unsupported
   18005       # Tell ltmain to make .lib files, not .a files.
   18006       libext=lib
   18007       # Tell ltmain to make .dll files, not .so files.
   18008       shrext_cmds=".dll"
   18009       # FIXME: Setting linknames here is a bad hack.
   18010       archive_cmds_GCJ='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
   18011       # The linker will automatically build a .lib file if we build a DLL.
   18012       old_archive_From_new_cmds_GCJ='true'
   18013       # FIXME: Should let the user specify the lib program.
   18014       old_archive_cmds_GCJ='lib -OUT:$oldlib$oldobjs$old_deplibs'
   18015       fix_srcfile_path_GCJ='`cygpath -w "$srcfile"`'
   18016       enable_shared_with_static_runtimes_GCJ=yes
   18017       ;;
   18018 
   18019     darwin* | rhapsody*)
   18020       case $host_os in
   18021         rhapsody* | darwin1.[012])
   18022          allow_undefined_flag_GCJ='${wl}-undefined ${wl}suppress'
   18023          ;;
   18024        *) # Darwin 1.3 on
   18025          if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
   18026            allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   18027          else
   18028            case ${MACOSX_DEPLOYMENT_TARGET} in
   18029              10.[012])
   18030                allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   18031                ;;
   18032              10.*)
   18033                allow_undefined_flag_GCJ='${wl}-undefined ${wl}dynamic_lookup'
   18034                ;;
   18035            esac
   18036          fi
   18037          ;;
   18038       esac
   18039       archive_cmds_need_lc_GCJ=no
   18040       hardcode_direct_GCJ=no
   18041       hardcode_automatic_GCJ=yes
   18042       hardcode_shlibpath_var_GCJ=unsupported
   18043       whole_archive_flag_spec_GCJ=''
   18044       link_all_deplibs_GCJ=yes
   18045     if test "$GCC" = yes ; then
   18046     	output_verbose_link_cmd='echo'
   18047         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}"
   18048         module_cmds_GCJ="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
   18049         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}"
   18050         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}"
   18051     else
   18052       case $cc_basename in
   18053         xlc*)
   18054          output_verbose_link_cmd='echo'
   18055          archive_cmds_GCJ='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
   18056          module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
   18057           # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
   18058          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}'
   18059           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}'
   18060           ;;
   18061        *)
   18062          ld_shlibs_GCJ=no
   18063           ;;
   18064       esac
   18065     fi
   18066       ;;
   18067 
   18068     dgux*)
   18069       archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   18070       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   18071       hardcode_shlibpath_var_GCJ=no
   18072       ;;
   18073 
   18074     freebsd1*)
   18075       ld_shlibs_GCJ=no
   18076       ;;
   18077 
   18078     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   18079     # support.  Future versions do this automatically, but an explicit c++rt0.o
   18080     # does not break anything, and helps significantly (at the cost of a little
   18081     # extra space).
   18082     freebsd2.2*)
   18083       archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   18084       hardcode_libdir_flag_spec_GCJ='-R$libdir'
   18085       hardcode_direct_GCJ=yes
   18086       hardcode_shlibpath_var_GCJ=no
   18087       ;;
   18088 
   18089     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   18090     freebsd2*)
   18091       archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   18092       hardcode_direct_GCJ=yes
   18093       hardcode_minus_L_GCJ=yes
   18094       hardcode_shlibpath_var_GCJ=no
   18095       ;;
   18096 
   18097     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   18098     freebsd* | dragonfly*)
   18099       archive_cmds_GCJ='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
   18100       hardcode_libdir_flag_spec_GCJ='-R$libdir'
   18101       hardcode_direct_GCJ=yes
   18102       hardcode_shlibpath_var_GCJ=no
   18103       ;;
   18104 
   18105     hpux9*)
   18106       if test "$GCC" = yes; then
   18107 	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'
   18108       else
   18109 	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'
   18110       fi
   18111       hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
   18112       hardcode_libdir_separator_GCJ=:
   18113       hardcode_direct_GCJ=yes
   18114 
   18115       # hardcode_minus_L: Not really in the search PATH,
   18116       # but as the default location of the library.
   18117       hardcode_minus_L_GCJ=yes
   18118       export_dynamic_flag_spec_GCJ='${wl}-E'
   18119       ;;
   18120 
   18121     hpux10*)
   18122       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   18123 	archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   18124       else
   18125 	archive_cmds_GCJ='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   18126       fi
   18127       if test "$with_gnu_ld" = no; then
   18128 	hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
   18129 	hardcode_libdir_separator_GCJ=:
   18130 
   18131 	hardcode_direct_GCJ=yes
   18132 	export_dynamic_flag_spec_GCJ='${wl}-E'
   18133 
   18134 	# hardcode_minus_L: Not really in the search PATH,
   18135 	# but as the default location of the library.
   18136 	hardcode_minus_L_GCJ=yes
   18137       fi
   18138       ;;
   18139 
   18140     hpux11*)
   18141       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   18142 	case $host_cpu in
   18143 	hppa*64*)
   18144 	  archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   18145 	  ;;
   18146 	ia64*)
   18147 	  archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   18148 	  ;;
   18149 	*)
   18150 	  archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   18151 	  ;;
   18152 	esac
   18153       else
   18154 	case $host_cpu in
   18155 	hppa*64*)
   18156 	  archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   18157 	  ;;
   18158 	ia64*)
   18159 	  archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   18160 	  ;;
   18161 	*)
   18162 	  archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   18163 	  ;;
   18164 	esac
   18165       fi
   18166       if test "$with_gnu_ld" = no; then
   18167 	hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
   18168 	hardcode_libdir_separator_GCJ=:
   18169 
   18170 	case $host_cpu in
   18171 	hppa*64*|ia64*)
   18172 	  hardcode_libdir_flag_spec_ld_GCJ='+b $libdir'
   18173 	  hardcode_direct_GCJ=no
   18174 	  hardcode_shlibpath_var_GCJ=no
   18175 	  ;;
   18176 	*)
   18177 	  hardcode_direct_GCJ=yes
   18178 	  export_dynamic_flag_spec_GCJ='${wl}-E'
   18179 
   18180 	  # hardcode_minus_L: Not really in the search PATH,
   18181 	  # but as the default location of the library.
   18182 	  hardcode_minus_L_GCJ=yes
   18183 	  ;;
   18184 	esac
   18185       fi
   18186       ;;
   18187 
   18188     irix5* | irix6* | nonstopux*)
   18189       if test "$GCC" = yes; then
   18190 	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'
   18191       else
   18192 	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'
   18193 	hardcode_libdir_flag_spec_ld_GCJ='-rpath $libdir'
   18194       fi
   18195       hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
   18196       hardcode_libdir_separator_GCJ=:
   18197       link_all_deplibs_GCJ=yes
   18198       ;;
   18199 
   18200     netbsd*)
   18201       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   18202 	archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   18203       else
   18204 	archive_cmds_GCJ='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   18205       fi
   18206       hardcode_libdir_flag_spec_GCJ='-R$libdir'
   18207       hardcode_direct_GCJ=yes
   18208       hardcode_shlibpath_var_GCJ=no
   18209       ;;
   18210 
   18211     newsos6)
   18212       archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   18213       hardcode_direct_GCJ=yes
   18214       hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
   18215       hardcode_libdir_separator_GCJ=:
   18216       hardcode_shlibpath_var_GCJ=no
   18217       ;;
   18218 
   18219     openbsd*)
   18220       if test -f /usr/libexec/ld.so; then
   18221 	hardcode_direct_GCJ=yes
   18222 	hardcode_shlibpath_var_GCJ=no
   18223 	if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   18224 	  archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   18225 	  archive_expsym_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
   18226 	  hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
   18227 	  export_dynamic_flag_spec_GCJ='${wl}-E'
   18228 	else
   18229 	  case $host_os in
   18230 	   openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
   18231 	     archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   18232 	     hardcode_libdir_flag_spec_GCJ='-R$libdir'
   18233 	     ;;
   18234 	   *)
   18235 	     archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   18236 	     hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
   18237 	     ;;
   18238 	  esac
   18239         fi
   18240       else
   18241 	ld_shlibs_GCJ=no
   18242       fi
   18243       ;;
   18244 
   18245     os2*)
   18246       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   18247       hardcode_minus_L_GCJ=yes
   18248       allow_undefined_flag_GCJ=unsupported
   18249       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'
   18250       old_archive_From_new_cmds_GCJ='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
   18251       ;;
   18252 
   18253     osf3*)
   18254       if test "$GCC" = yes; then
   18255 	allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
   18256 	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'
   18257       else
   18258 	allow_undefined_flag_GCJ=' -expect_unresolved \*'
   18259 	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'
   18260       fi
   18261       hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
   18262       hardcode_libdir_separator_GCJ=:
   18263       ;;
   18264 
   18265     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   18266       if test "$GCC" = yes; then
   18267 	allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
   18268 	archive_cmds_GCJ='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
   18269 	hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
   18270       else
   18271 	allow_undefined_flag_GCJ=' -expect_unresolved \*'
   18272 	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'
   18273 	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~
   18274 	$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'
   18275 
   18276 	# Both c and cxx compiler support -rpath directly
   18277 	hardcode_libdir_flag_spec_GCJ='-rpath $libdir'
   18278       fi
   18279       hardcode_libdir_separator_GCJ=:
   18280       ;;
   18281 
   18282     solaris*)
   18283       no_undefined_flag_GCJ=' -z text'
   18284       if test "$GCC" = yes; then
   18285 	wlarc='${wl}'
   18286 	archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   18287 	archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   18288 	  $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
   18289       else
   18290 	wlarc=''
   18291 	archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
   18292 	archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   18293   	$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
   18294       fi
   18295       hardcode_libdir_flag_spec_GCJ='-R$libdir'
   18296       hardcode_shlibpath_var_GCJ=no
   18297       case $host_os in
   18298       solaris2.[0-5] | solaris2.[0-5].*) ;;
   18299       *)
   18300 	# The compiler driver will combine and reorder linker options,
   18301 	# but understands `-z linker_flag'.  GCC discards it without `$wl',
   18302 	# but is careful enough not to reorder.
   18303  	# Supported since Solaris 2.6 (maybe 2.5.1?)
   18304 	if test "$GCC" = yes; then
   18305 	  whole_archive_flag_spec_GCJ='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
   18306 	else
   18307 	  whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract'
   18308 	fi
   18309 	;;
   18310       esac
   18311       link_all_deplibs_GCJ=yes
   18312       ;;
   18313 
   18314     sunos4*)
   18315       if test "x$host_vendor" = xsequent; then
   18316 	# Use $CC to link under sequent, because it throws in some extra .o
   18317 	# files that make .init and .fini sections work.
   18318 	archive_cmds_GCJ='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   18319       else
   18320 	archive_cmds_GCJ='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   18321       fi
   18322       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   18323       hardcode_direct_GCJ=yes
   18324       hardcode_minus_L_GCJ=yes
   18325       hardcode_shlibpath_var_GCJ=no
   18326       ;;
   18327 
   18328     sysv4)
   18329       case $host_vendor in
   18330 	sni)
   18331 	  archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   18332 	  hardcode_direct_GCJ=yes # is this really true???
   18333 	;;
   18334 	siemens)
   18335 	  ## LD is ld it makes a PLAMLIB
   18336 	  ## CC just makes a GrossModule.
   18337 	  archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   18338 	  reload_cmds_GCJ='$CC -r -o $output$reload_objs'
   18339 	  hardcode_direct_GCJ=no
   18340         ;;
   18341 	motorola)
   18342 	  archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   18343 	  hardcode_direct_GCJ=no #Motorola manual says yes, but my tests say they lie
   18344 	;;
   18345       esac
   18346       runpath_var='LD_RUN_PATH'
   18347       hardcode_shlibpath_var_GCJ=no
   18348       ;;
   18349 
   18350     sysv4.3*)
   18351       archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   18352       hardcode_shlibpath_var_GCJ=no
   18353       export_dynamic_flag_spec_GCJ='-Bexport'
   18354       ;;
   18355 
   18356     sysv4*MP*)
   18357       if test -d /usr/nec; then
   18358 	archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   18359 	hardcode_shlibpath_var_GCJ=no
   18360 	runpath_var=LD_RUN_PATH
   18361 	hardcode_runpath_var=yes
   18362 	ld_shlibs_GCJ=yes
   18363       fi
   18364       ;;
   18365 
   18366     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   18367       no_undefined_flag_GCJ='${wl}-z,text'
   18368       archive_cmds_need_lc_GCJ=no
   18369       hardcode_shlibpath_var_GCJ=no
   18370       runpath_var='LD_RUN_PATH'
   18371 
   18372       if test "$GCC" = yes; then
   18373 	archive_cmds_GCJ='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   18374 	archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   18375       else
   18376 	archive_cmds_GCJ='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   18377 	archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   18378       fi
   18379       ;;
   18380 
   18381     sysv5* | sco3.2v5* | sco5v6*)
   18382       # Note: We can NOT use -z defs as we might desire, because we do not
   18383       # link with -lc, and that would cause any symbols used from libc to
   18384       # always be unresolved, which means just about no library would
   18385       # ever link correctly.  If we're not using GNU ld we use -z text
   18386       # though, which does catch some bad symbols but isn't as heavy-handed
   18387       # as -z defs.
   18388       no_undefined_flag_GCJ='${wl}-z,text'
   18389       allow_undefined_flag_GCJ='${wl}-z,nodefs'
   18390       archive_cmds_need_lc_GCJ=no
   18391       hardcode_shlibpath_var_GCJ=no
   18392       hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
   18393       hardcode_libdir_separator_GCJ=':'
   18394       link_all_deplibs_GCJ=yes
   18395       export_dynamic_flag_spec_GCJ='${wl}-Bexport'
   18396       runpath_var='LD_RUN_PATH'
   18397 
   18398       if test "$GCC" = yes; then
   18399 	archive_cmds_GCJ='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   18400 	archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   18401       else
   18402 	archive_cmds_GCJ='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   18403 	archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   18404       fi
   18405       ;;
   18406 
   18407     uts4*)
   18408       archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   18409       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   18410       hardcode_shlibpath_var_GCJ=no
   18411       ;;
   18412 
   18413     *)
   18414       ld_shlibs_GCJ=no
   18415       ;;
   18416     esac
   18417   fi
   18418 
   18419 { $as_echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
   18420 $as_echo "$ld_shlibs_GCJ" >&6; }
   18421 test "$ld_shlibs_GCJ" = no && can_build_shared=no
   18422 
   18423 #
   18424 # Do we need to explicitly link libc?
   18425 #
   18426 case "x$archive_cmds_need_lc_GCJ" in
   18427 x|xyes)
   18428   # Assume -lc should be added
   18429   archive_cmds_need_lc_GCJ=yes
   18430 
   18431   if test "$enable_shared" = yes && test "$GCC" = yes; then
   18432     case $archive_cmds_GCJ in
   18433     *'~'*)
   18434       # FIXME: we may have to deal with multi-command sequences.
   18435       ;;
   18436     '$CC '*)
   18437       # Test whether the compiler implicitly links with -lc since on some
   18438       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   18439       # to ld, don't add -lc before -lgcc.
   18440       { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
   18441 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
   18442       $rm conftest*
   18443       echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   18444 
   18445       if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   18446   (eval $ac_compile) 2>&5
   18447   ac_status=$?
   18448   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   18449   (exit $ac_status); } 2>conftest.err; then
   18450         soname=conftest
   18451         lib=conftest
   18452         libobjs=conftest.$ac_objext
   18453         deplibs=
   18454         wl=$lt_prog_compiler_wl_GCJ
   18455 	pic_flag=$lt_prog_compiler_pic_GCJ
   18456         compiler_flags=-v
   18457         linker_flags=-v
   18458         verstring=
   18459         output_objdir=.
   18460         libname=conftest
   18461         lt_save_allow_undefined_flag=$allow_undefined_flag_GCJ
   18462         allow_undefined_flag_GCJ=
   18463         if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
   18464   (eval $archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
   18465   ac_status=$?
   18466   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   18467   (exit $ac_status); }
   18468         then
   18469 	  archive_cmds_need_lc_GCJ=no
   18470         else
   18471 	  archive_cmds_need_lc_GCJ=yes
   18472         fi
   18473         allow_undefined_flag_GCJ=$lt_save_allow_undefined_flag
   18474       else
   18475         cat conftest.err 1>&5
   18476       fi
   18477       $rm conftest*
   18478       { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
   18479 $as_echo "$archive_cmds_need_lc_GCJ" >&6; }
   18480       ;;
   18481     esac
   18482   fi
   18483   ;;
   18484 esac
   18485 
   18486 { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
   18487 $as_echo_n "checking dynamic linker characteristics... " >&6; }
   18488 library_names_spec=
   18489 libname_spec='lib$name'
   18490 soname_spec=
   18491 shrext_cmds=".so"
   18492 postinstall_cmds=
   18493 postuninstall_cmds=
   18494 finish_cmds=
   18495 finish_eval=
   18496 shlibpath_var=
   18497 shlibpath_overrides_runpath=unknown
   18498 version_type=none
   18499 dynamic_linker="$host_os ld.so"
   18500 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   18501 
   18502 need_lib_prefix=unknown
   18503 hardcode_into_libs=no
   18504 
   18505 # when you set need_version to no, make sure it does not cause -set_version
   18506 # flags to be left without arguments
   18507 need_version=unknown
   18508 
   18509 case $host_os in
   18510 aix3*)
   18511   version_type=linux
   18512   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   18513   shlibpath_var=LIBPATH
   18514 
   18515   # AIX 3 has no versioning support, so we append a major version to the name.
   18516   soname_spec='${libname}${release}${shared_ext}$major'
   18517   ;;
   18518 
   18519 aix[4-9]*)
   18520   version_type=linux
   18521   need_lib_prefix=no
   18522   need_version=no
   18523   hardcode_into_libs=yes
   18524   if test "$host_cpu" = ia64; then
   18525     # AIX 5 supports IA64
   18526     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
   18527     shlibpath_var=LD_LIBRARY_PATH
   18528   else
   18529     # With GCC up to 2.95.x, collect2 would create an import file
   18530     # for dependence libraries.  The import file would start with
   18531     # the line `#! .'.  This would cause the generated library to
   18532     # depend on `.', always an invalid library.  This was fixed in
   18533     # development snapshots of GCC prior to 3.0.
   18534     case $host_os in
   18535       aix4 | aix4.[01] | aix4.[01].*)
   18536       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   18537 	   echo ' yes '
   18538 	   echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
   18539 	:
   18540       else
   18541 	can_build_shared=no
   18542       fi
   18543       ;;
   18544     esac
   18545     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
   18546     # soname into executable. Probably we can add versioning support to
   18547     # collect2, so additional links can be useful in future.
   18548     if test "$aix_use_runtimelinking" = yes; then
   18549       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   18550       # instead of lib<name>.a to let people know that these are not
   18551       # typical AIX shared libraries.
   18552       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18553     else
   18554       # We preserve .a as extension for shared libraries through AIX4.2
   18555       # and later when we are not doing run time linking.
   18556       library_names_spec='${libname}${release}.a $libname.a'
   18557       soname_spec='${libname}${release}${shared_ext}$major'
   18558     fi
   18559     shlibpath_var=LIBPATH
   18560   fi
   18561   ;;
   18562 
   18563 amigaos*)
   18564   library_names_spec='$libname.ixlibrary $libname.a'
   18565   # Create ${libname}_ixlibrary.a entries in /sys/libs.
   18566   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'
   18567   ;;
   18568 
   18569 beos*)
   18570   library_names_spec='${libname}${shared_ext}'
   18571   dynamic_linker="$host_os ld.so"
   18572   shlibpath_var=LIBRARY_PATH
   18573   ;;
   18574 
   18575 bsdi[45]*)
   18576   version_type=linux
   18577   need_version=no
   18578   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18579   soname_spec='${libname}${release}${shared_ext}$major'
   18580   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   18581   shlibpath_var=LD_LIBRARY_PATH
   18582   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   18583   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   18584   # the default ld.so.conf also contains /usr/contrib/lib and
   18585   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   18586   # libtool to hard-code these into programs
   18587   ;;
   18588 
   18589 cygwin* | mingw* | pw32*)
   18590   version_type=windows
   18591   shrext_cmds=".dll"
   18592   need_version=no
   18593   need_lib_prefix=no
   18594 
   18595   case $GCC,$host_os in
   18596   yes,cygwin* | yes,mingw* | yes,pw32*)
   18597     library_names_spec='$libname.dll.a'
   18598     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   18599     postinstall_cmds='base_file=`basename \${file}`~
   18600       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
   18601       dldir=$destdir/`dirname \$dlpath`~
   18602       test -d \$dldir || mkdir -p \$dldir~
   18603       $install_prog $dir/$dlname \$dldir/$dlname~
   18604       chmod a+x \$dldir/$dlname'
   18605     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   18606       dlpath=$dir/\$dldll~
   18607        $rm \$dlpath'
   18608     shlibpath_overrides_runpath=yes
   18609 
   18610     case $host_os in
   18611     cygwin*)
   18612       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   18613       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   18614       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
   18615       ;;
   18616     mingw*)
   18617       # MinGW DLLs use traditional 'lib' prefix
   18618       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   18619       sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   18620       if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
   18621         # It is most probably a Windows format PATH printed by
   18622         # mingw gcc, but we are running on Cygwin. Gcc prints its search
   18623         # path with ; separators, and with drive letters. We can handle the
   18624         # drive letters (cygwin fileutils understands them), so leave them,
   18625         # especially as we might pass files found there to a mingw objdump,
   18626         # which wouldn't understand a cygwinified path. Ahh.
   18627         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   18628       else
   18629         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   18630       fi
   18631       ;;
   18632     pw32*)
   18633       # pw32 DLLs use 'pw' prefix rather than 'lib'
   18634       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   18635       ;;
   18636     esac
   18637     ;;
   18638 
   18639   *)
   18640     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
   18641     ;;
   18642   esac
   18643   dynamic_linker='Win32 ld.exe'
   18644   # FIXME: first we should search . and the directory the executable is in
   18645   shlibpath_var=PATH
   18646   ;;
   18647 
   18648 darwin* | rhapsody*)
   18649   dynamic_linker="$host_os dyld"
   18650   version_type=darwin
   18651   need_lib_prefix=no
   18652   need_version=no
   18653   library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
   18654   soname_spec='${libname}${release}${major}$shared_ext'
   18655   shlibpath_overrides_runpath=yes
   18656   shlibpath_var=DYLD_LIBRARY_PATH
   18657   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   18658 
   18659   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   18660   ;;
   18661 
   18662 dgux*)
   18663   version_type=linux
   18664   need_lib_prefix=no
   18665   need_version=no
   18666   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
   18667   soname_spec='${libname}${release}${shared_ext}$major'
   18668   shlibpath_var=LD_LIBRARY_PATH
   18669   ;;
   18670 
   18671 freebsd1*)
   18672   dynamic_linker=no
   18673   ;;
   18674 
   18675 freebsd* | dragonfly*)
   18676   # DragonFly does not have aout.  When/if they implement a new
   18677   # versioning mechanism, adjust this.
   18678   if test -x /usr/bin/objformat; then
   18679     objformat=`/usr/bin/objformat`
   18680   else
   18681     case $host_os in
   18682     freebsd[123]*) objformat=aout ;;
   18683     *) objformat=elf ;;
   18684     esac
   18685   fi
   18686   version_type=freebsd-$objformat
   18687   case $version_type in
   18688     freebsd-elf*)
   18689       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   18690       need_version=no
   18691       need_lib_prefix=no
   18692       ;;
   18693     freebsd-*)
   18694       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
   18695       need_version=yes
   18696       ;;
   18697   esac
   18698   shlibpath_var=LD_LIBRARY_PATH
   18699   case $host_os in
   18700   freebsd2*)
   18701     shlibpath_overrides_runpath=yes
   18702     ;;
   18703   freebsd3.[01]* | freebsdelf3.[01]*)
   18704     shlibpath_overrides_runpath=yes
   18705     hardcode_into_libs=yes
   18706     ;;
   18707   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   18708   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   18709     shlibpath_overrides_runpath=no
   18710     hardcode_into_libs=yes
   18711     ;;
   18712   *) # from 4.6 on, and DragonFly
   18713     shlibpath_overrides_runpath=yes
   18714     hardcode_into_libs=yes
   18715     ;;
   18716   esac
   18717   ;;
   18718 
   18719 gnu*)
   18720   version_type=linux
   18721   need_lib_prefix=no
   18722   need_version=no
   18723   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   18724   soname_spec='${libname}${release}${shared_ext}$major'
   18725   shlibpath_var=LD_LIBRARY_PATH
   18726   hardcode_into_libs=yes
   18727   ;;
   18728 
   18729 hpux9* | hpux10* | hpux11*)
   18730   # Give a soname corresponding to the major version so that dld.sl refuses to
   18731   # link against other versions.
   18732   version_type=sunos
   18733   need_lib_prefix=no
   18734   need_version=no
   18735   case $host_cpu in
   18736   ia64*)
   18737     shrext_cmds='.so'
   18738     hardcode_into_libs=yes
   18739     dynamic_linker="$host_os dld.so"
   18740     shlibpath_var=LD_LIBRARY_PATH
   18741     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   18742     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18743     soname_spec='${libname}${release}${shared_ext}$major'
   18744     if test "X$HPUX_IA64_MODE" = X32; then
   18745       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   18746     else
   18747       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   18748     fi
   18749     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   18750     ;;
   18751    hppa*64*)
   18752      shrext_cmds='.sl'
   18753      hardcode_into_libs=yes
   18754      dynamic_linker="$host_os dld.sl"
   18755      shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   18756      shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   18757      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18758      soname_spec='${libname}${release}${shared_ext}$major'
   18759      sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   18760      sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   18761      ;;
   18762    *)
   18763     shrext_cmds='.sl'
   18764     dynamic_linker="$host_os dld.sl"
   18765     shlibpath_var=SHLIB_PATH
   18766     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   18767     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18768     soname_spec='${libname}${release}${shared_ext}$major'
   18769     ;;
   18770   esac
   18771   # HP-UX runs *really* slowly unless shared libraries are mode 555.
   18772   postinstall_cmds='chmod 555 $lib'
   18773   ;;
   18774 
   18775 interix[3-9]*)
   18776   version_type=linux
   18777   need_lib_prefix=no
   18778   need_version=no
   18779   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   18780   soname_spec='${libname}${release}${shared_ext}$major'
   18781   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   18782   shlibpath_var=LD_LIBRARY_PATH
   18783   shlibpath_overrides_runpath=no
   18784   hardcode_into_libs=yes
   18785   ;;
   18786 
   18787 irix5* | irix6* | nonstopux*)
   18788   case $host_os in
   18789     nonstopux*) version_type=nonstopux ;;
   18790     *)
   18791 	if test "$lt_cv_prog_gnu_ld" = yes; then
   18792 		version_type=linux
   18793 	else
   18794 		version_type=irix
   18795 	fi ;;
   18796   esac
   18797   need_lib_prefix=no
   18798   need_version=no
   18799   soname_spec='${libname}${release}${shared_ext}$major'
   18800   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
   18801   case $host_os in
   18802   irix5* | nonstopux*)
   18803     libsuff= shlibsuff=
   18804     ;;
   18805   *)
   18806     case $LD in # libtool.m4 will add one of these switches to LD
   18807     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   18808       libsuff= shlibsuff= libmagic=32-bit;;
   18809     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   18810       libsuff=32 shlibsuff=N32 libmagic=N32;;
   18811     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   18812       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   18813     *) libsuff= shlibsuff= libmagic=never-match;;
   18814     esac
   18815     ;;
   18816   esac
   18817   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   18818   shlibpath_overrides_runpath=no
   18819   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   18820   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   18821   hardcode_into_libs=yes
   18822   ;;
   18823 
   18824 # No shared lib support for Linux oldld, aout, or coff.
   18825 linux*oldld* | linux*aout* | linux*coff*)
   18826   dynamic_linker=no
   18827   ;;
   18828 
   18829 # This must be Linux ELF.
   18830 linux* | k*bsd*-gnu)
   18831   version_type=linux
   18832   need_lib_prefix=no
   18833   need_version=no
   18834   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18835   soname_spec='${libname}${release}${shared_ext}$major'
   18836   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   18837   shlibpath_var=LD_LIBRARY_PATH
   18838   shlibpath_overrides_runpath=no
   18839   # This implies no fast_install, which is unacceptable.
   18840   # Some rework will be needed to allow for fast_install
   18841   # before this can be enabled.
   18842   hardcode_into_libs=yes
   18843   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   18844   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   18845 
   18846   # Append ld.so.conf contents to the search path
   18847   if test -f /etc/ld.so.conf; then
   18848     lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ 	]*hwcap[ 	]/d;s/[:,	]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
   18849     sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
   18850   fi
   18851 
   18852   # We used to test for /lib/ld.so.1 and disable shared libraries on
   18853   # powerpc, because MkLinux only supported shared libraries with the
   18854   # GNU dynamic linker.  Since this was broken with cross compilers,
   18855   # most powerpc-linux boxes support dynamic linking these days and
   18856   # people can always --disable-shared, the test was removed, and we
   18857   # assume the GNU/Linux dynamic linker is in use.
   18858   dynamic_linker='GNU/Linux ld.so'
   18859   ;;
   18860 
   18861 netbsd*)
   18862   version_type=sunos
   18863   need_lib_prefix=no
   18864   need_version=no
   18865   if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   18866     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   18867     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   18868     dynamic_linker='NetBSD (a.out) ld.so'
   18869   else
   18870     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   18871     soname_spec='${libname}${release}${shared_ext}$major'
   18872     dynamic_linker='NetBSD ld.elf_so'
   18873   fi
   18874   shlibpath_var=LD_LIBRARY_PATH
   18875   shlibpath_overrides_runpath=yes
   18876   hardcode_into_libs=yes
   18877   ;;
   18878 
   18879 newsos6)
   18880   version_type=linux
   18881   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18882   shlibpath_var=LD_LIBRARY_PATH
   18883   shlibpath_overrides_runpath=yes
   18884   ;;
   18885 
   18886 nto-qnx*)
   18887   version_type=linux
   18888   need_lib_prefix=no
   18889   need_version=no
   18890   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18891   soname_spec='${libname}${release}${shared_ext}$major'
   18892   shlibpath_var=LD_LIBRARY_PATH
   18893   shlibpath_overrides_runpath=yes
   18894   ;;
   18895 
   18896 openbsd*)
   18897   version_type=sunos
   18898   sys_lib_dlsearch_path_spec="/usr/lib"
   18899   need_lib_prefix=no
   18900   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
   18901   case $host_os in
   18902     openbsd3.3 | openbsd3.3.*) need_version=yes ;;
   18903     *)                         need_version=no  ;;
   18904   esac
   18905   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   18906   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   18907   shlibpath_var=LD_LIBRARY_PATH
   18908   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   18909     case $host_os in
   18910       openbsd2.[89] | openbsd2.[89].*)
   18911 	shlibpath_overrides_runpath=no
   18912 	;;
   18913       *)
   18914 	shlibpath_overrides_runpath=yes
   18915 	;;
   18916       esac
   18917   else
   18918     shlibpath_overrides_runpath=yes
   18919   fi
   18920   ;;
   18921 
   18922 os2*)
   18923   libname_spec='$name'
   18924   shrext_cmds=".dll"
   18925   need_lib_prefix=no
   18926   library_names_spec='$libname${shared_ext} $libname.a'
   18927   dynamic_linker='OS/2 ld.exe'
   18928   shlibpath_var=LIBPATH
   18929   ;;
   18930 
   18931 osf3* | osf4* | osf5*)
   18932   version_type=osf
   18933   need_lib_prefix=no
   18934   need_version=no
   18935   soname_spec='${libname}${release}${shared_ext}$major'
   18936   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18937   shlibpath_var=LD_LIBRARY_PATH
   18938   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   18939   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   18940   ;;
   18941 
   18942 rdos*)
   18943   dynamic_linker=no
   18944   ;;
   18945 
   18946 solaris*)
   18947   version_type=linux
   18948   need_lib_prefix=no
   18949   need_version=no
   18950   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18951   soname_spec='${libname}${release}${shared_ext}$major'
   18952   shlibpath_var=LD_LIBRARY_PATH
   18953   shlibpath_overrides_runpath=yes
   18954   hardcode_into_libs=yes
   18955   # ldd complains unless libraries are executable
   18956   postinstall_cmds='chmod +x $lib'
   18957   ;;
   18958 
   18959 sunos4*)
   18960   version_type=sunos
   18961   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   18962   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   18963   shlibpath_var=LD_LIBRARY_PATH
   18964   shlibpath_overrides_runpath=yes
   18965   if test "$with_gnu_ld" = yes; then
   18966     need_lib_prefix=no
   18967   fi
   18968   need_version=yes
   18969   ;;
   18970 
   18971 sysv4 | sysv4.3*)
   18972   version_type=linux
   18973   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18974   soname_spec='${libname}${release}${shared_ext}$major'
   18975   shlibpath_var=LD_LIBRARY_PATH
   18976   case $host_vendor in
   18977     sni)
   18978       shlibpath_overrides_runpath=no
   18979       need_lib_prefix=no
   18980       export_dynamic_flag_spec='${wl}-Blargedynsym'
   18981       runpath_var=LD_RUN_PATH
   18982       ;;
   18983     siemens)
   18984       need_lib_prefix=no
   18985       ;;
   18986     motorola)
   18987       need_lib_prefix=no
   18988       need_version=no
   18989       shlibpath_overrides_runpath=no
   18990       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   18991       ;;
   18992   esac
   18993   ;;
   18994 
   18995 sysv4*MP*)
   18996   if test -d /usr/nec ;then
   18997     version_type=linux
   18998     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
   18999     soname_spec='$libname${shared_ext}.$major'
   19000     shlibpath_var=LD_LIBRARY_PATH
   19001   fi
   19002   ;;
   19003 
   19004 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   19005   version_type=freebsd-elf
   19006   need_lib_prefix=no
   19007   need_version=no
   19008   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   19009   soname_spec='${libname}${release}${shared_ext}$major'
   19010   shlibpath_var=LD_LIBRARY_PATH
   19011   hardcode_into_libs=yes
   19012   if test "$with_gnu_ld" = yes; then
   19013     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   19014     shlibpath_overrides_runpath=no
   19015   else
   19016     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   19017     shlibpath_overrides_runpath=yes
   19018     case $host_os in
   19019       sco3.2v5*)
   19020         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   19021 	;;
   19022     esac
   19023   fi
   19024   sys_lib_dlsearch_path_spec='/usr/lib'
   19025   ;;
   19026 
   19027 uts4*)
   19028   version_type=linux
   19029   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   19030   soname_spec='${libname}${release}${shared_ext}$major'
   19031   shlibpath_var=LD_LIBRARY_PATH
   19032   ;;
   19033 
   19034 *)
   19035   dynamic_linker=no
   19036   ;;
   19037 esac
   19038 { $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
   19039 $as_echo "$dynamic_linker" >&6; }
   19040 test "$dynamic_linker" = no && can_build_shared=no
   19041 
   19042 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
   19043   $as_echo_n "(cached) " >&6
   19044 else
   19045   lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
   19046 fi
   19047 
   19048 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
   19049 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
   19050   $as_echo_n "(cached) " >&6
   19051 else
   19052   lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
   19053 fi
   19054 
   19055 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
   19056 
   19057 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   19058 if test "$GCC" = yes; then
   19059   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   19060 fi
   19061 
   19062 { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
   19063 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
   19064 hardcode_action_GCJ=
   19065 if test -n "$hardcode_libdir_flag_spec_GCJ" || \
   19066    test -n "$runpath_var_GCJ" || \
   19067    test "X$hardcode_automatic_GCJ" = "Xyes" ; then
   19068 
   19069   # We can hardcode non-existant directories.
   19070   if test "$hardcode_direct_GCJ" != no &&
   19071      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   19072      # have to relink, otherwise we might link with an installed library
   19073      # when we should be linking with a yet-to-be-installed one
   19074      ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
   19075      test "$hardcode_minus_L_GCJ" != no; then
   19076     # Linking always hardcodes the temporary library directory.
   19077     hardcode_action_GCJ=relink
   19078   else
   19079     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   19080     hardcode_action_GCJ=immediate
   19081   fi
   19082 else
   19083   # We cannot hardcode anything, or else we can only hardcode existing
   19084   # directories.
   19085   hardcode_action_GCJ=unsupported
   19086 fi
   19087 { $as_echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
   19088 $as_echo "$hardcode_action_GCJ" >&6; }
   19089 
   19090 if test "$hardcode_action_GCJ" = relink; then
   19091   # Fast installation is not supported
   19092   enable_fast_install=no
   19093 elif test "$shlibpath_overrides_runpath" = yes ||
   19094      test "$enable_shared" = no; then
   19095   # Fast installation is not necessary
   19096   enable_fast_install=needless
   19097 fi
   19098 
   19099 
   19100 # The else clause should only fire when bootstrapping the
   19101 # libtool distribution, otherwise you forgot to ship ltmain.sh
   19102 # with your package, and you will get complaints that there are
   19103 # no rules to generate ltmain.sh.
   19104 if test -f "$ltmain"; then
   19105   # See if we are running on zsh, and set the options which allow our commands through
   19106   # without removal of \ escapes.
   19107   if test -n "${ZSH_VERSION+set}" ; then
   19108     setopt NO_GLOB_SUBST
   19109   fi
   19110   # Now quote all the things that may contain metacharacters while being
   19111   # careful not to overquote the AC_SUBSTed values.  We take copies of the
   19112   # variables and quote the copies for generation of the libtool script.
   19113   for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
   19114     SED SHELL STRIP \
   19115     libname_spec library_names_spec soname_spec extract_expsyms_cmds \
   19116     old_striplib striplib file_magic_cmd finish_cmds finish_eval \
   19117     deplibs_check_method reload_flag reload_cmds need_locks \
   19118     lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
   19119     lt_cv_sys_global_symbol_to_c_name_address \
   19120     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
   19121     old_postinstall_cmds old_postuninstall_cmds \
   19122     compiler_GCJ \
   19123     CC_GCJ \
   19124     LD_GCJ \
   19125     lt_prog_compiler_wl_GCJ \
   19126     lt_prog_compiler_pic_GCJ \
   19127     lt_prog_compiler_static_GCJ \
   19128     lt_prog_compiler_no_builtin_flag_GCJ \
   19129     export_dynamic_flag_spec_GCJ \
   19130     thread_safe_flag_spec_GCJ \
   19131     whole_archive_flag_spec_GCJ \
   19132     enable_shared_with_static_runtimes_GCJ \
   19133     old_archive_cmds_GCJ \
   19134     old_archive_from_new_cmds_GCJ \
   19135     predep_objects_GCJ \
   19136     postdep_objects_GCJ \
   19137     predeps_GCJ \
   19138     postdeps_GCJ \
   19139     compiler_lib_search_path_GCJ \
   19140     compiler_lib_search_dirs_GCJ \
   19141     archive_cmds_GCJ \
   19142     archive_expsym_cmds_GCJ \
   19143     postinstall_cmds_GCJ \
   19144     postuninstall_cmds_GCJ \
   19145     old_archive_from_expsyms_cmds_GCJ \
   19146     allow_undefined_flag_GCJ \
   19147     no_undefined_flag_GCJ \
   19148     export_symbols_cmds_GCJ \
   19149     hardcode_libdir_flag_spec_GCJ \
   19150     hardcode_libdir_flag_spec_ld_GCJ \
   19151     hardcode_libdir_separator_GCJ \
   19152     hardcode_automatic_GCJ \
   19153     module_cmds_GCJ \
   19154     module_expsym_cmds_GCJ \
   19155     lt_cv_prog_compiler_c_o_GCJ \
   19156     fix_srcfile_path_GCJ \
   19157     exclude_expsyms_GCJ \
   19158     include_expsyms_GCJ; do
   19159 
   19160     case $var in
   19161     old_archive_cmds_GCJ | \
   19162     old_archive_from_new_cmds_GCJ | \
   19163     archive_cmds_GCJ | \
   19164     archive_expsym_cmds_GCJ | \
   19165     module_cmds_GCJ | \
   19166     module_expsym_cmds_GCJ | \
   19167     old_archive_from_expsyms_cmds_GCJ | \
   19168     export_symbols_cmds_GCJ | \
   19169     extract_expsyms_cmds | reload_cmds | finish_cmds | \
   19170     postinstall_cmds | postuninstall_cmds | \
   19171     old_postinstall_cmds | old_postuninstall_cmds | \
   19172     sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
   19173       # Double-quote double-evaled strings.
   19174       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
   19175       ;;
   19176     *)
   19177       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
   19178       ;;
   19179     esac
   19180   done
   19181 
   19182   case $lt_echo in
   19183   *'\$0 --fallback-echo"')
   19184     lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
   19185     ;;
   19186   esac
   19187 
   19188 cfgfile="$ofile"
   19189 
   19190   cat <<__EOF__ >> "$cfgfile"
   19191 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
   19192 
   19193 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   19194 
   19195 # Shell to use when invoking shell scripts.
   19196 SHELL=$lt_SHELL
   19197 
   19198 # Whether or not to build shared libraries.
   19199 build_libtool_libs=$enable_shared
   19200 
   19201 # Whether or not to build static libraries.
   19202 build_old_libs=$enable_static
   19203 
   19204 # Whether or not to add -lc for building shared libraries.
   19205 build_libtool_need_lc=$archive_cmds_need_lc_GCJ
   19206 
   19207 # Whether or not to disallow shared libs when runtime libs are static
   19208 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
   19209 
   19210 # Whether or not to optimize for fast installation.
   19211 fast_install=$enable_fast_install
   19212 
   19213 # The host system.
   19214 host_alias=$host_alias
   19215 host=$host
   19216 host_os=$host_os
   19217 
   19218 # The build system.
   19219 build_alias=$build_alias
   19220 build=$build
   19221 build_os=$build_os
   19222 
   19223 # An echo program that does not interpret backslashes.
   19224 echo=$lt_echo
   19225 
   19226 # The archiver.
   19227 AR=$lt_AR
   19228 AR_FLAGS=$lt_AR_FLAGS
   19229 
   19230 # A C compiler.
   19231 LTCC=$lt_LTCC
   19232 
   19233 # LTCC compiler flags.
   19234 LTCFLAGS=$lt_LTCFLAGS
   19235 
   19236 # A language-specific compiler.
   19237 CC=$lt_compiler_GCJ
   19238 
   19239 # Is the compiler the GNU C compiler?
   19240 with_gcc=$GCC_GCJ
   19241 
   19242 # An ERE matcher.
   19243 EGREP=$lt_EGREP
   19244 
   19245 # The linker used to build libraries.
   19246 LD=$lt_LD_GCJ
   19247 
   19248 # Whether we need hard or soft links.
   19249 LN_S=$lt_LN_S
   19250 
   19251 # A BSD-compatible nm program.
   19252 NM=$lt_NM
   19253 
   19254 # A symbol stripping program
   19255 STRIP=$lt_STRIP
   19256 
   19257 # Used to examine libraries when file_magic_cmd begins "file"
   19258 MAGIC_CMD=$MAGIC_CMD
   19259 
   19260 # Used on cygwin: DLL creation program.
   19261 DLLTOOL="$DLLTOOL"
   19262 
   19263 # Used on cygwin: object dumper.
   19264 OBJDUMP="$OBJDUMP"
   19265 
   19266 # Used on cygwin: assembler.
   19267 AS="$AS"
   19268 
   19269 # The name of the directory that contains temporary libtool files.
   19270 objdir=$objdir
   19271 
   19272 # How to create reloadable object files.
   19273 reload_flag=$lt_reload_flag
   19274 reload_cmds=$lt_reload_cmds
   19275 
   19276 # How to pass a linker flag through the compiler.
   19277 wl=$lt_lt_prog_compiler_wl_GCJ
   19278 
   19279 # Object file suffix (normally "o").
   19280 objext="$ac_objext"
   19281 
   19282 # Old archive suffix (normally "a").
   19283 libext="$libext"
   19284 
   19285 # Shared library suffix (normally ".so").
   19286 shrext_cmds='$shrext_cmds'
   19287 
   19288 # Executable file suffix (normally "").
   19289 exeext="$exeext"
   19290 
   19291 # Additional compiler flags for building library objects.
   19292 pic_flag=$lt_lt_prog_compiler_pic_GCJ
   19293 pic_mode=$pic_mode
   19294 
   19295 # What is the maximum length of a command?
   19296 max_cmd_len=$lt_cv_sys_max_cmd_len
   19297 
   19298 # Does compiler simultaneously support -c and -o options?
   19299 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
   19300 
   19301 # Must we lock files when doing compilation?
   19302 need_locks=$lt_need_locks
   19303 
   19304 # Do we need the lib prefix for modules?
   19305 need_lib_prefix=$need_lib_prefix
   19306 
   19307 # Do we need a version for libraries?
   19308 need_version=$need_version
   19309 
   19310 # Whether dlopen is supported.
   19311 dlopen_support=$enable_dlopen
   19312 
   19313 # Whether dlopen of programs is supported.
   19314 dlopen_self=$enable_dlopen_self
   19315 
   19316 # Whether dlopen of statically linked programs is supported.
   19317 dlopen_self_static=$enable_dlopen_self_static
   19318 
   19319 # Compiler flag to prevent dynamic linking.
   19320 link_static_flag=$lt_lt_prog_compiler_static_GCJ
   19321 
   19322 # Compiler flag to turn off builtin functions.
   19323 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
   19324 
   19325 # Compiler flag to allow reflexive dlopens.
   19326 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
   19327 
   19328 # Compiler flag to generate shared objects directly from archives.
   19329 whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
   19330 
   19331 # Compiler flag to generate thread-safe objects.
   19332 thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
   19333 
   19334 # Library versioning type.
   19335 version_type=$version_type
   19336 
   19337 # Format of library name prefix.
   19338 libname_spec=$lt_libname_spec
   19339 
   19340 # List of archive names.  First name is the real one, the rest are links.
   19341 # The last name is the one that the linker finds with -lNAME.
   19342 library_names_spec=$lt_library_names_spec
   19343 
   19344 # The coded name of the library, if different from the real name.
   19345 soname_spec=$lt_soname_spec
   19346 
   19347 # Commands used to build and install an old-style archive.
   19348 RANLIB=$lt_RANLIB
   19349 old_archive_cmds=$lt_old_archive_cmds_GCJ
   19350 old_postinstall_cmds=$lt_old_postinstall_cmds
   19351 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   19352 
   19353 # Create an old-style archive from a shared archive.
   19354 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
   19355 
   19356 # Create a temporary old-style archive to link instead of a shared archive.
   19357 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
   19358 
   19359 # Commands used to build and install a shared archive.
   19360 archive_cmds=$lt_archive_cmds_GCJ
   19361 archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
   19362 postinstall_cmds=$lt_postinstall_cmds
   19363 postuninstall_cmds=$lt_postuninstall_cmds
   19364 
   19365 # Commands used to build a loadable module (assumed same as above if empty)
   19366 module_cmds=$lt_module_cmds_GCJ
   19367 module_expsym_cmds=$lt_module_expsym_cmds_GCJ
   19368 
   19369 # Commands to strip libraries.
   19370 old_striplib=$lt_old_striplib
   19371 striplib=$lt_striplib
   19372 
   19373 # Dependencies to place before the objects being linked to create a
   19374 # shared library.
   19375 predep_objects=$lt_predep_objects_GCJ
   19376 
   19377 # Dependencies to place after the objects being linked to create a
   19378 # shared library.
   19379 postdep_objects=$lt_postdep_objects_GCJ
   19380 
   19381 # Dependencies to place before the objects being linked to create a
   19382 # shared library.
   19383 predeps=$lt_predeps_GCJ
   19384 
   19385 # Dependencies to place after the objects being linked to create a
   19386 # shared library.
   19387 postdeps=$lt_postdeps_GCJ
   19388 
   19389 # The directories searched by this compiler when creating a shared
   19390 # library
   19391 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_GCJ
   19392 
   19393 # The library search path used internally by the compiler when linking
   19394 # a shared library.
   19395 compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
   19396 
   19397 # Method to check whether dependent libraries are shared objects.
   19398 deplibs_check_method=$lt_deplibs_check_method
   19399 
   19400 # Command to use when deplibs_check_method == file_magic.
   19401 file_magic_cmd=$lt_file_magic_cmd
   19402 
   19403 # Flag that allows shared libraries with undefined symbols to be built.
   19404 allow_undefined_flag=$lt_allow_undefined_flag_GCJ
   19405 
   19406 # Flag that forces no undefined symbols.
   19407 no_undefined_flag=$lt_no_undefined_flag_GCJ
   19408 
   19409 # Commands used to finish a libtool library installation in a directory.
   19410 finish_cmds=$lt_finish_cmds
   19411 
   19412 # Same as above, but a single script fragment to be evaled but not shown.
   19413 finish_eval=$lt_finish_eval
   19414 
   19415 # Take the output of nm and produce a listing of raw symbols and C names.
   19416 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   19417 
   19418 # Transform the output of nm in a proper C declaration
   19419 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   19420 
   19421 # Transform the output of nm in a C name address pair
   19422 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   19423 
   19424 # This is the shared library runtime path variable.
   19425 runpath_var=$runpath_var
   19426 
   19427 # This is the shared library path variable.
   19428 shlibpath_var=$shlibpath_var
   19429 
   19430 # Is shlibpath searched before the hard-coded library search path?
   19431 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   19432 
   19433 # How to hardcode a shared library path into an executable.
   19434 hardcode_action=$hardcode_action_GCJ
   19435 
   19436 # Whether we should hardcode library paths into libraries.
   19437 hardcode_into_libs=$hardcode_into_libs
   19438 
   19439 # Flag to hardcode \$libdir into a binary during linking.
   19440 # This must work even if \$libdir does not exist.
   19441 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
   19442 
   19443 # If ld is used when linking, flag to hardcode \$libdir into
   19444 # a binary during linking. This must work even if \$libdir does
   19445 # not exist.
   19446 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
   19447 
   19448 # Whether we need a single -rpath flag with a separated argument.
   19449 hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
   19450 
   19451 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
   19452 # resulting binary.
   19453 hardcode_direct=$hardcode_direct_GCJ
   19454 
   19455 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
   19456 # resulting binary.
   19457 hardcode_minus_L=$hardcode_minus_L_GCJ
   19458 
   19459 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
   19460 # the resulting binary.
   19461 hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
   19462 
   19463 # Set to yes if building a shared library automatically hardcodes DIR into the library
   19464 # and all subsequent libraries and executables linked against it.
   19465 hardcode_automatic=$hardcode_automatic_GCJ
   19466 
   19467 # Variables whose values should be saved in libtool wrapper scripts and
   19468 # restored at relink time.
   19469 variables_saved_for_relink="$variables_saved_for_relink"
   19470 
   19471 # Whether libtool must link a program against all its dependency libraries.
   19472 link_all_deplibs=$link_all_deplibs_GCJ
   19473 
   19474 # Compile-time system search path for libraries
   19475 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   19476 
   19477 # Run-time system search path for libraries
   19478 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   19479 
   19480 # Fix the shell variable \$srcfile for the compiler.
   19481 fix_srcfile_path=$lt_fix_srcfile_path
   19482 
   19483 # Set to yes if exported symbols are required.
   19484 always_export_symbols=$always_export_symbols_GCJ
   19485 
   19486 # The commands to list exported symbols.
   19487 export_symbols_cmds=$lt_export_symbols_cmds_GCJ
   19488 
   19489 # The commands to extract the exported symbol list from a shared archive.
   19490 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   19491 
   19492 # Symbols that should not be listed in the preloaded symbols.
   19493 exclude_expsyms=$lt_exclude_expsyms_GCJ
   19494 
   19495 # Symbols that must always be exported.
   19496 include_expsyms=$lt_include_expsyms_GCJ
   19497 
   19498 # ### END LIBTOOL TAG CONFIG: $tagname
   19499 
   19500 __EOF__
   19501 
   19502 
   19503 else
   19504   # If there is no Makefile yet, we rely on a make rule to execute
   19505   # `config.status --recheck' to rerun these tests and create the
   19506   # libtool script then.
   19507   ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
   19508   if test -f "$ltmain_in"; then
   19509     test -f Makefile && make "$ltmain"
   19510   fi
   19511 fi
   19512 
   19513 
   19514 ac_ext=c
   19515 ac_cpp='$CPP $CPPFLAGS'
   19516 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   19517 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   19518 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   19519 
   19520 CC="$lt_save_CC"
   19521 
   19522 	else
   19523 	  tagname=""
   19524 	fi
   19525 	;;
   19526 
   19527       RC)
   19528 
   19529 
   19530 # Source file extension for RC test sources.
   19531 ac_ext=rc
   19532 
   19533 # Object file extension for compiled RC test sources.
   19534 objext=o
   19535 objext_RC=$objext
   19536 
   19537 # Code to be used in simple compile tests
   19538 lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }'
   19539 
   19540 # Code to be used in simple link tests
   19541 lt_simple_link_test_code="$lt_simple_compile_test_code"
   19542 
   19543 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
   19544 
   19545 # If no C compiler was specified, use CC.
   19546 LTCC=${LTCC-"$CC"}
   19547 
   19548 # If no C compiler flags were specified, use CFLAGS.
   19549 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   19550 
   19551 # Allow CC to be a program name with arguments.
   19552 compiler=$CC
   19553 
   19554 
   19555 # save warnings/boilerplate of simple test code
   19556 ac_outfile=conftest.$ac_objext
   19557 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   19558 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   19559 _lt_compiler_boilerplate=`cat conftest.err`
   19560 $rm conftest*
   19561 
   19562 ac_outfile=conftest.$ac_objext
   19563 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   19564 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   19565 _lt_linker_boilerplate=`cat conftest.err`
   19566 $rm -r conftest*
   19567 
   19568 
   19569 # Allow CC to be a program name with arguments.
   19570 lt_save_CC="$CC"
   19571 CC=${RC-"windres"}
   19572 compiler=$CC
   19573 compiler_RC=$CC
   19574 for cc_temp in $compiler""; do
   19575   case $cc_temp in
   19576     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   19577     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   19578     \-*) ;;
   19579     *) break;;
   19580   esac
   19581 done
   19582 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   19583 
   19584 lt_cv_prog_compiler_c_o_RC=yes
   19585 
   19586 # The else clause should only fire when bootstrapping the
   19587 # libtool distribution, otherwise you forgot to ship ltmain.sh
   19588 # with your package, and you will get complaints that there are
   19589 # no rules to generate ltmain.sh.
   19590 if test -f "$ltmain"; then
   19591   # See if we are running on zsh, and set the options which allow our commands through
   19592   # without removal of \ escapes.
   19593   if test -n "${ZSH_VERSION+set}" ; then
   19594     setopt NO_GLOB_SUBST
   19595   fi
   19596   # Now quote all the things that may contain metacharacters while being
   19597   # careful not to overquote the AC_SUBSTed values.  We take copies of the
   19598   # variables and quote the copies for generation of the libtool script.
   19599   for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
   19600     SED SHELL STRIP \
   19601     libname_spec library_names_spec soname_spec extract_expsyms_cmds \
   19602     old_striplib striplib file_magic_cmd finish_cmds finish_eval \
   19603     deplibs_check_method reload_flag reload_cmds need_locks \
   19604     lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
   19605     lt_cv_sys_global_symbol_to_c_name_address \
   19606     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
   19607     old_postinstall_cmds old_postuninstall_cmds \
   19608     compiler_RC \
   19609     CC_RC \
   19610     LD_RC \
   19611     lt_prog_compiler_wl_RC \
   19612     lt_prog_compiler_pic_RC \
   19613     lt_prog_compiler_static_RC \
   19614     lt_prog_compiler_no_builtin_flag_RC \
   19615     export_dynamic_flag_spec_RC \
   19616     thread_safe_flag_spec_RC \
   19617     whole_archive_flag_spec_RC \
   19618     enable_shared_with_static_runtimes_RC \
   19619     old_archive_cmds_RC \
   19620     old_archive_from_new_cmds_RC \
   19621     predep_objects_RC \
   19622     postdep_objects_RC \
   19623     predeps_RC \
   19624     postdeps_RC \
   19625     compiler_lib_search_path_RC \
   19626     compiler_lib_search_dirs_RC \
   19627     archive_cmds_RC \
   19628     archive_expsym_cmds_RC \
   19629     postinstall_cmds_RC \
   19630     postuninstall_cmds_RC \
   19631     old_archive_from_expsyms_cmds_RC \
   19632     allow_undefined_flag_RC \
   19633     no_undefined_flag_RC \
   19634     export_symbols_cmds_RC \
   19635     hardcode_libdir_flag_spec_RC \
   19636     hardcode_libdir_flag_spec_ld_RC \
   19637     hardcode_libdir_separator_RC \
   19638     hardcode_automatic_RC \
   19639     module_cmds_RC \
   19640     module_expsym_cmds_RC \
   19641     lt_cv_prog_compiler_c_o_RC \
   19642     fix_srcfile_path_RC \
   19643     exclude_expsyms_RC \
   19644     include_expsyms_RC; do
   19645 
   19646     case $var in
   19647     old_archive_cmds_RC | \
   19648     old_archive_from_new_cmds_RC | \
   19649     archive_cmds_RC | \
   19650     archive_expsym_cmds_RC | \
   19651     module_cmds_RC | \
   19652     module_expsym_cmds_RC | \
   19653     old_archive_from_expsyms_cmds_RC | \
   19654     export_symbols_cmds_RC | \
   19655     extract_expsyms_cmds | reload_cmds | finish_cmds | \
   19656     postinstall_cmds | postuninstall_cmds | \
   19657     old_postinstall_cmds | old_postuninstall_cmds | \
   19658     sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
   19659       # Double-quote double-evaled strings.
   19660       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
   19661       ;;
   19662     *)
   19663       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
   19664       ;;
   19665     esac
   19666   done
   19667 
   19668   case $lt_echo in
   19669   *'\$0 --fallback-echo"')
   19670     lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
   19671     ;;
   19672   esac
   19673 
   19674 cfgfile="$ofile"
   19675 
   19676   cat <<__EOF__ >> "$cfgfile"
   19677 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
   19678 
   19679 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   19680 
   19681 # Shell to use when invoking shell scripts.
   19682 SHELL=$lt_SHELL
   19683 
   19684 # Whether or not to build shared libraries.
   19685 build_libtool_libs=$enable_shared
   19686 
   19687 # Whether or not to build static libraries.
   19688 build_old_libs=$enable_static
   19689 
   19690 # Whether or not to add -lc for building shared libraries.
   19691 build_libtool_need_lc=$archive_cmds_need_lc_RC
   19692 
   19693 # Whether or not to disallow shared libs when runtime libs are static
   19694 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
   19695 
   19696 # Whether or not to optimize for fast installation.
   19697 fast_install=$enable_fast_install
   19698 
   19699 # The host system.
   19700 host_alias=$host_alias
   19701 host=$host
   19702 host_os=$host_os
   19703 
   19704 # The build system.
   19705 build_alias=$build_alias
   19706 build=$build
   19707 build_os=$build_os
   19708 
   19709 # An echo program that does not interpret backslashes.
   19710 echo=$lt_echo
   19711 
   19712 # The archiver.
   19713 AR=$lt_AR
   19714 AR_FLAGS=$lt_AR_FLAGS
   19715 
   19716 # A C compiler.
   19717 LTCC=$lt_LTCC
   19718 
   19719 # LTCC compiler flags.
   19720 LTCFLAGS=$lt_LTCFLAGS
   19721 
   19722 # A language-specific compiler.
   19723 CC=$lt_compiler_RC
   19724 
   19725 # Is the compiler the GNU C compiler?
   19726 with_gcc=$GCC_RC
   19727 
   19728 # An ERE matcher.
   19729 EGREP=$lt_EGREP
   19730 
   19731 # The linker used to build libraries.
   19732 LD=$lt_LD_RC
   19733 
   19734 # Whether we need hard or soft links.
   19735 LN_S=$lt_LN_S
   19736 
   19737 # A BSD-compatible nm program.
   19738 NM=$lt_NM
   19739 
   19740 # A symbol stripping program
   19741 STRIP=$lt_STRIP
   19742 
   19743 # Used to examine libraries when file_magic_cmd begins "file"
   19744 MAGIC_CMD=$MAGIC_CMD
   19745 
   19746 # Used on cygwin: DLL creation program.
   19747 DLLTOOL="$DLLTOOL"
   19748 
   19749 # Used on cygwin: object dumper.
   19750 OBJDUMP="$OBJDUMP"
   19751 
   19752 # Used on cygwin: assembler.
   19753 AS="$AS"
   19754 
   19755 # The name of the directory that contains temporary libtool files.
   19756 objdir=$objdir
   19757 
   19758 # How to create reloadable object files.
   19759 reload_flag=$lt_reload_flag
   19760 reload_cmds=$lt_reload_cmds
   19761 
   19762 # How to pass a linker flag through the compiler.
   19763 wl=$lt_lt_prog_compiler_wl_RC
   19764 
   19765 # Object file suffix (normally "o").
   19766 objext="$ac_objext"
   19767 
   19768 # Old archive suffix (normally "a").
   19769 libext="$libext"
   19770 
   19771 # Shared library suffix (normally ".so").
   19772 shrext_cmds='$shrext_cmds'
   19773 
   19774 # Executable file suffix (normally "").
   19775 exeext="$exeext"
   19776 
   19777 # Additional compiler flags for building library objects.
   19778 pic_flag=$lt_lt_prog_compiler_pic_RC
   19779 pic_mode=$pic_mode
   19780 
   19781 # What is the maximum length of a command?
   19782 max_cmd_len=$lt_cv_sys_max_cmd_len
   19783 
   19784 # Does compiler simultaneously support -c and -o options?
   19785 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
   19786 
   19787 # Must we lock files when doing compilation?
   19788 need_locks=$lt_need_locks
   19789 
   19790 # Do we need the lib prefix for modules?
   19791 need_lib_prefix=$need_lib_prefix
   19792 
   19793 # Do we need a version for libraries?
   19794 need_version=$need_version
   19795 
   19796 # Whether dlopen is supported.
   19797 dlopen_support=$enable_dlopen
   19798 
   19799 # Whether dlopen of programs is supported.
   19800 dlopen_self=$enable_dlopen_self
   19801 
   19802 # Whether dlopen of statically linked programs is supported.
   19803 dlopen_self_static=$enable_dlopen_self_static
   19804 
   19805 # Compiler flag to prevent dynamic linking.
   19806 link_static_flag=$lt_lt_prog_compiler_static_RC
   19807 
   19808 # Compiler flag to turn off builtin functions.
   19809 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
   19810 
   19811 # Compiler flag to allow reflexive dlopens.
   19812 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
   19813 
   19814 # Compiler flag to generate shared objects directly from archives.
   19815 whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
   19816 
   19817 # Compiler flag to generate thread-safe objects.
   19818 thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
   19819 
   19820 # Library versioning type.
   19821 version_type=$version_type
   19822 
   19823 # Format of library name prefix.
   19824 libname_spec=$lt_libname_spec
   19825 
   19826 # List of archive names.  First name is the real one, the rest are links.
   19827 # The last name is the one that the linker finds with -lNAME.
   19828 library_names_spec=$lt_library_names_spec
   19829 
   19830 # The coded name of the library, if different from the real name.
   19831 soname_spec=$lt_soname_spec
   19832 
   19833 # Commands used to build and install an old-style archive.
   19834 RANLIB=$lt_RANLIB
   19835 old_archive_cmds=$lt_old_archive_cmds_RC
   19836 old_postinstall_cmds=$lt_old_postinstall_cmds
   19837 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   19838 
   19839 # Create an old-style archive from a shared archive.
   19840 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
   19841 
   19842 # Create a temporary old-style archive to link instead of a shared archive.
   19843 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
   19844 
   19845 # Commands used to build and install a shared archive.
   19846 archive_cmds=$lt_archive_cmds_RC
   19847 archive_expsym_cmds=$lt_archive_expsym_cmds_RC
   19848 postinstall_cmds=$lt_postinstall_cmds
   19849 postuninstall_cmds=$lt_postuninstall_cmds
   19850 
   19851 # Commands used to build a loadable module (assumed same as above if empty)
   19852 module_cmds=$lt_module_cmds_RC
   19853 module_expsym_cmds=$lt_module_expsym_cmds_RC
   19854 
   19855 # Commands to strip libraries.
   19856 old_striplib=$lt_old_striplib
   19857 striplib=$lt_striplib
   19858 
   19859 # Dependencies to place before the objects being linked to create a
   19860 # shared library.
   19861 predep_objects=$lt_predep_objects_RC
   19862 
   19863 # Dependencies to place after the objects being linked to create a
   19864 # shared library.
   19865 postdep_objects=$lt_postdep_objects_RC
   19866 
   19867 # Dependencies to place before the objects being linked to create a
   19868 # shared library.
   19869 predeps=$lt_predeps_RC
   19870 
   19871 # Dependencies to place after the objects being linked to create a
   19872 # shared library.
   19873 postdeps=$lt_postdeps_RC
   19874 
   19875 # The directories searched by this compiler when creating a shared
   19876 # library
   19877 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_RC
   19878 
   19879 # The library search path used internally by the compiler when linking
   19880 # a shared library.
   19881 compiler_lib_search_path=$lt_compiler_lib_search_path_RC
   19882 
   19883 # Method to check whether dependent libraries are shared objects.
   19884 deplibs_check_method=$lt_deplibs_check_method
   19885 
   19886 # Command to use when deplibs_check_method == file_magic.
   19887 file_magic_cmd=$lt_file_magic_cmd
   19888 
   19889 # Flag that allows shared libraries with undefined symbols to be built.
   19890 allow_undefined_flag=$lt_allow_undefined_flag_RC
   19891 
   19892 # Flag that forces no undefined symbols.
   19893 no_undefined_flag=$lt_no_undefined_flag_RC
   19894 
   19895 # Commands used to finish a libtool library installation in a directory.
   19896 finish_cmds=$lt_finish_cmds
   19897 
   19898 # Same as above, but a single script fragment to be evaled but not shown.
   19899 finish_eval=$lt_finish_eval
   19900 
   19901 # Take the output of nm and produce a listing of raw symbols and C names.
   19902 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   19903 
   19904 # Transform the output of nm in a proper C declaration
   19905 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   19906 
   19907 # Transform the output of nm in a C name address pair
   19908 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   19909 
   19910 # This is the shared library runtime path variable.
   19911 runpath_var=$runpath_var
   19912 
   19913 # This is the shared library path variable.
   19914 shlibpath_var=$shlibpath_var
   19915 
   19916 # Is shlibpath searched before the hard-coded library search path?
   19917 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   19918 
   19919 # How to hardcode a shared library path into an executable.
   19920 hardcode_action=$hardcode_action_RC
   19921 
   19922 # Whether we should hardcode library paths into libraries.
   19923 hardcode_into_libs=$hardcode_into_libs
   19924 
   19925 # Flag to hardcode \$libdir into a binary during linking.
   19926 # This must work even if \$libdir does not exist.
   19927 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
   19928 
   19929 # If ld is used when linking, flag to hardcode \$libdir into
   19930 # a binary during linking. This must work even if \$libdir does
   19931 # not exist.
   19932 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
   19933 
   19934 # Whether we need a single -rpath flag with a separated argument.
   19935 hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
   19936 
   19937 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
   19938 # resulting binary.
   19939 hardcode_direct=$hardcode_direct_RC
   19940 
   19941 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
   19942 # resulting binary.
   19943 hardcode_minus_L=$hardcode_minus_L_RC
   19944 
   19945 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
   19946 # the resulting binary.
   19947 hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
   19948 
   19949 # Set to yes if building a shared library automatically hardcodes DIR into the library
   19950 # and all subsequent libraries and executables linked against it.
   19951 hardcode_automatic=$hardcode_automatic_RC
   19952 
   19953 # Variables whose values should be saved in libtool wrapper scripts and
   19954 # restored at relink time.
   19955 variables_saved_for_relink="$variables_saved_for_relink"
   19956 
   19957 # Whether libtool must link a program against all its dependency libraries.
   19958 link_all_deplibs=$link_all_deplibs_RC
   19959 
   19960 # Compile-time system search path for libraries
   19961 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   19962 
   19963 # Run-time system search path for libraries
   19964 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   19965 
   19966 # Fix the shell variable \$srcfile for the compiler.
   19967 fix_srcfile_path=$lt_fix_srcfile_path
   19968 
   19969 # Set to yes if exported symbols are required.
   19970 always_export_symbols=$always_export_symbols_RC
   19971 
   19972 # The commands to list exported symbols.
   19973 export_symbols_cmds=$lt_export_symbols_cmds_RC
   19974 
   19975 # The commands to extract the exported symbol list from a shared archive.
   19976 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   19977 
   19978 # Symbols that should not be listed in the preloaded symbols.
   19979 exclude_expsyms=$lt_exclude_expsyms_RC
   19980 
   19981 # Symbols that must always be exported.
   19982 include_expsyms=$lt_include_expsyms_RC
   19983 
   19984 # ### END LIBTOOL TAG CONFIG: $tagname
   19985 
   19986 __EOF__
   19987 
   19988 
   19989 else
   19990   # If there is no Makefile yet, we rely on a make rule to execute
   19991   # `config.status --recheck' to rerun these tests and create the
   19992   # libtool script then.
   19993   ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
   19994   if test -f "$ltmain_in"; then
   19995     test -f Makefile && make "$ltmain"
   19996   fi
   19997 fi
   19998 
   19999 
   20000 ac_ext=c
   20001 ac_cpp='$CPP $CPPFLAGS'
   20002 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   20003 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   20004 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   20005 
   20006 CC="$lt_save_CC"
   20007 
   20008 	;;
   20009 
   20010       *)
   20011 	{ { $as_echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
   20012 $as_echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
   20013    { (exit 1); exit 1; }; }
   20014 	;;
   20015       esac
   20016 
   20017       # Append the new tag name to the list of available tags.
   20018       if test -n "$tagname" ; then
   20019       available_tags="$available_tags $tagname"
   20020     fi
   20021     fi
   20022   done
   20023   IFS="$lt_save_ifs"
   20024 
   20025   # Now substitute the updated list of available tags.
   20026   if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
   20027     mv "${ofile}T" "$ofile"
   20028     chmod +x "$ofile"
   20029   else
   20030     rm -f "${ofile}T"
   20031     { { $as_echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
   20032 $as_echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
   20033    { (exit 1); exit 1; }; }
   20034   fi
   20035 fi
   20036 
   20037 
   20038 
   20039 # This can be used to rebuild libtool when needed
   20040 LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
   20041 
   20042 # Always use our own libtool.
   20043 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
   20044 
   20045 # Prevent multiple expansion
   20046 
   20047 
   20048 
   20049 
   20050 
   20051 
   20052 
   20053 
   20054 
   20055 
   20056 
   20057 
   20058 
   20059 
   20060 
   20061 
   20062 
   20063 
   20064 
   20065 
   20066 ac_ext=c
   20067 ac_cpp='$CPP $CPPFLAGS'
   20068 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   20069 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   20070 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   20071 if test -n "$ac_tool_prefix"; then
   20072   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   20073 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   20074 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   20075 $as_echo_n "checking for $ac_word... " >&6; }
   20076 if test "${ac_cv_prog_CC+set}" = set; then
   20077   $as_echo_n "(cached) " >&6
   20078 else
   20079   if test -n "$CC"; then
   20080   ac_cv_prog_CC="$CC" # Let the user override the test.
   20081 else
   20082 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   20083 for as_dir in $PATH
   20084 do
   20085   IFS=$as_save_IFS
   20086   test -z "$as_dir" && as_dir=.
   20087   for ac_exec_ext in '' $ac_executable_extensions; do
   20088   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   20089     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   20090     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   20091     break 2
   20092   fi
   20093 done
   20094 done
   20095 IFS=$as_save_IFS
   20096 
   20097 fi
   20098 fi
   20099 CC=$ac_cv_prog_CC
   20100 if test -n "$CC"; then
   20101   { $as_echo "$as_me:$LINENO: result: $CC" >&5
   20102 $as_echo "$CC" >&6; }
   20103 else
   20104   { $as_echo "$as_me:$LINENO: result: no" >&5
   20105 $as_echo "no" >&6; }
   20106 fi
   20107 
   20108 
   20109 fi
   20110 if test -z "$ac_cv_prog_CC"; then
   20111   ac_ct_CC=$CC
   20112   # Extract the first word of "gcc", so it can be a program name with args.
   20113 set dummy gcc; ac_word=$2
   20114 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   20115 $as_echo_n "checking for $ac_word... " >&6; }
   20116 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
   20117   $as_echo_n "(cached) " >&6
   20118 else
   20119   if test -n "$ac_ct_CC"; then
   20120   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   20121 else
   20122 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   20123 for as_dir in $PATH
   20124 do
   20125   IFS=$as_save_IFS
   20126   test -z "$as_dir" && as_dir=.
   20127   for ac_exec_ext in '' $ac_executable_extensions; do
   20128   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   20129     ac_cv_prog_ac_ct_CC="gcc"
   20130     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   20131     break 2
   20132   fi
   20133 done
   20134 done
   20135 IFS=$as_save_IFS
   20136 
   20137 fi
   20138 fi
   20139 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   20140 if test -n "$ac_ct_CC"; then
   20141   { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
   20142 $as_echo "$ac_ct_CC" >&6; }
   20143 else
   20144   { $as_echo "$as_me:$LINENO: result: no" >&5
   20145 $as_echo "no" >&6; }
   20146 fi
   20147 
   20148   if test "x$ac_ct_CC" = x; then
   20149     CC=""
   20150   else
   20151     case $cross_compiling:$ac_tool_warned in
   20152 yes:)
   20153 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   20154 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   20155 ac_tool_warned=yes ;;
   20156 esac
   20157     CC=$ac_ct_CC
   20158   fi
   20159 else
   20160   CC="$ac_cv_prog_CC"
   20161 fi
   20162 
   20163 if test -z "$CC"; then
   20164           if test -n "$ac_tool_prefix"; then
   20165     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   20166 set dummy ${ac_tool_prefix}cc; ac_word=$2
   20167 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   20168 $as_echo_n "checking for $ac_word... " >&6; }
   20169 if test "${ac_cv_prog_CC+set}" = set; then
   20170   $as_echo_n "(cached) " >&6
   20171 else
   20172   if test -n "$CC"; then
   20173   ac_cv_prog_CC="$CC" # Let the user override the test.
   20174 else
   20175 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   20176 for as_dir in $PATH
   20177 do
   20178   IFS=$as_save_IFS
   20179   test -z "$as_dir" && as_dir=.
   20180   for ac_exec_ext in '' $ac_executable_extensions; do
   20181   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   20182     ac_cv_prog_CC="${ac_tool_prefix}cc"
   20183     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   20184     break 2
   20185   fi
   20186 done
   20187 done
   20188 IFS=$as_save_IFS
   20189 
   20190 fi
   20191 fi
   20192 CC=$ac_cv_prog_CC
   20193 if test -n "$CC"; then
   20194   { $as_echo "$as_me:$LINENO: result: $CC" >&5
   20195 $as_echo "$CC" >&6; }
   20196 else
   20197   { $as_echo "$as_me:$LINENO: result: no" >&5
   20198 $as_echo "no" >&6; }
   20199 fi
   20200 
   20201 
   20202   fi
   20203 fi
   20204 if test -z "$CC"; then
   20205   # Extract the first word of "cc", so it can be a program name with args.
   20206 set dummy cc; ac_word=$2
   20207 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   20208 $as_echo_n "checking for $ac_word... " >&6; }
   20209 if test "${ac_cv_prog_CC+set}" = set; then
   20210   $as_echo_n "(cached) " >&6
   20211 else
   20212   if test -n "$CC"; then
   20213   ac_cv_prog_CC="$CC" # Let the user override the test.
   20214 else
   20215   ac_prog_rejected=no
   20216 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   20217 for as_dir in $PATH
   20218 do
   20219   IFS=$as_save_IFS
   20220   test -z "$as_dir" && as_dir=.
   20221   for ac_exec_ext in '' $ac_executable_extensions; do
   20222   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   20223     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   20224        ac_prog_rejected=yes
   20225        continue
   20226      fi
   20227     ac_cv_prog_CC="cc"
   20228     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   20229     break 2
   20230   fi
   20231 done
   20232 done
   20233 IFS=$as_save_IFS
   20234 
   20235 if test $ac_prog_rejected = yes; then
   20236   # We found a bogon in the path, so make sure we never use it.
   20237   set dummy $ac_cv_prog_CC
   20238   shift
   20239   if test $# != 0; then
   20240     # We chose a different compiler from the bogus one.
   20241     # However, it has the same basename, so the bogon will be chosen
   20242     # first if we set CC to just the basename; use the full file name.
   20243     shift
   20244     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   20245   fi
   20246 fi
   20247 fi
   20248 fi
   20249 CC=$ac_cv_prog_CC
   20250 if test -n "$CC"; then
   20251   { $as_echo "$as_me:$LINENO: result: $CC" >&5
   20252 $as_echo "$CC" >&6; }
   20253 else
   20254   { $as_echo "$as_me:$LINENO: result: no" >&5
   20255 $as_echo "no" >&6; }
   20256 fi
   20257 
   20258 
   20259 fi
   20260 if test -z "$CC"; then
   20261   if test -n "$ac_tool_prefix"; then
   20262   for ac_prog in cl.exe
   20263   do
   20264     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   20265 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   20266 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   20267 $as_echo_n "checking for $ac_word... " >&6; }
   20268 if test "${ac_cv_prog_CC+set}" = set; then
   20269   $as_echo_n "(cached) " >&6
   20270 else
   20271   if test -n "$CC"; then
   20272   ac_cv_prog_CC="$CC" # Let the user override the test.
   20273 else
   20274 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   20275 for as_dir in $PATH
   20276 do
   20277   IFS=$as_save_IFS
   20278   test -z "$as_dir" && as_dir=.
   20279   for ac_exec_ext in '' $ac_executable_extensions; do
   20280   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   20281     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   20282     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   20283     break 2
   20284   fi
   20285 done
   20286 done
   20287 IFS=$as_save_IFS
   20288 
   20289 fi
   20290 fi
   20291 CC=$ac_cv_prog_CC
   20292 if test -n "$CC"; then
   20293   { $as_echo "$as_me:$LINENO: result: $CC" >&5
   20294 $as_echo "$CC" >&6; }
   20295 else
   20296   { $as_echo "$as_me:$LINENO: result: no" >&5
   20297 $as_echo "no" >&6; }
   20298 fi
   20299 
   20300 
   20301     test -n "$CC" && break
   20302   done
   20303 fi
   20304 if test -z "$CC"; then
   20305   ac_ct_CC=$CC
   20306   for ac_prog in cl.exe
   20307 do
   20308   # Extract the first word of "$ac_prog", so it can be a program name with args.
   20309 set dummy $ac_prog; ac_word=$2
   20310 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   20311 $as_echo_n "checking for $ac_word... " >&6; }
   20312 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
   20313   $as_echo_n "(cached) " >&6
   20314 else
   20315   if test -n "$ac_ct_CC"; then
   20316   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   20317 else
   20318 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   20319 for as_dir in $PATH
   20320 do
   20321   IFS=$as_save_IFS
   20322   test -z "$as_dir" && as_dir=.
   20323   for ac_exec_ext in '' $ac_executable_extensions; do
   20324   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   20325     ac_cv_prog_ac_ct_CC="$ac_prog"
   20326     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   20327     break 2
   20328   fi
   20329 done
   20330 done
   20331 IFS=$as_save_IFS
   20332 
   20333 fi
   20334 fi
   20335 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   20336 if test -n "$ac_ct_CC"; then
   20337   { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
   20338 $as_echo "$ac_ct_CC" >&6; }
   20339 else
   20340   { $as_echo "$as_me:$LINENO: result: no" >&5
   20341 $as_echo "no" >&6; }
   20342 fi
   20343 
   20344 
   20345   test -n "$ac_ct_CC" && break
   20346 done
   20347 
   20348   if test "x$ac_ct_CC" = x; then
   20349     CC=""
   20350   else
   20351     case $cross_compiling:$ac_tool_warned in
   20352 yes:)
   20353 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   20354 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   20355 ac_tool_warned=yes ;;
   20356 esac
   20357     CC=$ac_ct_CC
   20358   fi
   20359 fi
   20360 
   20361 fi
   20362 
   20363 
   20364 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   20365 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   20366 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
   20367 See \`config.log' for more details." >&5
   20368 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
   20369 See \`config.log' for more details." >&2;}
   20370    { (exit 1); exit 1; }; }; }
   20371 
   20372 # Provide some information about the compiler.
   20373 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
   20374 set X $ac_compile
   20375 ac_compiler=$2
   20376 { (ac_try="$ac_compiler --version >&5"
   20377 case "(($ac_try" in
   20378   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20379   *) ac_try_echo=$ac_try;;
   20380 esac
   20381 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   20382 $as_echo "$ac_try_echo") >&5
   20383   (eval "$ac_compiler --version >&5") 2>&5
   20384   ac_status=$?
   20385   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20386   (exit $ac_status); }
   20387 { (ac_try="$ac_compiler -v >&5"
   20388 case "(($ac_try" in
   20389   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20390   *) ac_try_echo=$ac_try;;
   20391 esac
   20392 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   20393 $as_echo "$ac_try_echo") >&5
   20394   (eval "$ac_compiler -v >&5") 2>&5
   20395   ac_status=$?
   20396   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20397   (exit $ac_status); }
   20398 { (ac_try="$ac_compiler -V >&5"
   20399 case "(($ac_try" in
   20400   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20401   *) ac_try_echo=$ac_try;;
   20402 esac
   20403 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   20404 $as_echo "$ac_try_echo") >&5
   20405   (eval "$ac_compiler -V >&5") 2>&5
   20406   ac_status=$?
   20407   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20408   (exit $ac_status); }
   20409 
   20410 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
   20411 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
   20412 if test "${ac_cv_c_compiler_gnu+set}" = set; then
   20413   $as_echo_n "(cached) " >&6
   20414 else
   20415   cat >conftest.$ac_ext <<_ACEOF
   20416 /* confdefs.h.  */
   20417 _ACEOF
   20418 cat confdefs.h >>conftest.$ac_ext
   20419 cat >>conftest.$ac_ext <<_ACEOF
   20420 /* end confdefs.h.  */
   20421 
   20422 int
   20423 main ()
   20424 {
   20425 #ifndef __GNUC__
   20426        choke me
   20427 #endif
   20428 
   20429   ;
   20430   return 0;
   20431 }
   20432 _ACEOF
   20433 rm -f conftest.$ac_objext
   20434 if { (ac_try="$ac_compile"
   20435 case "(($ac_try" in
   20436   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20437   *) ac_try_echo=$ac_try;;
   20438 esac
   20439 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   20440 $as_echo "$ac_try_echo") >&5
   20441   (eval "$ac_compile") 2>conftest.er1
   20442   ac_status=$?
   20443   grep -v '^ *+' conftest.er1 >conftest.err
   20444   rm -f conftest.er1
   20445   cat conftest.err >&5
   20446   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20447   (exit $ac_status); } && {
   20448 	 test -z "$ac_c_werror_flag" ||
   20449 	 test ! -s conftest.err
   20450        } && test -s conftest.$ac_objext; then
   20451   ac_compiler_gnu=yes
   20452 else
   20453   $as_echo "$as_me: failed program was:" >&5
   20454 sed 's/^/| /' conftest.$ac_ext >&5
   20455 
   20456 	ac_compiler_gnu=no
   20457 fi
   20458 
   20459 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   20460 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   20461 
   20462 fi
   20463 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
   20464 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
   20465 if test $ac_compiler_gnu = yes; then
   20466   GCC=yes
   20467 else
   20468   GCC=
   20469 fi
   20470 ac_test_CFLAGS=${CFLAGS+set}
   20471 ac_save_CFLAGS=$CFLAGS
   20472 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
   20473 $as_echo_n "checking whether $CC accepts -g... " >&6; }
   20474 if test "${ac_cv_prog_cc_g+set}" = set; then
   20475   $as_echo_n "(cached) " >&6
   20476 else
   20477   ac_save_c_werror_flag=$ac_c_werror_flag
   20478    ac_c_werror_flag=yes
   20479    ac_cv_prog_cc_g=no
   20480    CFLAGS="-g"
   20481    cat >conftest.$ac_ext <<_ACEOF
   20482 /* confdefs.h.  */
   20483 _ACEOF
   20484 cat confdefs.h >>conftest.$ac_ext
   20485 cat >>conftest.$ac_ext <<_ACEOF
   20486 /* end confdefs.h.  */
   20487 
   20488 int
   20489 main ()
   20490 {
   20491 
   20492   ;
   20493   return 0;
   20494 }
   20495 _ACEOF
   20496 rm -f conftest.$ac_objext
   20497 if { (ac_try="$ac_compile"
   20498 case "(($ac_try" in
   20499   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20500   *) ac_try_echo=$ac_try;;
   20501 esac
   20502 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   20503 $as_echo "$ac_try_echo") >&5
   20504   (eval "$ac_compile") 2>conftest.er1
   20505   ac_status=$?
   20506   grep -v '^ *+' conftest.er1 >conftest.err
   20507   rm -f conftest.er1
   20508   cat conftest.err >&5
   20509   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20510   (exit $ac_status); } && {
   20511 	 test -z "$ac_c_werror_flag" ||
   20512 	 test ! -s conftest.err
   20513        } && test -s conftest.$ac_objext; then
   20514   ac_cv_prog_cc_g=yes
   20515 else
   20516   $as_echo "$as_me: failed program was:" >&5
   20517 sed 's/^/| /' conftest.$ac_ext >&5
   20518 
   20519 	CFLAGS=""
   20520       cat >conftest.$ac_ext <<_ACEOF
   20521 /* confdefs.h.  */
   20522 _ACEOF
   20523 cat confdefs.h >>conftest.$ac_ext
   20524 cat >>conftest.$ac_ext <<_ACEOF
   20525 /* end confdefs.h.  */
   20526 
   20527 int
   20528 main ()
   20529 {
   20530 
   20531   ;
   20532   return 0;
   20533 }
   20534 _ACEOF
   20535 rm -f conftest.$ac_objext
   20536 if { (ac_try="$ac_compile"
   20537 case "(($ac_try" in
   20538   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20539   *) ac_try_echo=$ac_try;;
   20540 esac
   20541 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   20542 $as_echo "$ac_try_echo") >&5
   20543   (eval "$ac_compile") 2>conftest.er1
   20544   ac_status=$?
   20545   grep -v '^ *+' conftest.er1 >conftest.err
   20546   rm -f conftest.er1
   20547   cat conftest.err >&5
   20548   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20549   (exit $ac_status); } && {
   20550 	 test -z "$ac_c_werror_flag" ||
   20551 	 test ! -s conftest.err
   20552        } && test -s conftest.$ac_objext; then
   20553   :
   20554 else
   20555   $as_echo "$as_me: failed program was:" >&5
   20556 sed 's/^/| /' conftest.$ac_ext >&5
   20557 
   20558 	ac_c_werror_flag=$ac_save_c_werror_flag
   20559 	 CFLAGS="-g"
   20560 	 cat >conftest.$ac_ext <<_ACEOF
   20561 /* confdefs.h.  */
   20562 _ACEOF
   20563 cat confdefs.h >>conftest.$ac_ext
   20564 cat >>conftest.$ac_ext <<_ACEOF
   20565 /* end confdefs.h.  */
   20566 
   20567 int
   20568 main ()
   20569 {
   20570 
   20571   ;
   20572   return 0;
   20573 }
   20574 _ACEOF
   20575 rm -f conftest.$ac_objext
   20576 if { (ac_try="$ac_compile"
   20577 case "(($ac_try" in
   20578   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20579   *) ac_try_echo=$ac_try;;
   20580 esac
   20581 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   20582 $as_echo "$ac_try_echo") >&5
   20583   (eval "$ac_compile") 2>conftest.er1
   20584   ac_status=$?
   20585   grep -v '^ *+' conftest.er1 >conftest.err
   20586   rm -f conftest.er1
   20587   cat conftest.err >&5
   20588   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20589   (exit $ac_status); } && {
   20590 	 test -z "$ac_c_werror_flag" ||
   20591 	 test ! -s conftest.err
   20592        } && test -s conftest.$ac_objext; then
   20593   ac_cv_prog_cc_g=yes
   20594 else
   20595   $as_echo "$as_me: failed program was:" >&5
   20596 sed 's/^/| /' conftest.$ac_ext >&5
   20597 
   20598 
   20599 fi
   20600 
   20601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   20602 fi
   20603 
   20604 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   20605 fi
   20606 
   20607 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   20608    ac_c_werror_flag=$ac_save_c_werror_flag
   20609 fi
   20610 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
   20611 $as_echo "$ac_cv_prog_cc_g" >&6; }
   20612 if test "$ac_test_CFLAGS" = set; then
   20613   CFLAGS=$ac_save_CFLAGS
   20614 elif test $ac_cv_prog_cc_g = yes; then
   20615   if test "$GCC" = yes; then
   20616     CFLAGS="-g -O2"
   20617   else
   20618     CFLAGS="-g"
   20619   fi
   20620 else
   20621   if test "$GCC" = yes; then
   20622     CFLAGS="-O2"
   20623   else
   20624     CFLAGS=
   20625   fi
   20626 fi
   20627 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
   20628 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
   20629 if test "${ac_cv_prog_cc_c89+set}" = set; then
   20630   $as_echo_n "(cached) " >&6
   20631 else
   20632   ac_cv_prog_cc_c89=no
   20633 ac_save_CC=$CC
   20634 cat >conftest.$ac_ext <<_ACEOF
   20635 /* confdefs.h.  */
   20636 _ACEOF
   20637 cat confdefs.h >>conftest.$ac_ext
   20638 cat >>conftest.$ac_ext <<_ACEOF
   20639 /* end confdefs.h.  */
   20640 #include <stdarg.h>
   20641 #include <stdio.h>
   20642 #include <sys/types.h>
   20643 #include <sys/stat.h>
   20644 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   20645 struct buf { int x; };
   20646 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   20647 static char *e (p, i)
   20648      char **p;
   20649      int i;
   20650 {
   20651   return p[i];
   20652 }
   20653 static char *f (char * (*g) (char **, int), char **p, ...)
   20654 {
   20655   char *s;
   20656   va_list v;
   20657   va_start (v,p);
   20658   s = g (p, va_arg (v,int));
   20659   va_end (v);
   20660   return s;
   20661 }
   20662 
   20663 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   20664    function prototypes and stuff, but not '\xHH' hex character constants.
   20665    These don't provoke an error unfortunately, instead are silently treated
   20666    as 'x'.  The following induces an error, until -std is added to get
   20667    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   20668    array size at least.  It's necessary to write '\x00'==0 to get something
   20669    that's true only with -std.  */
   20670 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   20671 
   20672 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   20673    inside strings and character constants.  */
   20674 #define FOO(x) 'x'
   20675 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   20676 
   20677 int test (int i, double x);
   20678 struct s1 {int (*f) (int a);};
   20679 struct s2 {int (*f) (double a);};
   20680 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   20681 int argc;
   20682 char **argv;
   20683 int
   20684 main ()
   20685 {
   20686 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   20687   ;
   20688   return 0;
   20689 }
   20690 _ACEOF
   20691 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   20692 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   20693 do
   20694   CC="$ac_save_CC $ac_arg"
   20695   rm -f conftest.$ac_objext
   20696 if { (ac_try="$ac_compile"
   20697 case "(($ac_try" in
   20698   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20699   *) ac_try_echo=$ac_try;;
   20700 esac
   20701 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   20702 $as_echo "$ac_try_echo") >&5
   20703   (eval "$ac_compile") 2>conftest.er1
   20704   ac_status=$?
   20705   grep -v '^ *+' conftest.er1 >conftest.err
   20706   rm -f conftest.er1
   20707   cat conftest.err >&5
   20708   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20709   (exit $ac_status); } && {
   20710 	 test -z "$ac_c_werror_flag" ||
   20711 	 test ! -s conftest.err
   20712        } && test -s conftest.$ac_objext; then
   20713   ac_cv_prog_cc_c89=$ac_arg
   20714 else
   20715   $as_echo "$as_me: failed program was:" >&5
   20716 sed 's/^/| /' conftest.$ac_ext >&5
   20717 
   20718 
   20719 fi
   20720 
   20721 rm -f core conftest.err conftest.$ac_objext
   20722   test "x$ac_cv_prog_cc_c89" != "xno" && break
   20723 done
   20724 rm -f conftest.$ac_ext
   20725 CC=$ac_save_CC
   20726 
   20727 fi
   20728 # AC_CACHE_VAL
   20729 case "x$ac_cv_prog_cc_c89" in
   20730   x)
   20731     { $as_echo "$as_me:$LINENO: result: none needed" >&5
   20732 $as_echo "none needed" >&6; } ;;
   20733   xno)
   20734     { $as_echo "$as_me:$LINENO: result: unsupported" >&5
   20735 $as_echo "unsupported" >&6; } ;;
   20736   *)
   20737     CC="$CC $ac_cv_prog_cc_c89"
   20738     { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
   20739 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
   20740 esac
   20741 
   20742 
   20743 ac_ext=c
   20744 ac_cpp='$CPP $CPPFLAGS'
   20745 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   20746 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   20747 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   20748 
   20749 depcc="$CC"   am_compiler_list=
   20750 
   20751 { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
   20752 $as_echo_n "checking dependency style of $depcc... " >&6; }
   20753 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
   20754   $as_echo_n "(cached) " >&6
   20755 else
   20756   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   20757   # We make a subdir and do the tests there.  Otherwise we can end up
   20758   # making bogus files that we don't know about and never remove.  For
   20759   # instance it was reported that on HP-UX the gcc test will end up
   20760   # making a dummy file named `D' -- because `-MD' means `put the output
   20761   # in D'.
   20762   mkdir conftest.dir
   20763   # Copy depcomp to subdir because otherwise we won't find it if we're
   20764   # using a relative directory.
   20765   cp "$am_depcomp" conftest.dir
   20766   cd conftest.dir
   20767   # We will build objects and dependencies in a subdirectory because
   20768   # it helps to detect inapplicable dependency modes.  For instance
   20769   # both Tru64's cc and ICC support -MD to output dependencies as a
   20770   # side effect of compilation, but ICC will put the dependencies in
   20771   # the current directory while Tru64 will put them in the object
   20772   # directory.
   20773   mkdir sub
   20774 
   20775   am_cv_CC_dependencies_compiler_type=none
   20776   if test "$am_compiler_list" = ""; then
   20777      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   20778   fi
   20779   am__universal=false
   20780   case " $depcc " in #(
   20781      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   20782      esac
   20783 
   20784   for depmode in $am_compiler_list; do
   20785     # Setup a source with many dependencies, because some compilers
   20786     # like to wrap large dependency lists on column 80 (with \), and
   20787     # we should not choose a depcomp mode which is confused by this.
   20788     #
   20789     # We need to recreate these files for each test, as the compiler may
   20790     # overwrite some of them when testing with obscure command lines.
   20791     # This happens at least with the AIX C compiler.
   20792     : > sub/conftest.c
   20793     for i in 1 2 3 4 5 6; do
   20794       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   20795       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
   20796       # Solaris 8's {/usr,}/bin/sh.
   20797       touch sub/conftst$i.h
   20798     done
   20799     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   20800 
   20801     # We check with `-c' and `-o' for the sake of the "dashmstdout"
   20802     # mode.  It turns out that the SunPro C++ compiler does not properly
   20803     # handle `-M -o', and we need to detect this.  Also, some Intel
   20804     # versions had trouble with output in subdirs
   20805     am__obj=sub/conftest.${OBJEXT-o}
   20806     am__minus_obj="-o $am__obj"
   20807     case $depmode in
   20808     gcc)
   20809       # This depmode causes a compiler race in universal mode.
   20810       test "$am__universal" = false || continue
   20811       ;;
   20812     nosideeffect)
   20813       # after this tag, mechanisms are not by side-effect, so they'll
   20814       # only be used when explicitly requested
   20815       if test "x$enable_dependency_tracking" = xyes; then
   20816 	continue
   20817       else
   20818 	break
   20819       fi
   20820       ;;
   20821     msvisualcpp | msvcmsys)
   20822       # This compiler won't grok `-c -o', but also, the minuso test has
   20823       # not run yet.  These depmodes are late enough in the game, and
   20824       # so weak that their functioning should not be impacted.
   20825       am__obj=conftest.${OBJEXT-o}
   20826       am__minus_obj=
   20827       ;;
   20828     none) break ;;
   20829     esac
   20830     if depmode=$depmode \
   20831        source=sub/conftest.c object=$am__obj \
   20832        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   20833        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   20834          >/dev/null 2>conftest.err &&
   20835        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   20836        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   20837        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   20838        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   20839       # icc doesn't choke on unknown options, it will just issue warnings
   20840       # or remarks (even with -Werror).  So we grep stderr for any message
   20841       # that says an option was ignored or not supported.
   20842       # When given -MP, icc 7.0 and 7.1 complain thusly:
   20843       #   icc: Command line warning: ignoring option '-M'; no argument required
   20844       # The diagnosis changed in icc 8.0:
   20845       #   icc: Command line remark: option '-MP' not supported
   20846       if (grep 'ignoring option' conftest.err ||
   20847           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   20848         am_cv_CC_dependencies_compiler_type=$depmode
   20849         break
   20850       fi
   20851     fi
   20852   done
   20853 
   20854   cd ..
   20855   rm -rf conftest.dir
   20856 else
   20857   am_cv_CC_dependencies_compiler_type=none
   20858 fi
   20859 
   20860 fi
   20861 { $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
   20862 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
   20863 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   20864 
   20865  if
   20866   test "x$enable_dependency_tracking" != xno \
   20867   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   20868   am__fastdepCC_TRUE=
   20869   am__fastdepCC_FALSE='#'
   20870 else
   20871   am__fastdepCC_TRUE='#'
   20872   am__fastdepCC_FALSE=
   20873 fi
   20874 
   20875 
   20876 
   20877 
   20878 
   20879 
   20880 
   20881 # Check whether --with-xorg-module-dir was given.
   20882 if test "${with_xorg_module_dir+set}" = set; then
   20883   withval=$with_xorg_module_dir;  moduledir="$withval"
   20884 else
   20885    moduledir="$libdir/xorg/modules"
   20886 fi
   20887 
   20888 
   20889 
   20890 
   20891 # Checks for extensions
   20892 
   20893 	SAVE_CFLAGS="$CFLAGS"
   20894 	CFLAGS="$CFLAGS -I`pkg-config --variable=sdkdir xorg-server`"
   20895 	cat >conftest.$ac_ext <<_ACEOF
   20896 /* confdefs.h.  */
   20897 _ACEOF
   20898 cat confdefs.h >>conftest.$ac_ext
   20899 cat >>conftest.$ac_ext <<_ACEOF
   20900 /* end confdefs.h.  */
   20901 
   20902 #include "xorg-server.h"
   20903 #if !defined RANDR
   20904 #error RANDR not defined
   20905 #endif
   20906 
   20907 int
   20908 main ()
   20909 {
   20910 
   20911   ;
   20912   return 0;
   20913 }
   20914 _ACEOF
   20915 rm -f conftest.$ac_objext
   20916 if { (ac_try="$ac_compile"
   20917 case "(($ac_try" in
   20918   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20919   *) ac_try_echo=$ac_try;;
   20920 esac
   20921 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   20922 $as_echo "$ac_try_echo") >&5
   20923   (eval "$ac_compile") 2>conftest.er1
   20924   ac_status=$?
   20925   grep -v '^ *+' conftest.er1 >conftest.err
   20926   rm -f conftest.er1
   20927   cat conftest.err >&5
   20928   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20929   (exit $ac_status); } && {
   20930 	 test -z "$ac_c_werror_flag" ||
   20931 	 test ! -s conftest.err
   20932        } && test -s conftest.$ac_objext; then
   20933   _EXT_CHECK=yes
   20934 else
   20935   $as_echo "$as_me: failed program was:" >&5
   20936 sed 's/^/| /' conftest.$ac_ext >&5
   20937 
   20938 	_EXT_CHECK=no
   20939 fi
   20940 
   20941 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   20942 	CFLAGS="$SAVE_CFLAGS"
   20943 	{ $as_echo "$as_me:$LINENO: checking if RANDR is defined" >&5
   20944 $as_echo_n "checking if RANDR is defined... " >&6; }
   20945 	{ $as_echo "$as_me:$LINENO: result: $_EXT_CHECK" >&5
   20946 $as_echo "$_EXT_CHECK" >&6; }
   20947 	if test "$_EXT_CHECK" != no; then
   20948 		REQUIRED_MODULES="$REQUIRED_MODULES randrproto"
   20949 	fi
   20950 
   20951 
   20952 	SAVE_CFLAGS="$CFLAGS"
   20953 	CFLAGS="$CFLAGS -I`pkg-config --variable=sdkdir xorg-server`"
   20954 	cat >conftest.$ac_ext <<_ACEOF
   20955 /* confdefs.h.  */
   20956 _ACEOF
   20957 cat confdefs.h >>conftest.$ac_ext
   20958 cat >>conftest.$ac_ext <<_ACEOF
   20959 /* end confdefs.h.  */
   20960 
   20961 #include "xorg-server.h"
   20962 #if !defined RENDER
   20963 #error RENDER not defined
   20964 #endif
   20965 
   20966 int
   20967 main ()
   20968 {
   20969 
   20970   ;
   20971   return 0;
   20972 }
   20973 _ACEOF
   20974 rm -f conftest.$ac_objext
   20975 if { (ac_try="$ac_compile"
   20976 case "(($ac_try" in
   20977   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20978   *) ac_try_echo=$ac_try;;
   20979 esac
   20980 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   20981 $as_echo "$ac_try_echo") >&5
   20982   (eval "$ac_compile") 2>conftest.er1
   20983   ac_status=$?
   20984   grep -v '^ *+' conftest.er1 >conftest.err
   20985   rm -f conftest.er1
   20986   cat conftest.err >&5
   20987   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20988   (exit $ac_status); } && {
   20989 	 test -z "$ac_c_werror_flag" ||
   20990 	 test ! -s conftest.err
   20991        } && test -s conftest.$ac_objext; then
   20992   _EXT_CHECK=yes
   20993 else
   20994   $as_echo "$as_me: failed program was:" >&5
   20995 sed 's/^/| /' conftest.$ac_ext >&5
   20996 
   20997 	_EXT_CHECK=no
   20998 fi
   20999 
   21000 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   21001 	CFLAGS="$SAVE_CFLAGS"
   21002 	{ $as_echo "$as_me:$LINENO: checking if RENDER is defined" >&5
   21003 $as_echo_n "checking if RENDER is defined... " >&6; }
   21004 	{ $as_echo "$as_me:$LINENO: result: $_EXT_CHECK" >&5
   21005 $as_echo "$_EXT_CHECK" >&6; }
   21006 	if test "$_EXT_CHECK" != no; then
   21007 		REQUIRED_MODULES="$REQUIRED_MODULES renderproto"
   21008 	fi
   21009 
   21010 
   21011 	SAVE_CFLAGS="$CFLAGS"
   21012 	CFLAGS="$CFLAGS -I`pkg-config --variable=sdkdir xorg-server`"
   21013 	cat >conftest.$ac_ext <<_ACEOF
   21014 /* confdefs.h.  */
   21015 _ACEOF
   21016 cat confdefs.h >>conftest.$ac_ext
   21017 cat >>conftest.$ac_ext <<_ACEOF
   21018 /* end confdefs.h.  */
   21019 
   21020 #include "xorg-server.h"
   21021 #if !defined XV
   21022 #error XV not defined
   21023 #endif
   21024 
   21025 int
   21026 main ()
   21027 {
   21028 
   21029   ;
   21030   return 0;
   21031 }
   21032 _ACEOF
   21033 rm -f conftest.$ac_objext
   21034 if { (ac_try="$ac_compile"
   21035 case "(($ac_try" in
   21036   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   21037   *) ac_try_echo=$ac_try;;
   21038 esac
   21039 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   21040 $as_echo "$ac_try_echo") >&5
   21041   (eval "$ac_compile") 2>conftest.er1
   21042   ac_status=$?
   21043   grep -v '^ *+' conftest.er1 >conftest.err
   21044   rm -f conftest.er1
   21045   cat conftest.err >&5
   21046   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21047   (exit $ac_status); } && {
   21048 	 test -z "$ac_c_werror_flag" ||
   21049 	 test ! -s conftest.err
   21050        } && test -s conftest.$ac_objext; then
   21051   _EXT_CHECK=yes
   21052 else
   21053   $as_echo "$as_me: failed program was:" >&5
   21054 sed 's/^/| /' conftest.$ac_ext >&5
   21055 
   21056 	_EXT_CHECK=no
   21057 fi
   21058 
   21059 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   21060 	CFLAGS="$SAVE_CFLAGS"
   21061 	{ $as_echo "$as_me:$LINENO: checking if XV is defined" >&5
   21062 $as_echo_n "checking if XV is defined... " >&6; }
   21063 	{ $as_echo "$as_me:$LINENO: result: $_EXT_CHECK" >&5
   21064 $as_echo "$_EXT_CHECK" >&6; }
   21065 	if test "$_EXT_CHECK" != no; then
   21066 		REQUIRED_MODULES="$REQUIRED_MODULES videoproto"
   21067 	fi
   21068 
   21069 
   21070 	SAVE_CFLAGS="$CFLAGS"
   21071 	CFLAGS="$CFLAGS -I`pkg-config --variable=sdkdir xorg-server`"
   21072 	cat >conftest.$ac_ext <<_ACEOF
   21073 /* confdefs.h.  */
   21074 _ACEOF
   21075 cat confdefs.h >>conftest.$ac_ext
   21076 cat >>conftest.$ac_ext <<_ACEOF
   21077 /* end confdefs.h.  */
   21078 
   21079 #include "xorg-server.h"
   21080 #if !defined DPMSExtension
   21081 #error DPMSExtension not defined
   21082 #endif
   21083 
   21084 int
   21085 main ()
   21086 {
   21087 
   21088   ;
   21089   return 0;
   21090 }
   21091 _ACEOF
   21092 rm -f conftest.$ac_objext
   21093 if { (ac_try="$ac_compile"
   21094 case "(($ac_try" in
   21095   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   21096   *) ac_try_echo=$ac_try;;
   21097 esac
   21098 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   21099 $as_echo "$ac_try_echo") >&5
   21100   (eval "$ac_compile") 2>conftest.er1
   21101   ac_status=$?
   21102   grep -v '^ *+' conftest.er1 >conftest.err
   21103   rm -f conftest.er1
   21104   cat conftest.err >&5
   21105   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21106   (exit $ac_status); } && {
   21107 	 test -z "$ac_c_werror_flag" ||
   21108 	 test ! -s conftest.err
   21109        } && test -s conftest.$ac_objext; then
   21110   _EXT_CHECK=yes
   21111 else
   21112   $as_echo "$as_me: failed program was:" >&5
   21113 sed 's/^/| /' conftest.$ac_ext >&5
   21114 
   21115 	_EXT_CHECK=no
   21116 fi
   21117 
   21118 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   21119 	CFLAGS="$SAVE_CFLAGS"
   21120 	{ $as_echo "$as_me:$LINENO: checking if DPMSExtension is defined" >&5
   21121 $as_echo_n "checking if DPMSExtension is defined... " >&6; }
   21122 	{ $as_echo "$as_me:$LINENO: result: $_EXT_CHECK" >&5
   21123 $as_echo "$_EXT_CHECK" >&6; }
   21124 	if test "$_EXT_CHECK" != no; then
   21125 		REQUIRED_MODULES="$REQUIRED_MODULES xextproto"
   21126 	fi
   21127 
   21128 
   21129 # Checks for pkg-config packages
   21130 
   21131 
   21132 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   21133 	if test -n "$ac_tool_prefix"; then
   21134   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   21135 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   21136 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   21137 $as_echo_n "checking for $ac_word... " >&6; }
   21138 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
   21139   $as_echo_n "(cached) " >&6
   21140 else
   21141   case $PKG_CONFIG in
   21142   [\\/]* | ?:[\\/]*)
   21143   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   21144   ;;
   21145   *)
   21146   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   21147 for as_dir in $PATH
   21148 do
   21149   IFS=$as_save_IFS
   21150   test -z "$as_dir" && as_dir=.
   21151   for ac_exec_ext in '' $ac_executable_extensions; do
   21152   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   21153     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   21154     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   21155     break 2
   21156   fi
   21157 done
   21158 done
   21159 IFS=$as_save_IFS
   21160 
   21161   ;;
   21162 esac
   21163 fi
   21164 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   21165 if test -n "$PKG_CONFIG"; then
   21166   { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
   21167 $as_echo "$PKG_CONFIG" >&6; }
   21168 else
   21169   { $as_echo "$as_me:$LINENO: result: no" >&5
   21170 $as_echo "no" >&6; }
   21171 fi
   21172 
   21173 
   21174 fi
   21175 if test -z "$ac_cv_path_PKG_CONFIG"; then
   21176   ac_pt_PKG_CONFIG=$PKG_CONFIG
   21177   # Extract the first word of "pkg-config", so it can be a program name with args.
   21178 set dummy pkg-config; ac_word=$2
   21179 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   21180 $as_echo_n "checking for $ac_word... " >&6; }
   21181 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
   21182   $as_echo_n "(cached) " >&6
   21183 else
   21184   case $ac_pt_PKG_CONFIG in
   21185   [\\/]* | ?:[\\/]*)
   21186   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   21187   ;;
   21188   *)
   21189   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   21190 for as_dir in $PATH
   21191 do
   21192   IFS=$as_save_IFS
   21193   test -z "$as_dir" && as_dir=.
   21194   for ac_exec_ext in '' $ac_executable_extensions; do
   21195   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   21196     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   21197     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   21198     break 2
   21199   fi
   21200 done
   21201 done
   21202 IFS=$as_save_IFS
   21203 
   21204   ;;
   21205 esac
   21206 fi
   21207 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   21208 if test -n "$ac_pt_PKG_CONFIG"; then
   21209   { $as_echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
   21210 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
   21211 else
   21212   { $as_echo "$as_me:$LINENO: result: no" >&5
   21213 $as_echo "no" >&6; }
   21214 fi
   21215 
   21216   if test "x$ac_pt_PKG_CONFIG" = x; then
   21217     PKG_CONFIG=""
   21218   else
   21219     case $cross_compiling:$ac_tool_warned in
   21220 yes:)
   21221 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   21222 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   21223 ac_tool_warned=yes ;;
   21224 esac
   21225     PKG_CONFIG=$ac_pt_PKG_CONFIG
   21226   fi
   21227 else
   21228   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   21229 fi
   21230 
   21231 fi
   21232 if test -n "$PKG_CONFIG"; then
   21233 	_pkg_min_version=0.9.0
   21234 	{ $as_echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
   21235 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   21236 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   21237 		{ $as_echo "$as_me:$LINENO: result: yes" >&5
   21238 $as_echo "yes" >&6; }
   21239 	else
   21240 		{ $as_echo "$as_me:$LINENO: result: no" >&5
   21241 $as_echo "no" >&6; }
   21242 		PKG_CONFIG=""
   21243 	fi
   21244 
   21245 fi
   21246 
   21247 pkg_failed=no
   21248 { $as_echo "$as_me:$LINENO: checking for XORG" >&5
   21249 $as_echo_n "checking for XORG... " >&6; }
   21250 
   21251 if test -n "$XORG_CFLAGS"; then
   21252     pkg_cv_XORG_CFLAGS="$XORG_CFLAGS"
   21253  elif test -n "$PKG_CONFIG"; then
   21254     if test -n "$PKG_CONFIG" && \
   21255     { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xorg-server >= 1.0.99.901 xproto fontsproto \$REQUIRED_MODULES\"") >&5
   21256   ($PKG_CONFIG --exists --print-errors "xorg-server >= 1.0.99.901 xproto fontsproto $REQUIRED_MODULES") 2>&5
   21257   ac_status=$?
   21258   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21259   (exit $ac_status); }; then
   21260   pkg_cv_XORG_CFLAGS=`$PKG_CONFIG --cflags "xorg-server >= 1.0.99.901 xproto fontsproto $REQUIRED_MODULES" 2>/dev/null`
   21261 else
   21262   pkg_failed=yes
   21263 fi
   21264  else
   21265     pkg_failed=untried
   21266 fi
   21267 if test -n "$XORG_LIBS"; then
   21268     pkg_cv_XORG_LIBS="$XORG_LIBS"
   21269  elif test -n "$PKG_CONFIG"; then
   21270     if test -n "$PKG_CONFIG" && \
   21271     { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xorg-server >= 1.0.99.901 xproto fontsproto \$REQUIRED_MODULES\"") >&5
   21272   ($PKG_CONFIG --exists --print-errors "xorg-server >= 1.0.99.901 xproto fontsproto $REQUIRED_MODULES") 2>&5
   21273   ac_status=$?
   21274   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21275   (exit $ac_status); }; then
   21276   pkg_cv_XORG_LIBS=`$PKG_CONFIG --libs "xorg-server >= 1.0.99.901 xproto fontsproto $REQUIRED_MODULES" 2>/dev/null`
   21277 else
   21278   pkg_failed=yes
   21279 fi
   21280  else
   21281     pkg_failed=untried
   21282 fi
   21283 
   21284 
   21285 
   21286 if test $pkg_failed = yes; then
   21287 
   21288 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   21289         _pkg_short_errors_supported=yes
   21290 else
   21291         _pkg_short_errors_supported=no
   21292 fi
   21293         if test $_pkg_short_errors_supported = yes; then
   21294 	        XORG_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "xorg-server >= 1.0.99.901 xproto fontsproto $REQUIRED_MODULES" 2>&1`
   21295         else
   21296 	        XORG_PKG_ERRORS=`$PKG_CONFIG --print-errors "xorg-server >= 1.0.99.901 xproto fontsproto $REQUIRED_MODULES" 2>&1`
   21297         fi
   21298 	# Put the nasty error message in config.log where it belongs
   21299 	echo "$XORG_PKG_ERRORS" >&5
   21300 
   21301 	{ { $as_echo "$as_me:$LINENO: error: Package requirements (xorg-server >= 1.0.99.901 xproto fontsproto $REQUIRED_MODULES) were not met:
   21302 
   21303 $XORG_PKG_ERRORS
   21304 
   21305 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   21306 installed software in a non-standard prefix.
   21307 
   21308 Alternatively, you may set the environment variables XORG_CFLAGS
   21309 and XORG_LIBS to avoid the need to call pkg-config.
   21310 See the pkg-config man page for more details.
   21311 " >&5
   21312 $as_echo "$as_me: error: Package requirements (xorg-server >= 1.0.99.901 xproto fontsproto $REQUIRED_MODULES) were not met:
   21313 
   21314 $XORG_PKG_ERRORS
   21315 
   21316 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   21317 installed software in a non-standard prefix.
   21318 
   21319 Alternatively, you may set the environment variables XORG_CFLAGS
   21320 and XORG_LIBS to avoid the need to call pkg-config.
   21321 See the pkg-config man page for more details.
   21322 " >&2;}
   21323    { (exit 1); exit 1; }; }
   21324 elif test $pkg_failed = untried; then
   21325 	{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   21326 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   21327 { { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
   21328 is in your PATH or set the PKG_CONFIG environment variable to the full
   21329 path to pkg-config.
   21330 
   21331 Alternatively, you may set the environment variables XORG_CFLAGS
   21332 and XORG_LIBS to avoid the need to call pkg-config.
   21333 See the pkg-config man page for more details.
   21334 
   21335 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   21336 See \`config.log' for more details." >&5
   21337 $as_echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
   21338 is in your PATH or set the PKG_CONFIG environment variable to the full
   21339 path to pkg-config.
   21340 
   21341 Alternatively, you may set the environment variables XORG_CFLAGS
   21342 and XORG_LIBS to avoid the need to call pkg-config.
   21343 See the pkg-config man page for more details.
   21344 
   21345 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   21346 See \`config.log' for more details." >&2;}
   21347    { (exit 1); exit 1; }; }; }
   21348 else
   21349 	XORG_CFLAGS=$pkg_cv_XORG_CFLAGS
   21350 	XORG_LIBS=$pkg_cv_XORG_LIBS
   21351         { $as_echo "$as_me:$LINENO: result: yes" >&5
   21352 $as_echo "yes" >&6; }
   21353 	:
   21354 fi
   21355 
   21356 pkg_failed=no
   21357 { $as_echo "$as_me:$LINENO: checking for XEXT" >&5
   21358 $as_echo_n "checking for XEXT... " >&6; }
   21359 
   21360 if test -n "$XEXT_CFLAGS"; then
   21361     pkg_cv_XEXT_CFLAGS="$XEXT_CFLAGS"
   21362  elif test -n "$PKG_CONFIG"; then
   21363     if test -n "$PKG_CONFIG" && \
   21364     { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xextproto >= 7.0.99.1\"") >&5
   21365   ($PKG_CONFIG --exists --print-errors "xextproto >= 7.0.99.1") 2>&5
   21366   ac_status=$?
   21367   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21368   (exit $ac_status); }; then
   21369   pkg_cv_XEXT_CFLAGS=`$PKG_CONFIG --cflags "xextproto >= 7.0.99.1" 2>/dev/null`
   21370 else
   21371   pkg_failed=yes
   21372 fi
   21373  else
   21374     pkg_failed=untried
   21375 fi
   21376 if test -n "$XEXT_LIBS"; then
   21377     pkg_cv_XEXT_LIBS="$XEXT_LIBS"
   21378  elif test -n "$PKG_CONFIG"; then
   21379     if test -n "$PKG_CONFIG" && \
   21380     { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xextproto >= 7.0.99.1\"") >&5
   21381   ($PKG_CONFIG --exists --print-errors "xextproto >= 7.0.99.1") 2>&5
   21382   ac_status=$?
   21383   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21384   (exit $ac_status); }; then
   21385   pkg_cv_XEXT_LIBS=`$PKG_CONFIG --libs "xextproto >= 7.0.99.1" 2>/dev/null`
   21386 else
   21387   pkg_failed=yes
   21388 fi
   21389  else
   21390     pkg_failed=untried
   21391 fi
   21392 
   21393 
   21394 
   21395 if test $pkg_failed = yes; then
   21396 
   21397 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   21398         _pkg_short_errors_supported=yes
   21399 else
   21400         _pkg_short_errors_supported=no
   21401 fi
   21402         if test $_pkg_short_errors_supported = yes; then
   21403 	        XEXT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "xextproto >= 7.0.99.1" 2>&1`
   21404         else
   21405 	        XEXT_PKG_ERRORS=`$PKG_CONFIG --print-errors "xextproto >= 7.0.99.1" 2>&1`
   21406         fi
   21407 	# Put the nasty error message in config.log where it belongs
   21408 	echo "$XEXT_PKG_ERRORS" >&5
   21409 
   21410 	{ $as_echo "$as_me:$LINENO: result: no" >&5
   21411 $as_echo "no" >&6; }
   21412                 HAVE_XEXTPROTO_71="no"
   21413 elif test $pkg_failed = untried; then
   21414 	HAVE_XEXTPROTO_71="no"
   21415 else
   21416 	XEXT_CFLAGS=$pkg_cv_XEXT_CFLAGS
   21417 	XEXT_LIBS=$pkg_cv_XEXT_LIBS
   21418         { $as_echo "$as_me:$LINENO: result: yes" >&5
   21419 $as_echo "yes" >&6; }
   21420 	HAVE_XEXTPROTO_71="yes";
   21421 cat >>confdefs.h <<\_ACEOF
   21422 #define HAVE_XEXTPROTO_71 1
   21423 _ACEOF
   21424 
   21425 fi
   21426  if  test "$HAVE_XEXTPROTO_71" = "yes" ; then
   21427   HAVE_XEXTPROTO_71_TRUE=
   21428   HAVE_XEXTPROTO_71_FALSE='#'
   21429 else
   21430   HAVE_XEXTPROTO_71_TRUE='#'
   21431   HAVE_XEXTPROTO_71_FALSE=
   21432 fi
   21433 
   21434 sdkdir=$(pkg-config --variable=sdkdir xorg-server)
   21435 
   21436 
   21437 pkg_failed=no
   21438 { $as_echo "$as_me:$LINENO: checking for XF86RUSH" >&5
   21439 $as_echo_n "checking for XF86RUSH... " >&6; }
   21440 
   21441 if test -n "$XF86RUSH_CFLAGS"; then
   21442     pkg_cv_XF86RUSH_CFLAGS="$XF86RUSH_CFLAGS"
   21443  elif test -n "$PKG_CONFIG"; then
   21444     if test -n "$PKG_CONFIG" && \
   21445     { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xxf86rush\"") >&5
   21446   ($PKG_CONFIG --exists --print-errors "xxf86rush") 2>&5
   21447   ac_status=$?
   21448   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21449   (exit $ac_status); }; then
   21450   pkg_cv_XF86RUSH_CFLAGS=`$PKG_CONFIG --cflags "xxf86rush" 2>/dev/null`
   21451 else
   21452   pkg_failed=yes
   21453 fi
   21454  else
   21455     pkg_failed=untried
   21456 fi
   21457 if test -n "$XF86RUSH_LIBS"; then
   21458     pkg_cv_XF86RUSH_LIBS="$XF86RUSH_LIBS"
   21459  elif test -n "$PKG_CONFIG"; then
   21460     if test -n "$PKG_CONFIG" && \
   21461     { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xxf86rush\"") >&5
   21462   ($PKG_CONFIG --exists --print-errors "xxf86rush") 2>&5
   21463   ac_status=$?
   21464   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21465   (exit $ac_status); }; then
   21466   pkg_cv_XF86RUSH_LIBS=`$PKG_CONFIG --libs "xxf86rush" 2>/dev/null`
   21467 else
   21468   pkg_failed=yes
   21469 fi
   21470  else
   21471     pkg_failed=untried
   21472 fi
   21473 
   21474 
   21475 
   21476 if test $pkg_failed = yes; then
   21477 
   21478 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   21479         _pkg_short_errors_supported=yes
   21480 else
   21481         _pkg_short_errors_supported=no
   21482 fi
   21483         if test $_pkg_short_errors_supported = yes; then
   21484 	        XF86RUSH_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "xxf86rush" 2>&1`
   21485         else
   21486 	        XF86RUSH_PKG_ERRORS=`$PKG_CONFIG --print-errors "xxf86rush" 2>&1`
   21487         fi
   21488 	# Put the nasty error message in config.log where it belongs
   21489 	echo "$XF86RUSH_PKG_ERRORS" >&5
   21490 
   21491 	{ $as_echo "$as_me:$LINENO: result: no" >&5
   21492 $as_echo "no" >&6; }
   21493                 have_xf86rush=no
   21494 elif test $pkg_failed = untried; then
   21495 	have_xf86rush=no
   21496 else
   21497 	XF86RUSH_CFLAGS=$pkg_cv_XF86RUSH_CFLAGS
   21498 	XF86RUSH_LIBS=$pkg_cv_XF86RUSH_LIBS
   21499         { $as_echo "$as_me:$LINENO: result: yes" >&5
   21500 $as_echo "yes" >&6; }
   21501 	have_xf86rush=yes
   21502 fi
   21503  if test "x$have_xf86rush" = xyes; then
   21504   XF86RUSH_TRUE=
   21505   XF86RUSH_FALSE='#'
   21506 else
   21507   XF86RUSH_TRUE='#'
   21508   XF86RUSH_FALSE=
   21509 fi
   21510 
   21511 
   21512 
   21513 
   21514 CFLAGS="$CFLAGS $XORG_CFLAGS $XF86RUSH_CFLAGS"' -I$(top_srcdir)/src'
   21515 INCLUDES="$XORG_INCS -I${sdkdir} $XF86RUSH_INCS "'-I$(top_srcdir)/src -I$(prefix)/include'
   21516 
   21517 
   21518 
   21519 save_CFLAGS="$CFLAGS"
   21520 CFLAGS="$XORG_CFLAGS"
   21521 { $as_echo "$as_me:$LINENO: checking whether xf86ConfigIsaEntity is declared" >&5
   21522 $as_echo_n "checking whether xf86ConfigIsaEntity is declared... " >&6; }
   21523 if test "${ac_cv_have_decl_xf86ConfigIsaEntity+set}" = set; then
   21524   $as_echo_n "(cached) " >&6
   21525 else
   21526   cat >conftest.$ac_ext <<_ACEOF
   21527 /* confdefs.h.  */
   21528 _ACEOF
   21529 cat confdefs.h >>conftest.$ac_ext
   21530 cat >>conftest.$ac_ext <<_ACEOF
   21531 /* end confdefs.h.  */
   21532 #include "xf86.h"
   21533 
   21534 int
   21535 main ()
   21536 {
   21537 #ifndef xf86ConfigIsaEntity
   21538   (void) xf86ConfigIsaEntity;
   21539 #endif
   21540 
   21541   ;
   21542   return 0;
   21543 }
   21544 _ACEOF
   21545 rm -f conftest.$ac_objext
   21546 if { (ac_try="$ac_compile"
   21547 case "(($ac_try" in
   21548   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   21549   *) ac_try_echo=$ac_try;;
   21550 esac
   21551 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   21552 $as_echo "$ac_try_echo") >&5
   21553   (eval "$ac_compile") 2>conftest.er1
   21554   ac_status=$?
   21555   grep -v '^ *+' conftest.er1 >conftest.err
   21556   rm -f conftest.er1
   21557   cat conftest.err >&5
   21558   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21559   (exit $ac_status); } && {
   21560 	 test -z "$ac_c_werror_flag" ||
   21561 	 test ! -s conftest.err
   21562        } && test -s conftest.$ac_objext; then
   21563   ac_cv_have_decl_xf86ConfigIsaEntity=yes
   21564 else
   21565   $as_echo "$as_me: failed program was:" >&5
   21566 sed 's/^/| /' conftest.$ac_ext >&5
   21567 
   21568 	ac_cv_have_decl_xf86ConfigIsaEntity=no
   21569 fi
   21570 
   21571 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   21572 fi
   21573 { $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl_xf86ConfigIsaEntity" >&5
   21574 $as_echo "$ac_cv_have_decl_xf86ConfigIsaEntity" >&6; }
   21575 if test "x$ac_cv_have_decl_xf86ConfigIsaEntity" = x""yes; then
   21576 
   21577 cat >>confdefs.h <<\_ACEOF
   21578 #define HAVE_ISA 1
   21579 _ACEOF
   21580 
   21581 fi
   21582 
   21583 CFLAGS="$save_CFLAGS"
   21584 
   21585 # Checks for libraries.
   21586 SAVE_CPPFLAGS="$CPPFLAGS"
   21587 CPPFLAGS="$CPPFLAGS $XORG_CFLAGS"
   21588 { $as_echo "$as_me:$LINENO: checking whether XSERVER_LIBPCIACCESS is declared" >&5
   21589 $as_echo_n "checking whether XSERVER_LIBPCIACCESS is declared... " >&6; }
   21590 if test "${ac_cv_have_decl_XSERVER_LIBPCIACCESS+set}" = set; then
   21591   $as_echo_n "(cached) " >&6
   21592 else
   21593   cat >conftest.$ac_ext <<_ACEOF
   21594 /* confdefs.h.  */
   21595 _ACEOF
   21596 cat confdefs.h >>conftest.$ac_ext
   21597 cat >>conftest.$ac_ext <<_ACEOF
   21598 /* end confdefs.h.  */
   21599 #include "xorg-server.h"
   21600 
   21601 int
   21602 main ()
   21603 {
   21604 #ifndef XSERVER_LIBPCIACCESS
   21605   (void) XSERVER_LIBPCIACCESS;
   21606 #endif
   21607 
   21608   ;
   21609   return 0;
   21610 }
   21611 _ACEOF
   21612 rm -f conftest.$ac_objext
   21613 if { (ac_try="$ac_compile"
   21614 case "(($ac_try" in
   21615   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   21616   *) ac_try_echo=$ac_try;;
   21617 esac
   21618 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   21619 $as_echo "$ac_try_echo") >&5
   21620   (eval "$ac_compile") 2>conftest.er1
   21621   ac_status=$?
   21622   grep -v '^ *+' conftest.er1 >conftest.err
   21623   rm -f conftest.er1
   21624   cat conftest.err >&5
   21625   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21626   (exit $ac_status); } && {
   21627 	 test -z "$ac_c_werror_flag" ||
   21628 	 test ! -s conftest.err
   21629        } && test -s conftest.$ac_objext; then
   21630   ac_cv_have_decl_XSERVER_LIBPCIACCESS=yes
   21631 else
   21632   $as_echo "$as_me: failed program was:" >&5
   21633 sed 's/^/| /' conftest.$ac_ext >&5
   21634 
   21635 	ac_cv_have_decl_XSERVER_LIBPCIACCESS=no
   21636 fi
   21637 
   21638 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   21639 fi
   21640 { $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl_XSERVER_LIBPCIACCESS" >&5
   21641 $as_echo "$ac_cv_have_decl_XSERVER_LIBPCIACCESS" >&6; }
   21642 if test "x$ac_cv_have_decl_XSERVER_LIBPCIACCESS" = x""yes; then
   21643   XSERVER_LIBPCIACCESS=yes
   21644 else
   21645   XSERVER_LIBPCIACCESS=no
   21646 fi
   21647 
   21648 if test "${ac_cv_header_xf1bpp_h+set}" = set; then
   21649   { $as_echo "$as_me:$LINENO: checking for xf1bpp.h" >&5
   21650 $as_echo_n "checking for xf1bpp.h... " >&6; }
   21651 if test "${ac_cv_header_xf1bpp_h+set}" = set; then
   21652   $as_echo_n "(cached) " >&6
   21653 fi
   21654 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_xf1bpp_h" >&5
   21655 $as_echo "$ac_cv_header_xf1bpp_h" >&6; }
   21656 else
   21657   # Is the header compilable?
   21658 { $as_echo "$as_me:$LINENO: checking xf1bpp.h usability" >&5
   21659 $as_echo_n "checking xf1bpp.h usability... " >&6; }
   21660 cat >conftest.$ac_ext <<_ACEOF
   21661 /* confdefs.h.  */
   21662 _ACEOF
   21663 cat confdefs.h >>conftest.$ac_ext
   21664 cat >>conftest.$ac_ext <<_ACEOF
   21665 /* end confdefs.h.  */
   21666 $ac_includes_default
   21667 #include <xf1bpp.h>
   21668 _ACEOF
   21669 rm -f conftest.$ac_objext
   21670 if { (ac_try="$ac_compile"
   21671 case "(($ac_try" in
   21672   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   21673   *) ac_try_echo=$ac_try;;
   21674 esac
   21675 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   21676 $as_echo "$ac_try_echo") >&5
   21677   (eval "$ac_compile") 2>conftest.er1
   21678   ac_status=$?
   21679   grep -v '^ *+' conftest.er1 >conftest.err
   21680   rm -f conftest.er1
   21681   cat conftest.err >&5
   21682   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21683   (exit $ac_status); } && {
   21684 	 test -z "$ac_c_werror_flag" ||
   21685 	 test ! -s conftest.err
   21686        } && test -s conftest.$ac_objext; then
   21687   ac_header_compiler=yes
   21688 else
   21689   $as_echo "$as_me: failed program was:" >&5
   21690 sed 's/^/| /' conftest.$ac_ext >&5
   21691 
   21692 	ac_header_compiler=no
   21693 fi
   21694 
   21695 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   21696 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
   21697 $as_echo "$ac_header_compiler" >&6; }
   21698 
   21699 # Is the header present?
   21700 { $as_echo "$as_me:$LINENO: checking xf1bpp.h presence" >&5
   21701 $as_echo_n "checking xf1bpp.h presence... " >&6; }
   21702 cat >conftest.$ac_ext <<_ACEOF
   21703 /* confdefs.h.  */
   21704 _ACEOF
   21705 cat confdefs.h >>conftest.$ac_ext
   21706 cat >>conftest.$ac_ext <<_ACEOF
   21707 /* end confdefs.h.  */
   21708 #include <xf1bpp.h>
   21709 _ACEOF
   21710 if { (ac_try="$ac_cpp conftest.$ac_ext"
   21711 case "(($ac_try" in
   21712   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   21713   *) ac_try_echo=$ac_try;;
   21714 esac
   21715 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   21716 $as_echo "$ac_try_echo") >&5
   21717   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   21718   ac_status=$?
   21719   grep -v '^ *+' conftest.er1 >conftest.err
   21720   rm -f conftest.er1
   21721   cat conftest.err >&5
   21722   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21723   (exit $ac_status); } >/dev/null && {
   21724 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   21725 	 test ! -s conftest.err
   21726        }; then
   21727   ac_header_preproc=yes
   21728 else
   21729   $as_echo "$as_me: failed program was:" >&5
   21730 sed 's/^/| /' conftest.$ac_ext >&5
   21731 
   21732   ac_header_preproc=no
   21733 fi
   21734 
   21735 rm -f conftest.err conftest.$ac_ext
   21736 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
   21737 $as_echo "$ac_header_preproc" >&6; }
   21738 
   21739 # So?  What about this header?
   21740 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
   21741   yes:no: )
   21742     { $as_echo "$as_me:$LINENO: WARNING: xf1bpp.h: accepted by the compiler, rejected by the preprocessor!" >&5
   21743 $as_echo "$as_me: WARNING: xf1bpp.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
   21744     { $as_echo "$as_me:$LINENO: WARNING: xf1bpp.h: proceeding with the compiler's result" >&5
   21745 $as_echo "$as_me: WARNING: xf1bpp.h: proceeding with the compiler's result" >&2;}
   21746     ac_header_preproc=yes
   21747     ;;
   21748   no:yes:* )
   21749     { $as_echo "$as_me:$LINENO: WARNING: xf1bpp.h: present but cannot be compiled" >&5
   21750 $as_echo "$as_me: WARNING: xf1bpp.h: present but cannot be compiled" >&2;}
   21751     { $as_echo "$as_me:$LINENO: WARNING: xf1bpp.h:     check for missing prerequisite headers?" >&5
   21752 $as_echo "$as_me: WARNING: xf1bpp.h:     check for missing prerequisite headers?" >&2;}
   21753     { $as_echo "$as_me:$LINENO: WARNING: xf1bpp.h: see the Autoconf documentation" >&5
   21754 $as_echo "$as_me: WARNING: xf1bpp.h: see the Autoconf documentation" >&2;}
   21755     { $as_echo "$as_me:$LINENO: WARNING: xf1bpp.h:     section \"Present But Cannot Be Compiled\"" >&5
   21756 $as_echo "$as_me: WARNING: xf1bpp.h:     section \"Present But Cannot Be Compiled\"" >&2;}
   21757     { $as_echo "$as_me:$LINENO: WARNING: xf1bpp.h: proceeding with the preprocessor's result" >&5
   21758 $as_echo "$as_me: WARNING: xf1bpp.h: proceeding with the preprocessor's result" >&2;}
   21759     { $as_echo "$as_me:$LINENO: WARNING: xf1bpp.h: in the future, the compiler will take precedence" >&5
   21760 $as_echo "$as_me: WARNING: xf1bpp.h: in the future, the compiler will take precedence" >&2;}
   21761     ( cat <<\_ASBOX
   21762 ## ---------------------------------------------------------------------- ##
   21763 ## Report this to https://bugs.freedesktop.org/enter_bug.cgi?product=xorg ##
   21764 ## ---------------------------------------------------------------------- ##
   21765 _ASBOX
   21766      ) | sed "s/^/$as_me: WARNING:     /" >&2
   21767     ;;
   21768 esac
   21769 { $as_echo "$as_me:$LINENO: checking for xf1bpp.h" >&5
   21770 $as_echo_n "checking for xf1bpp.h... " >&6; }
   21771 if test "${ac_cv_header_xf1bpp_h+set}" = set; then
   21772   $as_echo_n "(cached) " >&6
   21773 else
   21774   ac_cv_header_xf1bpp_h=$ac_header_preproc
   21775 fi
   21776 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_xf1bpp_h" >&5
   21777 $as_echo "$ac_cv_header_xf1bpp_h" >&6; }
   21778 
   21779 fi
   21780 if test "x$ac_cv_header_xf1bpp_h" = x""yes; then
   21781 
   21782 cat >>confdefs.h <<\_ACEOF
   21783 #define HAVE_XF1BPP 1
   21784 _ACEOF
   21785 
   21786 fi
   21787 
   21788 
   21789 if test "${ac_cv_header_xf4bpp_h+set}" = set; then
   21790   { $as_echo "$as_me:$LINENO: checking for xf4bpp.h" >&5
   21791 $as_echo_n "checking for xf4bpp.h... " >&6; }
   21792 if test "${ac_cv_header_xf4bpp_h+set}" = set; then
   21793   $as_echo_n "(cached) " >&6
   21794 fi
   21795 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_xf4bpp_h" >&5
   21796 $as_echo "$ac_cv_header_xf4bpp_h" >&6; }
   21797 else
   21798   # Is the header compilable?
   21799 { $as_echo "$as_me:$LINENO: checking xf4bpp.h usability" >&5
   21800 $as_echo_n "checking xf4bpp.h usability... " >&6; }
   21801 cat >conftest.$ac_ext <<_ACEOF
   21802 /* confdefs.h.  */
   21803 _ACEOF
   21804 cat confdefs.h >>conftest.$ac_ext
   21805 cat >>conftest.$ac_ext <<_ACEOF
   21806 /* end confdefs.h.  */
   21807 $ac_includes_default
   21808 #include <xf4bpp.h>
   21809 _ACEOF
   21810 rm -f conftest.$ac_objext
   21811 if { (ac_try="$ac_compile"
   21812 case "(($ac_try" in
   21813   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   21814   *) ac_try_echo=$ac_try;;
   21815 esac
   21816 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   21817 $as_echo "$ac_try_echo") >&5
   21818   (eval "$ac_compile") 2>conftest.er1
   21819   ac_status=$?
   21820   grep -v '^ *+' conftest.er1 >conftest.err
   21821   rm -f conftest.er1
   21822   cat conftest.err >&5
   21823   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21824   (exit $ac_status); } && {
   21825 	 test -z "$ac_c_werror_flag" ||
   21826 	 test ! -s conftest.err
   21827        } && test -s conftest.$ac_objext; then
   21828   ac_header_compiler=yes
   21829 else
   21830   $as_echo "$as_me: failed program was:" >&5
   21831 sed 's/^/| /' conftest.$ac_ext >&5
   21832 
   21833 	ac_header_compiler=no
   21834 fi
   21835 
   21836 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   21837 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
   21838 $as_echo "$ac_header_compiler" >&6; }
   21839 
   21840 # Is the header present?
   21841 { $as_echo "$as_me:$LINENO: checking xf4bpp.h presence" >&5
   21842 $as_echo_n "checking xf4bpp.h presence... " >&6; }
   21843 cat >conftest.$ac_ext <<_ACEOF
   21844 /* confdefs.h.  */
   21845 _ACEOF
   21846 cat confdefs.h >>conftest.$ac_ext
   21847 cat >>conftest.$ac_ext <<_ACEOF
   21848 /* end confdefs.h.  */
   21849 #include <xf4bpp.h>
   21850 _ACEOF
   21851 if { (ac_try="$ac_cpp conftest.$ac_ext"
   21852 case "(($ac_try" in
   21853   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   21854   *) ac_try_echo=$ac_try;;
   21855 esac
   21856 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   21857 $as_echo "$ac_try_echo") >&5
   21858   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   21859   ac_status=$?
   21860   grep -v '^ *+' conftest.er1 >conftest.err
   21861   rm -f conftest.er1
   21862   cat conftest.err >&5
   21863   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21864   (exit $ac_status); } >/dev/null && {
   21865 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   21866 	 test ! -s conftest.err
   21867        }; then
   21868   ac_header_preproc=yes
   21869 else
   21870   $as_echo "$as_me: failed program was:" >&5
   21871 sed 's/^/| /' conftest.$ac_ext >&5
   21872 
   21873   ac_header_preproc=no
   21874 fi
   21875 
   21876 rm -f conftest.err conftest.$ac_ext
   21877 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
   21878 $as_echo "$ac_header_preproc" >&6; }
   21879 
   21880 # So?  What about this header?
   21881 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
   21882   yes:no: )
   21883     { $as_echo "$as_me:$LINENO: WARNING: xf4bpp.h: accepted by the compiler, rejected by the preprocessor!" >&5
   21884 $as_echo "$as_me: WARNING: xf4bpp.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
   21885     { $as_echo "$as_me:$LINENO: WARNING: xf4bpp.h: proceeding with the compiler's result" >&5
   21886 $as_echo "$as_me: WARNING: xf4bpp.h: proceeding with the compiler's result" >&2;}
   21887     ac_header_preproc=yes
   21888     ;;
   21889   no:yes:* )
   21890     { $as_echo "$as_me:$LINENO: WARNING: xf4bpp.h: present but cannot be compiled" >&5
   21891 $as_echo "$as_me: WARNING: xf4bpp.h: present but cannot be compiled" >&2;}
   21892     { $as_echo "$as_me:$LINENO: WARNING: xf4bpp.h:     check for missing prerequisite headers?" >&5
   21893 $as_echo "$as_me: WARNING: xf4bpp.h:     check for missing prerequisite headers?" >&2;}
   21894     { $as_echo "$as_me:$LINENO: WARNING: xf4bpp.h: see the Autoconf documentation" >&5
   21895 $as_echo "$as_me: WARNING: xf4bpp.h: see the Autoconf documentation" >&2;}
   21896     { $as_echo "$as_me:$LINENO: WARNING: xf4bpp.h:     section \"Present But Cannot Be Compiled\"" >&5
   21897 $as_echo "$as_me: WARNING: xf4bpp.h:     section \"Present But Cannot Be Compiled\"" >&2;}
   21898     { $as_echo "$as_me:$LINENO: WARNING: xf4bpp.h: proceeding with the preprocessor's result" >&5
   21899 $as_echo "$as_me: WARNING: xf4bpp.h: proceeding with the preprocessor's result" >&2;}
   21900     { $as_echo "$as_me:$LINENO: WARNING: xf4bpp.h: in the future, the compiler will take precedence" >&5
   21901 $as_echo "$as_me: WARNING: xf4bpp.h: in the future, the compiler will take precedence" >&2;}
   21902     ( cat <<\_ASBOX
   21903 ## ---------------------------------------------------------------------- ##
   21904 ## Report this to https://bugs.freedesktop.org/enter_bug.cgi?product=xorg ##
   21905 ## ---------------------------------------------------------------------- ##
   21906 _ASBOX
   21907      ) | sed "s/^/$as_me: WARNING:     /" >&2
   21908     ;;
   21909 esac
   21910 { $as_echo "$as_me:$LINENO: checking for xf4bpp.h" >&5
   21911 $as_echo_n "checking for xf4bpp.h... " >&6; }
   21912 if test "${ac_cv_header_xf4bpp_h+set}" = set; then
   21913   $as_echo_n "(cached) " >&6
   21914 else
   21915   ac_cv_header_xf4bpp_h=$ac_header_preproc
   21916 fi
   21917 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_xf4bpp_h" >&5
   21918 $as_echo "$ac_cv_header_xf4bpp_h" >&6; }
   21919 
   21920 fi
   21921 if test "x$ac_cv_header_xf4bpp_h" = x""yes; then
   21922 
   21923 cat >>confdefs.h <<\_ACEOF
   21924 #define HAVE_XF4BPP 1
   21925 _ACEOF
   21926 
   21927 fi
   21928 
   21929 
   21930 CPPFLAGS="$SAVE_CPPFLAGS"
   21931 
   21932 # Checks for header files.
   21933 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
   21934 $as_echo_n "checking for ANSI C header files... " >&6; }
   21935 if test "${ac_cv_header_stdc+set}" = set; then
   21936   $as_echo_n "(cached) " >&6
   21937 else
   21938   cat >conftest.$ac_ext <<_ACEOF
   21939 /* confdefs.h.  */
   21940 _ACEOF
   21941 cat confdefs.h >>conftest.$ac_ext
   21942 cat >>conftest.$ac_ext <<_ACEOF
   21943 /* end confdefs.h.  */
   21944 #include <stdlib.h>
   21945 #include <stdarg.h>
   21946 #include <string.h>
   21947 #include <float.h>
   21948 
   21949 int
   21950 main ()
   21951 {
   21952 
   21953   ;
   21954   return 0;
   21955 }
   21956 _ACEOF
   21957 rm -f conftest.$ac_objext
   21958 if { (ac_try="$ac_compile"
   21959 case "(($ac_try" in
   21960   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   21961   *) ac_try_echo=$ac_try;;
   21962 esac
   21963 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   21964 $as_echo "$ac_try_echo") >&5
   21965   (eval "$ac_compile") 2>conftest.er1
   21966   ac_status=$?
   21967   grep -v '^ *+' conftest.er1 >conftest.err
   21968   rm -f conftest.er1
   21969   cat conftest.err >&5
   21970   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21971   (exit $ac_status); } && {
   21972 	 test -z "$ac_c_werror_flag" ||
   21973 	 test ! -s conftest.err
   21974        } && test -s conftest.$ac_objext; then
   21975   ac_cv_header_stdc=yes
   21976 else
   21977   $as_echo "$as_me: failed program was:" >&5
   21978 sed 's/^/| /' conftest.$ac_ext >&5
   21979 
   21980 	ac_cv_header_stdc=no
   21981 fi
   21982 
   21983 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   21984 
   21985 if test $ac_cv_header_stdc = yes; then
   21986   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   21987   cat >conftest.$ac_ext <<_ACEOF
   21988 /* confdefs.h.  */
   21989 _ACEOF
   21990 cat confdefs.h >>conftest.$ac_ext
   21991 cat >>conftest.$ac_ext <<_ACEOF
   21992 /* end confdefs.h.  */
   21993 #include <string.h>
   21994 
   21995 _ACEOF
   21996 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   21997   $EGREP "memchr" >/dev/null 2>&1; then
   21998   :
   21999 else
   22000   ac_cv_header_stdc=no
   22001 fi
   22002 rm -f conftest*
   22003 
   22004 fi
   22005 
   22006 if test $ac_cv_header_stdc = yes; then
   22007   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   22008   cat >conftest.$ac_ext <<_ACEOF
   22009 /* confdefs.h.  */
   22010 _ACEOF
   22011 cat confdefs.h >>conftest.$ac_ext
   22012 cat >>conftest.$ac_ext <<_ACEOF
   22013 /* end confdefs.h.  */
   22014 #include <stdlib.h>
   22015 
   22016 _ACEOF
   22017 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   22018   $EGREP "free" >/dev/null 2>&1; then
   22019   :
   22020 else
   22021   ac_cv_header_stdc=no
   22022 fi
   22023 rm -f conftest*
   22024 
   22025 fi
   22026 
   22027 if test $ac_cv_header_stdc = yes; then
   22028   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   22029   if test "$cross_compiling" = yes; then
   22030   :
   22031 else
   22032   cat >conftest.$ac_ext <<_ACEOF
   22033 /* confdefs.h.  */
   22034 _ACEOF
   22035 cat confdefs.h >>conftest.$ac_ext
   22036 cat >>conftest.$ac_ext <<_ACEOF
   22037 /* end confdefs.h.  */
   22038 #include <ctype.h>
   22039 #include <stdlib.h>
   22040 #if ((' ' & 0x0FF) == 0x020)
   22041 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   22042 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   22043 #else
   22044 # define ISLOWER(c) \
   22045 		   (('a' <= (c) && (c) <= 'i') \
   22046 		     || ('j' <= (c) && (c) <= 'r') \
   22047 		     || ('s' <= (c) && (c) <= 'z'))
   22048 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   22049 #endif
   22050 
   22051 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   22052 int
   22053 main ()
   22054 {
   22055   int i;
   22056   for (i = 0; i < 256; i++)
   22057     if (XOR (islower (i), ISLOWER (i))
   22058 	|| toupper (i) != TOUPPER (i))
   22059       return 2;
   22060   return 0;
   22061 }
   22062 _ACEOF
   22063 rm -f conftest$ac_exeext
   22064 if { (ac_try="$ac_link"
   22065 case "(($ac_try" in
   22066   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   22067   *) ac_try_echo=$ac_try;;
   22068 esac
   22069 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   22070 $as_echo "$ac_try_echo") >&5
   22071   (eval "$ac_link") 2>&5
   22072   ac_status=$?
   22073   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   22074   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
   22075   { (case "(($ac_try" in
   22076   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   22077   *) ac_try_echo=$ac_try;;
   22078 esac
   22079 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   22080 $as_echo "$ac_try_echo") >&5
   22081   (eval "$ac_try") 2>&5
   22082   ac_status=$?
   22083   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   22084   (exit $ac_status); }; }; then
   22085   :
   22086 else
   22087   $as_echo "$as_me: program exited with status $ac_status" >&5
   22088 $as_echo "$as_me: failed program was:" >&5
   22089 sed 's/^/| /' conftest.$ac_ext >&5
   22090 
   22091 ( exit $ac_status )
   22092 ac_cv_header_stdc=no
   22093 fi
   22094 rm -rf conftest.dSYM
   22095 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
   22096 fi
   22097 
   22098 
   22099 fi
   22100 fi
   22101 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
   22102 $as_echo "$ac_cv_header_stdc" >&6; }
   22103 if test $ac_cv_header_stdc = yes; then
   22104 
   22105 cat >>confdefs.h <<\_ACEOF
   22106 #define STDC_HEADERS 1
   22107 _ACEOF
   22108 
   22109 fi
   22110 
   22111 
   22112 if test "x$XSERVER_LIBPCIACCESS" = xyes; then
   22113 
   22114 pkg_failed=no
   22115 { $as_echo "$as_me:$LINENO: checking for PCIACCESS" >&5
   22116 $as_echo_n "checking for PCIACCESS... " >&6; }
   22117 
   22118 if test -n "$PCIACCESS_CFLAGS"; then
   22119     pkg_cv_PCIACCESS_CFLAGS="$PCIACCESS_CFLAGS"
   22120  elif test -n "$PKG_CONFIG"; then
   22121     if test -n "$PKG_CONFIG" && \
   22122     { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pciaccess >= 0.8.0\"") >&5
   22123   ($PKG_CONFIG --exists --print-errors "pciaccess >= 0.8.0") 2>&5
   22124   ac_status=$?
   22125   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   22126   (exit $ac_status); }; then
   22127   pkg_cv_PCIACCESS_CFLAGS=`$PKG_CONFIG --cflags "pciaccess >= 0.8.0" 2>/dev/null`
   22128 else
   22129   pkg_failed=yes
   22130 fi
   22131  else
   22132     pkg_failed=untried
   22133 fi
   22134 if test -n "$PCIACCESS_LIBS"; then
   22135     pkg_cv_PCIACCESS_LIBS="$PCIACCESS_LIBS"
   22136  elif test -n "$PKG_CONFIG"; then
   22137     if test -n "$PKG_CONFIG" && \
   22138     { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pciaccess >= 0.8.0\"") >&5
   22139   ($PKG_CONFIG --exists --print-errors "pciaccess >= 0.8.0") 2>&5
   22140   ac_status=$?
   22141   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   22142   (exit $ac_status); }; then
   22143   pkg_cv_PCIACCESS_LIBS=`$PKG_CONFIG --libs "pciaccess >= 0.8.0" 2>/dev/null`
   22144 else
   22145   pkg_failed=yes
   22146 fi
   22147  else
   22148     pkg_failed=untried
   22149 fi
   22150 
   22151 
   22152 
   22153 if test $pkg_failed = yes; then
   22154 
   22155 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   22156         _pkg_short_errors_supported=yes
   22157 else
   22158         _pkg_short_errors_supported=no
   22159 fi
   22160         if test $_pkg_short_errors_supported = yes; then
   22161 	        PCIACCESS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "pciaccess >= 0.8.0" 2>&1`
   22162         else
   22163 	        PCIACCESS_PKG_ERRORS=`$PKG_CONFIG --print-errors "pciaccess >= 0.8.0" 2>&1`
   22164         fi
   22165 	# Put the nasty error message in config.log where it belongs
   22166 	echo "$PCIACCESS_PKG_ERRORS" >&5
   22167 
   22168 	{ { $as_echo "$as_me:$LINENO: error: Package requirements (pciaccess >= 0.8.0) were not met:
   22169 
   22170 $PCIACCESS_PKG_ERRORS
   22171 
   22172 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   22173 installed software in a non-standard prefix.
   22174 
   22175 Alternatively, you may set the environment variables PCIACCESS_CFLAGS
   22176 and PCIACCESS_LIBS to avoid the need to call pkg-config.
   22177 See the pkg-config man page for more details.
   22178 " >&5
   22179 $as_echo "$as_me: error: Package requirements (pciaccess >= 0.8.0) were not met:
   22180 
   22181 $PCIACCESS_PKG_ERRORS
   22182 
   22183 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   22184 installed software in a non-standard prefix.
   22185 
   22186 Alternatively, you may set the environment variables PCIACCESS_CFLAGS
   22187 and PCIACCESS_LIBS to avoid the need to call pkg-config.
   22188 See the pkg-config man page for more details.
   22189 " >&2;}
   22190    { (exit 1); exit 1; }; }
   22191 elif test $pkg_failed = untried; then
   22192 	{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   22193 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   22194 { { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
   22195 is in your PATH or set the PKG_CONFIG environment variable to the full
   22196 path to pkg-config.
   22197 
   22198 Alternatively, you may set the environment variables PCIACCESS_CFLAGS
   22199 and PCIACCESS_LIBS to avoid the need to call pkg-config.
   22200 See the pkg-config man page for more details.
   22201 
   22202 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   22203 See \`config.log' for more details." >&5
   22204 $as_echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
   22205 is in your PATH or set the PKG_CONFIG environment variable to the full
   22206 path to pkg-config.
   22207 
   22208 Alternatively, you may set the environment variables PCIACCESS_CFLAGS
   22209 and PCIACCESS_LIBS to avoid the need to call pkg-config.
   22210 See the pkg-config man page for more details.
   22211 
   22212 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   22213 See \`config.log' for more details." >&2;}
   22214    { (exit 1); exit 1; }; }; }
   22215 else
   22216 	PCIACCESS_CFLAGS=$pkg_cv_PCIACCESS_CFLAGS
   22217 	PCIACCESS_LIBS=$pkg_cv_PCIACCESS_LIBS
   22218         { $as_echo "$as_me:$LINENO: result: yes" >&5
   22219 $as_echo "yes" >&6; }
   22220 	:
   22221 fi
   22222     XORG_CFLAGS="$XORG_CFLAGS $PCIACCESS_CFLAGS"
   22223 fi
   22224 
   22225 DRIVER_NAME=apm
   22226 
   22227 
   22228 
   22229 
   22230 
   22231 if test x$APP_MAN_SUFFIX = x    ; then
   22232     APP_MAN_SUFFIX=1
   22233 fi
   22234 if test x$APP_MAN_DIR = x    ; then
   22235     APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
   22236 fi
   22237 
   22238 if test x$LIB_MAN_SUFFIX = x    ; then
   22239     LIB_MAN_SUFFIX=3
   22240 fi
   22241 if test x$LIB_MAN_DIR = x    ; then
   22242     LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
   22243 fi
   22244 
   22245 if test x$FILE_MAN_SUFFIX = x    ; then
   22246     case $host_os in
   22247 	solaris*)	FILE_MAN_SUFFIX=4  ;;
   22248 	*)		FILE_MAN_SUFFIX=5  ;;
   22249     esac
   22250 fi
   22251 if test x$FILE_MAN_DIR = x    ; then
   22252     FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
   22253 fi
   22254 
   22255 if test x$MISC_MAN_SUFFIX = x    ; then
   22256     case $host_os in
   22257 	solaris*)	MISC_MAN_SUFFIX=5  ;;
   22258 	*)		MISC_MAN_SUFFIX=7  ;;
   22259     esac
   22260 fi
   22261 if test x$MISC_MAN_DIR = x    ; then
   22262     MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
   22263 fi
   22264 
   22265 if test x$DRIVER_MAN_SUFFIX = x    ; then
   22266     case $host_os in
   22267 	solaris*)	DRIVER_MAN_SUFFIX=7  ;;
   22268 	*)		DRIVER_MAN_SUFFIX=4  ;;
   22269     esac
   22270 fi
   22271 if test x$DRIVER_MAN_DIR = x    ; then
   22272     DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
   22273 fi
   22274 
   22275 if test x$ADMIN_MAN_SUFFIX = x    ; then
   22276     case $host_os in
   22277 	solaris*)	ADMIN_MAN_SUFFIX=1m ;;
   22278 	*)		ADMIN_MAN_SUFFIX=8  ;;
   22279     esac
   22280 fi
   22281 if test x$ADMIN_MAN_DIR = x    ; then
   22282     ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
   22283 fi
   22284 
   22285 
   22286 
   22287 
   22288 
   22289 
   22290 
   22291 
   22292 
   22293 
   22294 
   22295 
   22296 
   22297 
   22298 
   22299 
   22300 
   22301 # Check whether --with-release-version was given.
   22302 if test "${with_release_version+set}" = set; then
   22303   withval=$with_release_version; RELEASE_VERSION="$withval"
   22304 else
   22305   RELEASE_VERSION=""
   22306 fi
   22307 
   22308 	if test "x$RELEASE_VERSION" != "x"; then
   22309 		PACKAGE="$PACKAGE-$RELEASE_VERSION"
   22310 		PACKAGE_TARNAME="$PACKAGE_TARNAME-$RELEASE_VERSION"
   22311 		{ $as_echo "$as_me:$LINENO: Building with package name set to $PACKAGE" >&5
   22312 $as_echo "$as_me: Building with package name set to $PACKAGE" >&6;}
   22313 	fi
   22314 
   22315 cat >>confdefs.h <<_ACEOF
   22316 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   22317 _ACEOF
   22318 
   22319 	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
   22320 	if test "x$PVM" = "x"; then
   22321 		PVM="0"
   22322 	fi
   22323 
   22324 cat >>confdefs.h <<_ACEOF
   22325 #define PACKAGE_VERSION_MINOR $PVM
   22326 _ACEOF
   22327 
   22328 	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
   22329 	if test "x$PVP" = "x"; then
   22330 		PVP="0"
   22331 	fi
   22332 
   22333 cat >>confdefs.h <<_ACEOF
   22334 #define PACKAGE_VERSION_PATCHLEVEL $PVP
   22335 _ACEOF
   22336 
   22337 
   22338 
   22339 
   22340 if test x$XORG_SGML_PATH = x ; then
   22341     XORG_SGML_PATH=$prefix/share/sgml
   22342 fi
   22343 HAVE_DEFS_ENT=
   22344 
   22345 if test x"$cross_compiling" = x"yes" ; then
   22346   HAVE_DEFS_ENT=no
   22347 else
   22348   as_ac_File=`$as_echo "ac_cv_file_$XORG_SGML_PATH/X11/defs.ent" | $as_tr_sh`
   22349 { $as_echo "$as_me:$LINENO: checking for $XORG_SGML_PATH/X11/defs.ent" >&5
   22350 $as_echo_n "checking for $XORG_SGML_PATH/X11/defs.ent... " >&6; }
   22351 if { as_var=$as_ac_File; eval "test \"\${$as_var+set}\" = set"; }; then
   22352   $as_echo_n "(cached) " >&6
   22353 else
   22354   test "$cross_compiling" = yes &&
   22355   { { $as_echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
   22356 $as_echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
   22357    { (exit 1); exit 1; }; }
   22358 if test -r "$XORG_SGML_PATH/X11/defs.ent"; then
   22359   eval "$as_ac_File=yes"
   22360 else
   22361   eval "$as_ac_File=no"
   22362 fi
   22363 fi
   22364 ac_res=`eval 'as_val=${'$as_ac_File'}
   22365 		 $as_echo "$as_val"'`
   22366 	       { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
   22367 $as_echo "$ac_res" >&6; }
   22368 as_val=`eval 'as_val=${'$as_ac_File'}
   22369 		 $as_echo "$as_val"'`
   22370    if test "x$as_val" = x""yes; then
   22371   HAVE_DEFS_ENT=yes
   22372 fi
   22373 
   22374 fi
   22375 
   22376 # Extract the first word of "linuxdoc", so it can be a program name with args.
   22377 set dummy linuxdoc; ac_word=$2
   22378 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   22379 $as_echo_n "checking for $ac_word... " >&6; }
   22380 if test "${ac_cv_path_LINUXDOC+set}" = set; then
   22381   $as_echo_n "(cached) " >&6
   22382 else
   22383   case $LINUXDOC in
   22384   [\\/]* | ?:[\\/]*)
   22385   ac_cv_path_LINUXDOC="$LINUXDOC" # Let the user override the test with a path.
   22386   ;;
   22387   *)
   22388   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   22389 for as_dir in $PATH
   22390 do
   22391   IFS=$as_save_IFS
   22392   test -z "$as_dir" && as_dir=.
   22393   for ac_exec_ext in '' $ac_executable_extensions; do
   22394   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   22395     ac_cv_path_LINUXDOC="$as_dir/$ac_word$ac_exec_ext"
   22396     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   22397     break 2
   22398   fi
   22399 done
   22400 done
   22401 IFS=$as_save_IFS
   22402 
   22403   ;;
   22404 esac
   22405 fi
   22406 LINUXDOC=$ac_cv_path_LINUXDOC
   22407 if test -n "$LINUXDOC"; then
   22408   { $as_echo "$as_me:$LINENO: result: $LINUXDOC" >&5
   22409 $as_echo "$LINUXDOC" >&6; }
   22410 else
   22411   { $as_echo "$as_me:$LINENO: result: no" >&5
   22412 $as_echo "no" >&6; }
   22413 fi
   22414 
   22415 
   22416 # Extract the first word of "ps2pdf", so it can be a program name with args.
   22417 set dummy ps2pdf; ac_word=$2
   22418 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   22419 $as_echo_n "checking for $ac_word... " >&6; }
   22420 if test "${ac_cv_path_PS2PDF+set}" = set; then
   22421   $as_echo_n "(cached) " >&6
   22422 else
   22423   case $PS2PDF in
   22424   [\\/]* | ?:[\\/]*)
   22425   ac_cv_path_PS2PDF="$PS2PDF" # Let the user override the test with a path.
   22426   ;;
   22427   *)
   22428   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   22429 for as_dir in $PATH
   22430 do
   22431   IFS=$as_save_IFS
   22432   test -z "$as_dir" && as_dir=.
   22433   for ac_exec_ext in '' $ac_executable_extensions; do
   22434   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   22435     ac_cv_path_PS2PDF="$as_dir/$ac_word$ac_exec_ext"
   22436     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   22437     break 2
   22438   fi
   22439 done
   22440 done
   22441 IFS=$as_save_IFS
   22442 
   22443   ;;
   22444 esac
   22445 fi
   22446 PS2PDF=$ac_cv_path_PS2PDF
   22447 if test -n "$PS2PDF"; then
   22448   { $as_echo "$as_me:$LINENO: result: $PS2PDF" >&5
   22449 $as_echo "$PS2PDF" >&6; }
   22450 else
   22451   { $as_echo "$as_me:$LINENO: result: no" >&5
   22452 $as_echo "no" >&6; }
   22453 fi
   22454 
   22455 
   22456 
   22457 { $as_echo "$as_me:$LINENO: checking Whether to build documentation" >&5
   22458 $as_echo_n "checking Whether to build documentation... " >&6; }
   22459 
   22460 if test x$HAVE_DEFS_ENT != x && test x$LINUXDOC != x ; then
   22461    BUILDDOC=yes
   22462 else
   22463    BUILDDOC=no
   22464 fi
   22465 
   22466  if test x$BUILDDOC = xyes; then
   22467   BUILD_LINUXDOC_TRUE=
   22468   BUILD_LINUXDOC_FALSE='#'
   22469 else
   22470   BUILD_LINUXDOC_TRUE='#'
   22471   BUILD_LINUXDOC_FALSE=
   22472 fi
   22473 
   22474 
   22475 { $as_echo "$as_me:$LINENO: result: $BUILDDOC" >&5
   22476 $as_echo "$BUILDDOC" >&6; }
   22477 
   22478 { $as_echo "$as_me:$LINENO: checking Whether to build pdf documentation" >&5
   22479 $as_echo_n "checking Whether to build pdf documentation... " >&6; }
   22480 
   22481 if test x$PS2PDF != x && test x$BUILD_PDFDOC != xno; then
   22482    BUILDPDFDOC=yes
   22483 else
   22484    BUILDPDFDOC=no
   22485 fi
   22486 
   22487  if test x$BUILDPDFDOC = xyes; then
   22488   BUILD_PDFDOC_TRUE=
   22489   BUILD_PDFDOC_FALSE='#'
   22490 else
   22491   BUILD_PDFDOC_TRUE='#'
   22492   BUILD_PDFDOC_FALSE=
   22493 fi
   22494 
   22495 
   22496 { $as_echo "$as_me:$LINENO: result: $BUILDPDFDOC" >&5
   22497 $as_echo "$BUILDPDFDOC" >&6; }
   22498 
   22499 MAKE_TEXT="SGML_SEARCH_PATH=$XORG_SGML_PATH GROFF_NO_SGR=y $LINUXDOC -B txt"
   22500 MAKE_PS="SGML_SEARCH_PATH=$XORG_SGML_PATH $LINUXDOC -B latex --papersize=letter --output=ps"
   22501 MAKE_PDF="$PS2PDF"
   22502 MAKE_HTML="SGML_SEARCH_PATH=$XORG_SGML_PATH $LINUXDOC  -B html --split=0"
   22503 
   22504 
   22505 
   22506 
   22507 
   22508 
   22509 
   22510 ac_config_files="$ac_config_files Makefile src/Makefile man/Makefile"
   22511 
   22512 cat >confcache <<\_ACEOF
   22513 # This file is a shell script that caches the results of configure
   22514 # tests run on this system so they can be shared between configure
   22515 # scripts and configure runs, see configure's option --config-cache.
   22516 # It is not useful on other systems.  If it contains results you don't
   22517 # want to keep, you may remove or edit it.
   22518 #
   22519 # config.status only pays attention to the cache file if you give it
   22520 # the --recheck option to rerun configure.
   22521 #
   22522 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   22523 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   22524 # following values.
   22525 
   22526 _ACEOF
   22527 
   22528 # The following way of writing the cache mishandles newlines in values,
   22529 # but we know of no workaround that is simple, portable, and efficient.
   22530 # So, we kill variables containing newlines.
   22531 # Ultrix sh set writes to stderr and can't be redirected directly,
   22532 # and sets the high bit in the cache file unless we assign to the vars.
   22533 (
   22534   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   22535     eval ac_val=\$$ac_var
   22536     case $ac_val in #(
   22537     *${as_nl}*)
   22538       case $ac_var in #(
   22539       *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
   22540 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   22541       esac
   22542       case $ac_var in #(
   22543       _ | IFS | as_nl) ;; #(
   22544       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   22545       *) $as_unset $ac_var ;;
   22546       esac ;;
   22547     esac
   22548   done
   22549 
   22550   (set) 2>&1 |
   22551     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   22552     *${as_nl}ac_space=\ *)
   22553       # `set' does not quote correctly, so add quotes (double-quote
   22554       # substitution turns \\\\ into \\, and sed turns \\ into \).
   22555       sed -n \
   22556 	"s/'/'\\\\''/g;
   22557 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   22558       ;; #(
   22559     *)
   22560       # `set' quotes correctly as required by POSIX, so do not add quotes.
   22561       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   22562       ;;
   22563     esac |
   22564     sort
   22565 ) |
   22566   sed '
   22567      /^ac_cv_env_/b end
   22568      t clear
   22569      :clear
   22570      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
   22571      t end
   22572      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   22573      :end' >>confcache
   22574 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   22575   if test -w "$cache_file"; then
   22576     test "x$cache_file" != "x/dev/null" &&
   22577       { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
   22578 $as_echo "$as_me: updating cache $cache_file" >&6;}
   22579     cat confcache >$cache_file
   22580   else
   22581     { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
   22582 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
   22583   fi
   22584 fi
   22585 rm -f confcache
   22586 
   22587 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   22588 # Let make expand exec_prefix.
   22589 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   22590 
   22591 DEFS=-DHAVE_CONFIG_H
   22592 
   22593 ac_libobjs=
   22594 ac_ltlibobjs=
   22595 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   22596   # 1. Remove the extension, and $U if already installed.
   22597   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   22598   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
   22599   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   22600   #    will be set to the directory where LIBOBJS objects are built.
   22601   ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   22602   ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
   22603 done
   22604 LIBOBJS=$ac_libobjs
   22605 
   22606 LTLIBOBJS=$ac_ltlibobjs
   22607 
   22608 
   22609  if test -n "$EXEEXT"; then
   22610   am__EXEEXT_TRUE=
   22611   am__EXEEXT_FALSE='#'
   22612 else
   22613   am__EXEEXT_TRUE='#'
   22614   am__EXEEXT_FALSE=
   22615 fi
   22616 
   22617 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
   22618   { { $as_echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
   22619 Usually this means the macro was only invoked conditionally." >&5
   22620 $as_echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
   22621 Usually this means the macro was only invoked conditionally." >&2;}
   22622    { (exit 1); exit 1; }; }
   22623 fi
   22624 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   22625   { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
   22626 Usually this means the macro was only invoked conditionally." >&5
   22627 $as_echo "$as_me: error: conditional \"AMDEP\" was never defined.
   22628 Usually this means the macro was only invoked conditionally." >&2;}
   22629    { (exit 1); exit 1; }; }
   22630 fi
   22631 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   22632   { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
   22633 Usually this means the macro was only invoked conditionally." >&5
   22634 $as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
   22635 Usually this means the macro was only invoked conditionally." >&2;}
   22636    { (exit 1); exit 1; }; }
   22637 fi
   22638 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
   22639   { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
   22640 Usually this means the macro was only invoked conditionally." >&5
   22641 $as_echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
   22642 Usually this means the macro was only invoked conditionally." >&2;}
   22643    { (exit 1); exit 1; }; }
   22644 fi
   22645 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   22646   { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
   22647 Usually this means the macro was only invoked conditionally." >&5
   22648 $as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
   22649 Usually this means the macro was only invoked conditionally." >&2;}
   22650    { (exit 1); exit 1; }; }
   22651 fi
   22652 if test -z "${HAVE_XEXTPROTO_71_TRUE}" && test -z "${HAVE_XEXTPROTO_71_FALSE}"; then
   22653   { { $as_echo "$as_me:$LINENO: error: conditional \"HAVE_XEXTPROTO_71\" was never defined.
   22654 Usually this means the macro was only invoked conditionally." >&5
   22655 $as_echo "$as_me: error: conditional \"HAVE_XEXTPROTO_71\" was never defined.
   22656 Usually this means the macro was only invoked conditionally." >&2;}
   22657    { (exit 1); exit 1; }; }
   22658 fi
   22659 if test -z "${XF86RUSH_TRUE}" && test -z "${XF86RUSH_FALSE}"; then
   22660   { { $as_echo "$as_me:$LINENO: error: conditional \"XF86RUSH\" was never defined.
   22661 Usually this means the macro was only invoked conditionally." >&5
   22662 $as_echo "$as_me: error: conditional \"XF86RUSH\" was never defined.
   22663 Usually this means the macro was only invoked conditionally." >&2;}
   22664    { (exit 1); exit 1; }; }
   22665 fi
   22666 if test -z "${BUILD_LINUXDOC_TRUE}" && test -z "${BUILD_LINUXDOC_FALSE}"; then
   22667   { { $as_echo "$as_me:$LINENO: error: conditional \"BUILD_LINUXDOC\" was never defined.
   22668 Usually this means the macro was only invoked conditionally." >&5
   22669 $as_echo "$as_me: error: conditional \"BUILD_LINUXDOC\" was never defined.
   22670 Usually this means the macro was only invoked conditionally." >&2;}
   22671    { (exit 1); exit 1; }; }
   22672 fi
   22673 if test -z "${BUILD_PDFDOC_TRUE}" && test -z "${BUILD_PDFDOC_FALSE}"; then
   22674   { { $as_echo "$as_me:$LINENO: error: conditional \"BUILD_PDFDOC\" was never defined.
   22675 Usually this means the macro was only invoked conditionally." >&5
   22676 $as_echo "$as_me: error: conditional \"BUILD_PDFDOC\" was never defined.
   22677 Usually this means the macro was only invoked conditionally." >&2;}
   22678    { (exit 1); exit 1; }; }
   22679 fi
   22680 
   22681 : ${CONFIG_STATUS=./config.status}
   22682 ac_write_fail=0
   22683 ac_clean_files_save=$ac_clean_files
   22684 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   22685 { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
   22686 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
   22687 cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   22688 #! $SHELL
   22689 # Generated by $as_me.
   22690 # Run this file to recreate the current configuration.
   22691 # Compiler output produced by configure, useful for debugging
   22692 # configure, is in config.log if it exists.
   22693 
   22694 debug=false
   22695 ac_cs_recheck=false
   22696 ac_cs_silent=false
   22697 SHELL=\${CONFIG_SHELL-$SHELL}
   22698 _ACEOF
   22699 
   22700 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   22701 ## --------------------- ##
   22702 ## M4sh Initialization.  ##
   22703 ## --------------------- ##
   22704 
   22705 # Be more Bourne compatible
   22706 DUALCASE=1; export DUALCASE # for MKS sh
   22707 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
   22708   emulate sh
   22709   NULLCMD=:
   22710   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   22711   # is contrary to our usage.  Disable this feature.
   22712   alias -g '${1+"$@"}'='"$@"'
   22713   setopt NO_GLOB_SUBST
   22714 else
   22715   case `(set -o) 2>/dev/null` in
   22716   *posix*) set -o posix ;;
   22717 esac
   22718 
   22719 fi
   22720 
   22721 
   22722 
   22723 
   22724 # PATH needs CR
   22725 # Avoid depending upon Character Ranges.
   22726 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   22727 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   22728 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   22729 as_cr_digits='0123456789'
   22730 as_cr_alnum=$as_cr_Letters$as_cr_digits
   22731 
   22732 as_nl='
   22733 '
   22734 export as_nl
   22735 # Printing a long string crashes Solaris 7 /usr/bin/printf.
   22736 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   22737 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
   22738 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
   22739 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
   22740   as_echo='printf %s\n'
   22741   as_echo_n='printf %s'
   22742 else
   22743   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
   22744     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
   22745     as_echo_n='/usr/ucb/echo -n'
   22746   else
   22747     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
   22748     as_echo_n_body='eval
   22749       arg=$1;
   22750       case $arg in
   22751       *"$as_nl"*)
   22752 	expr "X$arg" : "X\\(.*\\)$as_nl";
   22753 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
   22754       esac;
   22755       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
   22756     '
   22757     export as_echo_n_body
   22758     as_echo_n='sh -c $as_echo_n_body as_echo'
   22759   fi
   22760   export as_echo_body
   22761   as_echo='sh -c $as_echo_body as_echo'
   22762 fi
   22763 
   22764 # The user is always right.
   22765 if test "${PATH_SEPARATOR+set}" != set; then
   22766   PATH_SEPARATOR=:
   22767   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   22768     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   22769       PATH_SEPARATOR=';'
   22770   }
   22771 fi
   22772 
   22773 # Support unset when possible.
   22774 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   22775   as_unset=unset
   22776 else
   22777   as_unset=false
   22778 fi
   22779 
   22780 
   22781 # IFS
   22782 # We need space, tab and new line, in precisely that order.  Quoting is
   22783 # there to prevent editors from complaining about space-tab.
   22784 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
   22785 # splitting by setting IFS to empty value.)
   22786 IFS=" ""	$as_nl"
   22787 
   22788 # Find who we are.  Look in the path if we contain no directory separator.
   22789 case $0 in
   22790   *[\\/]* ) as_myself=$0 ;;
   22791   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   22792 for as_dir in $PATH
   22793 do
   22794   IFS=$as_save_IFS
   22795   test -z "$as_dir" && as_dir=.
   22796   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   22797 done
   22798 IFS=$as_save_IFS
   22799 
   22800      ;;
   22801 esac
   22802 # We did not find ourselves, most probably we were run as `sh COMMAND'
   22803 # in which case we are not to be found in the path.
   22804 if test "x$as_myself" = x; then
   22805   as_myself=$0
   22806 fi
   22807 if test ! -f "$as_myself"; then
   22808   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   22809   { (exit 1); exit 1; }
   22810 fi
   22811 
   22812 # Work around bugs in pre-3.0 UWIN ksh.
   22813 for as_var in ENV MAIL MAILPATH
   22814 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
   22815 done
   22816 PS1='$ '
   22817 PS2='> '
   22818 PS4='+ '
   22819 
   22820 # NLS nuisances.
   22821 LC_ALL=C
   22822 export LC_ALL
   22823 LANGUAGE=C
   22824 export LANGUAGE
   22825 
   22826 # Required to use basename.
   22827 if expr a : '\(a\)' >/dev/null 2>&1 &&
   22828    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   22829   as_expr=expr
   22830 else
   22831   as_expr=false
   22832 fi
   22833 
   22834 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   22835   as_basename=basename
   22836 else
   22837   as_basename=false
   22838 fi
   22839 
   22840 
   22841 # Name of the executable.
   22842 as_me=`$as_basename -- "$0" ||
   22843 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   22844 	 X"$0" : 'X\(//\)$' \| \
   22845 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   22846 $as_echo X/"$0" |
   22847     sed '/^.*\/\([^/][^/]*\)\/*$/{
   22848 	    s//\1/
   22849 	    q
   22850 	  }
   22851 	  /^X\/\(\/\/\)$/{
   22852 	    s//\1/
   22853 	    q
   22854 	  }
   22855 	  /^X\/\(\/\).*/{
   22856 	    s//\1/
   22857 	    q
   22858 	  }
   22859 	  s/.*/./; q'`
   22860 
   22861 # CDPATH.
   22862 $as_unset CDPATH
   22863 
   22864 
   22865 
   22866   as_lineno_1=$LINENO
   22867   as_lineno_2=$LINENO
   22868   test "x$as_lineno_1" != "x$as_lineno_2" &&
   22869   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
   22870 
   22871   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
   22872   # uniformly replaced by the line number.  The first 'sed' inserts a
   22873   # line-number line after each line using $LINENO; the second 'sed'
   22874   # does the real work.  The second script uses 'N' to pair each
   22875   # line-number line with the line containing $LINENO, and appends
   22876   # trailing '-' during substitution so that $LINENO is not a special
   22877   # case at line end.
   22878   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
   22879   # scripts with optimization help from Paolo Bonzini.  Blame Lee
   22880   # E. McMahon (1931-1989) for sed's syntax.  :-)
   22881   sed -n '
   22882     p
   22883     /[$]LINENO/=
   22884   ' <$as_myself |
   22885     sed '
   22886       s/[$]LINENO.*/&-/
   22887       t lineno
   22888       b
   22889       :lineno
   22890       N
   22891       :loop
   22892       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
   22893       t loop
   22894       s/-\n.*//
   22895     ' >$as_me.lineno &&
   22896   chmod +x "$as_me.lineno" ||
   22897     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
   22898    { (exit 1); exit 1; }; }
   22899 
   22900   # Don't try to exec as it changes $[0], causing all sort of problems
   22901   # (the dirname of $[0] is not the place where we might find the
   22902   # original and so on.  Autoconf is especially sensitive to this).
   22903   . "./$as_me.lineno"
   22904   # Exit status is that of the last command.
   22905   exit
   22906 }
   22907 
   22908 
   22909 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   22910   as_dirname=dirname
   22911 else
   22912   as_dirname=false
   22913 fi
   22914 
   22915 ECHO_C= ECHO_N= ECHO_T=
   22916 case `echo -n x` in
   22917 -n*)
   22918   case `echo 'x\c'` in
   22919   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   22920   *)   ECHO_C='\c';;
   22921   esac;;
   22922 *)
   22923   ECHO_N='-n';;
   22924 esac
   22925 if expr a : '\(a\)' >/dev/null 2>&1 &&
   22926    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   22927   as_expr=expr
   22928 else
   22929   as_expr=false
   22930 fi
   22931 
   22932 rm -f conf$$ conf$$.exe conf$$.file
   22933 if test -d conf$$.dir; then
   22934   rm -f conf$$.dir/conf$$.file
   22935 else
   22936   rm -f conf$$.dir
   22937   mkdir conf$$.dir 2>/dev/null
   22938 fi
   22939 if (echo >conf$$.file) 2>/dev/null; then
   22940   if ln -s conf$$.file conf$$ 2>/dev/null; then
   22941     as_ln_s='ln -s'
   22942     # ... but there are two gotchas:
   22943     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   22944     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   22945     # In both cases, we have to default to `cp -p'.
   22946     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   22947       as_ln_s='cp -p'
   22948   elif ln conf$$.file conf$$ 2>/dev/null; then
   22949     as_ln_s=ln
   22950   else
   22951     as_ln_s='cp -p'
   22952   fi
   22953 else
   22954   as_ln_s='cp -p'
   22955 fi
   22956 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   22957 rmdir conf$$.dir 2>/dev/null
   22958 
   22959 if mkdir -p . 2>/dev/null; then
   22960   as_mkdir_p=:
   22961 else
   22962   test -d ./-p && rmdir ./-p
   22963   as_mkdir_p=false
   22964 fi
   22965 
   22966 if test -x / >/dev/null 2>&1; then
   22967   as_test_x='test -x'
   22968 else
   22969   if ls -dL / >/dev/null 2>&1; then
   22970     as_ls_L_option=L
   22971   else
   22972     as_ls_L_option=
   22973   fi
   22974   as_test_x='
   22975     eval sh -c '\''
   22976       if test -d "$1"; then
   22977 	test -d "$1/.";
   22978       else
   22979 	case $1 in
   22980 	-*)set "./$1";;
   22981 	esac;
   22982 	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
   22983 	???[sx]*):;;*)false;;esac;fi
   22984     '\'' sh
   22985   '
   22986 fi
   22987 as_executable_p=$as_test_x
   22988 
   22989 # Sed expression to map a string onto a valid CPP name.
   22990 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   22991 
   22992 # Sed expression to map a string onto a valid variable name.
   22993 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   22994 
   22995 
   22996 exec 6>&1
   22997 
   22998 # Save the log message, to keep $[0] and so on meaningful, and to
   22999 # report actual input values of CONFIG_FILES etc. instead of their
   23000 # values after options handling.
   23001 ac_log="
   23002 This file was extended by xf86-video-apm $as_me 1.2.2, which was
   23003 generated by GNU Autoconf 2.63.  Invocation command line was
   23004 
   23005   CONFIG_FILES    = $CONFIG_FILES
   23006   CONFIG_HEADERS  = $CONFIG_HEADERS
   23007   CONFIG_LINKS    = $CONFIG_LINKS
   23008   CONFIG_COMMANDS = $CONFIG_COMMANDS
   23009   $ $0 $@
   23010 
   23011 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   23012 "
   23013 
   23014 _ACEOF
   23015 
   23016 case $ac_config_files in *"
   23017 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   23018 esac
   23019 
   23020 case $ac_config_headers in *"
   23021 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   23022 esac
   23023 
   23024 
   23025 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   23026 # Files that config.status was made for.
   23027 config_files="$ac_config_files"
   23028 config_headers="$ac_config_headers"
   23029 config_commands="$ac_config_commands"
   23030 
   23031 _ACEOF
   23032 
   23033 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   23034 ac_cs_usage="\
   23035 \`$as_me' instantiates files from templates according to the
   23036 current configuration.
   23037 
   23038 Usage: $0 [OPTION]... [FILE]...
   23039 
   23040   -h, --help       print this help, then exit
   23041   -V, --version    print version number and configuration settings, then exit
   23042   -q, --quiet, --silent
   23043                    do not print progress messages
   23044   -d, --debug      don't remove temporary files
   23045       --recheck    update $as_me by reconfiguring in the same conditions
   23046       --file=FILE[:TEMPLATE]
   23047                    instantiate the configuration file FILE
   23048       --header=FILE[:TEMPLATE]
   23049                    instantiate the configuration header FILE
   23050 
   23051 Configuration files:
   23052 $config_files
   23053 
   23054 Configuration headers:
   23055 $config_headers
   23056 
   23057 Configuration commands:
   23058 $config_commands
   23059 
   23060 Report bugs to <bug-autoconf (at] gnu.org>."
   23061 
   23062 _ACEOF
   23063 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   23064 ac_cs_version="\\
   23065 xf86-video-apm config.status 1.2.2
   23066 configured by $0, generated by GNU Autoconf 2.63,
   23067   with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
   23068 
   23069 Copyright (C) 2008 Free Software Foundation, Inc.
   23070 This config.status script is free software; the Free Software Foundation
   23071 gives unlimited permission to copy, distribute and modify it."
   23072 
   23073 ac_pwd='$ac_pwd'
   23074 srcdir='$srcdir'
   23075 INSTALL='$INSTALL'
   23076 MKDIR_P='$MKDIR_P'
   23077 AWK='$AWK'
   23078 test -n "\$AWK" || AWK=awk
   23079 _ACEOF
   23080 
   23081 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   23082 # The default lists apply if the user does not specify any file.
   23083 ac_need_defaults=:
   23084 while test $# != 0
   23085 do
   23086   case $1 in
   23087   --*=*)
   23088     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   23089     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   23090     ac_shift=:
   23091     ;;
   23092   *)
   23093     ac_option=$1
   23094     ac_optarg=$2
   23095     ac_shift=shift
   23096     ;;
   23097   esac
   23098 
   23099   case $ac_option in
   23100   # Handling of the options.
   23101   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   23102     ac_cs_recheck=: ;;
   23103   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   23104     $as_echo "$ac_cs_version"; exit ;;
   23105   --debug | --debu | --deb | --de | --d | -d )
   23106     debug=: ;;
   23107   --file | --fil | --fi | --f )
   23108     $ac_shift
   23109     case $ac_optarg in
   23110     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   23111     esac
   23112     CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
   23113     ac_need_defaults=false;;
   23114   --header | --heade | --head | --hea )
   23115     $ac_shift
   23116     case $ac_optarg in
   23117     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   23118     esac
   23119     CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'"
   23120     ac_need_defaults=false;;
   23121   --he | --h)
   23122     # Conflict between --help and --header
   23123     { $as_echo "$as_me: error: ambiguous option: $1
   23124 Try \`$0 --help' for more information." >&2
   23125    { (exit 1); exit 1; }; };;
   23126   --help | --hel | -h )
   23127     $as_echo "$ac_cs_usage"; exit ;;
   23128   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   23129   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   23130     ac_cs_silent=: ;;
   23131 
   23132   # This is an error.
   23133   -*) { $as_echo "$as_me: error: unrecognized option: $1
   23134 Try \`$0 --help' for more information." >&2
   23135    { (exit 1); exit 1; }; } ;;
   23136 
   23137   *) ac_config_targets="$ac_config_targets $1"
   23138      ac_need_defaults=false ;;
   23139 
   23140   esac
   23141   shift
   23142 done
   23143 
   23144 ac_configure_extra_args=
   23145 
   23146 if $ac_cs_silent; then
   23147   exec 6>/dev/null
   23148   ac_configure_extra_args="$ac_configure_extra_args --silent"
   23149 fi
   23150 
   23151 _ACEOF
   23152 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   23153 if \$ac_cs_recheck; then
   23154   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   23155   shift
   23156   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
   23157   CONFIG_SHELL='$SHELL'
   23158   export CONFIG_SHELL
   23159   exec "\$@"
   23160 fi
   23161 
   23162 _ACEOF
   23163 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   23164 exec 5>>config.log
   23165 {
   23166   echo
   23167   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   23168 ## Running $as_me. ##
   23169 _ASBOX
   23170   $as_echo "$ac_log"
   23171 } >&5
   23172 
   23173 _ACEOF
   23174 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   23175 #
   23176 # INIT-COMMANDS
   23177 #
   23178 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
   23179 
   23180 _ACEOF
   23181 
   23182 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   23183 
   23184 # Handling of arguments.
   23185 for ac_config_target in $ac_config_targets
   23186 do
   23187   case $ac_config_target in
   23188     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   23189     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   23190     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   23191     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
   23192     "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
   23193 
   23194   *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
   23195 $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
   23196    { (exit 1); exit 1; }; };;
   23197   esac
   23198 done
   23199 
   23200 
   23201 # If the user did not use the arguments to specify the items to instantiate,
   23202 # then the envvar interface is used.  Set only those that are not.
   23203 # We use the long form for the default assignment because of an extremely
   23204 # bizarre bug on SunOS 4.1.3.
   23205 if $ac_need_defaults; then
   23206   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
   23207   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
   23208   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
   23209 fi
   23210 
   23211 # Have a temporary directory for convenience.  Make it in the build tree
   23212 # simply because there is no reason against having it here, and in addition,
   23213 # creating and moving files from /tmp can sometimes cause problems.
   23214 # Hook for its removal unless debugging.
   23215 # Note that there is a small window in which the directory will not be cleaned:
   23216 # after its creation but before its name has been assigned to `$tmp'.
   23217 $debug ||
   23218 {
   23219   tmp=
   23220   trap 'exit_status=$?
   23221   { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
   23222 ' 0
   23223   trap '{ (exit 1); exit 1; }' 1 2 13 15
   23224 }
   23225 # Create a (secure) tmp directory for tmp files.
   23226 
   23227 {
   23228   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   23229   test -n "$tmp" && test -d "$tmp"
   23230 }  ||
   23231 {
   23232   tmp=./conf$$-$RANDOM
   23233   (umask 077 && mkdir "$tmp")
   23234 } ||
   23235 {
   23236    $as_echo "$as_me: cannot create a temporary directory in ." >&2
   23237    { (exit 1); exit 1; }
   23238 }
   23239 
   23240 # Set up the scripts for CONFIG_FILES section.
   23241 # No need to generate them if there are no CONFIG_FILES.
   23242 # This happens for instance with `./config.status config.h'.
   23243 if test -n "$CONFIG_FILES"; then
   23244 
   23245 
   23246 ac_cr='
'
   23248 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   23249 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   23250   ac_cs_awk_cr='\\r'
   23251 else
   23252   ac_cs_awk_cr=$ac_cr
   23253 fi
   23254 
   23255 echo 'BEGIN {' >"$tmp/subs1.awk" &&
   23256 _ACEOF
   23257 
   23258 
   23259 {
   23260   echo "cat >conf$$subs.awk <<_ACEOF" &&
   23261   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   23262   echo "_ACEOF"
   23263 } >conf$$subs.sh ||
   23264   { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
   23265 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
   23266    { (exit 1); exit 1; }; }
   23267 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
   23268 ac_delim='%!_!# '
   23269 for ac_last_try in false false false false false :; do
   23270   . ./conf$$subs.sh ||
   23271     { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
   23272 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
   23273    { (exit 1); exit 1; }; }
   23274 
   23275   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   23276   if test $ac_delim_n = $ac_delim_num; then
   23277     break
   23278   elif $ac_last_try; then
   23279     { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
   23280 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
   23281    { (exit 1); exit 1; }; }
   23282   else
   23283     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   23284   fi
   23285 done
   23286 rm -f conf$$subs.sh
   23287 
   23288 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   23289 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
   23290 _ACEOF
   23291 sed -n '
   23292 h
   23293 s/^/S["/; s/!.*/"]=/
   23294 p
   23295 g
   23296 s/^[^!]*!//
   23297 :repl
   23298 t repl
   23299 s/'"$ac_delim"'$//
   23300 t delim
   23301 :nl
   23302 h
   23303 s/\(.\{148\}\).*/\1/
   23304 t more1
   23305 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   23306 p
   23307 n
   23308 b repl
   23309 :more1
   23310 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   23311 p
   23312 g
   23313 s/.\{148\}//
   23314 t nl
   23315 :delim
   23316 h
   23317 s/\(.\{148\}\).*/\1/
   23318 t more2
   23319 s/["\\]/\\&/g; s/^/"/; s/$/"/
   23320 p
   23321 b
   23322 :more2
   23323 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   23324 p
   23325 g
   23326 s/.\{148\}//
   23327 t delim
   23328 ' <conf$$subs.awk | sed '
   23329 /^[^""]/{
   23330   N
   23331   s/\n//
   23332 }
   23333 ' >>$CONFIG_STATUS || ac_write_fail=1
   23334 rm -f conf$$subs.awk
   23335 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   23336 _ACAWK
   23337 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
   23338   for (key in S) S_is_set[key] = 1
   23339   FS = ""
   23340 
   23341 }
   23342 {
   23343   line = $ 0
   23344   nfields = split(line, field, "@")
   23345   substed = 0
   23346   len = length(field[1])
   23347   for (i = 2; i < nfields; i++) {
   23348     key = field[i]
   23349     keylen = length(key)
   23350     if (S_is_set[key]) {
   23351       value = S[key]
   23352       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   23353       len += length(value) + length(field[++i])
   23354       substed = 1
   23355     } else
   23356       len += 1 + keylen
   23357   }
   23358 
   23359   print line
   23360 }
   23361 
   23362 _ACAWK
   23363 _ACEOF
   23364 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   23365 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   23366   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   23367 else
   23368   cat
   23369 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
   23370   || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
   23371 $as_echo "$as_me: error: could not setup config files machinery" >&2;}
   23372    { (exit 1); exit 1; }; }
   23373 _ACEOF
   23374 
   23375 # VPATH may cause trouble with some makes, so we remove $(srcdir),
   23376 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
   23377 # trailing colons and then remove the whole line if VPATH becomes empty
   23378 # (actually we leave an empty line to preserve line numbers).
   23379 if test "x$srcdir" = x.; then
   23380   ac_vpsub='/^[	 ]*VPATH[	 ]*=/{
   23381 s/:*\$(srcdir):*/:/
   23382 s/:*\${srcdir}:*/:/
   23383 s/:*@srcdir@:*/:/
   23384 s/^\([^=]*=[	 ]*\):*/\1/
   23385 s/:*$//
   23386 s/^[^=]*=[	 ]*$//
   23387 }'
   23388 fi
   23389 
   23390 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   23391 fi # test -n "$CONFIG_FILES"
   23392 
   23393 # Set up the scripts for CONFIG_HEADERS section.
   23394 # No need to generate them if there are no CONFIG_HEADERS.
   23395 # This happens for instance with `./config.status Makefile'.
   23396 if test -n "$CONFIG_HEADERS"; then
   23397 cat >"$tmp/defines.awk" <<\_ACAWK ||
   23398 BEGIN {
   23399 _ACEOF
   23400 
   23401 # Transform confdefs.h into an awk script `defines.awk', embedded as
   23402 # here-document in config.status, that substitutes the proper values into
   23403 # config.h.in to produce config.h.
   23404 
   23405 # Create a delimiter string that does not exist in confdefs.h, to ease
   23406 # handling of long lines.
   23407 ac_delim='%!_!# '
   23408 for ac_last_try in false false :; do
   23409   ac_t=`sed -n "/$ac_delim/p" confdefs.h`
   23410   if test -z "$ac_t"; then
   23411     break
   23412   elif $ac_last_try; then
   23413     { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5
   23414 $as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;}
   23415    { (exit 1); exit 1; }; }
   23416   else
   23417     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   23418   fi
   23419 done
   23420 
   23421 # For the awk script, D is an array of macro values keyed by name,
   23422 # likewise P contains macro parameters if any.  Preserve backslash
   23423 # newline sequences.
   23424 
   23425 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   23426 sed -n '
   23427 s/.\{148\}/&'"$ac_delim"'/g
   23428 t rset
   23429 :rset
   23430 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   23431 t def
   23432 d
   23433 :def
   23434 s/\\$//
   23435 t bsnl
   23436 s/["\\]/\\&/g
   23437 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   23438 D["\1"]=" \3"/p
   23439 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   23440 d
   23441 :bsnl
   23442 s/["\\]/\\&/g
   23443 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   23444 D["\1"]=" \3\\\\\\n"\\/p
   23445 t cont
   23446 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   23447 t cont
   23448 d
   23449 :cont
   23450 n
   23451 s/.\{148\}/&'"$ac_delim"'/g
   23452 t clear
   23453 :clear
   23454 s/\\$//
   23455 t bsnlc
   23456 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   23457 d
   23458 :bsnlc
   23459 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   23460 b cont
   23461 ' <confdefs.h | sed '
   23462 s/'"$ac_delim"'/"\\\
   23463 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   23464 
   23465 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   23466   for (key in D) D_is_set[key] = 1
   23467   FS = ""
   23468 }
   23469 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   23470   line = \$ 0
   23471   split(line, arg, " ")
   23472   if (arg[1] == "#") {
   23473     defundef = arg[2]
   23474     mac1 = arg[3]
   23475   } else {
   23476     defundef = substr(arg[1], 2)
   23477     mac1 = arg[2]
   23478   }
   23479   split(mac1, mac2, "(") #)
   23480   macro = mac2[1]
   23481   prefix = substr(line, 1, index(line, defundef) - 1)
   23482   if (D_is_set[macro]) {
   23483     # Preserve the white space surrounding the "#".
   23484     print prefix "define", macro P[macro] D[macro]
   23485     next
   23486   } else {
   23487     # Replace #undef with comments.  This is necessary, for example,
   23488     # in the case of _POSIX_SOURCE, which is predefined and required
   23489     # on some systems where configure will not decide to define it.
   23490     if (defundef == "undef") {
   23491       print "/*", prefix defundef, macro, "*/"
   23492       next
   23493     }
   23494   }
   23495 }
   23496 { print }
   23497 _ACAWK
   23498 _ACEOF
   23499 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   23500   { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
   23501 $as_echo "$as_me: error: could not setup config headers machinery" >&2;}
   23502    { (exit 1); exit 1; }; }
   23503 fi # test -n "$CONFIG_HEADERS"
   23504 
   23505 
   23506 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   23507 shift
   23508 for ac_tag
   23509 do
   23510   case $ac_tag in
   23511   :[FHLC]) ac_mode=$ac_tag; continue;;
   23512   esac
   23513   case $ac_mode$ac_tag in
   23514   :[FHL]*:*);;
   23515   :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
   23516 $as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
   23517    { (exit 1); exit 1; }; };;
   23518   :[FH]-) ac_tag=-:-;;
   23519   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   23520   esac
   23521   ac_save_IFS=$IFS
   23522   IFS=:
   23523   set x $ac_tag
   23524   IFS=$ac_save_IFS
   23525   shift
   23526   ac_file=$1
   23527   shift
   23528 
   23529   case $ac_mode in
   23530   :L) ac_source=$1;;
   23531   :[FH])
   23532     ac_file_inputs=
   23533     for ac_f
   23534     do
   23535       case $ac_f in
   23536       -) ac_f="$tmp/stdin";;
   23537       *) # Look for the file first in the build tree, then in the source tree
   23538 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   23539 	 # because $ac_f cannot contain `:'.
   23540 	 test -f "$ac_f" ||
   23541 	   case $ac_f in
   23542 	   [\\/$]*) false;;
   23543 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   23544 	   esac ||
   23545 	   { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
   23546 $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
   23547    { (exit 1); exit 1; }; };;
   23548       esac
   23549       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   23550       ac_file_inputs="$ac_file_inputs '$ac_f'"
   23551     done
   23552 
   23553     # Let's still pretend it is `configure' which instantiates (i.e., don't
   23554     # use $as_me), people would be surprised to read:
   23555     #    /* config.h.  Generated by config.status.  */
   23556     configure_input='Generated from '`
   23557 	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   23558 	`' by configure.'
   23559     if test x"$ac_file" != x-; then
   23560       configure_input="$ac_file.  $configure_input"
   23561       { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
   23562 $as_echo "$as_me: creating $ac_file" >&6;}
   23563     fi
   23564     # Neutralize special characters interpreted by sed in replacement strings.
   23565     case $configure_input in #(
   23566     *\&* | *\|* | *\\* )
   23567        ac_sed_conf_input=`$as_echo "$configure_input" |
   23568        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   23569     *) ac_sed_conf_input=$configure_input;;
   23570     esac
   23571 
   23572     case $ac_tag in
   23573     *:-:* | *:-) cat >"$tmp/stdin" \
   23574       || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
   23575 $as_echo "$as_me: error: could not create $ac_file" >&2;}
   23576    { (exit 1); exit 1; }; } ;;
   23577     esac
   23578     ;;
   23579   esac
   23580 
   23581   ac_dir=`$as_dirname -- "$ac_file" ||
   23582 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   23583 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   23584 	 X"$ac_file" : 'X\(//\)$' \| \
   23585 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   23586 $as_echo X"$ac_file" |
   23587     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   23588 	    s//\1/
   23589 	    q
   23590 	  }
   23591 	  /^X\(\/\/\)[^/].*/{
   23592 	    s//\1/
   23593 	    q
   23594 	  }
   23595 	  /^X\(\/\/\)$/{
   23596 	    s//\1/
   23597 	    q
   23598 	  }
   23599 	  /^X\(\/\).*/{
   23600 	    s//\1/
   23601 	    q
   23602 	  }
   23603 	  s/.*/./; q'`
   23604   { as_dir="$ac_dir"
   23605   case $as_dir in #(
   23606   -*) as_dir=./$as_dir;;
   23607   esac
   23608   test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
   23609     as_dirs=
   23610     while :; do
   23611       case $as_dir in #(
   23612       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   23613       *) as_qdir=$as_dir;;
   23614       esac
   23615       as_dirs="'$as_qdir' $as_dirs"
   23616       as_dir=`$as_dirname -- "$as_dir" ||
   23617 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   23618 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   23619 	 X"$as_dir" : 'X\(//\)$' \| \
   23620 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   23621 $as_echo X"$as_dir" |
   23622     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   23623 	    s//\1/
   23624 	    q
   23625 	  }
   23626 	  /^X\(\/\/\)[^/].*/{
   23627 	    s//\1/
   23628 	    q
   23629 	  }
   23630 	  /^X\(\/\/\)$/{
   23631 	    s//\1/
   23632 	    q
   23633 	  }
   23634 	  /^X\(\/\).*/{
   23635 	    s//\1/
   23636 	    q
   23637 	  }
   23638 	  s/.*/./; q'`
   23639       test -d "$as_dir" && break
   23640     done
   23641     test -z "$as_dirs" || eval "mkdir $as_dirs"
   23642   } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
   23643 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
   23644    { (exit 1); exit 1; }; }; }
   23645   ac_builddir=.
   23646 
   23647 case "$ac_dir" in
   23648 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   23649 *)
   23650   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   23651   # A ".." for each directory in $ac_dir_suffix.
   23652   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   23653   case $ac_top_builddir_sub in
   23654   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   23655   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   23656   esac ;;
   23657 esac
   23658 ac_abs_top_builddir=$ac_pwd
   23659 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   23660 # for backward compatibility:
   23661 ac_top_builddir=$ac_top_build_prefix
   23662 
   23663 case $srcdir in
   23664   .)  # We are building in place.
   23665     ac_srcdir=.
   23666     ac_top_srcdir=$ac_top_builddir_sub
   23667     ac_abs_top_srcdir=$ac_pwd ;;
   23668   [\\/]* | ?:[\\/]* )  # Absolute name.
   23669     ac_srcdir=$srcdir$ac_dir_suffix;
   23670     ac_top_srcdir=$srcdir
   23671     ac_abs_top_srcdir=$srcdir ;;
   23672   *) # Relative name.
   23673     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   23674     ac_top_srcdir=$ac_top_build_prefix$srcdir
   23675     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   23676 esac
   23677 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   23678 
   23679 
   23680   case $ac_mode in
   23681   :F)
   23682   #
   23683   # CONFIG_FILE
   23684   #
   23685 
   23686   case $INSTALL in
   23687   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   23688   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   23689   esac
   23690   ac_MKDIR_P=$MKDIR_P
   23691   case $MKDIR_P in
   23692   [\\/$]* | ?:[\\/]* ) ;;
   23693   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   23694   esac
   23695 _ACEOF
   23696 
   23697 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   23698 # If the template does not know about datarootdir, expand it.
   23699 # FIXME: This hack should be removed a few years after 2.60.
   23700 ac_datarootdir_hack=; ac_datarootdir_seen=
   23701 
   23702 ac_sed_dataroot='
   23703 /datarootdir/ {
   23704   p
   23705   q
   23706 }
   23707 /@datadir@/p
   23708 /@docdir@/p
   23709 /@infodir@/p
   23710 /@localedir@/p
   23711 /@mandir@/p
   23712 '
   23713 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   23714 *datarootdir*) ac_datarootdir_seen=yes;;
   23715 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   23716   { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   23717 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   23718 _ACEOF
   23719 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   23720   ac_datarootdir_hack='
   23721   s&@datadir@&$datadir&g
   23722   s&@docdir@&$docdir&g
   23723   s&@infodir@&$infodir&g
   23724   s&@localedir@&$localedir&g
   23725   s&@mandir@&$mandir&g
   23726     s&\\\${datarootdir}&$datarootdir&g' ;;
   23727 esac
   23728 _ACEOF
   23729 
   23730 # Neutralize VPATH when `$srcdir' = `.'.
   23731 # Shell code in configure.ac might set extrasub.
   23732 # FIXME: do we really want to maintain this feature?
   23733 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   23734 ac_sed_extra="$ac_vpsub
   23735 $extrasub
   23736 _ACEOF
   23737 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   23738 :t
   23739 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   23740 s|@configure_input@|$ac_sed_conf_input|;t t
   23741 s&@top_builddir@&$ac_top_builddir_sub&;t t
   23742 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   23743 s&@srcdir@&$ac_srcdir&;t t
   23744 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   23745 s&@top_srcdir@&$ac_top_srcdir&;t t
   23746 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   23747 s&@builddir@&$ac_builddir&;t t
   23748 s&@abs_builddir@&$ac_abs_builddir&;t t
   23749 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   23750 s&@INSTALL@&$ac_INSTALL&;t t
   23751 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   23752 $ac_datarootdir_hack
   23753 "
   23754 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
   23755   || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
   23756 $as_echo "$as_me: error: could not create $ac_file" >&2;}
   23757    { (exit 1); exit 1; }; }
   23758 
   23759 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   23760   { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
   23761   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
   23762   { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   23763 which seems to be undefined.  Please make sure it is defined." >&5
   23764 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   23765 which seems to be undefined.  Please make sure it is defined." >&2;}
   23766 
   23767   rm -f "$tmp/stdin"
   23768   case $ac_file in
   23769   -) cat "$tmp/out" && rm -f "$tmp/out";;
   23770   *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
   23771   esac \
   23772   || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
   23773 $as_echo "$as_me: error: could not create $ac_file" >&2;}
   23774    { (exit 1); exit 1; }; }
   23775  ;;
   23776   :H)
   23777   #
   23778   # CONFIG_HEADER
   23779   #
   23780   if test x"$ac_file" != x-; then
   23781     {
   23782       $as_echo "/* $configure_input  */" \
   23783       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
   23784     } >"$tmp/config.h" \
   23785       || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
   23786 $as_echo "$as_me: error: could not create $ac_file" >&2;}
   23787    { (exit 1); exit 1; }; }
   23788     if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
   23789       { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
   23790 $as_echo "$as_me: $ac_file is unchanged" >&6;}
   23791     else
   23792       rm -f "$ac_file"
   23793       mv "$tmp/config.h" "$ac_file" \
   23794 	|| { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
   23795 $as_echo "$as_me: error: could not create $ac_file" >&2;}
   23796    { (exit 1); exit 1; }; }
   23797     fi
   23798   else
   23799     $as_echo "/* $configure_input  */" \
   23800       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
   23801       || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
   23802 $as_echo "$as_me: error: could not create -" >&2;}
   23803    { (exit 1); exit 1; }; }
   23804   fi
   23805 # Compute "$ac_file"'s index in $config_headers.
   23806 _am_arg="$ac_file"
   23807 _am_stamp_count=1
   23808 for _am_header in $config_headers :; do
   23809   case $_am_header in
   23810     $_am_arg | $_am_arg:* )
   23811       break ;;
   23812     * )
   23813       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   23814   esac
   23815 done
   23816 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   23817 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   23818 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   23819 	 X"$_am_arg" : 'X\(//\)$' \| \
   23820 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   23821 $as_echo X"$_am_arg" |
   23822     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   23823 	    s//\1/
   23824 	    q
   23825 	  }
   23826 	  /^X\(\/\/\)[^/].*/{
   23827 	    s//\1/
   23828 	    q
   23829 	  }
   23830 	  /^X\(\/\/\)$/{
   23831 	    s//\1/
   23832 	    q
   23833 	  }
   23834 	  /^X\(\/\).*/{
   23835 	    s//\1/
   23836 	    q
   23837 	  }
   23838 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   23839  ;;
   23840 
   23841   :C)  { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
   23842 $as_echo "$as_me: executing $ac_file commands" >&6;}
   23843  ;;
   23844   esac
   23845 
   23846 
   23847   case $ac_file$ac_mode in
   23848     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   23849   # Autoconf 2.62 quotes --file arguments for eval, but not when files
   23850   # are listed without --file.  Let's play safe and only enable the eval
   23851   # if we detect the quoting.
   23852   case $CONFIG_FILES in
   23853   *\'*) eval set x "$CONFIG_FILES" ;;
   23854   *)   set x $CONFIG_FILES ;;
   23855   esac
   23856   shift
   23857   for mf
   23858   do
   23859     # Strip MF so we end up with the name of the file.
   23860     mf=`echo "$mf" | sed -e 's/:.*$//'`
   23861     # Check whether this is an Automake generated Makefile or not.
   23862     # We used to match only the files named `Makefile.in', but
   23863     # some people rename them; so instead we look at the file content.
   23864     # Grep'ing the first line is not enough: some people post-process
   23865     # each Makefile.in and add a new line on top of each file to say so.
   23866     # Grep'ing the whole file is not good either: AIX grep has a line
   23867     # limit of 2048, but all sed's we know have understand at least 4000.
   23868     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
   23869       dirpart=`$as_dirname -- "$mf" ||
   23870 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   23871 	 X"$mf" : 'X\(//\)[^/]' \| \
   23872 	 X"$mf" : 'X\(//\)$' \| \
   23873 	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
   23874 $as_echo X"$mf" |
   23875     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   23876 	    s//\1/
   23877 	    q
   23878 	  }
   23879 	  /^X\(\/\/\)[^/].*/{
   23880 	    s//\1/
   23881 	    q
   23882 	  }
   23883 	  /^X\(\/\/\)$/{
   23884 	    s//\1/
   23885 	    q
   23886 	  }
   23887 	  /^X\(\/\).*/{
   23888 	    s//\1/
   23889 	    q
   23890 	  }
   23891 	  s/.*/./; q'`
   23892     else
   23893       continue
   23894     fi
   23895     # Extract the definition of DEPDIR, am__include, and am__quote
   23896     # from the Makefile without running `make'.
   23897     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
   23898     test -z "$DEPDIR" && continue
   23899     am__include=`sed -n 's/^am__include = //p' < "$mf"`
   23900     test -z "am__include" && continue
   23901     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
   23902     # When using ansi2knr, U may be empty or an underscore; expand it
   23903     U=`sed -n 's/^U = //p' < "$mf"`
   23904     # Find all dependency output files, they are included files with
   23905     # $(DEPDIR) in their names.  We invoke sed twice because it is the
   23906     # simplest approach to changing $(DEPDIR) to its actual value in the
   23907     # expansion.
   23908     for file in `sed -n "
   23909       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
   23910 	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
   23911       # Make sure the directory exists.
   23912       test -f "$dirpart/$file" && continue
   23913       fdir=`$as_dirname -- "$file" ||
   23914 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   23915 	 X"$file" : 'X\(//\)[^/]' \| \
   23916 	 X"$file" : 'X\(//\)$' \| \
   23917 	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
   23918 $as_echo X"$file" |
   23919     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   23920 	    s//\1/
   23921 	    q
   23922 	  }
   23923 	  /^X\(\/\/\)[^/].*/{
   23924 	    s//\1/
   23925 	    q
   23926 	  }
   23927 	  /^X\(\/\/\)$/{
   23928 	    s//\1/
   23929 	    q
   23930 	  }
   23931 	  /^X\(\/\).*/{
   23932 	    s//\1/
   23933 	    q
   23934 	  }
   23935 	  s/.*/./; q'`
   23936       { as_dir=$dirpart/$fdir
   23937   case $as_dir in #(
   23938   -*) as_dir=./$as_dir;;
   23939   esac
   23940   test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
   23941     as_dirs=
   23942     while :; do
   23943       case $as_dir in #(
   23944       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   23945       *) as_qdir=$as_dir;;
   23946       esac
   23947       as_dirs="'$as_qdir' $as_dirs"
   23948       as_dir=`$as_dirname -- "$as_dir" ||
   23949 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   23950 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   23951 	 X"$as_dir" : 'X\(//\)$' \| \
   23952 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   23953 $as_echo X"$as_dir" |
   23954     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   23955 	    s//\1/
   23956 	    q
   23957 	  }
   23958 	  /^X\(\/\/\)[^/].*/{
   23959 	    s//\1/
   23960 	    q
   23961 	  }
   23962 	  /^X\(\/\/\)$/{
   23963 	    s//\1/
   23964 	    q
   23965 	  }
   23966 	  /^X\(\/\).*/{
   23967 	    s//\1/
   23968 	    q
   23969 	  }
   23970 	  s/.*/./; q'`
   23971       test -d "$as_dir" && break
   23972     done
   23973     test -z "$as_dirs" || eval "mkdir $as_dirs"
   23974   } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
   23975 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
   23976    { (exit 1); exit 1; }; }; }
   23977       # echo "creating $dirpart/$file"
   23978       echo '# dummy' > "$dirpart/$file"
   23979     done
   23980   done
   23981 }
   23982  ;;
   23983 
   23984   esac
   23985 done # for ac_tag
   23986 
   23987 
   23988 { (exit 0); exit 0; }
   23989 _ACEOF
   23990 chmod +x $CONFIG_STATUS
   23991 ac_clean_files=$ac_clean_files_save
   23992 
   23993 test $ac_write_fail = 0 ||
   23994   { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
   23995 $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
   23996    { (exit 1); exit 1; }; }
   23997 
   23998 
   23999 # configure is writing to config.log, and then calls config.status.
   24000 # config.status does its own redirection, appending to config.log.
   24001 # Unfortunately, on DOS this fails, as config.log is still kept open
   24002 # by configure, so config.status won't be able to write to it; its
   24003 # output is simply discarded.  So we exec the FD to /dev/null,
   24004 # effectively closing config.log, so it can be properly (re)opened and
   24005 # appended to by config.status.  When coming back to configure, we
   24006 # need to make the FD available again.
   24007 if test "$no_create" != yes; then
   24008   ac_cs_success=:
   24009   ac_config_status_args=
   24010   test "$silent" = yes &&
   24011     ac_config_status_args="$ac_config_status_args --quiet"
   24012   exec 5>/dev/null
   24013   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   24014   exec 5>>config.log
   24015   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   24016   # would make configure fail if this is the last instruction.
   24017   $ac_cs_success || { (exit 1); exit 1; }
   24018 fi
   24019 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   24020   { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   24021 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   24022 fi
   24023 
   24024